/*
 * AddonGain Blog — presentation of the blog home, categories, search and
 * articles. Same identity as the landing: black / coral / peach, Hanken
 * Grotesk, square buttons with the black shadow, 8 px cards, 4 px badges.
 * Every rule hangs on an `agb-*` class or on `body.agb`: the rest of the
 * site is not affected.
 */

:root {
	--agb-black: #000;
	--agb-coral: #f67b56;
	--agb-coral-soft: #f8d9cb;
	--agb-peach: #fdeee7;
	--agb-lavender: #f5edfb;
	--agb-violet-ink: #6e3fa3;
	--agb-border: #ded9e3;
	--agb-border-strong: #b8b0c0;
	--agb-text-2: #625d6b;
	--agb-ease: cubic-bezier(.2, .7, .2, 1);
	--agb-header-h: 80px;
	--agb-gutter: 24px;
	--agb-prose: 720px;
	--agb-top: var(--wp-admin--admin-bar--height, 0px);
}
@media (max-width: 767px) {
	:root {
		--agb-header-h: 68px;
		--agb-gutter: 16px;
	}
}

/* ------------------------------------------------------------------ base */
html:has(body.agb) {
	scroll-padding-top: calc(var(--agb-header-h) + var(--agb-top) + 20px);
}
@media (prefers-reduced-motion: no-preference) {
	html:has(body.agb) {
		scroll-behavior: smooth;
	}
}
body.agb {
	margin: 0;
	padding: 0;
	background: #fff;
	color: var(--agb-black);
	font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
body.agb *,
body.agb *::before,
body.agb *::after {
	box-sizing: border-box;
}
body.agb img,
body.agb svg {
	max-width: 100%;
}
body.agb ::selection {
	background: var(--agb-coral);
	color: #000;
}
body.agb :focus-visible {
	outline: 3px solid var(--agb-violet-ink);
	outline-offset: 3px;
}
body.agb a {
	color: inherit;
}
body.agb h1,
body.agb h2,
body.agb h3,
body.agb h4 {
	font-family: inherit;
	color: var(--agb-black);
	margin: 0;
	text-wrap: balance;
}
body.agb p {
	margin: 0;
}
.agb-main {
	display: block;
	overflow-x: clip;
}
.agb-wrap {
	width: 100%;
	max-width: calc(1200px + 2 * var(--agb-gutter));
	margin-inline: auto;
	padding-inline: var(--agb-gutter);
}
.agb-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.agb-nowrap {
	white-space: nowrap;
}
.agb-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 200;
	padding: 12px 18px;
	background: #fff;
	border: 1px solid #000;
	font-weight: 600;
	text-decoration: none;
}
.agb-skip:focus {
	top: calc(var(--agb-top) + 12px);
}

/* ------------------------------------------------------------ typography */
.agb-h1 {
	font-size: clamp(40px, 5.4vw, 64px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.028em;
}
.agb-h2 {
	font-size: clamp(31px, 3.6vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.024em;
}
.agb-h3 {
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.012em;
}
.agb-lead {
	max-width: 640px;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
}
.agb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.agb-eyebrow::before {
	content: "";
	flex: none;
	width: 28px;
	height: 3px;
	background: var(--agb-coral);
}
.agb-eyebrow a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
}
.agb-eyebrow a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.agb-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--agb-text-2);
}
.agb-meta > span + span::before {
	content: "·";
	margin-inline: 10px;
}
.agb-meta-cat {
	color: var(--agb-black);
	font-weight: 700;
}

/* --------------------------------------------------------------- buttons */
.agb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 15px 28px;
	border: 1px solid #000;
	border-radius: 0;
	background: #fff;
	color: #000;
	font: 600 17px/1.2 'Hanken Grotesk', system-ui, sans-serif;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s var(--agb-ease), box-shadow .18s var(--agb-ease);
}
body.agb a.agb-btn {
	color: #000;
	text-decoration: none;
}
.agb-btn--primary {
	background: var(--agb-coral);
	box-shadow: 3px 3px 0 #000;
}
.agb-btn--primary:hover {
	transform: translate(-1px, -1px);
	box-shadow: 4px 4px 0 #000;
}
.agb-btn--secondary:hover {
	transform: translate(-1px, -1px);
	box-shadow: 3px 3px 0 #000;
}
.agb-btn:active {
	transform: translate(1px, 1px);
	box-shadow: 1px 1px 0 #000;
}
.agb-btn--small {
	min-height: 44px;
	padding: 10px 18px;
	font-size: 16px;
}

/* ---------------------------------------------------------------- header */
.agb-header {
	position: sticky;
	top: var(--agb-top);
	z-index: 90;
	background: var(--agb-peach);
	transition: background-color .3s, box-shadow .3s;
}
.agb-header.is-scrolled {
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	box-shadow: 0 1px 0 var(--agb-border);
}
.agb-header-in {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--agb-header-h);
	padding-block: 12px;
}
.agb-logo {
	display: flex;
	align-items: center;
	min-height: 44px;
	flex: none;
}
.agb-logo img {
	display: block;
	width: 176px;
	height: auto;
}
.agb-nav {
	flex: 1 1 auto;
}
.agb-nav ul {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.agb-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.agb-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 2px;
	background: var(--agb-coral);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--agb-ease);
}
.agb-nav a:hover::after,
.agb-nav a:focus-visible::after,
.agb-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}
.agb-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}
.agb-menu {
	display: none;
}
@media (max-width: 1024px) {
	.agb-menu {
		display: inline-flex;
	}
	.agb-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 8px var(--agb-gutter) 20px;
		background: #fff;
		box-shadow: 0 1px 0 var(--agb-border), 0 24px 40px -24px rgba(0, 0, 0, .25);
	}
	.agb-header.is-open {
		background: #fff;
	}
	.agb-header.is-open .agb-nav {
		display: block;
	}
	.agb-nav ul {
		flex-direction: column;
		gap: 0;
	}
	.agb-nav li {
		border-bottom: 1px solid var(--agb-border);
	}
	.agb-nav a {
		width: 100%;
		min-height: 52px;
		font-size: 17px;
	}
	.agb-nav a::after {
		display: none;
	}
	.agb-nav a[aria-current="page"] {
		font-weight: 700;
	}
}
@media (max-width: 767px) {
	.agb-logo img {
		width: 140px;
	}
}
@media (max-width: 479px) {
	/* Logo + Menu only on small phones. */
	.agb-header-cta {
		display: none;
	}
}

/* ------------------------------------------------------------ breadcrumb */
.agb-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
	color: var(--agb-text-2);
}
.agb-crumbs li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}
.agb-crumbs li + li::before {
	content: "/";
	margin-inline: 10px;
	color: var(--agb-border-strong);
}
.agb-crumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--agb-text-2);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	transition: color .2s, text-decoration-color .2s;
}
.agb-crumbs a:hover {
	color: #000;
	text-decoration-color: var(--agb-coral);
}
.agb-crumbs [aria-current="page"] {
	color: #000;
	display: inline-block;
	max-width: 42ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (max-width: 600px) {
	/* Phones: only the way back up (the title is right below). */
	.agb-crumbs li:last-child {
		display: none;
	}
	.agb-crumbs li:nth-last-child(2)::after {
		content: none;
	}
}

/* ------------------------------------------------------------------ hero */
.agb-hero {
	background: var(--agb-peach);
}
.agb-hero-in {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding-top: 16px;
	padding-bottom: 72px;
}
.agb-hero .agb-h1 {
	max-width: 20ch;
	hyphens: manual;
	margin-top: 8px;
}
.agb-hero--small .agb-hero-in {
	padding-bottom: 48px;
}
.agb-hero--small .agb-h1 {
	max-width: 22ch;
	font-size: clamp(36px, 4.4vw, 56px);
}
.agb-hero .agb-search {
	margin-top: 12px;
}
@media (max-width: 767px) {
	.agb-hero-in {
		gap: 16px;
		padding-bottom: 48px;
	}
	.agb-hero--small .agb-hero-in {
		padding-bottom: 36px;
	}
}

/* ---------------------------------------------------------------- search */
.agb-search {
	position: relative;
	width: 100%;
	max-width: 720px;
}
.agb-search-box {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid #000;
	box-shadow: 4px 4px 0 #000;
	transition: box-shadow .2s var(--agb-ease);
}
.agb-search-box:focus-within {
	box-shadow: 6px 6px 0 #000;
}
.agb-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 60px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #000;
	font: 500 18px/1.3 'Hanken Grotesk', system-ui, sans-serif;
	-webkit-appearance: none;
	appearance: none;
}
.agb-search input[type="search"]::placeholder {
	color: var(--agb-text-2);
	opacity: 1;
}
.agb-search input[type="search"]:focus-visible {
	outline: 3px solid var(--agb-violet-ink);
	outline-offset: -3px;
}
.agb-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}
.agb-search .agb-btn {
	margin: 6px;
	min-height: 48px;
	box-shadow: none;
	flex: none;
}
.agb-search .agb-btn:hover {
	transform: none;
	box-shadow: none;
	background: #ff8f6b;
}
.agb-search-list {
	position: absolute;
	z-index: 30;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	max-height: min(60vh, 460px);
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #000;
	border-radius: 8px;
	box-shadow: 0 30px 60px -32px rgba(64, 30, 14, .45);
}
.agb-search-list[hidden] {
	display: none;
}
.agb-option {
	display: block;
	padding: 12px 14px;
	border-radius: 4px;
	cursor: pointer;
}
.agb-option[aria-selected="true"],
.agb-option:hover {
	background: var(--agb-peach);
}
.agb-option-cat {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--agb-text-2);
}
.agb-option-title {
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
.agb-option-desc {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--agb-text-2);
}
.agb-option mark {
	background: var(--agb-coral-soft);
	color: inherit;
	padding: 0 1px;
}
.agb-option--all {
	border-top: 1px solid var(--agb-border);
	margin-top: 4px;
	font-size: 15px;
	font-weight: 600;
}
.agb-option--empty {
	cursor: default;
	color: var(--agb-text-2);
	font-size: 15px;
}
.agb-option--empty:hover {
	background: transparent;
}
@media (max-width: 479px) {
	.agb-search-box {
		flex-direction: column;
	}
	.agb-search input[type="search"] {
		min-height: 56px;
		padding: 0 16px;
	}
	.agb-search .agb-btn {
		margin: 0 6px 6px;
	}
}
.agb-result-count {
	font-size: 15px;
	font-weight: 600;
}

/* ----------------------------------------------------------------- chips */
.agb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
.agb-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: 4px;
	background: rgba(255, 255, 255, .7);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
.agb-chip:hover {
	border-color: #000;
	background: #fff;
}
.agb-chip[aria-current="page"] {
	border-color: #000;
	background: #000;
	color: #fff;
}
.agb-chip-count {
	font-size: 13px;
	font-weight: 500;
	color: var(--agb-text-2);
}
.agb-chip[aria-current="page"] .agb-chip-count {
	color: rgba(255, 255, 255, .78);
}

/* --------------------------------------------------- home: entries */
.agb-entries {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 20px;
	margin-top: 56px;
}
.agb-entry {
	display: grid;
	gap: 8px;
	align-content: start;
	padding: 28px;
	border: 1px solid #000;
	border-radius: 8px;
	text-decoration: none;
	transition: transform .2s var(--agb-ease), box-shadow .2s var(--agb-ease);
}
.agb-entry:first-child {
	background: #000;
	color: #fff;
}
.agb-entry:last-child {
	background: var(--agb-lavender);
}
.agb-entry:hover {
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--agb-coral);
}
.agb-entry-name {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.015em;
}
.agb-entry-desc {
	max-width: 46ch;
}
.agb-entry-count {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
}
body.agb .agb-entry:first-child h3,
.agb-entry:first-child .agb-entry-name {
	color: #fff;
}
@media (max-width: 767px) {
	.agb-entries {
		grid-template-columns: 1fr;
		margin-top: 40px;
	}
}

/* --------------------------------------------------- home: featured */
.agb-featured-wrap {
	margin-top: 64px;
}
.agb-featured-wrap > .agb-eyebrow {
	margin-bottom: 18px;
}
.agb-featured-link {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: stretch;
	border: 1px solid #000;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	background: #fff;
	transition: box-shadow .25s var(--agb-ease), transform .25s var(--agb-ease);
}
.agb-featured-link:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 #000;
}
.agb-featured-cover {
	display: block;
	min-height: 300px;
	background: var(--agb-peach);
	border-right: 1px solid #000;
}
.agb-featured-cover img,
.agb-featured-cover svg,
.agb-card-cover img,
.agb-card-cover svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.agb-featured-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 40px;
}
body.agb .agb-featured-title {
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
}
.agb-featured-desc {
	color: var(--agb-text-2);
}
.agb-featured-more {
	margin-top: auto;
	padding-top: 12px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--agb-coral);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}
@media (max-width: 900px) {
	.agb-featured-link {
		grid-template-columns: 1fr;
	}
	.agb-featured-cover {
		min-height: 0;
		aspect-ratio: 1200 / 630;
		border-right: 0;
		border-bottom: 1px solid #000;
	}
	.agb-featured-body {
		padding: 24px;
	}
}

/* --------------------------------------------------- home: help center */
.agb-help,
.agb-advice {
	margin-top: 96px;
}
.agb-section-head {
	display: grid;
	gap: 14px;
	max-width: 760px;
	margin-bottom: 40px;
}
.agb-section-desc {
	color: var(--agb-text-2);
	font-size: 18px;
}
.agb-help-group {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 32px 56px;
	padding-block: 36px;
	border-top: 1px solid #000;
}
.agb-help-group-head {
	display: grid;
	align-content: start;
	gap: 8px;
}
.agb-help-group-head a {
	text-decoration: none;
}
.agb-help-group-head a:hover {
	text-decoration: underline;
	text-decoration-color: var(--agb-coral);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}
.agb-help-group-head p {
	color: var(--agb-text-2);
	font-size: 16px;
}
@media (min-width: 1025px) {
	.agb-help-group-head {
		position: sticky;
		top: calc(var(--agb-header-h) + var(--agb-top) + 24px);
		align-self: start;
	}
}
@media (max-width: 900px) {
	.agb-help,
	.agb-advice {
		margin-top: 64px;
	}
	.agb-help-group {
		grid-template-columns: 1fr;
		gap: 12px;
		padding-block: 28px;
	}
}

/* ---------------------------------------------------- guide list rows */
.agb-guides {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--agb-border);
}
.agb-help-group .agb-guides {
	border-top: 0;
}
.agb-guide {
	border-bottom: 1px solid var(--agb-border);
}
.agb-help-group .agb-guide:first-child .agb-guide-link {
	padding-top: 4px;
}
.agb-guide-link {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 4px 20px;
	padding: 22px 12px 22px 0;
	text-decoration: none;
	transition: background-color .2s;
}
.agb-guide-link > * {
	transition: transform .25s var(--agb-ease);
}
.agb-guide-num {
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
	color: #000;
	transition: color .2s;
}
.agb-guide-body {
	display: grid;
	gap: 6px;
}
body.agb .agb-guide-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}
.agb-guide-title {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
	transition: text-decoration-color .2s;
}
.agb-guide-desc {
	font-size: 16px;
	line-height: 1.55;
	color: var(--agb-text-2);
}
.agb-guide-time {
	font-size: 14px;
	font-weight: 600;
	color: var(--agb-text-2);
	white-space: nowrap;
}
.agb-guide-link:hover .agb-guide-title,
.agb-guide-link:focus-visible .agb-guide-title {
	text-decoration-color: var(--agb-coral);
}
@media (hover: hover) and (min-width: 768px) {
	.agb-guide-link:hover {
		background: var(--agb-peach);
	}
	.agb-guide-link:hover > * {
		transform: translateX(12px);
	}
}
@media (max-width: 600px) {
	.agb-guide-link {
		grid-template-columns: 44px minmax(0, 1fr);
		padding-right: 0;
	}
	.agb-guide-num {
		font-size: 24px;
	}
	.agb-guide-time {
		grid-column: 2;
	}
	body.agb .agb-guide-title {
		font-size: 18px;
	}
}

/* ----------------------------------------------------------------- cards */
.agb-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.agb-card--big {
	grid-column: span 2;
	grid-row: span 2;
}
.agb-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--agb-border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	transition: border-color .2s, transform .25s var(--agb-ease), box-shadow .25s var(--agb-ease);
}
.agb-card-link:hover {
	border-color: #000;
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 #000;
}
.agb-card-cover {
	display: block;
	aspect-ratio: 1200 / 630;
	background: var(--agb-peach);
}
.agb-card-body {
	display: grid;
	gap: 10px;
	padding: 20px 22px 24px;
}
body.agb .agb-card-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}
body.agb .agb-card--big .agb-card-title {
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.15;
	letter-spacing: -.02em;
}
.agb-card-desc {
	color: var(--agb-text-2);
}
@media (max-width: 900px) {
	.agb-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.agb-cards {
		grid-template-columns: 1fr;
	}
	.agb-card--big {
		grid-column: auto;
		grid-row: auto;
	}
}

/* ----------------------------------------------- category / search lists */
.agb-list-section {
	margin-top: 48px;
}
.agb-empty {
	padding: 32px 0;
	font-size: 18px;
}
.agb-results {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 860px;
	border-top: 1px solid var(--agb-border);
}
.agb-result {
	border-bottom: 1px solid var(--agb-border);
}
.agb-result a {
	display: grid;
	gap: 6px;
	padding: 24px 0;
	text-decoration: none;
}
body.agb .agb-result-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
	transition: text-decoration-color .2s;
}
.agb-result a:hover .agb-result-title {
	text-decoration-color: var(--agb-coral);
}
.agb-result-desc {
	color: var(--agb-text-2);
}
.agb-noresult {
	display: grid;
	gap: 14px;
	max-width: 720px;
	padding: 32px;
	border-radius: 8px;
	background: var(--agb-peach);
}
.agb-noresult a:not(.agb-chip) {
	font-weight: 700;
	text-decoration-color: var(--agb-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.agb-pagination {
	margin-top: 40px;
}
.agb-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.agb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--agb-border);
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
}
.agb-pagination .page-numbers.current {
	background: #000;
	border-color: #000;
	color: #fff;
}
.agb-pagination a.page-numbers:hover {
	border-color: #000;
}

/* --------------------------------------------------------------- article */
.agb-progress {
	position: fixed;
	z-index: 120;
	top: var(--agb-top);
	left: 0;
	right: 0;
	height: 3px;
	pointer-events: none;
}
.agb-progress span {
	display: block;
	height: 100%;
	background: var(--agb-coral);
	transform: scaleX(0);
	transform-origin: left;
}
.agb-article-head {
	background: var(--agb-peach);
}
.agb-article-head-in {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding-top: 16px;
	padding-bottom: 56px;
}
.agb-article-head .agb-eyebrow {
	margin-top: 8px;
}
.agb-article-title {
	max-width: 21ch;
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.06;
}
.agb-article-lead {
	max-width: 680px;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
}
.agb-article-lead a {
	text-decoration-color: var(--agb-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.agb-article-meta {
	margin-top: 4px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, .14);
	width: 100%;
	max-width: 680px;
}
.agb-article-grid {
	padding-top: 56px;
}
@media (min-width: 1025px) {
	.agb-article-grid.has-toc {
		display: grid;
		grid-template-columns: minmax(0, var(--agb-prose)) minmax(0, 280px);
		justify-content: space-between;
		gap: 72px;
	}
	.agb-article-grid.has-toc .agb-toc-wrap {
		grid-column: 2;
		grid-row: 1;
	}
	.agb-article-grid.has-toc .agb-prose {
		grid-column: 1;
		grid-row: 1;
	}
}
@media (max-width: 767px) {
	.agb-article-head-in {
		padding-bottom: 40px;
	}
	.agb-article-grid {
		padding-top: 32px;
	}
}

/* ------------------------------------------------------ table of contents */
.agb-toc-wrap {
	position: relative;
}
.agb-toc {
	border: 1px solid var(--agb-border);
	border-radius: 8px;
	background: #fff;
}
.agb-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}
.agb-toc summary::-webkit-details-marker {
	display: none;
}
/* +/− drawn in CSS, like the landing FAQ. */
.agb-toc summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background:
		linear-gradient(#000, #000) center / 14px 2px no-repeat,
		linear-gradient(#000, #000) center / 2px 14px no-repeat;
	transition: background-size .25s var(--agb-ease);
}
.agb-toc[open] summary::after {
	background:
		linear-gradient(#000, #000) center / 14px 2px no-repeat,
		linear-gradient(#000, #000) center / 2px 0 no-repeat;
}
.agb-toc ol {
	margin: 0;
	padding: 0 10px 12px;
	list-style: none;
	counter-reset: agb-toc;
}
.agb-toc li {
	counter-increment: agb-toc;
}
.agb-toc a {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 4px;
	min-height: 44px;
	align-items: center;
	padding: 8px 10px 8px 8px;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--agb-text-2);
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.agb-toc a::before {
	content: counter(agb-toc, decimal-leading-zero);
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.agb-toc a:hover {
	color: #000;
	background: var(--agb-peach);
}
.agb-toc a[aria-current="true"] {
	color: #000;
	font-weight: 700;
	background: var(--agb-peach);
}
@media (min-width: 1025px) {
	.agb-toc-wrap {
		align-self: start;
		position: sticky;
		top: calc(var(--agb-header-h) + var(--agb-top) + 24px);
		max-height: calc(100vh - var(--agb-header-h) - var(--agb-top) - 48px);
		overflow-y: auto;
	}
	.agb-toc {
		border: 0;
		border-top: 1px solid #000;
		border-radius: 0;
	}
	.agb-toc summary {
		padding-inline: 0;
	}
	.agb-toc[open] summary {
		cursor: default;
		pointer-events: none;
	}
	.agb-toc[open] summary::after {
		display: none;
	}
	.agb-toc ol {
		padding: 0;
	}
}
@media (max-width: 1024px) {
	.agb-toc-wrap {
		max-width: var(--agb-prose);
		margin-bottom: 32px;
	}
}

/* ------------------------------------------------------------- prose */
.agb-prose {
	max-width: var(--agb-prose);
	font-size: 18px;
	line-height: 1.7;
}
body.agb .agb-prose > * {
	margin-bottom: 0;
}
body.agb .agb-prose > * + * {
	margin-top: 1.1em;
}
body.agb .agb-prose > :first-child {
	margin-top: 0;
}
body.agb .agb-prose h2 {
	margin-top: 2.4em;
	margin-bottom: -.2em;
	font-size: clamp(26px, 2.6vw, 32px);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.02em;
}
body.agb .agb-prose h3 {
	margin-top: 1.9em;
	margin-bottom: -.3em;
	font-size: clamp(20px, 2vw, 23px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}
body.agb .agb-prose h4 {
	margin-top: 1.6em;
	margin-bottom: -.4em;
	font-size: 18px;
	font-weight: 700;
}
.agb-prose p,
.agb-prose li {
	text-wrap: pretty;
}
.agb-prose a {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--agb-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: text-decoration-thickness .15s;
}
.agb-prose a:hover {
	text-decoration-thickness: 3px;
}
.agb-prose strong {
	font-weight: 700;
}
.agb-prose ul,
.agb-prose ol {
	padding-left: 1.4em;
}
.agb-prose li + li {
	margin-top: .45em;
}
.agb-prose li::marker {
	font-weight: 700;
}
.agb-prose ul > li::marker {
	color: var(--agb-coral);
}
.agb-prose code {
	padding: .12em .4em;
	border-radius: 4px;
	background: var(--agb-lavender);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: .88em;
}
.agb-prose pre {
	overflow-x: auto;
	padding: 18px 20px;
	border-radius: 8px;
	background: #111;
	color: #fff;
	font-size: 15px;
	line-height: 1.6;
}
.agb-prose pre code {
	padding: 0;
	background: none;
	color: inherit;
}
.agb-prose hr {
	margin-block: 3em;
	border: 0;
	border-top: 1px solid var(--agb-border);
}
.agb-prose img {
	height: auto;
	border-radius: 8px;
}
.agb-prose figure {
	margin-inline: 0;
}
.agb-prose figcaption {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--agb-text-2);
}
.agb-prose .wp-block-image img {
	border: 1px solid var(--agb-border);
}
.agb-prose .agb-was-h1 {
	font-size: clamp(26px, 2.6vw, 32px);
}

/* Notes written as quotes. */
.agb-prose blockquote.agb-note {
	margin-inline: 0;
	padding: 22px 26px;
	border: 0;
	border-radius: 8px;
	background: var(--agb-peach);
	font-size: 17px;
	font-style: normal;
}
.agb-prose blockquote.agb-note > * + * {
	margin-top: .7em;
}
.agb-prose blockquote.agb-note cite {
	display: block;
	font-size: 14px;
	font-style: normal;
	color: var(--agb-text-2);
}

/* Step headings: "1. Installer" gets a badge, "Étape 1 — …" a label. */
body.agb .agb-prose .agb-step--numbered {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 16px;
}
.agb-step-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 4px;
	background: var(--agb-coral);
	color: #000;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	transform: translateY(-2px);
}
.agb-step-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}
.agb-step-kicker::before {
	content: "";
	width: 20px;
	height: 3px;
	background: var(--agb-coral);
}

/* Tables: scroll on small screens, or one card per row when the table has
   column titles. */
.agb-prose .agb-table {
	margin-inline: 0;
	overflow-x: auto;
	border: 1px solid var(--agb-border);
	border-radius: 8px;
}
.agb-prose .agb-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}
.agb-prose .agb-table th,
.agb-prose .agb-table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--agb-border);
	text-align: left;
	vertical-align: top;
}
.agb-prose .agb-table thead th {
	background: var(--agb-peach);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.agb-prose .agb-table thead,
.agb-prose .agb-table tfoot {
	border: 0;
}
.agb-prose .agb-table tbody tr:last-child > * {
	border-bottom: 0;
}
.agb-prose .agb-table figcaption {
	padding: 10px 16px;
	margin: 0;
}
@media (max-width: 600px) {
	.agb-prose .agb-table:has(.agb-cards-sm) {
		overflow: visible;
		border: 0;
		border-radius: 0;
	}
	.agb-prose .agb-cards-sm thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	.agb-prose .agb-cards-sm,
	.agb-prose .agb-cards-sm tbody,
	.agb-prose .agb-cards-sm tr,
	.agb-prose .agb-cards-sm td,
	.agb-prose .agb-cards-sm th {
		display: block;
		width: 100%;
	}
	.agb-prose .agb-cards-sm tr {
		margin-bottom: 12px;
		border: 1px solid var(--agb-border);
		border-radius: 8px;
		overflow: hidden;
	}
	.agb-prose .agb-table .agb-cards-sm td,
	.agb-prose .agb-table .agb-cards-sm th {
		padding: 10px 14px;
	}
	.agb-prose .agb-table .agb-cards-sm tbody tr:last-child > * {
		border-bottom: 1px solid var(--agb-border);
	}
	.agb-prose .agb-table .agb-cards-sm tr > :last-child {
		border-bottom: 0;
	}
	.agb-prose .agb-cards-sm [data-label]::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: .06em;
		text-transform: uppercase;
		color: var(--agb-text-2);
	}
	.agb-prose .agb-cards-sm tr > :first-child {
		background: var(--agb-peach);
		font-weight: 700;
	}
}

/* ---------------------------------------------------------- article end */
.agb-article-end {
	display: grid;
	gap: 64px;
	margin-top: 72px;
}
.agb-article-end > * {
	max-width: var(--agb-prose);
}
.agb-article-end > .agb-cta,
.agb-article-end > .agb-related {
	max-width: none;
}
.agb-pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: none;
	padding-top: 32px;
	border-top: 1px solid #000;
}
.agb-pager-link {
	display: grid;
	gap: 6px;
	align-content: start;
	padding: 22px 24px;
	border: 1px solid var(--agb-border);
	border-radius: 8px;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
.agb-pager-link:hover {
	border-color: #000;
	background: var(--agb-peach);
}
.agb-pager-next {
	grid-column: 2;
	text-align: right;
}
.agb-pager-dir {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--agb-text-2);
}
.agb-pager-prev .agb-pager-dir::before {
	content: "← ";
}
.agb-pager-next .agb-pager-dir::after {
	content: " →";
}
.agb-pager-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}
@media (max-width: 600px) {
	.agb-pager {
		grid-template-columns: 1fr;
	}
	.agb-pager-next {
		grid-column: auto;
	}
}
.agb-related {
	display: grid;
	gap: 20px;
}

/* ---------------------------------------------------------------- CTA */
.agb-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	margin-top: 96px;
	padding: 48px;
	border-radius: 8px;
	background: var(--agb-peach);
}
.agb-article-end .agb-cta {
	margin-top: 0;
}
.agb-cta--offer {
	background: #000;
	color: #fff;
}
body.agb .agb-cta--offer .agb-cta-title {
	color: #fff;
}
.agb-cta-copy {
	display: grid;
	gap: 10px;
	max-width: 620px;
}
body.agb .agb-cta-title {
	font-size: clamp(26px, 2.8vw, 36px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
}
.agb-cta p {
	font-size: 18px;
}
.agb-cta .agb-btn {
	flex: none;
}
.agb-cta--offer .agb-btn--primary {
	box-shadow: 3px 3px 0 #fff;
}
.agb-cta--offer .agb-btn--primary:hover {
	box-shadow: 4px 4px 0 #fff;
}
.agb-cta--offer :focus-visible {
	outline-color: #fff;
}
@media (max-width: 767px) {
	.agb-cta {
		flex-direction: column;
		align-items: stretch;
		margin-top: 64px;
		padding: 28px 22px;
	}
	.agb-cta .agb-btn {
		width: 100%;
	}
}

/* ---------------------------------------------------------------- footer */
.agb-footer {
	margin-top: 96px;
	padding: 72px 0 40px;
	background: #000;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}
.agb-footer a {
	color: #fff;
}
.agb-footer :focus-visible {
	outline-color: #fff;
}
.agb-footer-top {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}
.agb-footer-brand {
	display: grid;
	gap: 16px;
	align-content: start;
	max-width: 400px;
}
.agb-footer-brand img {
	display: block;
	width: 200px;
	height: auto;
}
.agb-footer-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, auto));
	column-gap: 40px;
	row-gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.agb-footer-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
}
.agb-footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.agb-footer-legal {
	margin-top: 40px !important;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .2);
	opacity: .8;
}
@media (max-width: 1024px) {
	.agb-footer-top {
		flex-direction: column;
	}
}
@media (max-width: 767px) {
	.agb-footer {
		margin-top: 64px;
		padding: 56px 0 32px;
	}
	.agb-footer-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------- reveals */
@media (prefers-reduced-motion: no-preference) {
	.agb-rv.is-pending {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity .7s var(--agb-ease), transform .7s var(--agb-ease);
	}
	.agb-rv.is-pending.is-in {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	body.agb *,
	body.agb *::before,
	body.agb *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
	.agb-progress {
		display: none;
	}
}

/* --------------------------------------------------------------- print */
@media print {
	.agb-header,
	.agb-footer,
	.agb-progress,
	.agb-toc-wrap,
	.agb-search,
	.agb-cta,
	.agb-pager,
	.agb-related {
		display: none !important;
	}
	.agb-article-head {
		background: none;
	}
}
