/* Status is readable independently of the media symbols and category colors. */
[data-rd-headline]:empty { display:none }
.rd-priority-badge {
    display:inline-flex; align-items:center; justify-content:center; gap:.25em;
    box-sizing:border-box; padding:.23em .46em .22em; margin-inline-end:.48em;
    vertical-align:.12em; white-space:nowrap; line-height:1.12; font-family:inherit;
    font-size:clamp(10px,.59em,15px); font-weight:700; letter-spacing:.035em; text-transform:uppercase;
    color:#613600; background:#fff0c9; border:1px solid #ddae54; border-radius:4px; text-shadow:none;
}
.rd-priority-badge[data-rd-priority="warning"] {background:#af2236;border-color:#af2236;color:white}
.rd-priority-badge svg {display:block;width:1.12em;height:1.12em;flex:none}
html[data-theme="dark"] .rd-priority-badge,:host([data-dark]) .rd-priority-badge {background:#3e301d;border-color:#9f7735;color:#ffe1a2}
html[data-theme="dark"] .rd-priority-badge[data-rd-priority="warning"],:host([data-dark]) .rd-priority-badge[data-rd-priority="warning"] {background:#ff9eaa;border-color:#ff9eaa;color:#46131e}
.rd-article-title-icon {display:inline-block;width:1em;height:1em;line-height:1;margin-inline-end:.35em;vertical-align:-.12em}
.rd-article-title-icon svg {display:block;width:100%;height:100%}
.rd-video-title-icon {color:#ca2633}
.rd-gallery-title-icon {color:#5579b8}
html[data-theme="dark"] .rd-video-title-icon,:host([data-dark]) .rd-video-title-icon {color:#ff8996}
html[data-theme="dark"] .rd-gallery-title-icon,:host([data-dark]) .rd-gallery-title-icon {color:#a3c8ff}
:is(.card-text,.rd-home-latest-item,.rd-sidebar-news-copy,.rd-sidebar-latest-copy,.rd-archive-copy,.rd-story-copy,.rd56-related-copy):has([data-rd-headline]>.rd-priority-badge) h3,
:is(.rd-sidebar-news-copy,.rd-sidebar-latest-copy):has([data-rd-headline]>.rd-priority-badge) h4,
.rd-archive-copy:has(.rd-priority-badge) h3 {
    border-inline-start:3px solid #c48320;padding-inline-start:8px;
}
:is(.card-text,.rd-home-latest-item,.rd-sidebar-news-copy,.rd-sidebar-latest-copy,.rd-archive-copy,.rd-story-copy,.rd56-related-copy):has([data-rd-priority="warning"]) :is(h3,h4),
.rd-archive-copy:has([data-rd-priority="warning"]) h3 {border-inline-start-color:#c33248}

:is(.rd-rotation-caption,.rd-home-band-caption,.rd-home-feature-lead .rd-home-feature-caption) .rd-video-title-icon {color:#ff9eac;filter:drop-shadow(0 1px 1px #301018)}
:is(.rd-rotation-caption,.rd-home-band-caption,.rd-home-feature-lead .rd-home-feature-caption) .rd-gallery-title-icon {color:#bbd7ff;filter:drop-shadow(0 1px 1px #102137)}
.rd-newsroom-title-button:has([data-rd-priority]) {box-shadow:inset 3px 0 #c48320;padding-inline-start:8px}
.rd-newsroom-title-button:has([data-rd-priority="warning"]) {box-shadow:inset 3px 0 #c33248}
/* Header alerts share a single grid cell; invisible items reserve the tallest message. */
html body .rd-important-wrap .rd-important-bar[data-alert-kind]{--alert-paper:#ffce38;--alert-ink:#221c0e;position:relative;background:var(--alert-paper);color:var(--alert-ink)}
html body .rd-important-wrap .rd-important-bar[data-alert-kind=warning]{--alert-paper:#ae1746;--alert-ink:#fff}
html body .rd-important-wrap [data-important-items]{display:grid;grid-template-columns:minmax(0,1fr);width:100%;height:auto;overflow:visible}
html body .rd-important-wrap [data-important-items]>[data-alert-id]{display:flex;grid-area:1/1;align-items:center;justify-content:center;min-height:40px;padding:8px max(24px,env(safe-area-inset-left),env(safe-area-inset-right));color:inherit;background:transparent;text-align:center;white-space:normal;font-weight:650}
html body .rd-important-wrap [data-important-items]>[inert]{visibility:hidden;pointer-events:none}
html body .rd-important-wrap .rd-alert-copy{flex:0 1 auto;max-width:80ch;text-align:center;overflow-wrap:anywhere;text-wrap:balance}
html body .rd-important-wrap [data-important-controls]{position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);padding:0;opacity:0}
html body .rd-important-wrap [data-important-controls]:focus-within,html body .rd-important-wrap [data-important-controls]:hover{opacity:1}
html body .rd-important-wrap [data-important-controls] button{background:var(--alert-paper);color:var(--alert-ink);width:28px;min-height:32px}
html body .rd-important-wrap [data-important-items]:has(>:nth-child(2))>[data-alert-id]{padding-inline:max(32px,env(safe-area-inset-left),env(safe-area-inset-right))}
