.pigi-home-hero {
    --pigi-accent: #a0a603;
    --pigi-text: #ffffff;
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background: #171717;
}

.pigi-home-hero__viewport {
    position: relative;
    height: clamp(500px, 45vw, 620px);
}

.pigi-home-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .55s ease, visibility .55s ease;
}

.pigi-home-hero__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pigi-home-hero__media,
.pigi-home-hero__overlay {
    position: absolute;
    inset: 0;
}

.pigi-home-hero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.pigi-home-hero__overlay {
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(8, 8, 8, .90) 0%,
            rgba(8, 8, 8, .76) 38%,
            rgba(8, 8, 8, .38) 68%,
            rgba(8, 8, 8, .12) 100%);
}

.pigi-home-hero__inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 50px 76px 64px;
}

.pigi-home-hero__content {
    width: min(620px, 56vw);
    color: var(--pigi-text);
}

.pigi-home-hero__date {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .92;
}

.pigi-home-hero__title {
    max-width: 660px;
    margin: 0 0 16px;
    color: var(--pigi-text);
    font-size: clamp(32px, 3.15vw, 48px);
    line-height: 1.07;
    font-weight: 700;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0,0,0,.34);
}

.pigi-home-hero__excerpt {
    max-width: 590px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.94);
    font-size: 16px;
    line-height: 1.55;
}

.pigi-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 3px;
    background: var(--pigi-accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.pigi-home-hero__button:hover,
.pigi-home-hero__button:focus-visible {
    background: #fff;
    color: #242424 !important;
    transform: translateY(-1px);
}

.pigi-home-hero__arrow,
.pigi-home-hero__dot {
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pigi-home-hero__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 44px;
    height: 54px;
    margin-top: -27px;
    padding: 0;
    background: rgba(0,0,0,.27);
    color: #fff;
    font-size: 36px;
    line-height: 1;
    transition: background .2s ease;
}

.pigi-home-hero__arrow:hover,
.pigi-home-hero__arrow:focus-visible {
    background: rgba(0,0,0,.62);
}

.pigi-home-hero__arrow--prev {
    left: 0;
}

.pigi-home-hero__arrow--next {
    right: 0;
}

.pigi-home-hero__dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
}

.pigi-home-hero__dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid rgba(255,255,255,.95);
    border-radius: 999px;
    background: transparent;
    transition: background .2s ease, transform .2s ease;
}

.pigi-home-hero__dot.is-active {
    background: #fff;
    transform: scale(1.10);
}

.pigi-home-hero button:focus-visible,
.pigi-home-hero a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .pigi-home-hero__viewport {
        height: 540px;
    }

    .pigi-home-hero__inner {
        padding: 46px 58px 62px;
    }

    .pigi-home-hero__content {
        width: min(650px, 74vw);
    }

    .pigi-home-hero__title {
        font-size: clamp(31px, 5vw, 43px);
    }
}

@media (max-width: 767px) {
    .pigi-home-hero__viewport {
        height: 520px;
    }

    .pigi-home-hero__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(8,8,8,.90) 0%,
                rgba(8,8,8,.78) 42%,
                rgba(8,8,8,.42) 68%,
                rgba(8,8,8,.18) 100%
            );
    }

    .pigi-home-hero__inner {
        align-items: flex-end;
        padding: 42px 22px 68px;
    }

    .pigi-home-hero__content {
        width: 100%;
    }

    .pigi-home-hero__date {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .pigi-home-hero__title {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(28px, 7.4vw, 34px);
        line-height: 1.08;
        text-wrap: pretty;
    }

    .pigi-home-hero__excerpt {
        display: -webkit-box;
        overflow: hidden;
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .pigi-home-hero__button {
        min-height: 44px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .pigi-home-hero__arrow {
        top: 44%;
        width: 36px;
        height: 46px;
        margin-top: -23px;
        font-size: 31px;
        background: rgba(0,0,0,.34);
    }

    .pigi-home-hero__dots {
        bottom: 16px;
        gap: 8px;
    }

    .pigi-home-hero__dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 420px) {
    .pigi-home-hero__viewport {
        height: 500px;
    }

    .pigi-home-hero__inner {
        padding: 38px 20px 62px;
    }

    .pigi-home-hero__title {
        font-size: 29px;
    }

    .pigi-home-hero__excerpt {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pigi-home-hero__slide,
    .pigi-home-hero__button,
    .pigi-home-hero__dot {
        transition: none !important;
    }
}
