/*
Theme Name: dds_1320southmonroe.com
Author: Mara Cole
Description: Industrial map theme for a guide to finding, leasing and building out commercial space for restaurants, cafés and food service businesses.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smonroe
*/

:root {
	--sm-bg: #F4F6F8;
	--sm-alt: #E8EDF1;
	--sm-head: #1B2A3A;
	--sm-foot: #111C27;
	--sm-white: #FFFFFF;
	--sm-text: #1B2A3A;
	--sm-red: #E63946;
	--sm-teal: #2A9D8F;
	--sm-muted: #6B7A8A;
	--sm-line: #D0D9E0;
	--sm-shadow: 0 4px 12px rgba(27, 42, 58, 0.08);
	--sm-shadow-up: 0 12px 26px rgba(27, 42, 58, 0.14);
	--sm-f-head: "Barlow Condensed", "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
	--sm-f-body: "IBM Plex Sans", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Hidden-state guards (must precede component styles) ---------- */
.cookie-banner[hidden] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	overflow-x: hidden;
	font-family: var(--sm-f-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--sm-text);
	background-color: var(--sm-bg);
	background-image:
		linear-gradient(rgba(27, 42, 58, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(27, 42, 58, 0.03) 1px, transparent 1px);
	background-size: 24px 24px, 24px 24px;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Warehouse / kitchen-line outline in the bottom-right corner of every page */
body::after {
	content: "";
	position: fixed;
	right: 12px;
	bottom: 12px;
	width: 360px;
	height: 220px;
	pointer-events: none;
	z-index: 1;
	opacity: 0.04;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 220' fill='none' stroke='%231B2A3A' stroke-width='3' stroke-linejoin='round'%3E%3Cpath d='M10 210V100L78 60V100L146 60V100L214 60V100L282 60V100L350 60V210Z'/%3E%3Cpath d='M30 110h300M30 110v20h300v-20'/%3E%3Crect x='36' y='146' width='64' height='64'/%3E%3Cpath d='M36 162h64M36 178h64M36 194h64'/%3E%3Cpath d='M168 134h140l-18 22h-104z'/%3E%3Cpath d='M238 110v24'/%3E%3Crect x='176' y='170' width='124' height='40'/%3E%3Ccircle cx='204' cy='182' r='7'/%3E%3Ccircle cx='238' cy='182' r='7'/%3E%3Ccircle cx='272' cy='182' r='7'/%3E%3Cpath d='M120 210v-48h36v48'/%3E%3C/svg%3E") no-repeat right bottom / contain;
}

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

p { margin: 0 0 1.1em; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sm-f-head);
	font-weight: 600;
	line-height: 1.12;
	color: var(--sm-text);
	margin: 1.6em 0 0.6em;
	letter-spacing: 0.005em;
}
h1 { font-size: 2.35rem; margin-top: 0; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

/* Square marker before every H2 */
h2::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.55em;
	background: var(--sm-red);
	vertical-align: baseline;
}

a {
	color: var(--sm-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease;
}
a:hover, a:focus-visible {
	color: var(--sm-teal);
	text-decoration-thickness: 3px;
}
:focus-visible { outline: 2px solid var(--sm-teal); outline-offset: 2px; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border: 1px solid var(--sm-line); background: var(--sm-white); }
th, td { border: 1px solid var(--sm-line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
th { background: var(--sm-alt); font-family: var(--sm-f-head); font-size: 1.05rem; font-weight: 600; }

blockquote {
	margin: 1.6em 0;
	padding: 1.2rem 1.5rem;
	background: var(--sm-white);
	border-left: 4px solid var(--sm-red);
	border-radius: 0 4px 4px 0;
	box-shadow: var(--sm-shadow);
	font-size: 1.1rem;
}
blockquote p:last-child { margin-bottom: 0; }

pre {
	overflow-x: auto;
	padding: 1rem 1.2rem;
	background: var(--sm-head);
	color: #E8EDF1;
	border-radius: 4px;
	font-size: 0.92rem;
}
code { font-size: 0.92em; }
hr { border: 0; border-top: 1px dashed var(--sm-line); margin: 2rem 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--sm-red);
	color: #fff;
	text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Containers ---------- */
.shell { width: min(92%, 1180px); margin-inline: auto; }
.shell--front { width: min(92%, 1280px); }
@media (min-width: 960px) {
	.shell--front { width: min(85%, 1280px); }
}

/* ---------- Buttons ---------- */
.btn,
.comment-form .submit,
.search-form button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--sm-red);
	border-radius: 2px;
	background: var(--sm-red);
	color: #fff;
	font-family: var(--sm-f-head);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus-visible,
.comment-form .submit:hover,
.search-form button:hover {
	background: var(--sm-head);
	border-color: var(--sm-head);
	color: #fff;
	transform: translateY(-2px);
	text-decoration: none;
}
.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Top bar and header ---------- */
.topline { height: 4px; background: linear-gradient(90deg, var(--sm-red), var(--sm-teal)); }

.masthead { background: var(--sm-head); color: #fff; position: relative; z-index: 5; }
.masthead-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 0;
}
.brand { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.brand-mark { flex: 0 0 auto; display: block; line-height: 0; }
.brand-logo, .brand-mark svg { width: 56px; height: 56px; display: block; object-fit: contain; }
.brand-text { min-width: 0; }
.brand-name {
	margin: 0 0 0.3rem;
	font-family: var(--sm-f-head);
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.22;
	max-width: 62ch;
}
.brand-name a { color: #fff; text-decoration: none; }
.brand-name a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--sm-red); }
.brand-tagline { margin: 0; font-size: 0.82rem; line-height: 1.45; color: #A9B6C4; max-width: 78ch; }

.nav-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.8rem;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 2px;
	font-family: var(--sm-f-head);
	font-size: 1.05rem;
	cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	position: relative;
}
.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; }

.primary-nav { display: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.primary-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0.5rem 0 0.9rem; }
.nav-list li { margin: 0; }
.nav-list a {
	display: block;
	padding: 0.55rem 0;
	color: #E8EDF1;
	font-family: var(--sm-f-head);
	font-size: 1.15rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.nav-list a:hover, .nav-list .current-menu-item > a { color: #fff; }
.nav-list .current-menu-item > a { box-shadow: inset 3px 0 0 var(--sm-red); padding-left: 0.7rem; }

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.primary-nav { display: block; }
	.nav-list { display: flex; flex-wrap: wrap; gap: 0 2rem; padding: 0; }
	.nav-list a {
		padding: 0.85rem 0;
		border-bottom: 0;
		box-shadow: inset 0 -3px 0 transparent;
		transition: box-shadow 0.2s ease, color 0.2s ease;
	}
	.nav-list a:hover { box-shadow: inset 0 -3px 0 var(--sm-red); }
	.nav-list .current-menu-item > a { padding-left: 0; box-shadow: inset 0 -3px 0 var(--sm-red); }
	.brand-name { font-size: 1.28rem; }
	.brand-tagline { font-size: 0.86rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
	padding: 1.3rem 0 0;
	font-size: 0.9rem;
	color: var(--sm-muted);
}
.breadcrumbs a { color: var(--sm-muted); text-decoration-color: var(--sm-line); }
.breadcrumbs a:hover { color: var(--sm-teal); }
.breadcrumbs .sep { margin: 0 0.35rem; color: var(--sm-red); }
.breadcrumbs span:last-child { color: var(--sm-text); }

/* ---------- Page banner (accent sections) ---------- */
.page-banner {
	margin: 1.2rem 0 2.2rem;
	padding: 2rem 1.5rem;
	border-radius: 4px;
	background-color: var(--sm-head);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 24px 24px, 24px 24px;
	color: #D0D9E0;
}
.page-banner h1 { color: #fff; margin: 0 0 0.4rem; }
.page-banner p { margin: 0; max-width: 64ch; }
@media (min-width: 600px) {
	.page-banner { padding: 2.6rem 2.4rem; }
}

/* ---------- Content layouts ---------- */
.site-main { position: relative; z-index: 2; }
.inner-wrap { padding-bottom: 4rem; }

.layout-with-sidebar,
.layout-single { display: block; }
.content-area { min-width: 0; }
.sidebar { min-width: 0; margin-top: 2.5rem; }

@media (min-width: 960px) {
	.layout-with-sidebar {
		display: grid;
		grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
		column-gap: 6%;
		align-items: start;
	}
	.layout-with-sidebar .sidebar { margin-top: 0; }
	.layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
}

/* ---------- Sidebar ---------- */
.sidebar {
	background: var(--sm-white);
	padding: 1.6rem 1.5rem;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(27, 42, 58, 0.08);
	color: var(--sm-text);
}
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	color: var(--sm-text);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.sidebar .widget-title::before { content: ""; width: 22px; height: 3px; background: var(--sm-red); flex: 0 0 auto; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 0.6rem 0; margin: 0; border-bottom: 1px dashed var(--sm-line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--sm-text); text-decoration: none; }
.sidebar a:hover { color: var(--sm-red); text-decoration: underline; }
.sidebar .post-date { display: block; font-size: 0.82rem; color: var(--sm-muted); }
.sidebar p, .sidebar .textwidget { color: var(--sm-text); }

/* ---------- Tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.8rem; }
.tag-chip {
	display: inline-block;
	padding: 0.18rem 0.6rem;
	background: var(--sm-alt);
	border-left: 3px solid var(--sm-red);
	color: var(--sm-text);
	font-family: var(--sm-f-head);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}
.tag-chip:nth-child(even) { border-left-color: var(--sm-teal); }
.tag-chip:hover { color: var(--sm-text); background: #DCE3E9; text-decoration: none; }

/* ---------- Cards ---------- */
.card-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.6rem;
}
@media (min-width: 600px) {
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
	.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.layout-single .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--sm-white);
	border: 1px solid var(--sm-line);
	border-radius: 4px;
	box-shadow: var(--sm-shadow);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sm-shadow-up);
	border-color: var(--sm-teal);
}
.card-thumb { position: relative; background: var(--sm-alt); }
.card-thumb a { display: block; }
.card-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.card-badge {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
	padding: 0.15rem 0.55rem;
	background: var(--sm-red);
	color: #fff;
	font-family: var(--sm-f-head);
	font-size: 0.9rem;
	border-radius: 2px;
}
.card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 1.3rem 1.35rem 1.4rem;
}
.card-title { margin: 0 0 0.4rem; font-size: 1.45rem; }
.card-title a { color: var(--sm-text); text-decoration: none; }
.card-title a:hover { color: var(--sm-red); }
.card-meta { font-size: 0.85rem; color: var(--sm-muted); margin: 0 0 0.7rem; }
.card-excerpt { color: #3A4A5A; font-size: 0.98rem; flex: 1; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more {
	align-self: flex-start;
	margin-top: 0.6rem;
	font-family: var(--sm-f-head);
	font-size: 1.08rem;
	font-weight: 600;
}

/* ---------- Pagination ---------- */
.pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 2.6rem 0 0;
}
.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.6rem;
	height: 2.6rem;
	padding: 0 0.85rem;
	background: var(--sm-white);
	border: 1px solid var(--sm-line);
	border-radius: 2px;
	color: var(--sm-text);
	font-family: var(--sm-f-head);
	font-size: 1.08rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.pager a.page-numbers:hover { border-color: var(--sm-teal); color: var(--sm-teal); }
.pager .page-numbers.current { background: var(--sm-red); border-color: var(--sm-red); color: #fff; }
.pager .page-numbers.dots { background: transparent; border-color: transparent; min-width: 1.5rem; padding: 0; }

/* ---------- Single / page ---------- */
.entry { padding-top: 1.4rem; }
.entry-header { margin-bottom: 1.6rem; }
.entry-title { font-size: 2.35rem; margin: 0 0 0.6rem; }
.entry-meta { color: var(--sm-muted); font-size: 0.92rem; }
.entry-thumb { margin: 0 0 1.8rem; }
.entry-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.entry-content { min-width: 0; }
.entry-content img { border-radius: 4px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 0.88rem; color: var(--sm-muted); margin-top: 0.4rem; }
.entry-content .alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-footer { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px dashed var(--sm-line); }
.page-links { margin: 1.5rem 0; font-family: var(--sm-f-head); }

.post-navigation { margin-top: 2.5rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 600px) {
	.post-navigation .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-navigation .nav-next { text-align: right; }
}
.post-navigation a {
	display: block;
	padding: 1rem 1.2rem;
	background: var(--sm-white);
	border: 1px solid var(--sm-line);
	border-radius: 4px;
	text-decoration: none;
	color: var(--sm-text);
	transition: border-color 0.2s ease;
}
.post-navigation a:hover { border-color: var(--sm-teal); color: var(--sm-text); }
.post-navigation .nav-label { display: block; font-size: 0.82rem; color: var(--sm-muted); }
.post-navigation .nav-title { font-family: var(--sm-f-head); font-size: 1.2rem; font-weight: 600; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px dashed var(--sm-line); }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .children { list-style: none; padding-left: 1.4rem; margin-top: 1rem; border-left: 2px solid var(--sm-line); }
.comment-card {
	padding: 1.1rem 1.3rem;
	background: var(--sm-white);
	border: 1px solid var(--sm-line);
	border-radius: 4px;
	margin-bottom: 1rem;
}
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; margin-bottom: 0.5rem; }
.comment-head img { border-radius: 2px; display: block; }
.comment-author-name { font-family: var(--sm-f-head); font-size: 1.15rem; font-weight: 600; }
.comment-date { font-size: 0.82rem; color: var(--sm-muted); }
.comment-awaiting { font-size: 0.88rem; color: var(--sm-teal); }
.comment-reply-link { font-family: var(--sm-f-head); font-weight: 600; }
.comment-form label { display: block; font-weight: 500; margin-bottom: 0.3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"] {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--sm-line);
	border-radius: 2px;
	background: var(--sm-white);
	color: var(--sm-text);
	font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus, .search-form input:focus { border-color: var(--sm-teal); outline: none; }
.comment-form-cookies-consent { display: flex; gap: 0.6rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; font-size: 0.9rem; }
.required { color: var(--sm-red); }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 0.5rem; max-width: 560px; }
.search-form input[type="search"] { flex: 1; min-width: 0; }

/* ---------- 404 / empty ---------- */
.empty-state {
	padding: 2rem 1.6rem;
	background: var(--sm-white);
	border: 1px solid var(--sm-line);
	border-radius: 4px;
}
.empty-state p:last-child { margin-bottom: 0; }
.notfound-code {
	font-family: var(--sm-f-head);
	font-size: 6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--sm-red);
	margin: 0 0 0.5rem;
}
.notfound-actions { margin-top: 1.4rem; }

/* ---------- Front page sections ---------- */
.fs { position: relative; padding: 4.5rem 0; }
.fs--base { background-color: transparent; }
.fs--alt { background-color: var(--sm-alt); }

/* Dashed marker between sections */
.fs + .fs::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 80px;
	margin-left: -40px;
	border-top: 2px dashed var(--sm-line);
}
.fs--alt + .fs::before, .fs + .fs--alt::before { border-top-color: #C3CDD6; }

.sec-head { margin-bottom: 2.2rem; max-width: 70ch; }
.sec-title {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 0 0.6rem;
	font-size: 2.1rem;
}
.sec-title::before {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin: 0;
	background: var(--sm-red);
	flex: 0 0 auto;
}
.sec-lead { color: var(--sm-muted); margin: 0; }
@media (min-width: 960px) {
	.sec-title { font-size: 2.6rem; }
}

/* Hero */
.fs-hero {
	padding: 0;
	min-height: 520px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: var(--sm-head);
}
.fs-hero-img {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.fs-hero::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(17, 28, 39, 0.6);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 24px 24px, 24px 24px;
}
.fs-hero-inner { position: relative; z-index: 2; padding: 4.5rem 0; }
.fs-hero h1 {
	color: #fff;
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.05;
	max-width: 17ch;
	margin: 0 0 1.1rem;
}
.fs-hero-sub { color: #D0D9E0; font-size: 1.12rem; max-width: 56ch; margin: 0 0 2rem; }
.fs-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.fs-hero-note {
	margin: 2.4rem 0 0;
	padding-top: 1rem;
	border-top: 1px dashed rgba(208, 217, 224, 0.35);
	color: #A9B6C4;
	font-size: 0.9rem;
	max-width: 56ch;
}
@media (min-width: 960px) {
	.fs-hero { min-height: 600px; }
	.fs-hero h1 { font-size: 3.2rem; }
}

/* Checklist */
.checklist-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 960px) {
	.checklist-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
}
.checklist-intro p { color: #3A4A5A; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
	position: relative;
	margin: 0;
	padding: 1rem 0 1rem 2.6rem;
	border-bottom: 1px dashed var(--sm-line);
}
.checklist li:first-child { border-top: 1px dashed var(--sm-line); }
.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.2rem;
	width: 20px;
	height: 20px;
	border-radius: 2px;
	background: var(--sm-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M5 10.5l3.3 3.2L15 7'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}
.checklist strong { font-family: var(--sm-f-head); font-size: 1.18rem; font-weight: 600; display: block; line-height: 1.25; }
.checklist span { color: var(--sm-muted); font-size: 0.95rem; }

/* Latest posts */
.fs-latest-foot { margin-top: 2.2rem; }

/* Stats */
.stats-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 600px) {
	.stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
	.stats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.stat { margin: 0; padding: 0.2rem 0 0.2rem 1.2rem; border-left: 1px solid #C3CDD6; min-width: 0; }
.stat-num {
	display: block;
	font-family: var(--sm-f-head);
	font-size: 4.2rem;
	font-weight: 700;
	line-height: 1;
	color: var(--sm-red);
	margin-bottom: 0.5rem;
}
.stat-label { display: block; color: var(--sm-muted); font-size: 0.97rem; line-height: 1.5; }

/* Icon cards */
.icon-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.4rem;
}
@media (min-width: 600px) {
	.icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
	.icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.icon-card {
	min-width: 0;
	padding: 1.8rem 1.6rem 1.7rem;
	background: var(--sm-white);
	border: 1px solid var(--sm-line);
	border-radius: 4px;
	box-shadow: var(--sm-shadow);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.icon-card:hover { transform: translateY(-4px); border-color: var(--sm-teal); box-shadow: var(--sm-shadow-up); }
.icon-card svg { width: 48px; height: 48px; display: block; margin-bottom: 1.1rem; }
.icon-card h3 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.icon-card p { margin: 0; color: #3A4A5A; font-size: 0.97rem; }
.icon-card-foot { margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	z-index: 2;
	background-color: var(--sm-foot);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 24px 24px, 24px 24px;
	color: #C3CDD8;
	margin-top: 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.2rem;
	padding: 3.5rem 0 2.5rem;
}
@media (min-width: 600px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
}
.footer-col { min-width: 0; }
.site-footer .widget { margin-bottom: 1.6rem; color: #C3CDD8; }
.site-footer .widget-title {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.site-footer .widget-title::before { content: ""; width: 22px; height: 3px; background: var(--sm-red); flex: 0 0 auto; }
.site-footer p, .site-footer .textwidget { color: #C3CDD8; font-size: 0.95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; padding: 0.35rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); }
.site-footer li:last-child { border-bottom: 0; }
.site-footer a { color: #E8EDF1; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--sm-red); }
.site-footer .post-date { color: #8FA0B2; font-size: 0.82rem; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.2rem 0; }
.footer-bottom p { margin: 0; font-size: 0.86rem; color: #8FA0B2; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 60;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: 1.1rem 1.3rem;
	background: var(--sm-head);
	color: #E8EDF1;
	border-top: 3px solid var(--sm-red);
	border-radius: 4px;
	box-shadow: 0 12px 30px rgba(17, 28, 39, 0.35);
}
.cookie-banner p { margin: 0; font-size: 0.92rem; color: #E8EDF1; }
.cookie-banner .btn { align-self: flex-start; }
@media (min-width: 600px) {
	.cookie-banner { flex-direction: row; align-items: center; padding: 1.1rem 1.5rem; }
	.cookie-banner .btn { align-self: center; flex: 0 0 auto; }
}

/* ---------- Small screens ---------- */
@media (max-width: 599px) {
	body::after { display: none; }
	h1, .entry-title { font-size: 2rem; }
	.fs { padding: 3.2rem 0; }
	.fs-hero { padding: 0; }
	.brand-logo, .brand-mark svg { width: 44px; height: 44px; }
	.brand-name { font-size: 1rem; }
	.brand-tagline { font-size: 0.78rem; }
	.stat-num { font-size: 3.4rem; }
	.page-banner { padding: 1.7rem 1.3rem; }
	.icon-card { padding: 1.5rem 1.3rem; }
	.empty-state { padding: 1.5rem 1.2rem; }
	.search-form { flex-direction: column; }
}

.error404 .empty-state { margin-top: 1.4rem; }
.error404 .search-form { margin-top: 1.2rem; }
.archive-desc p { margin: 0; }
