/*
Theme Name: Ring Size Chart Info
Theme URI: https://ringsizechartinfo.com/
Author: Ring Size Chart Info
Author URI: https://ringsizechartinfo.com/
Description: A fast, accessible, AdSense-ready theme for a ring size calculator website. Includes a ring size chart calculator, converter, on-screen sizer, printable sizer, server-rendered ring size chart, FAQ schema, legal pages and a blog. Fully editable with Elementor (legacy sections or containers). No external fonts or libraries.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.8
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: ringsizechartinfo
Tags: blog, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/

:root {
	--rsc-ink: #1b2333;
	--rsc-muted: #5a6578;
	--rsc-bg: #fbf9f5;
	--rsc-surface: #ffffff;
	--rsc-alt: #f3efe7;
	--rsc-line: #e4ded2;
	--rsc-brand: #1f3a5f;
	--rsc-brand-2: #2d5286;
	--rsc-accent: #b8872e;
	--rsc-accent-soft: #f7edd6;
	--rsc-hero-a: #14243d;
	--rsc-hero-b: #274a7a;
	--rsc-ok: #1e7a4b;
	--rsc-err: #b3261e;
	--rsc-radius: 14px;
	--rsc-shadow: 0 10px 30px rgba(20, 36, 61, 0.12);
	--rsc-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--rsc-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--rsc-ink: #e9edf4;
		--rsc-muted: #a9b4c6;
		--rsc-bg: #0f1624;
		--rsc-surface: #172033;
		--rsc-alt: #131b2b;
		--rsc-line: #2a3650;
		--rsc-brand: #8fb4ee;
		--rsc-brand-2: #a9c5f2;
		--rsc-accent: #e0b25a;
		--rsc-accent-soft: #2a2415;
		--rsc-hero-a: #0b1220;
		--rsc-hero-b: #1b3558;
		--rsc-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--rsc-bg);
	color: var(--rsc-ink);
	font-family: var(--rsc-sans);
	font-size: 17px;
	line-height: 1.7;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--rsc-brand-2); text-underline-offset: 2px; }
a:hover { color: var(--rsc-accent); }
:focus-visible { outline: 3px solid var(--rsc-accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--rsc-serif); line-height: 1.22; color: var(--rsc-ink); margin: 1.6em 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-top: 0; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.28rem; }
p, ul, ol, dl { margin: 0 0 1.1em; }
.rsc-sr, .rsc-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rsc-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--rsc-surface); color: var(--rsc-ink); padding: 10px 16px; border-radius: 8px; box-shadow: var(--rsc-shadow); }
[hidden] { display: none !important; }

/* Layout */
.rsc-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.rsc-container--narrow { max-width: 820px; }
.rsc-main { min-height: 50vh; }
.rsc-section { padding: 56px 0; }
.rsc-section--alt { background: var(--rsc-alt); }
.rsc-section--tight { padding: 0; }
.rsc-section > h2:first-child, .rsc-section h2:first-child { margin-top: 0; }
.rsc-prose p, .rsc-prose ul, .rsc-prose ol, .rsc-prose dl { max-width: 78ch; }
.rsc-prose li { margin-bottom: 0.35em; }
.rsc-prose > h2:first-child { margin-top: 0; }
.rsc-lead { font-size: 1.15rem; color: var(--rsc-muted); max-width: 70ch; }
.rsc-hint { font-size: 0.9rem; color: var(--rsc-muted); margin: 0.4em 0 0; }
.rsc-note { font-size: 0.97rem; color: var(--rsc-muted); }
.rsc-eyebrow { display: inline-block; margin: 0 0 0.6em; padding: 4px 12px; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255, 255, 255, 0.12); color: #f4e7c5; border-radius: 99px; }

/* Header */
.rsc-header { position: sticky; top: 0; z-index: 50; background: var(--rsc-surface); border-bottom: 1px solid var(--rsc-line); }
.admin-bar .rsc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rsc-header { top: 46px; } }
.rsc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.rsc-brand__link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rsc-brand); font-family: var(--rsc-serif); font-weight: 700; font-size: 1.28rem; }
.rsc-brand__icon { color: var(--rsc-accent); }
.rsc-brand .custom-logo { max-height: 46px; width: auto; }
.rsc-menu, .rsc-footer-menu { list-style: none; margin: 0; padding: 0; }
.rsc-menu { display: flex; gap: 4px; flex-wrap: wrap; }
.rsc-menu a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--rsc-ink); font-weight: 500; font-size: 0.97rem; }
.rsc-menu a:hover, .rsc-menu .current-menu-item > a { background: var(--rsc-accent-soft); color: var(--rsc-ink); }
.rsc-menu .current-menu-item > a[href*="#"]:not(:hover) { background: transparent; }
.rsc-menu li { position: relative; }
.rsc-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; list-style: none; margin: 0; padding: 6px; background: var(--rsc-surface); border: 1px solid var(--rsc-line); border-radius: 10px; box-shadow: var(--rsc-shadow); }
.rsc-menu li:hover > .sub-menu, .rsc-menu li:focus-within > .sub-menu { display: block; }
.rsc-nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--rsc-line); border-radius: 10px; background: var(--rsc-surface); cursor: pointer; align-items: center; justify-content: center; }
.rsc-nav-toggle__bars, .rsc-nav-toggle__bars::before, .rsc-nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--rsc-ink); content: ""; position: relative; }
.rsc-nav-toggle__bars::before { position: absolute; top: -6px; }
.rsc-nav-toggle__bars::after { position: absolute; top: 6px; }
@media (max-width: 820px) {
	.rsc-nav-toggle { display: inline-flex; }
	.rsc-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--rsc-surface); border-bottom: 1px solid var(--rsc-line); padding: 8px 20px 16px; box-shadow: var(--rsc-shadow); }
	.rsc-nav.is-open { display: block; }
	.rsc-menu { flex-direction: column; }
	.rsc-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
}

/* Buttons and forms */
.rsc-btn, .wp-block-button__link, input[type="submit"], .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border: 2px solid var(--rsc-accent); border-radius: 999px;
	background: var(--rsc-accent); color: #1b1405; font: 700 1rem var(--rsc-sans); text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.rsc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(184, 135, 46, 0.35); color: #1b1405; }
.rsc-btn--ghost { background: transparent; color: var(--rsc-ink); border-color: var(--rsc-line); }
.rsc-btn--ghost:hover { border-color: var(--rsc-accent); color: var(--rsc-ink); box-shadow: none; }
.rsc-btn--sm { padding: 8px 16px; font-size: 0.92rem; }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], select, textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--rsc-line); border-radius: 10px; background: var(--rsc-surface); color: var(--rsc-ink); font: inherit; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 6px; }
.rsc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rsc-field--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .rsc-grid { grid-template-columns: 1fr; } }
.rsc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.rsc-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.rsc-alert { padding: 12px 16px; border-radius: 10px; border: 1px solid; margin-bottom: 18px; }
.rsc-alert--ok { background: #e8f6ee; border-color: #9bd3b4; color: #14532d; }
.rsc-alert--err { background: #fdecea; border-color: #f0a8a3; color: #7a1a14; }
.rsc-search { display: flex; gap: 10px; max-width: 520px; }
.rsc-search input { flex: 1; }

/* Hero */
.rsc-hero { padding: 30px 0 44px; background: radial-gradient(1200px 500px at 85% -10%, rgba(184, 135, 46, 0.28), transparent 60%), linear-gradient(160deg, var(--rsc-hero-a), var(--rsc-hero-b)); color: #eef2f9; }
.rsc-hero h1 { color: #fff; max-width: none; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.4em; }
.rsc-hero .rsc-lead { color: #d3dcec; max-width: 90ch; font-size: 1.02rem; line-height: 1.6; margin-bottom: 0; }
.rsc-hero a { color: #f4d790; }
.rsc-hero .rsc-btn { color: #1b1405; }
.rsc-facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 28px 0 0; max-width: none !important; }
.rsc-facts li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 12px 14px; margin: 0; display: flex; flex-direction: column; font-size: 0.9rem; color: #c9d4e8; }
.rsc-facts strong { color: #fff; font-size: 1rem; }
@media (max-width: 760px) { .rsc-facts { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 640px) {
	.rsc-hide-sm, .rsc-eyebrow { display: none; }
	.rsc-hero { padding-top: 22px; }
	.rsc-hero .rsc-lead { font-size: 0.97rem; }
	.rsc-cookie { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Tools */
.rsc-tools { background: var(--rsc-surface); color: var(--rsc-ink); border-radius: 20px; box-shadow: var(--rsc-shadow); margin: 26px 0 0; overflow: hidden; border: 1px solid var(--rsc-line); }
.rsc-tabs { display: flex; gap: 2px; background: var(--rsc-alt); padding: 8px 8px 0; overflow-x: auto; scrollbar-width: thin; }
.rsc-tab { flex: 0 0 auto; padding: 13px 18px; border: 0; border-radius: 12px 12px 0 0; background: transparent; color: var(--rsc-muted); font: 600 0.96rem var(--rsc-sans); cursor: pointer; white-space: nowrap; }
.rsc-tab:hover { color: var(--rsc-ink); }
.rsc-tab[aria-selected="true"] { background: var(--rsc-surface); color: var(--rsc-brand); box-shadow: inset 0 3px 0 var(--rsc-accent); }
.rsc-panel { padding: 26px; }
@media (max-width: 560px) { .rsc-panel { padding: 18px 16px; } .rsc-tab { padding: 12px 14px; } }
.rsc-result { margin-top: 24px; padding: 22px; border-radius: var(--rsc-radius); background: var(--rsc-accent-soft); border: 1px solid var(--rsc-line); }
.rsc-result__kicker { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rsc-muted); font-weight: 700; }
.rsc-result__size { margin: 4px 0; font: 700 clamp(2.4rem, 7vw, 3.6rem) var(--rsc-serif); color: var(--rsc-brand); line-height: 1.1; }
.rsc-result__sub { margin: 0 0 16px; color: var(--rsc-muted); }
.rsc-result__foot { margin: 16px 0 0; font-size: 0.9rem; color: var(--rsc-muted); }
.rsc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rsc-stat { background: var(--rsc-surface); border: 1px solid var(--rsc-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.rsc-stat__label { font-size: 0.78rem; color: var(--rsc-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.rsc-stat__value { font-weight: 700; font-size: 1.05rem; }
.rsc-stat--main .rsc-stat__value { font-size: 1.6rem; color: var(--rsc-brand); font-family: var(--rsc-serif); }
.rsc-stat:nth-child(n+5) { grid-column: span 2; }
@media (max-width: 760px) { .rsc-stats { grid-template-columns: repeat(2, 1fr); } }
.rsc-error { margin: 0; color: var(--rsc-err); font-weight: 600; }

/* Screen sizer */
.rsc-card-box { padding: 12px 0 18px; overflow-x: auto; }
.rsc-card-outline { border: 2px dashed var(--rsc-brand); border-radius: 12px; background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(31, 58, 95, 0.05) 10px 20px); }
input[type="range"] { width: 100%; accent-color: var(--rsc-accent); min-height: 32px; padding: 0; }
.rsc-ring-stage { display: flex; justify-content: center; align-items: center; min-height: 190px; margin: 6px 0 14px; background: var(--rsc-alt); border-radius: var(--rsc-radius); overflow: hidden; }
.rsc-ring-circle { border-radius: 50%; border: 3px solid var(--rsc-brand); background: radial-gradient(circle, transparent 60%, rgba(184, 135, 46, 0.12)); }

/* Printable gauge */
.rsc-gauge { margin-top: 18px; padding: 18px; border: 1px dashed var(--rsc-line); border-radius: var(--rsc-radius); background: #fff; color: #000; }
.rsc-gauge__title { font-weight: 700; margin: 0 0 8px; }
.rsc-gauge__bar { width: 50mm; height: 4mm; background: #000; color: #fff; font-size: 2.6mm; line-height: 4mm; text-align: center; margin-bottom: 6mm; }
.rsc-gauge__rings { display: flex; flex-wrap: wrap; gap: 6mm 7mm; align-items: flex-end; }
.rsc-gauge__item { margin: 0; text-align: center; font-size: 3mm; line-height: 1.3; }
.rsc-gauge__circle { display: block; border: 0.35mm solid #000; border-radius: 50%; box-sizing: content-box; margin: 0 auto 1.5mm; }
.rsc-gauge__foot { margin: 6mm 0 0; font-size: 3mm; color: #444; }

/* Chart table */
.rsc-chart__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.rsc-chart__bar input { max-width: 340px; }
.rsc-table-wrap { overflow-x: auto; border: 1px solid var(--rsc-line); border-radius: var(--rsc-radius); background: var(--rsc-surface); margin-bottom: 14px; }
.rsc-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; font-variant-numeric: tabular-nums; }
.rsc-table th, .rsc-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--rsc-line); white-space: nowrap; }
.rsc-table--plain th, .rsc-table--plain td { white-space: normal; }
.rsc-table thead th { position: sticky; top: 0; background: var(--rsc-brand); color: #fff; font-size: 0.85rem; letter-spacing: 0.02em; }
@media (prefers-color-scheme: dark) { .rsc-table thead th { background: #243556; color: #e9edf4; } }
.rsc-table tbody th { font-weight: 700; }
.rsc-table tbody tr:nth-child(even) { background: var(--rsc-alt); }
.rsc-table tbody tr:hover { background: var(--rsc-accent-soft); }
.rsc-table tr.is-match, .rsc-table tr.is-match th { background: var(--rsc-accent) !important; color: #1b1405; }
.rsc-table-wrap:focus-visible { outline-offset: -3px; }

/* Definitions, FAQ, lists */
.rsc-dl dt { font-weight: 700; margin-top: 12px; color: var(--rsc-brand); }
.rsc-dl dd { margin: 2px 0 0; }
.rsc-faq { max-width: 860px; }
.rsc-faq__item { background: var(--rsc-surface); border: 1px solid var(--rsc-line); border-radius: 12px; margin-bottom: 10px; }
.rsc-faq__item summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 52px; }
.rsc-faq__item summary::-webkit-details-marker { display: none; }
.rsc-faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--rsc-accent); line-height: 1; }
.rsc-faq__item[open] summary::after { content: "−"; }
.rsc-faq__a { padding: 0 20px 6px; color: var(--rsc-muted); }

/* Cards and blog */
.rsc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 22px 0; }
@media (max-width: 960px) { .rsc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rsc-cards { grid-template-columns: 1fr; } }
.rsc-card { background: var(--rsc-surface); border: 1px solid var(--rsc-line); border-radius: var(--rsc-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s; }
.rsc-card:hover { transform: translateY(-3px); box-shadow: var(--rsc-shadow); }
.rsc-card__media { display: block; aspect-ratio: 16 / 9; background: var(--rsc-alt); overflow: hidden; }
.rsc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rsc-cover { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; background: linear-gradient(135deg, #1f3a5f, #3d6aa8); }
.rsc-cover--1 { background: linear-gradient(135deg, #7a4e12, #c9954a); }
.rsc-cover--2 { background: linear-gradient(135deg, #2e5e4e, #5aa58a); }
.rsc-cover--3 { background: linear-gradient(135deg, #5b2a5f, #a063a5); }
.rsc-cover--4 { background: linear-gradient(135deg, #7a2b3a, #c4667a); }
.rsc-cover svg { width: 64px; height: 64px; opacity: 0.92; }
.rsc-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rsc-card__cat { margin: 0 0 6px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rsc-accent); font-weight: 700; }
.rsc-card__title { margin: 0 0 8px; font-size: 1.15rem; }
.rsc-card__title a { color: var(--rsc-ink); text-decoration: none; }
.rsc-card__title a:hover { color: var(--rsc-brand-2); }
.rsc-card__excerpt { margin: 0 0 12px; color: var(--rsc-muted); font-size: 0.95rem; }
.rsc-card__meta { margin: auto 0 0; font-size: 0.82rem; color: var(--rsc-muted); }
.rsc-archive-head { padding: 36px 0 10px; }
.rsc-archive-head h1 { margin-bottom: 0.3em; }
.rsc-breadcrumbs { font-size: 0.88rem; padding: 18px 0 0; color: var(--rsc-muted); }
.rsc-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.rsc-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--rsc-muted); }
.rsc-breadcrumbs a { color: var(--rsc-muted); }
.navigation.pagination { margin: 30px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--rsc-line); border-radius: 8px; text-decoration: none; background: var(--rsc-surface); color: var(--rsc-ink); }
.page-numbers.current { background: var(--rsc-brand); color: #fff; border-color: var(--rsc-brand); }

/* Article */
.rsc-single { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-top: 6px; padding-bottom: 20px; }
@media (max-width: 960px) { .rsc-single { grid-template-columns: 1fr; } }
.rsc-article__head { padding: 18px 0 10px; }
.rsc-article__head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0.3em 0; }
.rsc-chip { display: inline-block; padding: 3px 12px; border-radius: 99px; background: var(--rsc-accent-soft); color: var(--rsc-ink); text-decoration: none; font-size: 0.82rem; font-weight: 700; }
.rsc-meta { color: var(--rsc-muted); font-size: 0.92rem; }
.rsc-article__img { margin: 0 0 24px; border-radius: var(--rsc-radius); overflow: hidden; }
.rsc-article .rsc-prose { font-size: 1.05rem; }
.rsc-toc { background: var(--rsc-alt); border: 1px solid var(--rsc-line); border-radius: 12px; padding: 16px 22px; margin: 0 0 28px; max-width: 78ch; }
.rsc-toc__title { margin: 0 0 6px; font-weight: 700; font-family: var(--rsc-serif); }
.rsc-toc ol { margin: 0; padding-left: 20px; }
.rsc-sidebar { position: sticky; top: 90px; align-self: start; }
.rsc-sidebar .widget { background: var(--rsc-surface); border: 1px solid var(--rsc-line); border-radius: var(--rsc-radius); padding: 18px 20px; margin-bottom: 20px; }
.widget-title { font-size: 1.05rem; margin: 0 0 10px; }
.rsc-sidebar ul { margin: 0; padding-left: 18px; }
.rsc-cta { background: linear-gradient(160deg, var(--rsc-hero-a), var(--rsc-hero-b)); color: #eef2f9; border-radius: var(--rsc-radius); padding: 26px; margin: 36px 0; }
.rsc-cta__title { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.rsc-related h2 { margin-top: 30px; }
.rsc-article__foot { margin-top: 20px; }
.rsc-tags a { text-decoration: none; }
.rsc-comments { max-width: 780px; margin: 40px 0; }
.rsc-comment-list { list-style: none; padding: 0; }
.rsc-comment-list .comment-body { background: var(--rsc-surface); border: 1px solid var(--rsc-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; }
.rsc-page__head { padding: 26px 0 0; }
.rsc-page { padding-bottom: 50px; }
.rsc-sitemap ul { columns: 2; column-gap: 40px; }
@media (max-width: 600px) { .rsc-sitemap ul { columns: 1; } }

/* Ads: reserved space avoids layout shift */
.rsc-ad { margin: 26px auto; max-width: 970px; padding: 0 20px; text-align: center; min-height: 100px; }
.rsc-ad__label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rsc-muted); margin-bottom: 4px; }
.rsc-ad--sidebar { padding: 0; min-height: 250px; }
.rsc-article .rsc-ad { padding: 0; margin: 28px 0; }

/* Footer */
.rsc-footer { background: #101a2b; color: #c4cee0; margin-top: 60px; padding: 48px 0 18px; font-size: 0.95rem; }
.rsc-footer a { color: #e7edf8; text-decoration: none; }
.rsc-footer a:hover { color: #f4d790; text-decoration: underline; }
.rsc-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .rsc-footer__grid { grid-template-columns: 1fr; } }
.rsc-footer__brand { font: 700 1.3rem var(--rsc-serif); color: #fff; margin: 0 0 8px; }
.rsc-footer__title { color: #fff; font-weight: 700; margin: 0 0 10px; }
.rsc-footer ul { list-style: none; margin: 0; padding: 0; }
.rsc-footer li { margin-bottom: 6px; }
.rsc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 30px; padding-top: 16px; font-size: 0.85rem; color: #93a1ba; }
.rsc-footer .widget-title { color: #fff; }

/* Cookie notice */
.rsc-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 16px; background: var(--rsc-surface); color: var(--rsc-ink); border: 1px solid var(--rsc-line); border-radius: 14px; box-shadow: var(--rsc-shadow); padding: 14px 18px; }
.rsc-cookie p { margin: 0; font-size: 0.9rem; flex: 1; }

/* Elementor compatibility: keep theme styling out of the way of widgets */
.elementor-section.rsc-section > .elementor-container,
.elementor-section.rsc-hero > .elementor-container { max-width: 1120px; padding-left: 20px; padding-right: 20px; }
.elementor-section.rsc-section { padding: 56px 0; }
.elementor-section.rsc-section--tight { padding: 0; }
.elementor-section.rsc-hero { padding: 30px 0 44px; }
.rsc-section .elementor-widget-text-editor,
.rsc-hero .elementor-widget-text-editor { color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; }
.rsc-section .elementor-widget-container > h2:first-child,
.rsc-hero .elementor-widget-container > h1:first-child { margin-top: 0; }
.rsc-main--full, .rsc-elementor-page .rsc-main { max-width: none; }
.elementor-page .rsc-main { padding: 0; }
.elementor-editor-active .rsc-cookie, .elementor-editor-active .rsc-header { position: static; }
.wp-block-image img, .alignwide { max-width: 100%; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.88rem; color: var(--rsc-muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sticky, .bypostauthor, .gallery-caption { display: block; }

/* Print: ring sizer prints at true size */
@media print {
	body.rsc-print-gauge * { visibility: hidden !important; }
	body.rsc-print-gauge .rsc-gauge, body.rsc-print-gauge .rsc-gauge * { visibility: visible !important; }
	body.rsc-print-gauge .rsc-gauge { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 10mm; background: #fff; }
	.rsc-header, .rsc-footer, .rsc-cookie, .rsc-ad { display: none !important; }
	body { background: #fff; color: #000; }
}
