/* Saba Newsroom 0.7.0 — unified editorial system, applied after legacy templates. */
:root {
  --saba-navy:#123f70; --saba-navy-dark:#082c52; --saba-orange:#df6912;
  --saba-ink:#12263b; --saba-muted:#56677b; --saba-line:#dbe4ee;
  --saba-shell:min(1360px, calc(100% - 48px)); --saba-radius:12px;
}
body,body.home { --saba-shell:min(1360px, calc(100% - 48px)); background:#fff; font-family:'Abd ElRady',Tahoma,Arial,sans-serif; }
body { font-size:17px; line-height:1.8; }
h1,h2,h3,h4 { font-weight:700; text-wrap:pretty; }
button,input,select,textarea { font:inherit; }
a,button { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible { outline:3px solid #d96108; outline-offset:4px; }
img { max-width:100%; }
.site-shell { width:var(--saba-shell); }
[id] { scroll-margin-top:28px; }
/* Masthead */
.site-header.mag-header { position:relative; inset:auto; z-index:100; background:#fff; backdrop-filter:none; border:0; }
.mag-utility { color:#496080; background:#eef4f9; border-top:3px solid var(--saba-navy); font-size:.77rem; }
.mag-utility>.site-shell { display:flex; align-items:center; justify-content:space-between; min-height:34px; gap:12px; }
.mag-utility .language-switcher { flex-wrap:wrap; }
.mag-masthead { display:flex; align-items:center; gap:26px; padding-block:23px; }
.mag-header .site-brand { min-width:0; }
.mag-header .site-brand .custom-logo { max-width:130px; max-height:84px; }
.mag-identity { display:grid; gap:2px; }
.mag-identity strong { color:var(--saba-navy); font-size:1.55rem; }
.mag-identity>span { color:var(--saba-muted); font-size:.85rem; max-width:48ch; }
.mag-tools { margin-inline-start:auto; display:flex; align-items:center; gap:12px; }
.mag-header .live-button { border-radius:7px; font-weight:700; min-height:44px; padding:9px 18px; }
.mag-header .menu-toggle { display:none; cursor:pointer; }
.mag-nav-wrap { border-block:1px solid var(--saba-line); box-shadow:0 3px 0 #f3f6fa; }
.mag-nav-wrap>.site-shell { display:flex; align-items:center; justify-content:space-between; gap:12px; position:relative; }
.mag-header .primary-navigation { position:static; display:block; border:0; padding:0; box-shadow:none; flex:1; min-width:0; }
.mag-header .primary-navigation ul.saba-menu { min-height:54px; display:flex; flex-direction:row; justify-content:flex-start; gap:0; width:auto; flex-wrap:wrap; }
.mag-header .saba-menu>li>a,.mag-header .menu-overflow__button { padding:12px 13px; font-size:.94rem; min-height:54px; }
.mag-header .saba-menu>li { display:block; }
.mag-header .saba-menu .sub-menu { z-index:120; }
.mag-search { flex-shrink:0; }
.mag-search summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; padding:12px; color:var(--saba-navy); }
.mag-search summary::-webkit-details-marker { display:none; }
.mag-search summary span { font:1.8rem Arial; }
.mag-search form { position:absolute; inset-inline-end:0; top:calc(100% + 8px); padding:22px; width:min(450px,100%); background:#fff; border:1px solid var(--saba-line); box-shadow:0 18px 40px #082c521a; border-radius:12px; z-index:121; }
.mag-search label { display:block; margin-bottom:8px; }
.mag-search form>div { display:flex; gap:8px; }
.mag-search input { width:100%; min-width:0; border:1px solid #afbed0; padding:9px 12px; border-radius:6px; }
.mag-search button { color:#fff; background:var(--saba-navy); border:0; padding:9px 16px; border-radius:6px; cursor:pointer; }
/* Editorial hierarchy */
.mag-ticker { background:#f0f5fa; border-bottom:1px solid var(--saba-line); }
.mag-ticker>.site-shell { display:flex; align-items:center; min-height:52px; gap:20px; }
.mag-ticker strong { align-self:stretch; display:grid; place-items:center; color:#fff; background:var(--saba-navy); padding:8px 18px; white-space:nowrap; }
.mag-ticker a { padding-block:10px; font-size:.9rem; }
.mag-top { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr); gap:32px; padding-block:32px 24px; }
.mag-lead,.mag-top-list,.mag-card,.mag-card__body { min-width:0; }
.mag-card { background:#fff; border:1px solid var(--saba-line); border-radius:12px; overflow:hidden; }
.mag-card__image { position:relative; display:block; aspect-ratio:16/10; overflow:hidden; background:#edf2f7; }
.mag-card__image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.mag-card:hover .mag-card__image img { transform:scale(1.025); }
.mag-card__body { padding:18px; }
.mag-card h3 { font-size:1.15rem; line-height:1.65; margin:6px 0 12px; overflow-wrap:break-word; }
.mag-card time { display:block; color:var(--saba-muted); font-size:.77rem; }
.mag-eyebrow { color:#b44c08; font-size:.79rem; font-weight:700; }
.mag-placeholder { display:grid; place-items:center; width:100%; height:100%; background:linear-gradient(140deg,#e6eff7,#cedfec); color:var(--saba-navy); font-size:2.4rem; }
.mag-card--lead { border:0; border-radius:0; }
.mag-card--lead .mag-card__image { aspect-ratio:16/8; border-radius:12px; }
.mag-card--lead .mag-card__image img { object-fit:contain; }
.mag-card--lead .mag-card__body { padding:18px 0 0; }
.mag-card--lead h3 { font-size:clamp(1.65rem,2.4vw,2.45rem); line-height:1.48; margin:8px 0 12px; }
.mag-card--lead p { color:#526174; margin:0 0 12px; line-height:1.85; }
.mag-list-heading { display:flex; align-items:center; justify-content:space-between; border-bottom:3px solid var(--saba-navy); padding-bottom:12px; margin-bottom:16px; }
.mag-list-heading h2 { font-size:1.5rem; margin:0; }
.mag-card--compact { display:grid; grid-template-columns:116px minmax(0,1fr); border:0; border-bottom:1px solid var(--saba-line); border-radius:0; padding-block:14px; align-items:start; gap:16px; }
.mag-card--compact .mag-card__image { aspect-ratio:4/3; border-radius:8px; }
.mag-card--compact .mag-card__image img { object-fit:contain; }
.mag-card--compact .mag-card__body { padding:0; }
.mag-card--compact h3 { font-size:1.04rem; margin-top:4px; }
.mag-latest { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding-block:16px 40px; border-top:1px solid var(--saba-line); }
.mag-card--latest h3 { font-size:1.05rem; }
.mag-live-band { color:#fff; background:linear-gradient(110deg,#082b50,#164c7f); border-bottom:4px solid #df6912; }
.mag-live-band>.site-shell { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:30px; }
.mag-live-band h2 { font-size:1.85rem; margin:3px 0; }
.mag-live-band p { margin:0; color:#d4e4f5; }
.mag-live-band .mag-eyebrow,.mag-dark .mag-eyebrow { color:#ffb579; }
.mag-live-band .live-button { flex-shrink:0; border-radius:8px; }
.mag-section-index { display:flex; flex-wrap:wrap; align-items:center; gap:9px; padding:25px 0; border-bottom:1px solid var(--saba-line); }
.mag-section-index strong { color:var(--saba-navy); margin-inline-end:8px; }
.mag-section-index a { border:1px solid #dbe4ee; padding:5px 13px; border-radius:6px; color:#40566e; font-size:.84rem; }
.mag-section-index a:hover { color:#fff; background:var(--saba-navy); border-color:var(--saba-navy); }
.mag-section { padding-block:38px; scroll-margin-top:20px; }
.mag-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; border-bottom:1px solid #cddae7; padding-bottom:16px; margin-bottom:24px; position:relative; }
.mag-heading::after { content:''; position:absolute; bottom:-2px; inset-inline-start:0; height:3px; width:72px; background:var(--saba-orange); }
.mag-heading h2 { font-size:1.9rem; color:var(--saba-navy-dark); margin:3px 0 0; line-height:1.5; }
.mag-more { display:inline-flex; align-items:center; gap:12px; white-space:nowrap; font-size:.85rem; color:var(--saba-navy); font-weight:700; }
.mag-category-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); column-gap:30px; }
.mag-category-grid>.mag-card--section-lead { grid-row:span 3; border:0; }
.mag-card--section-lead .mag-card__image { aspect-ratio:16/8; border-radius:10px; }
.mag-card--section-lead .mag-card__body { padding-inline:0; }
.mag-card--section-lead h3 { font-size:1.5rem; }
.mag-category-grid>.mag-card--compact { grid-column:2; }
.mag-empty { color:var(--saba-muted); padding:20px; background:#f3f6fa; border-radius:8px; }
.mag-collection-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.mag-dark { margin-block:25px; padding:32px; color:#fff; background:var(--saba-navy-dark); border-radius:16px; }
.mag-dark .mag-heading h2,.mag-dark .mag-more { color:#fff; }
.mag-dark .mag-card { background:#123e68; border-color:#355c81; }
.mag-dark .mag-card h3 { color:#fff; }
.mag-dark .mag-card__image { aspect-ratio:4/3; }
.mag-dark .program-schedule { margin:14px -8px -8px; padding:10px 2px; border-radius:8px; }
.mag-faces-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
.mag-faces-grid .mag-card { border:2px solid #246eab; box-shadow:0 6px 0 #d9e8f5; }
.mag-faces-grid .mag-card__image { aspect-ratio:4/5; }
.mag-faces-grid .mag-card__image img { object-position:50% 20%; }
.mag-faces-grid .mag-card__body { text-align:center; padding:12px; }
.mag-faces-grid h3 { font-size:1rem; margin:0; }
.mag-play { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:48px; height:48px; border:1px solid #ffffff90; border-radius:50%; color:#fff; background:#082c52bb; }
.mag-author { display:block; color:var(--saba-navy); font-size:.85rem; margin-top:8px; }
.mag-portal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.mag-portal { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:22px; border:1px solid #ccdeed; border-inline-start:4px solid #2267a4; border-radius:10px; background:linear-gradient(120deg,#fff,#f0f6fb); }
.mag-portal h3 { margin:0; color:var(--saba-navy); font-size:1.3rem; }
.mag-inline-search { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.mag-inline-search label { display:grid; gap:8px; flex:1; }
.mag-inline-search input { width:100%; min-width:0; padding:12px; border:1px solid #b3c4d5; border-radius:6px; }
.mag-inline-search button { padding:12px 22px; color:#fff; background:var(--saba-navy); border:0; border-radius:6px; cursor:pointer; }
/* Shared archive, article, programs and stars treatment. */
.news-grid { grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; }
.news-card { min-width:0; border-radius:12px; }
.news-card__title { overflow-wrap:break-word; }
.archive-layout { padding-block:38px 64px; }
.page-heading { padding:24px; background:#f0f5fa; border-inline-start:4px solid var(--saba-navy); border-radius:8px; }
.page-heading h1 { margin:0; color:var(--saba-navy); }
.pagination { margin-block:30px; }
.pagination .nav-links { display:flex; flex-wrap:wrap; gap:8px; }
.page-numbers { border:1px solid var(--saba-line); border-radius:6px; padding:6px 14px; }
.page-numbers.current { background:var(--saba-navy); color:#fff; }
.article-shell { width:min(920px,calc(100% - 40px)); padding-block:40px 70px; }
.article__header h1 { font-size:clamp(1.8rem,3.3vw,3rem); line-height:1.6; }
.article__content { font-size:1.18rem; line-height:2.1; }
.article__content a { color:var(--saba-navy); text-decoration:underline; text-underline-offset:4px; }
.article__content iframe,.article__content video { max-width:100%; }
.article__meta { flex-wrap:wrap; font-size:.88rem; }
.mag-article-tools { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-block:24px; padding-block:14px; border-block:1px solid var(--saba-line); }
.mag-article-tools button,.mag-article-tools a { padding:7px 13px; border:1px solid var(--saba-line); background:#fff; border-radius:7px; color:var(--saba-navy); cursor:pointer; font-size:.85rem; }
.mag-share-status { font-size:.8rem; color:#385870; }
.article__hero { border-radius:12px; }
.mag-related { padding-top:30px; margin-top:30px; border-top:1px solid var(--saba-line); }
.mag-related .mag-collection-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.stars-section { padding-block:40px 65px; }
.star-card { border:2px solid #2267a4; box-shadow:0 7px 0 #dbe9f6,0 16px 30px #0a355017; }
.star-card:hover { border-color:#df6912; }
.star-card__media { border-bottom:4px solid #185288; }
.star-card__body { background:linear-gradient(#fff,#f2f7fc); }
.person-profile__portrait { border:5px solid #2267a4; box-shadow:0 0 0 7px #e0edf8,0 22px 55px #082c5230; }
.person-profile__hero { border-bottom:5px solid #1b568c; }
.program-hub-card,.program-tile,.episode-card,.blog-card { border-radius:12px; }
.programs-hub__hero,.stars-hero,.program-archive-hero { border-bottom:4px solid var(--saba-orange); }
/* Institutional footer */
.site-footer.mag-footer { background:#061e37; margin-top:24px; padding-block:45px 22px; }
.mag-footer-top { display:grid; grid-template-columns:1fr 1.4fr .7fr; gap:40px; }
.mag-footer .site-footer__brand { font-size:1.8rem; }
.mag-footer p { max-width:35ch; color:#afc4d8; }
.mag-footer h2 { margin:0 0 15px; font-size:1.05rem; color:#fff; }
.mag-footer .mag-more { color:#ffb579; }
.mag-footer ul { display:flex; flex-wrap:wrap; flex-direction:row; justify-content:flex-start; gap:8px 18px; font-size:.86rem; }
.mag-footer-top>nav:last-child ul { flex-direction:column; }
.mag-footer-bottom { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:20px; border-top:1px solid #ffffff20; margin-top:35px; padding-top:22px; font-size:.78rem; }
.mag-footer-bottom>a { color:#cedfeb; }
/* Progressive animation: content is never hidden if JS fails. */
[data-reveal].is-revealed { animation:saba-rise .6s ease both; }
@keyframes saba-rise { from { opacity:.65; transform:translateY(14px); } to { opacity:1; transform:none; } }
@media (hover:hover) { .mag-card a:hover { color:#b8500b; } .star-card:hover { transform:translateY(-4px); } }
@media (max-width:1180px) {
 .saba-js .mag-header .menu-toggle { display:grid; }
 .saba-js .mag-header .primary-navigation { display:none; position:absolute; top:100%; inset-inline:0; background:#fff; padding:12px; border:1px solid var(--saba-line); border-radius:10px; box-shadow:0 16px 30px #082c521a; }
 .mag-header .primary-navigation.is-open { display:block; }
 .mag-header .primary-navigation ul.saba-menu { display:block; }
 .mag-header .saba-menu>li>a,.mag-header .menu-overflow__button { min-height:44px; padding:9px 12px; width:100%; font-size:1rem; }
 .mag-header .saba-menu .sub-menu { position:static; width:100%; min-width:0; box-shadow:none; }
 .mag-nav-wrap>.site-shell { justify-content:flex-end; }
 .mag-top { grid-template-columns:minmax(0,1.6fr) minmax(285px,1fr); gap:24px; }
 .mag-card--compact { grid-template-columns:95px minmax(0,1fr); gap:12px; }
 .mag-faces-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
 .mag-latest,.mag-collection-grid,.news-grid,.home .news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mag-top { grid-template-columns:1fr; }
 .mag-top-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
 .mag-list-heading { grid-column:1/-1; margin:0; }
 .mag-top-list .mag-card--compact { display:block; }
 .mag-top-list .mag-card__body { padding-top:12px; }
 .mag-footer-top { grid-template-columns:1fr 1fr; }
 .mag-footer-top>div { grid-column:1/-1; }
 .mag-related .mag-collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
 body,body.home { --saba-shell:calc(100% - 28px); font-size:16px; }
 .mag-utility { font-size:.72rem; }
 .mag-masthead { padding-block:15px; gap:12px; }
 .mag-header .site-brand .custom-logo { max-height:65px; max-width:96px; }
 .mag-identity { display:none; }
 .mag-tools { gap:8px; }
 .mag-header .live-button { min-width:0; min-height:40px; padding:7px 10px; font-size:.8rem; }
 .mag-header .menu-toggle { width:40px; height:40px; }
 .mag-search summary { padding:6px 10px; font-size:.85rem; }
 .mag-ticker>.site-shell { gap:12px; }
 .mag-ticker strong { padding-inline:12px; font-size:.85rem; }
 .mag-ticker a { font-size:.8rem; }
 .mag-top { padding-block:22px 16px; gap:22px; }
 .mag-card--lead .mag-card__image { aspect-ratio:16/10; }
 .mag-card--lead h3 { font-size:1.7rem; }
 .mag-card--lead p { font-size:.93rem; }
 .mag-top-list { display:block; }
 .mag-top-list .mag-card--compact { display:grid; }
 .mag-top-list .mag-card__body { padding:0; }
 .mag-latest,.mag-collection-grid,.news-grid,.home .news-grid,.mag-related .mag-collection-grid { grid-template-columns:1fr; }
 .mag-latest { gap:14px; padding-bottom:26px; }
 .mag-card--latest { display:grid; grid-template-columns:108px minmax(0,1fr); align-items:start; }
 .mag-card--latest .mag-card__image { aspect-ratio:1; }
 .mag-card--latest .mag-card__body { padding:12px; }
 .mag-card--latest h3 { font-size:1rem; margin-top:3px; }
 .mag-live-band>.site-shell { align-items:flex-start; flex-direction:column; padding-block:25px; gap:15px; }
 .mag-live-band h2 { font-size:1.55rem; }
 .mag-section-index { gap:7px; padding-block:20px; }
 .mag-section-index strong { width:100%; }
 .mag-section-index a { font-size:.8rem; padding:4px 10px; }
 .mag-section { padding-block:26px; }
 .mag-heading { gap:12px; margin-bottom:18px; }
 .mag-heading h2 { font-size:1.6rem; }
 .mag-category-grid { grid-template-columns:1fr; }
 .mag-category-grid>.mag-card--section-lead { grid-row:auto; }
 .mag-category-grid>.mag-card--compact { grid-column:auto; }
 .mag-card--section-lead h3 { font-size:1.25rem; }
 .mag-dark { margin-inline:-14px; padding:24px 14px; border-radius:0; }
 .mag-faces-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .mag-portal-grid { grid-template-columns:1fr; }
 .mag-footer-top { grid-template-columns:1fr; gap:28px; }
 .mag-footer-top>div { grid-column:auto; }
 .mag-footer-bottom { align-items:flex-start; flex-direction:column; }
 .article-shell { width:calc(100% - 28px); padding-block:24px 45px; }
 .article__content { font-size:1.08rem; }
 .article__header h1 { font-size:1.8rem; }
 .stars-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .star-card__body { padding:14px 10px; }
 .star-card__body h2 { font-size:1rem; }
}
@media (max-width:360px) { .stars-grid { grid-template-columns:1fr; } .mag-tools .live-button { font-size:.72rem; } }
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 [data-reveal].is-revealed,.mag-card__image img,.star-card,.news-card { animation:none; transition:none; }
}
@media print { .mag-header,.mag-footer,#sabaLivePreview,.mag-article-tools,.mag-related { display:none!important; } .article-shell { width:100%; padding:0; } }
