/*
 * Ranga Nepal: the public design.
 *
 * Built from the look the site has had since 2022 (a dark slate bar with the रंगनेपाल wordmark,
 * section names in the brand's pink-red, light blue panels, tinted bands) and tidied: a two-sided
 * banner, dates on stories, a numbered most-read list, a dark band for videos, a fuller footer.
 * Everything is prefixed rn-.
 */

:root {
    --rn-dark: #323b55;      /* header, footer, headlines */
    --rn-deep: #262d42;      /* the video band and the bottom of the footer */
    --rn-text: #5f6c8c;      /* running text; a shade darker than the old #697798 so it reads on white */
    --rn-red: #ea254d;       /* section names, buttons, links on hover */
    --rn-light: #f1f8ff;     /* panels, text on dark */
    --rn-band: #dbe3f5;      /* tinted bands */
    --rn-line: rgba(147, 171, 225, .32);
    --rn-shadow: 0 2px 6px rgba(50, 59, 85, .06), 0 10px 24px rgba(50, 59, 85, .08);
    --rn-gap: 14px;
    --rn-radius: 8px;
    --rn-font: Mukta, "Noto Sans Devanagari", system-ui, sans-serif;
}

/* ---------------------------------------------------------------- base */

body.rn {
    margin: 0;
    padding-top: 72px;                 /* room for the fixed header */
    background: #fff;
    color: var(--rn-text);
    font-family: var(--rn-font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.rn h1, .rn h2, .rn h3, .rn h4 { margin: 0; font-family: var(--rn-font); font-weight: 600; color: var(--rn-dark); }
.rn a { color: inherit; text-decoration: none; }
.rn a:hover { text-decoration: none; }
.rn :focus-visible { outline: 3px solid var(--rn-red); outline-offset: 2px; border-radius: 3px; }

.rn-wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 17px; box-sizing: border-box; }
.rn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rn-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; padding: 8px 14px; border-radius: var(--rn-radius); background: var(--rn-red); color: #fff !important; }
.rn-skip:focus { left: 8px; }
.rn-page { padding: 34px 0 10px; min-height: 55vh; }

.rn-btn { display: inline-block; padding: 9px 20px; border-radius: var(--rn-radius); background: var(--rn-red); color: #fff !important; font-weight: 600; }
.rn-btn:hover { background: #d11a40; }

/* ---------------------------------------------------------------- header */

.rn-header { position: fixed; inset: 0 0 auto 0; z-index: 990; background: var(--rn-dark); border-bottom: 3px solid var(--rn-red); box-shadow: 0 4px 14px rgba(30, 36, 54, .22); }
.rn-nav { display: flex; align-items: center; gap: 26px; min-height: 69px; }

/* The logo: the site's own image, drawn on the same slate as the bar. */
.rn-logo { flex: none; display: block; }
.rn-logo img { display: block; width: auto; height: 56px; }

.rn-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; }
.rn-menu ul { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0; padding: 0; list-style: none; }
.rn-menu ul a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--rn-light); font-size: 19px; font-weight: 600; line-height: 1.6; white-space: nowrap; transition: background-color .15s ease; }
.rn-menu ul a:hover { background: rgba(241, 248, 255, .1); color: #fff; }
.rn-menu ul a.is-active { background: var(--rn-red); color: #fff; }

.rn-search { flex: none; display: flex; }
.rn-search input { width: 170px; height: 36px; padding: 0 12px; border: 0; border-radius: 6px 0 0 6px; background: var(--rn-light); color: var(--rn-dark); font: 15px var(--rn-font); box-sizing: border-box; }
.rn-search button { display: grid; place-items: center; width: 40px; height: 36px; padding: 0; border: 0; border-radius: 0 6px 6px 0; background: var(--rn-red); color: var(--rn-light); cursor: pointer; }
.rn-search button:hover { background: #d11a40; }

.rn-toggle { display: none; margin-left: auto; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #fff; cursor: pointer; }

/* ---------------------------------------------------------------- section names */

.rn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--rn-line); }
.rn .rn-title { font-size: 25px; line-height: 1.5; }
.rn-title a, .rn-title span { position: relative; display: inline-block; padding-bottom: 8px; color: var(--rn-red); }
.rn-title a::after, .rn-title span::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; border-radius: 3px 3px 0 0; background: var(--rn-red); }
.rn-title a:hover { color: var(--rn-dark); }
.rn-more { flex: none; margin-bottom: 9px; font-size: 15px; font-weight: 600; color: var(--rn-text) !important; }
.rn-more::after { content: " \203A"; }
.rn-more:hover { color: var(--rn-red) !important; }
.rn .rn-title--page { margin-bottom: 24px; border-bottom: 1px solid var(--rn-line); font-size: 32px; }

/* ---------------------------------------------------------------- stories */

.rn-grid { display: grid; gap: var(--rn-gap); }
.rn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rn-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.rn-card { display: flex; flex-direction: column; min-width: 0; }
.rn-card__img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--rn-radius); background: var(--rn-band); }
/* A story without a picture shows the wordmark's first word instead of an empty box. */
.rn-card__img::before, .rn-tile::before { content: "रंग"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(95, 108, 140, .4); font: 700 30px var(--rn-font); }
.rn-card__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rn-card:hover .rn-card__img img { transform: scale(1.05); }
.rn-card__img--frame { aspect-ratio: 4 / 5; border: 3px solid #fff; box-shadow: var(--rn-shadow); box-sizing: border-box; }
.rn-card__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(234, 37, 77, .94); box-shadow: 0 0 0 6px rgba(255, 255, 255, .22); transition: transform .2s ease; }
.rn-card__play::after { content: ""; position: absolute; left: 22px; top: 16px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #fff; }
.rn-card:hover .rn-card__play { transform: scale(1.1); }

.rn-card__body { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.rn .rn-card__title { font-size: 21px; line-height: 1.5; }
.rn-card__title a { color: var(--rn-dark); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rn-card__title a:hover { color: var(--rn-red); }
.rn-card__date { font-size: 14px; color: var(--rn-text); }

/* Picture above a headline on a light panel. */
.rn-card--box { background: var(--rn-light); border-radius: var(--rn-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.rn-card--box:hover { transform: translateY(-3px); box-shadow: var(--rn-shadow); }
.rn-card--box .rn-card__img { aspect-ratio: 16 / 10; border-radius: 0; }
.rn-card--box .rn-card__body { flex: 1; padding: 12px 14px 14px; }
.rn-card--box .rn-card__date { margin-top: auto; padding-top: 4px; }

/* Small picture on the left, headline on a light panel. */
.rn-card--row { flex-direction: row; min-height: 92px; overflow: hidden; border-radius: var(--rn-radius); background: var(--rn-light); transition: box-shadow .2s ease; }
.rn-card--row:hover { box-shadow: var(--rn-shadow); }
.rn-card--row .rn-card__img { flex: 0 0 112px; aspect-ratio: auto; border-radius: 0; }
.rn-card--row .rn-card__img::before { font-size: 18px; }
.rn-card--row .rn-card__body { flex: 1; min-width: 0; justify-content: center; padding: 10px 14px; }
.rn .rn-card--row .rn-card__title { font-size: 18px; line-height: 1.5; }
.rn-card--row .rn-card__title a { -webkit-line-clamp: 2; }
.rn-rows { display: grid; gap: var(--rn-gap); }

/* The picture fills the tile; the headline sits on it over a dark fade. */
.rn-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 224px); gap: var(--rn-gap); }
.rn-tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--rn-radius); background: var(--rn-dark); }
.rn-tile--big { grid-column: span 2; grid-row: span 2; }
.rn-tile::before { color: rgba(241, 248, 255, .2); font-size: 34px; }
.rn-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rn-tile:hover img { transform: scale(1.05); }
.rn-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(38, 45, 66, .96) 0%, rgba(38, 45, 66, .55) 45%, rgba(38, 45, 66, .08) 100%); }
.rn-tile__text { position: relative; z-index: 1; display: block; padding: 0 16px 12px; }
.rn .rn-tile h3 { color: #fff; font-size: 21px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rn .rn-tile--big h3 { font-size: 36px; }
.rn-tile--big .rn-tile__text { padding: 0 22px 18px; }

/* The most-read list: big red numbers. */
.rn-rank { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.rn-rank li { counter-increment: rank; position: relative; min-height: 58px; padding: 10px 0 10px 54px; border-bottom: 1px solid var(--rn-line); }
.rn-rank li:first-child { padding-top: 0; }
.rn-rank li:last-child { border-bottom: 0; }
.rn-rank li::before { content: counter(rank, devanagari); position: absolute; left: 0; top: 6px; width: 42px; color: var(--rn-red); font-size: 40px; font-weight: 700; line-height: 1.2; text-align: center; }
.rn-rank li:first-child::before { top: -4px; }
.rn-rank a { display: block; color: var(--rn-dark); font-size: 18px; font-weight: 600; line-height: 1.5; }
.rn-rank a:hover { color: var(--rn-red); }
.rn-rank small { font-size: 14px; }

/* ---------------------------------------------------------------- homepage blocks */

.rn-banner { padding-top: 30px; }
.rn-banner__box { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 34px; padding: 18px; border: 1px solid var(--rn-line); border-radius: 12px; background: linear-gradient(135deg, #fff 40%, var(--rn-light)); }
.rn-banner__img { display: block; overflow: hidden; border-radius: var(--rn-radius); background: var(--rn-band); }
.rn-banner__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.rn-banner__box:hover .rn-banner__img img { transform: scale(1.03); }
.rn-banner__text { display: flex; flex-direction: column; gap: 12px; padding-right: 10px; }
.rn .rn-banner__title { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.4; }
.rn-banner__title a:hover { color: var(--rn-red); }
.rn-banner__sum { margin: 0; font-size: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Without a picture the banner is the old centred headline. */
.rn-banner__box--text { grid-template-columns: 1fr; padding: 34px 24px; text-align: center; }
.rn-banner__box--text .rn-banner__text { align-items: center; padding: 0; }
.rn .rn-banner__box--text .rn-banner__title { max-width: 1000px; font-size: clamp(30px, 4.2vw, 54px); }
.rn-banner__box--text .rn-banner__sum { max-width: 860px; }

.rn-main { padding: 40px 0 46px; }
.rn-band { margin-top: 44px; padding: 28px 0 34px; background: var(--rn-band); }
.rn-band .rn-head { border-bottom-color: rgba(95, 108, 140, .3); }
.rn-plain, .rn-pair, .rn-thirds { margin-top: 44px; }
.rn-main + .rn-wrap + .rn-band { margin-top: 0; }
.rn-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.rn-thirds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; }

/* Videos sit on the dark band. */
.rn-video { margin-top: 50px; padding: 34px 0 44px; background: var(--rn-deep); }
.rn-video .rn-head { border-bottom-color: rgba(241, 248, 255, .16); }
.rn-video .rn-more { color: #c5cfe6 !important; }
.rn-video .rn-more:hover { color: #fff !important; }
.rn-video .rn-card__img { aspect-ratio: 16 / 10; background: #3a4463; }
.rn-video .rn-card__img::before { color: rgba(241, 248, 255, .18); }
.rn-video .rn-card__title a { color: var(--rn-light); }
.rn-video .rn-card__title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rn-red); }
.rn-video + .rn-wrap + .rn-footer, .rn-video + .rn-wrap:empty { margin-top: 0; }

/* Advertisement slots. An empty slot prints nothing, so these only apply while an advertisement runs. */
.rn .hp-ad { margin: 26px auto 0; text-align: center; line-height: 0; }
.rn .hp-ad::before { content: "विज्ञापन"; display: block; margin-bottom: 4px; color: var(--rn-text); font-size: 12px; line-height: 1.4; letter-spacing: .06em; opacity: .75; }
.rn .hp-ad img { max-width: 100%; height: auto; border-radius: 6px; }
.rn .hp-ad a { display: inline-block; max-width: 100%; }
.rn-pair .hp-ad, .rn-thirds .hp-ad { margin-top: 18px; }
.rn-story__body .hp-ad { margin: 6px auto 22px; }
.rn-story__side .hp-ad { margin: 0 auto 22px; }
.rn-story__side .rn-rows + .hp-ad { margin-top: 22px; }
/* "Desktop only" and "Mobile only" advertisements: the page is the same for everyone, so the screen decides. */
@media (max-width: 767.98px) { .rn .hp-ad--on-desktop { display: none; } }
@media (min-width: 768px) { .rn .hp-ad--on-mobile { display: none; } }

/* ---------------------------------------------------------------- listing pages */

.rn-listing .rn-grid { row-gap: 22px; }
.rn-listing form { margin: 0 0 24px; }
.rn-listing input[type="search"] { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: var(--rn-light); color: var(--rn-dark); font: 17px var(--rn-font); box-sizing: border-box; }
.rn-empty { padding: 50px 0; text-align: center; }

.rn .uk-pagination { gap: 6px; margin: 34px 0 0; padding: 0; }
.rn .uk-pagination > * { padding: 0; }
.rn .uk-pagination .page-link { display: block; min-width: 40px; padding: 7px 12px; border-radius: 6px; background: var(--rn-light); color: var(--rn-dark); font-weight: 600; text-align: center; box-sizing: border-box; }
.rn .uk-pagination .page-link:hover, .rn .uk-pagination .uk-active .page-link { background: var(--rn-red); color: #fff; }
.rn .uk-section { padding: 0; }

/* ---------------------------------------------------------------- a story */

.rn-story__head { max-width: 1000px; margin: 0 auto 26px; text-align: center; }
.rn-story__kicker { margin: 0 0 6px; color: var(--rn-red); font-weight: 600; }
.rn .rn-story__head h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.45; }
.rn-story__sub { margin: 8px 0 0; font-size: 21px; }
.rn-story__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin-top: 16px; padding: 10px 0; border-top: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); font-size: 16px; }
.rn-story__by { color: var(--rn-dark); font-weight: 600; }
.rn-share { display: inline-flex; gap: 6px; }
.rn-share a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rn-dark); color: #fff; transition: background-color .15s ease; }
.rn-share a:hover { background: var(--rn-red); color: #fff; }

.rn-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.rn-story__cover { margin: 0 0 20px; }
.rn-story__cover img { display: block; width: 100%; height: auto; border-radius: var(--rn-radius); }
.rn-story__cover figcaption { margin-top: 6px; font-size: 15px; text-align: right; font-style: italic; }
.rn-story__video { margin-bottom: 20px; }

.rn-story__body { color: #39425c; font-size: 20px; line-height: 1.85; overflow-wrap: break-word; }
.rn-story__body p { margin: 0 0 1.1em; font-size: inherit; line-height: inherit; color: inherit; }
.rn-story__body h2, .rn-story__body h3 { margin: 1.3em 0 .5em; line-height: 1.5; }
.rn-story__body a { color: var(--rn-red); text-decoration: underline; }
.rn-story__body img { max-width: 100%; height: auto; border-radius: var(--rn-radius); }
.rn-story__body figure { margin: 0 0 1.1em; }
.rn-story__body figcaption { font-size: 15px; font-style: italic; color: var(--rn-text); }
.rn-story__body iframe { max-width: 100%; border-radius: var(--rn-radius); }
.rn-story__body blockquote { margin: 0 0 1.1em; padding: 14px 20px; border-left: 4px solid var(--rn-red); border-radius: 0 var(--rn-radius) var(--rn-radius) 0; background: var(--rn-light); }

.rn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.rn-tags a { display: block; padding: 4px 12px; border-radius: 999px; background: var(--rn-light); color: var(--rn-dark); font-size: 15px; font-weight: 600; }
.rn-tags a:hover { background: var(--rn-red); color: #fff; }
.rn-story__related { margin-top: 40px; }
.rn-story__side { position: sticky; top: 96px; }
.rn-story .pc { margin-top: 34px; }

/* A page such as "About": one readable column. */
.rn-doc { max-width: 860px; margin: 0 auto; }
.rn .rn-doc h1 { margin-bottom: 20px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.45; text-align: center; }

/* ---------------------------------------------------------------- footer */

/* Three parts on the dark band (address and contact, sections, team), then a light strip. */
.rn-footer { margin-top: 60px; background: var(--rn-dark); color: #dfe6f5; font-size: 17px; }
.rn-video + .rn-wrap + .rn-footer { margin-top: 0; }
.rn-footer__grid { display: grid; grid-template-columns: 1.15fr 1.4fr .9fr; gap: 50px; padding-top: 44px; padding-bottom: 40px; }
.rn-footer p { margin: 0 0 12px; }
.rn-footer a { color: #dfe6f5; }
.rn-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rn-red); }
.rn-footer strong { color: #fff; font-weight: 600; }

.rn-footer .rn-logo { display: inline-block; margin-bottom: 10px; }
.rn-footer .rn-logo img { height: 64px; }
.rn-footer__address { color: #fff; font-size: 19px; font-weight: 700; }
.rn-footer__reach { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.rn-footer__reach li { display: flex; align-items: center; gap: 14px; }
.rn-footer__reach svg { flex: none; color: #fff; }
.rn-footer__social { display: flex; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.rn-footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(241, 248, 255, .1); color: #fff; }
.rn-footer__social a:hover { background: var(--rn-red); text-decoration: none; }

.rn .rn-footer h3 { margin-bottom: 18px; color: #fff; font-size: 21px; font-weight: 700; letter-spacing: .01em; }
/* The sections run down in columns, as many as fit. */
.rn-footer__links { margin: 0; padding: 0; list-style: none; columns: 3; column-gap: 26px; }
.rn-footer__links li { break-inside: avoid; padding-bottom: 12px; }
.rn-footer__btn { display: inline-block; margin-top: 8px; padding: 9px 30px; border: 1px solid #fff; color: #fff !important; font-size: 15px; letter-spacing: .04em; transition: background-color .15s ease, color .15s ease; }
.rn-footer__btn:hover { background: #fff; color: var(--rn-dark) !important; text-decoration: none !important; }

/* The light strip: pages on the left, copyright in the middle, credit on the right. */
.rn-footer__strip { background: #fff; color: var(--rn-text); font-size: 16px; }
.rn-footer__strip .rn-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.rn-footer__strip ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.rn-footer__strip li { padding: 0 12px; border-right: 1px solid var(--rn-line); }
.rn-footer__strip li:first-child { padding-left: 0; }
.rn-footer__strip a { color: var(--rn-dark); }
.rn-footer__strip a:hover { color: var(--rn-red); text-decoration: none; }
.rn-footer__strip span a { margin-left: 4px; color: #1f6feb; font-size: 14px; }

.rn-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--rn-red); color: #fff !important; box-shadow: 0 6px 16px rgba(30, 36, 54, .3); }

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 1180px) {
    .rn-logo img { height: 48px; }
    .rn-nav { gap: 16px; }
    .rn-menu ul a { padding: 6px 7px; font-size: 17.5px; }
    .rn-search input { width: 120px; }
    .rn .rn-tile--big h3 { font-size: 30px; }
}

@media (max-width: 960px) {
    body.rn { padding-top: 63px; }
    .rn-nav { min-height: 60px; }
    .rn-logo img { height: 46px; }
    .rn-toggle { display: block; }
    .rn-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; max-height: calc(100vh - 63px); overflow-y: auto; padding: 10px 17px 18px; background: var(--rn-dark); box-shadow: 0 10px 18px rgba(30, 36, 54, .3); }
    .rn-menu-open .rn-menu { display: flex; }
    .rn-menu ul { flex-direction: column; gap: 2px; }
    .rn-menu ul a { padding: 9px 12px; }
    .rn-search input { flex: 1; width: auto; height: 42px; }
    .rn-search button { width: 46px; height: 42px; }

    .rn-banner__box { grid-template-columns: 1fr; gap: 16px; }
    .rn-banner__text { padding: 0 4px 6px; }
    .rn-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
    .rn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 200px; }
    .rn-tile--big { grid-row: span 1; min-height: 300px; }
    .rn-pair, .rn-thirds { grid-template-columns: 1fr; gap: 40px; }
    .rn-story__grid { grid-template-columns: 1fr; }
    .rn-story__side { position: static; }
    .rn-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .rn-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body.rn { font-size: 16px; }
    .rn-wrap { padding: 0 12px; }
    .rn-banner { padding-top: 16px; }
    .rn-banner__box { padding: 10px; }
    .rn-banner__sum { font-size: 16px; }
    .rn-main { padding: 26px 0 30px; }
    .rn .rn-card__title { font-size: 17.5px; }
    .rn-card--box .rn-card__body { padding: 10px; }
    .rn .rn-card--row .rn-card__title { font-size: 17px; }
    .rn .rn-title { font-size: 23px; }
    .rn-tiles { grid-template-columns: 1fr; grid-auto-rows: 190px; }
    .rn-tile--big { grid-column: span 1; min-height: 240px; }
    .rn .rn-tile h3, .rn .rn-tile--big h3 { font-size: 21px; }
    .rn-tile--big .rn-tile__text { padding: 0 16px 12px; }
    .rn-story__body { font-size: 18px; }
    .rn-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
    .rn-footer__links { columns: 2; }
    .rn-footer__strip .rn-wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .rn-card__img img, .rn-tile img, .rn-banner__img img, .rn-card--box, .rn-card__play { transition: none; }
}
