/* ==========================================================================
   Finance Head 2.0 - main stylesheet
   Colour tokens (--fh-*) for light and dark are printed inline in <head>.
   ========================================================================== */

:root {
	--fh-radius: 14px;
	--fh-radius-md: 10px;
	--fh-radius-sm: 6px;
	--fh-shadow-sm: 0 1px 2px rgba(13, 28, 60, .06);
	--fh-shadow: 0 1px 2px rgba(13, 28, 60, .05), 0 8px 24px -8px rgba(13, 28, 60, .14);
	--fh-shadow-lg: 0 24px 60px -24px rgba(13, 28, 60, .35);
	--fh-ease: cubic-bezier(.2, .7, .2, 1);
	--fh-measure: 720px;
	--fh-crimson: #B91C1C;              /* solid crimson for white-text badges and buttons */
	--fh-crimson-deep: #8E1414;
	--fh-ui: var(--fh-font-body);
	--fh-good: #0F7B4F;  --fh-good-soft: #E7F5EE;
	--fh-warn: #9A5B06;  --fh-warn-soft: #FDF3E1;
	--fh-bad:  #B42318;  --fh-bad-soft:  #FDECEA;
	--fh-info: #1A4FA0;  --fh-info-soft: #EAF0FB;
}
html[data-theme="dark"] {
	--fh-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--fh-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px -10px rgba(0, 0, 0, .6);
	--fh-shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .8);
	--fh-crimson: #D42A2A;
	--fh-crimson-deep: #A51D1D;
	--fh-good: #4ADE80;  --fh-good-soft: #0F2A1C;
	--fh-warn: #FBBF24;  --fh-warn-soft: #2B2210;
	--fh-bad:  #F87171;  --fh-bad-soft:  #2E1618;
	--fh-info: #93B4F5;  --fh-info-soft: #13213A;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	background: var(--fh-surface);
	color: var(--fh-text);
	font-family: var(--fh-font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "cv11", "ss01";
}
body.fh-magazine, body.fh-grid-archive, body.fh-has-rail { background: var(--fh-bg); }

h1, h2, h3, h4, h5, h6, .entry-title {
	font-family: var(--fh-font-head);
	color: var(--fh-heading);
	letter-spacing: -.012em;
	text-wrap: balance;
	font-weight: 700;
}
h1, .entry-title { font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem); line-height: 1.22; }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.4rem); line-height: 1.3; }
h4 { font-size: 1.12rem; }

a { color: var(--fh-link); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .15s; }
a:hover, a:focus { color: var(--fh-link-hover); }
:focus-visible { outline: 2px solid var(--fh-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--fh-crimson); color: #fff; }
img { height: auto; }
.fh-svg { flex: none; display: inline-block; vertical-align: middle; }
.fh-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 .6em; vertical-align: middle; }

/* Full-bleed background helper (no horizontal scroll) */
.fh-front, .fh-catsec--dark, .fh-trust, .fh-archive__head { position: relative; }

/* ---------- GeneratePress containers ---------- */
.site-content, .inside-article, .comments-area, .page-header, .paging-navigation, .inside-page-header { color: var(--fh-text); }
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .site-content {
	background: var(--fh-bg);
	border: 1px solid var(--fh-border);
	border-radius: var(--fh-radius);
	box-shadow: var(--fh-shadow-sm);
}
.separate-containers .widget-area .widget { background: var(--fh-bg); border: 1px solid var(--fh-border); border-radius: var(--fh-radius); }
.fh-magazine .site-content, .fh-grid-archive .site-content { display: block; padding-top: 0; }
.fh-magazine .content-area, .fh-grid-archive .content-area { width: 100%; float: none; }
.fh-magazine.separate-containers .site-main, .fh-grid-archive.separate-containers .site-main { margin: 0; }
.fh-magazine .site-main > *, .fh-grid-archive .site-main > * { margin-bottom: 0; }
body.fh-magazine .site-content, body.fh-grid-archive .site-content,
.one-container.fh-magazine .site-content, .one-container.fh-grid-archive .site-content { background: transparent; border: 0; box-shadow: none; padding-left: 0; padding-right: 0; }

/* ---------- Top strip ---------- */
.fh-strip { background: var(--fh-band-bg); color: var(--fh-band-muted); font-size: 12.5px; line-height: 1.4; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.fh-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 20px; }
.fh-strip__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fh-strip__date { color: var(--fh-band-text); font-weight: 600; white-space: nowrap; }
.fh-strip__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); }
.fh-strip__right { display: flex; align-items: center; gap: 18px; }
.fh-strip__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.fh-strip__menu a { color: var(--fh-band-muted); text-decoration: none; }
.fh-strip__menu a:hover { color: var(--fh-band-text); }
.fh-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.fh-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--fh-band-muted); transition: background-color .15s, color .15s; }
.fh-social a:hover { color: #fff; background: var(--fh-crimson); }
@media (max-width: 768px) { .fh-strip__text, .fh-strip__menu { display: none; } }

/* ---------- Header ---------- */
.site-header { background: var(--fh-bg); color: var(--fh-text); position: relative; z-index: 40; }
.inside-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.site-branding, .site-logo { min-width: 0; }
.main-title { margin: 0; font-family: var(--fh-font-head); font-weight: 700; font-size: 1.95rem; line-height: 1.05; letter-spacing: -.02em; }
.main-title a, .main-title a:hover { color: var(--fh-heading); text-decoration: none; }
.fh-wordmark a { display: inline-flex; align-items: center; gap: 12px; }
.fh-wordmark__badge {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; flex: none;
	background: linear-gradient(145deg, var(--fh-crimson), var(--fh-crimson-deep)); color: #fff;
	font: 700 17px/1 var(--fh-font-head); letter-spacing: .02em;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 6px 14px -6px rgba(185, 28, 28, .6);
}
.fh-wordmark__accent { color: var(--fh-accent-ink); }
.site-description {
	margin: 6px 0 0; color: var(--fh-muted);
	font: 600 11px/1.3 var(--fh-ui); text-transform: uppercase; letter-spacing: .18em;
}
.fh-wordmark + .site-description { padding-left: 56px; margin-top: 2px; }
.site-logo img, .header-image { max-height: 56px; width: auto; }
.fh-header-cta { margin-left: auto; }

/* ---------- Navigation bar ---------- */
.main-navigation, .main-navigation ul ul { background: var(--fh-band-bg); }
.nav-below-header .main-navigation { border-top: 3px solid var(--fh-crimson); box-shadow: 0 6px 18px -10px rgba(7, 15, 35, .5); }
.main-navigation .inside-navigation { align-items: center; }
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items,
.main-navigation .menu-bar-item > a {
	color: var(--fh-band-text);
	font-family: var(--fh-ui);
	font-weight: 600;
	font-size: 14.5px;
	letter-spacing: .01em;
}
.main-navigation .main-nav > ul > li > a { position: relative; }
.main-navigation .main-nav > ul > li > a::after {
	content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--fh-crimson);
	transition: left .22s var(--fh-ease), right .22s var(--fh-ease);
}
.main-navigation .main-nav > ul > li:hover > a::after,
.main-navigation .main-nav > ul > li.current-menu-item > a::after,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a::after,
.main-navigation .main-nav > ul > li.current-post-ancestor > a::after,
.main-navigation .main-nav > ul > li.current-category-ancestor > a::after { left: 16px; right: 16px; }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus-within > a,
.main-navigation .main-nav ul li[class*="current-"] > a { color: var(--fh-band-text); background: rgba(255, 255, 255, .06); }
.main-navigation ul ul {
	background: var(--fh-bg) !important; border: 1px solid var(--fh-border); border-top: 3px solid var(--fh-crimson);
	border-radius: 0 0 var(--fh-radius-md) var(--fh-radius-md); box-shadow: var(--fh-shadow-lg); padding: 6px 0;
}
.main-navigation .main-nav ul ul li a { color: var(--fh-heading); font-weight: 500; font-size: 14.5px; background: transparent; }
.main-navigation .main-nav ul ul li:hover > a { background: var(--fh-surface); color: var(--fh-link); }
.main-navigation.toggled .main-nav > ul { background: var(--fh-band-bg); }
.main-navigation.toggled .main-nav > ul > li > a::after { display: none; }
.main-navigation.toggled .main-nav li { border-top: 1px solid rgba(255, 255, 255, .08); }
.main-navigation.toggled .main-nav ul ul { border: 0 !important; box-shadow: none; }
.mobile-header-navigation { background: var(--fh-band-bg); }
.mobile-header-navigation .site-logo img { max-height: 40px; }
.has-inline-mobile-toggle .mobile-menu-control-wrapper .menu-toggle,
.has-inline-mobile-toggle .mobile-menu-control-wrapper .menu-toggle:hover { background: var(--fh-band-bg); color: var(--fh-band-text); border-radius: var(--fh-radius-sm); }

/* Search */
.navigation-search input[type="search"] { background: var(--fh-band-bg) !important; color: var(--fh-band-text) !important; }
.gp-modal__container { background: var(--fh-bg) !important; color: var(--fh-text) !important; border-radius: var(--fh-radius); }
.gp-modal__overlay { background: rgba(5, 10, 22, .7); backdrop-filter: blur(4px); }

/* Light/dark switch */
.fh-mode-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; margin: 0 4px 0 8px; padding: 0; align-self: center; flex: none;
	border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%;
	background: rgba(255, 255, 255, .06); color: var(--fh-band-text); cursor: pointer;
	transition: background-color .2s, border-color .2s, transform .2s var(--fh-ease);
}
.fh-mode-toggle:hover, .fh-mode-toggle:focus { background: rgba(255, 255, 255, .16); color: var(--fh-band-text); border-color: rgba(255, 255, 255, .45); }
.fh-mode-toggle:active { transform: scale(.92) rotate(-12deg); }
.fh-mode-toggle .fh-icon--sun { display: none; }
html[data-theme="dark"] .fh-mode-toggle .fh-icon--moon { display: none; }
html[data-theme="dark"] .fh-mode-toggle .fh-icon--sun { display: block; color: #FCD34D; }

/* Reading progress */
.fh-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1000; pointer-events: none; }
.admin-bar .fh-progress { top: 32px; }
.fh-progress__bar { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--fh-crimson), var(--fh-accent)); transform: scaleX(0); transform-origin: left; }

/* ---------- Shared pieces ---------- */
.fh-cat {
	display: inline-block; margin-bottom: 8px;
	font: 700 11.5px/1.2 var(--fh-ui); letter-spacing: .12em; text-transform: uppercase;
	color: var(--fh-accent-ink); text-decoration: none;
}
.fh-cat:hover { color: var(--fh-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.fh-kicker {
	display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
	font: 700 12px/1.2 var(--fh-ui) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--fh-accent-ink);
}
.fh-kicker--light { color: #FCA5A5; }

.fh-btn, a.fh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 0;
	background: var(--fh-btn-bg); color: var(--fh-btn-text);
	font: 700 15px/1.2 var(--fh-ui); text-decoration: none; cursor: pointer;
	transition: transform .15s var(--fh-ease), box-shadow .15s, filter .15s;
}
.fh-btn:hover, .fh-btn:focus { color: var(--fh-btn-text); transform: translateY(-1px); box-shadow: var(--fh-shadow); filter: brightness(1.08); }
.fh-btn--sm { padding: 9px 16px; font-size: 14px; }
.fh-btn--lg { padding: 15px 28px; font-size: 16px; }
.fh-btn--accent, a.fh-btn--accent, .fh-btn--accent:hover, .fh-btn--accent:focus { background: var(--fh-crimson); color: #fff; }
.fh-header-cta .fh-btn { background: var(--fh-crimson); color: #fff; }

.fh-more {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	font: 700 14px/1.2 var(--fh-ui); color: var(--fh-link); text-decoration: none;
}
.fh-more .fh-svg { transition: transform .2s var(--fh-ease); }
.fh-more:hover .fh-svg { transform: translateX(3px); }

/* Section header: serif title with a crimson bar sitting on a hairline */
.fh-block { padding-block: clamp(36px, 5vw, 60px); }
.fh-block + .fh-block { border-top: 1px solid var(--fh-border); }
.fh-block__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--fh-border); position: relative;
}
.fh-block__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--fh-crimson); }
.fh-block__title { margin: 0; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem) !important; line-height: 1.15; }
.fh-block__sub { margin: 6px 0 0; color: var(--fh-muted); font-size: 15px; max-width: 62ch; line-height: 1.55; }

/* ---------- Cards ---------- */
.fh-grid { display: grid; gap: 34px 28px; }
.fh-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.fh-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.fh-card__media {
	display: block; position: relative; overflow: hidden; border-radius: var(--fh-radius-md);
	background: var(--fh-surface-2); aspect-ratio: 3 / 2; margin-bottom: 16px;
}
.fh-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--fh-ease); }
.fh-card:hover .fh-card__media img { transform: scale(1.04); }
.fh-card__body { min-width: 0; display: flex; flex-direction: column; }
.fh-card__title { margin: 0 0 8px; font-size: 1.24rem; line-height: 1.3; font-weight: 700; }
.fh-card__title a { color: var(--fh-heading); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--fh-ease); }
.fh-card__title a:hover, .fh-card__title a:focus { color: var(--fh-heading); background-size: 100% 1.5px; }
.fh-card__excerpt { margin: 0 0 12px; color: var(--fh-muted); font-size: 15.5px; line-height: 1.6; }
.fh-card__meta { display: flex; flex-wrap: wrap; align-items: center; font: 500 13px/1.4 var(--fh-ui); color: var(--fh-muted); }
.fh-card__author { display: inline-flex; align-items: center; gap: 8px; color: var(--fh-text); font-weight: 600; }
.fh-card__author img { width: 24px; height: 24px; border-radius: 50%; }

/* Lead: headline over the image */
.fh-card--lead { height: 100%; border-radius: var(--fh-radius); overflow: hidden; background: var(--fh-band-bg); isolation: isolate; }
.fh-card--lead .fh-card__media { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; height: 100%; }
.fh-card--lead .fh-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 12, 30, 0) 25%, rgba(5, 12, 30, .55) 55%, rgba(5, 12, 30, .94) 100%); }
.fh-card--lead .fh-card__body { position: relative; z-index: 1; margin-top: auto; padding: clamp(22px, 3vw, 40px); padding-top: 180px; color: #E7ECF5; }
.fh-card--lead .fh-cat { align-self: flex-start; background: var(--fh-crimson); color: #fff; padding: 6px 11px; border-radius: 4px; margin-bottom: 14px; }
.fh-card--lead .fh-card__title { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.55rem); line-height: 1.14; margin-bottom: 12px; }
.fh-card--lead .fh-card__title a, .fh-card--lead .fh-card__title a:hover { color: #fff; }
.fh-card--lead .fh-card__excerpt { color: #C9D3E6; font-size: 16.5px; max-width: 60ch; }
.fh-card--lead .fh-card__meta, .fh-card--lead .fh-card__author { color: #C9D3E6; }
.fh-card--lead .fh-card__author { color: #fff; }
.fh-card--lead.fh-card--noimg { background: linear-gradient(140deg, var(--fh-band-bg), #1A4FA0); }

/* Wide: image left, text right */
.fh-card--wide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.fh-card--wide .fh-card__media { margin: 0; aspect-ratio: 16 / 10; border-radius: var(--fh-radius); }
.fh-card--wide .fh-card__title { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1.18; }
.fh-card--wide .fh-card__excerpt { font-size: 16.5px; }
.fh-card--wide.fh-card--noimg { grid-template-columns: 1fr; }

/* Row: thumbnail left */
.fh-card--row { flex-direction: row; gap: 16px; align-items: flex-start; }
.fh-card--row .fh-card__media { flex: 0 0 128px; aspect-ratio: 4 / 3; margin: 0; border-radius: var(--fh-radius-sm); }
.fh-card--row .fh-card__title { font-size: 1.05rem; line-height: 1.35; margin-bottom: 6px; }
.fh-card--row .fh-cat { margin-bottom: 5px; font-size: 10.5px; }

/* Number: trending list */
.fh-card--number { flex-direction: row; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--fh-border); }
.fh-card--number:first-of-type { border-top: 0; padding-top: 4px; }
.fh-card__rank { font: 700 2rem/1 var(--fh-font-head); color: var(--fh-crimson); opacity: .9; min-width: 40px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.fh-card--number .fh-card__title { font-size: 1.02rem; line-height: 1.38; margin-bottom: 5px; }
.fh-card--number .fh-cat { font-size: 10.5px; margin-bottom: 5px; }

/* ---------- Homepage ---------- */
.fh-front {
	display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, .86fr); gap: 28px;
	padding-block: 32px 44px;
}
.fh-front__lead { min-height: 540px; }
.fh-front__mid { display: flex; flex-direction: column; gap: 26px; }
.fh-front__mid .fh-card__media { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.fh-front__mid .fh-card__title { font-size: 1.22rem; }
.fh-front__trend { border-left: 1px solid var(--fh-border); padding-left: 26px; }
.fh-front__trend .fh-kicker { padding-bottom: 12px; border-bottom: 3px solid var(--fh-crimson); margin-bottom: 4px; color: var(--fh-heading); }
@media (max-width: 1100px) {
	.fh-front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.fh-front__lead { grid-column: 1 / -1; min-height: 460px; }
}
@media (max-width: 700px) {
	.fh-front { grid-template-columns: 1fr; padding-top: 18px; }
	.fh-front__lead { min-height: 420px; }
	.fh-front__trend { border-left: 0; padding-left: 0; }
}

.fh-topics__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.fh-topics__list li { margin: 0; }
.fh-topic {
	position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
	padding: 20px 18px 18px; border: 1px solid var(--fh-border); border-radius: var(--fh-radius);
	background: var(--fh-bg); color: var(--fh-heading); text-decoration: none; overflow: hidden;
	transition: border-color .2s, transform .25s var(--fh-ease), box-shadow .25s;
}
.fh-topic::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--fh-crimson); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--fh-ease); }
.fh-topic:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--fh-shadow); color: var(--fh-heading); }
.fh-topic:hover::before { transform: scaleX(1); }
.fh-topic__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--fh-accent-soft); color: var(--fh-accent-ink); margin-bottom: 10px; }
.fh-topic__name { font: 700 1.08rem/1.3 var(--fh-font-head); }
.fh-topic__count { font: 500 13px var(--fh-ui); color: var(--fh-muted); }
.fh-topic__go { position: absolute; right: 16px; top: 22px; color: var(--fh-muted); transition: transform .2s var(--fh-ease), color .2s; }
.fh-topic:hover .fh-topic__go { color: var(--fh-crimson); transform: translateX(3px); }

/* Category sections */
.fh-catsec__grid { display: grid; gap: 32px; }
.fh-catsec--split .fh-catsec__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.fh-catsec--split .fh-catsec__lead .fh-card__title { font-size: 1.6rem; line-height: 1.2; }
.fh-catsec__list { display: flex; flex-direction: column; gap: 18px; }
.fh-catsec__list .fh-card--row + .fh-card--row { border-top: 1px solid var(--fh-border); padding-top: 18px; }
.fh-catsec--grid .fh-catsec__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.fh-catsec--wide .fh-catsec__grid { grid-template-columns: 1fr; gap: 36px; }
.fh-catsec--wide .fh-catsec__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.fh-catsec--dark .fh-catsec__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }

/* Dark band section: re-maps the tokens so every card inside turns light-on-dark */
.fh-catsec--dark, .fh-trust {
	--fh-heading: #FFFFFF; --fh-text: #D5DDEB; --fh-muted: #A7B5CC; --fh-border: rgba(255, 255, 255, .13);
	--fh-accent-ink: #FCA5A5; --fh-link: #FFFFFF; --fh-link-hover: #FCA5A5; --fh-surface-2: rgba(255, 255, 255, .06);
	background: var(--fh-band-bg); color: var(--fh-text);
	box-shadow: 0 0 0 100vmax var(--fh-band-bg); clip-path: inset(0 -100vmax);
	border-top: 0 !important;
}
.fh-catsec--dark .fh-block__head::after { background: #F87171; }
.fh-catsec--dark + .fh-block, .fh-trust + .fh-block { border-top: 0; }

@media (max-width: 820px) {
	.fh-catsec--split .fh-catsec__grid, .fh-catsec--dark .fh-catsec__grid { grid-template-columns: 1fr; }
	.fh-card--wide { grid-template-columns: 1fr; }
	.fh-card--wide .fh-card__media { margin-bottom: 4px; }
}
@media (max-width: 560px) {
	.fh-card--row .fh-card__media { flex-basis: 104px; }
}

/* Trust band */
.fh-trust {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px); align-items: start;
	padding-block: clamp(44px, 6vw, 72px);
}
.fh-trust h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin: 0 0 12px; }
.fh-trust__intro > p:not(.fh-kicker) { margin: 0; font-size: 16px; color: var(--fh-text); }
.fh-trust__stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 28px 0 0; }
.fh-trust__stats div { min-width: 96px; }
.fh-trust__stats dt { font: 600 12px var(--fh-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--fh-muted); order: 2; }
.fh-trust__stats dd { margin: 0; font: 700 2.3rem/1.1 var(--fh-font-head); color: #fff; font-variant-numeric: tabular-nums; }
.fh-trust__stats div { display: flex; flex-direction: column-reverse; }
.fh-trust__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fh-trust__list li {
	display: grid; grid-template-columns: auto 1fr; column-gap: 16px; margin: 0;
	padding: 20px; border: 1px solid var(--fh-border); border-radius: var(--fh-radius); background: rgba(255, 255, 255, .04);
}
.fh-trust__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(248, 113, 113, .14); color: #FCA5A5; }
.fh-trust__list strong { color: #fff; font: 700 1.05rem/1.3 var(--fh-font-head); margin-bottom: 4px; }
.fh-trust__list li > span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--fh-text); }
@media (max-width: 900px) { .fh-trust { grid-template-columns: 1fr; } }

/* Newsletter */
.fh-newsletter {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	margin-block: clamp(28px, 4vw, 44px); padding: clamp(26px, 4vw, 44px);
	border-radius: 20px; color: #D5DDEB;
	background: radial-gradient(600px 300px at 95% 0%, rgba(220, 38, 38, .45), transparent 70%), linear-gradient(125deg, #0D2C5C, #123B7A 60%, #1A4FA0);
	box-shadow: var(--fh-shadow-lg);
}
html[data-theme="dark"] .fh-newsletter { background: radial-gradient(600px 300px at 95% 0%, rgba(220, 38, 38, .35), transparent 70%), linear-gradient(125deg, #0B1A36, #112853); border: 1px solid var(--fh-border); }
.fh-newsletter__copy { display: flex; gap: 18px; align-items: flex-start; max-width: 640px; }
.fh-newsletter__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.fh-newsletter h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.fh-newsletter p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.fh-newsletter__action { flex: none; }
.fh-newsletter__action input[type="email"], .fh-newsletter__action input[type="text"] { border-radius: 999px; padding: 12px 18px; }
.fh-newsletter-wrap { padding-inline: 20px; }

/* Latest */
.fh-latest .fh-card__media { aspect-ratio: 16 / 10; }

/* ---------- Archive ---------- */
.fh-archive__head {
	display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
	padding-block: clamp(32px, 5vw, 56px); margin-bottom: clamp(28px, 4vw, 44px);
	background: var(--fh-surface); box-shadow: 0 0 0 100vmax var(--fh-surface); clip-path: inset(0 -100vmax);
	border-bottom: 1px solid var(--fh-border);
}
.fh-archive__icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--fh-crimson); color: #fff; box-shadow: 0 12px 24px -12px rgba(185, 28, 28, .7); }
.fh-archive__icon svg { width: 34px; height: 34px; }
.fh-archive__avatar img { border-radius: 50%; box-shadow: 0 0 0 4px var(--fh-bg), 0 0 0 6px var(--fh-crimson); }
.fh-archive__copy { flex: 1 1 360px; min-width: 0; }
.fh-archive__title { margin: 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.fh-archive__desc { color: var(--fh-muted); font-size: 16.5px; max-width: 68ch; margin-top: 8px; }
.fh-archive__desc p { margin: 0 0 .5em; }
.fh-archive__count { margin: 10px 0 0; font: 600 13px var(--fh-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--fh-muted); }
.fh-archive__search { flex: 1 1 280px; }
.fh-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.fh-archive__lead { grid-column: 1 / -1; padding-bottom: 36px; border-bottom: 1px solid var(--fh-border); }
.fh-archive .fh-breadcrumbs { padding-top: 22px; margin-bottom: 0; }
@media (max-width: 1000px) { .fh-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fh-archive__grid { grid-template-columns: 1fr; } }
.fh-pagination, .navigation.pagination { margin: 48px 0 64px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers, .paging-navigation .page-numbers {
	display: inline-flex; min-width: 44px; height: 44px; padding: 0 14px; align-items: center; justify-content: center;
	border: 1px solid var(--fh-border); border-radius: 999px; color: var(--fh-heading); text-decoration: none; font: 600 15px var(--fh-ui);
	background: var(--fh-bg);
}
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover, .paging-navigation .page-numbers.current, .paging-navigation a.page-numbers:hover { background: var(--fh-btn-bg); color: var(--fh-btn-text); border-color: var(--fh-btn-bg); }
.fh-empty { text-align: center; padding: 60px 0; }

/* ---------- Breadcrumbs ---------- */
.fh-breadcrumbs { font: 500 13.5px/1.4 var(--fh-ui); color: var(--fh-muted); margin: 0 0 18px; }
.fh-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 4px; }
.fh-breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; margin: 0; }
.fh-breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 12px 0 8px; opacity: .5; }
.fh-breadcrumbs a { color: var(--fh-muted); text-decoration: none; }
.fh-breadcrumbs a:hover { color: var(--fh-link); }
.fh-breadcrumbs [aria-current] { color: var(--fh-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }

/* ---------- Single post ---------- */
.single .site-content { padding-top: 0; }
.fh-has-rail.separate-containers .inside-article, .fh-has-rail.one-container .site-content { background: transparent; border: 0; box-shadow: none; }
.fh-has-rail .inside-article { padding-left: 0; padding-right: 0; padding-top: 28px; }
.single .entry-header { max-width: 880px; margin-bottom: 28px; }
.fh-has-rail .fh-breadcrumbs { padding-top: 24px; margin-bottom: 0; }
.fh-cat--single { background: var(--fh-accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.single .entry-title { margin-bottom: 16px; }
.fh-standfirst { margin: 0 0 24px; font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.55; color: var(--fh-muted); max-width: 64ch; }
.fh-meta {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding-block: 16px; border-top: 1px solid var(--fh-border); border-bottom: 1px solid var(--fh-border);
	font: 500 14px/1.45 var(--fh-ui); color: var(--fh-muted);
}
.fh-meta__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fh-meta__avatar img { display: block; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--fh-bg), 0 0 0 4px var(--fh-accent-soft); }
.fh-meta__text { display: flex; flex-direction: column; min-width: 0; }
.fh-meta__by { color: var(--fh-text); }
.fh-meta__by a { color: var(--fh-heading); font-weight: 700; text-decoration: none; }
.fh-meta__by a:hover { color: var(--fh-link); }
.fh-meta__cred { color: var(--fh-muted); font-weight: 500; }
.fh-meta__cred::before { content: "·"; margin: 0 .5em; }
.fh-meta__line { display: flex; flex-wrap: wrap; align-items: center; }
.fh-meta__updated { color: var(--fh-good); font-weight: 600; }
.fh-meta__updated::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px var(--fh-good-soft); }
.fh-meta__read { display: inline-flex; align-items: center; gap: 5px; }

.single .featured-image, .single .post-image { margin: 0 0 36px; }
.single .featured-image img, .single .post-image img { border-radius: var(--fh-radius); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* Body + sticky rail */
.fh-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.fh-body__main { min-width: 0; max-width: var(--fh-measure); }
.fh-rail { display: none; }
@media (min-width: 1100px) {
	.fh-body { grid-template-columns: minmax(0, var(--fh-measure)) 270px; justify-content: space-between; }
	.fh-rail { display: block; }
	.fh-rail__inner { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 22px; }
	.admin-bar .fh-rail__inner { top: 60px; }
	.fh-body__main .fh-toc, .fh-has-rail .fh-meta .fh-share--inline { display: none; }
}
.fh-rail__title { margin: 0 0 12px; font: 700 12px/1.2 var(--fh-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--fh-heading); }
.fh-rail__toc { padding: 20px; border: 1px solid var(--fh-border); border-radius: var(--fh-radius); background: var(--fh-surface); max-height: calc(100vh - 220px); overflow: auto; }
.fh-rail__toc ol { list-style: none; margin: 0; padding: 0; }
.fh-rail__toc ol ol { padding-left: 14px; }
.fh-rail__toc li { margin: 0; }
.fh-rail__toc a {
	display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--fh-border);
	font: 500 14px/1.4 var(--fh-ui); color: var(--fh-muted); text-decoration: none; transition: color .15s, border-color .15s;
}
.fh-rail__toc a:hover { color: var(--fh-heading); }
.fh-rail__toc a.is-active { color: var(--fh-heading); border-left-color: var(--fh-crimson); font-weight: 700; }
.fh-rail__share { padding: 20px; border: 1px solid var(--fh-border); border-radius: var(--fh-radius); }

/* Article typography */
.entry-content { font-size: 1.07rem; line-height: 1.78; }
.entry-content > * { max-width: var(--fh-measure); }
.fh-has-rail .entry-content > * { max-width: none; }
.entry-content h2 { margin: 2.2em 0 .6em; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); }
.entry-content h3 { margin: 1.8em 0 .5em; }
.entry-content h2, .entry-content h3 { scroll-margin-top: 90px; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 1.3em; }
.entry-content li { margin-bottom: .45em; padding-left: .2em; }
.entry-content li::marker { color: var(--fh-crimson); font-weight: 700; }
.entry-content strong { color: var(--fh-heading); }
.entry-content a:not(.fh-btn):not(.wp-block-button__link) { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--fh-link) 35%, transparent); text-decoration-thickness: 1.5px; font-weight: 500; }
.entry-content a:not(.fh-btn):not(.wp-block-button__link):hover { text-decoration-color: currentColor; }
.entry-content > p:first-of-type { font-size: 1.12rem; }
.entry-content blockquote:not([class*="is-style"]) {
	margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--fh-crimson);
	font: 400 1.3rem/1.5 var(--fh-font-head); color: var(--fh-heading); background: none;
}
.entry-content figcaption, .wp-element-caption { color: var(--fh-muted); font-size: 13.5px; text-align: center; }
.entry-content code { background: var(--fh-surface-2); padding: .15em .4em; border-radius: 4px; font-size: .88em; }
.entry-content hr { border: 0; height: 1px; background: var(--fh-border); margin: 2.4em 0; }

/* Tables */
.entry-content table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--fh-ui); font-variant-numeric: tabular-nums; }
.entry-content th, .entry-content td { border: 1px solid var(--fh-border); padding: 12px 14px; text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--fh-surface-2); color: var(--fh-heading); font-weight: 700; }
.entry-content tbody tr:nth-child(even) td { background: var(--fh-surface); }
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2em 0; }

footer.entry-meta { margin-top: 28px; font: 500 14px var(--fh-ui); color: var(--fh-muted); }
footer.entry-meta a { color: var(--fh-link); }
.fh-has-rail footer.entry-meta { max-width: var(--fh-measure); }
.post-navigation { border-top: 1px solid var(--fh-border); padding-top: 18px; margin-top: 18px; }
.post-navigation .nav-previous, .post-navigation .nav-next { font-family: var(--fh-font-head); font-weight: 600; }

/* Inline TOC (mobile and when the rail is off) */
.fh-toc { margin: 2em 0; }
.fh-toc details { border: 1px solid var(--fh-border); border-radius: var(--fh-radius); background: var(--fh-surface); overflow: hidden; }
.fh-toc summary {
	cursor: pointer; list-style: none; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
	font: 700 13px/1.2 var(--fh-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--fh-heading);
}
.fh-toc summary::-webkit-details-marker { display: none; }
.fh-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.fh-toc details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.fh-toc details[open] summary { border-bottom: 1px solid var(--fh-border); }
.fh-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: fhtoc; }
.fh-toc__list { padding: 14px 20px 18px !important; }
.fh-toc__list > li { counter-increment: fhtoc; margin: 0; padding: 6px 0; font: 500 15px/1.45 var(--fh-ui); }
.fh-toc__list > li > a::before { content: counter(fhtoc, decimal-leading-zero); color: var(--fh-crimson); font-weight: 700; margin-right: .7em; font-variant-numeric: tabular-nums; }
.fh-toc__list ol { padding: 4px 0 0 2.2em; }
.fh-toc__list ol li { font-size: 14px; padding: 3px 0; margin: 0; }
.fh-toc a { color: var(--fh-text); text-decoration: none !important; font-weight: 500 !important; }
.fh-toc a:hover { color: var(--fh-link); }

/* Share */
.fh-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fh-share--bottom { margin: 40px 0 24px; padding: 20px 22px; border-radius: var(--fh-radius); background: var(--fh-surface); border: 1px solid var(--fh-border); }
.fh-share__label { font: 700 14px var(--fh-ui); color: var(--fh-heading); margin-right: auto; }
.fh-share__btn {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
	border-radius: 50%; border: 1px solid var(--fh-border); background: var(--fh-bg); color: var(--fh-heading);
	cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.fh-share--inline .fh-share__btn { width: 36px; height: 36px; }
.fh-share__btn:hover, .fh-share__btn:focus { color: #fff; transform: translateY(-2px); }
.fh-share__btn--whatsapp:hover { background: #128C4B; border-color: #128C4B; }
.fh-share__btn--x:hover { background: #111; border-color: #111; }
.fh-share__btn--linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.fh-share__btn--telegram:hover { background: #1E88C7; border-color: #1E88C7; }
.fh-share__btn--facebook:hover { background: #1877F2; border-color: #1877F2; }
.fh-share__btn--copy:hover { background: var(--fh-crimson); border-color: var(--fh-crimson); }
.fh-share__status { font: 600 13px var(--fh-ui); color: var(--fh-good); }

/* Disclaimer */
.fh-disclaimer {
	display: flex; gap: 12px; align-items: flex-start; margin: 24px 0;
	padding: 16px 18px; border-radius: var(--fh-radius-md); background: var(--fh-surface); border: 1px solid var(--fh-border);
	font: 400 13.5px/1.6 var(--fh-ui); color: var(--fh-muted);
}
.fh-disclaimer .fh-svg { color: var(--fh-muted); margin-top: 2px; }
.fh-disclaimer p { margin: 0; }
.fh-disclaimer strong { color: var(--fh-heading); }

/* Author box */
.fh-author {
	display: flex; gap: 22px; align-items: flex-start; margin: 28px 0;
	padding: 26px; border-radius: var(--fh-radius); border: 1px solid var(--fh-border);
	background: linear-gradient(135deg, var(--fh-accent-soft), var(--fh-bg) 55%);
}
.fh-author__avatar img { display: block; width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px var(--fh-bg), 0 0 0 6px var(--fh-crimson); }
.fh-author__body { min-width: 0; }
.fh-author__body p { margin: 0; }
.fh-author__eyebrow { font: 700 11.5px var(--fh-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--fh-accent-ink); }
.fh-author__name { font: 700 1.4rem/1.25 var(--fh-font-head); margin-top: 4px !important; }
.fh-author__name a { color: var(--fh-heading); text-decoration: none; }
.fh-author__cred { font: 600 14px var(--fh-ui); color: var(--fh-muted); margin-top: 2px !important; }
.fh-author__bio { margin-top: 12px !important; font-size: 15.5px; line-height: 1.65; }
.fh-author__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.fh-author__all { display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--fh-ui); color: var(--fh-link); text-decoration: none; margin-right: 6px; }
.fh-author__social { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--fh-border); color: var(--fh-heading); background: var(--fh-bg); }
.fh-author__social:hover { background: var(--fh-btn-bg); color: var(--fh-btn-text); }
@media (max-width: 560px) { .fh-author { flex-direction: column; } }

/* Related */
.fh-related { margin-top: 56px; padding-top: 8px; }
.fh-related .fh-block__title { margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--fh-border); position: relative; }
.fh-related .fh-block__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--fh-crimson); }

/* ---------- GP default blog list (when the grid is off) ---------- */
.blog .entry-title, .archive .entry-title, .search .entry-title { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); line-height: 1.3; }
.blog .entry-title a, .archive .entry-title a, .search .entry-title a { color: var(--fh-heading); text-decoration: none; }
.blog .entry-title a:hover, .archive .entry-title a:hover, .search .entry-title a:hover { color: var(--fh-link); }
.blog .post-image img, .archive .post-image img { border-radius: var(--fh-radius-md); }
.entry-meta { color: var(--fh-muted); font: 500 13.5px var(--fh-ui); }
.entry-meta a { color: var(--fh-muted); }
.read-more-container .read-more, a.read-more { font-weight: 700; color: var(--fh-link); }
.page-header .page-title { margin: 0; }

/* ---------- Sidebar widgets ---------- */
.widget-area .widget { color: var(--fh-text); }
.widget-title, .widget .wp-block-heading { font: 700 13px/1.2 var(--fh-ui) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--fh-heading); border-bottom: 1px solid var(--fh-border); padding-bottom: 12px; margin-bottom: 14px; position: relative; }
.widget-title::after, .widget .wp-block-heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 3px; background: var(--fh-crimson); }
.widget ul li { border-bottom: 1px solid var(--fh-border); padding: 9px 0; margin: 0; }
.widget ul li:last-child { border-bottom: 0; }
.widget a { color: var(--fh-heading); text-decoration: none; }
.widget a:hover { color: var(--fh-link); }

/* ---------- Forms & buttons ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"], textarea, select {
	background: var(--fh-bg); color: var(--fh-text); border: 1px solid var(--fh-border); border-radius: var(--fh-radius-sm);
	font-family: var(--fh-ui);
}
input:focus, textarea:focus, select:focus { border-color: var(--fh-link); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--fh-link) 18%, transparent); }
input[type="submit"], input[type="button"], .button, .wp-block-button__link, .wp-block-search__button {
	background: var(--fh-btn-bg); color: var(--fh-btn-text); border: 0; border-radius: 999px; font-weight: 700; font-family: var(--fh-ui);
}
input[type="submit"]:hover, .button:hover, .wp-block-button__link:hover, .wp-block-search__button:hover { background: var(--fh-btn-bg); color: var(--fh-btn-text); filter: brightness(1.1); }
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; border-radius: 999px; padding: 12px 18px; }
.search-form .search-submit { border-radius: 999px; padding: 12px 20px; }

/* Comments */
.comments-area .comment-author, .comments-area .comment-meta a { color: var(--fh-heading); }
.comment-content { border-color: var(--fh-border) !important; }
.comment-metadata, .comment-metadata a { color: var(--fh-muted); }
.fh-has-rail .comments-area { max-width: var(--fh-measure); }

/* ---------- Footer ---------- */
.site-footer { background: var(--fh-band-bg); color: var(--fh-band-muted); }
.fh-footer { background: var(--fh-band-bg); color: var(--fh-band-muted); border-top: 3px solid var(--fh-crimson); }
.fh-footer__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: clamp(44px, 6vw, 72px) 20px 40px; }
.fh-footer__logo { display: inline-block; font: 700 1.7rem/1.1 var(--fh-font-head); color: #fff; text-decoration: none; letter-spacing: -.02em; }
.fh-footer__logo:hover { color: #fff; }
.fh-footer__logo img { max-height: 48px; width: auto; }
.fh-footer__tagline { margin: 6px 0 14px; font: 600 11px var(--fh-ui); letter-spacing: .18em; text-transform: uppercase; color: #FCA5A5; }
.fh-footer__about { margin: 0 0 18px; font-size: 14.5px; line-height: 1.65; max-width: 44ch; }
.fh-footer .fh-social a { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .16); }
.fh-footer__title { margin: 0 0 14px; font: 700 12px var(--fh-ui); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.fh-footer__col ul { list-style: none; margin: 0; padding: 0; }
.fh-footer__col li { margin: 0 0 10px; font-size: 14.5px; }
.fh-footer__col a { color: var(--fh-band-muted); text-decoration: none; }
.fh-footer__col a:hover { color: #fff; }
.fh-footer__checks li { display: flex; gap: 8px; align-items: flex-start; }
.fh-footer__checks .fh-svg { color: #4ADE80; margin-top: 4px; }
.fh-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 18px 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; line-height: 1.6; }
.fh-footer__legal p { margin: 0; max-width: 80ch; }
.fh-footer__legal-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.fh-footer__legal-menu a { color: var(--fh-band-muted); }
@media (max-width: 900px) { .fh-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fh-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fh-footer__inner { grid-template-columns: 1fr; } }

.footer-widgets { background: var(--fh-band-bg); color: var(--fh-band-muted); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-widgets .widget { background: transparent; border: 0 !important; }
.footer-widgets .widget-title, .footer-widgets .wp-block-heading { color: #fff; }
.footer-widgets a { color: var(--fh-band-muted); }
.footer-widgets a:hover { color: #fff; }
.footer-widgets .widget ul li { border-color: rgba(255, 255, 255, .1); }
.site-info { background: #060C1A; color: #8E9BB2; font: 500 13px var(--fh-ui); }
html[data-theme="dark"] .site-info { background: #04080F; }
.site-info a { color: #C9D3E6; }
.generate-back-to-top { background: var(--fh-crimson) !important; color: #fff !important; border-radius: 50%; box-shadow: var(--fh-shadow); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	body { font-size: 16.5px; }
	.inside-header { padding-top: 16px; padding-bottom: 16px; }
	.main-title { font-size: 1.55rem; }
	.fh-wordmark__badge { width: 38px; height: 38px; font-size: 15px; }
	.fh-wordmark + .site-description { padding-left: 50px; }
	.fh-header-cta { display: none; }
	.fh-breadcrumbs [aria-current] { max-width: 26ch; }
	.fh-meta { font-size: 13.5px; }
	.single .featured-image img, .single .post-image img { aspect-ratio: 16 / 10; }
}
