.hew-highlights-section {
    --hew-active-scale: 1.1;
    --hew-inactive-scale: 0.8;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px 0;
}

.hew-highlights-section * {
    box-sizing: border-box;
}

.hew-bg-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -170%);
    font-size: clamp(6rem, 18vw, 14rem);
    font-weight: 900;
    line-height: 1;
    color: #f1f1f1;
    z-index: 0;
    letter-spacing: -0.02em;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    text-align: center;
}

.hew-slider-window {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.hew-slider-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 2rem 0;
    will-change: transform;
}

.hew-slide-card {
    flex: 0 0 420px;
    margin: 0 30px;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.4;
    transform: scale(var(--hew-inactive-scale));
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.hew-slide-card.hew-is-active {
    opacity: 1;
    transform: scale(var(--hew-active-scale));
    pointer-events: auto;
}

.hew-slide-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hew-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hew-slide-card:not(.hew-is-active) .hew-image-wrapper {
    aspect-ratio: 4 / 3;
}

.hew-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hew-caption {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666666;
    text-align: left;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hew-slide-card.hew-is-active .hew-caption {
    opacity: 1;
    transform: translateY(0);
}

.hew-nav-controls {
    display: flex;
    align-items: center;
    gap: 100px;
    margin-top: 4rem;
    z-index: 3;
    position: relative;
}

.hew-nav-btn {
    background: none;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    padding: 15px;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.hew-nav-btn:hover,
.hew-nav-btn:focus {
    opacity: 0.7;
    outline: none;
}

.hew-nav-btn svg {
    display: block;
}

@media (max-width: 1024px) {
    .hew-slide-card {
        flex-basis: 320px;
        margin: 0 20px;
    }

    .hew-nav-controls {
        gap: 60px;
    }
}

@media (max-width: 767px) {
    .hew-highlights-section {
        min-height: 780px;
        padding: 30px 0;
    }

    .hew-bg-text {
        font-size: clamp(3.2rem, 18vw, 5.8rem);
        top: 28%;
        white-space: normal;
        width: min(92%, 500px);
    }

    .hew-slide-card {
        flex-basis: 260px;
        margin: 0 14px;
    }

    .hew-nav-controls {
        gap: 24px;
        margin-top: 2rem;
    }

    .hew-nav-btn {
        padding: 10px;
    }

    .hew-nav-btn svg {
        width: 42px;
        height: 18px;
    }
}
