/*
Theme Name: RiseStories
Theme URI: https://example.com/risestories
Author: RiseStories
Description: A premium editorial magazine theme for inspiring stories of entrepreneurs, founders, CEOs, innovators, social leaders and changemakers. Bento-style lead stories, topic circles, Leader of the Week spotlight, quote band, most-read lists, load-more, dark mode, reading progress, "At a glance" profile cards, plugin-free story submission / contact / newsletter forms, built-in SEO and schema, and a floating WhatsApp button that never reveals the phone number.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
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: risestories
Tags: blog, news, magazine, entertainment, two-columns, right-sidebar, custom-logo, custom-menu, custom-colors, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles
*/

/* ==========================================================================
   Fonts (self-hosted, latin subset)
   ========================================================================== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fraunces-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url(assets/fonts/fraunces-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/newsreader-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/newsreader-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/newsreader-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/inter-latin-700-normal.woff2) format("woff2"); }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--rs-brand: #0B7A5C;
	--rs-gold: #E8B23A;
	--rs-ink: #0E1726;

	--paper: #FBF8F3;
	--surface: #FFFFFF;
	--tint: #F3EEE5;
	--ink: var(--rs-ink);
	--ink-2: #334155;
	--muted: #5B6474;
	--line: #E6DFD3;
	--brand: var(--rs-brand);
	--brand-ink: color-mix(in srgb, var(--rs-brand) 78%, #000);
	--brand-soft: color-mix(in srgb, var(--rs-brand) 10%, var(--surface));
	--gold: var(--rs-gold);
	--band: #0E1726;
	--band-ink: #F4F1EA;
	--band-muted: #B7C0CE;
	--wa: #1C9E4D;
	--wa-dark: #0F7A3B;

	--f-display: "Fraunces", Georgia, "Times New Roman", serif;
	--f-read: "Newsreader", Georgia, "Times New Roman", serif;
	--f-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow: 0 1px 2px rgb(14 23 38 / .06), 0 8px 24px -12px rgb(14 23 38 / .18);
	--shadow-lg: 0 24px 60px -24px rgb(14 23 38 / .35);
	--gutter: 20px;
	--wrap: 1240px;
	--header-h: 68px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--paper: #0B111C;
	--surface: #121A28;
	--tint: #0F1623;
	--ink: #EEF1F5;
	--ink-2: #CBD3DF;
	--muted: #98A3B5;
	--line: #243044;
	--brand: color-mix(in srgb, var(--rs-brand) 55%, #7CF0C8);
	--brand-ink: color-mix(in srgb, var(--rs-brand) 45%, #A7F5DA);
	--brand-soft: color-mix(in srgb, var(--rs-brand) 20%, var(--surface));
	--band: #060A12;
	--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 30px -14px rgb(0 0 0 / .7);
	color-scheme: dark;
}

@view-transition { navigation: auto; }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.6 var(--f-ui);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
svg:not([fill]) { fill: currentColor; }
.rs-icon { flex: none; vertical-align: middle; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--gold) 45%, transparent); }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000; background: var(--surface); color: var(--ink); padding: 12px 18px; border-radius: var(--r-sm); box-shadow: var(--shadow); }

.rs-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.rs-wrap--narrow { max-width: 860px; }
.rs-main { display: block; outline: 0; min-height: 50vh; }

/* ==========================================================================
   Atoms
   ========================================================================== */
.rs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 15px/1.2 var(--f-ui); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
	white-space: nowrap;
}
.rs-btn:hover { transform: translateY(-1px); }
.rs-btn--sm { padding: 9px 15px; font-size: 14px; }
.rs-btn--block { width: 100%; }
.rs-btn--primary { background: var(--rs-brand); color: #fff; }
.rs-btn--primary:hover { background: color-mix(in srgb, var(--rs-brand) 85%, #000); color: #fff; box-shadow: 0 8px 20px -8px var(--rs-brand); }
.rs-btn--gold { background: var(--gold); color: #1B1405; }
.rs-btn--gold:hover { background: color-mix(in srgb, var(--gold) 88%, #fff); color: #1B1405; }
.rs-btn--light { background: #fff; color: #0E1726; }
.rs-btn--light:hover { background: #F4F1EA; color: #0E1726; }
.rs-btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.rs-btn--outline:hover { background: var(--ink); color: var(--paper); }
.rs-btn--wa { background: var(--wa-dark); color: #fff; }
.rs-btn--wa:hover { background: #0B6630; color: #fff; }

.rs-iconbtn {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer;
	transition: background-color .15s ease;
}
.rs-iconbtn:hover { background: var(--tint); }

.rs-chip {
	--chip: var(--brand);
	display: inline-flex; align-items: center; gap: 6px;
	font: 700 11.5px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase;
	color: color-mix(in srgb, var(--chip) 82%, #000); text-decoration: none;
	position: relative; z-index: 2;
}
:root[data-theme="dark"] .rs-chip { color: color-mix(in srgb, var(--chip) 45%, #fff); }
.rs-chip::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--chip); transform: rotate(45deg); }
a.rs-chip:hover { text-decoration: underline; }
.rs-chip--ghost { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.rs-chip--ghost:hover { border-color: var(--chip); }

.rs-kicker { font: 700 12px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 8px; }
:root[data-theme="dark"] .rs-kicker { color: var(--brand); }
.rs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.rs-meta .rs-by { font-weight: 600; color: var(--ink-2); }
.rs-dot { opacity: .6; }
.rs-person { display: block; font-size: 14px; color: var(--ink-2); }
.rs-person strong { color: var(--ink); font-weight: 600; }

.rs-minihead { display: flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.rs-minihead .rs-icon { color: var(--brand); }

.rs-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.rs-box + .rs-box { margin-top: 20px; }
.rs-box p { color: var(--ink-2); font-size: 15px; }
.rs-box--ink { background: var(--band); border-color: var(--band); color: var(--band-ink); }
.rs-box--ink .rs-minihead { border-color: var(--gold); color: var(--band-ink); }
.rs-box--ink .rs-minihead .rs-icon { color: var(--gold); }
.rs-box--ink p { color: var(--band-muted); }
.rs-box--brand { background: var(--rs-brand); border-color: var(--rs-brand); color: #fff; }
.rs-box--brand .rs-minihead { border-color: rgb(255 255 255 / .5); color: #fff; }
.rs-box--brand .rs-minihead .rs-icon { color: var(--gold); }
.rs-box--brand p { color: rgb(255 255 255 / .88); }

/* ==========================================================================
   Top bar + ticker
   ========================================================================== */
.rs-topbar { background: var(--band); color: var(--band-ink); font-size: 13px; }
.rs-topbar__in { display: flex; align-items: center; gap: 20px; min-height: 38px; }
.rs-topbar__date { margin: 0; white-space: nowrap; color: var(--band-muted); font-weight: 500; }
.rs-ticker { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.rs-ticker__label { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: #1B1405; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.rs-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.rs-ticker__track { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; width: max-content; animation: rs-marquee 60s linear infinite; }
.rs-ticker:hover .rs-ticker__track, .rs-ticker:focus-within .rs-ticker__track { animation-play-state: paused; }
.rs-ticker__track li { white-space: nowrap; position: relative; }
.rs-ticker__track li::before { content: "◆"; position: absolute; left: -24px; color: var(--gold); font-size: 8px; top: 50%; transform: translateY(-50%); }
.rs-ticker__track a { color: var(--band-ink); text-decoration: none; }
.rs-ticker__track a:hover { color: var(--gold); text-decoration: underline; }
@keyframes rs-marquee { to { transform: translateX(-50%); } }
.rs-social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.rs-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; color: inherit; transition: background-color .15s, color .15s; }
.rs-social a:hover { background: rgb(255 255 255 / .1); color: var(--gold); }
.rs-social--top a { width: 28px; height: 28px; }

/* ==========================================================================
   Header
   ========================================================================== */
.rs-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.admin-bar .rs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rs-header { top: 0; } }
.rs-header__in { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.rs-header__menu { display: none; margin-left: -8px; }
.rs-brand { flex: none; display: flex; align-items: center; }
.rs-brand__link, .rs-brand .custom-logo-link { display: block; line-height: 0; }
.rs-header img.rs-logo, .rs-header img.custom-logo { height: 40px; width: auto; max-width: 220px; }
.rs-logo--dark { display: none; }
:root[data-theme="dark"] .rs-logo--light { display: none; }
:root[data-theme="dark"] .rs-logo--dark { display: block; }

.rs-nav { flex: 1; display: flex; justify-content: center; }
.rs-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.rs-nav__list > li { position: relative; }
.rs-nav__list a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.rs-nav__list a:hover, .rs-nav__list .current-menu-item > a, .rs-nav__list .current_page_item > a { background: var(--tint); color: var(--ink); }
.rs-nav__list .menu-item-has-children > a { padding-right: 28px; }
.rs-nav__list .menu-item-has-children > a::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: translateY(-70%) rotate(45deg); }
.rs-nav__list .sub-menu { position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 8px 0 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 60; }
.rs-nav__list .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.rs-nav__list li:hover > .sub-menu, .rs-nav__list li:focus-within > .sub-menu, .rs-nav__list li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rs-nav__list .sub-menu a { border-radius: var(--r-sm); font-weight: 500; }

.rs-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.rs-nav + .rs-header__actions { margin-left: 0; }
.rs-header__cta { margin-left: 8px; }
.rs-theme-toggle__sun { display: none; }
:root[data-theme="dark"] .rs-theme-toggle__sun { display: inline; }
:root[data-theme="dark"] .rs-theme-toggle__moon { display: none; }

.rs-topics { border-top: 1px solid var(--line); }
.rs-topics__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 6px 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 94%, transparent); }
.rs-topics__list::-webkit-scrollbar { display: none; }
.rs-topics__list a { display: block; white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.rs-topics__list a:hover, .rs-topics__list .current-menu-item > a, .rs-topics__list .current-cat > a { background: var(--ink); color: var(--paper); }

/* Search overlay */
.rs-search { position: fixed; inset: 0; z-index: 200; background: rgb(8 12 20 / .55); backdrop-filter: blur(6px); }
.rs-search__panel { background: var(--paper); padding: 56px 0 40px; box-shadow: var(--shadow-lg); animation: rs-drop .25s ease; }
.rs-search__panel .rs-wrap { position: relative; max-width: 860px; }
.rs-search__close { position: absolute; right: 12px; top: -36px; }
.rs-search__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
@keyframes rs-drop { from { transform: translateY(-20px); opacity: 0; } }

.rs-searchform { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; transition: border-color .15s; }
.rs-searchform:focus-within { border-color: var(--brand); }
.rs-searchform .rs-icon { color: var(--muted); }
.rs-searchform input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; font-size: 17px; outline: 0; }
.rs-search .rs-searchform input { font-size: 20px; }

/* Drawer */
.rs-drawer { position: fixed; inset: 0; z-index: 210; }
.rs-drawer__backdrop { position: absolute; inset: 0; background: rgb(8 12 20 / .55); }
.rs-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: var(--paper); padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; animation: rs-slide .25s ease; }
@keyframes rs-slide { from { transform: translateX(-100%); } }
.rs-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.rs-drawer__title { font: 700 20px var(--f-display); }
.rs-drawer__list { list-style: none; margin: 0; padding: 0; }
.rs-drawer__list a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.rs-drawer__list .sub-menu { list-style: none; padding-left: 14px; margin: 0; }
.rs-drawer__list .sub-menu a { font-weight: 500; color: var(--ink-2); }
.rs-drawer__list--topics a { font-weight: 500; }
.rs-drawer__label { margin: 18px 0 0; font: 700 12px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rs-drawer .rs-searchform input { font-size: 16px; }
html.rs-lock { overflow: hidden; }

/* Reading progress */
.rs-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 300; pointer-events: none; }
.rs-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--rs-brand), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.admin-bar .rs-progress { top: 32px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.rs-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rs-card__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--tint); }
.rs-card__media img, .rs-card__media .rs-art, .rs-art { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.rs-card:hover .rs-card__media img, .rs-card:hover .rs-card__media .rs-art { transform: scale(1.04); }
.rs-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rs-card__title { font-size: 1.3rem; margin: 0; line-height: 1.22; }
.rs-card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s ease; }
.rs-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rs-card:hover .rs-card__title a { background-size: 100% 1.5px; }
.rs-card__dek { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.rs-card .rs-meta, .rs-card .rs-person { position: relative; z-index: 2; }

.rs-card--lead { display: block; border-radius: var(--r-lg); overflow: hidden; color: #fff; min-height: 520px; height: 100%; isolation: isolate; }
.rs-card--lead .rs-card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.rs-card--lead .rs-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 10 18 / 0) 25%, rgb(6 10 18 / .55) 55%, rgb(6 10 18 / .92) 100%); }
.rs-card--lead .rs-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3.5vw, 40px); gap: 12px; }
.rs-card--lead .rs-card__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.08; }
.rs-card--lead .rs-card__title a, .rs-card--lead .rs-person strong { color: #fff; }
.rs-card--lead .rs-card__dek, .rs-card--lead .rs-person, .rs-card--lead .rs-meta, .rs-card--lead .rs-meta .rs-by { color: rgb(255 255 255 / .86); }
.rs-card--lead .rs-card__dek { font-size: 17px; max-width: 60ch; }
.rs-card--lead .rs-chip, .rs-card--tall .rs-chip { color: #fff; }
.rs-card--lead .rs-chip::before, .rs-card--tall .rs-chip::before { background: var(--gold); }

.rs-card--row { flex-direction: row; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rs-card--row:last-child { border-bottom: 0; }
.rs-card--row .rs-card__media { flex: none; width: 112px; aspect-ratio: 1; border-radius: var(--r-sm); }
.rs-card--row .rs-card__title { font-size: 1.08rem; }

.rs-card--mini { flex-direction: row; gap: 14px; align-items: flex-start; }
.rs-card__num { font: 600 italic 2rem/1 var(--f-display); color: var(--gold); min-width: 2.2ch; }
.rs-card--mini .rs-card__title { font-size: 1.02rem; line-height: 1.3; }
.rs-card--mini .rs-card__body { gap: 6px; }

.rs-card--text { padding: 20px 0; border-bottom: 1px solid var(--line); }

.rs-card--tall { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; isolation: isolate; }
.rs-card--tall .rs-card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.rs-card--tall .rs-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(6 10 18 / .9)); }
.rs-card--tall .rs-card__body { position: absolute; inset: auto 0 0; padding: 22px; }
.rs-card--tall .rs-card__title { font-size: 1.3rem; }
.rs-card--tall .rs-card__title a { color: #fff; }
.rs-card--tall .rs-meta { color: rgb(255 255 255 / .8); }

.rs-numlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rs-numlist > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rs-numlist > li:first-child { padding-top: 4px; }
.rs-numlist > li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ==========================================================================
   Grids & sections
   ========================================================================== */
.rs-grid { display: grid; gap: 32px 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .rs-grid--2, .rs-grid--3, .rs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .rs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.rs-section { padding: clamp(40px, 6vw, 72px) 0; }
.rs-section--tint { background: var(--tint); }
.rs-section + .rs-section:not(.rs-section--tint) { padding-top: 8px; }
.rs-section--tint + .rs-section { padding-top: clamp(40px, 6vw, 72px); }

.rs-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.rs-shead::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; background: var(--chip, var(--brand)); border-radius: 3px; }
.rs-shead .rs-kicker { color: color-mix(in srgb, var(--chip, var(--brand)) 80%, #000); }
:root[data-theme="dark"] .rs-shead .rs-kicker { color: color-mix(in srgb, var(--chip, var(--brand)) 45%, #fff); }
.rs-shead__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.rs-shead__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; transition: .15s; }
.rs-shead__more:hover { border-color: var(--ink); color: var(--ink); gap: 10px; }

/* Hero (bento) */
.rs-hero { padding: 28px 0 12px; }
.rs-hero__grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.rs-hero__feat { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); align-content: start; }
.rs-hero__feat .rs-card__title { font-size: 1.2rem; }
@media (min-width: 700px) {
	.rs-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rs-hero__lead { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.rs-hero__grid { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, .95fr); }
	.rs-hero__lead { grid-column: auto; }
	.rs-hero__lead .rs-card--lead { min-height: 580px; }
}

/* Topic circles */
.rs-circles { padding: 28px 0 8px; }
.rs-circles__list { display: flex; gap: 18px; list-style: none; margin: 0; padding: 4px 2px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rs-circles__list > li { scroll-snap-align: start; flex: none; }
.rs-circle { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 118px; text-align: center; text-decoration: none; color: var(--ink); }
.rs-circle__ring { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--chip), var(--gold), var(--chip)); transition: transform .2s; }
.rs-circle__icon { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--surface); border: 3px solid var(--paper); color: var(--chip); }
:root[data-theme="dark"] .rs-circle__icon { color: color-mix(in srgb, var(--chip) 50%, #fff); }
.rs-circle:hover .rs-circle__ring { transform: translateY(-3px) rotate(-6deg); }
.rs-circle__name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.rs-circle__count { font-size: 12px; color: var(--muted); margin-top: -4px; }
@media (min-width: 1100px) { .rs-circles__list { justify-content: space-between; } }

/* Picks */
.rs-picks .rs-card__title { font-size: 1.16rem; }

/* Spotlight */
.rs-spotlight { background: var(--band); color: var(--band-ink); padding: clamp(48px, 7vw, 88px) 0; margin: clamp(24px, 4vw, 48px) 0; position: relative; overflow: hidden; }
.rs-spotlight::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -200px; bottom: -380px; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 55%, transparent), transparent 70%); opacity: .5; pointer-events: none; }
.rs-spotlight__grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: center; position: relative; }
@media (min-width: 900px) { .rs-spotlight__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; } }
.rs-spotlight__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; max-width: 560px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .7); }
.rs-spotlight__media img, .rs-spotlight__media .rs-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-spotlight__badge { position: absolute; left: 16px; top: 16px; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: #1B1405; font: 700 12px var(--f-ui); letter-spacing: .06em; text-transform: uppercase; }
.rs-spotlight .rs-kicker { color: var(--gold); }
.rs-spotlight__name { font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; margin: 0 0 6px; line-height: 1.02; }
.rs-spotlight__role { color: var(--band-muted); font-size: 17px; margin: 0 0 24px; }
.rs-spotlight__quote { margin: 0 0 24px; padding: 0 0 0 22px; border-left: 3px solid var(--gold); }
.rs-spotlight__quote p { font: 600 italic clamp(1.25rem, 2.2vw, 1.6rem)/1.4 var(--f-display); color: #fff; margin: 0; }
.rs-spotlight__title { font: 500 17px/1.5 var(--f-ui); margin: 0 0 20px; }
.rs-spotlight__title a { color: var(--band-muted); }
.rs-spotlight__title a:hover { color: #fff; }
.rs-facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.rs-facts li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); font-size: 14px; }
.rs-facts .rs-icon { color: var(--gold); }

/* Split */
.rs-split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .rs-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; } }
.rs-split__main .rs-card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.rs-split__main .rs-card__dek { font-size: 16px; }

.rs-split--solo { grid-template-columns: minmax(0, 1fr) !important; max-width: 820px; }

/* Rail */
.rs-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rs-rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rs-rail { grid-auto-columns: minmax(250px, 44%); } }
@media (min-width: 1000px) { .rs-rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }

/* Quote band */
.rs-quote { padding: clamp(48px, 7vw, 88px) 0; background: var(--brand-soft); border-block: 1px solid var(--line); }
.rs-quote__in { position: relative; max-width: 1000px; text-align: center; }
.rs-quote__mark { display: block; font: 700 140px/0.7 var(--f-display); color: var(--gold); height: 60px; }
.rs-quote figure { margin: 0; }
.rs-quote blockquote { margin: 0 0 24px; }
.rs-quote blockquote p { font: 600 italic clamp(1.6rem, 3.4vw, 2.6rem)/1.3 var(--f-display); color: var(--ink); margin: 0; }
.rs-quote figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: 15px; color: var(--ink-2); }
.rs-quote figcaption strong { color: var(--ink); }
.rs-quote figcaption a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* With sidebar */
.rs-withside { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .rs-withside { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.rs-mostread { align-self: start; }

/* Newsletter band */
.rs-newsletter { padding: clamp(40px, 6vw, 64px) 0; }
.rs-newsletter__in { display: grid; gap: 24px; align-items: center; grid-template-columns: minmax(0, 1fr); background: var(--rs-brand); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px); position: relative; overflow: hidden; }
.rs-newsletter__in::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgb(255 255 255 / .06); pointer-events: none; }
@media (min-width: 900px) { .rs-newsletter__in { grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; } }
.rs-newsletter__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgb(255 255 255 / .12); color: var(--gold); }
.rs-newsletter h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.rs-newsletter .rs-kicker { color: var(--gold); }
.rs-newsletter p { margin: 0; color: rgb(255 255 255 / .88); }
.rs-nl-form form { display: flex; gap: 8px; flex-wrap: wrap; }
.rs-nl-form input[type="email"] { flex: 1 1 200px; min-width: 0; padding: 13px 18px; border-radius: 999px; border: 1.5px solid transparent; background: #fff; color: #0E1726; }
.rs-nl-form input[type="email"]:focus { outline: 3px solid var(--gold); }
.rs-nl-form--sidebar input[type="email"], .rs-nl-form--footer input[type="email"] { border-color: rgb(255 255 255 / .2); background: rgb(255 255 255 / .08); color: #fff; }
.rs-nl-form--sidebar input::placeholder, .rs-nl-form--footer input::placeholder { color: rgb(255 255 255 / .6); }
.rs-newsletter .rs-notice { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .2); }

/* Load more */
.rs-loadmore { display: flex; justify-content: center; margin-top: 40px; }

/* CTA */
.rs-cta { padding: 0 0 clamp(48px, 7vw, 88px); }
.rs-cta__box { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--rs-brand) 60%, var(--band)) 0%, var(--band) 60%); color: var(--band-ink); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .rs-cta__box { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.rs-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.rs-cta p { color: var(--band-muted); margin: 0; }
.rs-cta .rs-kicker { color: var(--gold); }
.rs-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .rs-cta__actions { justify-content: flex-end; } }

/* ==========================================================================
   Article
   ========================================================================== */
.rs-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 20px; padding: 0; font-size: 13px; color: var(--muted); }
.rs-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.rs-crumbs a { color: var(--ink-2); text-decoration: none; }
.rs-crumbs a:hover { text-decoration: underline; }

.rs-article__head { padding: clamp(28px, 5vw, 56px) 0 28px; text-align: center; }
.rs-article__head .rs-crumbs ol { justify-content: center; }
.rs-article__title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.07; margin: 14px 0 16px; letter-spacing: -.02em; }
.rs-article__dek { font: 400 clamp(1.15rem, 2vw, 1.4rem)/1.5 var(--f-read); color: var(--ink-2); max-width: 720px; margin: 0 auto 26px; }
.rs-article__byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); text-align: left; }
.rs-author-mini { display: flex; align-items: center; gap: 12px; }
.rs-avatar { border-radius: 50%; display: block; }
.rs-author-mini__name { font-weight: 700; color: var(--ink); text-decoration: none; }

.rs-share { display: flex; gap: 8px; }
.rs-share__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: .15s; }
.rs-share__btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.rs-share__btn--whatsapp:hover { background: var(--wa-dark); }
.rs-share__btn--linkedin:hover { background: #0A66C2; }
.rs-share__btn--x:hover { background: #000; }
.rs-share__btn--facebook:hover { background: #1877F2; }
.rs-share__copy:hover { background: var(--ink); color: var(--paper); }
.rs-share__copy.is-done { background: var(--rs-brand); color: #fff; }

.rs-article__media { margin: 0 auto 8px; }
.rs-article__media > img, .rs-article__media > .rs-art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); height: auto; }
.rs-article__media figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

.rs-article__layout { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 56px; }
@media (min-width: 1040px) { .rs-article__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } .rs-article__aside > * { position: sticky; top: calc(var(--header-h) + 64px); } .rs-article__aside { align-self: start; } }
.rs-article__main { max-width: 740px; width: 100%; margin-inline: auto; }

.rs-content { font: 400 1.2rem/1.75 var(--f-read); color: var(--ink); }
.rs-content > * { margin-top: 0; margin-bottom: 1.25em; }
.rs-story .rs-content > p:first-of-type::first-letter { float: left; font: 700 4.4em/.8 var(--f-display); margin: .08em .1em 0 0; color: var(--chip, var(--brand)); }
.rs-content h2 { font-size: 1.75rem; margin-top: 1.8em; }
.rs-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.rs-content a { color: var(--brand-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.rs-content a:hover { text-decoration-color: currentColor; }
:root[data-theme="dark"] .rs-content a { color: var(--brand); }
.rs-content ul, .rs-content ol { padding-left: 1.3em; }
.rs-content li { margin-bottom: .4em; }
.rs-content img { border-radius: var(--r); }
.rs-content figure { margin-inline: 0; }
.rs-content figcaption, .rs-content .wp-element-caption { font: 400 14px/1.5 var(--f-ui); color: var(--muted); margin-top: 8px; }
.rs-content blockquote, .rs-content .wp-block-quote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--chip, var(--brand)); font-style: italic; }
.rs-content blockquote cite { display: block; font: 600 14px var(--f-ui); font-style: normal; color: var(--muted); margin-top: 8px; }
.rs-content hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.rs-content table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--f-ui); }
.rs-content th, .rs-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.rs-content pre { overflow-x: auto; background: var(--tint); padding: 16px; border-radius: var(--r-sm); font-size: 14px; }
.rs-content .alignwide { margin-inline: calc(-1 * min(80px, 6vw)); max-width: none; }
.rs-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.rs-content .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.rs-content .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.rs-content .aligncenter { margin-inline: auto; }
.rs-content--wide { padding-block: 40px; }
.rs-pullquote { margin: 2em 0 !important; padding: 28px 0; border-block: 2px solid var(--ink); text-align: center; }
.rs-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.rs-pullquote p { font: 600 italic clamp(1.4rem, 2.6vw, 1.85rem)/1.35 var(--f-display); margin: 0; }
.rs-pullquote figcaption { margin-top: 12px; font: 700 13px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rs-pullquote figcaption::before { content: "— "; }
.rs-wa-inline { font-weight: 600; }

.rs-glance dl { margin: 0; display: grid; gap: 14px; }
.rs-glance dl > div { display: grid; gap: 2px; }
.rs-glance dt { display: flex; align-items: center; gap: 7px; font: 600 12px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rs-glance dt .rs-icon { color: var(--chip, var(--brand)); }
.rs-glance dd { margin: 0; font-weight: 600; color: var(--ink); }
.rs-article__aside .rs-sidebar { margin-top: 20px; }
.rs-article__aside > .rs-sidebar { position: static; }

.rs-article__foot { margin-top: 40px; }
.rs-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.rs-tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.rs-tags a:hover { background: var(--ink); color: var(--paper); }
.rs-article__share-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); }
.rs-article__share-end p { margin: 0; font: 600 italic 1.2rem var(--f-display); }
.rs-authorbox { display: flex; gap: 20px; align-items: flex-start; margin: 36px 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.rs-authorbox__name { font-size: 1.4rem; margin: 0 0 6px; }
.rs-authorbox__name a { color: var(--ink); text-decoration: none; }
.rs-authorbox p:last-child { margin: 0; color: var(--ink-2); }
.rs-postnav .nav-links { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .rs-postnav .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rs-postnav .nav-next { text-align: right; grid-column: 2; } }
.rs-postnav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--surface); height: 100%; transition: border-color .15s; }
.rs-postnav a:hover { border-color: var(--ink); }
.rs-postnav .rs-kicker { margin-bottom: 6px; }
.rs-postnav__title { display: block; font: 700 1.05rem/1.3 var(--f-display); color: var(--ink); }

/* Comments */
.rs-comments-wrap { padding-bottom: 64px; }
.rs-comments__title { font-size: 1.6rem; }
.rs-comments__list, .rs-comments__list .children { list-style: none; padding: 0; margin: 0; }
.rs-comments__list .children { padding-left: clamp(16px, 4vw, 48px); }
.rs-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.rs-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rs-comments .comment-author img { border-radius: 50%; }
.rs-comments .comment-metadata { font-size: 13px; margin: 4px 0 8px; }
.rs-comments .comment-metadata a { color: var(--muted); text-decoration: none; }
.rs-comments .reply a { font-size: 14px; font-weight: 600; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* ==========================================================================
   Archives, pages, 404
   ========================================================================== */
.rs-archive-head { padding: clamp(32px, 5vw, 56px) 0 32px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--chip, var(--brand)) 9%, var(--paper)), var(--paper)); margin-bottom: 40px; }
.rs-archive-head__row { display: flex; align-items: flex-start; gap: 20px; }
.rs-archive-head__icon { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--chip); color: #fff; }
.rs-archive-head .rs-kicker { color: color-mix(in srgb, var(--chip, var(--brand)) 80%, #000); }
:root[data-theme="dark"] .rs-archive-head .rs-kicker { color: color-mix(in srgb, var(--chip, var(--brand)) 45%, #fff); }
.rs-archive-head__title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0 0 8px; }
.rs-archive-head__desc { color: var(--ink-2); font-size: 17px; max-width: 70ch; }
.rs-archive-head__desc p { margin: 0; }
.rs-archive-head__search { margin-top: 18px; max-width: 620px; }
.rs-archive { padding-bottom: 64px; }
.rs-archive__lead { margin-bottom: 36px; }
.rs-archive__lead .rs-card--lead { min-height: 440px; }

.rs-pagination { margin-top: 48px; }
.rs-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.rs-pagination a, .rs-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--surface); }
.rs-pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rs-pagination a:hover { border-color: var(--ink); }

.rs-page__head { padding: clamp(32px, 5vw, 56px) 0 24px; }
.rs-page__title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 14px; letter-spacing: -.02em; }
.rs-page .rs-content { padding-bottom: 64px; }

.rs-empty { padding: 56px 0; text-align: center; }
.rs-empty .rs-searchform { max-width: 560px; margin: 20px auto 0; }
.rs-404 { padding: clamp(48px, 8vw, 96px) var(--gutter); text-align: center; }
.rs-404__code { font: 700 italic clamp(6rem, 18vw, 11rem)/1 var(--f-display); margin: 0; background: linear-gradient(135deg, var(--rs-brand), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-404 h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.rs-404 .rs-searchform { max-width: 560px; margin: 24px auto 56px; }
.rs-404__grid { text-align: left; }

/* Sidebar */
.rs-catlist { list-style: none; margin: 0; padding: 0; }
.rs-catlist a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.rs-catlist li:last-child a { border-bottom: 0; }
.rs-catlist a span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.rs-catlist a span:first-child::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--chip); }
.rs-catlist a:hover { color: var(--brand); }
.rs-catlist__n { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--tint); padding: 2px 8px; border-radius: 999px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 20px; }
.widget-title, .widget h2.wp-block-heading { font: 700 13px/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--ink); text-decoration: none; }
.widget a:hover { color: var(--brand); }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget .wp-block-search__input { min-width: 0; flex: 1; }

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], select, textarea {
	padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); max-width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.rs-searchform input:focus { box-shadow: none; }
textarea { resize: vertical; min-height: 120px; }

.rs-formpage { padding: clamp(32px, 5vw, 56px) 0 72px; }
.rs-formpage__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .rs-formpage__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } .rs-formpage__form { position: sticky; top: calc(var(--header-h) + 64px); } }
.rs-formpage__intro .rs-content { font-size: 1.15rem; }
.rs-formpage__form { padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.rs-formpage__h { font-size: 1.6rem; }
.rs-steps { counter-reset: s; list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 16px; }
.rs-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; }
.rs-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 italic 1.2rem var(--f-display); }
.rs-steps span { color: var(--ink-2); font-size: 15px; }
.rs-note { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); padding: 12px 16px; background: var(--brand-soft); border-radius: var(--r-sm); }
.rs-note .rs-icon { color: var(--brand); }

.rs-form__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .rs-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rs-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.rs-field input, .rs-field select, .rs-field textarea { width: 100%; }
.rs-field--wide { grid-column: 1 / -1; }
.rs-req { color: #C2410C; }
.rs-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14px; color: var(--ink-2); }
.rs-consent input { margin-top: 4px; accent-color: var(--rs-brand); width: 16px; height: 16px; flex: none; }
.rs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rs-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; border: 1px solid; font-size: 15px; }
.rs-notice p { margin: 0 0 8px; }
.rs-notice p:last-child { margin: 0; }
.rs-notice--ok { background: color-mix(in srgb, #16A34A 10%, var(--surface)); border-color: color-mix(in srgb, #16A34A 35%, transparent); }
.rs-notice--ok > .rs-icon { color: #16A34A; margin-top: 2px; }
.rs-notice--err { background: color-mix(in srgb, #DC2626 9%, var(--surface)); border-color: color-mix(in srgb, #DC2626 35%, transparent); }

.rs-contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.rs-contact-item { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: .15s; }
.rs-contact-item:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.rs-contact-item strong { display: block; }
.rs-contact-item span:last-child { color: var(--ink-2); font-size: 15px; }
.rs-contact-item__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.rs-contact-item__icon--wa { background: var(--wa-dark); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.rs-footer { background: var(--band); color: var(--band-muted); padding: clamp(48px, 7vw, 80px) 0 0; font-size: 15px; }
.rs-footer a { color: var(--band-ink); text-decoration: none; }
.rs-footer a:hover { color: var(--gold); }
.rs-footer__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
@media (min-width: 700px) { .rs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .rs-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 48px; } }
.rs-footer__logo img { height: 40px; width: auto; margin-bottom: 18px; }
.rs-footer__about p { max-width: 42ch; }
.rs-footer__h { font: 700 13px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.rs-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rs-footer__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 16px; border-radius: 999px; background: var(--wa-dark); color: #fff !important; font-weight: 600; font-size: 14px; }
.rs-footer__wa:hover { background: #0B6630; }
.rs-footer .rs-social { margin-top: 18px; }
.rs-footer .rs-social a { width: 38px; height: 38px; border: 1px solid rgb(255 255 255 / .14); }
.rs-footer__nl p { margin-bottom: 14px; }
.rs-footer .widget { background: transparent; border-color: rgb(255 255 255 / .14); color: var(--band-muted); }
.rs-footer .widget-title, .rs-footer .widget h2, .rs-footer .widget h3 { color: var(--band-ink); border-color: var(--gold); }
.rs-footer .widget li { border-color: rgb(255 255 255 / .1); }
.rs-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 22px 0 26px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; }
.rs-footer__bottom p { margin: 0; margin-right: auto; }
.rs-footer__legal { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.rs-totop { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ==========================================================================
   Floating WhatsApp (right side)
   ========================================================================== */
.rs-wa {
	position: fixed; right: 20px; bottom: 22px; z-index: 150;
	display: flex; align-items: center; gap: 0; height: 60px; padding: 0; border-radius: 999px;
	background: var(--wa-dark); color: #fff; text-decoration: none;
	box-shadow: 0 12px 30px -8px rgb(15 122 59 / .6), 0 2px 6px rgb(0 0 0 / .15);
	transition: gap .25s ease, padding .25s ease, transform .2s ease;
}
.rs-wa__icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; flex: none; }
.rs-wa__icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: rs-pulse 2.4s ease-out infinite; }
.rs-wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .3s ease, padding .3s ease; }
.rs-wa:hover, .rs-wa:focus-visible { color: #fff; transform: translateY(-2px); }
.rs-wa:hover .rs-wa__label, .rs-wa:focus-visible .rs-wa__label { max-width: 180px; padding: 0 20px 0 12px; }
@keyframes rs-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 640px) {
	.rs-wa { right: 14px; bottom: 16px; height: 56px; }
	.rs-wa__icon { width: 56px; height: 56px; }
	.rs-wa:hover .rs-wa__label { max-width: 0; padding: 0; }
}

/* ==========================================================================
   Responsive header
   ========================================================================== */
@media (max-width: 1100px) {
	.rs-nav { display: none; }
	.rs-header__menu { display: inline-grid; }
	.rs-header__in { gap: 10px; }
	.rs-header__actions { margin-left: auto !important; }
}
@media (max-width: 760px) {
	.rs-topbar__date, .rs-social--top { display: none; }
	.rs-header__cta { display: none; }
	.rs-header img.rs-logo, .rs-header img.custom-logo { height: 34px; }
	.rs-article__byline { justify-content: center; }
	.rs-card--lead { min-height: 440px; }
}
@media (max-width: 420px) {
	:root { --gutter: 16px; }
	.rs-header img.rs-logo, .rs-header img.custom-logo { height: 30px; max-width: 160px; }
	.rs-iconbtn { width: 38px; height: 38px; }
	.rs-card--row .rs-card__media { width: 88px; }
	.rs-authorbox { flex-direction: column; }
}

/* ==========================================================================
   Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.rs-ticker__track { animation: none; }
	.rs-ticker__viewport { overflow-x: auto; }
	@view-transition { navigation: none; }
}
@media print {
	.rs-topbar, .rs-header, .rs-footer, .rs-wa, .rs-share, .rs-article__aside, .rs-related, .rs-comments-wrap, .rs-postnav, .rs-progress { display: none !important; }
	body { background: #fff; color: #000; }
	.rs-article__layout { display: block; }
}

/* WordPress core */
.sticky, .bypostauthor, .gallery-caption { }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: var(--muted); }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.rs-pagelinks { font: 600 15px var(--f-ui); margin: 2em 0; }

/* Overlay-card fixes */
.rs-card--tall .rs-meta .rs-by { color: rgb(255 255 255 / .9); }
@media (max-width: 1099px) { .rs-card--lead .rs-art text { opacity: .28; } }
.rs-field input, .rs-field select { min-height: 50px; }
.rs-shead { flex-wrap: wrap; }
.rs-shead > div, .rs-archive-head__row > div { min-width: 0; flex: 1 1 auto; }
@media (max-width: 380px) { .rs-shead__more { padding: 7px 11px; } }
