/* Qnna News OS 1.150.3 — block colours that apply in every block type.
 * Generated from tests/gen_css.py. Classes and variables come from inc/block-colors-v1503.php:
 *   .qbc-bg     --qbc-bg      block background (also the template's own main panel)
 *   .qbc-text   --qbc-text    news titles;  --qbc-muted  excerpts and meta
 *   .qbc-accent --qbc-accent  accent (also written to --qnna-section-accent)
 *   .qbc-cards  --qbc-card    card surfaces when light text sits on a dark block
 * Light mode only: dark mode keeps the theme's dark design.
 * Specificity stays below the 1.150.0 tokens (.qap.qap.qap…), so a token set in
 * «الألوان والمظهر» always wins.
 * Photo overlays, coloured title bars and category badges keep their own colours:
 * their text is designed against the image or the accent, not the block background.
 */

/* ---- Background ---- */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qbc-bg.qbc-bg{background:var(--qbc-bg)!important}
html:not([data-qnna-theme="dark"]) body .qbc-bg.qbc-bg :is(section.qnna-reference,.qnna-okaz-lead-section,.qnna-okaz-popular-section,section.qnna-reader-discovery,.qnna-articles-section,.qnna-ref-articles,.qnna-lead-grid-section,.qnna-popular-tabs-section){background:transparent!important;border-color:color-mix(in srgb,var(--qbc-text,currentColor) 12%,transparent)!important}

/* ---- Accent ---- */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qbc-accent{--qnna-smart-accent:var(--qbc-accent);--qnna-section-accent:var(--qbc-accent)}

/* ---- News titles ---- */
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text :is(h2,h3,h4,h5):not(:is(.qnna-section-head,.qnna-ref-video-head,.qnna-ref-articles-head,.qnna-reference-head,.qnna-okaz-title-row,.qnna-okaz-lead-title-row,.qnna-discovery-title,.qnna-ed-head,.qnna-edlib-head) *):not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker) *),
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text :is(h2,h3,h4,h5):not(:is(.qnna-section-head,.qnna-ref-video-head,.qnna-ref-articles-head,.qnna-reference-head,.qnna-okaz-title-row,.qnna-okaz-lead-title-row,.qnna-discovery-title,.qnna-ed-head,.qnna-edlib-head) *):not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker) *) a,
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text :is(.qnna-side-news-copy>strong,.wp-block-latest-posts__post-title,.wp-block-latest-posts>li>a):not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker) *){color:var(--qbc-text)!important}

/* ---- Excerpts and meta ---- */
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text :is(p:not([class*=meta]):not([class*=status]):not([class*=tab]),.qnna-excerpt,[class*=excerpt],[class*=summary]:not([class*=titles362]),time,[class*=meta-date],[class*=meta-time],[class*=author]:not([class*=frame]):not([class*=avatar]):not([class*=photo]),[class*=writer-name]):not(:is(.qnna-section-head,.qnna-ref-video-head,.qnna-ref-articles-head,.qnna-reference-head,.qnna-okaz-title-row,.qnna-okaz-lead-title-row,.qnna-discovery-title,.qnna-ed-head,.qnna-edlib-head) *):not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker) *){color:var(--qbc-muted)!important}

/* ---- Cards that are dark by design (opinion cards) follow the block palette ---- */
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text.qnna-section-shell-articles .qnna-opinion-card{background:var(--qbc-surface)!important;border-color:color-mix(in srgb,var(--qbc-text) 16%,transparent)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text.qnna-section-shell-articles .qnna-opinion-card :is(h3,h3 a){color:var(--qbc-text)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text.qnna-section-shell-articles .qnna-opinion-card :is(p,small,.qnna-home-writer-name,.qnna-opinion-writer,[class*=author]){color:var(--qbc-muted)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text.qnna-section-shell-articles .qnna-card-meta-pro b{color:var(--qbc-muted)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text.qnna-section-shell-articles .qnna-card-meta-pro>span{background:color-mix(in srgb,var(--qbc-text) 7%,transparent)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text .qnna-reader-discovery small:not([class]):not(.qnna-discovery-topic *){color:var(--qbc-muted)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text :is(.qnna-reference-writer,.qnna-reference-writer a){color:var(--qbc-muted)!important}

/* ---- Section titles drawn directly on the block background ---- */
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text :is(.qnna-okaz-title-row,.qnna-okaz-lead-title-row,.qnna-discovery-title,.qnna-discovery-head) :is(h2,h3,h2 a){color:var(--qbc-text)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text :is(.qnna-discovery-title,.qnna-discovery-head) p{color:var(--qbc-muted)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text .qnna-discovery-foot>span{color:var(--qbc-muted)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-text.qbc-dark .qnna-discovery-foot a{color:var(--qbc-text)!important}
/* «اكتشف» uses the site primary colour as its own accent: follow the block accent instead. */
html:not([data-qnna-theme="dark"]) body .qbc-accent .qnna-reader-discovery{--qrd-accent:var(--qbc-accent)}

/* ---- Custom accent: text placed on the accent uses white or deep ink, whichever reads better (--qnna-on-accent) ----
 * The doubled .qbc-accent outranks the premium «heading badge» rule (body.home ….qnna-heading-badge …h2),
 * which forces white text even on a light accent. */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qbc-accent.qbc-accent :is(.qnna-title-wrap,.qnna-ref-articles-head) :is(h2,h2 a),
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qbc-accent.qbc-accent .qnna-ed-rank :is(h3,h3 a,h4,h4 a),
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qbc-accent.qbc-accent.qnna-identity-auto .qnna-read-link,
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qbc-accent.qbc-accent :is(.qnna-ref-card-cat,.qnna-card-overlay-badge,.qnna-news-model-badge,.qnna-video-category,.qnna-kicker,.qnna-edlib-kicker,.qnna-edlib-badge,.qnna-ed-cat,.qnna-qnna-cat,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-ops-cat,.qnna-discovery-cat){color:var(--qnna-on-accent)!important}

/* ---- Accent used as text on light surfaces: darkened when the accent is too light ----
 * «More» links and reference titles sit in a light title bar. Links drawn on a dark block background (.qbc-dark) keep the
 * accent itself, which reads better there than a darkened one. */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qnna-accent-ink :is(.qnna-more-link,.qnna-more-link span,.qnna-reference-head h2){color:var(--qnna-accent-ink)!important}
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qnna-accent-ink:not(.qbc-dark) :is(.qnna-edlib-read,.qnna-read-link:not(.is-dark-card *):not(.qnna-identity-auto *),.qnna-edlib-community-stream small,.qnna-discovery-foot a){color:var(--qnna-accent-ink)!important}
/* The active «most read» tab is a white pill with accent text on the home page. */
html:not([data-qnna-theme="dark"]) body.home .qnna-section-shell.qnna-accent-ink :is(.qnna-popular-tab.is-active,.qnna-popular-tab:hover){color:var(--qnna-accent-ink)!important}

/* ---- Readability fixes found by the 1.150.3 audit (all colour sources) ---- */
/* «الكتّاب والمقالات» uses the dark-card meta chips on light cards: the date/time text was white on white. */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell-editorial_writers .qnna-card-meta-pro.is-dark-card b{color:#040310!important}
html:not([data-qnna-theme="dark"]) body .qnna-section-shell-editorial_writers .qnna-card-meta-pro.is-dark-card>span{background:#fff!important}
/* news-qnna1 photo cards: meta chips sit on the dark photo gradient; their text was dark on dark. */
body .qnna-qnna1-lead .qnna-card-meta-pro b{color:#eef6fb!important}
body .qnna-qnna1-lead .qnna-card-meta-pro>span{background:rgba(255,255,255,.12)!important}
/* 1.150.4: qnna1 side cards are dark overlays only from 768px; on phones they are light cards, where white meta text vanished. */
@media(min-width:768px){body .qnna-qnna1-side-card .qnna-card-meta-pro b{color:#eef6fb!important}body .qnna-qnna1-side-card .qnna-card-meta-pro>span{background:rgba(255,255,255,.12)!important}}

/* «المقالات» draws its opinion cards dark by design (white titles, light excerpts), but the premium
   home layer paints every card title dark ink with a higher specificity: titles were dark on dark.
   Restore the template's own colours when the block has no chosen text colour. */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell-articles:not(.qbc-text) .qnna-opinion-card :is(h3,h3 a){color:#fff!important}
html:not([data-qnna-theme="dark"]) body .qnna-section-shell-articles:not(.qbc-text) .qnna-opinion-card :is(p,.qnna-excerpt){color:rgba(239,247,251,.86)!important}
html:not([data-qnna-theme="dark"]) body .qnna-section-shell-articles:not(.qbc-text) .qnna-opinion-card :is(small,.qnna-home-writer-name,.qnna-opinion-writer){color:rgba(239,247,251,.74)!important}
/* «عكاظ» lead and most-read panels are dark by design; the same premium layer turned their title dark. */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell:not(.qbc-bg) :is(.qnna-okaz-lead-section,.qnna-okaz-popular-section) :is(.qnna-okaz-title-row,.qnna-okaz-lead-title-row) :is(h2,h2 a){color:#fff!important}
/* «التقارير» kicker is a dark accent badge on the home page; identity distribution coloured its text with the
   same accent (accent on accent). White, as on the other category badges. */
html body.home .qnna-section-shell.qnna-identity-auto .qnna-kicker{color:#fff!important}

/* ---- Text on an accent surface (section-title pill, ranked rows): white on a dark accent ---- */
body .qnna-section-shell.qnna-accent-on-dark .qnna-title-wrap :is(h2,h2 a){color:#fff!important}
body .qnna-section-shell.qnna-accent-on-dark .qnna-ref-articles-head :is(h2,h2 a){color:#fff!important}

/* ---- Ranked rows (editorial «الأكثر» lists): the home layer paints them with --qnna-smart-accent, a tone that
 * rotates with the block's position, and kept the dark ink titles: dark on dark on most tones. The title now
 * takes white or near-black from the tone's own lightness (LCH L* 60 is about 3:1 either way for these large titles).
 * A block with a chosen accent keeps the contrast-checked --qnna-on-accent above. */
@supports (color:lch(from red l c h)){
html:not([data-qnna-theme="dark"]) body.home .qnna-section-shell:not(.qbc-accent) .qnna-ed-rank :is(h3,h3 a,h4,h4 a){color:lch(from var(--qnna-smart-accent,#07082a) calc((60 - l) * 100) 0 0)!important}
}
@supports not (color:lch(from red l c h)){
body .qnna-section-shell.qnna-accent-on-dark .qnna-ed-rank :is(h3,h3 a,h4,h4 a){color:#fff!important}
}

/* ---- Cards on a dark block with light text ---- */
html:not([data-qnna-theme="dark"]) body .qnna-section-shell.qbc-cards{--qnna-card-body-bg:var(--qbc-card)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-cards :is(article,.qnna-ref-card-body,.qnna-news-model-body,.qnna-popular-copy,.qnna-lead-small-body,.qnna-report-content,.qnna-community-copy,.qnna-video-card-body,.qnna-qnna2-copy,.qnna-ed-copy,.qnna-edlib-copy,.qnna-okaz-lead-main-title,.qnna-ref-news-card,.qnna-news-model-card,.qnna-video-card,.qnna-report-card,.qnna-opinion-card,.qnna-popular-item,.qnna-okaz-lead-item,.qnna-community-slide,.qnna-card,.qnna-side-news-item,.wp-block-latest-posts>li,.qnna-ed-card,.qnna-edlib-card,.qnna-reference-item,.qnna-qnna2-card,.qnna-discovery-card):not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker) *):not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker)){background:var(--qbc-card)!important;border-color:color-mix(in srgb,var(--qbc-text) 16%,transparent)!important}
/* Meta lines (date, views, reading time) on those cards: the theme meta chips turn into a tint of the card;
 * other chips with their own light background (news model) keep their ink. */
html:not([data-qnna-theme="dark"]) body .qbc.qbc-cards :is(.qnna-popular-meta,.qnna-discovery-meta,.qnna-card-meta-pro):not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker) *) :is(b,em,small,strong){color:var(--qbc-muted)!important}
html:not([data-qnna-theme="dark"]) body .qbc.qbc-cards .qnna-card-meta-pro:not(:is(.qnna-featured-card,.qnna-featured-text,.qnna-section-shell-reference_trio .qnna-reference-copy,.qnna-lead-story,.qnna-ed-lead,.qnna-ed-wide-lead,.qnna-ed-center-lead,.qnna-ed-overlay-card,.qnna-ed-overlay-tile,.qnna-card-overlay,.is-overlay,.qnna-qnna1-lead,.qnna-qnna1-side-card,.qnna-edlib-mosaic-lead,.qnna-edlib-mosaic-tile,.qnna-edlib-cinema-lead,.qnna-reference-stage,.qnna-ed-rank,.qnna-ref-card-media,.qnna-ed-media,.qnna-edlib-media,.qnna-qnna-media,.qnna-qnna2-media,.qnna-news-model-media,.qnna-ops-media,.qnna-discovery-media,.qnna-lead-small-media,.qnna-ref-card-cat,.qnna-ops-cat,.qnna-discovery-cat,.qnna-edlib-badge,.qnna-news-model-badge,.qnna-ed-cat,.qnna-video-category,.qnna-lead-cat,.qnna-lead-small-cat,.qnna-spotlight-cat,.qnna-okaz-popular-cat,.qnna-reference-category,.qnna-card-cat,.qnna-card-overlay-badge,.qnna-cat-badge,.qnna-side-cat,.qnna-qnna-cat,.qnna-kicker,.qnna-edlib-kicker) *)>span{background:color-mix(in srgb,var(--qbc-text) 8%,transparent)!important}

/* 1.150.4: sections that used a full-bleed hack (width:100vw / 100%+28px with negative margins) lost their
   negative margins to the home speed pack, so they spilled 20–160px past their block. Inside a block shell the
   shell owns the width (inside the container or full width), so the section simply fills it. */
html:not(#qx) body .qnna-home .qnna-section-shell>:is(.qnna-okaz-popular-section,.qnna-okaz-lead-section,.qnna-video-section,.qnna-articles-section,.qnna-ref-video,.qnna-ref-articles){width:100%!important;max-width:100%!important;margin-inline:0!important;box-sizing:border-box}
/* 1.150.4: a block image ratio (16:9, 4:3, 3:2, 1:1) together with a media min-height made the browser derive the
   width from the height, so the picture grew past its column and covered the text beside it (magazine lead at
   tablet width, «1+4» side rows). The picture now always stays inside its own column. */
html:not(#qx) body .qnna-home .qnna-section-shell[class*="qnna-image-ratio-"] :is(.qnna-ref-card-media,.qnna-news-model-media,.qnna-report-media,.qnna-community-media,.qnna-card-media,.qnna-edlib-media,.qnna-ops-media){max-width:100%!important;min-width:0!important}
html:not(#qx) body .qnna-home .qnna-edlib-magazine-lead>.qnna-edlib-media{width:100%;min-width:0}
