/*
Theme Name: Litbuy Spreadsheet 2026
Theme URI: https://sheetfinds.com/
Author: Litbuy Spreadsheet
Author URI: https://sheetfinds.com/
Description: A light, airy one-page style SEO theme for Litbuy Spreadsheet — bright pastel shopping palettes, an 11-category jump dropdown, keyword guide pages and a fast-loading article engine. Built to be uploaded straight into WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: litbuy
Tags: one-column, custom-colors, custom-menu, featured-images, translation-ready, blog
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--cream: #f7fbfe;
	--cream-deep: #e6f3fb;
	--paper: #ffffff;
	--ink: #12283a;
	--ink-soft: #343d55;
	--muted: #5f6880;
	--line: #d8e9f4;

	--peach: #ffe0cf;
	--peach-deep: #ff8a5c;
	--butter: #fff1c2;
	--butter-deep: #f2b73d;
	--mint: #d9f2e4;
	--mint-deep: #2f9e74;
	--sky: #dceafd;
	--sky-deep: #3f7fd0;
	--lilac: #e8e0fb;
	--lilac-deep: #7a5cd6;
	--blush: #ffe3ea;
	--blush-deep: #e0577f;

	--accent: #0ea5e9;
	--accent-dark: #0284c7;
	--ink-btn: #12283a;

	--radius-xs: 10px;
	--radius-sm: 14px;
	--radius: 20px;
	--radius-lg: 28px;
	--radius-pill: 999px;

	--shadow-xs: 0 1px 2px rgba(23, 32, 54, 0.05);
	--shadow-sm: 0 6px 18px -10px rgba(23, 32, 54, 0.22);
	--shadow: 0 18px 40px -24px rgba(23, 32, 54, 0.32);
	--shadow-lg: 0 30px 70px -40px rgba(23, 32, 54, 0.45);

	--wrap: 1180px;
	--wrap-narrow: 800px;
	--gutter: 22px;

	--font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--cream);
	background-image:
		radial-gradient(1100px 520px at 8% -6%, rgba(255, 224, 207, 0.85), transparent 62%),
		radial-gradient(940px 480px at 92% 2%, rgba(220, 234, 253, 0.75), transparent 60%),
		radial-gradient(900px 520px at 50% 108%, rgba(217, 242, 228, 0.7), transparent 62%);
	background-repeat: no-repeat;
	color: var(--ink-soft);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--ink);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.022em;
}

h1 {
	font-size: clamp(2.1rem, 5.2vw, 3.6rem);
}

h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.35rem);
}

h3 {
	font-size: clamp(1.18rem, 2vw, 1.45rem);
}

h4 {
	font-size: 1.06rem;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1.15em;
}

a {
	color: var(--accent-dark);
	text-decoration-color: rgba(14, 165, 233, 0.38);
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

a:hover {
	color: var(--ink);
	text-decoration-color: var(--ink);
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-left: 1.25em;
}

li {
	margin-bottom: 0.5em;
}

strong {
	color: var(--ink);
	font-weight: 700;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2.4rem 0;
}

blockquote {
	margin: 1.8rem 0;
	padding: 1rem 1.4rem;
	border-left: 3px solid var(--accent);
	background: rgba(255, 255, 255, 0.6);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--ink-soft);
}

code,
kbd,
pre {
	font-family: var(--font-mono);
	font-size: 0.9em;
}

code {
	background: var(--cream-deep);
	padding: 0.12em 0.42em;
	border-radius: 6px;
}

pre {
	background: #211d19;
	color: #f6efe6;
	padding: 1.1rem 1.2rem;
	border-radius: var(--radius-sm);
	overflow-x: auto;
}

pre code {
	background: none;
	padding: 0;
	color: inherit;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6rem 0;
	font-size: 0.95rem;
}

th,
td {
	padding: 0.72rem 0.9rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

th {
	background: var(--cream-deep);
	color: var(--ink);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.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;
	top: 10px;
	left: 10px;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.7rem 1.1rem;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-pill);
	text-decoration: none;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.wrap-narrow {
	width: 100%;
	max-width: var(--wrap-narrow);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	padding: clamp(2.6rem, 6vw, 4.6rem) 0;
}

.section--tight {
	padding: clamp(1.8rem, 4vw, 2.8rem) 0;
}

.section-head {
	max-width: 720px;
	margin: 0 auto clamp(1.6rem, 3vw, 2.6rem);
	text-align: center;
}

.section-head p {
	margin-bottom: 0;
	color: var(--muted);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
	padding: 0.34rem 0.8rem;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(23, 32, 54, 0.08);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: var(--shadow-xs);
}

.eyebrow .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.86rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.btn .icon {
	width: 17px;
	height: 17px;
	flex: none;
}

.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 14px 26px -14px rgba(14, 165, 233, 0.85);
}

.btn--primary:hover {
	background: var(--accent-dark);
	color: #fff;
	box-shadow: 0 18px 32px -14px rgba(211, 69, 35, 0.9);
}

.btn--ink {
	background: var(--ink);
	color: #fff;
	box-shadow: 0 14px 26px -16px rgba(23, 32, 54, 0.9);
}

.btn--ink:hover {
	background: #000;
	color: #fff;
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(23, 32, 54, 0.14);
	color: var(--ink);
	box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
	background: #fff;
	border-color: rgba(23, 32, 54, 0.3);
	color: var(--ink);
}

.btn--white {
	background: #fff;
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

.btn--white:hover {
	color: var(--accent-dark);
}

.btn--sm {
	padding: 0.6rem 1.05rem;
	font-size: 0.85rem;
}

.btn--lg {
	padding: 1rem 1.85rem;
	font-size: 1.02rem;
}

.btn--block {
	width: 100%;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	color: var(--ink);
}

.link-arrow .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(253, 249, 243, 0.82);
	border-bottom: 1px solid transparent;
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-stuck {
	border-bottom-color: var(--line);
	box-shadow: 0 10px 30px -24px rgba(23, 32, 54, 0.5);
	background: rgba(253, 249, 243, 0.95);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	min-height: 74px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--ink);
	font-weight: 800;
	font-size: 1.06rem;
	letter-spacing: -0.025em;
	flex: none;
}

.brand:hover {
	color: var(--ink);
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--accent), #ff9d6b);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	box-shadow: 0 10px 20px -12px rgba(14, 165, 233, 0.95);
}

.brand-text small {
	display: block;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.4;
}

.nav {
	margin-left: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list li {
	margin: 0;
	position: relative;
}

.nav-link,
.nav-drop > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.34rem;
	padding: 0.55rem 0.78rem;
	border-radius: var(--radius-pill);
	color: var(--ink-soft);
	font-size: 0.93rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
	list-style: none;
}

.nav-link:hover,
.nav-drop > summary:hover,
.nav-drop[open] > summary {
	background: rgba(255, 255, 255, 0.9);
	color: var(--ink);
}

.nav-link[aria-current="page"],
.nav-link.is-current {
	background: rgba(255, 255, 255, 0.95);
	color: var(--ink);
	font-weight: 700;
	box-shadow: var(--shadow-xs);
}

.nav-drop > summary::-webkit-details-marker {
	display: none;
}

.nav-drop > summary::marker {
	content: "";
}

.caret {
	width: 13px;
	height: 13px;
	transition: transform 0.2s var(--ease);
	opacity: 0.65;
}

.nav-drop[open] .caret {
	transform: rotate(180deg);
}

.nav-drop .drop-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	width: max-content;
	max-width: min(92vw, 720px);
	padding: 0.9rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav-drop[open] .drop-panel {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.drop-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 0.6rem 1.4rem;
	min-width: 340px;
}

.drop-title {
	margin: 0 0 0.4rem;
	padding: 0 0.5rem;
	color: var(--muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.drop-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drop-list li {
	margin: 0;
}

.drop-list a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.44rem 0.5rem;
	border-radius: 9px;
	color: var(--ink-soft);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.drop-list a:hover {
	background: var(--cream);
	color: var(--ink);
}

.drop-list .icon {
	width: 15px;
	height: 15px;
	color: var(--accent);
	opacity: 0.85;
	flex: none;
}

.header-cta {
	flex: none;
}

.header-cta .btn {
	padding: 0.68rem 1.15rem;
	font-size: 0.88rem;
}

/* Mobile nav */
.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.45rem;
	margin-left: auto;
	padding: 0.5rem 0.85rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--shadow-xs);
}

.nav-toggle .icon {
	width: 16px;
	height: 16px;
}

@media (max-width: 980px) {
	.nav-toggle {
		display: inline-flex;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		padding: 0.8rem var(--gutter) 1.2rem;
		background: var(--cream);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		max-height: calc(100vh - 74px);
		overflow-y: auto;
	}

	.nav.is-open {
		display: block;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0.1rem;
	}

	.nav-link,
	.nav-drop > summary {
		justify-content: space-between;
		padding: 0.72rem 0.6rem;
		border-radius: var(--radius-sm);
		font-size: 0.98rem;
	}

	.nav-drop .drop-panel {
		position: static;
		transform: none;
		width: 100%;
		max-width: none;
		margin: 0.2rem 0 0.5rem;
		padding: 0.5rem;
		border: 1px solid var(--line);
		box-shadow: none;
		background: rgba(255, 255, 255, 0.7);
		opacity: 1;
		visibility: visible;
		display: none;
	}

	.nav-drop[open] .drop-panel {
		display: block;
		transform: none;
	}

	.drop-cols {
		min-width: 0;
		grid-template-columns: 1fr;
	}

	.header-cta {
		margin-left: 0.5rem;
	}
}

@media (max-width: 600px) {
	.brand-text small {
		display: none;
	}

	.header-cta .btn span {
		display: none;
	}

	.header-cta .btn {
		padding: 0.62rem 0.85rem;
	}
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(2.2rem, 5.5vw, 4rem) 0 clamp(2rem, 4vw, 3.2rem);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(1.6rem, 4vw, 3.4rem);
	align-items: center;
}

.hero h1 {
	margin-bottom: 0.6rem;
}

.hero h1 .hl {
	position: relative;
	display: inline-block;
	isolation: isolate;
	color: var(--ink);
	z-index: 0;
}

.hero h1 .hl::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	bottom: 0.06em;
	height: 0.32em;
	border-radius: 4px;
	background: linear-gradient(90deg, rgba(178, 226, 250, 0.95), rgba(255, 205, 214, 0.95));
	z-index: -1;
}

.hero-lead {
	max-width: 34rem;
	margin-bottom: 1.5rem;
	color: var(--muted);
	font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.3rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--ink-soft);
	font-size: 0.88rem;
	font-weight: 600;
}

.hero-proof li {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	margin: 0;
}

.hero-proof .icon {
	width: 16px;
	height: 16px;
	color: var(--mint-deep);
}

/* Hero visual: collage card */
.hero-visual {
	position: relative;
	padding: 0 0 1.4rem;
}

.collage {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem;
	padding: 0.8rem;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	transform: rotate(-1.1deg);
}

.collage figure {
	position: relative;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--cream-deep);
	aspect-ratio: 4 / 3.2;
}

.collage figure:nth-child(1) {
	grid-row: span 2;
	aspect-ratio: auto;
}

.collage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.collage figure:nth-child(2),
.collage figure:nth-child(3) {
	margin-top: 0.5rem;
}

.badge-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 0.95rem;
	background: #fff;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.25;
}

.badge-float small {
	display: block;
	color: var(--muted);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.badge-float .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	flex: none;
}

.badge-float--a {
	left: -10px;
	bottom: 34px;
}

.badge-float--b {
	right: -6px;
	top: -4px;
	background: #12283a;
	color: #fff;
}

.badge-float--b small {
	color: rgba(255, 255, 255, 0.68);
}

.badge-float--b .icon {
	color: var(--butter-deep);
}

/* ==========================================================================
   7. Jump dropdown card
   ========================================================================== */
.jump-card {
	position: relative;
	margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
	padding: clamp(1.1rem, 2.6vw, 1.6rem);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.jump-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3rem 0.8rem;
	margin-bottom: 1rem;
}

.jump-head h2 {
	margin: 0;
	font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.jump-head p {
	margin: 0;
	color: var(--muted);
	font-size: 0.86rem;
}

.jump-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 0.6rem;
	align-items: center;
}

.select-wrap {
	position: relative;
	display: block;
}

.select-wrap select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	padding: 0.9rem 2.6rem 0.9rem 1.1rem;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.select-wrap select:hover {
	border-color: rgba(23, 32, 54, 0.28);
}

.select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.15rem;
	width: 8px;
	height: 8px;
	margin-top: -5px;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: rotate(45deg);
	pointer-events: none;
	opacity: 0.55;
}

.jump-note {
	margin: 0.85rem 0 0;
	color: var(--muted);
	font-size: 0.78rem;
}

@media (max-width: 720px) {
	.jump-row {
		grid-template-columns: 1fr;
	}

	.jump-row .btn {
		width: 100%;
	}
}

/* ==========================================================================
   8. Category grid
   ========================================================================== */
.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cat-grid > li {
	margin: 0;
	display: flex;
}

.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--ink);
	box-shadow: var(--shadow-xs);
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.cat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(23, 32, 54, 0.16);
	color: var(--ink);
}

.cat-media {
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: var(--cream-deep);
}

.cat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.cat-card:hover .cat-media img {
	transform: scale(1.045);
}

.cat-index {
	position: absolute;
	top: 0.7rem;
	left: 0.75rem;
	padding: 0.16rem 0.52rem;
	background: rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	box-shadow: var(--shadow-xs);
}

.cat-body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.95rem 1rem 1.05rem;
	flex: 1;
}

.cat-body h3 {
	margin: 0;
	font-size: 1.02rem;
	letter-spacing: -0.015em;
}

.cat-body p {
	margin: 0;
	color: var(--muted);
	font-size: 0.83rem;
	line-height: 1.55;
}

.cat-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.55rem;
	color: var(--accent-dark);
	font-size: 0.82rem;
	font-weight: 700;
}

.cat-cta .icon {
	width: 15px;
	height: 15px;
	transition: transform 0.2s var(--ease);
}

.cat-card:hover .cat-cta .icon {
	transform: translateX(3px);
}

/* ==========================================================================
   9. Feature / step sections
   ========================================================================== */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.4rem, 4vw, 3rem);
	align-items: center;
}

.split--reverse .split-media {
	order: 2;
}

.panel {
	padding: clamp(1.4rem, 3vw, 2.2rem);
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.panel--ink {
	background: #12283a;
	border-color: #12283a;
	color: rgba(255, 255, 255, 0.78);
	box-shadow: var(--shadow);
}

.panel--ink h2,
.panel--ink h3,
.panel--ink strong {
	color: #fff;
}

.panel--ink .eyebrow {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.step-list {
	counter-reset: step;
	display: grid;
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step-list li {
	counter-increment: step;
	position: relative;
	margin: 0;
	padding: 0.9rem 1rem 0.9rem 3.1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-xs);
}

.step-list li::before {
	content: counter(step);
	position: absolute;
	left: 1rem;
	top: 0.9rem;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--mint);
	color: var(--mint-deep);
	font-size: 0.85rem;
	font-weight: 800;
}

.step-list h3 {
	margin: 0 0 0.18rem;
	font-size: 1rem;
}

.step-list p {
	margin: 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.check-list {
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.62rem;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0;
	font-size: 0.94rem;
}

.check-list .icon {
	width: 19px;
	height: 19px;
	flex: none;
	margin-top: 0.15rem;
	padding: 0.16rem;
	border-radius: 50%;
	background: var(--mint);
	color: var(--mint-deep);
	stroke-width: 2.6;
}

.panel--ink .check-list .icon {
	background: rgba(217, 242, 228, 0.16);
	color: #a8e6c8;
}

/* Stats strip */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stats li {
	margin: 0;
	padding: 1.1rem 1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
}

.stats .num {
	display: block;
	color: var(--ink);
	font-size: clamp(1.5rem, 3vw, 1.95rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.stats .lbl {
	display: block;
	margin-top: 0.15rem;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* ==========================================================================
   10. Category banner tints
   ========================================================================== */
.tint-peach {
	background: linear-gradient(150deg, var(--peach), #fff6ef);
}

.tint-butter {
	background: linear-gradient(150deg, var(--butter), #fffdf0);
}

.tint-mint {
	background: linear-gradient(150deg, var(--mint), #f2fcf7);
}

.tint-sky {
	background: linear-gradient(150deg, var(--sky), #f2f7ff);
}

.tint-lilac {
	background: linear-gradient(150deg, var(--lilac), #f8f5ff);
}

/* ==========================================================================
   11. Article / post cards
   ========================================================================== */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.post-grid > li {
	margin: 0;
	display: flex;
}

.post-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-xs);
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.post-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--cream-deep);
}

.post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.post-card:hover .post-thumb img {
	transform: scale(1.04);
}

.post-inner {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.05rem 1.15rem 1.2rem;
	flex: 1;
}

.post-tag {
	align-self: flex-start;
	padding: 0.2rem 0.6rem;
	border-radius: var(--radius-pill);
	background: var(--cream-deep);
	color: var(--ink);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-card h3 {
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.post-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.post-card h3 a:hover {
	color: var(--accent-dark);
}

.post-excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.6;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.5rem;
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 600;
}

.post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.post-meta .dot-sep {
	opacity: 0.45;
}

.post-grid--compact .post-card h3 {
	font-size: 0.98rem;
}

/* Guide keyword cards */
.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-grid > li {
	margin: 0;
}

.guide-card {
	display: flex;
	flex-direction: column;
	gap: 0.42rem;
	height: 100%;
	padding: 1.2rem 1.25rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	box-shadow: var(--shadow-xs);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.guide-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
	border-color: rgba(14, 165, 233, 0.4);
}

.guide-card .kw {
	color: var(--accent-dark);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.guide-card h3 {
	margin: 0;
	color: var(--ink);
	font-size: 1.06rem;
}

.guide-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.guide-card .link-arrow {
	margin-top: auto;
	color: var(--ink);
}

/* ==========================================================================
   12. FAQ
   ========================================================================== */
.faq-list {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.faq-list > li {
	margin: 0;
}

.faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-xs);
}

.faq-item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 1.25rem;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
}

.faq-item > summary::-webkit-details-marker {
	display: none;
}

.faq-item > summary::marker {
	content: "";
}

.faq-item > summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	background: var(--cream-deep);
	border-radius: 50%;
	color: var(--ink);
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1;
	transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.faq-item[open] > summary::after {
	content: "\2212";
	background: var(--accent);
	color: #fff;
}

.faq-answer {
	padding: 0 1.25rem 1.2rem;
	color: var(--muted);
	font-size: 0.94rem;
}

.faq-answer p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   13. CTA band
   ========================================================================== */
.cta-band {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 3.4rem);
	background: linear-gradient(120deg, #0284c7 0%, #0ea5e9 55%, #fb7185 100%);
	border-radius: var(--radius-lg);
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
	box-shadow: var(--shadow-lg);
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: auto -20% -60% 30%;
	height: 320px;
	background: radial-gradient(closest-side, rgba(14, 165, 233, 0.42), transparent);
	pointer-events: none;
}

.cta-band::after {
	content: "";
	position: absolute;
	inset: -40% 45% auto -20%;
	height: 280px;
	background: radial-gradient(closest-side, rgba(217, 242, 228, 0.22), transparent);
	pointer-events: none;
}

.cta-band h2 {
	position: relative;
	margin-bottom: 0.55rem;
	color: #fff;
	font-size: clamp(1.55rem, 3.4vw, 2.3rem);
}

.cta-band p {
	position: relative;
	max-width: 40rem;
	margin: 0 auto 1.5rem;
	font-size: 0.98rem;
}

.cta-band .btn-row {
	position: relative;
	justify-content: center;
}

/* ==========================================================================
   14. Page / single article
   ========================================================================== */
.page-shell {
	padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(2.4rem, 5vw, 4rem);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.42rem;
	margin-bottom: 1.2rem;
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.breadcrumbs .sep {
	opacity: 0.5;
}

.article-head {
	max-width: 780px;
	margin: 0 auto 1.6rem;
	text-align: center;
}

.article-head h1 {
	margin-bottom: 0.6rem;
	font-size: clamp(1.85rem, 4.2vw, 2.9rem);
}

.article-head .standfirst {
	color: var(--muted);
	font-size: clamp(1rem, 1.6vw, 1.1rem);
	margin-bottom: 0.9rem;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 0.9rem;
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.article-meta .dot-sep {
	opacity: 0.45;
}

.article-body {
	max-width: var(--wrap-narrow);
	margin: 0 auto;
	padding: clamp(1.3rem, 3.4vw, 2.6rem);
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	color: var(--ink-soft);
	font-size: 1.035rem;
	line-height: 1.78;
}

.article-body > *:first-child {
	margin-top: 0;
}

.article-body h2 {
	margin-top: 2.1rem;
	margin-bottom: 0.7rem;
	font-size: clamp(1.3rem, 2.4vw, 1.65rem);
}

.article-body h3 {
	margin-top: 1.7rem;
	margin-bottom: 0.55rem;
}

.article-body h2 + p,
.article-body h3 + p {
	margin-top: 0;
}

.article-body ul,
.article-body ol {
	padding-left: 1.3em;
}

.article-body li {
	margin-bottom: 0.55em;
}

.article-body a {
	font-weight: 600;
}

.article-body > p:last-child {
	margin-bottom: 0;
}

.callout {
	margin: 1.7rem 0;
	padding: 1.05rem 1.2rem;
	background: linear-gradient(135deg, var(--butter), #fffaea);
	border: 1px solid rgba(242, 183, 61, 0.35);
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
}

.callout strong {
	display: block;
	margin-bottom: 0.2rem;
}

.callout p:last-child {
	margin-bottom: 0;
}

.callout--mint {
	background: linear-gradient(135deg, var(--mint), #f5fdf9);
	border-color: rgba(47, 158, 116, 0.3);
}

/* Inline related list inside articles */
.inline-links {
	margin: 1.5rem 0;
	padding: 1rem 1.1rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px dashed var(--line);
	border-radius: var(--radius-sm);
	font-size: 0.94rem;
}

.inline-links strong {
	display: block;
	margin-bottom: 0.35rem;
}

.inline-links ul {
	margin: 0;
	padding-left: 1.15em;
}

.inline-links li:last-child {
	margin-bottom: 0;
}

/* Guide page hero strip */
.guide-hero {
	padding: clamp(1.8rem, 4vw, 3rem) 0 0;
}

.guide-hero .eyebrow {
	background: #fff;
}

/* Table of contents */
.toc {
	margin: 0 0 1.8rem;
	padding: 1rem 1.2rem;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 0.92rem;
}

.toc strong {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.toc ol {
	margin: 0;
	padding-left: 1.2em;
}

.toc li {
	margin-bottom: 0.28em;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 2.4rem;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.7rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.site-footer {
	margin-top: clamp(2rem, 5vw, 3.6rem);
	padding: clamp(2rem, 4vw, 3rem) 0 1.6rem;
	background: rgba(255, 255, 255, 0.6);
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 1.8rem 1.4rem;
}

.footer-brand p {
	max-width: 24rem;
	margin: 0.8rem 0 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.footer-col h4 {
	margin: 0 0 0.7rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col li {
	margin: 0 0 0.42rem;
}

.footer-col a {
	color: var(--ink-soft);
	font-size: 0.9rem;
	text-decoration: none;
}

.footer-col a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem 1.2rem;
	margin-top: 2rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.8rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom .disclaimer {
	max-width: 52rem;
	font-size: 0.76rem;
	line-height: 1.6;
	opacity: 0.9;
}

@media (max-width: 860px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   16. Responsive layout
   ========================================================================== */
@media (max-width: 900px) {
	.hero-grid,
	.split {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		max-width: 520px;
		margin: 0 auto;
	}

	.split--reverse .split-media {
		order: 0;
	}

	.article-body {
		font-size: 1rem;
	}
}

/* ==========================================================================
   17. Motion preferences & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.pagination {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 11pt;
	}

	.article-body {
		box-shadow: none;
		border: 0;
		padding: 0;
		background: none;
	}
}

/* ==========================================================================
   18. Components added after the first pass
   ========================================================================== */

/* Fallback artwork inside post cards. */
.post-thumb-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.post-thumb-fallback.tint-peach { background: linear-gradient(150deg, var(--peach), #fff6ef); }
.post-thumb-fallback.tint-butter { background: linear-gradient(150deg, var(--butter), #fffdf0); }
.post-thumb-fallback.tint-mint { background: linear-gradient(150deg, var(--mint), #f2fcf7); }
.post-thumb-fallback.tint-sky { background: linear-gradient(150deg, var(--sky), #f2f7ff); }
.post-thumb-fallback.tint-lilac { background: linear-gradient(150deg, var(--lilac), #f8f5ff); }
.post-thumb-fallback.tint-blush { background: linear-gradient(150deg, var(--blush), #fff5f8); }

.post-thumb-fallback .icon {
	width: 42%;
	max-width: 74px;
	height: auto;
	aspect-ratio: 1;
	color: var(--ink);
	opacity: 0.5;
	stroke-width: 1.35;
}

/* Guide cards keep their pastel tint (declared earlier, overridden here). */
.guide-card.tint-peach { background: linear-gradient(150deg, var(--peach), #fff9f4); }
.guide-card.tint-butter { background: linear-gradient(150deg, var(--butter), #fffbeb); }
.guide-card.tint-mint { background: linear-gradient(150deg, var(--mint), #f4fdf8); }
.guide-card.tint-sky { background: linear-gradient(150deg, var(--sky), #f5faff); }
.guide-card.tint-lilac { background: linear-gradient(150deg, var(--lilac), #faf8ff); }
.guide-card.tint-blush { background: linear-gradient(150deg, var(--blush), #fff6f9); }

.guide-card:hover {
	border-color: rgba(23, 32, 54, 0.2);
}

/* Category media keeps a tint behind the illustration. */
.cat-media.tint-peach { background: linear-gradient(150deg, var(--peach), #fff6ef); }
.cat-media.tint-butter { background: linear-gradient(150deg, var(--butter), #fffdf0); }
.cat-media.tint-mint { background: linear-gradient(150deg, var(--mint), #f2fcf7); }
.cat-media.tint-sky { background: linear-gradient(150deg, var(--sky), #f2f7ff); }
.cat-media.tint-lilac { background: linear-gradient(150deg, var(--lilac), #f8f5ff); }
.cat-media.tint-blush { background: linear-gradient(150deg, var(--blush), #fff5f8); }

.cat-media > .icon {
	position: absolute;
	inset: 0;
	width: 46%;
	height: 46%;
	margin: auto;
	color: var(--ink);
	opacity: 0.35;
	stroke-width: 1.3;
}

/* Search form. */
.search-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 480px;
	margin: 0 auto;
}

.search-form .select-wrap {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	padding: 0.78rem 1.1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-family: inherit;
	font-size: 0.94rem;
	box-shadow: var(--shadow-xs);
}

.search-form .search-field::placeholder {
	color: var(--muted);
	opacity: 0.85;
}

/* Search form: no fake select caret. */
.search-form .select-wrap::after {
	display: none;
}

/* Comments. */
.comments-area {
	margin-top: 1rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
	font-size: 1.25rem;
}

.comment-list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.comment-list ol.children {
	margin: 0.8rem 0 0;
	padding-left: 1.6rem;
	list-style: none;
}

.comment-body {
	padding: 1rem 1.15rem;
	margin-bottom: 0.9rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.94rem;
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.5rem;
	font-size: 0.82rem;
	color: var(--muted);
}

.comment-author img {
	border-radius: 50%;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.comment-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.95rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--ink);
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form .submit {
	padding: 0.8rem 1.5rem;
	background: var(--ink);
	border: 0;
	border-radius: var(--radius-pill);
	color: #fff;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: #000;
}

/* Admin-bar aware sticky offset for the mobile panel. */
@media (max-width: 980px) {
	.admin-bar .site-header { top: 32px; }
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .nav.is-open { max-height: calc(100vh - 120px); }
}

/* ==========================================================================
   Litbuy: shopping-scene backgrounds
   ========================================================================== */
body {
	background-image:
		radial-gradient(1100px 520px at 6% -6%, rgba(255, 226, 200, 0.75), transparent 62%),
		radial-gradient(940px 480px at 94% 0%, rgba(196, 240, 220, 0.85), transparent 60%),
		radial-gradient(900px 520px at 50% 108%, rgba(255, 244, 196, 0.7), transparent 62%);
}

h1, h2, h3, .brand-text {
	letter-spacing: -0.015em;
}

.hero {
	background:
		linear-gradient(180deg, rgba(245, 249, 255, 0.55) 0%, rgba(245, 249, 255, 0.78) 62%, var(--cream) 100%),
		none;
}

.hero .hero-copy {
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-lg);
	padding: clamp(1.2rem, 3vw, 2rem);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: var(--shadow-sm);
}

.section--scene {
	background:
		linear-gradient(180deg, var(--cream) 0%, rgba(245, 249, 255, 0.7) 18%, rgba(245, 249, 255, 0.7) 82%, var(--cream) 100%),
		none;
}

.cta-band {
	background:
		linear-gradient(120deg, rgba(11, 127, 98, 0.94) 0%, rgba(14, 165, 233, 0.9) 55%, rgba(47, 180, 200, 0.9) 100%),
		none;
	color: rgba(255, 255, 255, 0.86);
}

.cta-band h2 {
	color: #fff;
}

.brand-mark {
	background: linear-gradient(135deg, #0ea5e9, #fb7185);
}

.article-figure {
	margin: 0 0 1.6rem;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.article-figure img {
	display: block;
	width: 100%;
	height: auto;
}

.article-body .wp-block-image,
.article-body figure.ltb-feature {
	margin: 1.4rem 0 1.8rem;
	border-radius: var(--radius);
	overflow: hidden;
}

.article-body figure.ltb-feature img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

/* Mobile overflow guards */
.hero-grid > *,
.split > *,
.jump-row > * {
	min-width: 0;
}

@media (max-width: 640px) {
	.hero h1 .hl {
		display: inline;
	}
	.hero h1 {
		overflow-wrap: anywhere;
	}
	.hero .hero-copy {
		padding: 1.1rem;
	}
	.badge-float--b {
		right: 0;
	}
}

@media (max-width: 420px) {
	.header-cta {
		display: none;
	}
}

/* ==========================================================================
   Small round product-photo category icons
   ========================================================================== */
.cat-icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.1rem 0.6rem;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.cat-icons > li {
	flex: 0 0 88px;
	margin: 0;
}

.cat-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--ink);
	text-align: center;
	text-decoration: none;
}

.cat-photo {
	display: block;
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ring, var(--mint)), 0 8px 16px -10px rgba(18, 40, 58, 0.5);
	transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.cat-icon.tint-peach  { --ring: var(--peach); }
.cat-icon.tint-butter { --ring: var(--butter); }
.cat-icon.tint-mint   { --ring: var(--mint); }
.cat-icon.tint-sky    { --ring: var(--sky); }
.cat-icon.tint-lilac  { --ring: var(--lilac); }
.cat-icon.tint-blush  { --ring: var(--blush); }

.cat-photo img {
	display: block;
	width: 64px;
	height: 64px;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
}

.cat-photo > .icon {
	width: 32px;
	height: 32px;
	margin: 16px;
	color: var(--accent);
}

.cat-icon:hover .cat-photo,
.cat-icon:focus-visible .cat-photo {
	transform: translateY(-3px);
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent), 0 10px 18px -10px rgba(18, 40, 58, 0.55);
}

.cat-name {
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.25;
}

.cat-icon:hover .cat-name {
	color: var(--accent);
}

@media (max-width: 640px) {
	.cat-icons {
		gap: 0.9rem 0.2rem;
	}
	.cat-icons > li {
		flex-basis: 76px;
	}
	.cat-name {
		font-size: 0.76rem;
	}
}

/* Icon row: no tile backgrounds, all 11 on one line on desktop */
.cat-icons {
	max-width: 1140px;
	gap: 1.1rem 0.5rem;
}

.cat-icons > li {
	flex: 0 0 94px;
	min-width: 0;
}

a.cat-icon,
a.cat-icon[class*="tint-"] {
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.cat-name {
	max-width: 100%;
	overflow-wrap: break-word;
}

@media (max-width: 640px) {
	.cat-icons > li {
		flex-basis: 76px;
	}
}

/* ==========================================================================
   Litbuy Finds: real-photo backgrounds
   ========================================================================== */
body {
	background-image:
		radial-gradient(1100px 520px at 4% -6%, rgba(178, 226, 250, 0.7), transparent 62%),
		radial-gradient(940px 480px at 96% 0%, rgba(255, 214, 222, 0.75), transparent 60%);
}

.hero.hero--photo {
	padding-top: clamp(2.4rem, 6vw, 4.6rem);
	background:
		linear-gradient(90deg, rgba(247, 251, 254, 0.96) 0%, rgba(247, 251, 254, 0.86) 38%, rgba(247, 251, 254, 0.25) 70%, rgba(247, 251, 254, 0) 100%),
		linear-gradient(180deg, rgba(247, 251, 254, 0) 70%, var(--cream) 100%),
		url("assets/img/bg-hero.jpg") right center / auto 100% no-repeat,
		linear-gradient(120deg, #e6f6ff 0%, #ffeef1 100%);
}

.hero-grid--single {
	grid-template-columns: minmax(0, 620px);
	min-height: clamp(360px, 46vw, 520px);
	align-items: center;
}

.hero.hero--photo .hero-copy {
	background: rgba(255, 255, 255, 0.7);
	border-color: rgba(255, 255, 255, 0.95);
}

.hero.hero--photo .jump-card {
	margin-top: clamp(1.4rem, 3vw, 2.2rem);
}

.section--icons {
	padding-top: clamp(2.2rem, 4vw, 3rem);
	padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.cat-desc {
	display: block;
	max-width: 100%;
	color: var(--muted);
	font-size: 0.72rem;
	line-height: 1.35;
	margin-top: -0.25rem;
}

.section--article {
	background:
		linear-gradient(180deg, var(--cream) 0%, rgba(247, 251, 254, 0.82) 10%, rgba(247, 251, 254, 0.82) 90%, var(--cream) 100%),
		url("assets/img/bg-street.jpg") center / cover fixed no-repeat;
}

.home-article {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(1.4rem, 4vw, 3rem);
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.95);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.home-article > h2:first-child {
	margin-top: 0;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band {
	background:
		linear-gradient(120deg, rgba(2, 132, 199, 0.92) 0%, rgba(14, 165, 233, 0.86) 50%, rgba(251, 113, 133, 0.86) 100%),
		url("assets/img/bg-windows.jpg") center / cover no-repeat;
}

@media (max-width: 900px) {
	.hero.hero--photo {
		background:
			linear-gradient(180deg, rgba(247, 251, 254, 0.55) 0%, rgba(247, 251, 254, 0.9) 55%, var(--cream) 100%),
			url("assets/img/bg-hero.jpg") 70% 20% / cover no-repeat;
	}
	.section--article {
		background-attachment: scroll;
	}
}

@media (max-width: 640px) {
	.cat-desc {
		display: none;
	}
}

/* ==========================================================================
   Two-row category icons (6 + 5 on desktop)
   ========================================================================== */
.cat-icons {
	max-width: 860px;
	gap: 1.6rem 0.6rem;
}

.cat-icons > li {
	flex: 0 0 132px;
}

.cat-photo,
.cat-photo img {
	width: 84px;
	height: 84px;
	flex-basis: 84px;
}

.cat-photo {
	padding: 0;
	box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ring, var(--mint)), 0 10px 20px -12px rgba(18, 40, 58, 0.5);
}

.cat-name {
	font-size: 0.9rem;
}

.cat-desc {
	font-size: 0.76rem;
	line-height: 1.4;
}

@media (max-width: 900px) {
	.cat-icons {
		max-width: 600px;
	}
	.cat-icons > li {
		flex-basis: 120px;
	}
	.cat-photo,
	.cat-photo img {
		width: 74px;
		height: 74px;
		flex-basis: 74px;
	}
}

@media (max-width: 640px) {
	.cat-icons {
		max-width: 420px;
		gap: 1rem 0.3rem;
	}
	.cat-icons > li {
		flex-basis: 92px;
	}
	.cat-photo,
	.cat-photo img {
		width: 64px;
		height: 64px;
		flex-basis: 64px;
	}
}
