.main-slider .gta6-slide { display: flex; height: auto; }

.main-slider .gta6-hero {
    --gta6-title-size: 42px;
    --gta6-copy-size: 17px;
    --gta6-offer-size: 18px;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-height: none;
    padding-block: 16px 30px;
    background: #241532;
}

.gta6-hero .banner__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.gta6-hero .banner__content {
    display: flex;
    flex-direction: column;
    /* Share spare height between sections while keeping room above and below the copy. */
    flex: .75 0 auto;
    justify-content: space-evenly;
    text-align: start;
}
.gta6-hero__actions { display: contents; }
html[dir="rtl"] .gta6-hero__art { transform: scaleX(-1); }
.gta6-slide .gta6-hero .banner__title {
    margin-bottom: 10px;
    font-size: var(--gta6-title-size);
    line-height: 1.06;
}

.gta6-hero__highlight { color: #ff5a7e; }
.gta6-hero__subheading { display: block; font-size: .8em; }
.gta6-hero .banner__subtitle {
    margin-bottom: 10px;
    font-size: var(--gta6-copy-size);
    line-height: 1.3;
}
.gta6-hero__offer em, .gta6-hero__coupon {
    font-size: var(--gta6-offer-size);
    font-style: italic;
    font-weight: 800;
    white-space: nowrap;
}
.gta6-hero__coupon {
    display: inline-block;
    padding: 2px 14px;
    border-radius: 9px;
    background: #5b6cff;
    color: #fff;
    line-height: 1.3;
    vertical-align: middle;
}
.gta6-hero .gta6-hero__actions .banner__link { margin: 0 0 8px; font-size: 18px; }

.gta6-hero__art,
.gta6-hero__art::after {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gta6-hero__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
}

.gta6-hero__art::after {
    content: "";
    z-index: auto;
    background: linear-gradient(90deg, #160d20d9 0%, #1d1129c4 32%, #21142e55 55%, transparent 75%);
}

.gta6-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.gta6-hero__features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
}
.gta6-hero__features img { width: 22px; height: 22px; margin-block: -2px; flex: none; }
.gta6-hero__features svg {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: #ff5a7e;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gta6-hero a:focus-visible { outline: 2px solid white; outline-offset: 3px; }

@media (min-width: 641px) and (max-width: 1024px) {
    .main-slider .gta6-hero {
        --gta6-title-size: 30px;
        --gta6-copy-size: 16px;
        --gta6-offer-size: 17px;
    }
    .gta6-hero__art img { width: 72%; margin-left: auto; object-position: 15% top; }
    .gta6-hero__art::after {
        background: linear-gradient(90deg, #241532 28%, #241532f2 38%, #241532a6 58%, transparent 85%);
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .gta6-hero .banner__content > :not(.gta6-hero__actions) { max-width: 76%; }
}

@media (max-width: 640px) {
    .main-slider .gta6-hero {
        --gta6-title-size: 24px;
        --gta6-copy-size: 13px;
        --gta6-offer-size: 14px;
    }
    .gta6-slide .gta6-hero .banner__title { margin-bottom: 6px; }
    .gta6-hero .banner__subtitle { margin-bottom: 4px; line-height: 1.25; }
    .gta6-hero__coupon { padding: 1px 10px; }
    .gta6-hero .gta6-hero__actions .banner__link { margin-bottom: 6px; min-width: 0; padding: 8px 14px; font-size: 14px; }
    .gta6-hero__art img { object-position: center; }
    .gta6-hero__art::after { background: linear-gradient(105deg, #1e103bbd, #1e103b70); }
    .gta6-hero__features { gap: 3px 4px; margin-bottom: 7px; font-size: 12px; }
    .gta6-hero__features li { gap: 4px; padding: 2px 6px; }
    .gta6-hero__features svg { width: 14px; height: 14px; }
    .gta6-hero__features img { width: 16px; height: 16px; margin-block: -1px; }
}

@media (max-width: 480px) {
    .main-slider .gta6-hero { padding-block: 9px 29px; }
    .gta6-slide .gta6-hero .banner__title { font-family: inherit; }
}

@media (max-width: 420px) {
    .main-slider .gta6-hero {
        --gta6-title-size: clamp(20px, 5.7vw, 24px);
        --gta6-copy-size: 12px;
        padding-block: 6px 26px;
    }
    .gta6-slide .gta6-hero .banner__title { margin-bottom: 4px; }
    .gta6-hero .banner__subtitle { margin-bottom: 3px; }
    .gta6-hero__offer em { white-space: normal; }
    .gta6-hero__features { font-size: 11.5px; gap: 2px 4px; margin-bottom: 4px; }
    .gta6-hero__features li { padding: 1px 5px; line-height: 1.15; }
    .gta6-hero__features svg, .gta6-hero__features img { width: 13px; height: 13px; }
    .gta6-hero .gta6-hero__actions .banner__link { padding: 5px 8px; margin-bottom: 4px; font-size: 13px; }
}
