/* Kisure Sports Frontend v375 — premium article newsroom experience */

.article-shell--premium {
    align-items: start;
}

.article-shell--premium > .stack-grid {
    min-width: 0;
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.1rem 0.15rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.article-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: inherit;
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    color: var(--brand);
}

.article-breadcrumbs > i {
    font-size: 0.55rem;
    opacity: 0.55;
}

.article-breadcrumbs [aria-current="page"] {
    min-width: 0;
    max-width: 36rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-hero--premium {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 1.35rem;
}

.article-hero--premium .article-hero__content {
    order: 1;
    padding: clamp(1.35rem, 3.2vw, 2.75rem) clamp(1.2rem, 4vw, 3.25rem) clamp(1.25rem, 2.6vw, 2.15rem);
}

.article-hero--premium .story-badge-row {
    margin-bottom: 1rem;
}

.article-hero--premium .article-hero__title {
    max-width: none;
    margin: 0;
    font-size: clamp(2.15rem, 3.75vw, 4.35rem);
    line-height: 0.99;
    letter-spacing: -0.045em;
    text-wrap: pretty;
}

.article-hero--premium .article-hero__dek {
    max-width: 48rem;
    margin: 1.15rem 0 0;
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    line-height: 1.62;
    color: var(--text-soft);
    text-wrap: pretty;
}

.article-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.article-hero__meta span,
.article-hero__meta time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.article-hero__byline {
    color: var(--text);
    font-weight: 800;
}

.article-hero__figure {
    order: 2;
    margin: 0;
    background: var(--surface-2, var(--surface));
}

.article-hero--premium .article-hero__media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    background: #071315;
}

.article-hero--premium .article-hero__media picture,
.article-hero--premium .article-hero__media img,
.article-hero--premium .article-hero__media video,
.article-hero--premium .article-hero__media iframe,
.article-hero--premium .article-hero__media .video-embed-wrap,
.article-hero--premium .article-hero__media .social-embed-wrap {
    width: 100%;
    height: 100%;
}

.article-hero--premium .article-hero__media img,
.article-hero--premium .article-hero__media video,
.article-hero--premium .article-hero__media iframe {
    display: block;
    object-fit: cover;
}

.article-hero__caption {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem 0.85rem;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.76rem;
    line-height: 1.45;
}

.article-hero__caption cite {
    flex: 0 0 auto;
    font-style: normal;
    font-weight: 800;
    color: var(--text);
}

.article-content-card--premium {
    padding: clamp(1.2rem, 3.5vw, 3rem);
    border-radius: 1.25rem;
}

.article-content-card--premium .article-prose {
    width: min(100%, 48rem);
    margin-inline: auto;
    font-size: clamp(1rem, 0.55vw + 0.92rem, 1.12rem);
    line-height: 1.82;
}

.article-prose--intro p:first-child {
    margin-top: 0;
    color: var(--text);
    font-size: clamp(1.08rem, 1.1vw + 0.86rem, 1.3rem);
    line-height: 1.72;
    font-weight: 600;
}

.article-prose--body h2,
.article-prose--body h3 {
    position: relative;
    margin-top: 2.4rem;
    padding-top: 0.15rem;
    color: var(--text);
    letter-spacing: -0.025em;
}

.article-prose--body h2::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.15rem;
    bottom: 0.1rem;
    width: 0.24rem;
    border-radius: 999px;
    background: var(--brand);
}

.article-prose--body blockquote {
    margin: 2rem 0;
    padding: 1.35rem 1.45rem;
    border: 0;
    border-left: 0.28rem solid var(--brand);
    border-radius: 0 1rem 1rem 0;
    background: color-mix(in srgb, var(--brand) 8%, var(--surface));
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
    line-height: 1.62;
}

.article-prose--body figure,
.article-prose--body img,
.article-prose--body .video-embed-wrap,
.article-prose--body .social-embed-wrap,
.article-prose--body table {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article-match-summary-block {
    width: min(100%, 52rem);
    margin: 2rem auto;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
    border-radius: 1.2rem;
    background: color-mix(in srgb, var(--surface) 92%, var(--brand) 8%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.article-match-summary-block__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
}

.article-match-summary-block__header h2 {
    margin: 0.2rem 0 0;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.article-match-summary-block__top-link,
.article-match-summary-block__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--brand);
    font-weight: 900;
    text-decoration: none;
}

.article-match-summary-block > .article-match-scoreboard {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.article-match-summary-block__footer {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--line);
}

.article-match-summary-block__cta {
    width: 100%;
    min-height: 2.9rem;
    border-radius: 0.8rem;
    background: var(--brand);
    color: #fff;
}

.article-match-summary-block__cta:hover {
    filter: brightness(1.06);
    color: #fff;
}

.article-topics-card,
.article-share-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.4rem;
}

.article-topics-card h2,
.article-share-panel h2,
.article-author--compact h2 {
    margin: 0.2rem 0 0;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.article-topics-card .tag-cloud {
    justify-content: flex-end;
}

.article-topics-card .tag-chip {
    text-transform: none;
}

.article-author--compact {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.1rem;
    padding: 1.35rem 1.45rem;
}

.article-author--compact .article-author__avatar {
    width: 4.25rem;
    height: 4.25rem;
    font-size: 1.2rem;
}

.article-author--compact p {
    max-width: 52rem;
    margin: 0.55rem 0;
    color: var(--text-soft);
}

.article-share-panel__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.article-share-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.55rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--surface-2, var(--surface));
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.article-share-action:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

.article-rail__intro {
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
}

.article-rail__intro h3 {
    margin: 0.25rem 0 0.4rem;
    font-size: 1.12rem;
}

.article-rail__intro p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.55;
}

.article-shell--premium .article-rail {
    overflow: visible;
    max-height: none;
}

.article-shell--premium .related-grid,
.site-shell--wide > .stack-grid .more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.article-shell--premium .news-card,
.site-shell--wide > .stack-grid .more-grid .news-card {
    height: 100%;
}

.article-shell--premium .news-card__media,
.site-shell--wide > .stack-grid .more-grid .news-card__media {
    aspect-ratio: 16 / 9;
    height: auto;
}

@media (max-width: 1100px) {
    .article-shell--premium .related-grid,
    .site-shell--wide > .stack-grid .more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .article-breadcrumbs {
        padding-inline: 0.15rem;
        font-size: 0.72rem;
    }

    .article-breadcrumbs [aria-current="page"] {
        display: none;
    }

    .article-hero--premium {
        border-radius: 1rem;
    }

    .article-hero--premium .article-hero__content {
        padding: 1.2rem 1rem 1.1rem;
    }

    .article-hero--premium .article-hero__title {
        max-width: none;
        font-size: clamp(1.85rem, 10vw, 2.75rem);
        line-height: 1.04;
    }

    .article-hero__meta {
        align-items: flex-start;
        gap: 0.45rem 0.55rem;
        font-size: 0.75rem;
    }

    .article-hero__caption {
        flex-direction: column;
        gap: 0.25rem;
    }

    .article-content-card--premium {
        padding: 1.15rem 1rem;
    }

    .article-prose--body h2::before {
        left: -0.62rem;
    }

    .article-match-summary-block {
        margin: 1.35rem 0;
        border-radius: 1rem;
    }

    .article-match-summary-block__header {
        align-items: flex-start;
        padding: 0.9rem;
    }

    .article-match-summary-block__top-link {
        font-size: 0;
    }

    .article-match-summary-block__top-link i {
        font-size: 0.9rem;
    }

    .article-topics-card,
    .article-share-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.1rem;
    }

    .article-topics-card .tag-cloud,
    .article-share-panel__links {
        justify-content: flex-start;
        width: 100%;
    }

    .article-share-action {
        flex: 1 1 calc(50% - 0.55rem);
    }

    .article-author--compact {
        align-items: flex-start;
        padding: 1.15rem;
    }

    .article-author--compact .article-author__avatar {
        width: 3.6rem;
        height: 3.6rem;
    }

    .article-shell--premium .related-grid,
    .site-shell--wide > .stack-grid .more-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-author--compact {
        grid-template-columns: 1fr;
    }

    .article-share-action {
        flex-basis: 100%;
    }
}

.article-prose--intro + .article-prose--body {
    margin-top: 1.25rem;
}

/* Override older article rules that intentionally used !important. */
.article-shell.article-shell--premium .article-hero.article-hero--premium {
    display: flex !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
}

.article-shell.article-shell--premium .article-hero--premium .article-hero__content {
    gap: 0 !important;
}

.article-shell.article-shell--premium .article-hero--premium .article-hero__media {
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 0 !important;
}

.article-shell.article-shell--premium .article-hero--premium .article-hero__title {
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(2.15rem, 3.75vw, 4.35rem) !important;
    line-height: 0.99 !important;
    overflow-wrap: anywhere !important;
}

.article-shell.article-shell--premium .article-hero--premium .article-hero__dek {
    max-width: 48rem !important;
    margin: 1.15rem 0 0 !important;
    font-size: clamp(1rem, 1.45vw, 1.25rem) !important;
    line-height: 1.62 !important;
}

@media (min-width: 1200px) {
    .article-shell.article-shell--premium {
        grid-template-columns: minmax(0, 1fr) 21.875rem !important;
    }
}

@media (max-width: 760px) {
    .article-shell.article-shell--premium .article-hero--premium .article-hero__title {
        max-width: none !important;
        font-size: clamp(1.85rem, 10vw, 2.75rem) !important;
        line-height: 1.04 !important;
    }
}

/* Kisure Sports Frontend v376 — article width, quotations, embeds and full auto-loaded newsroom pages */
.article-shell.article-shell--premium .article-hero--premium .article-hero__content {
    min-width: 0 !important;
}

.article-shell.article-shell--premium .article-hero--premium .article-hero__title {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(2.15rem, 3.75vw, 4.35rem) !important;
    line-height: 1.015 !important;
    letter-spacing: -0.042em !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-wrap: pretty !important;
}

.article-shell.article-shell--premium .article-hero--premium .article-hero__dek {
    width: min(100%, 58rem) !important;
    max-width: 58rem !important;
}

/* Editorial quotations retain their closing punctuation and receive a consistent opening mark. */
.article-prose--body .article-quote {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    padding: clamp(1.35rem, 2.5vw, 1.8rem) clamp(1.2rem, 2.6vw, 1.75rem) clamp(1.35rem, 2.5vw, 1.8rem) clamp(3.75rem, 6vw, 5rem);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
    border-left: 0.32rem solid var(--brand);
    border-radius: 0 1.1rem 1.1rem 0;
    background: color-mix(in srgb, var(--brand) 7%, var(--surface));
    color: var(--text);
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    font-weight: 600;
    line-height: 1.68;
}

.article-prose--body .article-quote::before {
    content: "“";
    position: absolute;
    top: 0.3rem;
    left: clamp(1rem, 2.3vw, 1.55rem);
    color: var(--brand);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.6rem, 7vw, 5.6rem);
    font-weight: 900;
    line-height: 1;
    opacity: 0.9;
}

.article-prose--body .article-quote p {
    margin: 0;
    color: inherit;
    font: inherit;
}

.article-prose--body .article-quote + .article-quote {
    margin-top: -0.85rem;
}

html[data-theme="dark"] .article-prose--body .article-quote {
    background: color-mix(in srgb, var(--brand) 12%, var(--surface));
}

/* Social embeds are centred, responsive and safe inside both initial and auto-loaded stories. */
.article-social-embed,
.article-prose--body .twitter-tweet,
.article-prose--body .instagram-media,
.article-prose--body .tiktok-embed,
.article-prose--body .social-embed-wrap {
    width: min(100%, 42rem) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 2rem auto !important;
}

.article-social-embed {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-2, var(--surface));
}

.article-social-embed > blockquote,
.article-social-embed > iframe,
.article-social-embed .twitter-tweet,
.article-social-embed .instagram-media,
.article-social-embed .tiktok-embed {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
}

.article-social-embed iframe,
.article-prose--body .social-embed-wrap iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 32rem;
    border: 0;
}

.article-social-embed--hero {
    width: 100% !important;
    height: 100%;
    min-height: 100%;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
}

.article-social-embed--hero > blockquote,
.article-social-embed--hero iframe {
    max-height: 100%;
}

.video-embed-wrap,
.article-prose--body iframe {
    max-width: 100%;
}

/* Full auto-loaded stories now use the exact two-column newsroom page shell. */
.full-article-autoload-section {
    width: 100%;
}

.full-article-autoload-feed {
    width: 100%;
}

.auto-loaded-full-article {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-top: clamp(1.5rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
}

.auto-loaded-full-article__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.auto-loaded-full-article__permalink {
    margin: 0 !important;
}

.auto-loaded-full-article__shell {
    width: 100%;
    max-width: none;
}

.auto-loaded-full-article__shell > .stack-grid {
    min-width: 0;
}

.auto-loaded-full-article .article-prose {
    width: min(100%, 48rem) !important;
    max-width: 48rem !important;
    margin-inline: auto !important;
}

.auto-loaded-full-article__related {
    min-width: 0;
}

.auto-loaded-full-article__rail {
    align-self: start;
}

.auto-loaded-full-article__separator-ad {
    width: 100% !important;
    max-width: none !important;
    margin: clamp(1.75rem, 4vw, 3rem) 0 !important;
}

/* Longer public-facing label; prevent legacy AD sizing from squeezing it. */
.ad-slot-label {
    max-width: 100%;
    letter-spacing: 0.12em !important;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .article-shell.article-shell--premium .article-hero--premium .article-hero__title {
        width: 100% !important;
        max-width: none !important;
        font-size: clamp(1.85rem, 9.4vw, 2.8rem) !important;
        line-height: 1.04 !important;
        letter-spacing: -0.035em !important;
    }

    .article-prose--body .article-quote {
        padding: 3.25rem 1rem 1.2rem;
        border-left-width: 0.25rem;
    }

    .article-prose--body .article-quote::before {
        top: 0.25rem;
        left: 0.95rem;
        font-size: 3.75rem;
    }

    .article-social-embed iframe,
    .article-prose--body .social-embed-wrap iframe {
        min-height: 26rem;
    }

    .auto-loaded-full-article__topline {
        align-items: flex-start;
        flex-direction: column;
    }
}

.article-prose--body .article-social-embed > blockquote,
.article-hero__media .article-social-embed > blockquote {
    position: static !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: normal !important;
    box-shadow: none !important;
}

.article-prose--body .article-social-embed > blockquote::before,
.article-prose--body .article-social-embed > blockquote::after,
.article-hero__media .article-social-embed > blockquote::before,
.article-hero__media .article-social-embed > blockquote::after {
    content: none !important;
    display: none !important;
}
