/* ==========================================================================
   Glossy Wise — main stylesheet
   Mobile-first. Tokens → base → layout → components → templates → utilities
   ========================================================================== */

@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url("../fonts/schibsted-latin.woff2") format("woff2-variations"), url("../fonts/schibsted-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
	/* Clean magazine palette: white, ink, one rose accent, soft topic tints. */
	--bg: #ffffff;
	--bg-soft: #f6f6f8;
	--surface: #ffffff;
	--surface-2: #fafafb;
	--border: #e7e7ec;
	--border-strong: #111827;
	--text: #374151;
	--muted: #6b7280;
	--navy: #111827;        /* headings */
	--navy-2: #030712;
	--gloss: #db2777;       /* accent: rose */
	--gloss-ink: #be185d;   /* links */
	--pink: #ff8fb3;
	--lilac: #dcd3ff;
	--blush: #ffd9e6;
	--pearl: linear-gradient(120deg, #ffd6e7 0%, #e5dcff 48%, #d3f1e3 100%);
	--accent: var(--gloss);
	--green: var(--gloss);
	--green-dark: var(--gloss);
	--green-ink: var(--gloss-ink);
	--on-accent: #ffffff;
	--danger: #b42318;
	--warn-ink: #6b4300;
	--glow: rgba(219,39,119,.18);

	--tint-blush: #ffe3ee;  --ink-blush: #9b1b4f;
	--tint-plum: #efe4f5;   --ink-plum: #5b2366;
	--tint-sage: #dcf0e3;   --ink-sage: #2c6a43;
	--tint-sky: #dfeeff;    --ink-sky: #1f5a94;
	--tint-butter: #fff2c7; --ink-butter: #6e5000;
	--tint-slate: #efe9ec;  --ink-slate: #4f4252;
	--tint-yellow: var(--tint-butter);
	--tint-green: var(--tint-sage);
	--gold: #e8b64a;

	--font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--serif: var(--display);
	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow: 0 1px 2px rgba(17,24,39,.05);
	--shadow-hover: 0 10px 30px rgba(17,24,39,.10);
	--wrap: 1200px;
	--gutter: 16px;
	--header-h: 68px;
	--rail: 280px;
	--focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--gloss);
}
[hidden] { display: none !important; }
@media (min-width: 768px) { :root { --gutter: 28px; } }


/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--blush); color: var(--navy); }

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 56px; }
.section--soft { background: var(--bg-soft); }
@media (min-width: 1024px) { .section { padding-block: 80px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 12px; }

/* ---------- 4. Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: 10px 20px;
	font-weight: 650; font-size: .95rem; line-height: 1.2;
	border-radius: var(--radius-sm); border: 1px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn--primary { background: var(--green-dark); color: #fff; } /* #0B6E65: AA contrast with white text */
.btn--primary:hover { background: var(--green-ink); color: #fff; }
.btn--outline { background: var(--surface); color: var(--navy); border-color: var(--border); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn svg { width: 1em; height: 1em; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--green-ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 5. Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(8px); } }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--navy); flex: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__accent { color: var(--green); }
.brand:hover { color: var(--navy); }
.custom-logo { max-height: 40px; width: auto; }

.primary-nav { display: none; margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav a {
	display: block; padding: 8px 11px; border-radius: var(--radius-sm);
	color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 550; white-space: nowrap;
}
.primary-nav a:hover { background: var(--bg-soft); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-post-ancestor > a, .primary-nav .current-category-ancestor > a { color: var(--green-ink); }
.primary-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: var(--radius-sm); border: 0; background: transparent; color: var(--navy); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.header-cta { display: none; }
@media (min-width: 600px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
	.primary-nav { display: block; }
	.header-actions { margin-left: 8px; }
	.menu-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav[hidden] { display: none; }
.mobile-nav {
	position: fixed; inset: 0; z-index: 100; background: rgba(12, 34, 56, .45);
}
.mobile-nav__panel {
	position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 360px);
	background: var(--surface); padding: 16px 20px 32px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 8px;
}
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--navy); font-weight: 600; }
.mobile-nav .sub-menu a { padding-left: 18px; font-weight: 500; }
.mobile-nav .btn { margin-top: 16px; }
body.nav-open { overflow: hidden; }

/* Search overlay */
.search-overlay[hidden] { display: none; }
.search-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(12,34,56,.55); padding: 10vh var(--gutter) 0; }
.search-overlay__box { max-width: 680px; margin: 0 auto; background: var(--surface); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-hover); }
.search-overlay__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.search-overlay__head p { margin: 0; font-weight: 700; color: var(--navy); }
.search-overlay__hints { margin: 14px 0 0; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-overlay__hints a { padding: 4px 10px; background: var(--bg-soft); border-radius: 999px; text-decoration: none; color: var(--navy); }

/* Search form */
.search-form { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); }
.search-form:focus-within { border-color: var(--green); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font-size: 1rem; background: transparent; }
.search-form input[type="search"]:focus { outline: none; }
.search-form button { flex: none; }
.search-form button.btn { min-height: 44px; padding-inline: 14px; }
.search-form button.btn svg { width: 20px; height: 20px; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #eaf2f8 0%, #f4f7fa 100%); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero__inner { display: grid; gap: 36px; padding-block: 48px 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; max-width: 14ch; }
.hero__lead { font-size: 1.075rem; color: var(--text); max-width: 54ch; margin-bottom: 24px; }
.hero .search-form { max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 550; color: var(--navy); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.hero__media { position: relative; }
.hero__media > img, .hero__media > svg { width: 100%; height: auto; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) {
	.hero__inner { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-block: 72px 80px; }
}

/* ---------- 7. Category cards ---------- */
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat-card { min-height: 0; }
.cat-card {
	position: relative; display: flex; flex-direction: column; gap: 8px;
	padding: 22px 20px 20px; border-radius: var(--radius); border: 1px solid transparent;
	text-decoration: none; color: var(--text); background: var(--tint, var(--bg-soft));
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--text); border-color: rgba(16,43,70,.08); }
.cat-card__icon { width: 44px; height: 44px; color: var(--ink, var(--navy)); margin-bottom: 6px; }
.cat-card h3 { margin: 0; font-size: 1.05rem; }
.cat-card p { margin: 0; font-size: .9rem; color: var(--text); flex: 1; }
.cat-card .cat-card__go { margin-top: 10px; color: var(--navy); }
.cat-card .cat-card__go svg { width: 18px; height: 18px; }
.cat-card .cat-card__count { font-size: .78rem; font-weight: 600; color: var(--muted); }
.tone-blush  { --tint: var(--tint-blush); --ink: var(--ink-blush); --tone: #ff8fb3; }
.tone-plum   { --tint: var(--tint-plum); --ink: var(--ink-plum); --tone: #a36bc2; }
.tone-sage   { --tint: var(--tint-sage); --ink: var(--ink-sage); --tone: #6cc08f; }
.tone-sky    { --tint: var(--tint-sky); --ink: var(--ink-sky); --tone: #78aef0; }
.tone-butter { --tint: var(--tint-butter); --ink: var(--ink-butter); --tone: #f2c94c; }
.tone-slate  { --tint: var(--tint-slate); --ink: var(--ink-slate); --tone: #a8979e; }

/* ---------- 8. Post cards ---------- */
.post-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.post-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
	position: relative; display: flex; flex-direction: column; background: var(--surface);
	border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
	transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card__media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card__cat { font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink, var(--green-ink)); text-decoration: none; position: relative; z-index: 2; align-self: flex-start; }
.card__title { font-size: 1.05rem; margin: 0; line-height: 1.35; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole-card click target */
.card__title a:focus-visible { box-shadow: none; }
.card:focus-within { box-shadow: var(--focus); }
.card__excerpt { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.card__meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--muted); padding-top: 6px; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta svg { width: 15px; height: 15px; }
.badge-draft { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--tint-butter); color: var(--ink-butter); padding: 2px 8px; border-radius: 999px; }

/* Featured (horizontal) card */
.card--feature { display: grid; }
@media (min-width: 768px) {
	.card--feature { grid-template-columns: 1.15fr 1fr; }
	.card--feature .card__media { aspect-ratio: auto; min-height: 100%; }
	.card--feature .card__body { padding: 32px; justify-content: center; }
	.card--feature .card__title { font-size: 1.6rem; }
	.card--feature .card__excerpt { font-size: 1rem; flex: 0; }
}

/* Compact list item (sidebar/related) */
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; position: relative; }
.mini img { width: 72px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-soft); }
.mini a { font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none; line-height: 1.35; }
.mini a::after { content: ""; position: absolute; inset: 0; }
.mini a:hover { color: var(--green-ink); }
.mini small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }

/* ---------- 9. Start Here steps ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.step__num { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: .95rem; }
.step h3 { margin: 6px 0 0; font-size: 1.05rem; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1; }
.step .link-arrow { font-size: .9rem; margin-top: 6px; }

/* ---------- 10. Loan calculator ---------- */
.calc { display: grid; gap: 28px; }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; } }
.calc__intro p { color: var(--muted); }
.entry-content .calc, .sidebar .calc { grid-template-columns: 1fr; }
.entry-content .calc__intro h2 { margin-top: 0; }
.calc__note { font-size: .85rem; background: var(--tint-butter); color: var(--warn-ink); padding: 12px 14px; border-radius: var(--radius-sm); }
.calc__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.calc__fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .calc__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.calc__input input { width: 100%; }
.calc__field { display: grid; gap: 6px; }
.calc__field label { font-weight: 650; color: var(--navy); font-size: .9rem; }
.calc__input { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); }
.calc__input:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--glow); }
.calc__input span { padding: 0 10px; color: var(--muted); font-weight: 600; }
.calc__input input { flex: 1; min-width: 0; border: 0; min-height: 46px; padding: 10px 12px; background: transparent; font-variant-numeric: tabular-nums; }
.calc__input span + input { padding-left: 0; }
.calc__input input:focus { outline: none; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.calc__error { color: var(--danger); font-size: .9rem; margin: 0; }
.calc__results { margin-top: 22px; }
.calc__results[hidden] { display: none; }
.calc__stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.calc__stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.calc__stat small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.calc__stat strong { display: block; color: var(--navy); font-size: 1.45rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__stat--main { background: var(--tint-sage); border-color: var(--border); }
.calc__split { margin: 16px 0 6px; height: 12px; border-radius: 999px; background: var(--gold); overflow: hidden; display: flex; }
.calc__split i { display: block; height: 100%; background: var(--navy); }
.calc__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin: 0; }
.calc__legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.calc details { margin-top: 14px; }
.calc summary { cursor: pointer; font-weight: 650; color: var(--navy); min-height: 44px; display: flex; align-items: center; }
.calc .table-wrap { margin: 8px 0 0; border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; max-height: 340px; }
.calc table { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.calc th, .calc td { padding: 8px 12px; text-align: right; border-bottom: 1px solid var(--border); }
.calc th:first-child, .calc td:first-child { text-align: left; }
.calc thead th { position: sticky; top: 0; background: var(--bg-soft); color: var(--navy); }
.calc__fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* Trust / YMYL elements */
.fin-disclaimer { margin-top: 32px; padding: 16px 18px; border: 1px solid var(--border); border-left: 3px solid var(--navy); border-radius: var(--radius-sm); background: var(--bg-soft); font-size: .88rem; color: var(--text); }
.fin-disclaimer strong { color: var(--navy); }
.fin-disclaimer p { margin: 0; }
.reviewed-by { display: inline-flex; align-items: center; gap: 6px; }
.reviewed-by svg { width: 16px; height: 16px; color: var(--green-ink); }
.stale-note { margin-bottom: 22px; }

/* ---------- 11. Resources ---------- */
.resource-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.resource { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); position: relative; }
.resource:hover { border-color: var(--border-strong); box-shadow: var(--shadow); color: var(--text); }
.resource__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--tint, var(--tint-sage)); color: var(--ink, var(--green-ink)); display: grid; place-items: center; }
.resource__icon svg { width: 22px; height: 22px; }
.resource strong { display: block; color: var(--navy); margin-bottom: 2px; }
.resource span { font-size: .88rem; color: var(--muted); }

/* ---------- 12. Newsletter ---------- */
.newsletter { background: var(--tint-sky); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: auto 1.2fr 1fr; padding: 36px 40px; gap: 32px; } }
.newsletter__art { width: 72px; height: 72px; color: var(--green); }
.newsletter h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
.newsletter p { margin: 0; color: var(--text); }
.nl-form { display: grid; gap: 8px; }
.nl-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); }
.nl-form input[type="email"]:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--glow); }
.nl-form input[aria-invalid="true"] { border-color: var(--danger); }
.nl-form .consent { font-size: .78rem; color: var(--muted); line-height: 1.5; margin: 0; }
.nl-form .consent a, .site-footer .nl-form .consent a { text-decoration: underline; }
.form-msg { font-size: .88rem; margin: 0; min-height: 1.2em; }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-info { color: var(--navy); }
.form-msg.is-success { color: var(--green-ink); }
.gw-field, .hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--navy); color: #c8d4df; margin-top: 0; }
.site-footer a { color: #e6edf3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.3fr .8fr .8fr 1.3fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand__accent { color: #f2a7bf; }
.footer-about p { margin: 12px 0 18px; font-size: .92rem; max-width: 34ch; }
.footer-col h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--green); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.site-footer .nl-form input[type="email"] { border-color: transparent; }
.site-footer .consent, .site-footer .form-msg.is-info { color: #aebdcb; }
.site-footer .form-msg.is-error { color: #ffb4a8; }
.site-footer .form-msg.is-success { color: var(--border); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- 14. Breadcrumbs ---------- */
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: #a5b2bf; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy); }

/* ---------- 15. Category hub ---------- */
.hub-hero { background: var(--tint, var(--bg-soft)); border-bottom: 1px solid var(--border); padding-block: 32px 40px; }
.hub-hero__inner { display: grid; gap: 20px; }
@media (min-width: 900px) { .hub-hero__inner { grid-template-columns: 1fr auto; align-items: end; } }
.hub-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.hub-hero__desc { max-width: 68ch; font-size: 1.05rem; }
.hub-hero__desc p:last-child { margin-bottom: 0; }
.hub-hero__icon { width: 84px; height: 84px; color: var(--ink, var(--navy)); display: none; }
@media (min-width: 900px) { .hub-hero__icon { display: block; } }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.pill-nav a { display: inline-block; padding: 7px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--navy); font-size: .85rem; font-weight: 600; }
.pill-nav a:hover { border-color: var(--navy); }
.hub-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hub-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } }
.hub-block + .hub-block { margin-top: 48px; }
.hub-block h2 { font-size: 1.4rem; }
.hub-block .cat-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
@media (max-width: 599px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .cat-card { padding: 16px 14px; } .cat-card p { font-size: .84rem; } }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); text-decoration: none; color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination a.page-numbers:hover { border-color: var(--navy); }
.pagination .dots { border: 0; }

/* ---------- 16. Article ---------- */
.article-layout { display: grid; gap: 48px; padding-block: 28px 64px; }
.article-layout > *, .hub-layout > * { min-width: 0; }
@media (min-width: 1100px) {
	.article-layout { grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; gap: 56px; }
}
.article-header { margin-bottom: 24px; }
.article-header .card__cat { margin-bottom: 10px; display: inline-block; }
.article-header h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.article-excerpt { font-size: 1.12rem; color: var(--text); margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .85rem; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; }
.article-meta img.avatar { width: 28px; height: 28px; border-radius: 50%; }
.article-meta a { color: var(--navy); font-weight: 600; text-decoration: none; }
.share { display: flex; gap: 6px; margin-left: auto; }
.share a, .share button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--navy); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--navy); }
.share svg { width: 16px; height: 16px; }
.article-figure { margin: 0 0 28px; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/9; object-fit: cover; }
.article-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* TOC (in-content, mobile) */
.toc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 28px; }
.toc summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 18px; height: 18px; transition: transform .15s; }
.toc[open] summary svg { transform: rotate(180deg); }
.toc ol { margin: 0; padding: 0 18px 16px 38px; font-size: .9rem; }
.toc li { margin: 6px 0; }
.toc li ol { padding: 0 0 0 18px; list-style: lower-alpha; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--green-ink); text-decoration: underline; }
.toc--inline { display: block; }
@media (min-width: 1100px) { .toc--inline { display: none; } }

/* Entry content typography */
.entry-content { font-size: 1.075rem; line-height: 1.75; }
.entry-content > * { margin-top: 0; }
.entry-content p:empty { display: none; }
.entry-content h2 { margin: 2.2em 0 .6em; font-size: clamp(1.45rem, 2.4vw, 1.75rem); }
.entry-content h3 { margin: 1.8em 0 .5em; }
.entry-content h4 { margin: 1.5em 0 .5em; font-size: 1.1rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.3em; }
.entry-content li { margin: .35em 0; }
.entry-content ul.is-style-checks, .entry-content ul.checklist { list-style: none; padding-left: 0; }
.entry-content ul.checklist li { position: relative; padding-left: 30px; }
.entry-content ul.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; text-align: left; }
.entry-content blockquote { margin: 1.8em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); color: var(--navy); font-size: 1.1rem; }
.entry-content a { font-weight: 550; }
.entry-content code { background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.entry-content .wp-block-table, .table-wrap { overflow-x: auto; margin: 1.8em 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; min-width: 520px; }
.entry-content th, .entry-content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.entry-content thead th { background: var(--bg-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content .wp-block-table table { border: 0; }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { border-left: 0; border-right: 0; }

/* Callouts (editorial notes, tips, warnings) */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px 18px; margin: 1.8em 0; border-radius: var(--radius); background: var(--tint-sage); border: 1px solid var(--border); font-size: .98rem; line-height: 1.6; }
.callout svg { width: 22px; height: 22px; color: var(--green-ink); margin-top: 2px; }
.callout p:last-child { margin-bottom: 0; }
.callout__title { font-weight: 750; color: var(--navy); display: block; margin-bottom: 2px; }
.callout--note { background: var(--tint-sky); border-color: var(--border); }
.callout--note svg { color: var(--ink-sky); }
.callout--warning { background: var(--tint-butter); border-color: var(--border); }
.callout--warning svg { color: var(--ink-butter); }

/* Numbered steps in content */
.entry-content ol.steps-list { list-style: none; counter-reset: s; padding: 0; }
.entry-content ol.steps-list > li { counter-increment: s; position: relative; padding: 0 0 0 48px; margin: 0 0 22px; }
.entry-content ol.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; line-height: 1; }
.entry-content ol.steps-list > li strong:first-child { color: var(--navy); }

/* Pros/cons */
.proscons { display: grid; gap: 14px; margin: 1.8em 0; }
@media (min-width: 640px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons > div { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.proscons__title { color: var(--navy); font-weight: 750; margin: 0 0 8px !important; font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.proscons ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.proscons li { padding-left: 22px; position: relative; }
.proscons .pros { background: var(--surface-2); }
.proscons .cons { background: var(--surface-2); }
.proscons .pros li::before { content: "+"; position: absolute; left: 2px; font-weight: 800; color: var(--green-ink); }
.proscons .cons li::before { content: "–"; position: absolute; left: 2px; font-weight: 800; color: var(--danger); }

/* Idea card list (in-content) */
.idea { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 16px; background: var(--surface); }
.idea h4 { margin: 0 0 6px !important; display: flex; gap: 10px; align-items: baseline; font-size: 1.15rem; }
.idea h4 .idea__n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-dark); color: #fff; font-size: .82rem; display: inline-grid; place-items: center; transform: translateY(-2px); }
.idea p { margin: 0 0 .7em; font-size: 1rem; }
.idea__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.idea__facts li { margin: 0 !important; }
.idea__facts strong { color: var(--navy); font-weight: 650; }

/* Affiliate CTA */
.aff-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 1.8em 0; background: var(--surface); box-shadow: var(--shadow); }
.aff-box__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.aff-box__name { margin: 0 !important; font-size: 1.1rem; font-weight: 750; color: var(--navy); }
.aff-box p { margin: 8px 0 12px; font-size: .95rem; }
.aff-box__disc { font-size: .76rem; color: var(--muted); margin: 10px 0 0 !important; }
.aff-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
a[rel~="sponsored"]:not(.btn)::after { content: "*"; font-size: .8em; margin-left: 1px; color: var(--muted); }
.disclosure { font-size: .85rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 24px; color: var(--text); }
.disclosure a { font-weight: 600; }

/* Ad slots (only rendered when configured) */
.ad-slot { margin: 2em 0; padding-top: 6px; border-top: 1px solid var(--border); text-align: center; clear: both; }
.ad-slot__label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-slot--placeholder { border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 18px; color: var(--muted); font-size: .82rem; background: repeating-linear-gradient(45deg, #fff, #fff 8px, var(--surface-2) 8px, var(--surface-2) 16px); }
.sidebar .ad-slot { margin: 0; }

/* Article footer bits */
.article-updated-note { font-size: .85rem; color: var(--muted); }
.sources { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--border); font-size: .9rem; }
.sources h2 { font-size: 1.15rem !important; margin: 0 0 .6em !important; }
.sources ol { padding-left: 1.2em; }
.sources li { word-break: break-word; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; list-style: none; padding: 0; }
.tags a { font-size: .82rem; background: var(--bg-soft); padding: 5px 12px; border-radius: 999px; text-decoration: none; color: var(--navy); }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px; margin-top: 36px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; }
.author-box h2 { font-size: 1.05rem; margin: 0 0 4px; }
.author-box p { margin: 0; font-size: .92rem; }
.next-step { margin-top: 36px; border-radius: var(--radius); background: var(--tint-sky); padding: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.next-step strong { color: var(--navy); display: block; font-size: 1.05rem; }
.next-step p { margin: 4px 0 0; font-size: .92rem; }
.post-nav { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 650; line-height: 1.4; }
.post-nav a:hover { border-color: var(--navy); }
.post-nav small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-bottom: 4px; }
.post-nav .next { text-align: right; }
.related { border-top: 1px solid var(--border); }

/* ---------- 17. Sidebar ---------- */
.sidebar { display: grid; gap: 22px; align-content: start; }
.widget { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); }
.widget-title, .widget h2 { font-size: .95rem; margin: 0 0 14px; color: var(--navy); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget--cta { background: var(--tint-yellow); border-color: var(--border); }
.widget--cta h2 { font-size: 1.2rem; }
.widget--cta p { font-size: .92rem; }
.widget--toc ol { margin: 0; padding-left: 20px; font-size: .88rem; }
.widget--toc li { margin: 7px 0; }
.widget--toc li ol { padding-left: 14px; list-style: lower-alpha; }
.widget--toc a { color: var(--text); text-decoration: none; }
.widget--toc a:hover, .widget--toc a.is-active { color: var(--green-ink); font-weight: 600; }
.cat-list li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; color: var(--navy); font-size: .92rem; font-weight: 550; }
.cat-list li + li { border-top: 1px solid var(--border); }
.cat-list .cat-list__icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--tint); color: var(--ink); flex: none; }
.cat-list .cat-list__icon svg { width: 18px; height: 18px; }
.cat-list .count { margin-left: auto; font-size: .78rem; color: var(--muted); }
.widget--promo { background: var(--tint-sage); border-color: var(--border); }
@media (min-width: 1100px) {
	.sidebar--sticky-toc .widget--toc { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
}
.widget--toc { display: none; }
@media (min-width: 1100px) { .widget--toc { display: block; } }

/* ---------- 18. Pages ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding-block: 32px 40px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 10px; }
.page-hero p { margin: 0; font-size: 1.05rem; max-width: 68ch; }
.page-body { padding-block: 40px 72px; }
.page-body .entry-content { max-width: 760px; }
.page-body--wide .entry-content { max-width: none; }
.placeholder-note, .entry-content mark.placeholder { background: var(--surface-2); color: var(--warn-ink); padding: 0 .25em; border-radius: 3px; font-weight: 600; }
.legal-banner { background: var(--tint-butter); border: 1px solid var(--border); color: var(--warn-ink); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 28px; font-size: .92rem; }

/* Contact form */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.3fr 1fr; } }
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; color: var(--navy); font-size: .92rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--glow); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .84rem; margin: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--green); }
.field--check label { font-weight: 500; font-size: .88rem; color: var(--text); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 18px; }
.notice--success { background: var(--tint-sage); color: var(--navy); border: 1px solid var(--border); }
.notice--error { background: var(--surface-2); color: var(--navy); border: 1px solid var(--border); }
.notice--info { background: var(--tint-sky); color: var(--navy); border: 1px solid var(--border); }

/* HTML sitemap */
.sitemap-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.sitemap-grid h2 { font-size: 1.15rem; }
.sitemap-grid ul { padding-left: 1.1em; }
.sitemap-grid li { margin: 6px 0; }

/* Search / 404 */
.search-head { padding-block: 32px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.search-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.search-head .search-form { max-width: 620px; margin-top: 16px; }
.empty-state { text-align: center; padding: 56px 0; max-width: 620px; margin: 0 auto; }
.empty-state .search-form { margin: 24px auto 0; text-align: left; }
.err-code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--green); line-height: 1; margin: 0 0 8px; letter-spacing: -.04em; }

/* Back to top */
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top svg { width: 15px; height: 15px; }

/* WordPress core alignment & captions */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .82rem; color: var(--muted); }
.sticky .card__cat::after { content: " • Pinned"; color: var(--muted); }
.bypostauthor { }
.gallery-caption { }

/* Comments (only shown when enabled) */
.comments-area { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--border); }

@media print {
	.site-header, .site-footer, .sidebar, .share, .newsletter, .ad-slot, .next-step, .post-nav, .related { display: none !important; }
	.article-layout { display: block; }
	a { color: inherit; }
}


/* Tools */
.tool-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool-card:hover { border-color: var(--border); box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--text); }
.tool-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--ink); }
.tool-card__icon svg { width: 24px; height: 24px; }
.tool-card h3 { margin: 4px 0 0; font-size: 1.08rem; }
.tool-card p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1; }
.tool-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 650; color: var(--muted); }
.tool-card__meta .free { color: #047857; background: var(--surface-2); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; }
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.tool__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.tool__field { display: grid; gap: 6px; min-width: 0; }
.tool__field label { font-weight: 650; color: var(--navy); font-size: .88rem; }
.tool__input { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); min-width: 0; }
.tool__input:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--glow); }
.tool__input span { padding: 0 10px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tool__input input, .tool__input select { flex: 1; min-width: 0; width: 100%; border: 0; min-height: 44px; padding: 9px 12px; background: transparent; font-variant-numeric: tabular-nums; }
.tool__input span + input { padding-left: 0; }
.tool__input input:focus, .tool__input select:focus { outline: none; }
.tool__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.tool__error { color: var(--danger); font-size: .9rem; margin: 0; }
.tool__out { margin-top: 18px; }
.tool__stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.tool__stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.tool__stat small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.tool__stat strong { display: block; color: var(--navy); font-size: 1.4rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tool__stat--main { background: var(--tint-yellow); border-color: var(--border); }
.tool__stat--bad strong { color: var(--danger); }
.tool__note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.tool-page { display: grid; gap: 40px; }
@media (min-width: 1024px) { .tool-page { grid-template-columns: minmax(0, 1fr) 300px; } }

/* ==========================================================================
   Glossywise — clean magazine layer
   White pages, ink type, one rose accent; quiet borders and generous spacing.
   ========================================================================== */
[hidden] { display: none !important; }
body { background: #fff; color: var(--text); font-size: 1.0625rem; }
a { color: var(--gloss-ink); }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; color: var(--navy); line-height: 1.15; }
:focus-visible { outline: 2px solid var(--gloss); outline-offset: 2px; box-shadow: none; border-radius: 4px; }
.wrap { max-width: var(--wrap); }
.section { padding-block: 48px; }
@media (min-width: 1024px) { .section { padding-block: 60px; } }
.section-head { align-items: center; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.section-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
.label-title { margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gloss-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: .95rem; text-decoration: none; }
.link-arrow:hover { color: var(--gloss-ink); }
.link-arrow svg { width: 16px; height: 16px; }
.eyebrow { color: var(--gloss-ink); font-weight: 800; letter-spacing: .12em; font-size: .74rem; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 700; border: 0; }
.btn--primary { background: var(--gloss); color: #fff; }
.btn--primary:hover { background: #9d174d; color: #fff; }
.btn--outline, .btn--ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn--outline:hover, .btn--ghost:hover { background: var(--navy); color: #fff; }
.btn svg { width: 1em; height: 1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); box-shadow: none; }
@supports (backdrop-filter: blur(10px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: -.045em; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 30px; height: 30px; }
.brand__accent { color: var(--gloss); }
.primary-nav a { position: relative; padding: 8px 12px; border-radius: 999px; color: var(--navy); font-weight: 650; font-size: .95rem; }
.primary-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-category-ancestor > a, .primary-nav .current-post-ancestor > a { color: var(--gloss-ink); background: #fdf2f8; }
@media (min-width: 1100px) { .primary-nav { margin-inline: auto; } .header-actions { margin-left: 0; } }
.icon-btn { color: var(--navy); border-radius: 999px; }
.icon-btn:hover { background: var(--bg-soft); }
.header-cta svg { width: 16px; height: 16px; }
.mobile-nav { background: rgba(17,24,39,.4); }
.mobile-nav__panel { background: #fff; }
.mobile-nav li a { color: var(--navy); font-weight: 700; border-bottom-color: var(--border); }
.mobile-nav__label { margin: 18px 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mobile-nav__helpers { list-style: none; margin: 0; padding: 0; }
.mobile-nav__helpers a { display: block; padding: 8px 0; color: var(--navy); font-weight: 600; text-decoration: none; border: 0; }
.search-overlay { background: rgba(17,24,39,.5); }
.search-overlay__box { border-radius: 16px; }
.search-overlay__head p { font-weight: 800; font-size: 1.1rem; }
.search-overlay__hints a { background: #fdf2f8; color: var(--gloss-ink); }
.search-form { background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 4px 4px 4px 16px; box-shadow: none; }
.search-form:focus-within { border-color: var(--gloss); box-shadow: 0 0 0 4px var(--glow); }
.search-form button.btn { border-radius: 999px; background: var(--navy); }

/* Top stories */
.top { padding-block: 32px 8px; }
.top__grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .top__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 44px; } }
.lead__media { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lead:hover .lead__media img { transform: scale(1.02); }
.lead__body { display: grid; gap: 10px; padding-top: 18px; }
.lead__title { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.035em; }
.lead__title a { color: var(--navy); text-decoration: none; }
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--gloss); }
.lead__excerpt { margin: 0; font-size: 1.1rem; color: var(--text); max-width: 62ch; }
.row__cat, .trending__cat { justify-self: start; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink, var(--gloss-ink)); text-decoration: none; }
a.row__cat:hover { text-decoration: underline; }
.row__meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; font-size: .85rem; color: var(--muted); }
.row__meta > * + *::before { content: "·"; margin: 0 8px; }
.row__meta > span:first-child { color: var(--navy); font-weight: 650; }
.trending { padding-top: 2px; }
@media (min-width: 1000px) { .trending { border-left: 1px solid var(--border); padding-left: 32px; } }
.trending__list { list-style: none; margin: 0; padding: 0; counter-reset: tr; }
.trending__item { counter-increment: tr; position: relative; display: grid; grid-template-columns: 1fr 84px; gap: 14px; align-items: start; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--border); }
.trending__item:first-child { padding-top: 4px; }
.trending__item::before { content: counter(tr); position: absolute; left: 0; top: 14px; font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--gloss); }
.trending__item:first-child::before { top: 2px; }
.trending__cat { display: block; margin-bottom: 4px; font-size: .7rem; }
.trending__title { margin: 0; font-size: 1.05rem; font-weight: 750; line-height: 1.3; letter-spacing: -.01em; }
.trending__title a { color: var(--navy); text-decoration: none; }
.trending__title a::after { content: ""; position: absolute; inset: 0; }
.trending__item:hover .trending__title a { color: var(--gloss-ink); }
.trending__item:focus-within { outline: 2px solid var(--gloss); outline-offset: 2px; border-radius: 6px; }
.trending__title a:focus-visible { outline: none; }
.trending__img { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.trending__img img { width: 100%; height: 100%; object-fit: cover; }

/* Topics strip */
.topics { margin-top: 30px; border-block: 1px solid var(--border); }
.topics__inner { display: flex; align-items: center; gap: 14px; padding-block: 12px; overflow-x: auto; }
.topics__label { flex: none; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.topics__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 2px; }
.topic { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--tint); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.topic:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.topic__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.topic__icon svg { width: 15px; height: 15px; }

/* Latest + sidebar */
.latest__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .latest__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.rows { display: grid; }
.row { position: relative; display: grid; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.row:first-child { padding-top: 0; }
@media (min-width: 640px) { .row { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; } }
.row__media { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.row:hover .row__media img { transform: scale(1.03); }
.row__body { display: grid; gap: 8px; align-content: start; }
.row__title { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.2; letter-spacing: -.02em; }
.row__title a { color: var(--navy); text-decoration: none; }
.row__title a:hover { color: var(--gloss-ink); }
.row__excerpt { margin: 0; color: var(--muted); font-size: .98rem; }
.latest__more { margin: 26px 0 0; }
.latest__side { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1000px) { .latest__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-box { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.popular { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--border); }
.popular li:first-child { border-top: 0; padding-top: 0; }
.popular li::before { content: counter(pop, decimal-leading-zero); font-weight: 900; color: #c4c6cf; }
.popular a { color: var(--navy); font-weight: 700; line-height: 1.35; text-decoration: none; }
.popular a:hover { color: var(--gloss-ink); }
.helper-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.helper { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--navy); text-decoration: none; transition: background .15s; }
.helper:hover { background: var(--tint); color: var(--navy); }
.helper__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--ink); }
.helper__icon svg { width: 20px; height: 20px; }
.helper strong { display: block; font-size: .95rem; }
.helper small { display: block; color: var(--muted); font-size: .84rem; }
.side-box--nl { background: #fdf2f8; border-color: #fbcfe8; }
.side-box--nl h2 { margin: 0 0 6px; font-size: 1.25rem; }
.side-box--nl p { margin: 0 0 14px; color: var(--text); font-size: .95rem; }

/* Cards (topic sections, archives, related) */
.card { background: #fff; border: 0; border-radius: 0; overflow: visible; box-shadow: none; transition: none; }
.card:hover { transform: none; box-shadow: none; }
.card:focus-within { outline: 2px solid var(--gloss); outline-offset: 4px; border-radius: 8px; }
.card__media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.card__media img { transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 14px 0 0; gap: 8px; }
.card__cat { justify-self: start; padding: 0; background: none; color: var(--ink, var(--gloss-ink)); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; position: relative; z-index: 2; }
.card__title { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }
.card__title a { color: var(--navy); }
.card__title a:hover { color: var(--gloss-ink); }
.card__excerpt { color: var(--muted); font-size: .95rem; }
.card__meta { margin: 0; justify-content: flex-start; gap: 4px 0; font-size: .82rem; color: var(--muted); }
.card__meta > * + *::before { content: "·"; margin: 0 8px; }
.card__by { color: var(--navy); font-weight: 650; }
.card--feature .card__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.card--list { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px 0; }
.card--list .card__media { width: 76px; aspect-ratio: 1; border-radius: 10px; }
.card--list .card__body { padding: 0; }
.card--list .card__title { font-size: 1rem; }
.card--list .card__num { display: none; }
.post-grid { gap: 32px 26px; }
.post-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.badge-draft { background: #fef3c7; color: #92400e; border-radius: 999px; }
.section--row .section-head h2 { display: inline-flex; align-items: center; gap: 10px; }
.section--row .section-head h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tone, var(--gloss)); }

/* Newsletter band */
.newsletter { background: #fdf2f8; border: 0; border-radius: 20px; box-shadow: none; color: var(--navy); }
.newsletter h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.newsletter p { color: var(--text); }
.nl-form input[type="email"] { border: 1.5px solid #f9a8d4; border-radius: 999px; background: #fff; color: var(--navy); }
.nl-form input[type="email"]:focus { outline: none; border-color: var(--gloss); box-shadow: 0 0 0 4px var(--glow); }
.newsletter .consent, .newsletter .form-msg.is-info { color: var(--muted); }

/* Footer */
.site-footer { margin-top: 40px; background: var(--navy); color: #d1d5db; border: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f9a8d4; }
.site-footer .brand { color: #fff; }
.site-footer .brand__accent { color: #f472b6; }
.footer-col h2 { font-family: var(--font); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #f9a8d4; }
.footer-col__lead { font-size: .92rem; }
.footer-about p { color: #d1d5db; }
.social a { border-radius: 50%; background: rgba(255,255,255,.08); border: 0; color: #fff; }
.social a:hover { background: var(--gloss); color: #fff; }
.site-footer .nl-form input[type="email"] { border-color: transparent; }
.site-footer .nl-form .btn--primary { background: var(--gloss); color: #fff; }
.site-footer .consent, .site-footer .form-msg.is-info { color: #9ca3af; }
.site-footer .form-msg.is-error { color: #fca5a5; }
.site-footer .form-msg.is-success { color: #86efac; }
.site-footer :focus-visible { outline-color: #f9a8d4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #9ca3af; }

/* Hubs & pages */
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--navy); }
.hub-hero, .page-hero, .search-head { background: var(--surface-2); border-bottom: 1px solid var(--border); padding-block: 30px 38px; }
.hub-hero { background: var(--tint, var(--surface-2)); }
.hub-hero__inner { background: none; border: 0; box-shadow: none; padding: 0; }
.hub-hero .eyebrow { color: var(--ink); }
.hub-hero h1, .page-hero h1, .search-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.04em; }
.hub-hero__desc { color: var(--text); }
.hub-hero__icon { width: 96px; height: 96px; padding: 22px; border-radius: 24px; background: #fff; color: var(--ink); border: 0; box-shadow: var(--shadow); }
.pill-nav a { background: #fff; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); font-weight: 650; }
.pill-nav a:hover { border-color: var(--navy); }
.hub-block h2 { font-size: 1.5rem; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: none; color: var(--text); }
.cat-card:hover { border-color: var(--navy); transform: none; box-shadow: none; color: var(--text); }
.cat-card__icon { color: var(--ink); }
.cat-card p { color: var(--muted); }
.pagination .page-numbers { border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.legal-banner, .calc__note { background: #fef3c7; border: 0; border-radius: 12px; color: #78350f; }
.placeholder-note, .entry-content mark.placeholder { background: #fde68a; color: #78350f; }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: none; }
.field input, .field select, .field textarea { border: 1.5px solid var(--border); border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gloss); box-shadow: 0 0 0 4px var(--glow); }
.notice { border-radius: 10px; }
.err-code { color: var(--gloss); }

/* Article */
.article-head { padding-block: 40px 8px; max-width: 820px; }
.article-head .card__cat { margin-bottom: 12px; }
.article-head h1 { font-size: clamp(2.1rem, 4.8vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em; }
.article-head .article-excerpt { font-size: 1.2rem; color: var(--text); }
.article-head .article-meta { border-bottom: 1px solid var(--border); }
.article-head .article-meta a { color: var(--navy); font-weight: 700; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.article-hero figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.article-layout { padding-top: 36px; }
@media (min-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; } }
.share a, .share button { border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--navy); }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; }
.entry-content { font-size: 1.125rem; line-height: 1.8; color: var(--text); }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.3rem; }
.entry-content a { color: var(--gloss-ink); text-decoration-color: rgba(219,39,119,.35); text-decoration-thickness: 2px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 22px; border: 0; border-left: 4px solid var(--gloss); background: none; color: var(--navy); font-size: 1.35rem; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; box-shadow: none; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: .85rem; font-style: normal; font-weight: 600; color: var(--muted); }
.entry-content pre { background: var(--navy); color: #f3f4f6; border-radius: 12px; padding: 16px 18px; overflow-x: auto; }
.entry-content code { background: var(--bg-soft); border-radius: 6px; padding: .05em .35em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content thead th { background: var(--navy); color: #fff; }
.entry-content .wp-block-table, .table-wrap { border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.entry-content ul.checklist li::before { background-color: var(--gloss); }
.entry-content ol.steps-list > li::before { background: #fdf2f8; color: var(--gloss-ink); border: 0; }
.callout { border: 0; border-radius: 14px; background: var(--surface-2); box-shadow: inset 4px 0 0 var(--gloss); }
.callout--note { background: var(--tint-sky); box-shadow: inset 4px 0 0 #3b82f6; }
.callout--warning { background: #fef3c7; box-shadow: inset 4px 0 0 #f59e0b; }
.proscons > div { border: 1px solid var(--border); border-radius: 14px; box-shadow: none; }
.proscons .pros { background: #f0fdf4; }
.proscons .cons { background: #fff1f2; }
.idea, .aff-box, .resource { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: none; }
.disclosure { background: #fef3c7; border: 0; border-radius: 12px; }
.fin-disclaimer { background: var(--surface-2); border: 1px solid var(--border); border-left: 4px solid var(--gloss); border-radius: 12px; }
.toc { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; box-shadow: none; }
.author-box { display: flex; align-items: flex-start; gap: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; box-shadow: none; }
.author-box > :not(div) { flex: none; }
.author-box > div { flex: 1 1 auto; min-width: 0; }
.author-box > div p { max-width: none; overflow-wrap: anywhere; }
@media (max-width: 420px) { .author-box { flex-direction: column; } }
.next-step { background: #fdf2f8; border: 0; border-radius: 16px; color: var(--navy); box-shadow: none; }
.next-step strong { color: var(--navy); font-size: 1.2rem; }
.next-step p { color: var(--text); }
.post-nav a { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: none; color: var(--navy); font-weight: 700; }
.post-nav a:hover { border-color: var(--navy); }
.tags a { border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.related { background: var(--surface-2); border-top: 1px solid var(--border); }

/* Sidebar (articles) */
.widget { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: none; }
.widget-title, .widget h2 { font-family: var(--font); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gloss-ink); }
.widget--cta { background: #fdf2f8; border-color: #fbcfe8; }
.widget--cta h2 { font-size: 1.2rem; letter-spacing: -.01em; text-transform: none; color: var(--navy); }
.widget--cta p { color: var(--text); }
.widget--toc a:hover, .widget--toc a.is-active { color: var(--gloss-ink); }
.mini { grid-template-columns: 60px 1fr; }
.mini img { width: 60px; height: 60px; border-radius: 10px; }
.mini a { color: var(--navy); font-weight: 700; }
.cat-list li a { color: var(--navy); }
.cat-list li + li { border-top-color: var(--border); }

/* Comments */
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; display: grid; gap: 6px; }
.comment-form label { font-weight: 650; font-size: .9rem; color: var(--navy); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; max-width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy); }
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gloss); box-shadow: 0 0 0 4px var(--glow); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form .submit { background: var(--gloss); color: #fff; border: 0; border-radius: 999px; min-height: 46px; padding: 10px 24px; font-weight: 700; cursor: pointer; justify-self: start; }
.comment-notes, .logged-in-as { font-size: .88rem; color: var(--muted); }

/* Tools hub list (questions) */
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ask { display: grid; gap: 10px; height: 100%; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--navy); text-decoration: none; transition: border-color .15s; }
.ask:hover { border-color: var(--navy); color: var(--navy); }
.ask__q { margin: 0; font-size: 1.3rem; }
.ask__desc { color: var(--muted); font-size: .95rem; }
.ask__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gloss-ink); font-size: .92rem; }
.ask__name svg { width: 15px; height: 15px; }
.tool-page { display: grid; gap: 40px; }
@media (min-width: 1100px) { .tool-page { grid-template-columns: minmax(0, 1fr) 300px; } }

/* Wizard (tools) */
.wiz { max-width: 660px; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.wiz__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.wiz__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.wiz__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gloss); transition: width .3s ease; }
.wiz__count { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.wiz__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.wiz__q { padding: 0; margin: 0 0 8px; font-size: clamp(1.45rem, 3.4vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--navy); }
.wiz__label { font-weight: 650; font-size: .9rem; color: var(--navy); margin-top: 6px; }
.wiz__input { width: 100%; min-height: 52px; padding: 10px 16px; border: 1.5px solid #d1d5db; border-radius: 12px; background: #fff; color: var(--navy); font: inherit; font-size: 1.15rem; }
.wiz__input:focus { outline: none; border-color: var(--gloss); box-shadow: 0 0 0 4px var(--glow); }
.wiz__input--sm { max-width: 180px; }
.wiz__input--num { width: 84px; text-align: center; }
.wiz__money { display: flex; align-items: center; gap: 10px; }
.wiz__money span { font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.wiz__money--after span { font-weight: 600; font-size: 1rem; color: var(--muted); }
.wiz__hint { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.wiz__error { margin: 12px 0 0; color: var(--danger); font-weight: 650; }
.wiz__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.wiz__nav [data-wiz-next] { margin-left: auto; }
.wiz__check { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; cursor: pointer; }
.wiz__check input { width: 20px; height: 20px; accent-color: var(--gloss); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid #d1d5db; background: #fff; font-weight: 700; color: var(--navy); cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill:has(input:focus-visible) { outline: 2px solid var(--gloss); outline-offset: 2px; }
.wiz__custom { margin-top: 6px; display: grid; gap: 8px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper__b { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #d1d5db; background: #fff; color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.stepper__b:hover { border-color: var(--navy); }
.ticket { padding: 24px; border-radius: 16px; background: #fdf2f8; color: var(--navy); }
.ticket__label { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gloss-ink); }
.ticket__big { margin: 6px 0 0; font-size: clamp(2.2rem, 7vw, 3.2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.ticket__big:focus { outline: none; }
.ticket__sub { margin: 6px 0 0; font-size: 1.15rem; font-weight: 650; }
.ticket__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px 18px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #fbcfe8; }
.ticket__rows dt { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ticket__rows dd { margin: 2px 0 0; font-weight: 750; font-size: 1.05rem; }
.ticket__note { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff; font-size: .94rem; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ticket__status { margin: 10px 0 0; font-size: .88rem; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .wiz__bar i { transition: none; } }

@media (prefers-reduced-motion: reduce) { .lead:hover .lead__media img, .row:hover .row__media img, .card:hover .card__media img { transform: none; } }
@media print {
	.site-header, .site-footer, .sidebar, .share, .newsletter, .ad-slot, .next-step, .post-nav, .related { display: none !important; }
	.article-layout { display: block; }
}
.newsletter .consent, .newsletter .consent a, .newsletter .form-msg.is-info { color: #4b5563; }
.hub-hero .breadcrumbs a, .hub-hero .breadcrumbs, .hub-hero .breadcrumbs li + li::before { color: #374151; }
