/*
Theme Name: Vintage Industriel
Theme URI: https://vintage-industriel.fr
Author: Vintage Industriel
Description: Theme editorial leger pour un blog d'affiliation autour de la decoration vintage industrielle.
Version: 1.1.3
Text Domain: vintage-industriel
*/

:root {
	--ink: #090909;
	--charcoal: #181818;
	--muted: #555555;
	--line: #1f1f1f;
	--paper: #f5f4f1;
	--soft: #e8e5de;
	--cream: #ffffff;
	--pastel-sage: #7d7d78;
	--pastel-blue: #5f6467;
	--pastel-blush: #7a4a2f;
	--pastel-clay: #7a4a2f;
	--pastel-lilac: #2f2f2f;
	--brass: #8a5a2b;
	--white: #ffffff;
	--radius: 2px;
	--wrap: 1480px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 244, 241, 0.92)),
		repeating-linear-gradient(90deg, rgba(9, 9, 9, 0.06) 0, rgba(9, 9, 9, 0.06) 1px, transparent 1px, transparent 44px),
		var(--paper);
	color: var(--ink);
	font-family: Roboto, sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
}

a {
	color: var(--ink);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

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

.site-header {
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.99), rgba(24, 24, 24, 0.98)),
		var(--ink);
	border-bottom: 3px solid var(--brass);
	color: var(--white);
	position: sticky;
	top: 0;
	z-index: 10;
}

.topbar,
.wrap {
	margin: 0 auto;
	max-width: var(--wrap);
	padding: 0 24px;
}

.topbar {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	min-height: 78px;
}

.brand {
	align-items: flex-start;
	color: var(--ink);
	display: inline-flex;
	flex-direction: column;
	flex: 0 0 118px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
}

.brand::after {
	display: none;
}

.brand img {
	background: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.72);
	display: block;
	height: auto;
	max-width: 82px;
	padding: 4px;
	width: 82px;
}

.brand span {
	color: var(--muted);
	font-family: Roboto, sans-serif;
	display: none;
}

.site-header .social-links {
	display: none;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.social-links a {
	background: rgba(255, 255, 255, 0.42);
	border: 1px solid rgba(86, 106, 111, 0.34);
	color: var(--ink);
	font-family: Montserrat, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 7px 9px;
	text-decoration: none;
	text-transform: uppercase;
}

.social-links a:hover,
.social-links a:focus {
	border-color: var(--brass);
	color: var(--brass);
}

.nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	color: var(--white);
	font-family: Montserrat, sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus {
	color: #d6b16f;
}

.hero {
	background:
		linear-gradient(115deg, rgba(0, 0, 0, 0.98) 0%, rgba(24, 24, 24, 0.94) 47%, rgba(255, 255, 255, 0.98) 47%, rgba(245, 244, 241, 0.96) 100%),
		linear-gradient(145deg, rgba(122, 74, 47, 0.18), rgba(0, 0, 0, 0.04)),
		var(--ink);
	border-bottom: 5px solid var(--ink);
	color: var(--white);
	overflow: hidden;
	padding: 58px 0 62px;
	position: relative;
}

.hero::before {
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 42px);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
	position: relative;
	z-index: 1;
}

.eyebrow {
	color: var(--brass);
	font-family: Questrial, sans-serif;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	font-family: Questrial, sans-serif;
	font-weight: 400;
	line-height: 1.24;
	margin: 0 0 18px;
}

h1 {
	font-size: clamp(2.45rem, 4.9vw, 3.75rem);
	letter-spacing: 1px;
	max-width: 760px;
}

h2 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
	font-size: 1.28rem;
}

.hero p {
	color: rgba(255, 255, 255, 0.84);
	font-size: 1.08rem;
	margin: 0 0 26px;
	max-width: 620px;
}

.hero h1 {
	color: var(--white);
	text-transform: none;
}

.hero-feature {
	min-height: 390px;
	position: relative;
}

.hero-feature img {
	aspect-ratio: 1 / 1;
	border: 1px solid rgba(9, 9, 9, 0.82);
	box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.82), -16px -16px 0 rgba(122, 74, 47, 0.55);
	display: block;
	height: 100%;
	object-fit: cover;
	width: min(100%, 520px);
}

.hero-panel {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(122, 74, 47, 0.14)),
		var(--ink);
	border: 1px solid rgba(255, 250, 241, 0.32);
	border-radius: var(--radius);
	bottom: -18px;
	box-shadow: 10px 10px 0 rgba(9, 9, 9, 0.22);
	color: var(--white);
	max-width: 320px;
	padding: 24px;
	position: absolute;
	right: 0;
}

.hero-panel::before {
	background: linear-gradient(90deg, var(--brass), var(--pastel-clay), rgba(255, 255, 255, 0));
	content: "";
	display: block;
	height: 3px;
	margin-bottom: 18px;
	width: 70%;
}

.hero-panel strong {
	color: #c59667;
	display: block;
	font-family: Questrial, sans-serif;
	font-size: 2.25rem;
	line-height: 1;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.hero-panel p {
	color: rgba(255, 250, 241, 0.9);
	font-size: 1rem;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button,
.wp-block-button__link {
	background: var(--ink);
	border-radius: var(--radius);
	color: var(--white);
	display: inline-flex;
	font-family: Montserrat, sans-serif;
	font-weight: 500;
	justify-content: center;
	letter-spacing: 0.06em;
	padding: 12px 18px;
	text-decoration: none;
	text-transform: uppercase;
}

.button.secondary {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.72);
	color: var(--white);
}

.section {
	border-bottom: 1px solid var(--line);
	position: relative;
	padding: 64px 0;
}

.section::before {
	background:
		linear-gradient(90deg, rgba(9, 9, 9, 0.12), rgba(9, 9, 9, 0)),
		repeating-linear-gradient(90deg, rgba(9, 9, 9, 0.08) 0, rgba(9, 9, 9, 0.08) 1px, transparent 1px, transparent 16px);
	content: "";
	display: block;
	height: 1px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.section.alt {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 244, 241, 0.96) 68%, rgba(122, 74, 47, 0.08)),
		var(--white);
	color: var(--ink);
}

.section.alt .section-head p {
	color: var(--muted);
}

.section.alt h2 {
	color: var(--ink);
}

.section-head {
	align-items: end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.section-head p {
	color: var(--muted);
	margin: 0;
	max-width: 620px;
}

.grid {
	display: grid;
	gap: 22px;
}

.grid.cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visual-grid {
	align-items: stretch;
}

.visual-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 244, 241, 0.98));
	border: 2px solid rgba(9, 9, 9, 0.86);
	border-radius: var(--radius);
	color: var(--ink);
	box-shadow: 8px 8px 0 rgba(9, 9, 9, 0.18);
	display: block;
	margin: 0;
	overflow: hidden;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.visual-card img {
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.visual-card:hover,
.visual-card:focus-visible {
	box-shadow: 10px 10px 0 rgba(9, 9, 9, 0.26);
	transform: translateY(-2px);
}

.visual-card__body {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 240, 233, 0.98));
	padding: 16px 16px 18px;
}

.visual-card figcaption {
	background: transparent;
	color: var(--white);
	font-family: Montserrat, sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0 0 8px;
	text-transform: uppercase;
}

.visual-card p {
	color: var(--muted);
	font-size: 0.95rem;
	margin: 0;
}

.card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 244, 241, 0.98)),
		var(--white);
	border: 2px solid rgba(9, 9, 9, 0.86);
	border-radius: var(--radius);
	box-shadow: 8px 8px 0 rgba(9, 9, 9, 0.22);
	color: var(--ink);
	padding: 24px;
	position: relative;
}

.card::after {
	background: linear-gradient(180deg, var(--ink), var(--pastel-clay));
	bottom: 0;
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 5px;
}

.card p {
	color: var(--muted);
	margin: 0 0 14px;
}

.card a {
	font-weight: 800;
}

.pill {
	background: linear-gradient(90deg, var(--ink), #333333);
	border-radius: var(--radius);
	color: var(--white);
	display: inline-flex;
	font-family: Montserrat, sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
	padding: 4px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

.post-list {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 auto 44px;
	max-width: var(--wrap);
	padding: 0 24px;
	width: 100%;
}

.post-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 244, 241, 0.98)),
		var(--white);
	border: 2px solid rgba(9, 9, 9, 0.86);
	border-radius: var(--radius);
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 100%;
	overflow: hidden;
	padding: 0;
	position: relative;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.post-card::before {
	background: linear-gradient(90deg, var(--ink), var(--pastel-clay));
	content: "";
	position: absolute;
	height: 5px;
	inset: 0 0 auto;
	width: 100%;
	z-index: 1;
}

.post-card:hover,
.post-card:focus-within {
	box-shadow: 9px 9px 0 rgba(9, 9, 9, 0.16);
	transform: translate(-2px, -2px);
}

.post-thumb {
	align-items: center;
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, rgba(9, 9, 9, 0.85), rgba(9, 9, 9, 0.56)),
		linear-gradient(45deg, var(--pastel-clay), var(--ink), var(--charcoal));
	color: rgba(255, 255, 255, 0.78);
	display: flex;
	font-family: Montserrat, sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.08em;
	overflow: hidden;
	text-transform: uppercase;
}

.post-thumb img,
.guide-visual {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.post-card h2 {
	font-size: clamp(1.35rem, 2vw, 1.9rem);
	margin-bottom: 12px;
}

.post-card h2 a {
	text-decoration: none;
}

.post-card h2 a:hover,
.post-card h2 a:focus {
	color: var(--brass);
}

.post-card p {
	color: #3f3f3f;
	font-size: 0.98rem;
	margin: 0 0 20px;
}

.post-card__link {
	align-self: flex-start;
	border-top: 2px solid var(--ink);
	font-family: Montserrat, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-top: auto;
	padding-top: 9px;
	text-decoration: none;
	text-transform: uppercase;
}

.post-card__link:hover,
.post-card__link:focus {
	color: var(--brass);
}

.guide-visual {
	aspect-ratio: 16 / 7;
	border: 1px solid rgba(9, 9, 9, 0.78);
	box-shadow: 8px 8px 0 rgba(9, 9, 9, 0.24);
	margin: 10px 0 32px;
	max-height: 320px;
	object-fit: cover;
	width: 100%;
}

.meta {
	color: var(--muted);
	font-family: Questrial, sans-serif;
	font-size: 0.9rem;
	margin-bottom: 8px;
}

.content {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.99) 70%, rgba(9, 9, 9, 0.055) 70%, rgba(9, 9, 9, 0.055) 100%),
		var(--white);
	border: 2px solid rgba(9, 9, 9, 0.86);
	border-radius: var(--radius);
	margin: 30px auto;
	max-width: var(--wrap);
	padding: clamp(26px, 4.5vw, 66px);
}

.archive-head {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(245, 244, 241, 0.98) 58%, rgba(122, 74, 47, 0.13)),
		var(--white);
	display: grid;
	gap: clamp(24px, 4vw, 52px);
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.55fr);
	overflow: hidden;
	margin-bottom: 24px;
	padding-bottom: clamp(28px, 3.5vw, 46px);
	padding-top: clamp(28px, 3.5vw, 46px);
}

.archive-head__copy {
	align-self: center;
}

.archive-head h1 {
	font-size: clamp(2.25rem, 4vw, 3.45rem);
	margin-bottom: 10px;
	max-width: 820px;
}

.archive-description {
	color: var(--muted);
	max-width: 760px;
}

.archive-description p {
	margin: 0;
}

.archive-count {
	border-top: 2px solid rgba(9, 9, 9, 0.18);
	display: inline-block;
	font-family: Montserrat, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin: 24px 0 0;
	padding-top: 10px;
	text-transform: uppercase;
}

.archive-visual {
	align-self: stretch;
	background:
		linear-gradient(135deg, rgba(9, 9, 9, 0.82), rgba(122, 74, 47, 0.46)),
		var(--ink);
	border: 2px solid rgba(9, 9, 9, 0.84);
	box-shadow: 8px 8px 0 rgba(9, 9, 9, 0.18);
	margin: 0;
	min-height: 260px;
	overflow: hidden;
	position: relative;
}

.archive-visual::after {
	border: 1px solid rgba(255, 255, 255, 0.34);
	content: "";
	inset: 12px;
	pointer-events: none;
	position: absolute;
}

.archive-visual img {
	display: block;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	width: 100%;
}

.archive-empty {
	grid-column: 1 / -1;
	margin: 0 auto;
	max-width: 860px;
	padding: clamp(28px, 5vw, 54px);
	text-align: center;
}

.archive-empty h2 {
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

.archive-empty p:not(.eyebrow) {
	color: var(--muted);
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

.content--article {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.99) 76%, rgba(9, 9, 9, 0.045) 76%, rgba(9, 9, 9, 0.045) 100%),
		var(--white);
	padding-bottom: clamp(42px, 6vw, 90px);
}

.content article > p,
.content article > ul,
.content article > ol,
.content article > blockquote,
.content article > h2,
.content article > h3,
.content article > h4 {
	max-width: 990px;
}

.content h1 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	max-width: 1160px;
}

.content--article h1 {
	max-width: 980px;
}

.content article > .eyebrow {
	max-width: none;
}

.content article > p {
	font-size: 1.125rem;
	line-height: 1.86;
	margin-bottom: 1.25em;
	text-align: justify;
}

.content article > h2 {
	border-top: 2px solid rgba(9, 9, 9, 0.16);
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	margin-top: clamp(42px, 6vw, 68px);
	padding-top: 24px;
}

.content article > h3 {
	color: var(--brass);
	font-size: clamp(1.28rem, 2vw, 1.62rem);
	margin-top: 34px;
}

.content article > ul,
.content article > ol {
	background: rgba(245, 244, 241, 0.7);
	border-left: 4px solid var(--ink);
	font-size: 1.08rem;
	line-height: 1.76;
	margin: 24px 0 32px;
	padding: 20px 24px 20px 34px;
}

.content article > li,
.content article > ul li,
.content article > ol li {
	margin-bottom: 10px;
}

.content blockquote {
	border-left: 4px solid var(--brass);
	color: var(--muted);
	margin-left: 0;
	padding-left: 18px;
}

.article-conclusion {
	background:
		linear-gradient(90deg, var(--ink) 0 10px, transparent 10px),
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 244, 241, 0.96));
	border: 2px solid var(--ink);
	box-shadow: 10px 10px 0 rgba(9, 9, 9, 0.18);
	margin: clamp(46px, 6vw, 72px) 0 34px;
	max-width: 900px;
	padding: clamp(26px, 4vw, 38px) clamp(24px, 4vw, 42px) clamp(24px, 4vw, 34px);
}

.content article > .article-conclusion {
	max-width: 1340px;
}

.article-conclusion h2 {
	border-top: 0;
	color: var(--ink);
	font-size: clamp(1.8rem, 3vw, 2.45rem);
	margin: 0 0 18px;
	padding-top: 0;
}

.article-conclusion h2::before {
	background: var(--brass);
	content: "";
	display: block;
	height: 4px;
	margin-bottom: 16px;
	width: 74px;
}

.article-conclusion p {
	font-size: 1.16rem;
	line-height: 1.82;
	margin: 0 0 1.1em;
}

.article-conclusion p:last-child,
.article-conclusion > *:last-child {
	margin-bottom: 0;
}

.affiliate-notice,
.affiliate-card,
.selection-board,
.amazon-native-block {
	background: var(--white);
	border: 2px solid rgba(9, 9, 9, 0.86);
	box-shadow: 8px 8px 0 rgba(9, 9, 9, 0.2);
	margin: 28px 0;
}

.affiliate-notice {
	font-family: Roboto, sans-serif;
	font-size: 0.9rem;
	line-height: 1.65;
	padding: 16px 18px;
	max-width: 990px;
}

.amazon-native-block {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.96) 56%, rgba(122, 74, 47, 0.1)),
		var(--white);
	overflow: hidden;
	padding: clamp(22px, 4vw, 32px);
}

.amazon-native-block__fallback {
	align-items: end;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr) auto;
	justify-content: space-between;
}

.amazon-native-block__copy h2 {
	border-top: 0;
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
	margin: 0 0 10px;
	padding-top: 0;
}

.amazon-native-block__copy p:not(.affiliate-card__label) {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
	max-width: 620px;
}

.amazon-native-block__button {
	min-width: 220px;
	white-space: nowrap;
}

.affiliate-card {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.96) 56%, rgba(9, 9, 9, 0.08)),
		var(--white);
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 0.92fr) minmax(210px, 0.28fr);
	overflow: hidden;
	padding: 28px;
	position: relative;
}

.affiliate-card:has(.affiliate-card__image) {
	grid-template-columns: 160px minmax(0, 1fr) minmax(210px, 0.3fr);
}

.affiliate-card::before {
	background: linear-gradient(180deg, var(--ink), var(--charcoal), var(--pastel-clay));
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	top: 0;
	width: 8px;
}

.affiliate-card::after {
	border: 1px solid rgba(9, 9, 9, 0.12);
	content: "";
	inset: 14px;
	pointer-events: none;
	position: absolute;
}

.affiliate-card__label {
	color: var(--brass);
	font-family: Montserrat, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.affiliate-card__image {
	align-self: start;
	background: var(--soft);
	border: 1px solid var(--line);
	display: block;
	overflow: hidden;
}

.affiliate-card__image img {
	aspect-ratio: 1 / 1;
	display: block;
	object-fit: cover;
	width: 100%;
}

.affiliate-card h3 {
	font-size: clamp(1.45rem, 3vw, 2.05rem);
	margin-bottom: 10px;
}

.affiliate-card p {
	margin-top: 0;
	max-width: 690px;
}

.affiliate-card__why {
	color: var(--ink);
	font-weight: 500;
	position: relative;
}

.affiliate-card__why::before {
	color: var(--brass);
	content: "Pourquoi on le retient";
	display: block;
	font-family: Montserrat, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.affiliate-card__action {
	align-items: stretch;
	background: rgba(255, 255, 255, 0.66);
	border-left: 1px solid rgba(9, 9, 9, 0.16);
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
	padding-left: 22px;
}

.affiliate-card:has(.affiliate-card__image) .affiliate-card__action {
	grid-column: 3;
}

.affiliate-card__action span {
	color: var(--ink);
	font-family: Questrial, sans-serif;
	font-size: 1.5rem;
}

.selection-board {
	background:
		linear-gradient(135deg, rgba(9, 9, 9, 0.92), rgba(36, 36, 36, 0.86)),
		linear-gradient(45deg, var(--pastel-clay), var(--pastel-blue));
	color: var(--white);
	padding: clamp(24px, 4vw, 36px);
	position: relative;
}

.selection-board::before {
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 28px);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.selection-board__head,
.selection-board__grid {
	position: relative;
	z-index: 1;
}

.selection-board__head {
	align-items: end;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 0.55fr) minmax(260px, 0.45fr);
	margin-bottom: 22px;
}

.selection-board__head p {
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
}

.selection-board__kicker {
	color: var(--pastel-clay) !important;
	font-family: Questrial, sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.9rem);
	line-height: 1.05;
}

.selection-board__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selection-note {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(242, 238, 230, 0.92)),
		var(--white);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 5px 5px 0 rgba(111, 107, 102, 0.26);
	color: var(--ink);
	display: grid;
	gap: 16px;
	grid-template-columns: auto minmax(0, 1fr);
	min-height: 100%;
	padding: 22px;
}

.selection-note__index {
	color: rgba(9, 9, 9, 0.2);
	font-family: Questrial, sans-serif;
	font-size: 2.6rem;
	line-height: 0.9;
}

.selection-note__image {
	background: var(--soft);
	border: 1px solid rgba(9, 9, 9, 0.12);
	display: block;
	grid-column: 1 / -1;
	overflow: hidden;
}

.selection-note__image img {
	aspect-ratio: 5 / 3;
	display: block;
	object-fit: cover;
	width: 100%;
}

.selection-note__body {
	grid-column: 2;
}

.selection-note__price {
	color: var(--brass);
	font-family: Montserrat, sans-serif;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.selection-note h3 {
	font-size: 1.2rem;
	margin-bottom: 8px;
}

.selection-note p {
	color: #444444;
	font-size: 0.96rem;
	margin-top: 0;
}

.selection-note a {
	font-family: Montserrat, sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer {
	background:
		linear-gradient(135deg, rgba(9, 9, 9, 0.98), rgba(36, 36, 36, 0.96) 56%, rgba(155, 106, 69, 0.2)),
		var(--ink);
	border-top: 4px solid var(--pastel-clay);
	color: #f2e7d6;
	padding: 16px 0 12px;
}

.footer-grid {
	display: grid;
	align-items: start;
	gap: 14px 22px;
	grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(0, 0.95fr));
	padding-bottom: 8px;
}

.footer-brand {
	max-width: 300px;
}

.footer-logo {
	display: inline-flex;
	margin-bottom: 10px;
	text-decoration: none;
}

.footer-logo img {
	background: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.5);
	display: block;
	height: auto;
	max-width: 72px;
	padding: 4px;
	width: 72px;
}

.site-footer a {
	color: var(--white);
	display: inline-block;
	font-size: 0.9rem;
	line-height: 1.4;
	text-decoration: none;
	margin: 0 12px 8px 0;
}

.site-footer a:hover,
.site-footer a:focus {
	color: #d6b16f;
	text-decoration: none;
}

.site-footer h3 {
	font-size: 0.92rem;
	margin-bottom: 8px;
}

.site-footer p {
	line-height: 1.55;
	margin: 0;
}

.footer-links a {
	display: block;
	margin: 0 0 8px;
}

.footer-socials {
	align-items: center;
	display: flex;
	gap: 12px;
}

.footer-socials a {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	margin: 0;
	width: 38px;
}

.footer-socials svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.footer-bottom {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-top: 6px;
	padding-top: 10px;
}

.footer-bottom p {
	margin: 0;
}

@media (max-width: 820px) {
	.site-header {
		position: static;
	}

	.topbar,
	.section-head,
	.hero-grid,
	.footer-grid,
	.archive-head,
	.post-card {
		display: block;
	}

	.post-list {
		grid-template-columns: 1fr;
	}

	.archive-visual {
		margin-top: 22px;
		min-height: 210px;
	}

	.archive-visual img {
		min-height: 210px;
	}

	.topbar {
		min-height: 0;
		padding-bottom: 14px;
		padding-top: 14px;
	}

	.brand {
		display: inline-flex;
		flex: 0 0 auto;
	}

	.brand img {
		max-width: 64px;
		width: 64px;
	}

	.nav-menu {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 14px;
		margin-top: 12px;
		overflow-x: auto;
		padding-bottom: 5px;
		scrollbar-width: thin;
	}

	.nav-menu a {
		font-size: 0.7rem;
		white-space: nowrap;
	}

	.social-links,
	.footer-bottom {
		justify-content: flex-start;
		margin-top: 14px;
	}

	.footer-brand {
		margin-bottom: 18px;
		max-width: none;
	}

	.footer-logo img {
		max-width: 64px;
		width: 64px;
	}

	.site-footer a {
		margin-right: 10px;
	}

	.footer-links a {
		margin-right: 0;
	}

	.footer-bottom {
		display: block;
	}

	.grid.cols-3,
	.grid.cols-4 {
		grid-template-columns: 1fr;
	}

	.post-thumb {
		margin-bottom: 16px;
	}

	.hero {
		padding: 44px 0 48px;
	}

	.hero-feature {
		margin-top: 32px;
		min-height: 0;
	}

	.hero-feature img {
		width: 100%;
	}

	.hero-panel {
		display: none;
	}

	.affiliate-card {
		grid-template-columns: 1fr;
	}

	.affiliate-card:has(.affiliate-card__image) {
		grid-template-columns: 1fr;
	}

	.affiliate-card:has(.affiliate-card__image) .affiliate-card__action {
		grid-column: auto;
	}

	.affiliate-card__action {
		border-left: 0;
		border-top: 1px solid rgba(9, 9, 9, 0.16);
		padding-left: 0;
		padding-top: 18px;
	}

	.amazon-native-block__fallback {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.amazon-native-block__button {
		min-width: 0;
		white-space: normal;
		width: 100%;
	}

	.selection-board__head,
	.selection-board__grid,
	.selection-note {
		grid-template-columns: 1fr;
	}

	.selection-note__body {
		grid-column: auto;
	}
}

/* ==========================================================
   Vintage Industriel - Affiliate product cards v2
   Distinct layouts for isolated product and grouped selection
   ========================================================== */

.vi-product-badge {
	align-items: center;
	background: #f4eee7;
	border: 1px solid rgba(128, 72, 32, 0.12);
	border-radius: 999px;
	color: #7a3f12;
	display: inline-flex;
	font-family: Montserrat, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	gap: 6px;
	letter-spacing: 0.01em;
	line-height: 1;
	margin: 0;
	padding: 7px 11px;
	white-space: nowrap;
}

.vi-product-badge::before {
	color: #111;
	content: "a";
	font-family: Georgia, serif;
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 0.8;
}

.vi-price-link {
	color: #8a4717;
	display: inline-flex;
	font-family: Montserrat, sans-serif;
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
}

.vi-price-link:hover,
.vi-price-link:focus {
	color: #5f2f0d;
	text-decoration: underline;
}

.vi-merchant-button {
	align-items: center;	
	background: linear-gradient(180deg, #8a5a2b, #6e441d);
	border: 0;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
	color: #fff !important;
	display: inline-flex;
	font-family: Montserrat, sans-serif;
	font-size: .92rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 46px;
	padding: 12px 18px;
	text-decoration: none !important;
	transition: .15s ease;
}

.vi-merchant-button::before {
	content: "";
}

.vi-merchant-button:hover,
.vi-merchant-button:focus {
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(109, 59, 19, 0.24);
	filter: brightness(1.03);
	transform: translateY(-1px);
}

/* One isolated product inside article content */
.vi-single-product {
	align-items: stretch;
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
	display: grid;
	gap: 22px;
	grid-template-columns: 220px minmax(0, 1fr) 220px;
	margin: 34px 0;
	max-width: 860px;
	padding: 18px;
}

.vi-single-product__media {
	background: #f6f3ef;
	border-radius: 10px;
	display: block;
	overflow: hidden;
}

.vi-single-product__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.vi-single-product__content {
	align-self: center;
}

.vi-single-product__content h3 {
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 10px 0 10px;
}

.vi-single-product__desc,
.vi-single-product__why {
	color: #4f4a45;
	font-size: 0.96rem;
	line-height: 1.6;
	margin: 0;
}

.vi-single-product__why {
	background: #faf6f1;
	border-left: 3px solid #b86d28;
	margin-top: 12px;
	padding: 10px 12px;
}

.vi-single-product__action {
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vi-single-product__action .vi-merchant-button {
	width: 100%;
}

/* Grouped selection: intentionally full-width on desktop */
.vi-product-selection {
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.09);
	border-radius: 14px;
	box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
	box-sizing: border-box;
	margin: 38px 0;
	max-width: min(1500px, calc(100vw - 72px));
	padding: clamp(22px, 3vw, 34px);
	position: relative;
	transform: translateX(-50%);
	left: 50%;
}

.vi-product-selection__head {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
}

.vi-product-selection__eyebrow {
	color: #8a4717;
	font-family: Montserrat, sans-serif;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.vi-product-selection__head h2 {
	border: 0;
	font-size: clamp(1.75rem, 3vw, 2.65rem);
	line-height: 1.05;
	margin: 0 0 8px;
	padding: 0;
}

.vi-product-selection__head p:not(.vi-product-selection__eyebrow) {
	color: #58534d;
	font-size: 1.05rem;
	line-height: 1.55;
	margin: 0;
}

.vi-product-selection__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vi-product-card {
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 14px;
}

.vi-product-card__topline {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.vi-product-card__index {
	align-items: center;
	background: #050505;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-family: Montserrat, sans-serif;
	font-size: 0.75rem;
	font-weight: 900;
	height: 30px;
	justify-content: center;
	line-height: 1;
	width: 30px;
}

.vi-product-card__image {
	background: #f6f3ef;
	border-radius: 8px;
	display: block;
	overflow: hidden;
}

.vi-product-card__image img {
	aspect-ratio: 4 / 3;
	display: block;
	object-fit: cover;
	width: 100%;
}

.vi-product-card__body {
	flex: 1;
}

.vi-product-card__body h3 {
	font-size: clamp(1rem, 1.2vw, 1.2rem);
	line-height: 1.22;
	margin: 0 0 10px;
}

.vi-product-card__body p {
	color: #514c47;
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0;
}

.vi-product-card__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
}

.vi-product-card__actions .vi-merchant-button {
	width: 100%;
}

.vi-product-selection__reassurance {
	background: #faf7f3;
	border-radius: 12px;
	color: #4f4a45;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	justify-content: center;
	margin-top: 26px;
	padding: 17px 20px;
	text-align: center;
}

.vi-product-selection__reassurance span {
	font-size: 0.94rem;
	line-height: 1.35;
}

/* Backward compatibility if old classes remain in existing articles */
.selection-board {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: inherit;
	padding: 0;
}

.selection-board::before {
	display: none;
}

@media (max-width: 1280px) {
	.vi-product-selection__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.vi-product-selection {
		left: auto;
		max-width: 100%;
		padding: 18px;
		transform: none;
		width: 100%;
	}

	.vi-product-selection__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

		.vi-single-product {	
			grid-template-columns: 1fr;
			max-width: 100%;
		}
	
		.vi-single-product__action {
			align-self: stretch;
		}
}

@media (max-width: 560px) {
	.vi-product-selection__grid {
		grid-template-columns: 1fr;
	}
}