.posts-hero,
.posts-hero * {
    box-sizing: border-box;
}

.posts-hero {
    position: relative;
    width: 100%;
    min-height: 720px;
    height: min(820px, 92vh);
    overflow: hidden;
    isolation: isolate;
    color: #f7f4ec;
    background: #17251d;
    font-family: Arial, sans-serif;
}

.posts-hero__ambient {
    position: absolute;
    z-index: 5;
    width: 420px;
    height: 420px;
    top: -180px;
    right: -100px;
    border-radius: 50%;
    background: rgba(208, 170, 82, 0.16);
    filter: blur(80px);
    pointer-events: none;
}

.posts-hero__slides,
.posts-hero__slide {
    position: absolute;
    inset: 0;
}

.posts-hero__slide {
    visibility: hidden;
    opacity: 0;
    transform: scale(1.06);
    transition:
        opacity 0.9s ease,
        transform 6s ease,
        visibility 0.9s ease;
}

.posts-hero__slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.posts-hero__slide > img,
.posts-hero__fallback-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.posts-hero__fallback-image {
    background:
        linear-gradient(
            135deg,
            #1d3527,
            #0b1710
        );
}

.posts-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 21, 14, 0.94) 0%,
            rgba(7, 21, 14, 0.72) 34%,
            rgba(7, 21, 14, 0.18) 78%
        ),
        linear-gradient(
            0deg,
            rgba(7, 21, 14, 0.86),
            transparent 50%
        );
}

.posts-hero__topbar {
    position: absolute;
    top: 32px;
    right: clamp(24px, 7vw, 110px);
    left: clamp(24px, 7vw, 110px);
    z-index: 6;

    display: flex;
    align-items: center;
    gap: 16px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.posts-hero__topbar-line {
    width: 46px;
    height: 1px;
    background: rgba(255, 255, 255, 0.38);
}

.posts-hero__topbar .posts-hero__label:last-child {
    margin-left: auto;
}

.posts-hero__intro {
    position: absolute;
    top: 112px;
    right: clamp(24px, 7vw, 110px);
    z-index: 6;
    text-align: right;
}

.posts-hero__eyebrow,
.posts-hero__category {
    color: #dfb954;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.posts-hero__intro h2 {
    margin: 12px 0 0;

    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-weight: 400;
    line-height: 0.95;
}

.posts-hero em {
    color: #e1bc61;
    font-family: Georgia, serif;
    font-weight: 400;
}

.posts-hero__content {
    position: absolute;
    top: 52%;
    left: clamp(24px, 11vw, 170px);
    z-index: 3;

    width: min(650px, calc(100% - 48px));

    transform: translateY(-50%);
}

.posts-hero__meta {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.posts-hero__line {
    width: 35px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.posts-hero__content h2 {
    margin: 0;

    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(3.5rem, 7vw, 7.4rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -5px;

    text-shadow:
        0 10px 35px rgba(0, 0, 0, 0.28);
}

.posts-hero__content p {
    max-width: 440px;
    margin: 28px 0 30px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.posts-hero__button {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    padding: 15px 18px 15px 21px;

    border: 1px solid rgba(235, 203, 119, 0.7);
    border-radius: 3px;

    color: #18241b !important;
    background: #e4bd5e;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;

    text-decoration: none !important;

    transition: 0.3s ease;
}

.posts-hero__button span {
    font-size: 20px;
    line-height: 0.6;
    transition: transform 0.3s ease;
}

.posts-hero__button:hover,
.posts-hero__button:focus-visible {
    color: #18241b !important;
    background: #f3d77e;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28);

    outline: none;
    transform: translateY(-3px);
}

.posts-hero__button:hover span,
.posts-hero__button:focus-visible span {
    transform: translate(4px, -4px);
}

.posts-hero__caption {
    position: absolute;
    right: clamp(24px, 7vw, 110px);
    bottom: 56px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.posts-hero__caption-line {
    width: 42px;
    height: 1px;
    background: #dfb954;
}

.posts-hero__controls {
    position: absolute;
    bottom: 43px;
    left: clamp(24px, 7vw, 110px);
    z-index: 6;

    display: flex;
    align-items: center;
    gap: 10px;
}

.posts-hero__arrow,
.posts-hero__pause {
    border:
        1px solid rgba(255, 255, 255, 0.35);

    color: #fff;
    background:
        rgba(255, 255, 255, 0.1);

    cursor: pointer;

    backdrop-filter: blur(12px);

    transition: 0.3s ease;
}

.posts-hero__arrow {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 18px;
}

.posts-hero__pause {
    display: flex;
    align-items: center;
    gap: 9px;

    height: 42px;
    margin-left: 10px;
    padding: 0 15px;

    border-radius: 22px;

    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.posts-hero__pause-icon {
    font-size: 12px;
}

.posts-hero__arrow:hover,
.posts-hero__pause:hover,
.posts-hero__arrow:focus-visible,
.posts-hero__pause:focus-visible {
    border-color: #e1bc61;

    color: #18241b;
    background: #e1bc61;

    outline: none;
}

.posts-hero__progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 7;

    height: 3px;

    background:
        rgba(255, 255, 255, 0.2);
}

.posts-hero__progress span {
    display: block;

    width: 0;
    height: 100%;

    background: #e1bc61;
}

.posts-hero.is-playing
.posts-hero__progress span {
    animation:
        posts-progress 6s linear forwards;
}

@keyframes posts-progress {

    to {
        width: 100%;
    }

}

@media (max-width: 700px) {

    .posts-hero {
        min-height: 680px;
        height: 88vh;
    }

    .posts-hero__topbar {
        top: 22px;

        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .posts-hero__topbar
    .posts-hero__label:last-child {
        display: none;
    }

    .posts-hero__intro {
        top: 78px;
        right: 24px;
    }

    .posts-hero__intro h2 {
        font-size: 1.5rem;
    }

    .posts-hero__content {
        top: auto;
        bottom: 135px;
        left: 24px;

        width: calc(100% - 48px);

        transform: none;
    }

    .posts-hero__content h2 {
        font-size:
            clamp(3.2rem, 15vw, 5rem);

        letter-spacing: -3px;
    }

    .posts-hero__content p {
        margin: 20px 0 23px;

        font-size: 13px;
        line-height: 1.55;
    }

    .posts-hero__caption {
        right: 24px;
        bottom: 35px;
    }

    .posts-hero__controls {
        bottom: 25px;
        left: 24px;
    }

    .posts-hero__pause {
        display: none;
    }

}

@media (prefers-reduced-motion: reduce) {

    .posts-hero__slide,
    .posts-hero__button,
    .posts-hero__arrow,
    .posts-hero__pause {
        transition: none;
    }

    .posts-hero.is-playing
    .posts-hero__progress span {
        animation: none;
        width: 100%;
    }

}