/*
Theme Name: Guide du Bricolage
Description: Thème enfant GeneratePress de guidedubricolage.fr : avis sur les outils, comparatifs et guides de bricolage. Concept « Atelier » : fond béton, en-tête blanc, bandeau encre, jaune chantier, Archivo hébergée (une seule police variable, graisse et chasse), thème jour et thème nuit (bouton Nuit / Jour), motif de page d'accueil (quatre questions, rayons, comparatifs, bandeau encre, critères), peau des blocs Fox Blocks et Fox Affiliate. Logo : clé à molette sur carré jaune et nom du site. Socle Fox embarqué (fox-socle/). Présentation seulement.
Author: Fox
Template: generatepress
Version: 1.1.0
Fox Socle: 1.6.2
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guidedubricolage-theme
*/

/*
 * Colours: the GeneratePress palette of inc/site.php, through its variables
 * (--contrast ink, --contrast-2 ink 2, --contrast-3 line, --base sunken,
 * --base-2 concrete, --base-3 white surface, --accent safety yellow,
 * --on-accent ink). The yellow is a background only, never a text colour on
 * the light page (it is one on the ink band, where it passes).
 * --gdb-band / --gdb-band-text: the ink band (strap, dark home section),
 * ink by day, a raised dark grey by night, light text on it.
 * The night theme redefines them twice below: under prefers-color-scheme
 * (unless the visitor chose day) and under html[data-theme="night"]. Deep ink
 * page, light text, light rules; the yellow stays the accent, ink on it.
 * --gdb-day / --gdb-night switch what only one theme shows (.gdb-day,
 * .gdb-night: the two logos, the switch label).
 * One font, Archivo: --gdb-narrow sets the narrow cut of the labels.
 * Floor: 12 px for any text. No backslash escape anywhere in this file.
 */

:root {
	--gdb-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gdb-narrow: 75%;
	--gdb-rule: 1px solid var(--contrast, #1b1b1b);
	--gdb-rule-bold: 3px solid var(--contrast, #1b1b1b);
	--gdb-line: 1px solid var(--contrast-3, #dad8d2);
	--gdb-radius: 6px;
	--gdb-radius-lg: 10px;
	--gdb-band: #1b1b1b;
	--gdb-band-text: #f2f1ee;
	--gdb-band-line: #3a3936;
	--gdb-gutter: 40px;
	--gdb-plate: var(--base-3, #fff);
	--gdb-photo: none;
	--gdb-day: inline;
	--gdb-night: none;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="day"]) {
		--contrast: #f2f1ee;
		--contrast-2: #bfbcb5;
		--contrast-3: #3a3936;
		--base: #262624;
		--base-2: #121211;
		--base-3: #1c1c1a;
		--accent: #f5b700;
		--on-accent: #1b1b1b;
		--success: #6fcf8a;
		--warning: #f2b84b;
		--error: #ff8a80;
		--price: #f2f1ee;
		--gdb-plate: #eceae3;
		--gdb-band: #262624;
		--gdb-band-text: #f2f1ee;
		--gdb-band-line: #45433f;
		--gdb-photo: brightness(0.88);
		--gdb-day: none;
		--gdb-night: inline;
		color-scheme: dark;
	}
}

:root[data-theme="night"] {
	--contrast: #f2f1ee;
	--contrast-2: #bfbcb5;
	--contrast-3: #3a3936;
	--base: #262624;
	--base-2: #121211;
	--base-3: #1c1c1a;
	--accent: #f5b700;
	--on-accent: #1b1b1b;
	--success: #6fcf8a;
	--warning: #f2b84b;
	--error: #ff8a80;
	--price: #f2f1ee;
	--gdb-plate: #eceae3;
	--gdb-band: #262624;
	--gdb-band-text: #f2f1ee;
	--gdb-band-line: #45433f;
	--gdb-photo: brightness(0.88);
	--gdb-day: none;
	--gdb-night: inline;
	color-scheme: dark;
}

html .gdb-day { display: var(--gdb-day); }
html .gdb-night { display: var(--gdb-night); }

/* The socle passes the palette and the font to Fox Blocks and Fox Affiliate.
   Kept here, by choice of the skin: small rounded corners, ink strong borders, the
   light plate under product images (white by day, soft paper by night: the
   product photos have a white ground), no plugin shadow. */
body {
	--fxb-border-strong: var(--contrast);
	--fxb-radius: var(--gdb-radius);
	--fxb-radius-sm: 4px;
	--fxb-radius-lg: var(--gdb-radius-lg);
	--fox-radius: var(--gdb-radius);
	--fox-img-bg: var(--gdb-plate);
	--fox-shadow: none;
	background: var(--base-2);
	color: var(--contrast);
	font-family: var(--gdb-font);
	font-size: 17px;
	line-height: 1.6;
}

a {
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.entry-content a {
	text-decoration-color: var(--accent);
}

.entry-content a:hover {
	color: var(--contrast);
	text-decoration-color: var(--contrast);
}

::selection {
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
}

h1, h2, h3, h4 {
	color: var(--contrast);
	font-family: var(--gdb-font);
	font-weight: 800;
	letter-spacing: -0.02em;
}

h1 { font-size: 46px; line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: 32px; line-height: 1.08; }
h3 { font-size: 23px; line-height: 1.15; }

/* ---------- Strap line and header ---------- */

.gdb-strap {
	background: var(--gdb-band);
	color: var(--gdb-band-text);
}

.gdb-strap__in {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 9px var(--gdb-gutter);
	font-size: 13px;
	font-weight: 500;
}

.site-header {
	border-bottom: var(--gdb-line);
}

.inside-header {
	align-items: center;
	padding-top: 18px;
	padding-bottom: 18px;
}

.main-title {
	margin: 0;
	font-size: 0;
	line-height: 1;
}

.main-title a {
	display: inline-flex;
	color: var(--contrast);
	text-decoration: none;
}

.gdb-logo {
	display: block;
	width: auto;
	height: 40px;
	max-width: 100%;
}

.main-navigation,
.main-navigation .main-nav ul li a {
	font-size: 15px;
	font-weight: 700;
}

.main-navigation .main-nav ul li a {
	padding-left: 8px;
	padding-right: 8px;
	line-height: 44px;
}

/* An item that links to an anchor of the home page (« /# », « /#rayons »):
   never marked as the current page. */
.main-navigation .main-nav > ul > li.current-menu-item > a[href*="#"] {
	text-decoration: none;
}

.main-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 6px;
	text-underline-offset: 6px;
}

.main-navigation ul ul {
	border: var(--gdb-line);
	border-radius: var(--gdb-radius);
	box-shadow: none;
}

.main-navigation .main-nav ul ul li a {
	line-height: 1.4;
	padding-top: 10px;
	padding-bottom: 10px;
}

.menu-toggle {
	font-weight: 700;
}

/* The Nuit / Jour switch: hidden until the head script runs (no JavaScript:
   the page follows the system). Square, ink outline, yellow on hover. The
   half-disc is drawn by CSS, decorative. */
.main-navigation .menu-bar-items {
	align-items: center;
	margin-left: 8px;
}

.gdb-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 12px;
	border: 2px solid var(--contrast);
	border-radius: var(--gdb-radius);
	background: transparent;
	color: var(--contrast);
	font-family: var(--gdb-font);
	font-size: 14px;
	font-stretch: var(--gdb-narrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
}

.gdb-js .gdb-toggle { display: inline-flex; }

.gdb-toggle:hover,
.gdb-toggle:focus-visible {
	border-color: var(--contrast);
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
}

/* On a computer the switch is its half-disc only (the label stays for screen
   readers): the logo, seven menu items and the switch hold on one line. */
@media (min-width: 769px) {
	.gdb-toggle {
		justify-content: center;
		width: 40px;
		padding: 0;
	}

	.gdb-toggle .gdb-day,
	.gdb-toggle .gdb-night {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.gdb-toggle__disc {
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

/* ---------- Articles and pages ---------- */

.one-container .site-content {
	padding-top: 40px;
}

.gdb-eyebrow,
.gdb-kicker {
	margin: 0 0 12px;
	font-size: 14px;
	font-stretch: var(--gdb-narrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.gdb-eyebrow a {
	color: var(--contrast);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 4px;
	text-underline-offset: 4px;
}

.entry-header {
	padding-bottom: 18px;
	border-bottom: var(--gdb-rule);
	margin-bottom: 28px;
}

.entry-title {
	font-size: 52px;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.entry-meta {
	margin-top: 14px;
	color: var(--contrast-2);
	font-size: 14px;
	font-stretch: var(--gdb-narrow);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.entry-content > * {
	max-width: 760px;
}

.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > .wp-block-table,
.entry-content > [class*="wp-block-fox"],
.entry-content > [class*="fxb-"],
.entry-content > [class*="fox-"],
.entry-content > [class*="fct-"],
.gdb-home .entry-content > * {
	max-width: none;
}

.entry-content h2 {
	margin-top: 1.8em;
}

.entry-content blockquote {
	border-left: 4px solid var(--accent);
	font-style: normal;
}

.entry-content .wp-block-image figcaption,
.entry-content .wp-caption-text {
	color: var(--contrast-2);
	font-size: 13px;
}

.entry-content table:not([class*="fxb"]):not([class*="fct"]) {
	border-collapse: collapse;
	border-top: var(--gdb-rule-bold);
}

.entry-content table:not([class*="fxb"]):not([class*="fct"]) th,
.entry-content table:not([class*="fxb"]):not([class*="fct"]) td {
	border: 0;
	border-bottom: var(--gdb-rule);
}

/* ---------- Buttons: ink, outline, and the Fox buttons in yellow ---------- */

.wp-block-button__link,
.fxb-smartlink--button,
.fox-showcase__btn,
.fox-hl__btn,
.fct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border: 2px solid var(--contrast);
	border-radius: var(--gdb-radius);
	background: var(--contrast);
	color: var(--base-2);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.entry-content .wp-block-button__link {
	color: var(--base-2);
	text-decoration: none;
}

.entry-content .wp-block-button__link:hover {
	background: var(--contrast-2);
	border-color: var(--contrast-2);
	color: var(--base-2);
}

.entry-content .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--contrast);
}

.entry-content .is-style-outline .wp-block-button__link:hover {
	background: var(--accent);
	border-color: var(--contrast);
	color: var(--on-accent, #1b1b1b);
}

.entry-content .fxb-smartlink--button,
.entry-content .fox-product-link.fox-showcase__btn,
.entry-content .fox-product-link.fox-hl__btn,
.entry-content .fox-product-link.fct-btn {
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
	text-decoration: none;
}

.entry-content .fxb-smartlink--button:hover,
.entry-content .fox-product-link.fox-showcase__btn:hover,
.entry-content .fox-product-link.fox-hl__btn:hover,
.entry-content .fox-product-link.fct-btn:hover {
	background: var(--contrast);
	color: var(--base-2);
}

/* ---------- Fox Blocks and Fox Affiliate skin ---------- */

.entry-content .fxb-key-points-block,
.entry-content .fxb-verdict-box,
.entry-content .fxb-pros-cons__column,
.entry-content .fxb-scores,
.entry-content .fxb-expert-tip,
.entry-content .fxb-lcard,
.entry-content .fox-showcase,
.entry-content .fox-hl__card {
	border: var(--gdb-rule);
	border-radius: var(--gdb-radius-lg);
	box-shadow: none;
}

.entry-content .fxb-key-points-block,
.entry-content .fxb-scores {
	padding: 22px 24px;
	background: var(--base-3);
}

.fxb-key-points__heading,
.fxb-scores__title,
.fxb-ctable__title {
	font-size: 14px;
	font-stretch: var(--gdb-narrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entry-content .fxb-key-points__number {
	border-radius: var(--gdb-radius);
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
	font-weight: 900;
}

.entry-content .fxb-verdict-box {
	border: var(--gdb-rule-bold);
	background: var(--base-3);
}

.entry-content .fxb-verdict-box .fxb-badge,
.entry-content .fxb-badge {
	border-radius: 4px;
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
	font-weight: 700;
}

.entry-content .fxb-expert-tip {
	border-top: 4px solid var(--accent);
	background: var(--base-3);
}

.entry-content .fxb-expert-tip--warning {
	border-top-color: var(--warning, #8a5a00);
}

.entry-content .fxb-expert-tip__title { font-weight: 900; }

.entry-content .fxb-scores [class*="__track"],
.entry-content .fxb-scores [class*="__bar-bg"] {
	border-radius: 0;
	background: var(--base);
}

.entry-content .fxb-scores [class*="__fill"] {
	border-radius: 0;
	background: var(--contrast);
}

.entry-content .fxb-ctable__table,
.entry-content .fct-table {
	border: 0;
	border-top: var(--gdb-rule-bold);
	border-radius: 0;
	background: var(--base-3);
	box-shadow: none;
}

.entry-content .fxb-ctable__table th,
.entry-content .fxb-ctable__table td,
.entry-content .fct-table th,
.entry-content .fct-table td {
	border: 0;
	border-bottom: var(--gdb-rule);
	background: transparent;
	color: var(--contrast);
}

/* Fox Affiliate surfaces the plugin still paints in fixed white or slate:
   back on the palette, so they follow the night theme. */
.entry-content .fct-row:nth-child(even) .fct-td:not(.is-highlighted) {
	background: transparent;
}

.entry-content .fct-row--cta .fct-td,
.fct-card__footer,
.fct-duel__close {
	background: var(--base);
	color: var(--contrast);
}

.fct-duel-input,
.fox-sticky-bar__inner {
	background: var(--base-3);
	color: var(--contrast);
}

.fox-sticky-bar__inner { border: var(--gdb-rule); }
.fox-sticky-bar__img-wrap { background: var(--gdb-plate); }

.fct-check--yes,
.fct-avail--yes,
.fox-box__availability { color: var(--success, #1a6b34); }
.fct-avail,
.fox-box__availability { font-size: 12px; }
.fct-check--no { color: var(--error, #b3261e); }

.fxb-ctable__yes { color: var(--success, #1a6b34); }
.fxb-ctable__no { color: var(--error, #b3261e); }

.entry-content .fxb-faq__item {
	border: 0;
	border-bottom: var(--gdb-rule);
	border-radius: 0;
	background: transparent;
}

.entry-content .fxb-faq__question-text {
	font-size: 19px;
	font-weight: 800;
}

.fxb-lcard__title { font-weight: 900; }
.fxb-lcard__excerpt { color: var(--contrast-2); }

.entry-content .fxb-lcard__cta {
	color: var(--contrast);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 3px;
}

/* ---------- Home page (« Accueil » pattern) ---------- */

/* GeneratePress has no theme.json: WordPress wraps the children of every
   group block in .wp-block-group__inner-container. The home grids and flex
   rows lay out the children themselves, so the wrapper steps aside. */
[class*="gdb-"] > .wp-block-group__inner-container {
	display: contents;
}

.gdb-home .site-content {
	padding-top: 0;
}

.gdb-home .entry-content {
	margin-top: 0;
}

.gdb-home .entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.gdb-section {
	padding: 48px 0 0;
}

.gdb-section > h2,
.gdb-section__head {
	margin: 0 0 24px;
}

.gdb-section__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
}

.gdb-section__head > *,
.gdb-section__head > .wp-block-group__inner-container > * { margin: 0; }

.gdb-section__aside {
	color: var(--contrast-2);
	font-size: 15px;
}

.entry-content .gdb-section h2 {
	margin-top: 0;
	font-size: 32px;
}

/* White panel on the concrete page. */
.gdb-panel {
	padding: 32px;
	border: var(--gdb-line);
	border-radius: var(--gdb-radius-lg);
	background: var(--base-3);
}

/* Hero: the promise on the left, the four questions on the right. */
.gdb-hero {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 48px;
	align-items: center;
	padding: 56px 0 8px;
}

.gdb-hero > *,
.gdb-hero > .wp-block-group__inner-container > * { margin: 0; }

.gdb-hero__main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.gdb-hero .gdb-kicker {
	padding: 6px 12px;
	border-radius: 4px;
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
	font-size: 13px;
}

.gdb-hero h1 {
	margin: 0 0 20px;
	font-size: 60px;
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.gdb-lead {
	max-width: 540px;
	margin: 0 0 28px;
	color: var(--contrast-2);
	font-size: 19px;
	line-height: 1.55;
}

.gdb-hero .wp-block-buttons {
	margin: 0;
	gap: 12px;
}

.gdb-hero__side {
	border: 2px solid var(--contrast);
}

.entry-content .gdb-hero__side h2 {
	margin: 0 0 8px;
	font-size: 22px;
}

/* The four questions: a yellow number, a short line. */
.gdb-rank {
	margin: 0;
	padding: 0;
}

.gdb-rank__item {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 14px 0;
	border-top: var(--gdb-line);
}

.gdb-rank__item > *,
.gdb-rank__item > .wp-block-group__inner-container > * { margin: 0; }

.gdb-rank__n {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	height: 40px;
	border-radius: var(--gdb-radius);
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
}

.gdb-rank__name {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--contrast-2);
	font-size: 15px;
	line-height: 1.4;
}

.gdb-rank__name strong {
	display: block;
	color: var(--contrast);
	font-size: 17px;
}

/* Aisles: outlined tiles, a yellow code each. */
.gdb-aisles {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.gdb-aisle {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 20px;
	border: 2px solid var(--contrast);
	border-radius: 8px;
	background: var(--base-2);
}

.gdb-aisle > *,
.gdb-aisle > .wp-block-group__inner-container > * { margin: 0; }

/* Photos placed on the page (free photos hosted on the site): a wide frame
 * under the hero and one picture on top of each aisle. Fixed ratio, so a
 * missing picture leaves no hole and a tall one never stretches the grid. */
.entry-content .gdb-photo {
	margin: 0 0 var(--fox-gap, 24px);
	border-radius: var(--gdb-radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 5;
	background: var(--base);
}

.gdb-photo img,
.gdb-aisle__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-content .gdb-aisle__photo {
	margin: 0 0 4px;
	border-radius: var(--gdb-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--base);
}

@media (max-width: 768px) {
	.entry-content .gdb-photo { aspect-ratio: 16 / 9; }
}

.gdb-aisle__code {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--gdb-radius);
	background: var(--accent);
	color: var(--on-accent, #1b1b1b);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.gdb-aisle__name {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.gdb-aisle__name a {
	color: var(--contrast);
	text-decoration: none;
}

/* A linked aisle is one link: its name covers the tile. */
.gdb-aisle__name a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.gdb-aisle:has(a:hover) { background: var(--base); }

.gdb-aisle__note {
	color: var(--contrast-2);
	font-size: 14px;
	line-height: 1.4;
}

/* Cards: the comparisons, white on concrete. */
.gdb-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.gdb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 20px;
	border: var(--gdb-line);
	border-radius: 8px;
	background: var(--base-3);
}

.gdb-card > *,
.gdb-card > .wp-block-group__inner-container > * { margin: 0; }

.gdb-card .gdb-kicker {
	margin: 0;
	color: var(--contrast-2);
	font-size: 13px;
}

.entry-content .gdb-card h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

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

.gdb-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.gdb-card:hover { border-color: var(--contrast); }

.gdb-card:hover h3 a {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 4px;
}

.gdb-card:has(a:focus-visible) {
	outline: 3px solid var(--contrast);
	outline-offset: 2px;
}

.gdb-card h3 a:focus-visible { outline: none; }

.gdb-card p:not(.gdb-kicker) {
	color: var(--contrast-2);
	font-size: 15px;
	line-height: 1.5;
}

/* The ink band: a title in yellow, a numbered list. */
.gdb-home .entry-content > .gdb-band,
.gdb-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	margin-top: 48px;
	padding: 48px 40px;
	border-radius: var(--gdb-radius-lg);
	background: var(--gdb-band);
	color: var(--gdb-band-text);
}

.gdb-band > *,
.gdb-band > .wp-block-group__inner-container > * { margin: 0; }

.entry-content .gdb-band h2 {
	margin: 0 0 16px;
	color: var(--accent);
	font-size: 34px;
}

.gdb-band p {
	margin: 0;
	color: var(--gdb-band-text);
	font-size: 17px;
	line-height: 1.6;
}

.entry-content .gdb-band ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: gdb-band;
}

.gdb-band li {
	display: flex;
	align-items: baseline;
	gap: 18px;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--gdb-band-line);
	counter-increment: gdb-band;
}

.gdb-band li::before {
	content: counter(gdb-band, decimal-leading-zero);
	min-width: 32px;
	color: var(--accent);
	font-size: 20px;
	font-weight: 800;
}

.entry-content .gdb-band li a {
	color: var(--gdb-band-text);
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
}

.entry-content .gdb-band li a:hover {
	color: var(--gdb-band-text);
	text-decoration: underline;
	text-decoration-color: var(--accent);
}

/* What we look at: four white blocks under a yellow rule. */
.gdb-criteria {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	padding-bottom: 56px;
}

.gdb-criterion {
	margin: 0;
	padding: 22px;
	border-top: 4px solid var(--accent);
	border-radius: 0 0 var(--gdb-radius) var(--gdb-radius);
	background: var(--base-3);
}

.gdb-criterion > *,
.gdb-criterion > .wp-block-group__inner-container > * { margin: 0; }

.gdb-criterion p {
	color: var(--contrast-2);
	font-size: 15px;
	line-height: 1.5;
}

.gdb-criterion p strong {
	display: block;
	margin-bottom: 6px;
	color: var(--contrast);
	font-size: 17px;
}

/* ---------- Footer ---------- */

.site-footer {
	border-top: var(--gdb-line);
}

.inside-site-info {
	display: block;
	padding: 28px var(--gdb-gutter) 48px;
}

.site-info .copyright-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	width: 100%;
	text-align: left;
}

.gdb-foot-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gdb-foot-menu a,
.gdb-foot-end {
	font-size: 14px;
	font-stretch: var(--gdb-narrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.gdb-foot-end { color: var(--contrast-2); }

/* ---------- Narrow screens ---------- */

@media (max-width: 1024px) {
	h1, .entry-title { font-size: 40px; }
	.gdb-hero h1 { font-size: 48px; }
	.gdb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gdb-aisles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
	:root { --gdb-gutter: 16px; }
	body { font-size: 16px; }
	h1, .entry-title { font-size: 34px; }
	h2 { font-size: 26px; }
	.gdb-logo { height: 32px; }
	.gdb-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 0 0; }
	.gdb-hero h1 { font-size: 40px; }
	.gdb-panel { padding: 24px 18px; }
	.gdb-band { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 20px; }
	.gdb-section { padding: 32px 0 0; }
}

@media (max-width: 480px) {
	.gdb-cards { grid-template-columns: minmax(0, 1fr); }
	.gdb-aisles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gdb-aisle { padding: 16px; }
	.gdb-strap__in span:last-child { display: none; }
}
