/*
Theme Name: Rashtra Rang Newsroom
Theme URI: https://www.rashtrarang.com/
Description: Hindi-first newsroom theme for Rashtra Rang.
Version: 1.15.1
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rashtra-rang-newsroom
*/

:root {
    --rr-ink: #182238;
    --rr-muted: #465569;
    --rr-green: #11663c;
    --rr-saffron: #f59a27;
    --rr-navy: #131f3d;
    --rr-rule: #dbe3dc;
    --rr-paper: #fff;
    --rr-white: #fff;
    --rr-font: "Noto Sans Devanagari", "Nirmala UI", Mangal, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--rr-ink); background: var(--rr-paper); font: 16px/1.65 var(--rr-font); }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #11663c; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.32; overflow-wrap: anywhere; }
.rr-wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.rr-sr, .screen-reader-text, .rr-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rr-skip:focus { position: fixed; z-index: 10; inset: 10px auto auto 10px; background: white; padding: 10px; }
.rr-header { background: var(--rr-white); }
.rr-masthead { min-height: 124px; display: flex; align-items: center; justify-content: space-between; column-gap: 16px; padding-block: 18px; }
.rr-brand, .rr-footer-brand { text-decoration: none; display: inline-flex; flex-direction: column; font-weight: 900; line-height: 1.03; }
.rr-brand > span { font-size: clamp(2.9rem, 7.5vw, 5.5rem); letter-spacing: -.065em; }
.rr-brand > span > span, .rr-footer-brand span { color: var(--rr-green); }
.rr-brand small { font: 800 .72rem/1.4 system-ui, sans-serif; letter-spacing: .34em; margin-top: 7px; }
.custom-logo { max-width: min(360px, 52vw); max-height: 95px; width: auto; object-fit: contain; }
.rr-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rr-epaper, .rr-search summary, .rr-search-form button { display: inline-flex; min-height: 42px; align-items: center; gap: 6px; border: 1px solid var(--rr-rule); padding: 6px 13px; background: var(--rr-white); color: var(--rr-ink); cursor: pointer; font: 700 .9rem/1.25 var(--rr-font); text-decoration: none; }
.rr-epaper, .rr-search-form button { color: white; background: var(--rr-green); border-color: var(--rr-green); }
.rr-search summary { list-style: none; }
.rr-search summary::-webkit-details-marker { display: none; }
.rr-search { position: relative; }
.rr-search-panel { position: absolute; z-index: 5; inset: calc(100% + 9px) 0 auto auto; padding: 12px; background: var(--rr-white); border: 1px solid var(--rr-rule); box-shadow: 0 8px 26px #24161123; width: min(320px, calc(100vw - 32px)); }
.rr-search-form { display: flex; gap: 6px; max-width: 420px; }
.rr-search-form label { flex: 1; min-width: 0; }
.rr-search-form input { width: 100%; height: 42px; padding-inline: 9px; font: inherit; background: var(--rr-white); border: 1px solid var(--rr-rule); color: var(--rr-ink); }
.rr-nav { border-top: 1px solid var(--rr-rule); border-bottom: 3px solid var(--rr-green); }
.rr-menu, .rr-footer-menu { margin: 0; padding: 0; list-style: none; display: flex; }
.rr-menu { overflow-x: auto; scrollbar-width: thin; gap: 24px; white-space: nowrap; }
.rr-menu a { display: block; padding: 12px 2px; font-size: .9rem; font-weight: 750; text-decoration: none; }
.rr-menu a:hover, .rr-menu [aria-current] { color: var(--rr-green); }
.rr-main { padding-block: 28px 64px; min-height: 55vh; }
.rr-section-head { display: flex; align-items: baseline; justify-content: space-between; column-gap: 12px; border-bottom: 1px solid var(--rr-rule); margin-bottom: 18px; padding-bottom: 10px; }
.rr-section-head h1, .rr-section-head h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 850; border-inline-start: 4px solid var(--rr-green); padding-inline-start: 10px; }
.rr-section-head a, .rr-error a { color: var(--rr-green); font-weight: 750; }
.rr-card { min-width: 0; }
.rr-card h3 { font-weight: 800; font-size: 1.28rem; }
.rr-card h3 a { text-decoration: none; }
.rr-card h3 a:hover { text-decoration: underline; }
.rr-media { display: block; overflow: hidden; background: #e9ddd2; }
.rr-media img { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.rr-tag { display: inline-block; color: var(--rr-green); font-size: .78rem; font-weight: 850; margin-bottom: 6px; text-decoration: none; }
.rr-tag:hover { text-decoration: underline; }
.rr-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--rr-muted); margin-top: 8px; font-size: .81rem; }
.rr-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.rr-grid .rr-card { background: var(--rr-white); border: 1px solid var(--rr-rule); }
.rr-grid .rr-card-body { padding: 16px; }
.rr-local { margin-top: 38px; }
.rr-archive-description { margin-bottom: 18px; color: var(--rr-muted); }
.rr-footer { background: #241a17; color: #f8eee5; border-top: 4px solid var(--rr-green); }
.rr-footer-inner { min-height: 105px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding-block: 22px; }
.rr-footer-brand { font-size: 2rem; flex-direction: row; }
.rr-footer-brand span { color: #ffa9a3; }
.rr-footer-menu { gap: 10px 18px; flex-wrap: wrap; }
.rr-footer small { color: #ded0c7; }
.rr-reading { max-width: 790px; margin-inline: auto; }
.rr-article-head h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); }
.rr-article-head .rr-meta { margin-top: 14px; }
.rr-article-image { margin-block: 24px; }
.rr-article-image img { width: 100%; }
figcaption { color: var(--rr-muted); font-size: .85rem; padding-top: 5px; }
.rr-content { font-size: clamp(1.08rem, 2.5vw, 1.23rem); line-height: 1.9; overflow-wrap: anywhere; }
.rr-content > * { margin-top: 1em; margin-bottom: 1em; }
.rr-content iframe, .rr-content video { max-width: 100%; }
.rr-content a, .rr-byline a { color: var(--rr-green); }
.rr-content blockquote { margin-inline: 0; border-inline-start: 3px solid var(--rr-green); padding-inline-start: 1em; }
.rr-content .aligncenter { margin-inline: auto; }
.rr-content .alignleft { float: left; margin-inline-end: 1em; }
.rr-content .alignright { float: right; margin-inline-start: 1em; }
.rr-content::after { content: ""; display: block; clear: both; }
.rr-content pre, .wp-block-table { overflow-x: auto; }
.rr-comments { margin-top: 34px; border-top: 1px solid var(--rr-rule); padding-top: 20px; }
.rr-comments ol { padding-inline-start: min(5vw, 24px); }
.rr-comments textarea, .rr-comments input:not([type=checkbox]) { max-width: 100%; font: inherit; }
.rr-comments p { margin-block: 8px; }
.rr-comments .avatar { display: inline-block; vertical-align: middle; }
.rr-error .rr-search-form { margin-block: 20px; }
.pagination { margin-top: 24px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { border: 1px solid var(--rr-rule); padding: 5px 10px; text-decoration: none; }
.page-numbers.current { background: var(--rr-green); color: white; border-color: var(--rr-green); }
@media (max-width: 760px) {
    .rr-masthead { min-height: 90px; }
    .rr-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .rr-menu { gap: 17px; }
}
@media (max-width: 460px) {
    .rr-grid { grid-template-columns: minmax(0,1fr); }
    .rr-grid .rr-media img { aspect-ratio: 2/1; }
    .rr-actions { gap: 5px; }
    .rr-epaper, .rr-search summary { padding-inline: 8px; font-size: .8rem; }
    .rr-brand small { font-size: .58rem; }
    .rr-main { padding-top: 20px; }
}

@media (max-width: 460px) {
    .custom-logo { max-width: 43vw; }
    .rr-masthead { column-gap: 8px; }
}

.rr-wrap { max-width: 1440px; padding-inline: clamp(14px, 3vw, 46px); }
.rr-header { border-top: 4px solid var(--rr-saffron); }
.rr-masthead { min-height: 96px; }
.rr-brand > span { color: var(--rr-green); font-size: clamp(2.5rem, 5.5vw, 4rem); }
.rr-brand > span > span { color: #b45100; }
.rr-brand small { color: var(--rr-navy); margin-top: 5px; }
.custom-logo { max-height: 76px; }
.rr-nav { background: var(--rr-navy); color: white; border-top: none; border-bottom-color: var(--rr-saffron); }
.rr-menu a { padding: 12px 3px; }
.rr-menu a:hover, .rr-menu [aria-current] { color: #ffba60; }
.rr-menu a:focus-visible { outline-color: #ffba60; outline-offset: -2px; }
.rr-video-link { color: var(--rr-green); font-size: .9rem; font-weight: 800; text-decoration: none; padding: 9px 4px; }
.rr-ticker { display: flex; align-items: stretch; background: #f3f6f4; border: 1px solid var(--rr-rule); margin-bottom: 26px; }
.rr-ticker h2 { display: flex; align-items: center; background: var(--rr-green); color: white; padding: 10px 15px; font-size: clamp(.85rem, 1.65vw, 1.08rem); font-weight: 850; white-space: nowrap; border-inline-end: 4px solid var(--rr-saffron); }
.rr-ticker ul { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: thin; list-style: none; padding: 0; margin: 0; }
.rr-ticker li { flex: 0 0 min(285px, 57vw); min-width: 0; padding: 5px 12px; display: flex; align-items: center; }
.rr-ticker li + li { border-inline-start: 1px solid var(--rr-rule); }
.rr-ticker a { display: flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 750; line-height: 1.35; text-decoration: none; }
.rr-ticker a:hover { color: var(--rr-green); text-decoration: underline; }
.rr-ticker img { width: 35px; height: 30px; object-fit: cover; }
.rr-ticker ul:focus-visible { outline: 2px solid var(--rr-green); outline-offset: -3px; }
.rr-ticker a:focus-visible { outline-offset: 1px; }
.rr-newsroom { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.rr-feed, .rr-rail, .rr-newsroom > .rr-reading { min-width: 0; }
.rr-section-head { margin-bottom: 15px; }
.rr-section-head h1, .rr-section-head h2 { border-inline-start-color: var(--rr-saffron); }
.rr-stories { display: grid; }
.rr-card--story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); gap: clamp(15px, 2vw, 28px); align-items: start; padding-block: 21px; border-bottom: 1px solid var(--rr-rule); }
.rr-card--story:first-child { padding-top: 0; }
.rr-card--story.rr-card--text { grid-template-columns: minmax(0, 1fr); }
.rr-card--story .rr-media img { aspect-ratio: 3/2; }
.rr-card--story h3 { font-size: clamp(1.25rem, 2.1vw, 2.15rem); font-weight: 850; line-height: 1.28; }
.rr-card--story p { margin-top: 11px; color: var(--rr-muted); line-height: 1.55; }
.rr-card--story .rr-tag { padding: 3px 9px; background: #eaf4ed; border-inline-start: 3px solid var(--rr-green); }
.rr-read-more { display: inline-block; margin-top: 12px; padding: 3px 9px; color: var(--rr-green); border: 1px solid #a8c8b4; font-size: .85rem; font-weight: 800; text-decoration: none; }
.rr-read-more:hover { background: #eaf4ed; }
.rr-rail { display: grid; gap: 22px; align-content: start; }
.rr-video, .rr-ad-rail { background: #f5f8f5; border: 1px solid var(--rr-rule); padding: 13px; }
.rr-video { scroll-margin-top: 14px; }
.rr-video h2, .rr-ad-rail > h2 { margin-bottom: 10px; font-size: 1.12rem; border-inline-start: 3px solid var(--rr-saffron); padding-inline-start: 8px; }
.rr-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 0; background: var(--rr-navy); }
.rr-video > a { display: inline-block; color: var(--rr-green); font-weight: 750; font-size: .85rem; margin-top: 8px; }
.rr-ad-rail { display: none; }
.rr-ad-rail > h2 span { color: var(--rr-muted); font: 700 .67rem/1.3 system-ui, sans-serif; letter-spacing: .08em; }
.rr-widget + .rr-widget { margin-top: 16px; }
.rr-widget > h2 { font-size: 1rem; }
.rr-widget img { margin-inline: auto; }
.rr-widget iframe, .rr-widget video { max-width: 100%; }
.rr-footer { background: var(--rr-navy); border-top-color: var(--rr-saffron); }
.rr-footer-brand span { color: #ffba60; }
@media (min-width: 1000px) {
    .rr-newsroom--rail { grid-template-columns: minmax(0, 1fr) minmax(265px, 24%); }
    .rr-ad-rail { display: block; }
}
@media (max-width: 999px) {
    .rr-rail--ads { display: none; }
}
@media (max-width: 600px) {
    .rr-card--story { grid-template-columns: minmax(0, 1fr); padding-block: 16px; }
    .rr-card--story .rr-media img { aspect-ratio: 16/9; }
    .rr-card--story h3 { font-size: 1.45rem; }
    .rr-ticker { margin-bottom: 17px; }
    .rr-ticker h2 { padding-inline: 8px; }
    .rr-video-link { font-size: .8rem; padding-inline: 1px; }
    .rr-masthead { min-height: 78px; column-gap: 5px; }
}

.rr-conditions { border-bottom: 1px solid var(--rr-rule); background: #f3f6f4; font-size: .82rem; }
.rr-conditions .rr-wrap { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: 3px 12px; padding-block: 4px; }
.rr-conditions button { color: var(--rr-green); background: none; border: 0; padding: 2px; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.rr-conditions a { color: var(--rr-green); font-size: .73rem; }
.rr-conditions time { font-variant-numeric: tabular-nums; }
.rr-conditions [data-rr-status] { color: var(--rr-navy); font-weight: 700; }

.rr-brand--image { display: block; min-width: 0; }
.rr-brand--image img { width: clamp(200px, 23vw, 280px); height: auto; }
@media (max-width: 600px) {
    .rr-brand--image img { width: min(41vw, 205px); }
}

@media (max-width:460px) {
    .rr-actions { flex-shrink:1; flex-wrap:wrap; justify-content:flex-end; }
}

/* Top stories and the homepage section boundaries. */
.rr-top-stories {
    margin: 0 0 clamp(28px, 4vw, 50px);
    padding: clamp(14px, 2.35vw, 30px);
    border-top: 3px solid var(--rr-saffron);
    background: var(--rr-navy);
    color: #fff;
}
.rr-top-stories > h2 {
    margin: 0 0 14px;
    color: #ffbf66;
    font-size: clamp(16px, 1.55vw, 22px);
}
.rr-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.25vw, 32px); }
.rr-top-grid--single { grid-template-columns: minmax(0, 1fr); }
.rr-top-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.1vw, 28px); }
.rr-top-secondary--single { grid-template-columns: minmax(0, 1fr); }
.rr-top-column, .rr-feature-story { min-width: 0; }
.rr-feature-story a { color: inherit; text-decoration: none; display: block; }
.rr-feature-story a:hover { text-decoration: underline; text-underline-offset: .18em; }
.rr-feature-story a:focus-visible { outline: 2px solid #ffbf66; outline-offset: 4px; }
.rr-feature-story h3 { margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.rr-feature-story--lead h3 { font-size: clamp(23px, 2.65vw, 42px); line-height: 1.29; }
.rr-feature-story--secondary h3, .rr-feature-story--brief h3 { font-size: clamp(15px, 1.55vw, 22px); }
.rr-feature-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.rr-feature-story--brief { border-top: 1px solid #ffffff30; margin-top: 13px; padding-top: 13px; }
.rr-home-sections > .rr-rail { border-inline-start: 1px solid var(--rr-rule); padding-inline-start: 16px; }
.rr-home-sections .rr-video { border-top: 3px solid var(--rr-green); }
.rr-home-sections .rr-ad-rail { border-top: 3px solid var(--rr-saffron); }
@media (max-width: 780px) {
    .rr-top-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 999px) {
    .rr-home-sections > .rr-rail { border-inline-start: 0; padding-inline-start: 0; }
}

.rr-photos { margin-top: clamp(36px, 6vw, 78px); padding-top: 22px; border-top: 3px solid var(--rr-saffron); }
.rr-photos h2 { font-size: clamp(26px, 3.25vw, 44px); color: var(--rr-navy); }
.rr-photo-topics { display: flex; flex-wrap: wrap; gap: 5px 22px; padding: 8px 0 12px; border-bottom: 1px solid var(--rr-rule); margin-bottom: 17px; }
.rr-photo-topics a, .rr-photo-topics button { padding: 4px 0; border: 0; background: none; color: var(--rr-ink); text-decoration: none; font: inherit; cursor: pointer; }
.rr-photo-topics [aria-current], .rr-photo-topics [aria-pressed="true"] { color: var(--rr-green); font-weight: 800; box-shadow: 0 2px 0 var(--rr-green); }
.rr-photo-topics a:hover, .rr-photo-topics button:hover { color: var(--rr-green); text-decoration: underline; }
.rr-photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.rr-photo-card a { display: block; color: inherit; text-decoration: none; }
.rr-photo-card a:hover h3 { text-decoration: underline; }
.rr-photo-card h3 { font-size: clamp(15px, 1.38vw, 19px); line-height: 1.45; }
.rr-photo-visual { position: relative; margin-bottom: 9px; background: #edf0eb; }
.rr-photo-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.rr-photo-category { color: var(--rr-green); font-size: .82rem; font-weight: 800; margin-bottom: 3px; }
.rr-photo-icon { position: absolute; inset: auto auto 8px 8px; width: 29px; height: 29px; border-radius: 50%; background: var(--rr-green); }
.rr-photo-icon::before { content: ""; position: absolute; inset: 7px 5px; border: 2px solid #fff; border-radius: 3px; }
.rr-photo-icon::after { content: ""; position: absolute; inset: 12px 8px 10px; background: #fff; clip-path: polygon(0 100%, 35% 38%, 56% 65%, 73% 10%, 100% 100%); }
.rr-photo-more { text-align: center; margin-top: 24px; }
.rr-photo-more a { display: inline-block; padding: 9px 17px; background: var(--rr-navy); color: #fff; text-decoration: none; font-weight: 800; }
.rr-photo-more a:hover { background: var(--rr-green); }
.rr-photo-more span { margin-inline-start: 8px; }
@media (max-width: 950px) { .rr-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rr-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sponsor creatives stay inside their sidebar while the news column scrolls. */
.rr-ad-stage { display: grid; align-items: start; }
.rr-ad-stage .rr-widget { margin: 0; }
.rr-ad-stage img { width: 100%; height: auto; max-height: min(430px, 54vh); object-fit: contain; }
.rr-ad-stage + .rr-widget { margin-top: 16px; }
.rr-preview-ad[data-rr-sample-ad] { min-height: 150px; margin: 0; padding: 14px; display: grid; place-items: center; border: 1px dashed var(--rr-rule); text-align: center; color: var(--rr-navy); }
@media (min-width: 1000px) {
    .rr-rail { display: flex; flex-direction: column; }
    .rr-rail > * { flex-shrink: 0; }
    .rr-ad-rail { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; }
}

.rr-preview-ad--1 { background: #eaf3ec; }
.rr-preview-ad--2 { background: #fff0da; }
.rr-preview-ad--3 { background: #e9eef8; }

.rr-conditions > .rr-wrap { justify-content: space-between; align-items: center; gap: 5px 14px; }
.rr-conditions-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; }
.rr-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rr-socials-label { margin-inline-end: 4px; font-size: .79rem; font-weight: 750; }
.rr-socials .rr-social-link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 5px; background: var(--rr-navy); color: #fff; text-decoration: none; }
.rr-socials .rr-social-link:hover { background: var(--rr-green); }
.rr-footer .rr-social-link { border: 1px solid #ffffff56; }
.rr-footer .rr-social-link:focus-visible { outline-color: #fff; }
.rr-footer-brand--image { display: block; background: #fff; padding: 4px; border-radius: 3px; }
.rr-footer-brand--image img { width: clamp(150px, 22vw, 225px); height: auto; }

.rr-floating-epaper {
    position: fixed;
    inset-inline-end: max(16px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    border: 1px solid #ffffffb5;
    border-radius: 999px;
    padding-inline: 16px;
    box-shadow: 0 4px 15px #131f3d38;
}
.rr-floating-epaper:hover { background: var(--rr-navy); }
.rr-footer-legal { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; border-top: 1px solid #ffffff38; padding-top: 13px; }
.rr-footer-inner { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
.rr-privacy-link { color: #fff; font-size: .85rem; }
.rr-privacy-link:focus-visible { outline-color: #fff; }
.rr-rail-stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rr-rail-stack > * { flex-shrink: 0; }
.rr-preview-privacy { display: none; flex: 1 0 100%; color: #fff; font-size: .85rem; }
.rr-preview-privacy:target { display: block; }
@media (min-width: 1000px) {
    .rr-rail-stack { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; }
    .rr-rail-stack .rr-ad-rail { position: static; max-height: none; overflow: visible; }
    .rr-rail-stack .rr-ad-stage img { max-height: min(330px, 42vh); }
}

/* Keep the category links and the desktop rail clear of one another. */
:root { --rr-nav-height: 56px; }
html { scroll-padding-top: var(--rr-nav-height); }
body { --rr-admin-offset: 0px; }
body.admin-bar { --rr-admin-offset: 32px; }
.rr-nav--sticky {
    position: sticky;
    top: var(--rr-admin-offset);
    z-index: 25;
    block-size: var(--rr-nav-height);
    display: grid;
    align-items: center;
}
.rr-nav--sticky > .rr-wrap { min-width: 0; width: 100%; }
.rr-search[open] { z-index: 35; }
@media (max-width: 782px) { body.admin-bar { --rr-admin-offset: 46px; } }
@media (max-width: 600px) { body.admin-bar { --rr-admin-offset: 0px; } }
@media (min-width: 1000px) {
    .rr-rail-stack, .rr-rail > .rr-ad-rail {
        top: calc(var(--rr-admin-offset) + var(--rr-nav-height) + 14px);
        max-height: calc(100vh - var(--rr-admin-offset) - var(--rr-nav-height) - 28px);
    }
}

.rr-search > summary { display: grid; place-items: center; width: 36px; min-height: 36px; padding: 0; }
.rr-floating-epaper { min-height: 34px; padding: 4px 10px; font-size: .76rem; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.rr-footer-inner { min-height: 0; padding-block: 13px calc(48px + env(safe-area-inset-bottom, 0px)); gap: 10px 18px; }
.rr-footer .rr-social-link { width: 26px; height: 26px; }
.rr-footer .rr-social-link svg { width: 15px; height: 15px; }
.rr-footer-legal { padding-top: 8px; }
.rr-footer-legal-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 15px; }
.rr-contact-content { display: grid; gap: 15px; }
#rr-preview-contact { display: none; }
#rr-preview-contact:target { display: block; }
body:has(#rr-preview-contact:target) > #main { display: none; }

/* Use one thumbnail shape across the newsroom. Keep article photos uncropped. */
.rr-media, .rr-photo-visual, .rr-feature-story, .rr-card-body { min-width: 0; }
.rr-media img, .rr-photo-visual img, .rr-feature-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.rr-article-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}
.rr-reading, .rr-content, .rr-content figure, .rr-contact-content { min-width: 0; }
.rr-content :is(img, video, iframe, figure) { max-width: 100%; }
.rr-content :is(img, video) { height: auto; }
.rr-ticker ul, .rr-top-secondary, .rr-ticker li > a { min-width: 0; }
.rr-ticker img { flex-shrink: 0; }
.rr-ticker a span { overflow-wrap: anywhere; }
.rr-top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rr-top-grid--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 780px) {
    .rr-top-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 660px) {
    .rr-main { padding-block: 16px 36px; }
    .rr-masthead { min-height: 0; padding-block: 12px; gap: 8px; }
    .rr-brand--image { flex: 0 1 auto; }
    .rr-brand--image img, .custom-logo { max-width: min(190px, 50vw); }
    .rr-masthead .rr-actions { min-width: 0; flex: 0 0 auto; flex-wrap: nowrap; }
    .rr-masthead .rr-search > summary { min-height: 44px; }
    .rr-masthead .rr-search > summary { width: 44px; }
    .rr-conditions > .rr-wrap { padding-block: 6px; }
    .rr-conditions-info { flex: 1 1 12rem; }
    .rr-conditions .rr-socials { margin-inline-start: auto; }
    .rr-menu { gap: 13px; }
    .rr-menu a { min-height: 44px; }
    .rr-card--story { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .rr-card--story h3 { font-size: clamp(1.15rem, 5vw, 1.4rem); }
    .rr-card--story p { margin-top: 7px; }
    .rr-grid .rr-media img, .rr-card--story .rr-media img { aspect-ratio: 16 / 9; }
    .rr-feature-story--lead h3 { font-size: clamp(1.3rem, 5.6vw, 1.75rem); }
    .rr-feature-story--secondary h3, .rr-feature-story--brief h3, .rr-photo-card h3 { font-size: .94rem; line-height: 1.4; }
    .rr-article-image { margin-block: 15px; }
    .rr-content :is(.alignleft, .alignright) { float: none; margin-inline: 0; }
    .rr-footer-inner { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

.rr-meta { align-items: baseline; column-gap: 12px; row-gap: 4px; line-height: 1.5; }
.rr-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.rr-meta-item svg { flex: 0 0 15px; color: #526577; }
 .rr-meta-item a { display: inline; color: inherit; text-decoration: none; }
.rr-meta-item a:hover { text-decoration: underline; }
.rr-top-stories .rr-meta { color: #e2e9f5; }
.rr-top-stories .rr-meta-item svg { color: #e2e9f5; }
.rr-photo-card .rr-meta { font-size: .73rem; }
.rr-ticker-window { flex: 1 1 auto; min-width: 0; overflow: auto; }
.rr-ticker-track { display: flex; width: max-content; }
.rr-ticker-track ul { flex: none; width: max-content; overflow: visible; }
.rr-ticker-track img[hidden] { display: none; }
.rr-ticker--ready .rr-ticker-window { overflow: hidden; }
.rr-ticker--ready .rr-ticker-track { animation: rr-ticker-scroll var(--rr-ticker-duration, 35s) linear infinite; }
.rr-ticker-window:has(:focus-visible) { overflow-x: auto; }
.rr-ticker-window:has(:focus-visible) .rr-ticker-track { animation: none; }
.rr-ticker-window:has(:focus-visible) [aria-hidden="true"] { display: none; }
@keyframes rr-ticker-scroll { to { transform: translateX(calc(-1 * var(--rr-ticker-distance, 0px))); } }


.rr-ad-stage > :is(.rr-widget, .rr-preview-ad)[hidden] { display: none; }

.rr-epaper-preview { background: #f5f8f5; border: 1px solid var(--rr-rule); border-top: 3px solid var(--rr-saffron); padding: clamp(12px, 2vw, 20px); }
.rr-epaper-preview h2 { font-size: clamp(1.15rem, 3vw, 1.5rem); margin: 0 0 12px; }
.rr-pdf-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rr-pdf-actions :is(a, button) { display: inline-flex; align-items: center; min-height: 42px; padding: 5px 10px; color: var(--rr-green); background: #fff; border: 1px solid var(--rr-rule); border-radius: 4px; text-decoration: none; font: inherit; font-size: .85rem; cursor: pointer; }
.rr-pdf-actions [hidden] { display: none; }
.rr-pdf-actions button:disabled { opacity: .55; cursor: default; }
.rr-epaper-preview canvas { width: 100%; height: auto; display: block; margin-block: 10px; background: #fff; }
.rr-pdf-navigation { justify-content: center; font-size: .85rem; }
[data-rr-pdf-status]:empty { display: none; }
.rr-reading .addtoany_share_save_container, .rr-reading .a2a_kit:not(.rr-share) { display: none; }
.rr-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 14px; border-top: 1px solid var(--rr-rule); }
.rr-share a { display: inline-grid; place-items: center; width: 42px; height: 42px; color: var(--rr-navy); border: 1px solid var(--rr-rule); border-radius: 5px; text-decoration: none; }
.rr-share a:hover { color: #fff; background: var(--rr-navy); }
.rr-content .wp-block-file .wp-block-file__button { color: #fff; background: var(--rr-navy); }
.rr-comments label:not([for="wp-comment-cookies-consent"]) { display: block; font-weight: 700; }
.rr-comments textarea { display: block; width: 100%; max-width: 100%; min-height: 118px; height: 140px; padding: 9px; border: 1px solid var(--rr-rule); border-radius: 4px; }
.rr-comments input:not([type="checkbox"]):not([type="submit"]) { width: 100%; max-width: 440px; padding: 8px; border: 1px solid var(--rr-rule); }
.rr-comments .submit { padding: 7px 14px; color: #fff; background: var(--rr-green); border: 0; border-radius: 4px; cursor: pointer; }
#rr-preview-epaper { display: none; }
#rr-preview-epaper:target { display: block; }
body:has(#rr-preview-epaper:target) > #main { display: none; }

.rr-content .rr-epaper-superseded[hidden] { display: none; }
.rr-floating-links {
    position: fixed;
    inset-inline-end: max(16px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 7px;
}
.rr-floating-links .rr-floating-epaper { position: static; }
.rr-floating-home { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--rr-navy); border: 1px solid #ffffffb5; border-radius: 50%; box-shadow: 0 4px 15px #131f3d38; }
.rr-floating-home:hover { background: var(--rr-green); }
.rr-mobile-menu-toggle { display: none; }
@media (max-width: 760px) {
    .rr-mobile-menu-ready > .rr-wrap { display: flex; align-items: center; }
    .rr-mobile-menu-ready .rr-mobile-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; background: transparent; border: 1px solid #ffffff60; border-radius: 4px; cursor: pointer; }
    .rr-mobile-menu-ready .rr-mobile-menu-toggle:focus-visible { outline-color: #fff; }
    .rr-mobile-menu-ready .rr-menu {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        max-height: min(60vh, 440px);
        overflow: auto;
        padding: 5px clamp(14px, 3vw, 46px) 12px;
        background: var(--rr-navy);
        color: #fff;
        border-bottom: 3px solid var(--rr-saffron);
        box-shadow: 0 12px 20px #131f3d38;
        white-space: normal;
    }
    .rr-mobile-menu-ready .rr-mobile-menu-toggle[aria-expanded="true"] + .rr-menu { display: block; }
    .rr-mobile-menu-ready .rr-menu li + li { border-top: 1px solid #ffffff25; }
}

.rr-comment-disclosure > summary { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; background: var(--rr-green); color: #fff; border-radius: 4px; font-size: .9rem; font-weight: 750; cursor: pointer; list-style: none; }
.rr-comment-disclosure > summary::-webkit-details-marker { display: none; }
.rr-comment-disclosure .comment-respond { margin-top: 14px; }
@media (max-width: 999px) {
    .rr-post-ad-rail, .rr-post-ad-rail .rr-ad-rail { display: block; }
    .rr-post-ad-rail .rr-ad-rail { max-width: 520px; margin-inline: auto; }
}
