/*
Theme Name: STAMP Magazine
Theme URI: https://stampmag.fr/
Author: STAMPMAG
Description: Thème magazine sombre pour STAMP — Sport, Technologie, Art, Mode, Paris / People. Chaque rubrique a sa couleur ; vos articles, images et catégories existants sont repris automatiquement.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stamp
Tags: blog, news, dark, custom-logo, custom-menu, featured-images, two-columns, grid-layout
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--bg: #0a0c0f;
	--bg-2: #111419;
	--bg-3: #181c22;
	--line: #262b33;
	--line-strong: #3a404a;
	--text: #f3f3f1;
	--text-2: #d4d6da;
	--muted: #a3a9b2;

	--c-sport: #7be23a;
	--c-tech: #1fc8e8;
	--c-art: #d84bea;
	--c-mode: #f2416f;
	--c-paris: #f2b21c;
	--c-default: #f3f3f1;
	--c: var(--c-default);

	--f-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
	--f-ui: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;

	--wrap: 1440px;
	--gutter: clamp(16px, 4vw, 56px);
	--gap: 18px;
	--radius: 0px;
	--header-h: 104px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

.c-sport { --c: var(--c-sport); }
.c-tech  { --c: var(--c-tech); }
.c-art   { --c: var(--c-art); }
.c-mode  { --c: var(--c-mode); }
.c-paris { --c: var(--c-paris); }

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: var(--c); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-head);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 .5em;
	letter-spacing: -.005em;
}

p { margin: 0 0 1em; }

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

:focus-visible { outline: 2px solid var(--c, #fff); outline-offset: 3px; }

::selection { background: var(--c-mode); color: #0a0c0f; }

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

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; color: #000; clip: auto !important; clip-path: none;
	display: block; height: auto; width: auto; left: 8px; top: 8px;
	padding: 12px 18px; z-index: 100000; font-weight: 600;
}

.skip-link { position: absolute; }

/* ==========================================================================
   3. Small UI pieces: labels, badges, "read more"
   ========================================================================== */
.label {
	display: inline-block;
	font-family: var(--f-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--c);
	margin-bottom: 6px;
}
a.label:hover { color: var(--text); }

.badge {
	display: inline-block;
	background: var(--c);
	color: #0a0c0f;
	font-family: var(--f-ui);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 5px 8px 4px;
}
a.badge:hover { color: #0a0c0f; filter: brightness(1.1); }

.more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--f-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text);
}
.more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
a:hover .more svg, .more:hover svg { transform: translateX(4px); }

.media {
	position: relative;
	overflow: hidden;
	background: var(--bg-3);
}
.media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--ease);
}
a:hover .media img, .media:hover img { transform: scale(1.04); }

.media--ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-3);
}
.media--ph span {
	font-family: var(--f-head);
	font-weight: 900;
	font-size: 28px;
	color: var(--line-strong);
	letter-spacing: .04em;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0 0 24px;
}
.section-title h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 38px);
	white-space: nowrap;
}
.section-title .rule { flex: 1; height: 1px; background: var(--line-strong); }
.section-title .more { white-space: nowrap; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: rgba(10, 12, 15, .94);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 40px;
	min-height: var(--header-h);
}

.brand { display: flex; align-items: center; }
.brand img, .brand .custom-logo { width: auto; max-height: 92px; max-width: 220px; }
.brand a { display: block; }

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 48px;
	justify-content: center;
}
.main-nav li { position: relative; }
.main-nav a {
	display: inline-block;
	padding: 10px 0 9px;
	font-family: var(--f-body);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--text);
	position: relative;
}
.main-nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: var(--c);
	transition: transform .25s var(--ease);
	transform-origin: left;
}
.main-nav a:hover { color: var(--c); }
.main-nav .current-menu-item > a,
.main-nav .current-cat > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-cat-ancestor > a { color: var(--c); }
.main-nav .sub-menu, .main-nav .children { display: none; }

.header-tools { display: flex; align-items: center; gap: 10px; justify-self: end; grid-column: 3; }

.icon-btn {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 0; color: var(--text);
	cursor: pointer; border-radius: 50%;
	transition: background .2s var(--ease);
}
.icon-btn:hover { background: var(--bg-3); }
.icon-btn svg { width: 24px; height: 24px; }

.tagline {
	margin: 0 0 0 18px;
	padding-left: 22px;
	border-left: 1px solid var(--line-strong);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--text-2);
	max-width: 190px;
}

/* Search panel */
.search-panel {
	border-top: 1px solid var(--line);
	background: var(--bg-2);
	padding: 22px 0;
}
.search-panel[hidden] { display: none; }

.search-form { display: flex; gap: 0; max-width: 780px; margin: 0 auto; }
.search-form label { flex: 1; }
.search-field {
	width: 100%;
	height: 56px;
	padding: 0 20px;
	background: var(--bg);
	border: 1px solid var(--line-strong);
	border-right: 0;
	color: var(--text);
	font-size: 18px;
	border-radius: 0;
	-webkit-appearance: none;
}
.search-field::placeholder { color: var(--muted); }
.search-field:focus { outline: none; border-color: var(--text); }
.search-submit {
	height: 56px;
	padding: 0 28px;
	background: var(--text);
	color: var(--bg);
	border: 0;
	font-family: var(--f-body);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}
.search-submit:hover { background: var(--c-paris); }

/* Drawer */
.drawer-backdrop {
	position: fixed; inset: 0; z-index: 90;
	background: rgba(0, 0, 0, .6);
	opacity: 0; transition: opacity .3s var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; }
.drawer-backdrop[hidden] { display: none; }

.drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
	width: min(440px, 100%);
	background: var(--bg-2);
	border-left: 1px solid var(--line);
	padding: 24px 32px 40px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .35s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer[hidden] { display: none; }

.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer-head .drawer-title {
	font-family: var(--f-ui); font-weight: 700; font-size: 14px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

.drawer-cats { list-style: none; margin: 0 0 32px; padding: 0; }
.drawer-cats > li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.drawer-cats > li > a {
	display: flex; align-items: center; justify-content: space-between;
	font-family: var(--f-ui); font-weight: 700; font-size: 30px;
	text-transform: uppercase; letter-spacing: .02em; color: var(--c);
}
.drawer-cats > li > a:hover { color: var(--text); }
.drawer-cats > li > a svg { width: 22px; height: 22px; flex: none; }
.drawer-cats ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.drawer-cats ul a { font-size: 15px; color: var(--text-2); }
.drawer-cats ul a:hover { color: var(--c); }

.drawer .search-form { margin: 0 0 32px; }
.drawer .search-field { height: 48px; font-size: 16px; }
.drawer .search-submit { height: 48px; padding: 0 18px; }

.drawer-pages { list-style: none; margin: 0 0 28px; padding: 0; }
.drawer-pages a { display: block; padding: 6px 0; color: var(--text-2); }

/* ==========================================================================
   5. Social links
   ========================================================================== */
.socials { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials a {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-strong);
	color: var(--text);
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { border-color: var(--text); color: var(--c-paris); }
.socials svg { width: 18px; height: 18px; }

/* ==========================================================================
   6. Home — hero
   ========================================================================== */
.home-top { padding: 14px 0 0; }

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--gap);
}

.hero {
	position: relative;
	display: block;
	min-height: 520px;
	overflow: hidden;
	background: var(--bg-3);
	color: var(--text);
}
.hero .media { position: absolute; inset: 0; }
.hero::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(5, 7, 10, .88) 0%, rgba(5, 7, 10, .55) 38%, rgba(5, 7, 10, 0) 70%),
	            linear-gradient(0deg, rgba(5, 7, 10, .6) 0%, rgba(5, 7, 10, 0) 45%);
	pointer-events: none;
}
.hero-body {
	position: absolute;
	z-index: 2;
	left: clamp(20px, 3vw, 40px);
	bottom: clamp(24px, 4vw, 52px);
	width: min(560px, calc(100% - 40px));
}
.hero-body .badge { margin-bottom: 18px; }
.hero h1, .hero h2 {
	font-size: clamp(32px, 3.9vw, 58px);
	line-height: 1.04;
	margin: 0 0 18px;
	color: #fff;
}
.hero p {
	font-size: 18px;
	color: #e6e7ea;
	margin: 0 0 22px;
	max-width: 470px;
}
.hero:hover { color: var(--text); }
.hero:hover h1, .hero:hover h2 { color: #fff; }

.side-list { display: flex; flex-direction: column; }
.side-item {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 24px;
	padding: 0 0 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--line);
	color: var(--text);
}
.side-item:last-child { border-bottom: 0; margin-bottom: 0; }
.side-item .media { aspect-ratio: 4 / 3; }
.side-item h3 { font-size: 19px; line-height: 1.2; margin: 0 0 6px; }
.side-item p { font-size: 15px; color: var(--text-2); line-height: 1.4; margin: 0 0 10px; }
.side-item:hover { color: var(--text); }
.side-item:hover h3 { color: var(--c); }

/* ==========================================================================
   7. Home — category tiles
   ========================================================================== */
.tiles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--gap);
	padding: 20px 0 0;
	border-top: 1px solid var(--line);
	margin-top: 18px;
}
.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 210px;
	padding: 16px 16px 14px;
	border: 1px solid var(--c);
	overflow: hidden;
	color: var(--text);
	isolation: isolate;
}
.tile .media { position: absolute; inset: 0; z-index: -2; background: #000; }
.tile .media img { filter: grayscale(1) contrast(1.15) brightness(.9); }
.tile::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: var(--c);
	mix-blend-mode: multiply;
	opacity: .85;
}
.tile::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(0deg, rgba(5, 7, 10, .92) 0%, rgba(5, 7, 10, .55) 45%, rgba(5, 7, 10, 0) 80%);
}
.tile-name {
	font-family: var(--f-ui);
	font-weight: 700;
	font-size: clamp(22px, 1.9vw, 28px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .01em;
	color: var(--c);
	margin: 0 0 8px;
}
.tile-desc { font-size: 15px; line-height: 1.35; margin: 0; padding-right: 34px; color: #f1f1f1; }
.tile-arrow { position: absolute; right: 14px; bottom: 14px; color: var(--c); }
.tile-arrow svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.tile:hover { color: var(--text); }
.tile:hover .tile-arrow svg { transform: translateX(4px); }

/* ==========================================================================
   8. Cards
   ========================================================================== */
.card { display: block; color: var(--text); min-width: 0; }
.card .media { aspect-ratio: 16 / 10; }
.card-body { padding-top: 0; }
.card .badge { position: relative; margin-top: -11px; margin-bottom: 10px; z-index: 2; margin-left: 0; }
.card h2, .card h3 { font-size: 19px; line-height: 1.22; margin: 0; }
.grid-3 .card h2 { font-size: 23px; }
.card:hover { color: var(--text); }
.card:hover h2, .card:hover h3 { color: var(--c); }
.card .card-meta { margin-top: 8px; font-size: 13px; color: var(--muted); }
.card p.card-excerpt { margin: 8px 0 0; font-size: 15px; color: var(--text-2); line-height: 1.45; }

.latest { padding: 52px 0 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }

/* Overlay card (big) */
.card-over {
	position: relative;
	display: block;
	overflow: hidden;
	color: var(--text);
	min-height: 100%;
}
.card-over .media { position: absolute; inset: 0; aspect-ratio: auto; }
.card-over::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(5, 7, 10, .9) 0%, rgba(5, 7, 10, .35) 50%, rgba(5, 7, 10, 0) 75%);
}
.card-over .card-body { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; }
.card-over .badge { margin: 0 0 14px; }
.card-over h2, .card-over h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.08; color: #fff; margin: 0 0 10px; }
.feature-row .card-over h2 { font-size: clamp(30px, 3.8vw, 56px); max-width: 900px; }
.card-over p { font-size: 16px; color: #e3e4e7; margin: 0; max-width: 560px; }
.card-over:hover h2, .card-over:hover h3 { color: #fff; }

/* ==========================================================================
   9. Home — category sections
   ========================================================================== */
.cat-section { padding: 56px 0 8px; }
.cat-head {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}
.cat-head h2 {
	margin: 0;
	font-family: var(--f-ui);
	font-weight: 700;
	font-size: clamp(34px, 4vw, 54px);
	line-height: .9;
	text-transform: uppercase;
	color: var(--c);
	letter-spacing: .005em;
}
.cat-head .rule { flex: 1 1 80px; height: 3px; background: var(--c); margin-bottom: 8px; min-width: 40px; }
.cat-head .more { margin-bottom: 4px; }
.cat-head .cat-sub { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--line-strong);
	font-size: 14px;
	color: var(--text-2);
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover, .chip.is-active { border-color: var(--c); color: var(--c); }

.cat-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto;
	gap: 26px 22px;
}
.cat-grid > .card-over { grid-row: span 2; min-height: 520px; }
.cat-grid--short { grid-template-rows: auto; }
.cat-grid--short > .card-over { grid-row: auto; min-height: 440px; }

/* Instagram band */
.band {
	margin: 72px 0 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--bg-2);
}
.band-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-top: 56px;
	padding-bottom: 56px;
}
.band h2 { font-size: clamp(30px, 3.4vw, 48px); margin: 0; }
.band h2 span { color: var(--c-mode); }
.band p { color: var(--text-2); margin: 10px 0 0; font-size: 18px; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--text);
	background: var(--text);
	color: var(--bg);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: transparent; color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   10. Archive / search
   ========================================================================== */
.archive-head {
	padding-top: 56px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 40px;
	position: relative;
}
.archive-head::before {
	content: "";
	position: absolute; left: var(--gutter); top: 0;
	width: 72px; height: 4px;
	background: var(--c);
}
.archive-kicker {
	font-family: var(--f-ui); font-weight: 700; font-size: 15px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
	margin: 0 0 10px;
}
.archive-title {
	font-family: var(--f-ui);
	font-weight: 700;
	font-size: clamp(48px, 8vw, 110px);
	line-height: .9;
	text-transform: uppercase;
	color: var(--c);
	margin: 0 0 18px;
}
.archive-title.is-serif { font-family: var(--f-head); text-transform: none; font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; color: var(--text); }
.archive-desc { max-width: 720px; font-size: 19px; color: var(--text-2); }
.archive-desc p:last-child { margin: 0; }
.archive-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.feature-row { margin-bottom: 48px; }
.feature-row .card-over { min-height: 560px; }

.empty { padding: 60px 0 100px; max-width: 640px; }
.empty h2 { font-size: 34px; }
.empty .search-form { margin: 24px 0 0; }

/* Pagination */
.pagination, .nav-links { margin: 56px 0 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers {
	min-width: 46px; height: 46px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-strong);
	font-weight: 600; font-size: 15px; color: var(--text);
}
.page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
a.page-numbers:hover { border-color: var(--text); color: var(--text); }
.page-numbers.dots { border: 0; }

/* ==========================================================================
   11. Single article
   ========================================================================== */
.single-head { padding: 48px 0 32px; max-width: 980px; }
.crumbs {
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
	font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
	margin-bottom: 26px;
}
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: .5; }

.single-title {
	font-size: clamp(36px, 5.2vw, 72px);
	line-height: 1.04;
	margin: 18px 0 22px;
}
.single-standfirst { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--text-2); max-width: 820px; margin: 0 0 26px; }

.single-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
	font-size: 14px; color: var(--muted);
	padding-top: 20px; border-top: 1px solid var(--line);
}
.single-meta strong { color: var(--text); font-weight: 600; }
.single-meta .dot { width: 4px; height: 4px; background: var(--c); border-radius: 50%; }

.single-cover { margin: 0 0 48px; }
.single-cover .media { max-height: 78vh; aspect-ratio: 16 / 9; }
.single-cover figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; }

.single-layout {
	display: grid;
	grid-template-columns: 72px minmax(0, 760px) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.share {
	position: sticky;
	top: calc(var(--header-h) + 32px + var(--wp-admin--admin-bar--height, 0px));
	display: flex; flex-direction: column; gap: 8px;
}
.share-label {
	font-family: var(--f-ui); font-weight: 700; font-size: 12px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
	margin-bottom: 4px;
}
.share a, .share button {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-strong); background: transparent; color: var(--text);
	cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.share a:hover, .share button:hover { border-color: var(--c); color: var(--c); }
.share svg { width: 18px; height: 18px; }
.share .is-copied { border-color: var(--c); color: var(--c); }

.single-aside { position: sticky; top: calc(var(--header-h) + 32px + var(--wp-admin--admin-bar--height, 0px)); }
.single-aside h2 {
	font-family: var(--f-ui); font-weight: 700; font-size: 15px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
	margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.mini:last-child { border-bottom: 0; }
.mini .media { aspect-ratio: 1 / 1; }
.mini h3 { font-size: 16px; line-height: 1.25; margin: 2px 0 0; }
.mini .label { font-size: 11.5px; margin: 0; }
.mini:hover { color: var(--text); }
.mini:hover h3 { color: var(--c); }

/* Entry content typography */
.entry-content {
	font-size: 19px;
	line-height: 1.75;
	color: #e7e8ea;
}
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: clamp(28px, 2.6vw, 36px); margin-top: 1.6em; color: var(--text); }
.entry-content h3 { font-size: clamp(23px, 2vw, 28px); margin-top: 1.5em; color: var(--text); }
.entry-content h4 { font-size: 21px; margin-top: 1.4em; }
.entry-content h5, .entry-content h6 { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; }
.entry-content a { color: var(--c); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--text); }
.entry-content strong, .entry-content b { color: var(--text); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--c); }
.entry-content hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.4em 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-caption-text, .wp-element-caption {
	font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 10px; text-align: left;
}
.entry-content blockquote, .wp-block-quote {
	margin: 2em 0;
	padding: 0;
	border: 0;
	font-family: var(--f-head);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.32;
	color: var(--text);
}
.entry-content blockquote::before {
	content: "\201C";
	display: block;
	font-size: 2.6em;
	line-height: .6;
	color: var(--c);
	font-style: normal;
	margin-bottom: 10px;
}
.entry-content blockquote cite, .wp-block-quote cite {
	display: block; margin-top: 14px; font-family: var(--f-body); font-style: normal;
	font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.wp-block-pullquote { border-top: 3px solid var(--c); border-bottom: 3px solid var(--c); padding: 1.5em 0; text-align: left; }
.wp-block-pullquote blockquote::before { display: none; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { color: var(--text); font-weight: 600; }

.entry-content pre, .entry-content code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; background: var(--bg-3); }
.entry-content pre { padding: 18px; overflow-x: auto; }
.entry-content code { padding: 2px 6px; }

.entry-content iframe, .entry-content embed, .entry-content video { max-width: 100%; }
.entry-content .wp-block-embed__wrapper iframe { width: 100%; }

.entry-content .alignwide { margin-left: -120px; margin-right: -120px; max-width: calc(100% + 240px); }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }

.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption img { margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.wp-block-gallery { gap: 10px; }
.entry-content::after { content: ""; display: table; clear: both; }

.wp-block-button__link, .entry-content .wp-block-button__link {
	background: var(--text); color: var(--bg); border-radius: 0; text-decoration: none;
	font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
}
.wp-block-separator { border-color: var(--line-strong); }
.has-text-align-center { text-align: center; }

.page-links { margin: 32px 0; display: flex; gap: 6px; align-items: center; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags .chip::before { content: "#"; opacity: .6; }

.author-box {
	display: flex; gap: 20px; align-items: center;
	margin-top: 32px; padding: 24px; background: var(--bg-2); border: 1px solid var(--line);
}
.author-box img { border-radius: 50%; width: 64px; height: 64px; }
.author-box h2 { font-size: 20px; margin: 0 0 4px; }
.author-box p { margin: 0; font-size: 15px; color: var(--text-2); }

.related { padding: 72px 0 24px; margin-top: 72px; border-top: 1px solid var(--line); }

/* Comments */
.comments { max-width: 760px; margin: 64px 0 0; }
.comments h2 { font-size: 28px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list ol { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-author { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.comment-content { font-size: 16px; color: var(--text-2); }
.reply a { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.comment-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--text); border-radius: 0;
}
.comment-form .submit { background: var(--text); color: var(--bg); border: 0; padding: 14px 28px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; cursor: pointer; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; }

/* Page */
.page-head { padding: 56px 0 32px; max-width: 980px; }
.page-head h1 { font-size: clamp(38px, 5vw, 68px); margin: 0; }
.page-body { max-width: 860px; padding-bottom: 80px; }

/* 404 */
.notfound { padding-top: 80px; padding-bottom: 40px; }
.notfound .big {
	font-family: var(--f-ui); font-weight: 700; font-size: clamp(120px, 22vw, 300px);
	line-height: .8; color: var(--c-mode); margin: 0 0 24px;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: #07090b; }
.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
	padding: 64px 0 48px;
}
.footer-brand img { max-height: 96px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-2); max-width: 360px; font-size: 16px; }
.footer-col h2 {
	font-family: var(--f-ui); font-weight: 700; font-size: 14px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
	margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 16px; }
.footer-col .cat-link { font-family: var(--f-ui); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--c); letter-spacing: .02em; }
.footer-col .cat-link:hover { color: var(--text); }
.footer-col .socials { margin-top: 18px; }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	padding: 22px 0 32px; border-top: 1px solid var(--line);
	font-size: 13px; color: var(--muted);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.footer-bottom a:hover { color: var(--text); }

.footer-stripe { display: grid; grid-template-columns: repeat(5, 1fr); height: 4px; }
.footer-stripe span { background: var(--c); }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.main-nav ul { gap: 8px 30px; }
	.tagline { display: none; }
	.grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid-5 > :nth-child(n+4) { display: none; }
	.single-layout { grid-template-columns: 56px minmax(0, 1fr) 300px; gap: 36px; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}

@media (max-width: 1080px) {
	:root { --header-h: 80px; }
	.header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
	.main-nav { display: none; }
	.brand img, .brand .custom-logo { max-height: 64px; max-width: 160px; }

	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.side-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
	.side-item { grid-template-columns: minmax(0, 1fr); gap: 14px; border-bottom: 0; margin: 0; padding: 0; }

	.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid > .card-over { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }

	.single-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.share { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; order: 2; }
	.share-label { margin: 0 8px 0 0; }
	.single-aside { position: static; order: 3; }
	.footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.hero { min-height: 480px; }
	.hero::after { background: linear-gradient(0deg, rgba(5, 7, 10, .95) 0%, rgba(5, 7, 10, .6) 50%, rgba(5, 7, 10, .1) 100%); }
	.hero p { font-size: 16px; }
	.side-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.side-item { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
	.side-item p { display: none; }

	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tile { min-height: 170px; padding: 12px; }
	.tile-desc { font-size: 13.5px; padding-right: 22px; }
	.tile-name { font-size: 20px; overflow-wrap: anywhere; }
	.tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }

	.grid-5, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.grid-5 > :nth-child(n+4) { display: block; }
	.grid-5 > :nth-child(n+5) { display: none; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.card h3 { font-size: 17px; }
	.cat-grid { gap: 22px 14px; }
	.cat-grid > .card-over { min-height: 380px; }
	.card-over .card-body { left: 18px; right: 18px; bottom: 18px; }
	.card-over p { display: none; }

	.section-title { gap: 14px; }
	.section-title .rule { display: none; }
	.section-title { justify-content: space-between; }

	.band-inner { padding-top: 40px; padding-bottom: 40px; }
	.feature-row .card-over { min-height: 420px; }

	.footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.entry-content { font-size: 18px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
	.gallery, .gallery-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
	.grid-5, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
	.grid-5 > :nth-child(n+4) { display: block; }
	.cat-grid { grid-template-columns: minmax(0, 1fr); }
	.search-submit { padding: 0 16px; }
}

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