/*
Theme Name: Topboss Media
Text Domain: topboss-media
Description: Classic-editor theme for Topboss Media: content writing, AI content, design, links and SEO services. Brand colours and logo are set in Appearance > Customize.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* ==========================================================================
   Brand colours come from Appearance > Customize > Brand colours and are
   printed as --ink, --paper, --primary, --accent. Everything below derives
   from those four, so a new palette needs no CSS edits.
   ========================================================================== */

:root {
	--ink: #16161d;
	--paper: #f7f3ec;
	--primary: #0e5e6f;
	--accent: #f2a541;
	--white: #fff;
	--line: color-mix(in srgb, var(--ink) 14%, transparent);
	--muted: color-mix(in srgb, var(--ink) 66%, var(--paper));
	--tint: color-mix(in srgb, var(--primary) 7%, var(--paper));
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--radius: 14px;
	--shadow: 0 1px 2px rgb(0 0 0 / .05), 0 12px 32px -12px rgb(0 0 0 / .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.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: var(--white); padding: 10px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

/* ── Buttons & links ─────────────────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	background: var(--accent); color: var(--ink);
	font: 700 15px/1 var(--font-body); letter-spacing: .01em;
	padding: 15px 22px; border-radius: 999px; border: 2px solid var(--accent);
	text-decoration: none; cursor: pointer;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--ink); background: color-mix(in srgb, var(--accent) 85%, var(--white)); }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--small { padding: 10px 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s ease; }
.eyebrow {
	font: 700 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
	color: var(--primary); margin: 0 0 14px;
}
.eyebrow a { color: inherit; text-decoration: none; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgb(0 0 0 / .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
	background: var(--ink); color: var(--accent);
	font: 700 16px/1 var(--font-display); letter-spacing: .02em;
}
.brand__name { font: 700 21px/1 var(--font-display); letter-spacing: -0.02em; }
.brand__name em { font-style: italic; font-weight: 400; color: var(--primary); margin-left: 3px; }
.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo { max-height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav .menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; position: relative; }
.site-nav .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav .menu a:hover::after, .site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after, .site-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.site-nav .menu li { position: relative; }
.site-nav .sub-menu, .site-nav .children {
	list-style: none; margin: 0; padding: 10px; position: absolute; left: -14px; top: 100%;
	min-width: 250px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; }
.site-nav .sub-menu a::after { display: none; }
.site-nav .sub-menu a:hover { background: var(--tint); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle__bars::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
		background: var(--paper); padding: 16px 16px 28px; border-bottom: 1px solid var(--line);
		max-height: calc(100vh - 76px); overflow-y: auto;
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .22s ease;
	}
	.admin-bar .site-nav { top: 122px; }
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); }
	.site-nav .menu a { display: block; padding: 14px 0; font-size: 17px; }
	.site-nav .menu a::after { display: none; }
	.site-nav .sub-menu, .site-nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 10px 14px; min-width: 0; }
	.site-nav .btn { justify-content: center; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero__inner { position: relative; z-index: 1; }
.hero__title { font-size: clamp(40px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; margin-bottom: 24px; animation: rise .8s ease both; }
.hero__sub { font-size: clamp(17px, 2vw, 21px); max-width: 56ch; color: var(--muted); animation: rise .8s .1s ease both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 56px; animation: rise .8s .2s ease both; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); animation: rise .8s .3s ease both; }
.hero__stats div { min-width: 120px; }
.hero__stats dt { font: 600 44px/1 var(--font-display); letter-spacing: -0.03em; color: var(--primary); }
.hero__stats dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.hero__art { position: absolute; right: -180px; top: -120px; width: 680px; height: 680px; pointer-events: none; }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.hero__ring--2 { inset: 110px; border-color: color-mix(in srgb, var(--accent) 60%, transparent); border-width: 2px; border-style: dashed; animation: spin 80s linear infinite; }
.hero__dot { position: absolute; width: 220px; height: 220px; left: 230px; top: 230px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--primary))); opacity: .9; filter: blur(.3px); }
@media (max-width: 900px) { .hero__art { opacity: .35; right: -320px; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--tight { padding: 48px 0 80px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark p { color: color-mix(in srgb, var(--paper) 78%, var(--ink)); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 40px; }
.section__head .eyebrow { width: 100%; margin-bottom: 0; }
.section__title { font-size: clamp(30px, 4.4vw, 52px); max-width: 20ch; margin: 0; }
.section--dark .section__title { margin-bottom: 20px; }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ticks li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); font-weight: 600; font-size: 18px; }
.ticks .icon { color: var(--accent); width: 22px; height: 22px; }

/* ── Service cards ───────────────────────────────────────────────────── */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	padding: 28px 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none; min-height: 270px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card__num { position: absolute; top: 22px; right: 24px; font: 600 14px/1 var(--font-display); color: var(--muted); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--primary); margin-bottom: 8px; transition: background .25s, color .25s; }
.card:hover .card__icon { background: var(--primary); color: var(--white); }
.card__title { font-size: 23px; margin: 0; }
.card__text { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; }
.card__price { font-weight: 700; }
.card__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); transition: background .25s, transform .25s; }
.card:hover .card__go { background: var(--accent); transform: rotate(-45deg); }

/* ── Bulk discount callout ───────────────────────────────────────────── */
.bulk {
	display: grid; gap: 20px; align-items: center; grid-template-columns: auto 1fr;
	padding: 28px; border-radius: calc(var(--radius) + 4px);
	background: var(--accent); color: var(--ink); margin: 2em 0;
	background-image: repeating-linear-gradient(135deg, transparent 0 22px, color-mix(in srgb, var(--white) 14%, transparent) 22px 23px);
}
.bulk > .icon { width: 44px; height: 44px; }
.bulk h3 { font-size: 26px; margin: 0 0 6px; }
.bulk p { margin: 0; max-width: 62ch; }
.bulk .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 860px) { .bulk { grid-template-columns: auto 1fr auto; padding: 36px 40px; } .bulk .btn { grid-column: auto; } }

/* ── Inner page hero ─────────────────────────────────────────────────── */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--tint), var(--paper)); }
.page-hero__row { display: flex; align-items: center; gap: 18px; }
.page-hero__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--primary); color: var(--white); flex: none; }
.page-hero__icon .icon { width: 30px; height: 30px; }
.page-hero__title { font-size: clamp(36px, 5.6vw, 68px); letter-spacing: -0.03em; margin: 0; max-width: 18ch; }
.page-hero__lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 60ch; margin: 20px 0 0; }
.page-hero__price { margin: 18px 0 0; display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; }
.page-hero__price strong { color: var(--primary); }

/* ── Prose (classic editor content) ──────────────────────────────────── */
.prose { max-width: 780px; }
.prose--wide { max-width: var(--wrap); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3.2vw, 36px); margin-top: 1.8em; }
.prose h3 { font-size: 23px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: italic 400 22px/1.5 var(--font-display); }
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .aligncenter { display: block; margin: 1.5em auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }

/* Tables typed in the classic editor become price tables. */
.prose table:not(.network__table) {
	width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0 2em;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px;
}
.prose table:not(.network__table) th, .prose table:not(.network__table) td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose table:not(.network__table) tr:last-child > * { border-bottom: 0; }
.prose table:not(.network__table) thead th, .prose table:not(.network__table) tr:first-child th { background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.prose table:not(.network__table) td:last-child { font-weight: 700; white-space: nowrap; }
.prose table:not(.network__table) tbody tr:hover td { background: var(--tint); }
@media (max-width: 600px) { .prose table:not(.network__table) th, .prose table:not(.network__table) td { padding: 12px; font-size: 15px; } .prose table:not(.network__table) td:last-child { white-space: normal; } }

/* Steps list: an ordered list with class "steps" */
.prose ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.prose ol.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.prose ol.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font: 600 24px/1 var(--font-display); color: var(--accent); }

/* ── Network sites table ─────────────────────────────────────────────── */
.network { margin: 2em 0; }
.network__bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.network__search { flex: 1 1 320px; max-width: 480px; }
.network__search input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center / 18px; font: inherit; color: var(--ink); }
.network__count { margin: 0; font-size: 14px; color: var(--muted); }
.network__count span { font-weight: 700; color: var(--ink); }
.network__scroll { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); max-height: 70vh; overflow: auto; }
.network__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.network__table th, .network__table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.network__table thead th { position: sticky; top: 0; z-index: 1; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; line-height: 1.3; vertical-align: bottom; }
.network__table thead small { font-weight: 500; opacity: .7; }
.network__table tbody th { font-weight: 700; }
.network__table tbody th a { color: var(--ink); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); }
.network__table tbody th a:hover { color: var(--primary); border-color: var(--primary); }
.network__table tbody tr:hover > * { background: var(--tint); }
.network__table .sep { color: var(--muted); margin: 0 2px; }
.network__table .na { color: var(--muted); font-weight: 400; }
.network__empty { padding: 20px; text-align: center; color: var(--muted); }
@media (max-width: 720px) {
	.network__scroll { max-height: none; border: 0; background: transparent; }
	.network__table thead { display: none; }
	.network__table, .network__table tbody, .network__table tr, .network__table th, .network__table td { display: block; white-space: normal; }
	.network__table tr { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 6px 0; }
	.network__table tr[hidden] { display: none; }
	.network__table tbody th { font-size: 17px; border-bottom: 1px solid var(--line); padding: 10px 16px; }
	.network__table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 16px; }
	.network__table td::before { content: attr(data-label); color: var(--muted); font-size: 14px; }
}

/* ── Featured partners (paid home page placements) ───────────────────── */
.section--partners { padding-top: 56px; border-top: 1px solid var(--line); background: var(--tint); }
.partners__heading { font: 700 clamp(20px, 2.4vw, 26px)/1.2 var(--font-body); letter-spacing: .02em; text-transform: uppercase; color: var(--primary); margin-bottom: 20px; }
.partners { display: grid; gap: 14px; }
@media (min-width: 760px) { .partners { grid-template-columns: 1fr 1fr; } .partners > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.partner-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.partner-card__head { display: flex; gap: 14px; align-items: center; padding: 16px; }
.partner-card__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--primary); }
.partner-card__icon .icon { width: 17px; height: 17px; }
.partner-card__label { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.partner-card__title { margin: 0; font: 700 19px/1.25 var(--font-body); color: var(--ink); letter-spacing: 0; }
.partner-card__body { position: relative; flex: 1; padding: 0 16px 4px; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 82%, var(--paper)); max-height: 180px; overflow: hidden; transition: max-height .35s ease; border-top: 1px solid var(--line); padding-top: 14px; }
.partner-card__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(to bottom, transparent, var(--white)); pointer-events: none; transition: opacity .2s; }
.partner-card.is-open .partner-card__body { max-height: 3000px; }
.partner-card.is-open .partner-card__body::after { opacity: 0; }
.partner-card__body a { color: var(--primary); font-weight: 600; }
.partner-card__foot { padding: 11px 16px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 50%, var(--white)); text-align: center; }
.partner-card__toggle { background: none; border: 0; cursor: pointer; font: 700 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--primary); padding: 4px 8px; }
.partner-card.is-open .partner-card__toggle span { display: inline-block; transform: rotate(180deg); }

/* Social links */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.social .icon { width: 18px; height: 18px; }

/* ── Forms ───────────────────────────────────────────────────────────── */
.form { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 28px; margin: 1.5em 0; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form select, .form textarea, .search-form input[type=search] {
	width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; background: var(--white); }
.form__row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; margin: 1em 0; font-weight: 600; }
.notice--ok { background: color-mix(in srgb, #2e9d5b 14%, var(--white)); color: #1c6b3c; }
.notice--err { background: color-mix(in srgb, #c53b3b 12%, var(--white)); color: #8f2323; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-submit { background: var(--ink); color: var(--paper); border: 0; border-radius: 10px; padding: 0 18px; font-weight: 700; cursor: pointer; }

/* ── Blog ────────────────────────────────────────────────────────────── */
.posts { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card__img { display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; aspect-ratio: 16 / 10; background: var(--tint); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-size: 24px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__excerpt { color: var(--muted); font-size: 15px; }
.pager { margin-top: 48px; }
.pager .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager .current { background: var(--ink); color: var(--paper); }
.post-hero-img img { border-radius: var(--radius); width: 100%; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line); font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 72%, var(--ink)); padding: 72px 0 0; font-size: 15px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { color: var(--paper); margin-bottom: 18px; }
.site-footer .brand__mark { background: var(--accent); color: var(--ink); }
.site-footer .brand__name em { color: var(--accent); }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__about p { max-width: 40ch; }
.site-footer__title { font: 700 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__base { margin-top: 56px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); font-size: 13px; }
.site-footer__base p { margin: 0; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gpwa { display: inline-block; line-height: 0; border-radius: 4px; overflow: hidden; opacity: .9; }
.gpwa:hover { opacity: 1; }

/* Widgets */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 20px; }
