/*
Theme Name: Nine Nine Africa
Theme URI: https://ninenine.africa
Author: Nine Nine Africa
Author URI: https://ninenine.africa
Description: A confident, editorial WordPress theme for Nine Nine Africa — a cultural-intelligence media publication covering culture, commerce, and brand trends across Africa. Fully editable with the free Elementor plugin; branding, colors, and fonts are controlled from Appearance → Customize.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ninenine
Tags: blog, news, one-column, two-columns, right-sidebar, custom-logo, custom-menu, editor-style, featured-images, full-width-template, threaded-comments, translation-ready

Nine Nine Africa WordPress Theme is distributed under the terms of the GNU GPL v2 or later.
*/

/* =====================================================
   0. CSS Custom Property fallbacks
   (Live values are injected by the Customizer via inc/customizer.php
   using wp_add_inline_style — these are just safe fallbacks.)
===================================================== */
:root {
	--ink: #14110F;
	--paper: #EFEAE0;
	--paper-soft: #E3DBC8;
	--coral: #FF4B2B;
	--gold: #F2B705;
	--forest: #16281F;
	--muted: #6B6255;

	--font-display: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-heading: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

	--container: 1280px;
	--gutter: clamp(1rem, 3vw, 2.25rem);
	--radius: 2px;
	--line: rgba(20,17,15,0.14);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
}

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

a { color: inherit; text-decoration: none; }

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

table { width: 100%; border-collapse: collapse; }

figure { margin: 0; }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--paper); clip: auto !important; clip-path: none;
	color: var(--ink); display: block; height: auto; left: 5px; line-height: normal;
	padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999999;
	background: var(--ink); color: var(--paper); padding: 1em 1.5em;
}
.skip-link:focus { left: 0; }

/* =====================================================
   2. Typography — tight, dense, editorial (not a big display-type site)
===================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5em;
	color: var(--ink);
}

h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h3 { font-size: 1.02rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }

p { margin: 0 0 1.2em; }

.eyebrow {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.09em;
	font-weight: 600;
	font-size: 0.7rem;
	color: var(--muted);
	display: inline-block;
	margin-bottom: 0.5em;
}
a.eyebrow:hover { color: var(--coral); }

.eyebrow--accent { color: var(--coral); }

.stat-number {
	font-family: var(--font-display);
	font-weight: 700;
	font-style: normal;
}

blockquote {
	font-family: var(--font-heading);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
	border: none;
	border-top: 3px solid var(--coral);
	border-bottom: 3px solid var(--coral);
	padding: 1.3em 0;
	margin: 2em 0;
	position: relative;
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite {
	display: block;
	font-family: var(--font-display);
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.72rem;
	color: var(--muted);
	margin-top: 0.7em;
}

code, pre {
	font-family: Consolas, Monaco, monospace;
	background: var(--paper-soft);
	border-radius: var(--radius);
}
pre { padding: 1em; overflow-x: auto; }
code { padding: 0.15em 0.4em; }

/* =====================================================
   3. Layout helpers
===================================================== */
.container {
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.alignwide { max-width: calc(var(--container) + 4rem); margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100%; }

.section { padding: clamp(1.75rem, 3.5vw, 2.75rem) 0; }
.section--bordered { border-top: 1px solid var(--line); }
.section--dark { background: var(--forest); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--ink);
}
.section--dark .section-head { border-color: var(--paper); }
.section-head h2 { margin-bottom: 0; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.05rem; }
.section-head .view-all {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 0.72rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--coral);
}
.section-head .view-all:hover { text-decoration: underline; }

.btn {
	display: inline-block;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-weight: 600;
	font-size: 0.78rem;
	padding: 0.75em 1.5em;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}
.btn:hover, .btn:focus { background: var(--coral); border-color: var(--coral); color: var(--paper); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* =====================================================
   4. Site header — light, dense, magazine masthead
===================================================== */
.site-header {
	background: var(--paper);
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	position: relative;
	z-index: 50;
}

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
}

.site-branding { display: flex; align-items: center; gap: 0.75rem; }
.site-branding img { max-height: 34px; width: auto; }
.site-title {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0;
	color: var(--ink);
}
.site-title a { color: inherit; }
.site-description {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 0.72rem;
	color: var(--muted);
	margin: 0.1rem 0 0;
}

.main-navigation { display: none; }
.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.main-navigation a {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 0.76rem;
	letter-spacing: 0.05em;
	font-weight: 600;
	color: var(--ink);
	padding: 0.7em 0;
	border-bottom: 2px solid transparent;
	display: inline-block;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	border-bottom-color: var(--coral);
	color: var(--coral);
}
.main-navigation ul ul {
	display: none;
	position: absolute;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	padding: 0.4rem 0;
	min-width: 190px;
	gap: 0;
	z-index: 10;
}
.main-navigation li { position: relative; }
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { display: flex; }
.main-navigation ul ul a { padding: 0.5em 1.1em; border-bottom: none; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	background: transparent;
	border: 1px solid var(--ink);
	color: var(--ink);
	padding: 0.45em 0.8em;
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	font-weight: 600;
}
.menu-toggle .bar { display: block; width: 16px; height: 2px; background: var(--ink); position: relative; }
.menu-toggle .bar::before, .menu-toggle .bar::after {
	content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink);
}
.menu-toggle .bar::before { top: -5px; }
.menu-toggle .bar::after { top: 5px; }

.main-navigation.toggled {
	display: block;
	position: absolute;
	top: 100%; left: 0; right: 0;
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--ink);
	padding: 0.5rem var(--gutter) 1rem;
}
.main-navigation.toggled ul { flex-direction: column; gap: 0; }
.main-navigation.toggled ul ul { display: block; position: static; border: none; padding-left: 1em; }
.main-navigation.toggled li { border-bottom: 1px solid var(--line); }
.main-navigation.toggled a { display: block; padding: 0.7em 0; }

@media (min-width: 880px) {
	.menu-toggle { display: none; }
	.main-navigation { display: block; padding: 0.35rem 0; }
	.main-navigation.toggled { position: static; padding: 0.35rem 0; border: none; background: transparent; }
}

/* =====================================================
   5. Homepage — quick-hits strip + hero duo (feature + trending)
===================================================== */
.quickhits {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	padding: 1.25rem 0;
}
@media (min-width: 620px) { .quickhits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .quickhits { grid-template-columns: repeat(4, 1fr); } }

.quickhits__item {
	padding-left: 1.1rem;
	border-left: 1px solid var(--line);
}
.quickhits__item:first-child { border-left: none; padding-left: 0; }
@media (max-width: 999px) {
	.quickhits__item { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
	.quickhits__item:first-child { border-top: none; padding-top: 0; }
}
.quickhits__item h3 { font-size: 0.95rem; margin-bottom: 0.45em; }
.quickhits__item h3 a:hover { color: var(--coral); }
.quickhits__byline {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 0.66rem;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.hero-duo {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 2rem 0 2.75rem;
	position: relative;
}
.hero-duo::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 3.5rem;
	height: 3px;
	background: var(--coral);
}
@media (min-width: 960px) {
	.hero-duo { grid-template-columns: 1.8fr 1fr; gap: 3.5rem; }
}

.hero-feature__kicker {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 700;
	font-size: 0.72rem;
	color: var(--coral);
	margin: 0 0 0.9rem;
}

.hero-feature__media {
	position: relative;
	display: block;
	aspect-ratio: 16/9;
	overflow: hidden;
	background: var(--paper-soft);
	margin-bottom: 1.6rem;
	box-shadow: 0 40px 70px -32px rgba(20,17,15,0.45);
}
.hero-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.hero-feature__media:hover img { transform: scale(1.045); }
.hero-feature__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,17,15,0) 38%, rgba(20,17,15,0.55) 75%, rgba(20,17,15,0.85) 100%);
	pointer-events: none;
}
.hero-feature__tag {
	position: absolute;
	left: 1.1rem;
	bottom: 1.1rem;
	z-index: 2;
	display: inline-block;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	font-size: 0.72rem;
	color: var(--paper);
	background: var(--coral);
	padding: 0.45em 0.85em;
}
.hero-feature__mark {
	position: absolute;
	top: 1.1rem;
	right: 1.1rem;
	z-index: 2;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(20,17,15,0.55);
	border: 1px solid rgba(239,234,224,0.4);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	color: var(--gold);
}

.hero-feature__body { position: relative; padding-left: 1.1rem; border-left: 3px solid var(--coral); }
.hero-feature h1 {
	font-size: clamp(1.9rem, 4vw, 3.1rem);
	letter-spacing: -0.01em;
	line-height: 1.08;
	margin-bottom: 0.4em;
}
.hero-feature h1 a:hover { color: var(--coral); }
.hero-feature__excerpt { color: var(--muted); font-size: 1.02rem; max-width: 46em; }
.hero-feature__meta {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	color: var(--muted);
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.btn--arrow span { display: inline-block; transition: transform 0.15s ease; margin-left: 0.5em; }
.btn--arrow:hover span { transform: translateX(4px); }

.trending-panel h2 {
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 0.5rem;
	margin-bottom: 0.25rem;
	font-size: 1.15rem;
}

/* =====================================================
   6. Cards / grids — flat, dense, hairline dividers (no card "boxes")
===================================================== */
.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem 1.5rem;
}
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-soft); margin-bottom: 0.8rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; }
.card__cat {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	font-weight: 600;
	color: var(--muted);
	margin-bottom: 0.45em;
}
.card__cat:hover { color: var(--coral); }
.card__title { font-size: 1rem; margin-bottom: 0.4em; }
.card__title a:hover { color: var(--coral); }
.card__excerpt { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.8em; flex: 1; }
.card__meta {
	font-size: 0.72rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding-top: 0.6em;
	border-top: 1px solid var(--line);
}
.card__meta img { width: 18px; height: 18px; border-radius: 50%; }

/* Dense text-only row list (Trending, related sidebars) */
.row-list { list-style: none; margin: 0; padding: 0; counter-reset: rowlist; }
.row-list li {
	counter-increment: rowlist;
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
}
.section--dark .row-list li { border-bottom-color: rgba(239,234,224,0.15); }
.row-list li::before {
	content: counter(rowlist, decimal-leading-zero);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--coral);
	line-height: 1.5;
	min-width: 2ch;
}
.row-list .row-title { font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; display: block; }
.row-list .row-title:hover { color: var(--coral); }
.row-list .row-meta { font-size: 0.7rem; color: var(--muted); }
.section--dark .row-list .row-meta { color: var(--paper-soft); }

/* =====================================================
   7. Pillar sections (homepage)
===================================================== */
.pillar-section { border-top: 1px solid var(--line); }

/* =====================================================
   8. Newsletter block — slim bar, not a big slab
===================================================== */
.newsletter {
	background: var(--ink);
	color: var(--paper);
	padding: 1.5rem 0;
}
.newsletter .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.newsletter h2 { color: var(--paper); margin: 0; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.03em; }
.newsletter p { color: var(--paper-soft); margin: 0.2em 0 0; font-size: 0.85rem; }
.newsletter__embed { flex: 1; max-width: 380px; min-width: 240px; }
.newsletter__embed input[type="email"] {
	padding: 0.65em 0.9em; border: 1px solid var(--paper); background: transparent; color: var(--paper); width: 100%;
}

/* =====================================================
   9. Single post
===================================================== */
.single-post-header { padding: clamp(1.5rem, 3vw, 2.25rem) 0 1.25rem; border-bottom: 1px solid var(--line); }
.single-post-header .container { max-width: 800px; }
.single-post-thumb { max-width: var(--container); margin: 1.75rem auto 2rem; padding: 0 var(--gutter); }
.single-post-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.single-content-wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.entry-content { font-size: 1.05rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; }
.entry-content img { margin: 1.4em 0; }
.entry-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.entry-content figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.5em; }

.entry-tags { margin: 2rem 0; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5em; }
.entry-tags a {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 0.68rem;
	letter-spacing: 0.05em;
	border: 1px solid var(--line);
	padding: 0.4em 0.8em;
}
.entry-tags a:hover { border-color: var(--coral); color: var(--coral); }

.author-box {
	display: flex;
	gap: 1.1rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 1.4rem 0;
	margin: 2rem 0;
}
.author-box img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.author-box .author-name { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.25em; font-size: 0.95rem; }
.author-box .author-bio { font-size: 0.88rem; color: var(--muted); margin: 0; }

.related-posts { border-top: 1px solid var(--ink); }

/* =====================================================
   10. Archive / search
===================================================== */
.archive-header { padding: 1.75rem 0 1rem; border-bottom: 2px solid var(--ink); margin-bottom: 1.75rem; }
.archive-description { color: var(--muted); max-width: 640px; }

/* =====================================================
   11. Pagination / comments
===================================================== */
.pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2.5rem 0; font-family: var(--font-display); }
.pagination .page-numbers {
	padding: 0.55em 0.9em; border: 1px solid var(--line); font-weight: 600; font-size: 0.8rem;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.comments-area { max-width: 720px; margin: 2.5rem auto 0; padding: 0 var(--gutter); }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; padding-left: 2rem; }
.comment-body { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.comment-author { font-weight: 700; font-family: var(--font-heading); }
.comment-metadata { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.5em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: 0.65em; border: 1px solid var(--line); background: var(--paper); margin-bottom: 1em;
}

/* =====================================================
   12. Footer
===================================================== */
.site-footer { background: var(--forest); color: var(--paper-soft); }

.footer-follow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1.5rem 0;
}
.footer-follow__label {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--paper);
}

.footer-widgets {
	padding: 1.75rem 0 2rem;
	border-top: 1px solid rgba(239,234,224,0.15);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 620px) { .footer-widgets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-widgets { grid-template-columns: repeat(4, 1fr) 1.3fr; } }
.footer-widgets__col--newsletter { grid-column: 1 / -1; }
@media (min-width: 1000px) { .footer-widgets__col--newsletter { grid-column: auto; } }
.footer-widgets .widget-title {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 0.8rem;
	color: var(--gold);
	margin-bottom: 0.9em;
}
.footer-widgets ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets li { margin-bottom: 0.55em; }
.footer-widgets a:hover { color: var(--coral); }
.footer-widgets .newsletter__embed { max-width: none; }

.social-links { display: flex; gap: 0.8rem; list-style: none; padding: 0; margin: 0; }
.social-links a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border: 1px solid var(--paper-soft); border-radius: 50%; font-size: 0.8rem;
}
.social-links a:hover { border-color: var(--coral); color: var(--coral); }

.footer-legal {
	border-top: 1px solid rgba(239,234,224,0.15);
	padding: 1.25rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.footer-nav a { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--paper-soft); }
.footer-nav a:hover { color: var(--coral); }

.site-info { font-size: 0.78rem; }
.site-info .agency-line { display: block; opacity: 0.6; font-size: 0.72rem; margin-top: 0.2em; }

/* =====================================================
   13. Misc / widgets / forms
===================================================== */
.widget { margin-bottom: 1.75rem; }
.widget:last-child { margin-bottom: 0; }
.widget select, .widget input { width: 100%; padding: 0.5em; }

.sidebar .widget { border: 1px solid var(--line); padding: 1.25rem; }

.search-form { display: flex; gap: 0.5em; }
.search-form input[type="search"] { flex: 1; padding: 0.6em; border: 1px solid var(--ink); background: var(--paper); }
.search-form button { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 0 1.1em; }

.wp-block-gallery, .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; }

.error-404 { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.error-404 .stat-number { font-size: clamp(3.5rem, 12vw, 7rem); color: var(--coral); line-height: 1; }

/* =====================================================
   14. Elementor compatibility
===================================================== */
.elementor-page .site-content,
.elementor-canvas-page .site-main { padding: 0; }
