/*
Theme Name: Green Mermaid Review
Theme URI: https://greenmermaidreview.com/
Author: Green Mermaid Review
Description: Editorial news theme for Green Mermaid Review — independent coffeehouse news and reviews. Fraunces + Newsreader + Inter, evergreen and cream palette, review ratings, author profiles and news schema.
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: gmr
*/

:root {
	--evergreen: #0E3B2C;
	--evergreen-2: #0A2E22;
	--jade: #1D6E51;
	--jade-2: #155C43;
	--sea: #7FC4A4;
	--mint: #E6F1EB;
	--mint-2: #D3E7DC;
	--paper: #FBFBF7;
	--cream: #F4F1E8;
	--caramel: #B9892F;
	--ink: #16201B;
	--ink-2: #2B3832;
	--muted: #5D6C64;
	--line: #DCE3DE;
	--line-2: #C9D3CD;

	--f-display: "Fraunces", Georgia, "Times New Roman", serif;
	--f-body: "Newsreader", Georgia, "Times New Roman", serif;
	--f-ui: "Inter", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1240px;
	--narrow: 720px;
	--wide: 1100px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--jade); }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0; color: var(--ink); font-optical-sizing: auto; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.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:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; font-family: var(--f-ui); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }

.eyebrow, .kicker, .meta, .side-head, .crumbs, .btn, .subnav a, .tags a, .utility, .site-nav, .brand__tagline {
	font-family: var(--f-ui);
}
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jade); }
.eyebrow--light { color: var(--sea); }
.kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jade); margin-bottom: 8px; }
.kicker:hover { color: var(--evergreen); }
.meta { font-size: 13px; color: var(--muted); }
.meta__author { color: var(--ink-2); font-weight: 600; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--evergreen); color: #fff; border: 1px solid var(--evergreen);
	border-radius: 999px; padding: 11px 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
	transition: background .2s, color .2s;
}
.btn:hover { background: var(--jade); border-color: var(--jade); color: #fff; }
.btn--light { background: var(--paper); color: var(--evergreen); border-color: var(--paper); }
.btn--light:hover { background: var(--mint); color: var(--evergreen); border-color: var(--mint); }

/* ---------- Utility bar ---------- */
.utility { background: var(--evergreen); color: #CFE3D8; font-size: 12px; letter-spacing: 0.04em; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.utility__label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 10.5px; font-weight: 600; color: var(--sea); }
.utility__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.utility__nav a:hover { color: #fff; }

/* ---------- Masthead ---------- */
.masthead { background: var(--paper); position: relative; z-index: 20; }
.masthead__inner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding-top: 26px; padding-bottom: 20px; text-align: center; }
.brand { grid-column: 2; margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 5.2vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.brand a { display: inline-flex; align-items: center; gap: 14px; color: var(--evergreen); }
.brand em { font-style: italic; font-weight: 600; color: var(--jade); }
.brand__mark svg { width: clamp(30px, 3.6vw, 44px); height: auto; }
.brand__tagline { grid-column: 2; margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.nav-toggle, .search-toggle { grid-row: 1; width: 44px; height: 44px; border: 0; background: transparent; color: var(--evergreen); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.nav-toggle { grid-column: 1; visibility: hidden; }
.search-toggle { grid-column: 3; }
.nav-toggle:hover, .search-toggle:hover { background: var(--mint); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-search { border-top: 1px solid var(--line); background: var(--cream); padding: 18px 0; }
.search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.search-form__input { flex: 1; min-width: 0; font: 16px var(--f-ui); padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); }
.search-form__input:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px var(--mint-2); }

.site-nav { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: var(--paper); }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: block; padding: 15px 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.site-nav .menu > li > a:hover, .site-nav .current-menu-item > a, .site-nav .current-category-ancestor > a, .site-nav .current-menu-ancestor > a { color: var(--jade); }
.site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--jade); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(14, 59, 44, .12); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; z-index: 30; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.site-nav .sub-menu a:hover { background: var(--mint); color: var(--evergreen); }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.section-head::before, .section-head::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.section-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.section-head h2 em { text-transform: none; font-style: italic; font-weight: 600; color: var(--jade); letter-spacing: -0.01em; }
.section-head__more { order: 3; font: 600 12px var(--f-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--jade); white-space: nowrap; }
.side-head { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }

/* ---------- Front: lead + top stories ---------- */
.front-top { padding: 36px 0 56px; }
.front-top__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 44px; }
.lead__media { display: block; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--mint); }
.lead__media img, .lead__media .thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lead:hover .lead__media img { transform: scale(1.025); }
.lead__body { padding-top: 22px; }
.lead__title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.lead__title a:hover { color: var(--jade); }
.lead__dek { margin-top: 14px; font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.lead .meta { margin-top: 14px; }

.row { display: grid; grid-template-columns: 1fr 92px; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row:last-child { border-bottom: 0; }
.row .kicker { margin-bottom: 4px; font-size: 10px; }
.row__title { font-size: 19px; font-weight: 600; line-height: 1.2; }
.row__title a:hover { color: var(--jade); }
.row .meta { margin-top: 6px; font-size: 12px; }
.row__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.row__media img, .row__media .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.row__media .thumb-ph span { font-size: 11px; }

/* ---------- Grids + cards ---------- */
.rail { padding: 56px 0; }
.rail--tint { background: var(--mint); }
.rail--archive { padding-top: 40px; }
.grid { display: grid; gap: 36px 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--mint-2); }
.card__media img, .card__media .thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { padding-top: 16px; }
.card__title { font-size: 22px; font-weight: 700; line-height: 1.15; }
.grid--4 .card__title { font-size: 20px; }
.card__title a:hover { color: var(--jade); }
.card__dek { margin-top: 8px; font-size: 16.5px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: 10px; }
.card__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 600 11px var(--f-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel); }

.thumb-ph {
	display: flex; align-items: flex-end; padding: 16px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 20c15-12 30-12 45 0s30 12 45 0 30-12 45 0' fill='none' stroke='%237FC4A4' stroke-opacity='.22' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 120px 40px,
		linear-gradient(135deg, var(--evergreen) 0%, var(--jade) 100%);
}
.thumb-ph span { font: italic 600 22px/1.1 var(--f-display); color: var(--cream); }

.rating-badge { position: absolute; top: 12px; left: 12px; background: var(--caramel); color: #fff; border-radius: 999px; padding: 5px 11px 5px 12px; font: 700 15px/1 var(--f-ui); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.rating-badge small { font-size: 11px; font-weight: 600; opacity: .85; margin-left: 1px; }

.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { width: 14px; height: 14px; display: inline-block; background: var(--line-2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.star--full { background: var(--caramel); }
.star--half { background: linear-gradient(90deg, var(--caramel) 50%, var(--line-2) 50%); }

/* ---------- Section tiles / welcome ---------- */
.sections-strip { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.tile:hover { border-color: var(--jade); background: var(--mint); color: var(--ink); transform: translateY(-2px); }
.tile__name { font: 700 21px/1.1 var(--f-display); color: var(--evergreen); }
.tile__desc { font-size: 15px; line-height: 1.4; color: var(--muted); }
.welcome { padding: 88px 0 72px; text-align: center; background: linear-gradient(180deg, var(--paper), var(--mint)); }
.welcome__inner { max-width: 860px; }
.welcome__title { margin-top: 14px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.welcome__dek { margin: 20px auto 0; max-width: 60ch; font-size: 21px; color: var(--ink-2); }

/* ---------- Archives ---------- */
.archive-head { padding: 52px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--cream)); text-align: center; }
.archive-head__title { margin-top: 10px; font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
.archive-head__desc { margin: 14px auto 0; max-width: 62ch; font-size: 19px; color: var(--ink-2); }
.archive-head__desc p { margin: 0; }
.archive-head__search { margin-top: 20px; }
.subnav { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.subnav a { font-size: 13px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.subnav a:hover { border-color: var(--jade); color: var(--jade); }
.pagination { margin-top: 48px; font-family: var(--f-ui); }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.pagination .page-numbers.current { background: var(--evergreen); border-color: var(--evergreen); color: #fff; }
.empty { text-align: center; padding: 40px 0; }
.empty h2 { font-size: 28px; }
.empty p { margin: 10px auto 22px; max-width: 52ch; color: var(--ink-2); }
.empty--page { padding: 80px 0; }
.empty--page .btn { margin-top: 22px; }

/* ---------- Author pages ---------- */
.author-head { padding: 56px 0 40px; background: linear-gradient(180deg, var(--paper), var(--mint)); border-bottom: 1px solid var(--line); }
.author-head__inner { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: start; max-width: 980px; }
.author-head__img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(14,59,44,.15); }
.author-head__title { margin-top: 6px; font: 600 14px var(--f-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--jade); }
.author-head__bio { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.author-head__bio p + p { margin-top: 12px; }
.profile-links { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-links a { display: inline-block; font: 500 13px var(--f-ui); padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.profile-links a:hover { border-color: var(--jade); }

/* ---------- Article ---------- */
.article__head { padding-top: 44px; }
.crumbs { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 14px; }
.crumbs a { color: var(--jade); font-weight: 600; }
.article__title { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.022em; line-height: 1.04; }
.article__dek { margin-top: 16px; font-size: 22px; line-height: 1.42; color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline__name { font: 600 15px var(--f-ui); }
.byline__name a { color: var(--evergreen); }
.byline__name a:hover { color: var(--jade); text-decoration: underline; }
.article__hero { margin: 32px auto 0; }
.article__hero img { width: 100%; border-radius: var(--radius); }
.article__hero figcaption, .prose figcaption, .wp-caption-text { margin-top: 10px; font: 13px/1.5 var(--f-ui); color: var(--muted); }
.credit { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.article__body { padding-top: 32px; padding-bottom: 64px; }

.prose { font-size: 20px; line-height: 1.65; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.8em; font-weight: 700; }
.prose h3 { font-size: 23px; margin-top: 1.6em; font-weight: 700; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--jade); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--evergreen); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--jade); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--jade); font-style: italic; color: var(--ink-2); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose img { border-radius: var(--radius); }
.prose .alignwide { margin-left: calc(-1 * min(190px, (100vw - var(--narrow)) / 2 - var(--gutter))); margin-right: calc(-1 * min(190px, (100vw - var(--narrow)) / 2 - var(--gutter))); max-width: none; }
.prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.prose .alignfull img { border-radius: 0; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.45 var(--f-ui); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--mint); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.2em auto; width: 120px; }
.prose .wp-block-pullquote { border: 0; border-top: 3px solid var(--jade); border-bottom: 1px solid var(--line-2); padding: 1.2em 0; text-align: left; }
.prose .wp-block-pullquote blockquote { border: 0; padding: 0; font: italic 600 28px/1.25 var(--f-display); color: var(--evergreen); }
.prose .wp-block-button__link { background: var(--evergreen); color: #fff; text-decoration: none; border-radius: 999px; font: 600 14px var(--f-ui); padding: 12px 22px; }
.prose .wp-block-details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.prose .wp-block-details summary { font: 600 17px var(--f-ui); cursor: pointer; }
.prose .has-mint-background-color { padding: 1.2em 1.4em; border-radius: var(--radius); }

.review-box { display: grid; grid-template-columns: 120px 1fr; gap: 0; margin-bottom: 32px; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.review-box__score { background: var(--evergreen); color: #fff; display: flex; align-items: baseline; justify-content: center; padding-top: 28px; font-family: var(--f-display); }
.review-box__score b { font-size: 54px; font-weight: 800; line-height: 1; }
.review-box__score small { font-size: 18px; opacity: .7; margin-left: 2px; }
.review-box__text { padding: 20px 24px; }
.review-box__label { margin: 6px 0 8px; font: 700 15px var(--f-ui); color: var(--evergreen); display: flex; align-items: center; gap: 10px; }
.review-box__text > p:not(.eyebrow):not(.meta):not(.review-box__label) { font-size: 18px; line-height: 1.45; }
.review-box .meta { margin-top: 8px; }
.review-box .meta a { color: var(--jade); text-decoration: underline; }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.tags .eyebrow { margin-right: 6px; }
.tags a { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--evergreen); }
.tags a:hover { background: var(--mint-2); }
.article__note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font: 13px/1.5 var(--f-ui); color: var(--muted); }
.article__note a { color: var(--jade); text-decoration: underline; }

.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 22px; margin-top: 36px; padding: 26px; background: var(--mint); border-radius: var(--radius); }
.author-box__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-box__name { font-size: 24px; margin-top: 4px; }
.author-box__name a:hover { color: var(--jade); }
.author-box__title { font: 600 12px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--jade); margin-top: 4px; }
.author-box p:last-child { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Pages ---------- */
.page-head { padding: 52px 0 28px; background: linear-gradient(180deg, var(--paper), var(--cream)); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.page-head__title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.02em; }
.page-article .prose { padding-bottom: 24px; }
.page-updated { padding-bottom: 72px; }

.masthead-grid { display: grid; gap: 20px; margin: 1.6em 0; }
.masthead-card { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; align-items: start; }
.masthead-card__img, .prose .masthead-card__img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.masthead-card h3 { font-size: 26px; margin: 0; }
.prose .masthead-card a { text-decoration: none; color: var(--evergreen); }
.masthead-card__title { margin-top: 4px !important; font: 600 12px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--jade); }
.masthead-card p:last-child { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

.rating-scale { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rating-scale__row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 20px; align-items: center; background: #fff; }
.rating-scale__row + .rating-scale__row { border-top: 1px solid var(--line); }
.rating-scale__row strong { font: 700 15px var(--f-ui); color: var(--evergreen); }
.rating-scale__row p { margin: 4px 0 0; font-size: 16px; color: var(--ink-2); }

.prose .wpforms-container { font-family: var(--f-ui); }
.tip-form { margin-top: 1.4em; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--f-ui); }
.prose .tip-form p + p, .tip-form__grid + p { margin-top: 0; }
.tip-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.tip-form__row { margin: 0 0 18px; }
.tip-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.tip-form input[type="text"], .tip-form input[type="email"], .tip-form select, .tip-form textarea { width: 100%; font: 16px/1.4 var(--f-ui); padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.tip-form input:focus, .tip-form select:focus, .tip-form textarea:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px var(--mint-2); background: #fff; }
.tip-form__fine { font-size: 13px; color: var(--muted); margin-bottom: 18px !important; }
.tip-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tip-form__notice { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px !important; font-size: 15px; }
.tip-form__notice--ok { background: var(--mint); color: var(--evergreen); }
.tip-form__notice--err { background: #FBEDEA; color: #8A2E1B; }
@media (max-width: 640px) { .tip-form { padding: 20px; } .tip-form__grid { grid-template-columns: 1fr; } }

/* ---------- Tipline + footer ---------- */
.tipline { background: var(--evergreen); color: var(--cream); padding: 48px 0; }
.tipline__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tipline h2 { margin-top: 8px; color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; max-width: 32ch; line-height: 1.2; }
.site-footer { background: var(--cream); padding: 56px 0 28px; font-size: 16px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.brand--footer { font-size: 30px; text-align: left; }
.brand--footer a { color: var(--evergreen); }
.site-footer__about p:last-child { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.site-footer__col h2 { font: 700 11px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li + li { margin-top: 8px; }
.site-footer__col a { color: var(--ink-2); }
.site-footer__col a:hover { color: var(--jade); }
.site-footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); font: 12px/1.6 var(--f-ui); color: var(--muted); }
.site-footer__legal p + p { margin-top: 8px; }

/* ---------- WP core ---------- */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.sticky, .bypostauthor, .gallery-caption { }
.wp-block-image figcaption { text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-nav .menu > li > a { padding: 14px 11px; letter-spacing: .12em; }
}
@media (max-width: 900px) {
	.front-top__grid { grid-template-columns: 1fr; gap: 28px; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.nav-toggle { visibility: visible; }
	.site-nav { display: none; border-top: 1px solid var(--line); }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; padding: 8px 0 16px; }
	.site-nav .menu > li > a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
	.site-nav .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 8px 14px; background: transparent; display: flex; flex-wrap: wrap; gap: 4px 0; min-width: 0; }
	.site-nav .menu > li:hover > .sub-menu { transform: none; }
	.site-nav .sub-menu a { padding: 6px 12px 6px 0; font-size: 14px; color: var(--muted); }
	.site-nav .sub-menu a:hover { background: transparent; }
	.utility__label { display: none; }
	.tipline__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.utility__nav { display: none; }
	.masthead__inner { padding-top: 16px; padding-bottom: 14px; grid-template-columns: 40px 1fr 40px; }
	.brand a { gap: 8px; }
	.brand__mark { display: none; }
	.brand__tagline { font-size: 9.5px; letter-spacing: .14em; margin-top: 8px; }
	.grid--3, .grid--4 { grid-template-columns: 1fr; }
	.grid { gap: 32px; }
	.rail { padding: 40px 0; }
	.section-head { gap: 12px; margin-bottom: 22px; }
	.section-head h2 { font-size: 20px; }
	.section-head__more { font-size: 11px; }
	.tiles { grid-template-columns: 1fr; }
	.lead__dek { font-size: 18px; }
	.row__title { font-size: 18px; }
	.prose { font-size: 18.5px; }
	.prose h2 { font-size: 26px; }
	.article__dek { font-size: 19px; }
	.review-box { grid-template-columns: 84px 1fr; }
	.review-box__score b { font-size: 40px; }
	.author-box, .masthead-card { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
	.author-box__img, .masthead-card__img { width: 64px; height: 64px; }
	.author-head__inner { grid-template-columns: 1fr; gap: 20px; }
	.author-head__img { width: 120px; height: 120px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.rating-scale__row { grid-template-columns: 1fr; gap: 6px; }
	.search-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
