/* ==========================================================================
   PocketWiseLab — main stylesheet (v1.1.0, approved homepage design)
   Palette measured from the approved design:
   bright blue #0091DA · navy #061A35 · icon/banner light blue #E6F6FE / #E0F5FE
   page #F7FAFD · active nav #CBE9FD · white cards
   Font: Figtree (SIL Open Font License, self-hosted — see assets/fonts/Figtree-OFL.txt)
   ========================================================================== */

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

:root {
	/* Brand (approved design) */
	--c-blue: #0091DA;        /* buttons, icons, “Lab” — used with large/bold text or non-text (contrast ≥ 3:1) */
	--c-blue-hover: #007CBC;
	--c-blue-ink: #0A6FAE;    /* small text links & small buttons (contrast 5.4:1 on white) */
	--c-navy: #061A35;
	--c-icon-bg: #E6F6FE;
	--c-banner: #E0F5FE;
	--c-nav-active: #CBE9FD;
	--c-bg: #F7FAFD;

	/* Names used across the stylesheet (mapped to the new palette) */
	--c-light: #E6F6FE;
	--c-light-2: #F1F9FE;
	--c-deep: var(--c-blue-ink);
	--c-deep-2: var(--c-navy);
	--c-teal: var(--c-blue);
	--c-teal-ink: var(--c-blue-ink);
	--c-white: #FFFFFF;
	--c-text: #1D2B42;
	--c-muted: #4A5A70;
	--c-line: #DCEAF6;
	--c-error: #B42318;
	--c-success-bg: #E6F6FE;

	--font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-num: var(--font);

	--radius: 16px;
	--radius-sm: 10px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(16, 60, 110, .05), 0 8px 24px rgba(16, 60, 110, .08);
	--shadow-hover: 0 2px 4px rgba(16, 60, 110, .07), 0 14px 34px rgba(16, 60, 110, .13);

	--w: 1160px;
	--w-home: 1462px;         /* card row width in the approved design */
	--w-narrow: 760px;
	--gutter: clamp(16px, 3vw, 37px);
	--space: clamp(48px, 7vw, 88px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--c-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-deep-2); }
:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--c-deep-2); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2em 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }
.container--wide { max-width: calc(1060px + var(--gutter) * 2); }

.section { padding: var(--space) 0; }
.section--flush-top { padding-top: 8px; }
.section--tint { background: var(--c-light-2); }
.section__head { margin-bottom: 32px; max-width: 680px; }
.section__head p { color: var(--c-muted); margin: 0; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; max-width: none; }
.section__head--split > div { max-width: 640px; }
.section__note { font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; margin-top: 6px !important; }
.section__note .pwl-icon { flex: none; margin-top: 3px; color: var(--c-deep); }
.section-title { font-size: 1.35rem; margin: 40px 0 18px; }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-teal-ink); margin-bottom: 12px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px; border-radius: 9px; border: 2px solid transparent;
	font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn--primary { background: var(--c-blue-ink); color: #fff; }
.btn--primary:hover { background: #085E94; color: #fff; box-shadow: var(--shadow); }
.btn--outline { background: #fff; color: var(--c-deep); border-color: var(--c-deep); }
.btn--outline:hover { background: var(--c-light); color: var(--c-deep-2); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.link-arrow:hover .pwl-icon { transform: translateX(3px); }
.link-arrow .pwl-icon, .card__cta .pwl-icon { transition: transform .15s; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card--tint { background: var(--c-light-2); border-color: #C9E2F8; box-shadow: none; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .18s, border-color .18s, transform .18s; }
.card--link:hover { box-shadow: var(--shadow-hover); border-color: #B8D6F2; color: inherit; transform: translateY(-2px); }
.card--link:hover .card__cta .pwl-icon { transform: translateX(3px); }
.card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--c-deep); }
.badge { display: inline-block; font-size: .78rem; font-weight: 650; background: var(--c-light); color: var(--c-deep-2); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Header (approved design) ---------- */
.container--home { max-width: calc(var(--w-home) + var(--gutter) * 2); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--c-line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header .container { max-width: calc(1400px + var(--gutter) * 2); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 96px; }

.brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; color: var(--c-navy); flex: none; margin-right: auto; }
.brand:hover { color: var(--c-navy); }
.brand__icon { color: var(--c-blue); display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: clamp(1.75rem, 2.9vw, 2.75rem); font-weight: 800; letter-spacing: -.025em; color: var(--c-navy); line-height: .95; }
.brand__name span { color: var(--c-blue); }
.brand__tagline { font-size: clamp(.78rem, 1vw, .95rem); font-weight: 500; color: var(--c-navy); margin-top: 6px; letter-spacing: -.005em; }
.brand--custom .custom-logo { max-height: 64px; width: auto; }

.site-nav { display: none; }
.nav-menu { list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; text-decoration: none; color: var(--c-navy); font-weight: 560; }
.nav-menu a:hover { color: var(--c-blue-ink); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-parent > a,
.nav-menu .current-post-ancestor > a,
.nav-menu .current-category-ancestor > a { background: var(--c-nav-active); color: var(--c-navy); font-weight: 600; }
.nav-menu--secondary { display: none; }

.site-header__tools { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--c-navy); cursor: pointer; }
.search-toggle .pwl-icon { stroke-width: 2.4; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--c-light-2); color: var(--c-blue-ink); }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }
.header-search { border-top: 1px solid var(--c-line); background: #fff; padding: 16px 0; }
.header-search .search-form { margin-left: auto; max-width: 560px; }
.header-search[hidden] { display: none; }

@media (max-width: 1239px) {
	.nav-open .site-nav {
		display: block; position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-hover);
		padding: 8px var(--gutter) 20px; max-height: calc(100vh - 96px); overflow-y: auto;
	}
	.nav-menu a { padding: 14px 12px; border-radius: 10px; font-size: 1.1rem; }
	.nav-menu li + li { margin-top: 2px; }
	.nav-menu--secondary { display: block; border-top: 1px solid var(--c-line); margin-top: 10px; padding-top: 10px; }
	.nav-menu--secondary a { font-size: 1rem; color: var(--c-muted); padding: 10px 12px; }
}
@media (max-width: 599px) {
	.site-header__inner { min-height: 72px; gap: 6px; }
	.brand { gap: 8px; min-width: 0; }
	.brand__icon { width: 40px; height: 37px; }
	.brand__name { font-size: 1.5rem; }
	.brand__tagline { font-size: .66rem; margin-top: 4px; white-space: nowrap; }
	.site-header__tools { gap: 0; }
	.icon-btn { width: 44px; height: 44px; }
}
@media (max-width: 389px) {
	.brand__name { font-size: 1.3rem; }
	.brand__icon { width: 34px; height: 31px; }
	.brand__tagline { display: none; }
	.icon-btn { width: 40px; }
}
@media (min-width: 1240px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; align-items: center; }
	.nav-menu { display: flex; align-items: center; gap: clamp(4px, .8vw, 14px); }
	.nav-menu a { padding: 10px clamp(8px, .9vw, 18px); border-radius: 10px; font-size: clamp(1rem, 1.25vw, 1.2rem); white-space: nowrap; }
	.site-header__tools { margin-left: clamp(8px, 1.2vw, 24px); }
	.nav-menu.nav-menu--secondary { display: none; }
}

/* ---------- Hero (approved design) ---------- */
.hero { position: relative; background: var(--c-bg); overflow: hidden; }
.hero__media { position: relative; z-index: 1; }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__eyebrow { font-size: clamp(1rem, 1.5vw, 1.4rem); line-height: 1.2; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--c-blue); margin: 0 0 clamp(8px, 1vw, 14px); }
.hero__title { font-size: clamp(2.2rem, 3.95vw, 3.78rem); font-weight: 800; line-height: 1.02; letter-spacing: -.028em; color: var(--c-navy); margin: 0 0 clamp(12px, 1vw, 16px); text-wrap: balance; }
.hero__text { font-size: clamp(1.08rem, 1.45vw, 1.4rem); line-height: 1.42; color: var(--c-text); margin: 0 0 clamp(20px, 2vw, 30px); max-width: 35em; }
/* Below ~19px the bright blue isn't “large text”, so use the darker brand blue for contrast. */
@media (max-width: 1279px) { .hero__eyebrow { color: var(--c-blue-ink); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px clamp(14px, 1.8vw, 28px); }

/* Large bold buttons (≥ 19px bold = WCAG “large text”, so the bright brand blue passes contrast). */
.btn--hero { min-height: 56px; padding: 12px clamp(18px, 1.8vw, 28px); border-radius: 9px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; gap: 10px; }
.btn--primary.btn--hero { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.btn--primary.btn--hero:hover { background: var(--c-blue-hover); border-color: var(--c-blue-hover); }
.btn--outline.btn--hero { background: #fff; border-color: var(--c-blue); color: var(--c-blue-ink); }
.btn--outline.btn--hero .pwl-icon { color: var(--c-blue); }
.btn--outline.btn--hero:hover { background: var(--c-icon-bg); }

@media (min-width: 900px) {
	.hero { min-height: max(432px, 28.2vw); display: flex; align-items: center; }
	.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 48.3%; border-top-left-radius: 40% 100%; overflow: hidden; }
	/* Light-blue arc behind the photo, as in the approved design. */
	.hero::before {
		content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: calc(48.3% + clamp(36px, 4vw, 64px));
		border-top-left-radius: 46% 100%;
		background: linear-gradient(180deg, #D3ECFD 0%, #E4F3FE 45%, rgba(247, 250, 253, 0) 92%);
	}
	.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(24px, 2.2vw, 34px); padding-bottom: clamp(24px, 2.2vw, 34px); }
	.hero__copy { max-width: 53%; padding-left: clamp(0px, 2.2vw, 33px); }
	.hero__text { max-width: 31em; }
}
@media (max-width: 899px) {
	.hero { display: flex; flex-direction: column-reverse; padding-bottom: 8px; }
	.hero__inner { padding-top: 32px; padding-bottom: 20px; }
	.hero__media { margin: 0 0 0 var(--gutter); border-top-left-radius: 48% 100%; overflow: hidden; aspect-ratio: 741 / 432; background: var(--c-banner); }
	.hero__actions .btn { width: 100%; }
}

/* ---------- Six homepage cards (approved design) ---------- */
.home-cards { background: var(--c-bg); padding: clamp(14px, 1.2vw, 18px) 0 clamp(40px, 5vw, 72px); }
.home-cards__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .home-cards__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .home-cards__grid { grid-template-columns: repeat(3, 1fr); gap: 20px 21px; } }
.home-cards__grid > li { display: flex; }
.home-card {
	display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px); width: 100%;
	min-height: 124px; padding: 16px clamp(14px, 1.3vw, 20px);
	background: #fff; border: 1px solid #E7F0F8; border-radius: var(--radius);
	box-shadow: var(--shadow); text-decoration: none; color: var(--c-text);
	transition: box-shadow .18s, transform .18s, border-color .18s;
}
.home-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #BFDDF5; color: var(--c-text); }
.home-card__icon { flex: none; width: clamp(68px, 5.6vw, 86px); height: clamp(68px, 5.6vw, 86px); border-radius: 14px; background: var(--c-icon-bg); color: var(--c-blue); display: grid; place-items: center; }
.home-card__icon .pwl-icon { width: 58%; height: 58%; }
.home-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.home-card__title { margin: 0; font-size: clamp(1.3rem, 1.65vw, 1.6rem); font-weight: 750; letter-spacing: -.02em; color: var(--c-navy); line-height: 1.15; }
.home-card__desc { font-size: clamp(.94rem, 1.06vw, 1.06rem); line-height: 1.4; letter-spacing: -.012em; color: #16243A; }
.home-card { position: relative; }
.home-card__body { padding-right: 18px; }
.home-card__body .home-card__desc { text-wrap: pretty; }
.home-card__arrow { position: absolute; right: clamp(12px, 1.1vw, 16px); top: 50%; margin-top: -12px; color: var(--c-navy); display: inline-flex; transition: transform .18s; }
.home-card:hover .home-card__arrow { transform: translateX(3px); color: var(--c-blue-ink); }

/* ---------- Maintenance calculator banner (approved design) ---------- */
.calc-banner {
	display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px);
	margin-top: clamp(28px, 3vw, 45px); padding: clamp(20px, 1.7vw, 26px) clamp(22px, 2.6vw, 40px);
	background: linear-gradient(90deg, var(--c-banner) 0%, #E8F7FE 60%, #E3F5FE 100%);
	border: 1px solid #D3EBFA; border-radius: var(--radius);
}
.calc-banner__icon { flex: none; color: var(--c-blue); display: inline-flex; }
.calc-banner__icon .pwl-icon { width: clamp(56px, 5.2vw, 80px); height: clamp(56px, 5.2vw, 80px); }
.calc-banner__text { flex: 1; }
.calc-banner__title { margin: 0 0 6px; font-size: clamp(1.45rem, 2.2vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; color: var(--c-navy); }
.calc-banner__text p { margin: 0; font-size: clamp(1.02rem, 1.4vw, 1.3rem); color: var(--c-text); }
.calc-banner__btn { flex: none; }
@media (max-width: 799px) {
	.calc-banner { flex-direction: column; align-items: flex-start; }
	.calc-banner__btn { width: 100%; }
}

/* ---------- More ways to save (remaining categories) ---------- */
.section--more { padding-top: 8px; }
.section--more .section__head { margin-bottom: 20px; }
.more-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.more-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid #E7F0F8; border-radius: 12px; text-decoration: none; color: var(--c-navy); font-weight: 600; font-size: 1.05rem; box-shadow: 0 1px 2px rgba(16, 60, 110, .04); }
.more-link:hover { border-color: #BFDDF5; color: var(--c-blue-ink); }
.more-link__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--c-icon-bg); color: var(--c-blue); display: grid; place-items: center; flex: none; }
.more-link__name { flex: 1; }


/* ---------- Tools ---------- */
.tool { gap: 8px; }
.tool p { color: var(--c-muted); font-size: .97rem; margin-bottom: 14px; }
.tool__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--c-teal); color: #fff; display: grid; place-items: center; margin-bottom: 8px; flex: none; }
.tool__title { font-size: 1.15rem; margin: 0; }
.tool-banner { flex-direction: row; align-items: center; gap: 18px; margin-bottom: 8px; background: linear-gradient(90deg, var(--c-light-2), #fff); }
.tool-banner .tool__icon { margin: 0; }
.tool-banner__text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tool-banner__text strong { color: var(--c-deep-2); font-size: 1.1rem; }
.tool-banner__text span:last-child { color: var(--c-muted); font-size: .95rem; }
.tool-banner__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--c-teal-ink); }
.tool-banner .card__cta { margin: 0; white-space: nowrap; }
@media (max-width: 600px) { .tool-banner { flex-direction: column; align-items: flex-start; } }
.coming-soon { margin-top: 24px; color: var(--c-muted); font-size: .95rem; }

/* ---------- Guides ---------- */
.guide-col__title { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 14px; }
.guide-col__title a { text-decoration: none; color: var(--c-deep-2); }
.guide-col__title a:hover { text-decoration: underline; }
.guide-col__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--c-light); color: var(--c-deep); display: grid; place-items: center; flex: none; }
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { padding: 12px 0; border-top: 1px solid var(--c-line); line-height: 1.4; }
.guide-list a { font-weight: 600; text-decoration: none; color: var(--c-text); }
.guide-list a:hover { color: var(--c-deep); text-decoration: underline; }
.guide-list__meta { display: block; font-size: .85rem; color: var(--c-muted); margin-top: 3px; }

.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--c-teal-ink); text-decoration: none; margin-bottom: 8px; }
.post-card__title { font-size: 1.15rem; line-height: 1.35; margin-bottom: 8px; }
.post-card__title a { color: var(--c-deep-2); text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; }
.post-card__excerpt { color: var(--c-muted); font-size: .96rem; }
.post-card__meta { margin-top: auto; font-size: .85rem; color: var(--c-muted); }

.empty-state { text-align: center; padding: 40px 24px; color: var(--c-muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state .pwl-icon { color: var(--c-deep); }
.empty-state p { max-width: 520px; margin: 0; }

/* ---------- Recommendations & trust ---------- */
.reco { display: flex; flex-direction: column; }
.reco__img img { border-radius: var(--radius-sm); margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.reco__title { font-size: 1.12rem; }
.reco__body { color: var(--c-muted); font-size: .96rem; margin-bottom: 16px; }
.reco .btn { margin-top: auto; align-self: flex-start; }
.recos { padding: 0; }
.section .recos { margin-top: 48px; }

.trust { padding-top: calc(var(--space) * .8); }
.trust__item { padding: 4px; }
.trust__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-light); color: var(--c-deep); margin-bottom: 12px; }
.trust__item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.trust__item p { color: var(--c-muted); font-size: .97rem; }

/* ---------- Page heads, breadcrumbs, chips ---------- */
.page-head { background: linear-gradient(180deg, var(--c-light-2), #fff); padding: 28px 0 32px; }
.page-title { margin-bottom: 10px; }
.page-intro { color: var(--c-muted); font-size: 1.1rem; max-width: 46em; }
.page-intro p:last-child { margin: 0; }
.page-updated { color: var(--c-muted); font-size: .92rem; margin: 0; }
.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .88rem; color: var(--c-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #A8B6C5; }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-deep); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-text); }
.cat-hero { display: flex; gap: 20px; align-items: flex-start; }
.cat-hero__icon { flex: none; width: 68px; height: 68px; border-radius: 18px; background: var(--c-deep); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
@media (max-width: 540px) { .cat-hero { flex-direction: column; gap: 14px; } .cat-hero__icon { width: 56px; height: 56px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-text); font-size: .92rem; font-weight: 600; }
.chip:hover { border-color: var(--c-deep); color: var(--c-deep); }
.chip .pwl-icon { color: var(--c-deep); }
.other-topics { margin-top: 56px; }

/* ---------- Article ---------- */
.article__head { background: linear-gradient(180deg, var(--c-light-2), #fff); padding: 28px 0 24px; }
.article__title { font-size: clamp(2rem, 4.6vw, 2.75rem); margin: 6px 0 14px; }
.article__dek { font-size: 1.18rem; color: var(--c-muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--c-muted); font-size: .92rem; }
.post-meta span:not(:first-child)::before { content: "·"; margin-right: 18px; margin-left: -10px; color: #A8B6C5; }
.article__hero { margin: 8px auto 36px; }
.article__hero img { width: 100%; border-radius: var(--radius-lg); }
.article__hero figcaption { font-size: .85rem; color: var(--c-muted); margin-top: 8px; }

.entry-content { font-size: 1.08rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c-teal); color: var(--c-deep-2); font-size: 1.1rem; }
.entry-content table, .mini-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--c-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--c-light-2); color: var(--c-deep-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--c-deep); }
.entry-content code { background: var(--c-light-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--c-light-2); border: 1px solid #C9E2F8; font-size: .94rem; line-height: 1.5; }
.notice .pwl-icon { flex: none; margin-top: 2px; color: var(--c-deep); }
.notice--disclosure { margin: 0 0 28px; }
.notice--editor { background: #FFF6E0; border-color: #F2D48A; color: #6B4A00; }
.article__disclaimer { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--c-muted); border-top: 1px solid var(--c-line); padding-top: 20px; margin-top: 36px; }
.article__disclaimer .pwl-icon { flex: none; margin-top: 3px; }
.chips--tags { margin: 20px 0; }
.chips--tags a { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--c-light-2); text-decoration: none; font-size: .88rem; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin: 32px 0 var(--space); }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 4px; font-size: .95rem; color: var(--c-muted); }
.author-box__name { font-weight: 700; }
.author-box__name a { color: var(--c-deep-2); text-decoration: none; font-size: 1.05rem; }
.after-article { margin-top: 28px; }
.page-links { margin: 20px 0; font-weight: 600; }
.aff-link:not(.btn) { font-weight: 600; }

/* ---------- Calculators ---------- */
.page-tool .entry-content { font-size: 1.05rem; }
.page-tool .entry-content > p:first-child { font-size: 1.12rem; color: var(--c-muted); max-width: 46em; }
.calc { display: grid; gap: 20px; margin: 8px 0 24px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr 1fr; align-items: start; } .calc__method { grid-column: 1 / -1; } .calc__results { position: sticky; top: 96px; } }
.calc__title { font-size: 1.15rem; margin-bottom: 18px; }
.calc__form .field:last-child { margin-bottom: 0; }
.calc__empty { color: var(--c-muted); margin: 0; }
.results { display: grid; gap: 4px; }
.results[hidden] { display: none; }
.result { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid #C9E2F8; }
.result__label { color: var(--c-text); font-size: .97rem; }
.result__value { font-family: var(--font-num); font-weight: 700; color: var(--c-deep-2); font-size: 1.12rem; text-align: right; font-variant-numeric: tabular-nums; }
.result--big { flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 0 16px; }
.result--big .result__value { font-size: clamp(2rem, 6vw, 2.6rem); color: var(--c-teal-ink); text-align: left; line-height: 1.1; }
.calc__fine { font-size: .9rem; color: var(--c-muted); margin: 12px 0 0; }
.mini-table { margin-top: 16px; font-size: .92rem; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.mini-table caption { text-align: left; font-weight: 700; color: var(--c-deep-2); padding: 0 0 8px; }
.mini-table th, .mini-table td { padding: 8px 12px; border-bottom: 1px solid var(--c-line); text-align: right; }
.mini-table th:first-child, .mini-table td:first-child { text-align: left; }
.mini-table thead th { background: var(--c-light); font-size: .85rem; }
.mini-table .is-current td { background: var(--c-success-bg); font-weight: 700; }
.compare { display: grid; gap: 10px; margin-top: 16px; }
.compare__row { display: grid; gap: 4px; }
.compare__label { font-size: .85rem; color: var(--c-muted); }
.compare__track { height: 12px; background: #fff; border-radius: 999px; overflow: hidden; border: 1px solid var(--c-line); }
.compare__bar { display: block; height: 100%; border-radius: 999px; transition: width .3s; }
.compare__bar--base { background: #9FB3C8; }
.compare__bar--new { background: var(--c-teal); }
.calc__method { background: #fff; border-top: 1px solid var(--c-line); padding-top: 28px; margin-top: 8px; }
.calc__method h2 { font-size: 1.3rem; }
.calc__method h3 { font-size: 1.05rem; margin-top: 1.2em; }
.calc__method li { margin-bottom: .35em; font-size: .98rem; }
.formula { list-style: none; padding: 0; display: grid; gap: 8px; }
.formula code { display: block; background: var(--c-light-2); border: 1px solid #C9E2F8; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; white-space: normal; color: var(--c-deep-2); }
.calc__source { font-size: .9rem; color: var(--c-muted); }
.disclaimer { font-weight: 600; color: var(--c-deep-2); background: var(--c-light-2); padding: 12px 16px; border-radius: var(--radius-sm); border-left: 4px solid var(--c-teal); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; color: var(--c-deep-2); }
.field__hint { font-size: .87rem; color: var(--c-muted); margin: 6px 0 0; line-height: 1.45; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
input[type="text"], input[type="email"], input[type="number"], input[type="search"], input[type="url"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--c-text);
	background: #fff; border: 1.5px solid #B9C9D9; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-deep); box-shadow: 0 0 0 3px rgba(24, 169, 153, .35); }
input[aria-invalid="true"] { border-color: var(--c-error); }
.input-wrap { position: relative; display: flex; align-items: stretch; }
.input-affix { display: flex; align-items: center; padding: 0 12px; background: var(--c-light-2); border: 1.5px solid #B9C9D9; color: var(--c-muted); font-size: .95rem; white-space: nowrap; }
.input-affix--pre { border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-affix--post { border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.has-prefix input { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.has-suffix input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-wrap input { min-width: 0; flex: 1; }
.req { color: var(--c-error); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { max-width: 680px; }
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-status--success { background: var(--c-success-bg); color: #0B5D54; border: 1px solid #A7E1D8; }
.form-status--error { background: #FDECEA; color: var(--c-error); border: 1px solid #F5C2BC; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form .btn { min-height: 48px; padding: 0 16px; border-radius: var(--radius-sm); }
.search-again { margin-top: 20px; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }

/* ---------- Ads ---------- */
.ad-slot { margin: 32px auto; text-align: center; min-height: 120px; }
.ad-slot__label { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8796A6; margin-bottom: 6px; }
.ad-slot--article { min-height: 280px; margin: 2em 0; }
.ad-slot--placeholder { display: flex; align-items: center; justify-content: center; border: 2px dashed #B9C9D9; border-radius: var(--radius-sm); color: var(--c-muted); font-size: .85rem; padding: 16px; background: repeating-linear-gradient(45deg, #fff, #fff 10px, var(--c-light-2) 10px, var(--c-light-2) 20px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-deep-2); color: #CFE2F5; padding: 56px 0 24px; margin-top: 0; font-size: .95rem; }
.site-footer a, .site-footer .linklike { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1.2fr 1fr 1fr; } }
.site-footer .brand { color: #fff; gap: 12px; }
.site-footer .brand__icon { color: #5CC4F5; }
.site-footer .brand__name { color: #fff; font-size: 1.6rem; }
.site-footer .brand__name span { color: #5CC4F5; }
.site-footer__about p { margin-top: 12px; max-width: 34em; }
.site-footer__title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 20px; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 20px; font-size: .85rem; color: #A9C3DD; }
.site-footer__bottom a { text-decoration: underline; }
.site-footer__disclosure { max-width: 70em; }

/* ---------- Consent banner ---------- */
.consent { position: fixed; z-index: 100; left: 12px; right: 12px; bottom: 12px; }
.consent__inner { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(15, 55, 96, .22); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.consent__text { margin: 0; flex: 1 1 320px; font-size: .93rem; line-height: 1.5; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__actions .btn { min-height: 42px; }
.consent[hidden] { display: none; }

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: .88rem; color: var(--c-muted); }
.sticky .post-card__title::before { content: "★ "; color: var(--c-teal); }
.comments .comment-list { padding-left: 0; list-style: none; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--c-line); }

/* ---------- Print: calculators & articles print cleanly ---------- */
@media print {
	.site-header, .site-footer, .consent, .ad-slot, .nav-toggle, .breadcrumbs, .related, .author-box { display: none !important; }
	body { font-size: 12pt; }
	.card { box-shadow: none; }
}
