/* Päivänmedia portal layer – design system v1 (2026-09-30)
   Identity: deep lake navy + rising-sun orange on warm paper; Platypi display serif + system sans body.
   Hub hues colour-code the five topics everywhere (kicker, cards, hub heads, nav). Mobile first. */

@font-face {
	font-family: "Platypi";
	src: url("../../themes/twentytwentyfive/assets/fonts/platypi/Platypi-VariableFont_wght.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--pm-paper: #fbf8f3;
	--pm-surface: #ffffff;
	--pm-sand: #f4eee4;
	--pm-sand-2: #ece3d5;
	--pm-ink: #1d232b;
	--pm-ink-2: #46505c;
	--pm-ink-3: #6b7480;
	--pm-line: #e5ddd0;
	--pm-line-2: #d8cdbd;
	--pm-navy: #16324a;
	--pm-navy-2: #21465f;
	--pm-sun: #f2a65a;
	--pm-sun-ink: #a4520e;
	--pm-link: #1d5a86;
	--pm-good: #2f7a4b;
	--pm-bad: #b23c3c;
	--pm-hue: #16324a;
	--pm-hue-tint: #eef2f5;
	--pm-radius: 14px;
	--pm-radius-sm: 9px;
	--pm-shadow: 0 1px 2px rgba(22, 50, 74, .06), 0 4px 14px rgba(22, 50, 74, .05);
	--pm-shadow-hover: 0 2px 4px rgba(22, 50, 74, .08), 0 12px 28px rgba(22, 50, 74, .11);
	--pm-serif: "Platypi", Georgia, "Times New Roman", serif;
	--pm-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pm-wrap: 1160px;
}

.pm-hue--koti { --pm-hue: #3b7a55; --pm-hue-tint: #ecf4ef; }
.pm-hue--ruoka { --pm-hue: #b0502c; --pm-hue-tint: #fbefe8; }
.pm-hue--tekniikka { --pm-hue: #2c5da3; --pm-hue-tint: #ecf1f9; }
.pm-hue--kauneus { --pm-hue: #974872; --pm-hue-tint: #f7edf2; }
.pm-hue--matkailu { --pm-hue: #1a7883; --pm-hue-tint: #e8f4f5; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body.pm-site {
	margin: 0;
	background: var(--pm-paper);
	color: var(--pm-ink);
	font: 400 17px/1.6 var(--pm-sans);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.pm-site img { max-width: 100%; height: auto; }
.pm-site .pm-thumb { width: 100%; height: 100%; object-fit: cover; }
.pm-site .pm-card--product .pm-thumb, .pm-site .pm-cmpcard-media .pm-thumb, .pm-site .pm-nextstep-media .pm-thumb--product { object-fit: contain; background: #fff; }
.pm-site a { color: var(--pm-link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.pm-site a:hover { color: var(--pm-navy); }
.pm-site :focus-visible { outline: 3px solid var(--pm-sun); outline-offset: 2px; border-radius: 4px; }
.pm-site h1, .pm-site h2, .pm-site h3 { font-family: var(--pm-serif); color: var(--pm-ink); line-height: 1.2; letter-spacing: -.01em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pm-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pm-navy); color: #fff !important; padding: 10px 14px; border-radius: 8px; }
.pm-skip:focus { top: 10px; }
.pm-wrap { max-width: var(--pm-wrap); margin: 0 auto; padding: 0 16px; }
.pm-narrow { max-width: 760px; }
.pm-ico { flex: none; vertical-align: middle; }
.pm-main { min-height: 60vh; }

/* ------------------------------------------------------------------ header */
.pm-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--pm-line); }
.pm-header-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.pm-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pm-ink) !important; margin-right: auto; }
.pm-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.pm-brand-name { font-family: var(--pm-serif); font-weight: 700; font-size: 1.32rem; letter-spacing: -.015em; }
.pm-brand-tag { font-size: .72rem; color: var(--pm-ink-3); letter-spacing: .02em; margin-top: 3px; }
.pm-brand--light { color: #fff !important; }
.pm-brand--light .pm-brand-tag { color: #b9c6d2; }
.pm-nav ul { list-style: none; margin: 0; padding: 0; }
.pm-nav a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--pm-ink); font-weight: 600; font-size: .95rem; }
.pm-nav small { display: none; }
.pm-header-actions { display: flex; gap: 4px; }
.pm-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--pm-ink); cursor: pointer; }
.pm-iconbtn:hover { background: var(--pm-sand); }
.pm-searchbar { border-top: 1px solid var(--pm-line); background: var(--pm-surface); padding: 12px 0; }

@media (max-width: 1023px) {
	.pm-nav { position: fixed; inset: 64px 0 auto 0; max-height: calc(100vh - 64px); overflow-y: auto; background: var(--pm-surface); border-bottom: 1px solid var(--pm-line); box-shadow: 0 18px 40px rgba(22, 50, 74, .16); padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
	.pm-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.pm-nav li a { padding: 12px 8px; border-bottom: 1px solid var(--pm-line); display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; }
	.pm-nav li a .pm-ico { grid-row: span 2; color: var(--pm-hue); width: 24px; height: 24px; }
	.pm-nav li a small { display: block; font-weight: 400; color: var(--pm-ink-3); font-size: .84rem; }
	.pm-nav li.pm-nav-cmp a .pm-ico { color: var(--pm-sun-ink); }
}
@media (min-width: 1024px) {
	.pm-menu-toggle { display: none; }
	.pm-nav ul { display: flex; gap: 2px; }
	.pm-nav a { padding: 9px 11px; border-radius: 10px; position: relative; }
	.pm-nav a .pm-ico { color: var(--pm-hue); }
	.pm-nav a:hover { background: var(--pm-hue-tint); color: var(--pm-ink); }
	.pm-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--pm-hue); }
	.pm-nav-cmp a { background: #fff4e8; }
	.pm-nav-cmp a .pm-ico { color: var(--pm-sun-ink); }
	.pm-nav-about { display: none; }
}
@media (min-width: 1200px) { .pm-nav-about { display: block; } }

/* ------------------------------------------------------------------ buttons, chips, search */
.pm-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.pm-btn--buy { background: var(--pm-sun); color: #2a1604 !important; border-color: var(--pm-sun); }
.pm-btn--buy:hover { background: #ec9443; }
.pm-btn--ghost { border-color: var(--pm-line-2); color: var(--pm-ink) !important; background: var(--pm-surface); margin: 4px 6px 4px 0; }
.pm-btn--ghost:hover { border-color: var(--pm-navy); }
.pm-search { display: flex; background: var(--pm-surface); border: 2px solid var(--pm-line-2); border-radius: 999px; padding: 4px; max-width: 640px; }
.pm-search:focus-within { border-color: var(--pm-navy); }
.pm-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 8px 14px; color: var(--pm-ink); }
.pm-search input:focus { outline: none; }
.pm-search button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--pm-navy); color: #fff; font: 700 .95rem var(--pm-sans); padding: 0 18px; cursor: pointer; min-height: 42px; }
.pm-search button:hover { background: var(--pm-navy-2); }
.pm-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.pm-chips a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--pm-surface); border: 1px solid var(--pm-line-2); color: var(--pm-ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.pm-chips a:hover { border-color: var(--pm-navy); color: var(--pm-navy); }
.pm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-sun-ink); margin: 0 0 10px; }
.pm-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pm-hue) !important; text-decoration: none; }
.pm-badge { display: inline-flex; align-items: center; gap: 5px; font: 700 .74rem/1 var(--pm-sans); padding: 6px 9px; border-radius: 999px; background: #fff; color: var(--pm-navy); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pm-badge--cmp, .pm-badge--guide { background: #fff4e8; color: #7a3d08; }
.pm-badge--recipe { background: #fbefe8; color: #8a3a1c; }

/* ------------------------------------------------------------------ section heads, grids, cards */
.pm-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.pm-sec-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.55rem; margin: 0; }
.pm-sec-head h2 .pm-ico { color: var(--pm-hue); }
.pm-sec-head p { margin: 6px 0 0; color: var(--pm-ink-2); max-width: 640px; font-size: .96rem; }
.pm-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.pm-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pm-grid--3, .pm-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pm-grid--3 { grid-template-columns: repeat(3, 1fr); } .pm-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.pm-card { position: relative; display: flex; flex-direction: column; background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius); overflow: hidden; box-shadow: var(--pm-shadow); transition: box-shadow .18s, transform .18s; }
.pm-card:hover { box-shadow: var(--pm-shadow-hover); transform: translateY(-2px); }
.pm-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--pm-hue-tint); overflow: hidden; }
.pm-card-media .pm-badge { position: absolute; left: 10px; top: 10px; }
.pm-card--product .pm-card-media { background: #fff; padding: 8px; border-bottom: 1px solid var(--pm-line); }
.pm-thumb { display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-thumb--empty { display: grid; place-items: center; color: var(--pm-hue); background: linear-gradient(135deg, var(--pm-hue-tint), #fff); }
.pm-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pm-card-title { font-size: 1.08rem; margin: 0; line-height: 1.28; }
.pm-card-title a { color: var(--pm-ink); text-decoration: none; }
.pm-card-title a::after { content: ""; position: absolute; inset: 0; }
.pm-card .pm-kicker { position: relative; z-index: 1; }
.pm-card-text { margin: 0; color: var(--pm-ink-2); font-size: .93rem; line-height: 1.5; }
.pm-card-meta { margin: auto 0 0; padding-top: 6px; color: var(--pm-ink-3); font-size: .8rem; }
.pm-card--feature .pm-card-title { font-size: 1.45rem; }
.pm-card--compact { flex-direction: row; align-items: stretch; }
.pm-card--compact .pm-card-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 104px; }
.pm-card--compact .pm-card-media .pm-badge { display: none; }
.pm-card--compact .pm-card-body { padding: 12px 14px; }
.pm-card--compact .pm-card-title { font-size: 1rem; }
.pm-card--text .pm-card-body { padding: 16px; }

/* ------------------------------------------------------------------ home */
.pm-hero { position: relative; background: radial-gradient(1100px 380px at 85% -10%, rgba(242, 166, 90, .26), transparent 60%), linear-gradient(180deg, var(--pm-sand), var(--pm-paper)); border-bottom: 1px solid var(--pm-line); padding: 34px 0 40px; overflow: hidden; }
.pm-hero::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(242, 166, 90, .10) 0 6deg, transparent 6deg 18deg); pointer-events: none; }
.pm-hero-grid { position: relative; display: grid; gap: 28px; }
.pm-hero h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.3rem); margin: 0 0 14px; font-weight: 700; letter-spacing: -.025em; max-width: 13em; }
.pm-hero-lead { font-size: 1.1rem; color: var(--pm-ink-2); max-width: 36em; margin: 0 0 22px; }
.pm-search--hero { max-width: 560px; box-shadow: 0 8px 26px rgba(22, 50, 74, .10); border-color: transparent; }
.pm-hero-side { display: grid; gap: 14px; align-content: start; }
.pm-hero-minis { display: grid; gap: 12px; }
@media (min-width: 960px) {
	.pm-hero { padding: 54px 0 60px; }
	.pm-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 48px; }
	.pm-hero-copy { padding-top: 28px; }
}
.pm-home section { padding: 44px 0 0; }
.pm-home .pm-hero { padding-top: 34px; }
.pm-topic-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pm-topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .pm-topic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .pm-topic-grid { grid-template-columns: repeat(5, 1fr); } }
.pm-topic { background: var(--pm-surface); border: 1px solid var(--pm-line); border-top: 4px solid var(--pm-hue); border-radius: var(--pm-radius); padding: 16px; box-shadow: var(--pm-shadow); display: flex; flex-direction: column; gap: 8px; }
.pm-topic-head { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--pm-ink) !important; }
.pm-topic-head strong { display: block; font-family: var(--pm-serif); font-size: 1.12rem; }
.pm-topic-head small { color: var(--pm-ink-3); font-size: .8rem; }
.pm-topic-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pm-hue-tint); color: var(--pm-hue); }
.pm-topic p { margin: 0; font-size: .9rem; color: var(--pm-ink-2); }
.pm-topic ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.pm-topic li a { display: block; font-size: .9rem; font-weight: 600; color: var(--pm-ink); text-decoration: none; padding: 6px 0 0; border-top: 1px dashed var(--pm-line); }
.pm-topic li a:hover { color: var(--pm-hue); }

.pm-cmpband { margin-top: 44px; background: var(--pm-navy); color: #e8eef3; padding: 40px 0 44px !important; }
.pm-cmpband .pm-sec-head h2, .pm-cmpband .pm-more { color: #fff; }
.pm-cmpband .pm-sec-head h2 .pm-ico { color: var(--pm-sun); }
.pm-cmpband .pm-sec-head p { color: #c3d0db; }
.pm-cmp-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pm-cmp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .pm-cmp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .pm-cmp-grid { grid-template-columns: repeat(5, 1fr); } }
.pm-cmpcard a { display: flex; flex-direction: column; height: 100%; background: var(--pm-surface); border-radius: var(--pm-radius); overflow: hidden; text-decoration: none; color: var(--pm-ink) !important; border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow); transition: transform .18s, box-shadow .18s; }
.pm-cmpcard a:hover { transform: translateY(-2px); box-shadow: var(--pm-shadow-hover); }
.pm-cmpcard-media { display: block; aspect-ratio: 16 / 11; background: #fff; overflow: hidden; padding: 10px; border-bottom: 1px solid var(--pm-line); }
.pm-cmpcard-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.pm-cmpcard-body strong { font-family: var(--pm-serif); font-size: 1.04rem; line-height: 1.25; }
.pm-cmpcard-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .8rem; color: var(--pm-sun-ink); font-weight: 700; }

.pm-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.pm-strip > * { scroll-snap-align: start; }
@media (min-width: 900px) { .pm-strip { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; } }
@media (min-width: 1100px) { .pm-strip { grid-template-columns: repeat(4, 1fr); } .pm-strip .pm-card--compact { flex-direction: column; } .pm-strip .pm-card--compact .pm-card-media { flex: none; aspect-ratio: 16 / 10; } }

.pm-trust { margin-top: 48px; background: var(--pm-sand); border-top: 1px solid var(--pm-line); padding: 44px 0 !important; }
.pm-trust-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .pm-trust-grid { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.pm-trust h2 { font-size: 1.6rem; margin: 0 0 16px; }
.pm-trust-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.pm-trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.pm-trust-list .pm-ico { color: var(--pm-sun-ink); margin-top: 2px; }

/* ------------------------------------------------------------------ author */
.pm-avatar { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pm-navy); color: var(--pm-sun); font: 700 .95rem var(--pm-serif); letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgba(242, 166, 90, .45); }
.pm-avatar--lg { width: 64px; height: 64px; font-size: 1.3rem; }
.pm-avatar--xl { width: 96px; height: 96px; font-size: 2rem; }
.pm-authorbox { display: flex; gap: 16px; align-items: flex-start; background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius); padding: 18px; margin: 28px 0 0; box-shadow: var(--pm-shadow); }
.pm-authorbox p { margin: 0 0 6px; font-size: .95rem; color: var(--pm-ink-2); }
.pm-authorbox-kicker { font-size: .75rem !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--pm-sun-ink) !important; }
.pm-authorbox-name { font-family: var(--pm-serif); font-size: 1.15rem !important; color: var(--pm-ink) !important; }
.pm-authorbox-name a { color: var(--pm-ink); text-decoration: none; }
.pm-authorbox-name span { font-family: var(--pm-sans); font-size: .85rem; color: var(--pm-ink-3); }
.pm-authorbox-links { font-size: .88rem !important; }
.pm-authorhead { display: flex; gap: 20px; align-items: flex-start; }
.pm-authorhead h1 { margin: 0 0 4px; }
.pm-authorhead-role { font-weight: 700; color: var(--pm-ink-2); margin: 0 0 8px; }
.pm-authorhead-stats { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-authorhead-stats a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--pm-hue-tint); color: var(--pm-ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.pm-authorhead-stats .pm-ico { color: var(--pm-hue); }
@media (max-width: 560px) { .pm-authorhead { flex-direction: column; } }

/* ------------------------------------------------------------------ breadcrumbs, heads */
.pm-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 18px 0 14px; font-size: .84rem; color: var(--pm-ink-3); }
.pm-crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--pm-line-2); }
.pm-crumbs a { color: var(--pm-ink-2); text-decoration: none; }
.pm-crumbs a:hover { text-decoration: underline; }
.pm-crumbs [aria-current] { color: var(--pm-ink-3); display: inline-block; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.pm-archive-head { padding: 6px 0 22px; }
.pm-archive-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: 0 0 10px; }
.pm-archive-intro { color: var(--pm-ink-2); max-width: 720px; }
.pm-archive .pm-wrap > section, .pm-compare-index section { margin: 30px 0; }

.pm-hubhead { background: linear-gradient(180deg, var(--pm-hue-tint), var(--pm-paper)); border-bottom: 1px solid var(--pm-line); padding-bottom: 26px; }
.pm-hubhead-grid { display: flex; gap: 18px; align-items: flex-start; }
.pm-hubhead-ico { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--pm-hue); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.pm-hubhead h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); margin: 2px 0 8px; }
.pm-hubhead p { margin: 0 0 6px; color: var(--pm-ink-2); max-width: 680px; font-size: 1.05rem; }
.pm-hubhead-meta { font-size: .86rem !important; color: var(--pm-ink-3) !important; }
.pm-hub-start-grid { display: grid; gap: 16px; }
.pm-hub-pillars { display: grid; gap: 12px; }
.pm-hub-start-grid .pm-cmpcard-media, .pm-rail .pm-cmpcard-media { aspect-ratio: 16 / 9; max-height: 240px; }
.pm-hub-start-grid .pm-cmpcard a { height: auto; }
.pm-hub-start-grid .pm-cmpcard-body strong { font-size: 1.25rem; }
@media (min-width: 900px) { .pm-hub-start-grid { grid-template-columns: .9fr 1.1fr; } .pm-hub-pillars { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ single article */
.pm-article-head { max-width: 820px; padding: 4px 0 18px; }
.pm-article-head .pm-badge { margin-left: 8px; box-shadow: none; border: 1px solid #f1d7bd; }
.pm-article-head h1 { font-size: clamp(1.85rem, 1.25rem + 2.6vw, 2.75rem); margin: 10px 0 12px; font-weight: 700; letter-spacing: -.02em; }
.pm-dek { font-size: 1.14rem; color: var(--pm-ink-2); margin: 0 0 18px; max-width: 42em; }
.pm-byline { display: flex; align-items: center; gap: 12px; }
.pm-byline-name { display: block; font-weight: 700; color: var(--pm-ink) !important; text-decoration: none; }
.pm-byline-meta { display: block; font-size: .86rem; color: var(--pm-ink-3); }
.pm-disclosure { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 10px 14px; border-radius: var(--pm-radius-sm); background: #fff6ec; border: 1px solid #f3dcc2; font-size: .86rem; color: #5e3a17; }
.pm-disclosure .pm-ico { color: var(--pm-sun-ink); margin-top: 2px; }
.pm-disc-short { display: none; }
@media (max-width: 640px) {
	.pm-disc-long { display: none; }
	.pm-disc-short { display: inline; }
	.pm-disclosure { padding: 8px 12px; margin-top: 12px; }
	.pm-dek { font-size: 1.04rem; margin-bottom: 14px; }
	.pm-article-head h1 { margin-bottom: 8px; }
	.pm-method { margin-bottom: 14px; }
}
.pm-hero-img { margin: 6px 0 26px; border-radius: var(--pm-radius); overflow: hidden; aspect-ratio: 16 / 7; max-height: 440px; background: var(--pm-hue-tint); max-width: 1060px; }
.pm-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-article-grid { display: grid; gap: 36px; }
.pm-article-body { min-width: 0; max-width: 740px; }
.pm-single--wide .pm-article-body { max-width: 860px; }
.pm-single--cmp .pm-article-body { max-width: 980px; }
.pm-btn { white-space: nowrap; }
@media (min-width: 1024px) {
	.pm-article-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 52px; }
	.pm-single--wide .pm-article-grid { grid-template-columns: minmax(0, 1fr); }
	.pm-single:not(.pm-single--wide) .pm-toc--inline { display: none; }
	.pm-single--wide .pm-toc--inline ol { columns: 2; column-gap: 32px; }
}
.pm-rail { position: relative; }

.pm-rail-inner { position: sticky; top: 88px; display: grid; gap: 18px; }
.pm-toc--rail { background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius); padding: 14px 16px; box-shadow: var(--pm-shadow); max-height: calc(100vh - 380px); overflow: auto; }
.pm-toc--rail p { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--pm-ink-2); }
.pm-toc ol { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 7px; font-size: .9rem; }
.pm-toc a { color: var(--pm-ink-2); text-decoration: none; }
.pm-toc a:hover, .pm-toc a.is-active { color: var(--pm-hue); font-weight: 600; }
.pm-toc--inline { background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius-sm); padding: 12px 14px; margin: 0 0 22px; }
.pm-toc--inline summary { display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.pm-toc--inline ol { margin-top: 10px; }
@media (max-width: 1023px) { .pm-rail { display: none; } }
.pm-rail-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pm-ink-3); margin: 0 0 8px; }
.pm-method { background: var(--pm-surface); border: 1px solid var(--pm-line); border-left: 4px solid var(--pm-good); border-radius: var(--pm-radius-sm); padding: 10px 14px; margin: 0 0 20px; font-size: .9rem; }
.pm-method summary { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--pm-ink-2); }
.pm-method summary .pm-ico { color: var(--pm-good); }
.pm-method ul { margin: 10px 0 8px; padding-left: 1.2em; color: var(--pm-ink-2); }
.pm-method p { margin: 0; }
.pm-nextstep { margin: 30px 0 0; }
.pm-nextstep-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 700; color: var(--pm-sun-ink); text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.pm-nextstep-card { display: flex; gap: 14px; align-items: center; background: #fff8f0; border: 1px solid #f1d7bd; border-radius: var(--pm-radius); padding: 12px; text-decoration: none; color: var(--pm-ink) !important; }
.pm-nextstep-card:hover { border-color: var(--pm-sun); }
.pm-nextstep-media { flex: 0 0 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--pm-hue-tint); }
.pm-nextstep-card strong { display: block; font-family: var(--pm-serif); font-size: 1.05rem; margin-bottom: 2px; }
.pm-nextstep-card span span { font-size: .88rem; color: var(--pm-ink-2); }
.pm-fix { display: block; font-size: .88rem; color: var(--pm-ink-3); margin: 20px 0 0; }
.pm-fix .pm-ico { margin: -2px 6px 0 0; }
.pm-related { margin: 48px 0 12px; padding-top: 28px; border-top: 1px solid var(--pm-line); }

/* ------------------------------------------------------------------ article content (pm-article) */
:where(.pm-content) { font-size: 1.06rem; line-height: 1.7; overflow-wrap: break-word; }
:where(.pm-content) :where(p, ul, ol) { margin: 0 0 1.05em; }
:where(.pm-content) h2 { font-size: 1.62rem; margin: 1.9em 0 .6em; padding-top: .2em; position: relative; }
:where(.pm-article) > h2::before, :where(.pm-cmp) > h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--pm-hue); margin-bottom: 12px; }
:where(.pm-content) h3 { font-size: 1.24rem; margin: 1.5em 0 .5em; }
:where(.pm-content) :where(ul, ol) { padding-left: 1.3em; }
:where(.pm-content) li { margin: .3em 0; }
:where(.pm-content) :where(ul) > li::marker { color: var(--pm-hue); }
:where(.pm-content) :where(ol) > li::marker { color: var(--pm-hue); font-weight: 700; }
:where(.pm-content) img { border-radius: var(--pm-radius-sm); }
:where(.pm-content) blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--pm-sun); color: var(--pm-ink-2); }
:where(.pm-content) table { width: 100%; border-collapse: collapse; font-size: .95rem; }
:where(.pm-content) :where(th, td) { text-align: left; vertical-align: top; }
:where(.pm-content) a { word-break: normal; overflow-wrap: anywhere; }

.pm-answer { background: linear-gradient(135deg, #fff8ef, #fffdf9); border: 1px solid #f1d7bd; border-left: 5px solid var(--pm-sun); border-radius: var(--pm-radius); padding: 16px 20px; margin: 0 0 26px !important; font-size: 1.1rem; box-shadow: var(--pm-shadow); }
.pm-answer p { margin: 0 !important; }
.pm-answer strong:first-child { color: var(--pm-sun-ink); }
.pm-keyfacts { background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius); padding: 6px 16px; margin: 0 0 24px; }
.pm-keyfacts ul { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: 1fr; }
.pm-keyfacts li { margin: 0 !important; padding: 10px 0; border-bottom: 1px dashed var(--pm-line); font-size: .98rem; }
.pm-keyfacts li:last-child { border-bottom: 0; }
.pm-keyfacts li strong { color: var(--pm-hue); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 640px) { .pm-keyfacts ul { grid-template-columns: repeat(2, 1fr); column-gap: 24px; } .pm-keyfacts li:nth-last-child(2):nth-child(odd) { border-bottom: 0; } }
ol.pm-steps { list-style: none; counter-reset: pmstep; padding: 0 !important; margin: 0 0 1.4em !important; }
ol.pm-steps > li { counter-increment: pmstep; position: relative; padding: 2px 0 14px 50px !important; margin: 0 !important; }
ol.pm-steps > li::before { content: counter(pmstep); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pm-hue); color: #fff; font: 700 .95rem var(--pm-sans); }
ol.pm-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--pm-line); }
.pm-tip, .pm-note, .pm-warning { border-radius: var(--pm-radius-sm); padding: 12px 16px; margin: 0 0 1.3em; font-size: .99rem; }
.pm-tip { background: #eef6f0; border: 1px solid #cfe4d6; }
.pm-note { background: #eef3f8; border: 1px solid #d3e0ec; }
.pm-warning { background: #fdf0ee; border: 1px solid #f1cdc7; }
.pm-tip p:last-child, .pm-note p:last-child, .pm-warning p:last-child { margin-bottom: 0; }
.pm-tip strong:first-child { color: var(--pm-good); }
.pm-note strong:first-child { color: var(--pm-link); }
.pm-warning strong:first-child { color: var(--pm-bad); }
.pm-checklist { background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius); padding: 12px 16px; margin: 0 0 1.3em; }
.pm-checklist ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.pm-checklist li { position: relative; padding-left: 30px; }
.pm-checklist li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 6px; background: var(--pm-hue-tint); border: 2px solid var(--pm-hue); }
.pm-checklist li::after { content: ""; position: absolute; left: 7px; top: .42em; width: 6px; height: 10px; border: solid var(--pm-hue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pm-table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--pm-line); border-radius: var(--pm-radius-sm); background: var(--pm-surface); -webkit-overflow-scrolling: touch; }
.pm-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 480px; }
.pm-table caption { caption-side: top; text-align: left; padding: 10px 14px 0; font-weight: 700; color: var(--pm-ink-2); }
.pm-table th { background: var(--pm-navy); color: #fff; font-weight: 700; padding: 10px 14px; white-space: nowrap; }
.pm-table td { padding: 10px 14px; border-top: 1px solid var(--pm-line); }
.pm-table tbody tr:nth-child(even) td { background: #fbf9f5; }
.pm-table td:first-child { font-weight: 600; }
.pm-proscons { display: grid; gap: 14px; margin: 0 0 1.4em; }
@media (min-width: 640px) { .pm-proscons { grid-template-columns: 1fr 1fr; } }
.pm-pros, .pm-cons { border-radius: var(--pm-radius-sm); padding: 12px 16px; border: 1px solid var(--pm-line); background: var(--pm-surface); }
.pm-pros { border-top: 4px solid var(--pm-good); }
.pm-cons { border-top: 4px solid var(--pm-bad); }
.pm-pros h3, .pm-cons h3 { font-size: 1.02rem !important; margin: 0 0 6px !important; }
.pm-pros ul, .pm-cons ul { margin: 0 !important; }
.pm-pros li::marker { color: var(--pm-good); }
.pm-cons li::marker { color: var(--pm-bad); }
.pm-ingredients { background: var(--pm-surface); border: 1px solid var(--pm-line); border-top: 4px solid var(--pm-hue); border-radius: var(--pm-radius); padding: 4px 18px 10px; margin: 0 0 1.5em; }
.pm-ingredients h2 { margin-top: .6em !important; }
.pm-ingredients h2::before { display: none !important; }
.pm-ingredients ul { list-style: none; padding: 0 !important; }
.pm-ingredients li { padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--pm-line); position: relative; margin: 0 !important; }
.pm-ingredients li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--pm-hue); }
.pm-faq { margin: 2em 0 1.4em; }
.pm-faq details { border: 1px solid var(--pm-line); border-radius: var(--pm-radius-sm); background: var(--pm-surface); margin: 0 0 10px; }
.pm-faq summary { list-style: none; cursor: pointer; padding: 13px 48px 13px 16px; font-weight: 700; position: relative; }
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--pm-hue-tint); color: var(--pm-hue); display: grid; place-items: center; font-size: 1.1rem; }
.pm-faq details[open] summary::after { content: "–"; }
.pm-faq details > *:not(summary) { padding: 0 16px; }
.pm-next { background: var(--pm-navy); color: #e9eff4; border-radius: var(--pm-radius); padding: 6px 22px 16px; margin: 2em 0 1.4em; }
.pm-next h2 { color: #fff !important; font-size: 1.35rem !important; margin: .8em 0 .5em !important; }
.pm-next h2::before { display: none !important; }
.pm-next a { color: #ffd6ad !important; }
.pm-next li::marker { color: var(--pm-sun) !important; }
.pm-sources { font-size: .88rem; color: var(--pm-ink-2); border-top: 1px solid var(--pm-line); padding-top: 8px; }
.pm-sources h2 { font-size: 1.05rem !important; font-family: var(--pm-sans) !important; text-transform: uppercase; letter-spacing: .06em; margin: 1em 0 .4em !important; }
.pm-sources h2::before { display: none !important; }
.pm-sources li { margin: .2em 0; }

/* ------------------------------------------------------------------ comparison pages (pm-cmp) */
.pm-cmp-picks { display: grid; gap: 12px; margin: 0 0 26px; }
@media (min-width: 700px) { .pm-cmp-picks { grid-template-columns: repeat(3, 1fr); } }
.pm-cmp-pick { display: flex; flex-direction: column; gap: 6px; background: var(--pm-surface); border: 1px solid var(--pm-line); border-top: 4px solid var(--pm-sun); border-radius: var(--pm-radius); padding: 14px; box-shadow: var(--pm-shadow); }
.pm-cmp-pick-media { height: 120px; display: grid; place-items: center; background: #fff; border-radius: 10px; margin-bottom: 4px; }
.pm-site .pm-cmp-pick-media img { max-height: 110px; width: auto; object-fit: contain; }
.pm-cmp-pick .pm-cmp-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--pm-sun-ink); }
.pm-cmp-pick strong { font-family: var(--pm-serif); font-size: 1.05rem; line-height: 1.25; }
.pm-cmp-pick p { margin: 0 !important; font-size: .9rem; color: var(--pm-ink-2); }
.pm-cmp-pick a.pm-btn { margin-top: auto; align-self: flex-start; min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.pm-product { display: grid; gap: 16px; background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius); padding: 18px; margin: 0 0 22px; box-shadow: var(--pm-shadow); position: relative; }
@media (min-width: 700px) { .pm-product { grid-template-columns: 200px 1fr; } }
.pm-product-media { background: #fff; border: 1px solid var(--pm-line); border-radius: var(--pm-radius-sm); display: grid; place-items: center; aspect-ratio: 1; padding: 10px; }
.pm-site .pm-product-media img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; border-radius: 0 !important; }
.pm-product h3 { margin: 0 0 4px !important; font-size: 1.28rem !important; }
.pm-product-rank { position: absolute; left: -10px; top: -10px; width: 34px; height: 34px; border-radius: 50%; background: var(--pm-navy); color: #fff; display: grid; place-items: center; font: 800 .95rem var(--pm-sans); box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.pm-product-fit { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--pm-sun-ink); margin: 0 0 6px !important; }
.pm-product-summary { margin: 0 0 10px !important; }
.pm-specs { list-style: none; padding: 0 !important; margin: 0 0 12px !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: .9rem; }
.pm-specs li { margin: 0 !important; padding: 6px 0; border-bottom: 1px dashed var(--pm-line); }
.pm-specs li span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--pm-ink-3); }
.pm-product .pm-proscons { margin: 0 0 12px; font-size: .92rem; }
.pm-product-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pm-product-cta small { color: var(--pm-ink-3); font-size: .8rem; }
.pm-cmp-table td, .pm-cmp-table th { white-space: normal; }
.pm-cmp-table td a.pm-btn { min-height: 36px; padding: 6px 12px; font-size: .84rem; white-space: nowrap; }
.pm-cmp-note { font-size: .86rem; color: var(--pm-ink-3); }

/* ------------------------------------------------------------------ pages */
.pm-page-grid { display: grid; gap: 30px; padding-bottom: 20px; }
@media (min-width: 1024px) { .pm-page-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 52px; } }
.pm-page-body { max-width: 760px; min-width: 0; }
.pm-page-body h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.6rem); margin: 4px 0 18px; }
.pm-content--page h2 { font-size: 1.4rem; }
.pm-page-updated { font-size: .84rem; color: var(--pm-ink-3); margin-top: 28px; }
.pm-trustnav { align-self: start; background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: var(--pm-radius); padding: 14px 16px; box-shadow: var(--pm-shadow); }
@media (min-width: 1024px) { .pm-trustnav { position: sticky; top: 88px; } }
.pm-trustnav p { margin: 0 0 8px; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pm-ink-3); }
.pm-trustnav ul { list-style: none; margin: 0; padding: 0; }
.pm-trustnav li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--pm-line); color: var(--pm-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.pm-trustnav li a[aria-current] { color: var(--pm-sun-ink); }
.pm-trustnav-mail { display: flex; align-items: center; gap: 6px; margin: 12px 0 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .92rem !important; }
.pm-callout { background: #fff6ec; border: 1px solid #f3dcc2; border-left: 5px solid var(--pm-sun); border-radius: var(--pm-radius-sm); padding: 14px 18px; margin: 0 0 22px; }
.pm-callout p { margin: 0 !important; }

/* ------------------------------------------------------------------ misc */
.pm-pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 28px 0 10px; }
.pm-pager a, .pm-pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--pm-line-2); background: var(--pm-surface); text-decoration: none; color: var(--pm-ink); font-weight: 600; }
.pm-pager .current { background: var(--pm-navy); color: #fff; border-color: var(--pm-navy); }
.pm-hublinks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0; }
.pm-hublinks a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--pm-surface); border: 1px solid var(--pm-line); color: var(--pm-ink); text-decoration: none; font-weight: 700; }
.pm-hublinks a .pm-ico { color: var(--pm-hue); }
.pm-404 { padding: 40px 0 60px; }
.pm-404 h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); margin: 0 0 12px; }
.pm-empty { padding: 10px 0 30px; }
.pm-search--page { margin: 16px 0; }

/* ------------------------------------------------------------------ footer */
.pm-footer { margin-top: 64px; background: var(--pm-navy); color: #c8d4de; font-size: .94rem; }
.pm-footer-grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
@media (min-width: 760px) { .pm-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pm-footer h2 { font-family: var(--pm-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pm-sun); margin: 6px 0 12px; }
.pm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pm-footer a { color: #fff; text-decoration: none; }
.pm-footer a:hover { text-decoration: underline; color: #fff; }
.pm-footer-brand p { margin: 14px 0 0; max-width: 36em; }
.pm-footer-mail { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.02rem; }
.pm-footer-mail .pm-ico { color: var(--pm-sun); }
.pm-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; padding-bottom: 26px; font-size: .84rem; color: #9fb0bf; }
.pm-footer-bottom p { margin: 0 0 6px; }

/* ------------------------------------------------------------------ legacy & n8n content safety (width guard) */
.pm-content > * { max-width: 100%; }
.pm-content iframe, .pm-content video, .pm-content embed { max-width: 100%; }
.pm-content :where(table) { display: block; overflow-x: auto; }
.pm-content :where(.pm-table-wrap table, .pm-table) { display: table; }
.pm-content :where(figure) { margin: 1.4em 0; max-width: 100%; }
.pm-content :where(pre, code) { white-space: pre-wrap; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.pm-header, .pm-footer, .pm-rail, .pm-related, .pm-nextstep, .pm-searchbar { display: none !important; }
}
