/* HCC static site overrides */

.hcc-hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

@media (max-width: 700px) {
    .hcc-hero {
        min-height: 220px;
    }
}

/* Smart Slider stacks: gradient below (z-index 1), image above at 70% opacity (z-index 5) */
.hcc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(45deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.hcc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
}

.hcc-hero-inner {
    position: relative;
    z-index: 3;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 3rem;
}

.hcc-hero-services {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 1rem;
    margin-left: auto;
}

@media (min-width: 960px) {
    .hcc-hero-services {
        grid-template-columns: repeat(2, 150px);
        gap: 1.25rem;
    }
}

@media (max-width: 700px) {
    .hcc-hero-inner {
        justify-content: center;
        padding: 1rem;
    }

    .hcc-hero-services {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }

    .hcc-hero-service img {
        width: 100%;
        height: auto;
    }
}

.hcc-hero-service img {
    border-radius: 4px;
    display: block;
}

.hcc-clients-wrap .uk-container-expand {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hcc-clients-slider {
    overflow: visible;
}

.hcc-clients-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.hcc-clients-track {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.hcc-clients-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #b0b8bc;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hcc-clients-arrow:hover {
    color: #666;
    border-color: #ccc;
}

.hcc-clients-arrow svg {
    width: 20px;
    height: 20px;
}

.hcc-clients-wrap .uk-slider-items.uk-grid {
    margin-left: -20px;
}

.hcc-clients-wrap .uk-slider-items > * {
    padding-left: 20px;
}

.hcc-clients-wrap.uk-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hcc-clients-wrap .uk-slider-items > * {
    display: flex;
    align-items: center;
}

.hcc-clients-wrap .hcc-client-logo {
    background: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 90px;
}

.hcc-clients-wrap .hcc-client-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hcc-clients-wrap .hcc-client-logo img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 639px) {
    .hcc-clients-wrap .uk-container-expand {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hcc-clients-inner {
        gap: 0;
    }

    .hcc-clients-wrap.uk-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hcc-clients-wrap .uk-slider-items.uk-grid {
        margin-left: 0;
    }

    .hcc-clients-wrap .uk-slider-items > * {
        padding-left: 0;
    }

    .hcc-clients-wrap .hcc-client-logo {
        height: 80px;
    }

    .hcc-clients-wrap .hcc-client-logo img {
        max-height: 70px;
    }
}

@media (min-width: 640px) and (max-width: 959px) {
    .hcc-clients-inner {
        gap: 0.75rem;
    }

    .hcc-clients-arrow {
        width: 32px;
        height: 32px;
    }

    .hcc-clients-arrow svg {
        width: 16px;
        height: 16px;
    }

    .hcc-clients-wrap .uk-slider-items.uk-grid {
        margin-left: -12px;
    }

    .hcc-clients-wrap .uk-slider-items > * {
        padding-left: 12px;
    }
}

/* Showcase section background from live site */
.uk-background-blend-soft-light[style*="rgba(250, 162, 24"] {
    background-attachment: scroll !important;
}
