/* ==========================================================================
   FinancePress — main stylesheet
   Mobile-first. Design tokens are CSS custom properties; brand colours and
   fonts are injected from the Customizer (inc/enqueue.php).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--fp-primary: #0b1f3a;
	--fp-primary-700: #08172b;
	--fp-primary-100: #e7e9eb;
	--fp-secondary: #0e6b4f;
	--fp-secondary-50: #eaf3ef;
	--fp-accent: #c9a227;
	--fp-accent-soft: #f4ecd2;
	--fp-bg: #f7f5f0;
	--fp-text: #16202e;
	--fp-footer-bg: #07152a;
	--fp-font-heading: "Newsreader", Georgia, serif;
	--fp-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--fp-base: 17px;
	--fp-logo-width: 190px;

	--fp-surface: #ffffff;
	--fp-surface-2: #efece4;
	--fp-border: #e3ded2;
	--fp-border-strong: #cfcabb;
	--fp-muted: #5a6474;
	--fp-heading: var(--fp-primary);
	--fp-link: var(--fp-secondary);
	--fp-accent-ink: #8a6a0c;
	--fp-up: #0f7a4f;
	--fp-down: #b42318;
	--fp-on-dark: #f5f3ea;
	--fp-on-dark-muted: #b9c2cf;

	--fp-radius-sm: 6px;
	--fp-radius: 10px;
	--fp-radius-lg: 16px;
	--fp-shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
	--fp-shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 12px 32px -18px rgba(11, 31, 58, .28);
	--fp-shadow-lg: 0 2px 6px rgba(11, 31, 58, .06), 0 30px 60px -24px rgba(11, 31, 58, .35);
	--fp-ease: cubic-bezier(.2, .7, .2, 1);
	--fp-container: 1240px;
	--fp-gutter: 20px;
	--fp-header-h: 68px;
}

html[data-theme="dark"] {
	--fp-bg: #0a1422;
	--fp-text: #dfe5ee;
	--fp-surface: #0f1c2f;
	--fp-surface-2: #0c1828;
	--fp-border: #1d2c43;
	--fp-border-strong: #2a3d5a;
	--fp-muted: #97a5b9;
	--fp-heading: #f2f4f8;
	--fp-link: #4cc59a;
	--fp-accent-ink: var(--fp-accent);
	--fp-up: #3ccf8e;
	--fp-down: #ff7a70;
	--fp-secondary-50: #0f2a23;
	--fp-accent-soft: #2b2512;
	--fp-primary-100: #13233a;
	--fp-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--fp-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 30px -14px rgba(0, 0, 0, .7);
	--fp-shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--fp-header-h) + 16px); }
body {
	margin: 0;
	background: var(--fp-bg);
	color: var(--fp-text);
	font-family: var(--fp-font-body);
	font-size: var(--fp-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.fp-locked { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--fp-link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--fp-ease); }
a:hover { color: var(--fp-accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--fp-font-heading); color: var(--fp-heading); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--fp-accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--fp-accent); color: #111; }

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

.fp-container { width: 100%; max-width: var(--fp-container); margin-inline: auto; padding-inline: var(--fp-gutter); }
.fp-container--narrow { max-width: 860px; }

.fp-icon { flex-shrink: 0; width: 1.15em; height: 1.15em; vertical-align: -.2em; }

/* WordPress core classes */
.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, figcaption { font-size: .82em; color: var(--fp-muted); margin-top: .6em; text-align: center; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

/* ---------- 3. Buttons, chips, badges ---------- */
.fp-btn {
	--btn-bg: var(--fp-primary); --btn-fg: #fff; --btn-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .78em 1.35em; border-radius: 999px; border: 1.5px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: .92rem; line-height: 1.1;
	text-decoration: none; white-space: nowrap; transition: transform .2s var(--fp-ease), box-shadow .2s var(--fp-ease), background .2s, color .2s;
}
.fp-btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(11, 31, 58, .5); }
.fp-btn:active { transform: translateY(0); }
.fp-btn .fp-icon { transition: transform .2s var(--fp-ease); }
.fp-btn:hover .fp-icon-arrow-right { transform: translateX(3px); }
.fp-btn--primary { --btn-bg: var(--fp-secondary); }
.fp-btn--accent { --btn-bg: var(--fp-accent); --btn-fg: #14110a; }
.fp-btn--light { --btn-bg: #fff; --btn-fg: var(--fp-primary); }
.fp-btn--outline { --btn-bg: transparent; --btn-fg: var(--fp-heading); --btn-bd: var(--fp-border-strong); }
.fp-btn--outline:hover { --btn-bd: var(--fp-heading); }
.fp-btn--ghost { --btn-bg: var(--fp-surface-2); --btn-fg: var(--fp-heading); }
.fp-btn--sm { padding: .6em 1.05em; font-size: .85rem; }
.fp-btn--block { width: 100%; }
.fp-btn[disabled], .fp-btn.is-loading { opacity: .65; pointer-events: none; }

.fp-icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 0; background: transparent; color: var(--fp-heading); transition: background .2s, color .2s, transform .2s;
}
.fp-icon-btn:hover { background: var(--fp-surface-2); color: var(--fp-secondary); }
.fp-icon-btn .fp-icon { width: 21px; height: 21px; }
.fp-icon-btn--soft { background: var(--fp-surface-2); }

.fp-kicker {
	font-family: var(--fp-font-body); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--fp-secondary); margin: 0 0 .5rem; display: inline-flex; align-items: center; gap: .55em;
}
.fp-kicker::before { content: ""; width: 22px; height: 2px; background: var(--fp-accent); border-radius: 2px; }

.fp-badge {
	--fp-cat-c: var(--fp-cat, var(--fp-secondary));
	display: inline-flex; align-items: center; padding: .32em .75em; border-radius: 999px;
	background: var(--fp-cat-c); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; line-height: 1.2; transition: filter .2s;
}
.fp-badge:hover { color: #fff; filter: brightness(1.12); }
.fp-badge--text { background: none; color: var(--fp-cat-c); padding: 0; }
html[data-theme="dark"] .fp-badge--text { color: var(--fp-link); }
.fp-badge--text:hover { color: var(--fp-accent); }
.fp-badge--light { background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); }

.fp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.fp-chip {
	display: inline-flex; align-items: center; gap: .45em; padding: .45em .95em; border-radius: 999px;
	background: var(--fp-surface); border: 1px solid var(--fp-border); color: var(--fp-heading);
	font-size: .84rem; font-weight: 500; text-decoration: none; transition: all .2s var(--fp-ease);
}
.fp-chip .fp-icon { color: var(--fp-cat, var(--fp-secondary)); }
html[data-theme="dark"] .fp-chip .fp-icon { color: var(--fp-link); }
.fp-chip:hover, .fp-chip.is-active { border-color: var(--fp-secondary); color: var(--fp-secondary); background: var(--fp-secondary-50); }
.fp-chips--light .fp-chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.fp-chips--light .fp-chip:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.fp-link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--fp-link); }
.fp-link-arrow .fp-icon { transition: transform .2s var(--fp-ease); }
.fp-link-arrow:hover .fp-icon { transform: translateX(4px); }
.fp-link-arrow--light { color: var(--fp-accent); }

.fp-hint { font-size: .85rem; color: var(--fp-muted); }
.fp-up { color: var(--fp-up); }
.fp-down { color: var(--fp-down); }

/* ---------- 4. Reading progress ---------- */
.fp-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1001; pointer-events: none; }
.fp-progress__bar { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--fp-secondary), var(--fp-accent)); }

/* ---------- 5. Top bar & ticker ---------- */
.fp-topbar { background: var(--fp-primary-700); color: var(--fp-on-dark-muted); font-size: .8rem; }
html[data-theme="dark"] .fp-topbar { background: #060f1b; }
.fp-topbar__inner { display: flex; align-items: center; gap: 1rem; min-height: 38px; }
.fp-topbar__date { display: none; align-items: center; gap: .45em; white-space: nowrap; }
.fp-topbar__end { display: none; align-items: center; gap: 1rem; margin-left: auto; }
.fp-topbar__menu { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.fp-topbar__menu a { color: var(--fp-on-dark-muted); text-decoration: none; }
.fp-topbar__menu a:hover { color: #fff; }

.fp-ticker { display: flex; align-items: center; gap: .75rem; min-width: 0; flex: 1; }
.fp-ticker__label { display: inline-flex; align-items: center; gap: .5em; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; white-space: nowrap; }
.fp-ticker__viewport { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.fp-ticker__track { display: flex; width: max-content; animation: fp-ticker 55s linear infinite; }
.fp-ticker:hover .fp-ticker__track, .fp-ticker:focus-within .fp-ticker__track { animation-play-state: paused; }
.fp-ticker__list { list-style: none; display: flex; margin: 0; padding: 0; }
.fp-ticker__list li { white-space: nowrap; padding-right: 2.25rem; position: relative; }
.fp-ticker__list li::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--fp-accent); opacity: .6; }
.fp-ticker__list a { color: #e8ecf2; text-decoration: none; }
.fp-ticker__list a:hover { color: var(--fp-accent); }
.fp-ticker__name { color: #fff; font-weight: 600; }
.fp-ticker__chg.fp-up { color: #5fe0a5; }
.fp-ticker__chg.fp-down { color: #ff8d84; }
@keyframes fp-ticker { to { transform: translateX(-50%); } }

/* ---------- 6. Header & navigation ---------- */
.fp-header {
	position: relative; z-index: 100; background: color-mix(in srgb, var(--fp-surface) 92%, transparent);
	border-bottom: 1px solid var(--fp-border); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	transition: box-shadow .25s var(--fp-ease), background .25s;
}
.fp-sticky-header .fp-header { position: sticky; top: 0; }
.admin-bar.fp-sticky-header .fp-header { top: 46px; }
@media (min-width: 783px) { .admin-bar.fp-sticky-header .fp-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar.fp-sticky-header .fp-header { top: 0; } }
.fp-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 31, 58, .45); }
@media (min-width: 1100px) {
	.fp-header-center .fp-header.is-scrolled .fp-masthead-meta { visibility: hidden; }
}
.fp-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--fp-header-h); }

.fp-brand { display: flex; align-items: center; gap: .65rem; min-width: 0; margin-right: auto; flex-shrink: 0; }
.fp-brand .custom-logo-link { display: block; }
.fp-brand .custom-logo { max-width: var(--fp-logo-width); max-height: 52px; width: auto; }
.fp-brand__mark-link { display: block; flex-shrink: 0; }
.fp-brand__mark { width: 38px; height: 38px; }
.fp-brand__text { min-width: 0; }
.fp-brand__name { font-family: var(--fp-font-heading); font-size: 1.4rem; font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.fp-brand__name a { color: var(--fp-heading); text-decoration: none; }
.fp-brand__tagline { margin: 2px 0 0; font-size: .74rem; color: var(--fp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fp-nav { display: none; }
.fp-masthead-meta { display: none; }
.fp-header__actions { display: flex; align-items: center; gap: .25rem; }
.fp-header__cta { display: none; }
.fp-mode-toggle__sun { display: none; }
html[data-theme="dark"] .fp-mode-toggle__sun { display: block; }
html[data-theme="dark"] .fp-mode-toggle__moon { display: none; }

/* Desktop menu */
.fp-menu { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; gap: .1rem; }
.fp-menu > li { position: relative; display: flex; align-items: center; }
.fp-menu > li > a {
	display: block; padding: .55rem .7rem; color: var(--fp-heading); text-decoration: none; font-weight: 600; font-size: .9rem;
	border-radius: var(--fp-radius-sm); position: relative; white-space: nowrap;
}
.fp-menu > li > a::after {
	content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--fp-accent);
	transform: scaleX(0); transform-origin: left; transition: transform .25s var(--fp-ease);
}
.fp-menu > li:hover > a::after, .fp-menu > li.current-menu-item > a::after, .fp-menu > li.current-menu-ancestor > a::after, .fp-menu > li > a:focus-visible::after { transform: scaleX(1); }
.fp-menu > li.menu-item-has-children > a { padding-right: .2rem; }
.fp-submenu-toggle { border: 0; background: none; padding: .3rem; color: var(--fp-muted); display: inline-grid; place-items: center; border-radius: 6px; }
.fp-submenu-toggle .fp-icon { width: 15px; height: 15px; transition: transform .25s var(--fp-ease); }
.fp-menu li:hover > .fp-submenu-toggle .fp-icon, .fp-submenu-toggle[aria-expanded="true"] .fp-icon { transform: rotate(180deg); }

.fp-menu .sub-menu {
	list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
	background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: var(--fp-radius); box-shadow: var(--fp-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--fp-ease), transform .2s var(--fp-ease), visibility .2s; z-index: 50;
}
.fp-menu .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.fp-menu li:hover > .sub-menu, .fp-menu li:focus-within > .sub-menu, .fp-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.fp-menu .sub-menu li { position: relative; }
.fp-menu .sub-menu a { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: var(--fp-radius-sm); color: var(--fp-text); text-decoration: none; font-size: .9rem; }
.fp-menu .sub-menu a:hover { background: var(--fp-surface-2); color: var(--fp-secondary); }
.fp-menu .sub-menu .sub-menu { top: -.5rem; left: 100%; }
.fp-menu > li:nth-last-child(-n+2):not(.mega-menu) > .sub-menu { left: auto; right: 0; }
.fp-menu > li:nth-last-child(-n+2) .sub-menu .sub-menu { left: auto; right: 100%; }
.fp-menu .sub-menu .fp-submenu-toggle { position: absolute; right: .4rem; top: .45rem; transform: rotate(-90deg); }

/* Mega menu */
.fp-menu > li.mega-menu { position: static; }
.fp-menu .fp-mega {
	left: 50%; right: auto; width: min(960px, calc(100vw - 40px)); transform: translate(-50%, 8px);
	display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; padding: 1rem;
	background:
		radial-gradient(600px 200px at 100% 0, var(--fp-accent-soft), transparent 70%),
		var(--fp-surface);
}
.fp-menu li:hover > .fp-mega, .fp-menu li:focus-within > .fp-mega, .fp-menu li.is-open > .fp-mega { transform: translate(-50%, 0); }
.fp-mega > li > a { align-items: flex-start !important; padding: .8rem !important; flex-wrap: wrap; }
.fp-mega__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--fp-secondary-50); color: var(--fp-secondary); flex-shrink: 0; }
html[data-theme="dark"] .fp-mega__icon { color: var(--fp-link); }
.fp-mega > li > a:hover .fp-mega__icon { background: var(--fp-secondary); color: #fff; }
.fp-mega__desc { flex-basis: 100%; padding-left: calc(36px + .6rem); margin-top: -.6rem; font-size: .78rem; color: var(--fp-muted); line-height: 1.4; }
.fp-mega > li > a .fp-mega__icon + * { font-weight: 600; }

/* ---------- 7. Drawer (mobile) ---------- */
.fp-drawer { position: fixed; inset: 0; z-index: 2000; }
.fp-drawer__backdrop, .fp-search__backdrop, .fp-popup__backdrop { position: absolute; inset: 0; background: rgba(5, 12, 24, .55); backdrop-filter: blur(3px); animation: fp-fade .25s var(--fp-ease); }
.fp-drawer__panel {
	position: absolute; inset: 0 0 0 auto; width: min(400px, 92vw); background: var(--fp-surface); display: flex; flex-direction: column;
	box-shadow: var(--fp-shadow-lg); animation: fp-slide-in .3s var(--fp-ease); overflow-y: auto; overscroll-behavior: contain;
}
.fp-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--fp-border); }
.fp-drawer__head .fp-brand__tagline { display: none; }
.fp-drawer__search { display: flex; align-items: center; gap: .5rem; margin: 1rem 1.25rem; padding: .2rem .9rem; border-radius: 999px; background: var(--fp-surface-2); border: 1px solid var(--fp-border); }
.fp-drawer__search input { border: 0; background: none; width: 100%; padding: .6rem 0; outline: none; }
.fp-drawer__nav { padding: 0 1.25rem; flex: 1; }
.fp-mobile-menu, .fp-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.fp-mobile-menu li { position: relative; border-bottom: 1px solid var(--fp-border); display: flex; flex-wrap: wrap; align-items: center; }
.fp-mobile-menu a { flex: 1; display: flex; align-items: center; gap: .6rem; padding: .85rem 0; color: var(--fp-heading); text-decoration: none; font-weight: 600; }
.fp-mobile-menu .fp-submenu-toggle { width: 40px; height: 40px; }
.fp-mobile-menu .sub-menu { display: none; flex-basis: 100%; padding-left: .9rem; border-left: 2px solid var(--fp-accent); margin-bottom: .6rem; }
.fp-mobile-menu li.is-open > .sub-menu { display: block; }
.fp-mobile-menu li.is-open > .fp-submenu-toggle .fp-icon { transform: rotate(180deg); }
.fp-mobile-menu .sub-menu li { border: 0; }
.fp-mobile-menu .sub-menu a { font-weight: 500; padding: .55rem 0; font-size: .95rem; }
.fp-mobile-menu .fp-mega__desc { display: none; }
.fp-mobile-menu .fp-mega__icon { width: 28px; height: 28px; border-radius: 8px; }
.fp-drawer__foot { padding: 1.25rem; display: grid; gap: 1rem; border-top: 1px solid var(--fp-border); }
@keyframes fp-slide-in { from { transform: translateX(100%); } }
@keyframes fp-fade { from { opacity: 0; } }
@keyframes fp-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- 8. Search overlay ---------- */
.fp-search { position: fixed; inset: 0; z-index: 2000; }
.fp-search__panel { position: relative; background: var(--fp-surface); padding: 1.25rem 0 2rem; box-shadow: var(--fp-shadow-lg); animation: fp-drop .3s var(--fp-ease); max-height: 100vh; overflow-y: auto; }
@keyframes fp-drop { from { transform: translateY(-30px); opacity: 0; } }
.fp-search__top { display: flex; align-items: center; gap: .75rem; }
.fp-search__form { flex: 1; display: flex; align-items: center; gap: .6rem; padding: .35rem .35rem .35rem 1.1rem; border: 2px solid var(--fp-border); border-radius: 999px; background: var(--fp-bg); transition: border-color .2s; }
.fp-search__form:focus-within { border-color: var(--fp-secondary); }
.fp-search__form .fp-icon { width: 22px; height: 22px; color: var(--fp-muted); }
.fp-search__form input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1.1rem; padding: .55rem 0; }
.fp-search__form .fp-btn { display: none; }
.fp-search__results { margin-top: 1rem; display: grid; gap: .25rem; }
.fp-search__result { display: flex; align-items: center; gap: .9rem; padding: .6rem; border-radius: var(--fp-radius-sm); text-decoration: none; color: var(--fp-heading); }
.fp-search__result:hover, .fp-search__result:focus { background: var(--fp-surface-2); }
.fp-search__result img, .fp-search__result .fp-search__ph { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--fp-primary-100); }
.fp-search__result strong { display: block; font-family: var(--fp-font-heading); font-size: 1.02rem; line-height: 1.3; }
.fp-search__result small { color: var(--fp-muted); font-size: .78rem; }
.fp-search__msg { color: var(--fp-muted); padding: .5rem; margin: 0; }
.fp-search__trending { margin-top: 1.5rem; }

/* ---------- 9. Sections ---------- */
.fp-section { padding-block: clamp(2.75rem, 6vw, 4.75rem); position: relative; }
.fp-section--tint { background: var(--fp-surface-2); }
.fp-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; padding-top: 1rem; border-top: 2px solid var(--fp-heading); }
.fp-section__head .fp-kicker::before { display: none; }
.fp-section__head .fp-kicker { color: var(--fp-accent-ink); letter-spacing: .18em; }
.fp-desk .fp-section__head .fp-kicker, .fp-split__intro .fp-kicker { color: var(--fp-accent); }
.fp-section__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 0; letter-spacing: -.02em; }
.fp-section__title--sm { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .6rem; }
.fp-section__title--sm::after { content: ""; flex: 1; height: 1px; background: var(--fp-border); }
.fp-section__head--light .fp-section__title { color: #fff; }

/* ---------- 10. Grids & cards ---------- */
.fp-grid { display: grid; gap: 2.25rem 1.75rem; grid-template-columns: 1fr; }
.fp-grid__ad { grid-column: 1 / -1; }

.fp-card { display: flex; flex-direction: column; background: transparent; }
.fp-card__media { border-radius: var(--fp-radius); overflow: hidden; }
.fp-card__media { position: relative; }
.fp-card__badge { position: absolute; left: .9rem; top: .9rem; z-index: 1; }
.fp-card__read { position: absolute; right: .9rem; bottom: .9rem; z-index: 1; display: inline-flex; align-items: center; gap: .3em; padding: .3em .65em; border-radius: 999px; background: rgba(7, 18, 34, .72); color: #fff; font-size: .72rem; font-weight: 600; backdrop-filter: blur(6px); pointer-events: none; }
.fp-card__body { padding: 1rem 0 0; display: flex; flex-direction: column; flex: 1; }
.fp-card__title { font-size: 1.3rem; line-height: 1.25; margin: 0 0 .55rem; letter-spacing: -.01em; }
.fp-card__title a { color: var(--fp-heading); text-decoration: none; background-image: linear-gradient(var(--fp-accent), var(--fp-accent)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--fp-ease); }
.fp-card:hover .fp-card__title a, .fp-card__title a:focus { background-size: 100% 2px; }
.fp-card__excerpt { color: var(--fp-muted); font-size: .92rem; line-height: 1.6; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fp-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .75rem; border-top: 1px solid var(--fp-border); }
.fp-card__more { font-size: .82rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3em; color: var(--fp-link); }
.fp-card__more .fp-icon { transition: transform .2s var(--fp-ease); }
.fp-card:hover .fp-card__more .fp-icon { transform: translateX(3px); }
.fp-card--feature .fp-card__title { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }

/* Thumbnails */
.fp-thumb { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fp-primary-100); }
.fp-thumb__img, .fp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fp-ease); }
.fp-card:hover .fp-thumb img, .fp-hcard:hover .fp-thumb img, .fp-editors__lead:hover .fp-thumb img { transform: scale(1.05); }
.fp-thumb--fallback {
	display: grid; place-items: center;
	background:
		linear-gradient(transparent 95%, rgba(255, 255, 255, .06) 95%) 0 0 / 100% 24px,
		linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, .06) 95%) 0 0 / 24px 100%,
		linear-gradient(135deg, var(--fp-primary), color-mix(in srgb, var(--fp-cat, var(--fp-secondary)) 70%, var(--fp-primary)));
}
.fp-thumb__art { color: var(--fp-accent); opacity: .9; }
.fp-thumb__art .fp-icon { width: 54px; height: 54px; stroke-width: 1.2; }

/* Meta */
.fp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; font-size: .8rem; color: var(--fp-muted); }
.fp-meta a { color: var(--fp-heading); text-decoration: none; font-weight: 600; }
.fp-meta a:hover { color: var(--fp-secondary); }
.fp-meta__author { display: inline-flex; align-items: center; gap: .45rem; }
.fp-meta__avatar { width: 24px; height: 24px; border-radius: 50%; }
.fp-meta__read, .fp-meta__views { display: inline-flex; align-items: center; gap: .3em; }
.fp-meta__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--fp-border-strong); }
.fp-meta--light, .fp-meta--light a { color: rgba(255, 255, 255, .82); }
.fp-meta--light .fp-meta__sep { background: rgba(255, 255, 255, .4); }

/* Horizontal card */
.fp-hcard { display: grid; grid-template-columns: 110px 1fr; gap: 1.1rem; align-items: start; padding: 0 0 1.1rem; border-bottom: 1px solid var(--fp-border); }
.fp-hcard:last-child { border-bottom: 0; }
.fp-hcard__media .fp-thumb { border-radius: var(--fp-radius-sm); }
.fp-hcard__media .fp-thumb { border-radius: 10px; aspect-ratio: 1; }
.fp-hcard__media .fp-thumb__art .fp-icon { width: 32px; height: 32px; }
.fp-hcard__body .fp-badge { font-size: .66rem; }
.fp-hcard__title { font-size: 1.04rem; line-height: 1.32; margin: .3rem 0 .35rem; }
.fp-hcard__title a { color: var(--fp-heading); text-decoration: none; }
.fp-hcard__title a:hover { color: var(--fp-secondary); }
.fp-hcard__excerpt { font-size: .86rem; color: var(--fp-muted); margin: 0 0 .5rem; line-height: 1.5; }

/* Mini list item */
.fp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; counter-reset: fp; }
.fp-mini { display: grid; grid-template-columns: 76px 1fr; gap: .85rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--fp-border); position: relative; }
.fp-list > .fp-mini:last-child { border-bottom: 0; }
.fp-mini__media .fp-thumb { border-radius: 10px; aspect-ratio: 4 / 3; }
.fp-mini__media .fp-thumb__art .fp-icon { width: 26px; height: 26px; }
.fp-mini__cat { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fp-cat, var(--fp-secondary)); margin-bottom: .15rem; }
html[data-theme="dark"] .fp-mini__cat { color: var(--fp-link); }
.fp-mini__title { display: block; font-family: var(--fp-font-heading); font-weight: 600; font-size: .98rem; line-height: 1.32; color: var(--fp-heading); text-decoration: none; }
.fp-mini__title:hover { color: var(--fp-secondary); }
.fp-mini__meta { display: block; font-size: .74rem; color: var(--fp-muted); margin-top: .25rem; }
.fp-list--numbered .fp-mini { grid-template-columns: 34px 76px 1fr; counter-increment: fp; }
.fp-list--numbered .fp-mini::before { content: counter(fp, decimal-leading-zero); font-family: var(--fp-font-heading); font-size: 1.35rem; font-weight: 700; color: var(--fp-accent); line-height: 1; }
.fp-list--cards { gap: 1rem; }
.fp-list--cards .fp-mini { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: var(--fp-radius); padding: .8rem; }

/* ---------- 11. Top stories ---------- */
.fp-top { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem); background: var(--fp-bg); }
.fp-top__bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.fp-top__label { font-family: var(--fp-font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fp-heading); margin: 0; white-space: nowrap; }
.fp-top__rule { flex: 1; height: 1px; background: var(--fp-border-strong); }
.fp-top__date { font-size: .78rem; color: var(--fp-muted); white-space: nowrap; }
.fp-top__grid { display: grid; gap: 2rem; }
.fp-lead__media { display: block; border-radius: var(--fp-radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--fp-primary-100); }
.fp-lead__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--fp-ease); }
.fp-lead:hover .fp-lead__img { transform: scale(1.03); }
.fp-lead__body { padding-top: 1.1rem; }
.fp-lead__kicker { font-size: .72rem; }
.fp-lead__title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; margin: .5rem 0 .75rem; }
.fp-lead__title a, .fp-second__title a, .fp-rail__link { color: var(--fp-heading); text-decoration: none; background-image: linear-gradient(var(--fp-accent), var(--fp-accent)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--fp-ease); }
.fp-lead__title a:hover, .fp-second__title a:hover, .fp-rail__link:hover { background-size: 100% 2px; color: var(--fp-heading); }
.fp-lead__dek { font-family: var(--fp-font-heading); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.5; color: var(--fp-muted); margin: 0 0 1rem; }
.fp-top__second { display: grid; gap: 1.75rem; align-content: start; }
.fp-second .fp-thumb { border-radius: var(--fp-radius-sm); margin-bottom: .8rem; }
.fp-second__title { font-size: 1.22rem; line-height: 1.28; margin: .35rem 0 .5rem; }
.fp-second + .fp-second { padding-top: 1.75rem; border-top: 1px solid var(--fp-border); }
.fp-rail { align-self: start; }
.fp-rail__title { display: flex; align-items: center; gap: .55rem; font-family: var(--fp-font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--fp-heading); }
.fp-rail__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.fp-rail__list li { position: relative; padding: .9rem 0 .9rem 1.1rem; border-bottom: 1px solid var(--fp-border); }
.fp-rail__list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--fp-accent); background: var(--fp-bg); }
.fp-rail__list li::after { content: ""; position: absolute; left: 4px; top: 1.95rem; bottom: -1.2rem; width: 1px; background: var(--fp-border-strong); }
.fp-rail__list li:last-child::after { display: none; }
.fp-rail__time { display: block; font-size: .72rem; font-weight: 700; color: var(--fp-secondary); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
html[data-theme="dark"] .fp-rail__time { color: var(--fp-link); }
.fp-rail__link { font-family: var(--fp-font-heading); font-weight: 600; font-size: 1.04rem; line-height: 1.32; display: inline; }
.fp-rail__cat { display: block; margin-top: .2rem; font-size: .72rem; color: var(--fp-muted); }
.fp-live-dot { display: inline-block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #d64545; box-shadow: 0 0 0 0 rgba(214, 69, 69, .6); animation: fp-pulse 2s infinite; }
@keyframes fp-pulse { 70% { box-shadow: 0 0 0 8px rgba(214, 69, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 69, 69, 0); } }

/* ---------- 12. Trending topics ---------- */
.fp-trending { padding-block: 1.25rem; background: var(--fp-surface); border-top: 1px solid var(--fp-border); border-bottom: 1px solid var(--fp-border); }
.fp-trending__inner { display: grid; gap: 1rem; }
.fp-trending__title { font-family: var(--fp-font-body); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-heading); margin: 0; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.fp-trending__title .fp-icon { color: var(--fp-secondary); }
.fp-trending__list { list-style: none; margin: 0; padding: 0 0 .25rem; display: flex; gap: .65rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.fp-trending__list li { scroll-snap-align: start; flex-shrink: 0; }
.fp-topic { display: flex; align-items: center; gap: .55rem; padding: .55rem .9rem .55rem .6rem; border-radius: 14px; background: var(--fp-bg); border: 1px solid var(--fp-border); color: var(--fp-heading); text-decoration: none; font-weight: 600; font-size: .88rem; transition: all .25s var(--fp-ease); }
.fp-topic:hover { border-color: var(--fp-cat, var(--fp-secondary)); transform: translateY(-2px); box-shadow: var(--fp-shadow); color: var(--fp-heading); }
.fp-topic__rank { font-size: .7rem; color: var(--fp-muted); font-weight: 700; }
.fp-topic__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--fp-cat, var(--fp-secondary)) 14%, transparent); color: var(--fp-cat, var(--fp-secondary)); }
html[data-theme="dark"] .fp-topic__icon { color: var(--fp-link); }
.fp-topic__count { font-size: .7rem; color: var(--fp-muted); background: var(--fp-surface-2); padding: .1em .5em; border-radius: 999px; }

/* ---------- 13. Filter ---------- */
.fp-filter { max-width: 100%; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 2rem; }
.fp-filter .fp-chips { flex-wrap: nowrap; }
.fp-filter .fp-chip { white-space: nowrap; }

/* ---------- 14. Load more & pagination ---------- */
.fp-loadmore { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.js .fp-pagination--has-loadmore { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fp-pagination { margin-top: 2.5rem; }
.fp-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0; padding: 0; }
.fp-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem; border-radius: 12px; border: 1px solid var(--fp-border); background: var(--fp-surface); color: var(--fp-heading); text-decoration: none; font-weight: 600; font-size: .9rem; transition: all .2s; }
.fp-pagination a.page-numbers:hover { border-color: var(--fp-secondary); color: var(--fp-secondary); }
.fp-pagination .current { background: var(--fp-primary); color: #fff; border-color: var(--fp-primary); }
html[data-theme="dark"] .fp-pagination .current { background: var(--fp-secondary); border-color: var(--fp-secondary); }
.fp-pagination .dots { border: 0; background: none; }

/* ---------- 15. Category cards ---------- */
.fp-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.fp-catcard {
	--c: var(--fp-cat, var(--fp-secondary));
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .35rem; padding: 1.3rem; min-height: 180px;
	border-radius: var(--fp-radius); background: var(--fp-surface); border: 1px solid var(--fp-border); text-decoration: none; color: var(--fp-text);
	transition: transform .3s var(--fp-ease), box-shadow .3s var(--fp-ease), border-color .3s;
}
.fp-catcard:hover { transform: translateY(-3px); box-shadow: var(--fp-shadow); border-color: var(--c); color: var(--fp-text); }
.fp-catcard__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); margin-bottom: .45rem; transition: all .3s var(--fp-ease); }
html[data-theme="dark"] .fp-catcard__icon { color: var(--fp-link); }
.fp-catcard:hover .fp-catcard__icon { background: var(--c); color: #fff; }
.fp-catcard__icon .fp-icon { width: 24px; height: 24px; }
.fp-catcard__name { font-family: var(--fp-font-heading); font-size: 1.18rem; font-weight: 600; color: var(--fp-heading); line-height: 1.25; }
.fp-catcard__desc { font-size: .83rem; color: var(--fp-muted); line-height: 1.45; }
.fp-catcard__count { margin-top: auto; padding-top: .4rem; font-size: .76rem; font-weight: 700; color: var(--fp-muted); display: inline-flex; align-items: center; gap: .3em; text-transform: uppercase; letter-spacing: .06em; }
.fp-catcard__spark { position: absolute; right: -6px; bottom: 10px; width: 110px; height: 40px; color: var(--c); opacity: .18; transition: opacity .3s; }
.fp-catcard:hover .fp-catcard__spark { opacity: .55; }
.fp-catgrid--compact .fp-catcard { min-height: 0; padding: 1rem; }
.fp-catgrid--compact .fp-catcard__spark { display: none; }

/* ---------- 16. Editor's picks ---------- */
.fp-editors__grid { display: grid; gap: 1.25rem; }
.fp-editors__lead { position: relative; border-radius: var(--fp-radius-lg); overflow: hidden; background: var(--fp-primary); color: #fff; min-height: 380px; display: flex; }
.fp-editors__lead .fp-thumb { position: absolute; inset: 0; aspect-ratio: auto; }
.fp-editors__lead .fp-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 18, 34, .96) 0%, rgba(7, 18, 34, .8) 45%, rgba(7, 18, 34, .35) 100%); }
.fp-editors__lead-body { position: relative; margin-top: auto; padding: clamp(1.25rem, 3vw, 2rem); }
.fp-editors__lead-body p { color: rgba(255, 255, 255, .85); }
.fp-editors__lead-title { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.15; margin: .6rem 0; }
.fp-editors__lead-title a { color: #fff; text-decoration: none; }
.fp-editors__lead-title a:hover { color: var(--fp-accent); }
.fp-editors__lead .fp-meta, .fp-editors__lead .fp-meta a { color: rgba(255, 255, 255, .8); }
.fp-pick-label { display: inline-flex; align-items: center; gap: .4em; color: var(--fp-accent); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fp-editors__rest { display: grid; gap: 1rem; align-content: start; }

/* ---------- 17. News desk ---------- */
.fp-desk { background: var(--fp-primary); color: var(--fp-on-dark); overflow: hidden; isolation: isolate; }
html[data-theme="dark"] .fp-desk { background: #071222; }
.fp-desk__bg { position: absolute; inset: 0; z-index: -1; opacity: .55; background:
	radial-gradient(800px 300px at 100% 0, rgba(201, 162, 39, .14), transparent 70%),
	linear-gradient(transparent 97%, rgba(255, 255, 255, .045) 97%) 0 0 / 100% 40px; }
.fp-desk .fp-kicker { color: var(--fp-accent); }
.fp-desk .fp-section__head { border-top-color: rgba(255, 255, 255, .35); }
.fp-desk__tabs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.fp-desk__tab { white-space: nowrap; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--fp-on-dark-muted); padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .84rem; transition: all .2s; }
.fp-desk__tab:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.fp-desk__tab[aria-selected="true"] { background: var(--fp-accent); border-color: var(--fp-accent); color: #14110a; }
.fp-desk__panel { display: grid; gap: 1.75rem; animation: fp-fade .3s var(--fp-ease); }
.fp-desk__lead { display: grid; gap: 1.25rem; }
.fp-desk__lead .fp-thumb { border-radius: var(--fp-radius); }
.fp-desk__lead-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; margin: 0 0 .6rem; }
.fp-desk__lead-title a { color: #fff; text-decoration: none; }
.fp-desk__lead-title a:hover { color: var(--fp-accent); }
.fp-desk__lead p { color: rgba(255, 255, 255, .78); }
.fp-desk__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.fp-desk__item { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); text-decoration: none; }
.fp-desk__item-title { display: block; font-family: var(--fp-font-heading); font-size: 1.12rem; font-weight: 600; color: #fff; line-height: 1.3; transition: color .2s; }
.fp-desk__item:hover .fp-desk__item-title { color: var(--fp-accent); }
.fp-desk__item-meta { font-size: .76rem; color: var(--fp-on-dark-muted); }

/* ---------- 17b. Voices ---------- */
.fp-voices__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.fp-voice { position: relative; padding: 1.5rem 1.4rem 1.4rem; background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: var(--fp-radius); display: flex; flex-direction: column; gap: .9rem; transition: box-shadow .3s var(--fp-ease), transform .3s var(--fp-ease); }
.fp-voice::before { content: "\201C"; position: absolute; right: 1.1rem; top: .2rem; font-family: var(--fp-font-heading); font-size: 4.5rem; line-height: 1; color: var(--fp-accent); opacity: .35; }
.fp-voice:hover { box-shadow: var(--fp-shadow); transform: translateY(-2px); }
.fp-voice__person { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.fp-voice__avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--fp-accent); padding: 2px; background: var(--fp-surface); }
.fp-voice__name { display: block; font-weight: 700; color: var(--fp-heading); font-size: .95rem; }
.fp-voice__role { display: block; font-size: .76rem; color: var(--fp-muted); line-height: 1.35; }
.fp-voice__title { font-size: 1.18rem; font-style: italic; line-height: 1.32; margin: 0; }
.fp-voice__title a { color: var(--fp-heading); text-decoration: none; }
.fp-voice__title a:hover { color: var(--fp-secondary); }
.fp-voice__meta { margin: auto 0 0; font-size: .76rem; color: var(--fp-muted); }

/* ---------- 18. Split (personal finance) ---------- */
.fp-split__grid { display: grid; gap: 1.5rem; }
.fp-split__intro { position: relative; overflow: hidden; border-radius: var(--fp-radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); color: #fff; isolation: isolate; }
.fp-split__intro--green { background: linear-gradient(150deg, var(--fp-secondary), color-mix(in srgb, var(--fp-secondary) 55%, var(--fp-primary))); }
.fp-split__intro .fp-section__title { color: #fff; margin-bottom: .6rem; }
.fp-split__intro .fp-kicker { color: var(--fp-accent); }
.fp-split__intro p { color: rgba(255, 255, 255, .88); }
.fp-split__intro .fp-chips { margin: 1.1rem 0 1.4rem; }
.fp-split__art { width: 70%; max-width: 300px; margin: -.5rem 0 .5rem auto; opacity: .95; }
.fp-split__list { display: grid; gap: 1rem; align-content: start; }

/* ---------- 19. Investment ---------- */
.fp-invest__grid { display: grid; gap: 1.25rem; }
.fp-invest__side { display: grid; gap: 1rem; align-content: start; }

/* ---------- 20. Tools teaser ---------- */
.fp-tools-teaser__inner { display: grid; gap: 2rem; align-items: center; }
.fp-tools-teaser__intro p { color: var(--fp-muted); margin: .8rem 0 1.4rem; }
.fp-tools-teaser__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .75rem; }
.fp-tooltile { display: flex; align-items: center; gap: .75rem; padding: 1rem; border-radius: var(--fp-radius); background: var(--fp-surface); border: 1px solid var(--fp-border); color: var(--fp-heading); text-decoration: none; font-weight: 600; font-size: .9rem; line-height: 1.25; transition: all .25s var(--fp-ease); }
.fp-tooltile:hover { border-color: var(--fp-secondary); transform: translateY(-3px); box-shadow: var(--fp-shadow); color: var(--fp-heading); }
.fp-tooltile__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fp-accent-soft); color: #8a6a00; flex-shrink: 0; }
html[data-theme="dark"] .fp-tooltile__icon { color: var(--fp-accent); }

/* ---------- 21. Newsletter ---------- */
.fp-newsletter__title { font-family: var(--fp-font-heading); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: var(--fp-heading); margin: 0 0 .4rem; line-height: 1.15; }
.fp-newsletter__text { color: var(--fp-muted); margin: 0 0 1.1rem; }
.fp-newsletter__row { display: flex; flex-direction: column; gap: .6rem; }
.fp-newsletter__field { flex: 1; display: flex; align-items: center; gap: .55rem; padding: 0 1rem; border-radius: 999px; background: var(--fp-surface); border: 1.5px solid var(--fp-border-strong); transition: border-color .2s, box-shadow .2s; }
.fp-newsletter__field:focus-within { border-color: var(--fp-secondary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fp-secondary) 18%, transparent); }
.fp-newsletter__field .fp-icon { color: var(--fp-muted); }
.fp-newsletter__field input { border: 0; background: none; outline: none; width: 100%; padding: .85rem 0; min-width: 0; }
.fp-newsletter__form .fp-btn { padding-block: .95em; }
.fp-newsletter__consent, .fp-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .8rem; color: var(--fp-muted); margin-top: .75rem; cursor: pointer; }
.fp-newsletter__consent input, .fp-check input { margin-top: .25em; accent-color: var(--fp-secondary); }
.fp-newsletter__privacy { display: flex; gap: .45rem; align-items: flex-start; font-size: .76rem; color: var(--fp-muted); margin: .65rem 0 0; }
.fp-newsletter__privacy .fp-icon { color: var(--fp-secondary); margin-top: .1em; }
.fp-newsletter__privacy a { color: inherit; text-decoration: underline; }
.fp-newsletter__msg { font-size: .88rem; font-weight: 600; margin: .6rem 0 0; min-height: 1.2em; }
.fp-newsletter__msg.is-success, .fp-form-msg.is-success { color: var(--fp-up); }
.fp-newsletter__msg.is-error, .fp-form-msg.is-error { color: var(--fp-down); }
.fp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fp-newsletter__form { position: relative; }

.fp-nl-band { background: var(--fp-accent-soft); overflow: hidden; }
html[data-theme="dark"] .fp-nl-band { background: #14130d; }
.fp-nl-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.fp-nl-band__art img { width: 200px; margin-inline: auto; }
.fp-nl-band__form { max-width: 640px; }

.fp-newsletter--sidebar { background: linear-gradient(160deg, var(--fp-primary), color-mix(in srgb, var(--fp-primary) 70%, var(--fp-secondary))); color: #fff; padding: 1.4rem; border-radius: var(--fp-radius); position: relative; overflow: hidden; }
.fp-newsletter--sidebar::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(201, 162, 39, .15); }
.fp-newsletter--sidebar .fp-newsletter__title { color: #fff; font-size: 1.3rem; }
.fp-newsletter--sidebar .fp-newsletter__text, .fp-newsletter--sidebar .fp-newsletter__privacy, .fp-newsletter--sidebar .fp-newsletter__consent { color: rgba(255, 255, 255, .8); }
.fp-newsletter--sidebar .fp-newsletter__privacy .fp-icon { color: var(--fp-accent); }
.fp-newsletter--sidebar .fp-newsletter__field { background: #fff; border-color: transparent; color: #16202e; }
.fp-newsletter--sidebar .fp-newsletter__msg.is-success { color: #7ff0bd; }
.fp-newsletter--sidebar .fp-newsletter__msg.is-error { color: #ffb0a9; }
.fp-newsletter--sidebar .fp-newsletter__row { flex-direction: column; }

.fp-newsletter--single, .fp-newsletter--inline { margin: 2.5rem 0; padding: 1.75rem; border-radius: var(--fp-radius-lg); background: var(--fp-accent-soft); border: 1px solid color-mix(in srgb, var(--fp-accent) 35%, transparent); }

/* ---------- 22. Popular & FAQ ---------- */
.fp-list--big .fp-mini__title { font-size: 1.08rem; }
.fp-faq__grid { display: grid; gap: 2rem; }
.fp-faq__intro p { color: var(--fp-muted); margin-top: .8rem; }
.fp-faq__list { display: grid; gap: .75rem; }
.fp-faq__item { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: var(--fp-radius); transition: border-color .2s, box-shadow .2s; }
.fp-faq__item[open] { border-color: var(--fp-secondary); box-shadow: var(--fp-shadow); }
.fp-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; }
.fp-faq__item summary::-webkit-details-marker { display: none; }
.fp-faq__item summary h3 { font-size: 1.08rem; margin: 0; }
.fp-faq__toggle { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--fp-surface-2); flex-shrink: 0; }
.fp-faq__toggle::before, .fp-faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--fp-heading); border-radius: 2px; transition: transform .25s var(--fp-ease); }
.fp-faq__toggle::after { transform: rotate(90deg); }
.fp-faq__item[open] .fp-faq__toggle { background: var(--fp-secondary); }
.fp-faq__item[open] .fp-faq__toggle::before, .fp-faq__item[open] .fp-faq__toggle::after { background: #fff; }
.fp-faq__item[open] .fp-faq__toggle::after { transform: rotate(0); }
.fp-faq__answer { padding: 0 1.25rem 1.1rem; color: var(--fp-muted); }
.fp-faq__answer p { margin: 0; }

/* ---------- 23. Page heads ---------- */
.fp-page-head { padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem); background:
	radial-gradient(800px 260px at 0 0, var(--fp-secondary-50), transparent 70%),
	linear-gradient(transparent 96%, var(--fp-border) 96%) 0 0 / 100% 28px;
	border-bottom: 1px solid var(--fp-border); margin-bottom: 2.25rem; }
.fp-page-head__title { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .5rem; line-height: 1.1; letter-spacing: -.02em; }
.fp-page-head__title span { color: var(--fp-secondary); }
.fp-page-head__desc { color: var(--fp-muted); font-size: 1.05rem; max-width: 70ch; margin: 0 0 .5rem; }
.fp-page-head__desc p { margin: 0; }
.fp-page-head__count { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fp-muted); margin: .5rem 0 0; }
.fp-page-head .fp-filter, .fp-page-head__search { margin-top: 1.25rem; max-width: 640px; }
.fp-page-head--author { background: var(--fp-surface-2); }

.fp-cat-head { --c: var(--fp-cat, var(--fp-secondary)); position: relative; overflow: hidden; isolation: isolate; background: var(--fp-primary); color: #fff; padding: clamp(1.75rem, 4vw, 3.25rem) 0 2rem; margin-bottom: 2.25rem; }
html[data-theme="dark"] .fp-cat-head { background: #071222; }
.fp-cat-head__art { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(700px 300px at 90% 20%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%),
	url("../images/chart-lines.svg") right -100px bottom -40px / 760px auto no-repeat,
	linear-gradient(transparent 97%, rgba(255, 255, 255, .05) 97%) 0 0 / 100% 36px; }
.fp-cat-head .fp-breadcrumbs, .fp-cat-head .fp-breadcrumbs a { color: var(--fp-on-dark-muted); }
.fp-cat-head .fp-kicker { color: var(--fp-accent); }
.fp-cat-head__row { display: flex; align-items: center; gap: 1rem; }
.fp-cat-head__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--c); color: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); flex-shrink: 0; }
.fp-cat-head__icon .fp-icon { width: 32px; height: 32px; }
.fp-cat-head__title { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; letter-spacing: -.02em; }
.fp-cat-head__desc { color: rgba(255, 255, 255, .85); max-width: 70ch; margin-top: 1rem; font-size: 1.05rem; }
.fp-cat-head__desc p { margin: 0; }
.fp-cat-head__count { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fp-accent); margin: .75rem 0 0; }
.fp-cat-head .fp-filter { margin-top: 1.25rem; }
.fp-cat-head .fp-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.fp-cat-head .fp-chip .fp-icon { color: var(--fp-accent); }
.fp-cat-head .fp-chip:hover { background: #fff; color: var(--fp-primary); }
.fp-cat-featured { padding-top: 0; padding-bottom: 1rem; }

/* Breadcrumbs */
.fp-breadcrumbs { font-size: .8rem; color: var(--fp-muted); margin-bottom: 1rem; }
.fp-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.fp-breadcrumbs li { display: inline-flex; align-items: center; gap: .3rem; }
.fp-breadcrumbs li + li::before { content: "/"; opacity: .5; }
.fp-breadcrumbs a { color: var(--fp-muted); text-decoration: none; }
.fp-breadcrumbs a:hover { color: var(--fp-secondary); }
.fp-breadcrumbs [aria-current] span { color: var(--fp-heading); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
.fp-cat-head .fp-breadcrumbs [aria-current] span { color: #fff; }

/* ---------- 24. Layout & sidebar ---------- */
.fp-layout { display: grid; gap: 2.5rem; padding-bottom: 3.5rem; }
.fp-main { min-width: 0; }
.fp-main--full { padding-bottom: 3.5rem; }
.fp-sidebar { min-width: 0; }
.fp-sidebar__inner { display: grid; gap: 1.75rem; }
.fp-widget { min-width: 0; }
.fp-widget__title { font-family: var(--fp-font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-heading); margin: 0 0 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--fp-border); position: relative; }
.fp-widget__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--fp-accent); }
.fp-widget ul:not([class]) { list-style: none; padding: 0; margin: 0; }
.fp-widget ul:not([class]) li { padding: .5rem 0; border-bottom: 1px solid var(--fp-border); }
.fp-widget ul:not([class]) a { color: var(--fp-heading); text-decoration: none; }
.fp-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fp-catlist a { display: flex; align-items: center; gap: .7rem; padding: .55rem .65rem; border-radius: 10px; text-decoration: none; color: var(--fp-heading); font-weight: 500; font-size: .92rem; transition: background .2s; }
.fp-catlist a:hover { background: var(--fp-surface-2); color: var(--fp-heading); }
.fp-catlist__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: color-mix(in srgb, var(--fp-cat, var(--fp-secondary)) 12%, transparent); color: var(--fp-cat, var(--fp-secondary)); }
html[data-theme="dark"] .fp-catlist__icon { color: var(--fp-link); }
.fp-catlist__name { flex: 1; }
.fp-catlist__count { font-size: .72rem; font-weight: 700; color: var(--fp-muted); background: var(--fp-surface-2); padding: .15em .55em; border-radius: 999px; }

.fp-promo { position: relative; padding: 1.35rem; border-radius: var(--fp-radius); border: 1px dashed var(--fp-border-strong); background: var(--fp-surface); }
.fp-promo--tools { background: linear-gradient(150deg, var(--fp-accent-soft), var(--fp-surface)); border-style: solid; border-color: color-mix(in srgb, var(--fp-accent) 40%, transparent); }
.fp-promo__img { border-radius: 10px; margin-bottom: .75rem; }
.fp-promo__title { font-family: var(--fp-font-heading); font-size: 1.2rem; font-weight: 600; color: var(--fp-heading); margin: .35rem 0; line-height: 1.25; }
.fp-promo__text { font-size: .88rem; color: var(--fp-muted); }

/* ---------- 25. Ads ---------- */
.fp-ad { text-align: center; margin: 1.75rem auto; max-width: 100%; overflow: hidden; }
.fp-ad__label { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); margin-bottom: .4rem; }
.fp-ad--placeholder .fp-ad__ph { display: grid; place-items: center; min-height: 110px; border: 1px dashed var(--fp-border-strong); border-radius: var(--fp-radius-sm); color: var(--fp-muted); font-size: .8rem; background: repeating-linear-gradient(45deg, transparent 0 10px, var(--fp-surface-2) 10px 20px); text-transform: capitalize; }
.fp-header-ad .fp-ad, .fp-footer-ad .fp-ad { margin-block: 1.25rem; }

/* ---------- 26. Article ---------- */
.fp-article__head { padding: clamp(1.5rem, 4vw, 2.75rem) 0 1.5rem; }
.fp-article__head .fp-badge { margin-bottom: 1rem; }
.fp-article__title { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 1rem; }
.fp-article__dek { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--fp-muted); line-height: 1.55; margin: 0 0 1.5rem; font-family: var(--fp-font-heading); }
.fp-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--fp-border); }
.fp-article__byline { display: flex; align-items: center; gap: .75rem; font-size: .88rem; }
.fp-article__avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--fp-accent); }
.fp-article__author { display: block; font-weight: 600; }
.fp-article__author a { color: var(--fp-heading); text-decoration: none; }
.fp-article__dates { display: flex; flex-wrap: wrap; gap: .25rem .9rem; color: var(--fp-muted); font-size: .8rem; }
.fp-article__updated { display: inline-flex; align-items: center; gap: .3em; color: var(--fp-secondary); font-weight: 600; }
html[data-theme="dark"] .fp-article__updated { color: var(--fp-link); }
.fp-article__actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.fp-article__hero { margin: 0 auto 2.25rem; }
.fp-article__img { width: 100%; border-radius: var(--fp-radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.fp-article__main { position: relative; }

.fp-bookmark { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--fp-border-strong); background: var(--fp-surface); color: var(--fp-heading); font-weight: 600; font-size: .84rem; transition: all .2s; }
.fp-bookmark:hover { border-color: var(--fp-secondary); color: var(--fp-secondary); }
.fp-bookmark[aria-pressed="true"] { background: var(--fp-accent); border-color: var(--fp-accent); color: #14110a; }
.fp-bookmark[aria-pressed="true"] .fp-icon { fill: currentColor; }

/* Prose */
.fp-prose { font-size: 1.06rem; line-height: 1.78; max-width: 760px; }
.fp-prose--wide { max-width: none; }
.fp-prose > * + * { margin-top: 1.15em; }
.fp-prose p { margin: 0; }
.fp-prose > p:first-child::first-letter { font-family: var(--fp-font-heading); float: left; font-size: 3.6em; line-height: .85; padding: .08em .1em 0 0; color: var(--fp-secondary); font-weight: 700; }
.fp-page .fp-prose > p:first-child::first-letter, .fp-prose--wide > p:first-child::first-letter { all: unset; }
.fp-prose h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin-top: 2em; padding-top: .5em; border-top: 1px solid var(--fp-border); }
.fp-prose h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); margin-top: 1.6em; }
.fp-prose h4 { font-size: 1.15rem; margin-top: 1.4em; }
.fp-prose ul, .fp-prose ol { padding-left: 1.4em; }
.fp-prose li + li { margin-top: .4em; }
.fp-prose li::marker { color: var(--fp-secondary); font-weight: 700; }
.fp-prose a { color: var(--fp-link); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--fp-link) 40%, transparent); }
.fp-prose a:hover { text-decoration-color: var(--fp-accent); color: var(--fp-link); }
.fp-prose img, .fp-prose figure img { border-radius: var(--fp-radius); }
.fp-prose figure { margin-inline: 0; }
.fp-prose blockquote, .fp-prose .wp-block-quote { margin: 2em 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--fp-accent); background: var(--fp-surface); border-radius: 0 var(--fp-radius) var(--fp-radius) 0; font-family: var(--fp-font-heading); font-size: 1.22rem; line-height: 1.5; color: var(--fp-heading); box-shadow: var(--fp-shadow-sm); }
.fp-prose blockquote p { margin: 0; }
.fp-prose blockquote cite { display: block; margin-top: .75rem; font-family: var(--fp-font-body); font-size: .82rem; font-style: normal; color: var(--fp-muted); }
.fp-prose .wp-block-quote.is-style-fp-pull { border: 0; background: none; box-shadow: none; text-align: center; font-size: clamp(1.4rem, 3vw, 1.85rem); padding: 1.5rem 0; border-top: 2px solid var(--fp-accent); border-bottom: 2px solid var(--fp-accent); border-radius: 0; }
.fp-prose code { font-size: .88em; padding: .15em .4em; border-radius: 5px; background: var(--fp-surface-2); }
.fp-prose pre { overflow-x: auto; padding: 1rem; background: var(--fp-primary-700); color: #e8ecf2; border-radius: var(--fp-radius); font-size: .88rem; }
.fp-prose hr { border: 0; height: 1px; background: var(--fp-border); margin: 2.5em 0; }
.fp-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.fp-prose th, .fp-prose td { padding: .7rem .8rem; border-bottom: 1px solid var(--fp-border); text-align: left; }
.fp-prose thead th { background: var(--fp-primary); color: #fff; font-weight: 600; }
.fp-prose tbody tr:nth-child(even) { background: var(--fp-surface-2); }
.fp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--fp-radius); border: 1px solid var(--fp-border); }
.fp-table-scroll table { margin: 0; }
.fp-prose .wp-block-details { border: 1px solid var(--fp-border); border-radius: var(--fp-radius); padding: .9rem 1.1rem; background: var(--fp-surface); }
.fp-prose .wp-block-details summary { font-weight: 700; cursor: pointer; color: var(--fp-heading); }
.fp-prose .wp-block-group.is-style-fp-callout { padding: 1.4rem 1.6rem; border-radius: var(--fp-radius); background: var(--fp-secondary-50); border: 1px solid color-mix(in srgb, var(--fp-secondary) 30%, transparent); }
.fp-prose .wp-block-group.is-style-fp-callout > :first-child { margin-top: 0; border: 0; padding: 0; }
.fp-prose .is-style-fp-checklist { list-style: none; padding-left: 0; }
.fp-prose .is-style-fp-checklist li { position: relative; padding-left: 1.9em; }
.fp-prose .is-style-fp-checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--fp-secondary) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat; }
.fp-proscons .fp-pros, .fp-proscons .fp-cons { padding: 1.1rem 1.25rem; border-radius: var(--fp-radius); }
.fp-proscons .fp-pros { background: color-mix(in srgb, var(--fp-up) 9%, transparent); border-top: 3px solid var(--fp-up); }
.fp-proscons .fp-cons { background: color-mix(in srgb, var(--fp-down) 8%, transparent); border-top: 3px solid var(--fp-down); }
.fp-proscons h4 { margin-top: 0 !important; }

/* TOC */
.fp-toc { margin: 1.75em 0 !important; border: 1px solid var(--fp-border); border-radius: var(--fp-radius); background: var(--fp-surface); box-shadow: var(--fp-shadow-sm); overflow: hidden; }
.fp-toc summary { display: flex; align-items: center; gap: .55rem; padding: .95rem 1.2rem; cursor: pointer; font-family: var(--fp-font-body); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-heading); list-style: none; background: var(--fp-surface-2); }
.fp-toc summary::-webkit-details-marker { display: none; }
.fp-toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.fp-toc details[open] summary::after { transform: rotate(-135deg); }
.fp-toc__list { margin: 0; padding: .9rem 1.2rem 1.1rem 2.4rem; font-size: .94rem; line-height: 1.5; counter-reset: toc; }
.fp-toc__list ol { padding-left: 1.2rem; margin: .35rem 0; }
.fp-toc li { margin: .3rem 0 !important; }
.fp-toc a { color: var(--fp-text); text-decoration: none !important; }
.fp-toc a:hover, .fp-toc a.is-active { color: var(--fp-secondary); }
.fp-toc a.is-active { font-weight: 700; }

/* Floating share */
.fp-float-share { display: none; }
.fp-share { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.fp-share--inline { margin: 2rem 0; padding: 1.1rem 0; border-top: 1px solid var(--fp-border); border-bottom: 1px solid var(--fp-border); }
.fp-share__label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-muted); margin-right: .4rem; }
.fp-share__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--fp-border); background: var(--fp-surface); color: var(--fp-heading); transition: all .2s var(--fp-ease); text-decoration: none; }
.fp-share__btn:hover { background: var(--fp-primary); border-color: var(--fp-primary); color: #fff; transform: translateY(-2px); }
.fp-share__btn--whatsapp:hover { background: #128c4b; border-color: #128c4b; }
.fp-share__btn--linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.fp-share__btn--facebook:hover { background: #1877f2; border-color: #1877f2; }

.fp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 2.25rem; }
.fp-tags__label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-muted); }
.fp-tags a { display: inline-block; padding: .35em .85em; border-radius: 999px; background: var(--fp-surface-2); color: var(--fp-heading); text-decoration: none; font-size: .82rem; }
.fp-tags a::before { content: "#"; color: var(--fp-accent); margin-right: 1px; }
.fp-tags a:hover { background: var(--fp-secondary); color: #fff; }

.fp-disclaimer { display: flex; gap: .85rem; margin: 2rem 0; padding: 1.1rem 1.25rem; border-radius: var(--fp-radius); background: var(--fp-surface-2); border: 1px solid var(--fp-border); font-size: .84rem; color: var(--fp-muted); line-height: 1.6; }
.fp-disclaimer .fp-icon { color: var(--fp-accent); width: 22px; height: 22px; margin-top: .1em; }
.fp-disclaimer strong { color: var(--fp-heading); display: block; margin-bottom: .2rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.fp-disclaimer p { margin: 0; }

.fp-author-box { display: flex; gap: 1.25rem; padding: 1.5rem; margin: 2.25rem 0; border-radius: var(--fp-radius-lg); background: var(--fp-surface); border: 1px solid var(--fp-border); box-shadow: var(--fp-shadow-sm); }
.fp-author-box__avatar img { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--fp-accent-soft); }
.fp-author-box__body { min-width: 0; flex: 1; }
.fp-author-box__name { font-size: 1.35rem; margin: 0; }
.fp-author-box__name a { color: var(--fp-heading); text-decoration: none; }
.fp-author-box__title { color: var(--fp-secondary); font-size: .85rem; font-weight: 600; margin: .15rem 0 .5rem; }
.fp-author-box__bio { color: var(--fp-muted); font-size: .94rem; margin: 0 0 .75rem; }
.fp-author-box__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.fp-author-box__count { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fp-muted); }
.fp-author-box--header { margin: 0; background: none; border: 0; box-shadow: none; padding: 0; align-items: center; }
.fp-author-box--header .fp-author-box__avatar img { width: 120px; height: 120px; }
.fp-author-box--header .fp-author-box__name { font-size: clamp(1.9rem, 4vw, 2.6rem); }

.fp-postnav { display: grid; gap: 1rem; margin: 2.25rem 0; }
.fp-postnav__link { display: flex; flex-direction: column; gap: .35rem; padding: 1.15rem 1.25rem; border-radius: var(--fp-radius); border: 1px solid var(--fp-border); background: var(--fp-surface); text-decoration: none; transition: all .25s var(--fp-ease); }
.fp-postnav__link:hover { border-color: var(--fp-secondary); box-shadow: var(--fp-shadow); }
.fp-postnav__link--next { text-align: right; align-items: flex-end; }
.fp-postnav__dir { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fp-muted); }
.fp-postnav__title { font-family: var(--fp-font-heading); font-weight: 600; font-size: 1.08rem; color: var(--fp-heading); line-height: 1.3; }
.fp-related { margin-top: 2.5rem; }
.fp-article__newsletter { scroll-margin-top: 100px; }
.fp-more { background: var(--fp-surface-2); padding: 3rem 0; border-top: 1px solid var(--fp-border); }
.fp-more__grid { display: grid; gap: 2.5rem; }

/* Comments */
.fp-comments { margin-top: 3rem; }
.fp-comment-list, .fp-comment-list .children { list-style: none; margin: 0; padding: 0; }
.fp-comment-list .children { padding-left: clamp(1rem, 4vw, 2.5rem); border-left: 2px solid var(--fp-border); }
.fp-comment-list .comment-body { padding: 1.15rem 0; border-bottom: 1px solid var(--fp-border); }
.fp-comment-list .comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.fp-comment-list .comment-author img { border-radius: 50%; }
.fp-comment-list .says { display: none; }
.fp-comment-list .comment-meta a { color: var(--fp-muted); font-size: .78rem; text-decoration: none; }
.fp-comment-list .comment-content { margin-top: .5rem; }
.fp-comment-list .reply a { font-size: .8rem; font-weight: 700; text-decoration: none; }
.comment-respond { margin-top: 2rem; padding: 1.5rem; border-radius: var(--fp-radius-lg); background: var(--fp-surface); border: 1px solid var(--fp-border); }
.comment-reply-title { font-size: 1.35rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.fp-field input, .fp-field select, .fp-field textarea {
	width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--fp-border-strong); background: var(--fp-bg); transition: border-color .2s, box-shadow .2s;
}
.comment-form input:focus, .comment-form textarea:focus, .fp-field input:focus, .fp-field select:focus, .fp-field textarea:focus { outline: none; border-color: var(--fp-secondary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fp-secondary) 15%, transparent); }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* Forms */
.fp-contact { padding: clamp(1.25rem, 3vw, 2rem); background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: var(--fp-radius-lg); box-shadow: var(--fp-shadow-sm); margin: 1.5rem 0; }
.fp-form-grid { display: grid; gap: 0 1rem; }
.fp-field { margin: 0 0 1rem !important; }
.fp-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--fp-heading); }
.fp-form-msg { font-weight: 600; margin: .5rem 0 0 !important; }
.fp-searchform { display: flex; align-items: center; gap: .5rem; padding: .3rem .3rem .3rem 1rem; border: 1.5px solid var(--fp-border-strong); border-radius: 999px; background: var(--fp-surface); max-width: 560px; }
.fp-searchform:focus-within { border-color: var(--fp-secondary); }
.fp-searchform .fp-icon { color: var(--fp-muted); }
.fp-searchform input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; outline: none; padding: .6rem 0; }

.fp-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--fp-border-strong); border-radius: var(--fp-radius-lg); }
.fp-empty .fp-searchform { margin: 1rem auto 0; }
.fp-empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--fp-surface-2); color: var(--fp-secondary); margin-bottom: 1rem; }
.fp-empty--inline { padding: 2rem 1rem; color: var(--fp-muted); }

/* ---------- 27. Calculators ---------- */
.fp-tools__tabs { display: flex; gap: .4rem; overflow-x: auto; padding: .35rem; margin-bottom: 1.5rem; background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 999px; scrollbar-width: none; position: sticky; top: calc(var(--fp-header-h) + 8px); z-index: 5; }
.fp-tools__tabs::-webkit-scrollbar { display: none; }
.fp-tools__tab { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; border: 0; background: none; padding: .6rem 1rem; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--fp-muted); transition: all .2s; }
.fp-tools__tab:hover { color: var(--fp-heading); background: var(--fp-surface-2); }
.fp-tools__tab[aria-selected="true"] { background: var(--fp-primary); color: #fff; }
html[data-theme="dark"] .fp-tools__tab[aria-selected="true"] { background: var(--fp-secondary); }

.fp-calc { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: var(--fp-radius-lg); box-shadow: var(--fp-shadow); overflow: hidden; margin: 1.5rem 0; font-size: 1rem; line-height: 1.5; }
.fp-calc__head { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.5rem; background: linear-gradient(120deg, var(--fp-primary), color-mix(in srgb, var(--fp-primary) 65%, var(--fp-secondary))); color: #fff; }
.fp-calc__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--fp-accent); color: #14110a; flex-shrink: 0; }
.fp-calc__icon .fp-icon { width: 24px; height: 24px; }
.fp-calc__title { color: #fff; font-family: var(--fp-font-heading); font-size: 1.45rem; font-weight: 600; margin: 0 0 .2rem !important; border: 0 !important; padding: 0 !important; line-height: 1.2; }
.fp-calc__intro { margin: 0 !important; color: rgba(255, 255, 255, .82); font-size: .92rem; }
.fp-calc__body { display: grid; }
.fp-calc__form { padding: 1.5rem; display: grid; gap: 1.1rem; margin: 0 !important; }
.fp-calc__field label { display: block; font-size: .84rem; font-weight: 600; color: var(--fp-heading); margin-bottom: .35rem; }
.fp-calc__input { display: flex; align-items: center; border: 1.5px solid var(--fp-border-strong); border-radius: 12px; background: var(--fp-bg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.fp-calc__input:focus-within { border-color: var(--fp-secondary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fp-secondary) 15%, transparent); }
.fp-calc__input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: .7rem .85rem; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 1rem; }
.fp-calc__input input.is-invalid { color: var(--fp-down); }
.fp-calc__affix { padding: 0 .8rem; color: var(--fp-muted); font-weight: 600; font-size: .9rem; background: var(--fp-surface-2); align-self: stretch; display: grid; place-items: center; }
.fp-calc__range { width: 100%; margin-top: .55rem; accent-color: var(--fp-secondary); height: 4px; }
.fp-calc__field select { width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--fp-border-strong); border-radius: 12px; background: var(--fp-bg); font-weight: 600; }
.fp-calc__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .25rem; }
.fp-calc__error { color: var(--fp-down); font-weight: 600; font-size: .88rem; margin: 0 !important; }
.fp-calc__results { padding: 1.5rem; background: var(--fp-surface-2); border-top: 1px solid var(--fp-border); position: relative; }
.fp-calc__estimate { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7a5d00; background: var(--fp-accent-soft); padding: .3rem .7rem; border-radius: 999px; margin: 0 0 1rem !important; }
html[data-theme="dark"] .fp-calc__estimate { color: var(--fp-accent); }
.fp-calc__placeholder { color: var(--fp-muted); margin: 0 !important; }
.fp-calc__stats { display: grid; gap: .75rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.fp-calc__stat { padding: .9rem 1rem; border-radius: 12px; background: var(--fp-surface); border: 1px solid var(--fp-border); margin: 0 !important; }
.fp-calc__stat span { display: block; font-size: .76rem; color: var(--fp-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.fp-calc__stat strong { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; color: var(--fp-heading); line-height: 1.3; word-break: break-word; }
.fp-calc__stat--main { background: var(--fp-primary); border-color: var(--fp-primary); }
.fp-calc__stat--main span { color: var(--fp-on-dark-muted); }
.fp-calc__stat--main strong { color: #fff; font-size: 1.6rem; }
html[data-theme="dark"] .fp-calc__stat--main { background: var(--fp-secondary); border-color: var(--fp-secondary); }
.fp-calc__chart { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1rem; }
.fp-calc__donut { width: 132px; height: 132px; flex-shrink: 0; }
.fp-calc__legend { list-style: none; margin: 0 !important; padding: 0; font-size: .86rem; display: grid; gap: .4rem; }
.fp-calc__legend li { display: flex; align-items: center; gap: .5rem; margin: 0 !important; }
.fp-calc__legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.fp-calc__note { font-size: .84rem; color: var(--fp-muted); margin: .5rem 0 0 !important; }
.fp-calc__table { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; margin-top: .5rem; }
.fp-calc__table th, .fp-calc__table td { padding: .5rem .6rem; text-align: right; border-bottom: 1px solid var(--fp-border); }
.fp-calc__table th:first-child, .fp-calc__table td:first-child { text-align: left; }
.fp-calc__table thead th { background: transparent !important; color: var(--fp-muted) !important; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.fp-calc__tablewrap { max-height: 280px; overflow: auto; border: 1px solid var(--fp-border); border-radius: 12px; background: var(--fp-surface); }
.fp-calc__bars { display: grid; gap: .65rem; margin: .5rem 0 1rem; }
.fp-calc__bar { font-size: .84rem; }
.fp-calc__bar-top { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .25rem; font-weight: 600; }
.fp-calc__bar-track { height: 10px; border-radius: 999px; background: var(--fp-border); overflow: hidden; position: relative; }
.fp-calc__bar-fill { height: 100%; border-radius: 999px; transition: width .6s var(--fp-ease); }
.fp-calc__bar-target { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--fp-heading); }
.fp-calc__assumptions { padding: 1rem 1.5rem; border-top: 1px solid var(--fp-border); font-size: .86rem; color: var(--fp-muted); }
.fp-calc__assumptions summary { cursor: pointer; font-weight: 700; color: var(--fp-heading); }
.fp-calc__assumptions p { margin: .6rem 0 0 !important; }
.fp-calc__noscript { padding: 0 1.5rem 1rem; color: var(--fp-down); }
.fp-calc__field--income { grid-column: 1 / -1; }
.fp-calc[data-fp-calc="budget"] .fp-calc__form { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.fp-calc[data-fp-calc="budget"] .fp-calc__actions, .fp-calc[data-fp-calc="budget"] .fp-calc__error { grid-column: 1 / -1; }

/* ---------- 28. Footer ---------- */
.fp-footer { position: relative; background: var(--fp-footer-bg); color: var(--fp-on-dark-muted); padding-top: 3.5rem; margin-top: 0; overflow: hidden; isolation: isolate; font-size: .94rem; }
html[data-theme="dark"] .fp-footer { background: #040b16; }
.fp-footer__pattern { position: absolute; inset: 0; z-index: -1; opacity: .9; background:
	radial-gradient(700px 300px at 0 0, rgba(14, 107, 79, .25), transparent 70%),
	radial-gradient(600px 300px at 100% 100%, rgba(201, 162, 39, .12), transparent 70%),
	url("../images/chart-lines.svg") right -120px top 40px / 820px auto no-repeat,
	linear-gradient(transparent 97%, rgba(255, 255, 255, .03) 97%) 0 0 / 100% 32px; }
.fp-footer a { color: var(--fp-on-dark-muted); text-decoration: none; }
.fp-footer a:hover { color: var(--fp-accent); }
.fp-footer__newsletter { margin-bottom: 3rem; }
.fp-newsletter--footer { display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: var(--fp-radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.fp-newsletter--footer .fp-newsletter__title { color: #fff; }
.fp-newsletter--footer .fp-newsletter__text, .fp-newsletter--footer .fp-newsletter__privacy, .fp-newsletter--footer .fp-newsletter__consent { color: var(--fp-on-dark-muted); margin-bottom: 0; }
.fp-newsletter--footer .fp-newsletter__field { background: rgba(255, 255, 255, .95); border-color: transparent; color: #16202e; }
.fp-newsletter--footer .fp-newsletter__privacy .fp-icon { color: var(--fp-accent); }
.fp-newsletter--footer .fp-newsletter__msg.is-success { color: #7ff0bd; }
.fp-newsletter--footer .fp-newsletter__msg.is-error { color: #ffb0a9; }
.fp-footer__widgets { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.fp-footer__widgets .fp-widget__title { color: #fff; border-color: rgba(255, 255, 255, .12); }
.fp-footer__grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.fp-footer__logo { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--fp-font-heading); font-size: 1.45rem; font-weight: 700; color: #fff !important; }
.fp-footer__logo img { width: 40px; height: 40px; }
.fp-footer__brand .custom-logo { max-width: var(--fp-logo-width); height: auto; filter: brightness(0) invert(1); }
.fp-footer__about { margin: 1rem 0 1.25rem; max-width: 38ch; line-height: 1.65; }
.fp-footer__title { font-family: var(--fp-font-body); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.fp-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.fp-footer__menu a { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s, transform .2s; }
.fp-footer__menu a::before { content: ""; width: 0; height: 1px; background: var(--fp-accent); transition: width .2s var(--fp-ease); }
.fp-footer__menu a:hover::before { width: 10px; }
.fp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.25rem 0; font-size: .8rem; }
.fp-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.fp-footer__bottom p { margin: 0; }
.fp-footer .fp-hint a { color: var(--fp-accent); }

.fp-social { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.fp-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: inherit; border: 1px solid currentColor; opacity: .85; transition: all .2s var(--fp-ease); }
.fp-social a:hover { opacity: 1; background: var(--fp-accent); border-color: var(--fp-accent); color: #14110a; transform: translateY(-2px); }
.fp-social .fp-icon { width: 17px; height: 17px; }
.fp-social--topbar a { width: 26px; height: 26px; border: 0; color: var(--fp-on-dark-muted); }
.fp-social--topbar .fp-icon { width: 15px; height: 15px; }
.fp-social--footer a { color: #fff; border-color: rgba(255, 255, 255, .25); }
.fp-social--small a { width: 32px; height: 32px; color: var(--fp-heading); border-color: var(--fp-border-strong); }

.fp-totop { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--fp-primary); color: #fff; box-shadow: var(--fp-shadow-lg); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--fp-ease); }
.fp-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.fp-totop:hover { background: var(--fp-accent); color: #14110a; }
html[data-theme="dark"] .fp-totop { background: var(--fp-secondary); }

.fp-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3000; padding: .8rem 1.2rem; border-radius: 999px; background: var(--fp-heading); color: var(--fp-bg); font-weight: 600; font-size: .9rem; box-shadow: var(--fp-shadow-lg); animation: fp-pop .3s var(--fp-ease); }

/* ---------- 29. Popup ---------- */
.fp-popup { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 1rem; }
.fp-popup__panel { position: relative; width: min(760px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; display: grid; background: var(--fp-surface); border-radius: var(--fp-radius-lg); box-shadow: var(--fp-shadow-lg); animation: fp-pop .35s var(--fp-ease); }
.fp-popup__close { position: absolute; right: .6rem; top: .6rem; z-index: 2; background: var(--fp-surface); }
.fp-popup__art { display: none; background: linear-gradient(160deg, var(--fp-primary), color-mix(in srgb, var(--fp-primary) 60%, var(--fp-secondary))); place-items: center; padding: 2rem; }
.fp-popup__body { padding: clamp(1.5rem, 4vw, 2.25rem); }
.fp-popup__title { font-family: var(--fp-font-heading); font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 600; color: var(--fp-heading); margin: 0 0 .5rem; line-height: 1.12; }
.fp-popup__text { color: var(--fp-muted); }

/* ---------- 30. 404 ---------- */
.fp-404__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.fp-404__art img { margin-inline: auto; width: min(420px, 100%); }
.fp-404__title { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
.fp-404__text p { color: var(--fp-muted); }
.fp-404 .fp-searchform { margin: 1.5rem 0; }

/* ---------- 31. Misc ---------- */
.fp-home-widgets { padding-block: 2rem; }
.fp-page__img img { border-radius: var(--fp-radius-lg); margin-bottom: 2rem; }
.fp-page-links { display: flex; gap: .5rem; margin-top: 2rem; align-items: center; }
.fp-bookmarks { padding-bottom: 1rem; }

/* ---------- 32. Breakpoints ---------- */
@media (min-width: 600px) {
	.fp-grid--2, .fp-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.fp-hcard { grid-template-columns: 160px 1fr; }
	.fp-hcard__media .fp-thumb { aspect-ratio: 4 / 3; }
	.fp-newsletter__row { flex-direction: row; }
	.fp-newsletter--sidebar .fp-newsletter__row { flex-direction: column; }
	.fp-calc__stats { grid-template-columns: repeat(2, 1fr); }
	.fp-calc__stat--main { grid-column: 1 / -1; }
	.fp-postnav { grid-template-columns: 1fr 1fr; }
	.fp-postnav__link--next:only-child { grid-column: 2; }
	.fp-form-grid { grid-template-columns: 1fr 1fr; }
	.fp-list--2col { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
	.fp-list--2col .fp-mini:nth-last-child(2) { border-bottom: 0; }
	.fp-search__form .fp-btn { display: inline-flex; }
	.fp-popup__panel { grid-template-columns: 240px 1fr; }
	.fp-popup__art { display: grid; }
	.fp-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.fp-footer__widgets { grid-template-columns: repeat(2, 1fr); }
	.fp-trending__list { flex-wrap: wrap; overflow: visible; }
}

@media (min-width: 782px) {
	.fp-topbar__date { display: inline-flex; }
	.fp-top__second { grid-template-columns: 1fr 1fr; }
	.fp-second + .fp-second { padding-top: 0; border-top: 0; }
	.fp-desk__lead { grid-template-columns: 1fr 1fr; align-items: center; }
	.fp-editors__grid { grid-template-columns: 1.3fr 1fr; }
	.fp-split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
	.fp-invest__grid { grid-template-columns: 1.2fr 1fr; }
	.fp-desk__panel { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
	.fp-desk__panel > .fp-link-arrow { grid-column: 1 / -1; }
	.fp-desk__lead { grid-template-columns: 1fr; }
	.fp-faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
	.fp-nl-band__inner { grid-template-columns: 260px 1fr; }
	.fp-nl-band__art img { width: 240px; }
	.fp-newsletter--footer { grid-template-columns: 1fr 1.2fr; }
	.fp-newsletter--footer .fp-newsletter__head { padding-right: 1rem; }
	.fp-calc__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.fp-calc__results { border-top: 0; border-left: 1px solid var(--fp-border); }
	.fp-calc[data-fp-calc="budget"] .fp-calc__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.fp-404__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.fp-more__grid { grid-template-columns: 1.6fr 1fr; }
	.fp-trending__inner { grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; }
}

@media (min-width: 1024px) {
	.fp-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.fp-layout--right { grid-template-columns: minmax(0, 1fr) 320px; }
	.fp-layout--left { grid-template-columns: 320px minmax(0, 1fr); }
	.fp-layout--left .fp-sidebar { order: -1; }
	.fp-layout--none { grid-template-columns: minmax(0, 1fr); }
	.fp-sticky-sidebar .fp-sidebar__inner { position: sticky; top: calc(var(--fp-header-h) + 24px); }
	.fp-top__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .95fr); gap: 2.25rem; }
	.fp-top__second { grid-template-columns: 1fr; padding-inline: 2.25rem; margin-inline: -1.125rem; border-left: 1px solid var(--fp-border); border-right: 1px solid var(--fp-border); }
	.fp-second + .fp-second { padding-top: 1.75rem; border-top: 1px solid var(--fp-border); }
	.fp-list--3col { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
	.fp-list--3col .fp-mini { border-bottom: 1px solid var(--fp-border) !important; }
	.fp-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.fp-footer__widgets { grid-template-columns: repeat(4, 1fr); }
	.fp-tools-teaser__inner { grid-template-columns: .9fr 1.4fr; }
	.fp-layout--none .fp-article__main .fp-prose, .fp-layout--none .fp-article__main > *:not(.fp-float-share) { margin-inline: auto; max-width: 780px; }
}

@media (min-width: 1100px) {
	:root { --fp-header-h: 124px; }
	.fp-header__inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand . actions" "nav nav nav"; gap: 0 1.5rem; min-height: 0; padding-top: .9rem; }
	.fp-brand { grid-area: brand; margin-right: 0; }
	.fp-header__actions { grid-area: actions; }
	.fp-nav { grid-area: nav; display: block; margin-top: .75rem; border-top: 1px solid var(--fp-border); }
	.fp-menu { justify-content: center; min-height: 50px; }
	.fp-burger { display: none; }
	.fp-header__cta { display: inline-flex; }
	.fp-topbar__end { display: flex; }
	.fp-brand__name { font-size: 1.65rem; }
	.fp-brand__mark { width: 44px; height: 44px; }
	.fp-header-center .fp-header__inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "meta brand actions" "nav nav nav"; padding-top: 1.1rem; }
	.fp-header-center .fp-masthead-meta { grid-area: meta; display: flex; flex-direction: column; gap: .1rem; font-size: .78rem; color: var(--fp-muted); line-height: 1.4; }
	.fp-header-center .fp-masthead-meta time { font-weight: 700; color: var(--fp-heading); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
	.fp-header-center .fp-masthead-meta span { max-width: 32ch; }
	.fp-header-center .fp-brand { justify-self: center; }
	.fp-header-center .fp-brand__name { font-size: 2.15rem; letter-spacing: -.03em; }
	.fp-header-center .fp-brand__mark { width: 48px; height: 48px; }
	.fp-header-center .fp-header__actions { justify-self: end; }
	.fp-header-center .fp-topbar__date { display: none; }
	.fp-header-center .fp-nav { border-top: 1px solid var(--fp-heading); border-bottom: 3px double var(--fp-border-strong); margin-top: 1rem; }
	.fp-header-center { --fp-header-h: 140px; }
	.fp-header-center .fp-brand__tagline { display: none; }
	.fp-menu > li > a { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
}

@media (min-width: 1280px) {
	.fp-float-share { display: block; position: absolute; left: -84px; top: 0; height: 100%; }
	.fp-float-share .fp-share { position: sticky; top: calc(var(--fp-header-h) + 40px); flex-direction: column; }
	.fp-layout--left .fp-float-share { display: none; }
	.fp-menu > li > a { padding-inline: .8rem; }
}

/* Many top-level menu items: tighten spacing on smaller desktops */
@media (min-width: 1100px) and (max-width: 1279px) {
	.fp-menu > li > a { font-size: .86rem; padding-inline: .55rem; }
}

/* ---------- 33. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.fp-ticker__track { animation: none; }
	.fp-ticker__viewport { overflow-x: auto; }
}

@media print {
	.fp-topbar, .fp-header, .fp-drawer, .fp-search, .fp-popup, .fp-sidebar, .fp-footer, .fp-totop, .fp-progress, .fp-share, .fp-float-share,
	.fp-article__actions, .fp-newsletter, .fp-article__newsletter, .fp-related, .fp-more, .fp-postnav, .fp-comments, .fp-ad, .fp-breadcrumbs, .fp-toast, .fp-header-ad, .fp-footer-ad { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.fp-layout { display: block; }
	.fp-prose { max-width: none; }
	.fp-prose a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
	.fp-article__img { max-height: 320px; }
	.fp-toc details { display: block; }
	h1, h2, h3 { break-after: avoid; }
	img, figure, table, blockquote { break-inside: avoid; }
}
