/**
 * Saba Newsroom Professional Scale RC1
 *
 * Scale, typography and spacing only.
 * No color, background, layout order or content changes.
 */

/* Global editorial width: preserve the design while preventing overexpansion. */
body,
body.home {
    --saba-shell: min(1240px, calc(100% - 40px));
}

/* Header scale. */
.mag-masthead {
    min-height: 94px;
}

.site-brand .custom-logo {
    width: auto;
    max-height: 72px;
}

.mag-identity strong {
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.25;
}

.mag-identity span {
    font-size: 0.78rem;
    line-height: 1.5;
}

.mag-utility .site-shell {
    min-height: 32px;
}

.mag-utility,
.mag-utility__date,
.mag-utility__clock {
    font-size: 0.75rem;
}

.mag-utility__clock small {
    font-size: 0.65rem;
}

.mag-nav-wrap > .site-shell {
    min-height: 52px;
}

.site-header .primary-navigation a,
.site-header .menu-overflow__button,
.mag-search summary {
    font-size: 0.92rem;
    line-height: 1.3;
}

.site-header .primary-navigation > ul > li > a,
.site-header .saba-menu > li > a,
.site-header .menu-overflow__button {
    padding-block: 15px;
}

.live-button {
    padding: 9px 14px;
    font-size: 0.88rem;
}

/* News stream and ticker scale. */
.news-stream__label {
    min-width: 106px;
    padding-inline: 16px;
    font-size: 0.88rem;
}

.news-stream__item,
.news-stream__headline,
.mag-ticker {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Homepage: same arrangement and identity, tighter editorial scale. */
body.home .mag-top {
    gap: 22px;
    margin-block: 24px 30px;
}

body.home .mag-lead,
body.home .mag-top-list {
    min-width: 0;
}

body.home .mag-card--lead h2,
body.home .mag-card--lead h3,
body.home .mag-card--lead .mag-card__title {
    font-size: clamp(1.55rem, 2.25vw, 2.25rem);
    line-height: 1.4;
}

body.home .mag-card--compact h2,
body.home .mag-card--compact h3,
body.home .mag-card--compact .mag-card__title {
    font-size: 1rem;
    line-height: 1.55;
}

body.home .mag-card--latest h2,
body.home .mag-card--latest h3,
body.home .mag-card--latest .mag-card__title {
    font-size: 0.98rem;
    line-height: 1.55;
}

body.home .mag-latest {
    gap: 18px;
}

.broadcast-live-card {
    margin-bottom: 16px;
    padding: 10px;
}

.broadcast-live-card > a {
    gap: 7px;
    margin-top: 8px;
    padding: 8px;
    font-size: 0.88rem;
}

.mag-list-heading {
    margin-block: 14px 10px;
}

.mag-list-heading h2 {
    font-size: 1.35rem;
    line-height: 1.35;
}

.mag-more {
    font-size: 0.78rem;
}

.broadcast-news-grid {
    gap: 20px;
}

.broadcast-home section header h2,
.broadcast-home .broadcast-heading h2,
.broadcast-home .mag-section-heading h2 {
    font-size: clamp(1.45rem, 2.3vw, 2.05rem);
    line-height: 1.35;
}

/* Standard news article scale. */
body.single-post .article__header {
    margin-block-end: 22px;
}

body.single-post .article__header h1 {
    margin-block: 8px 14px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.35;
}

body.single-post .article__content {
    font-size: 1.06rem;
    line-height: 1.95;
}

/* Archive and standard page headings. */
.archive-header h1,
.page-header h1,
.entry-header h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.35;
}

/* Live page: same design and colors with a more editorial scale. */
.saba-live-v3__container {
    width: min(1120px, calc(100% - 32px));
}

.saba-live-v3__hero {
    padding: clamp(30px, 4vw, 52px) 0 38px;
}

.saba-live-v3__hero::before {
    height: 230px;
}

.saba-live-v3__heading {
    max-width: 680px;
    margin-block-end: 20px;
}

.saba-live-v3__badge {
    gap: 7px;
    padding: 6px 12px;
    margin-bottom: 13px;
    font-size: 13px;
}

.saba-live-v3__heading h1 {
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.3;
}

.saba-live-v3__heading p {
    max-width: 590px;
    margin-top: 11px;
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.7;
}

.saba-live-v3__player-card {
    max-width: 940px;
}

.saba-live-v3__status {
    gap: 12px;
    padding: 11px 16px;
}

.saba-live-v3__connected {
    gap: 8px;
    font-size: 13px;
}

.saba-live-v3__qualities {
    gap: 6px;
}

.saba-live-v3__qualities span {
    padding: 4px 8px;
    font-size: 10px;
}

.saba-live-v3__features {
    padding: 5px 0 52px;
}

.saba-live-v3__grid {
    gap: 15px;
}

.saba-live-v3__grid article {
    padding: 19px;
}

.saba-live-v3__grid strong {
    min-width: 44px;
    height: 38px;
    margin-bottom: 12px;
    font-size: 12px;
}

.saba-live-v3__grid h2 {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.4;
}

.saba-live-v3__grid p {
    font-size: 14px;
    line-height: 1.75;
}

/* Existing special pages: typography scale only. */
.stars-page .stars-hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.4rem);
    line-height: 1;
}

.stars-page .stars-hero p {
    max-width: 760px;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.programs-hub__hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05;
}

.saba-blogs .blogs-masthead h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
}

.single-blog-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.3;
}

/* Medium screens. */
@media (max-width: 1000px) {
    body,
    body.home {
        --saba-shell: calc(100% - 28px);
    }

    .mag-masthead {
        min-height: 84px;
    }

    .site-brand .custom-logo {
        max-height: 64px;
    }

    body.home .mag-top {
        gap: 18px;
        margin-block: 18px 25px;
    }

    .saba-live-v3__player-card {
        max-width: 860px;
    }
}

/* Phones. */
@media (max-width: 680px) {
    body,
    body.home {
        --saba-shell: calc(100% - 18px);
    }

    .mag-masthead {
        min-height: 72px;
    }

    .site-brand .custom-logo {
        max-height: 54px;
    }

    .mag-identity strong {
        font-size: 1.15rem;
    }

    .mag-identity span {
        font-size: 0.68rem;
    }

    .site-header .primary-navigation a,
    .site-header .menu-overflow__button {
        font-size: 0.9rem;
        padding-block: 12px;
    }

    body.home .mag-top {
        margin-block: 14px 22px;
    }

    body.home .mag-card--lead h2,
    body.home .mag-card--lead h3,
    body.home .mag-card--lead .mag-card__title {
        font-size: 1.45rem;
    }

    .saba-live-v3__container {
        width: calc(100% - 16px);
    }

    .saba-live-v3__hero {
        padding: 24px 0 30px;
    }

    .saba-live-v3__hero::before {
        height: 196px;
    }

    .saba-live-v3__heading {
        margin-block-end: 16px;
    }

    .saba-live-v3__heading h1 {
        font-size: 24px;
    }

    .saba-live-v3__heading p {
        font-size: 14px;
        line-height: 1.65;
    }

    .saba-live-v3__status {
        padding: 10px 12px;
    }

    .saba-live-v3__features {
        padding-bottom: 38px;
    }

    .saba-live-v3__grid article {
        padding: 16px;
    }

    body.single-post .article__header h1 {
        font-size: 1.9rem;
    }

    body.single-post .article__content {
        font-size: 1rem;
        line-height: 1.9;
    }

    .stars-page .stars-hero h1,
    .programs-hub__hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }
}
