/*
 Theme Name:   FinFigured Child
 Theme URI:    https://finfigured.com
 Description:  FinFigured theme on GeneratePress: ledger-paper look, custom header and footer, Home / Topic hub / Calculator page templates.
 Author:       FinFigured
 Template:     generatepress
 Version:      2.2.1
 Text Domain:  finfigured-child
*/

/* ==========================================================================
   Fonts (self-hosted variable fonts, SIL OFL)
   ========================================================================== */
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Tokens (the calculator plugin reads the --ff-* ones too)
   ========================================================================== */
:root {
	--ff-primary: #136F5B;
	--ff-primary-dark: #0D5545;
	--ff-ink: #12302A;
	--ff-text: #12302A;
	--ff-body: #34504A;
	--ff-muted: #5A6B65;
	--ff-paper: #FAFBF8;
	--ff-bg: #FFFFFF;
	--ff-surface: #FAFBF8;
	--ff-grid: #DCEBE4;
	--ff-border: #DCEBE4;
	--ff-field: #B9D3C8;
	--ff-highlight: #FFD84D;
	--ff-accent: #FFD84D;
	--ff-danger: #9A2B12;
	--ff-radius: 16px;
	--ff-font-head: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
	--ff-font-body: "Public Sans", ui-sans-serif, system-ui, sans-serif;
	--ff-wrap: 1200px;
	--ff-gutter: 24px;
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-padding-top: 24px; }
body {
	background: var(--ff-paper);
	color: var(--ff-ink);
	font-family: var(--ff-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ff-font-head);
	color: var(--ff-ink);
	letter-spacing: -0.015em;
	line-height: 1.2;
}
a { color: var(--ff-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--ff-primary-dark); }
:focus-visible { outline: 2px solid var(--ff-primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--ff-highlight); color: var(--ff-ink); }
mark.ff-hl, .ff-hl {
	background: linear-gradient(transparent 50%, var(--ff-highlight) 50%, var(--ff-highlight) 92%, transparent 92%);
	color: inherit;
	padding: 0 .15em;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.ff-wrap { max-width: var(--ff-wrap); margin-inline: auto; padding-inline: var(--ff-gutter); box-sizing: border-box; }
.ff-paper {
	background-color: var(--ff-paper);
	background-image: linear-gradient(var(--ff-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ff-grid) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: -1px -1px;
}

.ff-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ff-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.ff-skip:focus { left: 8px; color: #fff; }

.ff-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 22px;
	border: 0; border-radius: 12px;
	background: var(--ff-primary); color: #fff;
	font: 700 16px/1 var(--ff-font-body);
	text-decoration: none; cursor: pointer;
}
.ff-btn:hover, .ff-btn:focus { background: var(--ff-primary-dark); color: #fff; }
.ff-btn--outline { min-height: 42px; padding: 0 16px; background: transparent; color: var(--ff-primary); border: 1.5px solid var(--ff-primary); border-radius: 10px; font-size: 15px; }
.ff-btn--outline:hover, .ff-btn--outline:focus { background: var(--ff-primary); color: #fff; }

/* ==========================================================================
   Drop GeneratePress chrome on our templates
   ========================================================================== */
.ff-tpl .site.grid-container { max-width: none; padding: 0; }
.ff-tpl .site-content { display: block; padding: 0; }
.ff-tpl .site-main, .ff-tpl .content-area { margin: 0; width: 100%; }
.site-header, .main-navigation, #mobile-header, .site-footer .footer-widgets, .site-info { display: none; }

/* Default GeneratePress pages (privacy, about...) in brand colors */
body:not(.ff-tpl) .site.grid-container { max-width: 840px; }
body:not(.ff-tpl) .inside-article { background: var(--ff-bg); border: 1px solid var(--ff-grid); border-radius: var(--ff-radius); }
body:not(.ff-tpl) .separate-containers .site-main { margin: 40px 0; }
body:not(.ff-tpl) .entry-title { font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.025em; }

/* ==========================================================================
   Header
   ========================================================================== */
.ff-header { background: var(--ff-bg); border-bottom: 1px solid var(--ff-grid); position: relative; z-index: 20; }
.ff-header__in { display: flex; align-items: center; gap: 12px 32px; min-height: 68px; }
.ff-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.ff-brand span { font: 800 22px/1 var(--ff-font-head); letter-spacing: -0.02em; color: var(--ff-ink); }
.ff-brand--light span { color: #fff; }
.ff-brand:hover span { color: var(--ff-ink); }
.ff-brand--light:hover span { color: #fff; }

.ff-nav { display: flex; align-items: center; gap: 24px; flex: 1 1 auto; }
.ff-nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.ff-nav ul a { color: var(--ff-ink); font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.ff-nav ul a:hover, .ff-nav ul a[aria-current="page"] { color: var(--ff-primary); border-bottom-color: var(--ff-primary); }

.ff-nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ff-grid); border-radius: 10px; background: var(--ff-bg); color: var(--ff-ink); cursor: pointer; padding: 0; }

@media (max-width: 860px) {
	.ff-nav-toggle { display: inline-flex; }
	.ff-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ff-bg); border-bottom: 1px solid var(--ff-grid); padding: 8px var(--ff-gutter) 20px; flex-direction: column; align-items: stretch; gap: 12px; box-shadow: 0 16px 24px -16px rgba(18, 48, 42, .25); }
	.ff-nav-open .ff-nav { display: flex; }
	.ff-nav ul { flex-direction: column; gap: 0; }
	.ff-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--ff-grid); font-size: 17px; }
	.ff-nav ul a:hover, .ff-nav ul a[aria-current="page"] { border-bottom-color: var(--ff-grid); }
}

/* ==========================================================================
   Shared page pieces
   ========================================================================== */
.ff-section { padding-top: 72px; padding-bottom: 24px; }
.ff-h2 { margin: 0 0 8px; font-weight: 800; font-size: clamp(28px, 3.2vw, 36px); letter-spacing: -0.02em; }
.ff-section__lede { margin: 0 0 36px; color: var(--ff-muted); font-size: 17px; }
.ff-lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ff-body); max-width: 640px; }

.ff-pagehead { border-bottom: 1px solid var(--ff-grid); }
.ff-pagehead .ff-wrap { padding-top: 28px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.ff-pagehead h1 { margin: 0; font-weight: 800; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.025em; max-width: 860px; }

.ff-crumbs li { white-space: nowrap; }
.ff-crumbs li[aria-current] { white-space: normal; }
.ff-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ff-muted); }
.ff-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ff-field); }
.ff-crumbs a { color: var(--ff-primary); text-decoration: none; }
.ff-crumbs a:hover { text-decoration: underline; }
.ff-byline { margin: 0; font-size: 14px; color: var(--ff-muted); }
.ff-byline a { color: var(--ff-ink); font-weight: 600; }

/* ==========================================================================
   Home
   ========================================================================== */
.ff-hero { border-bottom: 1px solid var(--ff-grid); }
.ff-hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.ff-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ff-hero h1 { margin: 0; font-weight: 800; font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }

.ff-search { display: flex; flex-direction: column; gap: 6px; max-width: 540px; margin: 0; }
.ff-search label { font-weight: 700; font-size: 14px; }
.ff-search__row { display: flex; gap: 8px; }
.ff-search input[type="search"] {
	flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px;
	font: 16px var(--ff-font-body); color: var(--ff-ink);
	background: var(--ff-bg); border: 1.5px solid var(--ff-field); border-radius: 12px;
}
.ff-search input[type="search"]:focus { outline: 2px solid var(--ff-primary); outline-offset: -1px; border-color: transparent; }
.ff-search .ff-btn { min-height: 52px; }
.ff-search__status { margin: 0; font-size: 14px; color: var(--ff-muted); }
.ff-search__status:empty { display: none; }

.ff-popular { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 15px; }
.ff-popular span { color: var(--ff-muted); }

.ff-mini {
	flex: 1 1 400px; min-width: 0; box-sizing: border-box;
	background: var(--ff-bg); border: 1px solid var(--ff-grid); border-radius: 20px;
	box-shadow: 0 1px 0 var(--ff-grid), 0 18px 40px -24px rgba(18, 48, 42, .35);
	padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.ff-mini h2 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; }
.ff-mini__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ff-mini__fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ff-muted); }
.ff-mini__input { position: relative; display: flex; align-items: center; }
.ff-mini__input span { position: absolute; left: 11px; color: var(--ff-muted); font-weight: 500; pointer-events: none; }
.ff-mini__input--suf span { left: auto; right: 11px; }
.ff-mini__input input {
	width: 100%; min-width: 0; height: 48px; padding: 0 12px 0 24px;
	font: 600 17px var(--ff-font-body); color: var(--ff-ink); font-variant-numeric: tabular-nums;
	background: var(--ff-bg); border: 1.5px solid var(--ff-grid); border-radius: 10px;
	-moz-appearance: textfield;
}
.ff-mini__input--suf input { padding: 0 26px 0 12px; }
.ff-mini__input input::-webkit-outer-spin-button, .ff-mini__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ff-mini__input input:focus { outline: 2px solid var(--ff-primary); outline-offset: -1px; border-color: transparent; }
.ff-mini__out { border: 1px solid var(--ff-grid); border-radius: 14px; padding: 20px; min-height: 104px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.ff-mini__answer { margin: 0; font-size: 18px; line-height: 1.5; }
.ff-mini__answer .ff-hl { font-size: 24px; }
.ff-mini__sub { margin: 0; font-size: 15px; color: var(--ff-body); font-variant-numeric: tabular-nums; }
.ff-mini__sub b { color: var(--ff-ink); }
.ff-mini__warn { margin: 0; color: var(--ff-danger); font-weight: 600; font-size: 16px; }
.ff-mini__link { font-weight: 700; font-size: 15px; }

@media (max-width: 480px) {
	.ff-hero__in { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
	.ff-mini { padding: 20px; }
	.ff-mini__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ff-mini__fields label:last-child { grid-column: 1 / -1; }
	.ff-search__row { flex-direction: column; }
}

.ff-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; }
.ff-topic { border-top: 3px solid var(--ff-ink); padding-top: 16px; }
.ff-topic h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; }
.ff-topic h3 a { color: var(--ff-ink); text-decoration: none; display: inline-block; padding: 6px 0; }
.ff-topic h3 a:hover { color: var(--ff-primary); }
.ff-topic ul, .ff-hublist { list-style: none; margin: 0; padding: 0; }
.ff-topic li a, .ff-hublist li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--ff-grid); text-decoration: none; }
.ff-topic__name { font-weight: 700; font-size: 16px; color: var(--ff-primary); }
.ff-topic__q { font-size: 14px; line-height: 1.45; color: var(--ff-muted); }
.ff-topic li a:hover .ff-topic__name, .ff-hublist li a:hover .ff-topic__name { text-decoration: underline; }

.ff-hublist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 48px; border-top: 3px solid var(--ff-ink); }
.ff-hublist li a { padding: 16px 0; }
.ff-hublist .ff-topic__name { font-size: 18px; }
.ff-hub__content { margin-top: 56px; }
.ff-hub > .ff-section { padding-bottom: 80px; }

.ff-trust { border: 1px solid var(--ff-grid); border-radius: 20px; background: var(--ff-bg); padding: clamp(24px, 4vw, 48px); }
.ff-trust__head { max-width: 640px; margin-bottom: 36px; }
.ff-trust__head p { margin: 12px 0 0; color: var(--ff-body); font-size: 17px; }
.ff-trust__head a { font-weight: 700; }
.ff-trust__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ff-trust__points li { border-top: 1px solid var(--ff-grid); padding-top: 20px; }
.ff-trust__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px;
	background-color: #E8F3EE; color: var(--ff-primary);
}
.ff-trust__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ff-trust__points h3 { margin: 0 0 6px; font-family: var(--ff-font-body); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.ff-trust__points p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ff-muted); }
@media (max-width: 960px) { .ff-trust__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; } }
@media (max-width: 560px) {
	.ff-trust__head { margin-bottom: 24px; }
	.ff-trust__points { grid-template-columns: 1fr; gap: 0; }
	.ff-trust__points li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px 0; }
	.ff-trust__icon { grid-row: span 2; margin: 0; }
}

.ff-home > .ff-section:last-child { padding-bottom: 72px; }

/* ==========================================================================
   Calculator page
   ========================================================================== */
.ff-calcpage__tool { margin-top: 32px; }
.ff-calcpage__body { display: flex; flex-wrap: wrap; gap: 56px; padding: 24px 0 72px; }
.ff-calcpage__body > article { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.ff-aside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 32px; align-self: flex-start; position: sticky; top: 24px; }
.ff-aside h2 { margin: 0 0 8px; font: 700 14px var(--ff-font-body); color: var(--ff-muted); letter-spacing: 0; }
.ff-aside ul { list-style: none; margin: 0; padding: 0; }
.ff-toc li a { display: block; padding: 5px 0; font-size: 15px; text-decoration: none; }
.ff-toc li a:hover { text-decoration: underline; }
.ff-related li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--ff-grid); font-weight: 700; font-size: 15px; text-decoration: none; }
@media (max-width: 860px) { .ff-aside { position: static; } }

/* ==========================================================================
   Long-form content
   ========================================================================== */
.ff-prose { font-size: 18px; line-height: 1.7; color: var(--ff-ink); }
.ff-prose > *:first-child { margin-top: 0; }
.ff-prose h2 { margin: 2em 0 .5em; font-weight: 800; font-size: clamp(26px, 3vw, 30px); letter-spacing: -0.015em; }
.ff-prose h3 { margin: 1.6em 0 .4em; font-size: 21px; font-weight: 700; }
.ff-prose p, .ff-prose ul, .ff-prose ol { margin: 0 0 1.1em; }
.ff-prose ul, .ff-prose ol { padding-left: 1.3em; }
.ff-prose li { margin-bottom: .4em; }
.ff-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 16px; font-variant-numeric: tabular-nums; }
.ff-prose th, .ff-prose td, .ff-prose .wp-block-table th, .ff-prose .wp-block-table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--ff-grid); text-align: left; vertical-align: top; }
.ff-prose .wp-block-table thead { border-bottom: 2px solid var(--ff-ink); }
.ff-prose thead th { background: var(--ff-paper); font-weight: 700; }
.ff-prose .wp-block-table { overflow-x: auto; margin: 0 0 1.4em; }
.ff-prose blockquote, .ff-prose .ff-formula {
	margin: 0 0 1.4em; padding: 18px 20px; border: 1px solid var(--ff-grid); border-radius: 14px; font-size: 16px;
	background-color: var(--ff-paper);
	background-image: linear-gradient(var(--ff-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ff-grid) 1px, transparent 1px);
	background-size: 24px 24px;
}
.ff-prose blockquote p:last-child { margin: 0; }
.ff-prose details { border-top: 1px solid var(--ff-grid); padding: 14px 0; }
.ff-prose details:last-of-type { border-bottom: 1px solid var(--ff-grid); }
.ff-prose summary { font-weight: 700; cursor: pointer; }
.ff-prose details p { margin: 10px 0 0; font-size: 17px; }

/* ==========================================================================
   General page (About, legal pages)
   ========================================================================== */
.ff-page__body { padding-top: 48px; padding-bottom: 80px; }
.ff-page__body > .ff-prose { max-width: 760px; }

.ff-author {
	display: grid; grid-template-columns: 96px 1fr; gap: 24px;
	margin: 0 0 2.2em; padding: clamp(20px, 3vw, 32px);
	background: var(--ff-bg); border: 1px solid var(--ff-grid); border-radius: 20px;
}
.ff-author__avatar {
	width: 96px; height: 96px; border-radius: 24px; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: var(--ff-primary); color: #fff;
	font: 800 34px/1 var(--ff-font-head); letter-spacing: -0.02em;
}
.ff-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ff-prose .ff-author h2 { margin: 0; font-size: 26px; }
.ff-prose .ff-author__role { margin: 4px 0 12px; font-size: 15px; color: var(--ff-muted); }
.ff-prose .ff-author p { font-size: 16px; }
.ff-author__facts { list-style: none; margin: 0 0 14px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.ff-author__facts li { margin: 0 !important; padding: 6px 12px; border-radius: 99px; background: var(--ff-paper); border: 1px solid var(--ff-grid); font-size: 14px; font-variant-numeric: tabular-nums; }
.ff-author__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 !important; font-size: 15px; font-weight: 700; }
@media (max-width: 560px) {
	.ff-author { grid-template-columns: 1fr; gap: 16px; }
	.ff-author__avatar { width: 72px; height: 72px; border-radius: 18px; font-size: 26px; }
}
.ff-prose .ff-pubs { list-style: none; padding: 0; }
.ff-prose .ff-pubs li { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--ff-grid); font-size: 16px; line-height: 1.55; }
.ff-prose .ff-pubs li:first-child { border-top: 1px solid var(--ff-grid); }
.ff-pubs cite { display: block; font-style: normal; color: var(--ff-muted); font-size: 14px; margin-top: 2px; }

/* Contact form */
.ff-contact { margin: 0 0 2em; }
.ff-form { background: var(--ff-bg); border: 1px solid var(--ff-grid); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.ff-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ff-prose .ff-form__field { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.ff-form__field label { font-size: 14px; font-weight: 700; }
.ff-form input[type="text"], .ff-form input[type="email"], .ff-form select, .ff-form textarea {
	width: 100%; box-sizing: border-box; padding: 12px 14px; min-height: 48px;
	font: 16px/1.5 var(--ff-font-body); color: var(--ff-ink);
	background: var(--ff-bg); border: 1.5px solid var(--ff-field); border-radius: 10px;
}
.ff-form textarea { resize: vertical; min-height: 160px; }
.ff-form input:focus, .ff-form select:focus, .ff-form textarea:focus { outline: 2px solid var(--ff-primary); outline-offset: -1px; border-color: transparent; }
.ff-form__hint, .ff-prose .ff-form__privacy { font-size: 14px; color: var(--ff-muted); }
.ff-prose .ff-form__privacy { margin: 0 0 18px; }
.ff-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ff-prose .ff-form__notice { padding: 14px 16px; border-radius: 12px; font-size: 16px; font-weight: 600; margin: 0 0 18px; }
.ff-form__notice--ok { background: #E8F3EE; color: var(--ff-primary-dark); border: 1px solid #B9D3C8; }
.ff-form__notice--error { background: #FBEDE8; color: var(--ff-danger); border: 1px solid #F0C9BD; }
@media (max-width: 560px) { .ff-form__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.ff-footer { background: var(--ff-ink); color: #CFE0D8; }
.ff-footer a { color: #CFE0D8; text-decoration: none; }
.ff-footer a:hover { color: #fff; text-decoration: underline; }
.ff-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.ff-footer__about { flex: 2 1 280px; display: flex; flex-direction: column; gap: 14px; }
.ff-footer__about p { margin: 0; font-size: 14px; line-height: 1.6; max-width: 340px; }
.ff-footer nav { flex: 1 1 160px; }
.ff-footer h2 { margin: 0 0 12px; font: 700 15px var(--ff-font-body); color: #fff; letter-spacing: 0; }
.ff-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ff-footer__base { padding-top: 18px; padding-bottom: 28px; font-size: 13px; color: #9DB8AD; background: linear-gradient(#24483F, #24483F) no-repeat var(--ff-gutter) 0 / calc(100% - 2 * var(--ff-gutter)) 1px; }

@media (max-width: 480px) {
	:root { --ff-gutter: 16px; }
	.ff-prose { font-size: 17px; }
	.ff-prose th, .ff-prose td, .ff-prose .wp-block-table th, .ff-prose .wp-block-table td { padding: 8px 6px; font-size: 15px; }
	.ff-pagehead .ff-wrap { padding-top: 20px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .ff-header, .ff-footer, .ff-aside, .ff-search { display: none !important; } }
