/*
 * Mangazaar homepage hero
 *
 * A single responsive, progressively enhanced Splide carousel. The component owns its
 * complete visual surface so no hero selectors leak into manga pages or rails.
 */

.mz-home-hero {
    --mz-hero-accent: #f97316;
    --mz-hero-active-accent: #f97316;
    --mz-hero-autoplay-delay: 8500ms;
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 80vh;
    min-height: 560px;
    height: max(560px, 80vh);
    height: max(560px, 80svh);
    overflow: hidden;
    background: #050505;
    color: #fff;
    direction: rtl;
    -webkit-user-select: none;
    user-select: none;
}

.mz-home-hero,
.mz-home-hero * {
    box-sizing: border-box;
}

.mz-home-hero img,
.mz-home-hero a {
    -webkit-user-drag: none;
}

.mz-home-hero .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.mz-home-hero__splide,
.mz-home-hero__splide .splide__track,
.mz-home-hero__splide .splide__list,
.mz-home-hero__slide {
    width: 100%;
    height: 100%;
}

/* Splide's generic 3D safeguard promotes every full-size fade slide even
 * while the hero is idle. This hero only cross-fades in 2D, so let Chromium
 * promote the active opacity transition when needed instead of retaining all
 * of those surfaces for vertical scrolling. */
.mz-home-hero__splide .splide__list,
.mz-home-hero__splide .splide__slide {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.mz-home-hero__splide {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: visible;
    overflow: hidden;
    background: #050505;
}

.mz-home-hero__splide .splide__track {
    touch-action: pan-y pinch-zoom;
}

/* Splide's fade layout offsets every slide back onto the first slide's
 * physical position. Keep that positioning axis LTR, then restore RTL on each
 * slide so Persian copy and controls retain their original direction. */
.mz-home-hero__splide .splide__list {
    direction: ltr;
}

.mz-home-hero__slide {
    direction: rtl;
}

/* The first slide remains complete and usable when the CDN/script is blocked. */
.mz-home-hero__splide:not(.is-initialized) .mz-home-hero__slide:not(:first-child) {
    display: none;
}

/* Never expose inert carousel controls if Splide or its CDN dependency fails. */
.mz-home-hero:not(.is-ready) .mz-home-hero__pagination-rail,
.mz-home-hero:not(.is-ready) .mz-home-hero__navigation {
    display: none;
}

.mz-home-hero__slide {
    position: relative;
    overflow: hidden;
    background: #050505;
}

/* After each fade, stop inactive full-viewport slides from participating in
 * paint/compositing. JS keeps the outgoing and incoming slides rendered for
 * the complete cross-fade, then retains only the active slide. */
.mz-home-hero.is-ready .mz-home-hero__slide:not(.is-mz-rendered) {
    visibility: hidden;
}

.mz-home-hero.is-ready .mz-home-hero__slide.is-mz-rendered {
    visibility: visible;
}

.mz-home-hero__backdrop,
.mz-home-hero__picture,
.mz-home-hero__backdrop-image,
.mz-home-hero__backdrop-fill,
.mz-home-hero__veil,
.mz-home-hero__texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mz-home-hero__backdrop {
    z-index: 0;
    overflow: hidden;
    background: #0b0b0c;
}

.mz-home-hero__picture {
    display: block;
}

.mz-home-hero__backdrop-image {
    display: block;
    max-width: none;
    object-fit: cover;
    object-position: var(--mz-hero-focus-x, 50%) var(--mz-hero-focus-y, 50%);
    user-select: none;
}

.mz-home-hero__backdrop-fill {
    display: none;
}

/*
 * Portrait-cover fallback: the cover stays legible on the physical left, away
 * from RTL copy, while a dark blurred duplicate fills the remaining canvas.
 */
.mz-home-hero__slide--cover-fallback .mz-home-hero__backdrop-fill {
    display: block;
    z-index: 0;
    inset: -12%;
    width: 124%;
    height: 124%;
    max-width: none;
    object-fit: cover;
    object-position: var(--mz-hero-focus-x, 50%) var(--mz-hero-focus-y, 50%);
    filter: blur(46px) saturate(0.88) brightness(0.52);
    opacity: 0.9;
    transform: translateZ(0) scale(1.08);
}

.mz-home-hero__slide--cover-fallback .mz-home-hero__backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 18% 48%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.025) 30%, transparent 52%),
        linear-gradient(to left, rgba(5, 5, 5, 0.36) 0%, rgba(5, 5, 5, 0.06) 58%, rgba(5, 5, 5, 0.18) 100%);
}

.mz-home-hero__slide--cover-fallback .mz-home-hero__picture {
    z-index: 1;
    inset: auto auto auto clamp(28px, 6vw, 120px);
    top: 50%;
    width: auto;
    max-width: min(32vw, 520px);
    height: min(80%, 720px);
    aspect-ratio: 5 / 7;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(8, 8, 10, 0.42);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(0, 0, 0, 0.3),
        22px 0 60px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%);
}

.mz-home-hero__slide--cover-fallback .mz-home-hero__backdrop-image {
    object-fit: contain;
    object-position: center;
    filter: none;
}

.mz-home-hero__veil {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(5, 5, 5, 0.26) 0%, rgba(5, 5, 5, 0.08) 28%, rgba(5, 5, 5, 0.38) 58%, rgba(5, 5, 5, 0.9) 88%, #050505 100%),
        linear-gradient(to left, rgba(5, 5, 5, 0.73) 0%, rgba(5, 5, 5, 0.34) 38%, rgba(5, 5, 5, 0.04) 73%);
}

.mz-home-hero__texture {
    z-index: 2;
    pointer-events: none;
    background-image: url('../images/noise.svg');
    background-size: 180px 180px;
    background-repeat: repeat;
    /* Soft-light promoted the entire hero into a retained compositor surface
     * in Opera. At this low opacity, normal compositing is pixel-equivalent at
     * viewing scale while keeping the grain and avoiding that full-width layer. */
    mix-blend-mode: normal;
    opacity: 0.055;
}

.mz-home-hero__content-shell {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    width: 100%;
    padding: 84px clamp(26px, 5.4vw, 108px) 78px;
    pointer-events: none;
}

.mz-home-hero__content {
    width: min(780px, 58vw);
    text-align: right;
    pointer-events: auto;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 520ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mz-home-hero__splide:not(.is-initialized) .mz-home-hero__slide:first-child .mz-home-hero__content,
.mz-home-hero__slide.is-active .mz-home-hero__content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 90ms;
}

.mz-home-hero__title {
    display: -webkit-box;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--mz-hero-accent);
    background: linear-gradient(to left, var(--mz-hero-accent) 0%, #fff 82%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: Estedad, Vazirmatn, sans-serif;
    font-size: clamp(2rem, 3vw, 3.35rem);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -0.035em;
    text-wrap: balance;
    filter: drop-shadow(0 3px 18px rgba(0, 0, 0, 0.52));
}

.mz-home-hero__metadata {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    min-height: 23px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.91);
}

.mz-home-hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
    white-space: nowrap;
}

.mz-home-hero__meta svg,
.mz-home-hero__meta i {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    stroke-width: 2.2;
}

.mz-home-hero__status {
    color: #57e389;
    font-weight: 900;
}

.mz-home-hero__status.is-completed {
    color: #7dd3fc;
}

.mz-home-hero__status.is-dropped {
    color: #fca5a5;
}

.mz-home-hero__status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.mz-home-hero__description {
    display: -webkit-box;
    max-width: 720px;
    margin: 16px 0 0;
    overflow: hidden;
    color: rgba(244, 244, 245, 0.88);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: clamp(0.9rem, 1.05vw, 1rem);
    font-weight: 500;
    line-height: 1.9;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
}

.mz-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
}

.mz-home-hero__primary-action,
.mz-home-hero__info-action,
.mz-home-hero__live,
.mz-home-hero__arrow,
.mz-home-hero__autoplay-toggle,
.mz-home-hero__bullet {
    -webkit-tap-highlight-color: transparent;
}

.mz-home-hero__primary-action {
    display: inline-flex;
    min-width: 176px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 24px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    color: #111214;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.mz-home-hero__primary-action svg,
.mz-home-hero__primary-action i {
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke-width: 2.4;
}

.mz-home-hero__info-action {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mz-home-hero__info-action svg,
.mz-home-hero__info-action i {
    width: 23px;
    height: 23px;
    stroke-width: 2.2;
}

.mz-home-hero__live {
    display: inline-flex;
    max-width: min(300px, 31vw);
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(8, 8, 10, 0.43);
    color: rgba(255, 255, 255, 0.73);
    text-decoration: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: opacity 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mz-home-hero__live.is-changing {
    opacity: 0.25;
}

.mz-home-hero__live-dot {
    position: relative;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 9px rgba(239, 68, 68, 0.82);
}

.mz-home-hero__live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: inherit;
    animation: mz-hero-live-pulse 2.2s ease-out infinite;
}

.mz-home-hero__live-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.64rem;
    font-weight: 700;
    white-space: nowrap;
}

.mz-home-hero__live-label--mobile {
    display: none;
}

.mz-home-hero__live strong {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

.mz-home-hero__live-title {
    min-width: 0;
    overflow: hidden;
    padding-right: 7px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mz-home-hero__pagination-rail {
    position: absolute;
    right: clamp(26px, 5.4vw, 108px);
    bottom: 22px;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

.mz-home-hero__pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    width: auto !important;
    direction: rtl;
}

.mz-home-hero__bullet {
    position: relative;
    display: block;
    width: 32px;
    height: 18px;
    flex: 0 0 32px;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    cursor: pointer;
    transition: width 280ms ease, flex-basis 280ms ease;
}

.mz-home-hero__bullet::before,
.mz-home-hero__bullet::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 0;
    height: 3px;
    border-radius: 99px;
}

.mz-home-hero__bullet::before {
    width: 100%;
    background: rgba(255, 255, 255, 0.19);
}

.mz-home-hero__bullet::after {
    width: 100%;
    background: var(--mz-hero-active-accent);
    box-shadow: 0 0 9px var(--mz-hero-active-accent);
    transform: scaleX(0);
    transform-origin: right center;
}

.mz-home-hero__bullet.is-active {
    width: 54px;
    flex-basis: 54px;
}

.mz-home-hero__bullet.is-active::after {
    animation: mz-hero-progress var(--mz-hero-autoplay-delay) linear forwards;
}

.mz-home-hero.is-paused .mz-home-hero__bullet.is-active::after {
    animation-play-state: paused;
}

.mz-home-hero.is-offscreen .mz-home-hero__live-dot::after,
.mz-home-hero.is-ready .mz-home-hero__slide:not(.is-active) .mz-home-hero__live-dot::after {
    animation-play-state: paused;
}

.mz-home-hero__autoplay-toggle {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.64);
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.mz-home-hero__autoplay-toggle svg,
.mz-home-hero__autoplay-toggle i {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.mz-home-hero__autoplay-toggle [data-hero-icon="play"] {
    display: none;
}

.mz-home-hero.is-paused .mz-home-hero__autoplay-toggle [data-hero-icon="pause"] {
    display: none;
}

.mz-home-hero.is-paused .mz-home-hero__autoplay-toggle [data-hero-icon="play"] {
    display: block;
}

.mz-home-hero__navigation {
    position: absolute;
    left: clamp(26px, 5.4vw, 108px);
    bottom: 58px;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 4px;
    direction: rtl;
}

.mz-home-hero__arrow {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.mz-home-hero__arrow svg,
.mz-home-hero__arrow i {
    width: 25px;
    height: 25px;
    stroke-width: 2;
}

.mz-home-hero__primary-action:focus-visible,
.mz-home-hero__info-action:focus-visible,
.mz-home-hero__live:focus-visible,
.mz-home-hero__arrow:focus-visible,
.mz-home-hero__autoplay-toggle:focus-visible,
.mz-home-hero__bullet:focus-visible {
    outline: 2px solid var(--mz-hero-active-accent);
    outline-offset: 3px;
}

@media (hover: hover) {
    .mz-home-hero__primary-action:hover {
        background: #fff;
        box-shadow: 0 15px 34px rgba(0, 0, 0, 0.34);
        transform: translateY(-2px);
    }

    .mz-home-hero__info-action:hover {
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .mz-home-hero__live:hover {
        border-color: rgba(255, 255, 255, 0.16);
        background: rgba(12, 12, 14, 0.58);
    }

    .mz-home-hero__arrow:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .mz-home-hero__autoplay-toggle:hover {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }
}

.mz-home-hero__primary-action:active,
.mz-home-hero__info-action:active,
.mz-home-hero__arrow:active {
    transform: scale(0.96);
}

/* Graceful no-content state; still preserves homepage hierarchy and CTA. */
.mz-home-hero--empty {
    display: flex;
    align-items: flex-end;
    padding: 92px clamp(26px, 5.4vw, 108px) 88px;
}

.mz-home-hero__empty-art {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 34%, rgba(249, 115, 22, 0.2), transparent 34%),
        radial-gradient(circle at 75% 16%, rgba(234, 88, 12, 0.1), transparent 28%),
        linear-gradient(to bottom, #15100d 0%, #080706 52%, #050505 100%);
}

.mz-home-hero__empty-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/noise.svg');
    opacity: 0.06;
}

.mz-home-hero__empty-content {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
}

.mz-home-hero__empty-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: #fdba74;
    font-size: 0.78rem;
    font-weight: 800;
}

.mz-home-hero__empty-content h1 {
    margin: 0;
    color: #fff;
    font-family: Estedad, Vazirmatn, sans-serif;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.2;
}

.mz-home-hero__empty-content p {
    margin: 16px 0 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

@keyframes mz-hero-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes mz-hero-live-pulse {
    0% { opacity: 0.8; transform: scale(0.7); }
    70%, 100% { opacity: 0; transform: scale(1.55); }
}

@media (min-width: 1600px) {
    .mz-home-hero__content {
        width: min(900px, 55vw);
    }

    .mz-home-hero__title {
        font-size: clamp(2.7rem, 2.65vw, 3.8rem);
    }
}

@media (max-width: 1023.98px) {
    .mz-home-hero {
        height: 60vh;
        min-height: 520px;
        height: max(520px, 60vh);
        height: max(520px, 60svh);
    }

    .mz-home-hero__content-shell {
        padding-inline: clamp(22px, 5vw, 48px);
        padding-bottom: 72px;
    }

    .mz-home-hero__content {
        width: min(720px, 84vw);
    }

    .mz-home-hero__pagination-rail {
        right: clamp(22px, 5vw, 48px);
    }

    .mz-home-hero__navigation {
        left: clamp(22px, 5vw, 48px);
    }

    .mz-home-hero__slide--cover-fallback .mz-home-hero__picture {
        left: clamp(22px, 5vw, 48px);
        max-width: 32vw;
        height: 78%;
    }
}

@media (max-width: 767.98px) {
    .mz-home-hero {
        height: 50vh;
        min-height: 430px;
        height: max(430px, 50vh);
        height: max(430px, 50svh);
    }

    .mz-home-hero__veil {
        background:
            linear-gradient(to bottom, rgba(5, 5, 5, 0.18) 0%, rgba(5, 5, 5, 0.08) 25%, rgba(5, 5, 5, 0.52) 57%, rgba(5, 5, 5, 0.95) 88%, #050505 100%),
            linear-gradient(to left, rgba(5, 5, 5, 0.48), rgba(5, 5, 5, 0.08) 76%);
    }

    .mz-home-hero__backdrop-image {
        object-position: var(--mz-hero-mobile-focus-x, 50%) var(--mz-hero-mobile-focus-y, 45%);
    }

    .mz-home-hero__slide--cover-fallback .mz-home-hero__backdrop-fill {
        object-position: var(--mz-hero-mobile-focus-x, 50%) var(--mz-hero-mobile-focus-y, 45%);
        filter: blur(28px) saturate(0.82) brightness(0.5);
    }

    .mz-home-hero__slide--cover-fallback .mz-home-hero__picture {
        left: -2%;
        top: 43%;
        width: auto;
        max-width: 72vw;
        height: 74%;
        border-radius: 13px;
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.52),
            0 0 0 1px rgba(0, 0, 0, 0.28);
    }

    .mz-home-hero__content-shell {
        padding: 68px 16px 48px;
    }

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

    .mz-home-hero__title {
        font-size: clamp(1.35rem, 6.2vw, 1.72rem);
        line-height: 1.28;
        letter-spacing: -0.025em;
    }

    .mz-home-hero__metadata {
        gap: 6px 11px;
        margin-top: 11px;
    }

    .mz-home-hero__meta {
        gap: 4px;
        font-size: 0.67rem;
    }

    .mz-home-hero__meta svg,
    .mz-home-hero__meta i {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }

    .mz-home-hero__meta--genre {
        display: none;
    }

    .mz-home-hero__description {
        display: none;
    }

    .mz-home-hero__actions {
        flex-wrap: nowrap;
        gap: 7px;
        margin-top: 15px;
    }

    .mz-home-hero__primary-action {
        min-width: 142px;
        min-height: 38px;
        padding: 8px 17px;
        border-radius: 8px;
        font-size: 0.76rem;
    }

    .mz-home-hero__primary-action svg,
    .mz-home-hero__primary-action i {
        width: 16px;
        height: 16px;
    }

    .mz-home-hero__info-action {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 9px;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .mz-home-hero__info-action svg,
    .mz-home-hero__info-action i {
        width: 20px;
        height: 20px;
    }

    .mz-home-hero__live {
        width: auto;
        max-width: 82px;
        min-height: 32px;
        gap: 5px;
        padding: 6px 9px;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .mz-home-hero__live-label--desktop,
    .mz-home-hero__live-title {
        display: none;
    }

    .mz-home-hero__live-label--mobile {
        display: inline;
    }

    .mz-home-hero__live strong {
        font-size: 0.69rem;
    }

    .mz-home-hero__navigation {
        display: none;
    }

    .mz-home-hero__pagination-rail {
        right: 16px;
        bottom: 12px;
        gap: 6px;
    }

    .mz-home-hero__pagination {
        gap: 2px;
    }

    .mz-home-hero__bullet {
        width: 25px;
        flex-basis: 25px;
    }

    .mz-home-hero__bullet.is-active {
        width: 43px;
        flex-basis: 43px;
    }

    .mz-home-hero__autoplay-toggle {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .mz-home-hero--empty {
        padding: 76px 18px 54px;
    }

    .mz-home-hero__empty-content h1 {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }
}

@media (max-width: 370.98px) {
    .mz-home-hero__meta--type {
        display: none;
    }

    .mz-home-hero__primary-action {
        min-width: 132px;
        padding-inline: 14px;
    }
}

@media (max-height: 640px) and (min-width: 768px) {
    .mz-home-hero {
        height: 100vh;
        height: 100svh;
        min-height: 520px;
    }

    .mz-home-hero__content-shell {
        padding-bottom: 64px;
    }

    .mz-home-hero__description {
        -webkit-line-clamp: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mz-home-hero__content,
    .mz-home-hero__primary-action,
    .mz-home-hero__info-action,
    .mz-home-hero__live,
    .mz-home-hero__arrow,
    .mz-home-hero__bullet {
        transition-duration: 0.01ms !important;
    }

    .mz-home-hero__bullet.is-active::after {
        width: 100%;
        animation: none;
    }

    .mz-home-hero__live-dot::after {
        animation: none;
    }
}
