/* Site (prosilver) : habillage des blocs de présentation ajoutés au corps des pages (bandeau de titre des
   pages ; sur l'accueil, bandeau, chiffres clés, cartes, étapes, « Qui gère quoi » et appel à l'action), comme une
   feuille ajoutée par une extension (événement overall_header_stylesheets_after). Le style de phpBB n'est pas
   modifié : en-tête, barres, listes, panneaux, boutons, formulaires et pied de page restent ceux de prosilver.
   Habillage de prosilver depuis le 13/11/2026 : polices, couleurs des panneaux (bg1, bg2, bg3), dégradé de la barre
   d'en-tête, boutons et angles de prosilver, sans ombre portée (avant : polices Bricolage Grotesque et Schibsted
   Grotesk, dégradés et ombres). Couleurs claires et sombres en variables, le mode nuit posant data-theme="dark" sur la racine. Couleurs claires par défaut, même sans
   script : html:not([data-pb-plain]) vaut toujours (attribut jamais posé) et garde la spécificité de l'ancien
   sélecteur html[data-theme], qui ne valait qu'une fois l'attribut posé par le script du mode nuit (audit du
   11/11/2026).
   Couleurs du site reliées à celles de l'éditeur de style du forum système (variables --hs-style-<clé>, posées par
   style/service.php seulement pour les couleurs choisies, en clair et en mode nuit) ; sans réglage, couleurs d'origine.
   Les aplats (bandeaux, pastilles, boutons) prennent la couleur « Catégories » et son texte, lisible par construction
   (12/11/2026). */

html:not([data-pb-plain]) {
	--pb-bg: var(--hs-style-page, #f5f7fa);
	--pb-surface: var(--hs-style-panel, #ecf3f7);
	--pb-surface-2: var(--hs-style-row, #e1ebf2);
	--pb-line: #cadceb;
	--pb-ink: var(--hs-style-post-text, #333333);
	--pb-muted: var(--hs-style-text, #536482);
	--pb-title: #28313f;
	--pb-brand: var(--hs-style-link, #105289);
	--pb-brand-2: var(--hs-style-header, #12a3eb);
	--pb-brand-deep: var(--hs-style-category, #0076b1);
	--pb-brand-soft: #cadceb;
	--pb-accent: var(--hs-style-link-hover, #d31141);
	--pb-fill: var(--hs-style-category, #0076b1);
	--pb-fill-2: var(--hs-style-header, #12a3eb);
	--pb-on-white: var(--hs-style-link-hover, #d31141);
	--pb-on-fill: var(--hs-style-category-text, #ffffff);
	/* Dégradé de la barre d'en-tête de prosilver (colours.css, .headerbar) pour les grands aplats : liseré clair puis
	   couleur « Catégories », légèrement assombrie vers le bas, et non plus le bleu clair d'en-tête (#12a3eb : 2,8:1 avec
	   le blanc), pour que le texte blanc reste lisible sur tout l'aplat (WCAG AA 4,5:1 ; #0076b1 : 5,0:1, 13/11/2026). */
	--pb-bar: linear-gradient(to bottom, #6acaff 0%, var(--pb-fill) 2px, color-mix(in srgb, var(--pb-fill) 85%, #003b53) 100%);
	--pb-shadow: none;
	--pb-radius: 7px;
	--pb-display: "Trebuchet MS", Arial, Helvetica, sans-serif;
	--pb-text: Verdana, Helvetica, Arial, sans-serif;
}

html[data-theme="dark"] {
	--pb-bg: var(--hs-style-page, #242424);
	--pb-surface: var(--hs-style-panel, #2b3138);
	--pb-surface-2: var(--hs-style-row, #262b31);
	--pb-line: #3d4650;
	--pb-ink: var(--hs-style-post-text, #cfcfcf);
	--pb-muted: var(--hs-style-text, #a5b0bf);
	--pb-title: #c5d1e3;
	--pb-brand: var(--hs-style-link, #9ec7fc);
	--pb-brand-2: var(--hs-style-header, #0a5680);
	--pb-brand-deep: var(--hs-style-category, #084e73);
	--pb-brand-soft: #34404c;
	--pb-accent: var(--hs-style-link-hover, #ff7a98);
	--pb-fill: var(--hs-style-category, #084e73);
	--pb-fill-2: var(--hs-style-header, #0a5680);
	/* Barre d'en-tête de prosilver en mode nuit (nightmode/forum.css, .headerbar). */
	--pb-bar: linear-gradient(to bottom, #003b53 0%, var(--pb-fill-2) 2px, var(--pb-fill) 92px, var(--pb-fill) 100%);
	--pb-shadow: none;
}

/* Base commune des blocs. */
.pb-banner,
.pb-hero,
.pb-stats,
.pb-section,
.pb-cta {
	font-family: var(--pb-text);
	font-size: 11.5px;
	color: var(--pb-ink);
}

.pb-banner h2,
.pb-banner h1,
.pb-hero h2,
.pb-hero h1,
.pb-section h2,
.pb-section h3,
.pb-cta h2,
.pb-stat strong {
	font-family: var(--pb-display);
}

html:not([data-pb-plain]) .pb-banner h2,
html:not([data-pb-plain]) .pb-banner h1,
html:not([data-pb-plain]) .pb-section h2,
html:not([data-pb-plain]) .pb-section h3,
html:not([data-pb-plain]) .pb-cta h2 {
	border: 0;
	font-weight: 700;
	text-transform: none;
	text-decoration: none;
}

html:not([data-pb-plain]) .pb-section h2,
html:not([data-pb-plain]) .pb-banner h2,
html:not([data-pb-plain]) .pb-banner h1 {
	color: var(--pb-title);
}

/* Titres de section comme les h2 de prosilver (common.css) : Trebuchet MS sans gras. */
html:not([data-pb-plain]) .pb-section h2 {
	font-weight: normal;
}

/* Titre de la page en h1 sur les pages du site, nom du site en texte dans l'en-tête de prosilver (audit général du
   11/11/2026, website/site.php) : mêmes rendus qu'avant. */
.site-description .pb-sitename {
	margin: 15px 0 0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 2em;
	font-weight: bold;
	line-height: normal;
	color: var(--hs-style-header-text, #FFFFFF);
}

.pb-banner h1,
.pb-hero h1 {
	margin-right: 0;
	width: auto;
}

/* Téléphone : prosilver masque les paragraphes de l'en-tête (.site-description p, description du forum) ; le nom du
   site reste affiché, comme le h1 qu'il remplace (responsive.css de prosilver). */
@media (max-width: 700px) {
	.site-description p.pb-sitename {
		display: block;
		margin: 5px;
		line-height: 1.2em;
		text-align: inherit;
	}
}

.panel h1.message-title {
	margin: 0.5em 0;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #CCCCCC;
	color: #115098;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.6em;
	font-weight: normal;
}

html[data-theme="dark"] .panel h1.message-title {
	color: #c5d1e3;
	border-bottom-color: #3a3f47;
}

/* ---- Bandeau de titre des pages (ajouté par build.py autour du titre de la page) ---- */

.pb-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 10px 0 16px;
	padding: 18px 22px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

.pb-banner-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 7px;
	background: var(--pb-fill);
	color: var(--pb-on-fill);
	font-size: 24px;
}

.pb-banner-text {
	min-width: 0;
}

.pb-banner-kicker {
	margin: 0;
	color: var(--pb-brand);
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

html:not([data-pb-plain]) .pb-banner h2,
html:not([data-pb-plain]) .pb-banner h1 {
	margin: 2px 0 0;
	font-size: 2.4em;
	line-height: 1.15;
	text-wrap: balance;
}

.pb-banner-text > div p {
	margin: 4px 0 0;
	color: var(--pb-muted);
	font-size: 1.3em;
	line-height: 1.5;
}

/* ---- Accueil vitrine ---- */

.pb-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	margin: 10px 0 14px;
	padding: 34px 34px;
	border-radius: 7px;
	background: var(--pb-fill);
	background-image: var(--pb-bar);
	color: var(--pb-on-fill);
	box-shadow: var(--pb-shadow);
	overflow: hidden;
}

.pb-hero-kicker {
	margin: 0 0 8px;
	font-size: 1.1em;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pb-on-fill);
}

html:not([data-pb-plain]) .pb-hero h2,
html:not([data-pb-plain]) .pb-hero h1 {
	margin: 0;
	color: var(--pb-on-fill);
	font-size: 3.6em;
	font-weight: bold;
	line-height: 1.05;
	text-wrap: balance;
}

.pb-hero p.pb-hero-lead {
	margin: 12px 0 18px;
	max-width: 54ch;
	color: var(--pb-on-fill);
	font-size: 1.45em;
	line-height: 1.55;
}

.pb-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Boutons de prosilver (buttons.css) tels quels, un peu plus grands. */
html:not([data-pb-plain]) .pb-hero .button {
	font-size: 1.25em;
	padding: 4px 12px;
}

/* Aperçu d'un forum dans le bandeau d'accueil : une ligne de forum prosilver en miniature. */
.pb-hero-preview {
	display: grid;
	gap: 8px;
	padding: 14px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.pb-hero-address {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.22);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 1.15em;
	color: var(--pb-on-fill);
	overflow-wrap: anywhere;
}

.pb-hero-address b {
	color: #ffe28a;
	font-weight: 600;
}

.pb-hero-forum {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 10px;
	border-radius: 5px;
	background: #ffffff;
	color: #1c2a39;
}

.pb-hero-forum img {
	width: 32px;
	height: 32px;
}

.pb-hero-forum strong {
	display: block;
	color: #105289;
	font-family: var(--pb-display);
	font-size: 1.3em;
}

.pb-hero-forum span {
	color: #5a6b7e;
	font-size: 1.05em;
}

.pb-hero-forum em {
	font-style: normal;
	font-family: var(--pb-display);
	font-size: 1.3em;
	font-weight: 600;
	color: #1c2a39;
	font-variant-numeric: tabular-nums;
}

/* Chiffres clés. */
.pb-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 14px;
}

.pb-stat {
	padding: 14px 16px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

.pb-stat strong {
	display: block;
	color: var(--pb-ink);
	font-family: var(--pb-display);
	font-size: 2.6em;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.pb-stat span {
	color: var(--pb-muted);
	font-size: 1.2em;
}

/* Sections de présentation. */
.pb-section {
	margin: 26px 0 20px;
}

.pb-section-head {
	margin: 0 0 12px;
}

html:not([data-pb-plain]) .pb-section-head h2 {
	margin: 0;
	font-size: 2.2em;
	line-height: 1.15;
	text-wrap: balance;
}

.pb-section-head p {
	margin: 4px 0 0;
	max-width: 70ch;
	color: var(--pb-muted);
	font-size: 1.3em;
}

.pb-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.pb-card {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 4px 12px;
	align-content: start;
	padding: 14px 16px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

.pb-card .icon {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 5px;
	background: var(--pb-brand-soft);
	color: var(--pb-brand);
	font-size: 18px;
}

html:not([data-pb-plain]) .pb-card h3 {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--pb-ink);
	font-size: 1.35em;
}

.pb-card p {
	margin: 0;
	color: var(--pb-muted);
	font-size: 1.15em;
	line-height: 1.5;
}

.pb-also {
	margin: 12px 0 0;
	color: var(--pb-muted);
	font-size: 1.2em;
}

/* Étapes de la demande : la suite est réelle (une demande passe par les quatre). */
.pb-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pb-step;
}

.pb-steps li {
	position: relative;
	padding: 16px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	counter-increment: pb-step;
}

.pb-steps li::before {
	content: counter(pb-step);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--pb-fill);
	color: var(--pb-on-fill);
	font-family: var(--pb-display);
	font-size: 1.3em;
	font-weight: 700;
}

html:not([data-pb-plain]) .pb-steps h3 {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	color: var(--pb-ink);
	font-size: 1.35em;
}

.pb-steps p {
	margin: 0;
	color: var(--pb-muted);
	font-size: 1.15em;
	line-height: 1.5;
}

/* Étapes en bref de l'accueil (13/11/2026) : numéro à côté du titre, cartes plus basses. */
.pb-steps-short li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	column-gap: 10px;
	align-content: start;
	align-items: center;
	padding: 14px;
}

.pb-steps-short li::before {
	margin: 0;
}

.pb-steps-short p {
	grid-column: 1 / -1;
	margin-top: 8px;
}

/* Qui gère quoi : deux colonnes. */
.pb-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.pb-split > div {
	padding: 16px 18px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

.pb-split > div.pb-split-host {
	background: var(--pb-brand-soft);
}

html:not([data-pb-plain]) .pb-split h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	color: var(--pb-brand);
	font-size: 1.45em;
}

.pb-split dl {
	margin: 0;
	display: grid;
	gap: 8px;
}

.pb-split dt {
	color: var(--pb-ink);
	font-size: 1.2em;
	font-weight: 700;
}

.pb-split dd {
	margin: 0;
	color: var(--pb-muted);
	font-size: 1.15em;
}

.pb-note {
	margin: 10px 0 0;
	color: var(--pb-muted);
	font-size: 1.15em;
}

/* Appel à l'action de fin d'accueil. */
.pb-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin: 22px 0 18px;
	padding: 22px 26px;
	border-radius: 7px;
	background: var(--pb-fill);
	background-image: var(--pb-bar);
	color: var(--pb-on-fill);
	box-shadow: var(--pb-shadow);
}

html:not([data-pb-plain]) .pb-cta h2 {
	margin: 0;
	color: var(--pb-on-fill);
	font-size: 2.2em;
}

.pb-cta p {
	margin: 4px 0 0;
	color: var(--pb-on-fill);
	font-size: 1.3em;
}

html:not([data-pb-plain]) .pb-cta .button {
	font-size: 1.25em;
	padding: 4px 12px;
}

/* Raccourcis du site (remplacent sur l'accueil la catégorie « phpBBHost » de la liste des forums). */
.pb-shortcuts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
}

.pb-shortcut {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	gap: 6px;
	padding: 16px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	color: var(--pb-ink);
	text-decoration: none;
	transition: border-color 0.15s, transform 0.15s;
}

html:not([data-pb-plain]) a.pb-shortcut,
html:not([data-pb-plain]) a.pb-shortcut:hover {
	color: var(--pb-ink);
	text-decoration: none;
}

.pb-shortcut:hover {
	border-color: var(--pb-fill-2);
	transform: translateY(-2px);
}

.pb-shortcut-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 5px;
	background: var(--pb-fill);
	color: var(--pb-on-fill);
	font-size: 17px;
}

.pb-shortcut strong {
	font-family: var(--pb-display);
	font-size: 1.4em;
	font-weight: 700;
	color: var(--pb-brand);
}

.pb-shortcut-text {
	color: var(--pb-muted);
	font-size: 1.12em;
	line-height: 1.5;
}

.pb-shortcut-meta {
	padding-top: 8px;
	border-top: 1px solid var(--pb-line);
	color: var(--pb-muted);
	font-size: 1.05em;
	font-variant-numeric: tabular-nums;
}

.pb-new {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 4px;
	background: var(--pb-on-white);
	color: #ffffff;
	font-family: var(--pb-text);
	font-size: 0.6em;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.04em;
	vertical-align: middle;
	text-transform: uppercase;
}

/* Forums à la une (remplacent sur l'accueil la liste prosilver du même nom). */
.pb-section-head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 20px;
}

.pb-more {
	font-size: 1.2em;
	font-weight: 600;
	white-space: nowrap;
}

.pb-forums {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.pb-forum {
	display: grid;
	grid-template-rows: auto auto 1fr auto auto;
	gap: 10px;
	padding: 16px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

.pb-forum-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	margin: -16px -16px 0;
	border-bottom: 1px solid var(--pb-line);
	border-radius: var(--pb-radius) var(--pb-radius) 0 0;
	background: var(--pb-surface-2);
	overflow: hidden;
}

.pb-forum-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.pb-forum-head {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

html:not([data-pb-plain]) .pb-forum-name {
	display: block;
	color: var(--pb-brand);
	font-family: var(--pb-display);
	font-size: 1.45em;
	font-weight: 700;
	line-height: 1.2;
}

.pb-forum-address {
	display: block;
	color: var(--pb-muted);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 1em;
	overflow-wrap: anywhere;
}

.pb-forum-desc {
	margin: 0;
	color: var(--pb-ink);
	font-size: 1.15em;
	line-height: 1.5;
}

html:not([data-pb-plain]) .pb-chip {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 4px;
	background: var(--pb-brand-soft);
	color: var(--pb-brand);
	font-weight: 600;
}

.pb-forum-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--pb-line);
}

.pb-forum-stats dt {
	color: var(--pb-muted);
	font-size: 1em;
	font-weight: 400;
}

.pb-forum-stats dd {
	margin: 0;
	color: var(--pb-ink);
	font-family: var(--pb-display);
	font-size: 1.6em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* Lecture d'un article (views/news.php) : en-tête d'article (rubrique, titre, auteur, date, durée de lecture) sur une
   couverture, corps posé sur la couverture, puis appel à l'action et navigation entre articles. */
.pb-post {
	margin: 10px 0 14px;
	font-family: var(--pb-text);
	font-size: 11.5px;
	color: var(--pb-ink);
}

.pb-post-hero {
	position: relative;
	padding: 34px 40px 74px;
	border-radius: 7px 7px 0 0;
	background: var(--pb-fill);
	background-image: var(--pb-bar);
	color: var(--pb-on-fill);
	overflow: hidden;
}

.pb-post-pattern {
	position: absolute;
	right: -20px;
	bottom: -60px;
	color: rgba(255, 255, 255, 0.08);
	font-size: 260px;
	line-height: 1;
	pointer-events: none;
}

html:not([data-pb-plain]) a.pb-post-rubric {
	position: relative;
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	color: var(--pb-on-fill);
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Titre de l'article : h1.topic-title du gabarit (le sélecteur h2 ne s'appliquait plus, 13/11/2026). */
html:not([data-pb-plain]) .pb-post-hero h1 {
	position: relative;
	max-width: 22ch;
	margin: 14px 0 18px;
	padding: 0;
	border: 0;
	color: var(--pb-on-fill);
	font-family: var(--pb-display);
	font-size: 3.6em;
	font-weight: bold;
	line-height: 1.08;
	text-transform: none;
	text-wrap: balance;
}

.pb-post-meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin: 0;
}

.pb-post-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pb-post-author b,
.pb-post-author small {
	display: block;
}

.pb-post-author b {
	font-size: 1.25em;
}

.pb-post-author small {
	color: var(--pb-on-fill);
	font-size: 1em;
}

.pb-post-hero .pb-avatar {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.pb-post-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	color: var(--pb-on-fill);
	font-size: 1.15em;
}

.pb-post-body {
	position: relative;
	max-width: 760px;
	margin: -48px auto 0;
	padding: 30px 36px 30px;
	border: 1px solid var(--pb-line);
	border-radius: 7px;
	background: var(--pb-surface);
	box-shadow: none;
	font-size: 1.45em;
	line-height: 1.7;
}

.pb-post-body p {
	margin: 0 0 1em;
}

/* Listes [list] d’un article : phpBB ne rend aucun saut de ligne après [/list] (bloc), la marge du bas tient lieu
   de la ligne vide (line-height) pour que le titre suivant ne colle pas à la liste. */
.pb-post-body ul,
.pb-post-body ol {
	margin: 0.4em 0 1.7em 2em;
	padding: 0;
}

html:not([data-pb-plain]) .pb-post-body h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 1.5em 0 0.6em;
	padding: 0;
	border: 0;
	color: var(--pb-ink);
	font-family: var(--pb-display);
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}

html:not([data-pb-plain]) .pb-post-body h3::before {
	content: "";
	flex: none;
	width: 18px;
	height: 4px;
	border-radius: 2px;
	background: var(--pb-fill);
}

html:not([data-pb-plain]) .pb-post-body a {
	color: var(--pb-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pb-post-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: stretch;
	margin: 0 0 16px;
	font-family: var(--pb-text);
	font-size: 11.5px;
}

.pb-post-next {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	overflow: hidden;
	transition: border-color 0.15s;
}

html:not([data-pb-plain]) a.pb-post-next,
html:not([data-pb-plain]) a.pb-post-next:hover,
html:not([data-pb-plain]) a.pb-post-all,
html:not([data-pb-plain]) a.pb-post-all:hover {
	color: var(--pb-ink);
	text-decoration: none;
}

.pb-post-next:hover,
.pb-post-all:hover {
	border-color: var(--pb-fill-2);
}

.pb-post-next-cover {
	display: grid;
	place-items: center;
	background: var(--pb-fill);
	background-image: var(--pb-bar);
	color: rgba(255, 255, 255, 0.9);
	color: color-mix(in srgb, var(--pb-on-fill) 90%, transparent);
	font-size: 28px;
}

.pb-post-next-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 14px 16px;
}

.pb-post-next-text em {
	color: var(--pb-muted);
	font-size: 1.05em;
	font-style: normal;
}

.pb-post-next-text strong {
	color: var(--pb-brand);
	font-family: var(--pb-display);
	font-size: 1.45em;
	font-weight: 700;
}

.pb-post-next-text small {
	color: var(--pb-muted);
	font-size: 1em;
}

.pb-post-all {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 20px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	font-size: 1.25em;
	font-weight: 700;
	white-space: nowrap;
}

/* Annuaire : description d'un forum classé sur deux lignes (audit du 11/11/2026). */
.pb-rdesc {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: var(--pb-muted);
	font-size: .95em;
	line-height: 1.4;
}

/* Mention visible « exemple » au-dessus de l'aperçu du bandeau de l'accueil (chiffres fictifs). */
.pb-hero-example {
	margin: 0 0 6px;
	color: #ffffff;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.8;
}

/* Recherche des actualités et de l'annuaire : focus visible autour du champ (le champ lui-même n'a pas de contour). */
.pb-news-search:focus-within {
	outline: 2px solid var(--pb-brand);
	outline-offset: 2px;
}

/* Rubriques des actualités (pastilles) et articles liés d'un article (audit du 11/11/2026). */
.pb-news-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	font-size: 1.1em;
}

.pb-news-categories .pb-chip {
	text-decoration: none;
}

html:not([data-pb-plain]) .pb-news-categories .pb-chip-on {
	background: var(--pb-brand);
	color: #fff;
}

/* Mode nuit : texte foncé sur le bleu clair des liens (#9ec7fc : 1,7:1 avec le blanc, 8,4:1 avec #042b40). */
html[data-theme="dark"]:not([data-pb-plain]) .pb-news-categories .pb-chip-on {
	color: #042b40;
}

.pb-news-related {
	margin: 0 0 16px;
}

/* Actualités (views/news_index.php) : en-tête avec recherche, article à la une, grille, pages ; article
   (views/news.php) : appel à l'action et navigation entre articles. */
.pb-news-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 14px;
}

html:not([data-pb-plain]) .pb-news-head h2 {
	margin: 0;
	border: 0;
	color: var(--pb-title);
	font-size: 2.2em;
	font-weight: normal;
	text-transform: none;
}

.pb-news-head p {
	margin: 2px 0 0;
	color: var(--pb-muted);
	font-size: 1.2em;
	font-variant-numeric: tabular-nums;
}

.pb-news-search {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 4px 4px 4px 12px;
	border: 1px solid var(--pb-line);
	border-radius: 5px;
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

.pb-news-search .icon {
	color: var(--pb-muted);
	font-size: 14px;
}

html:not([data-pb-plain]) .pb-news-search input {
	width: 220px;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--pb-ink);
	font-family: var(--pb-text);
	font-size: 1.25em;
	outline: none;
}

html:not([data-pb-plain]) .pb-news-search .button {
	border: 0;
	border-radius: 4px;
	background: var(--pb-fill);
	color: var(--pb-on-fill);
	font-size: 1.15em;
	padding: 5px 12px;
}

.pb-news-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 96px;
	padding: 0 14px;
	background: var(--pb-fill);
	background-image: var(--pb-bar);
	color: var(--pb-on-fill);
	font-family: var(--pb-display);
	font-size: 1.7em;
	font-weight: 700;
	text-align: center;
}

.pb-news-cover .icon {
	font-size: 0.95em;
	opacity: 0.85;
}

.pb-news-cover-large {
	height: auto;
	min-height: 240px;
	font-size: 2.8em;
}

/* Site : image de couverture d'un article (sinon l'icône de la rubrique) et images du texte des articles. */
.pb-news-cover-image {
	padding: 0;
	overflow: hidden;
}

.pb-news-cover-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pb-post-cover {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 18px;
	border-radius: var(--pb-radius);
}

.pb-post-body img {
	max-width: 100%;
	height: auto;
}

.pb-news-featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	margin: 0 0 14px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	overflow: hidden;
	color: var(--pb-ink);
	text-decoration: none;
	transition: border-color 0.15s;
}

.pb-news-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	padding: 16px;
}

.pb-news-featured .pb-news-content {
	justify-content: center;
	padding: 24px 26px;
}

.pb-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.pb-news-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	overflow: hidden;
	color: var(--pb-ink);
	text-decoration: none;
	transition: border-color 0.15s, transform 0.15s;
}

.pb-news-card .pb-news-content {
	flex: 1;
}

html:not([data-pb-plain]) a.pb-news-card,
html:not([data-pb-plain]) a.pb-news-card:hover,
html:not([data-pb-plain]) a.pb-news-featured,
html:not([data-pb-plain]) a.pb-news-featured:hover {
	color: var(--pb-ink);
	text-decoration: none;
}

.pb-news-card:hover,
.pb-news-featured:hover {
	border-color: var(--pb-fill-2);
}

.pb-news-card:hover {
	transform: translateY(-2px);
}

.pb-news-meta {
	color: var(--pb-muted);
	font-size: 1.05em;
	font-variant-numeric: tabular-nums;
}

.pb-news-card strong,
.pb-news-featured strong {
	color: var(--pb-ink);
	font-family: var(--pb-display);
	font-size: 1.45em;
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

.pb-news-featured strong {
	font-size: 2.2em;
	line-height: 1.15;
}

.pb-news-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	color: var(--pb-muted);
	font-size: 1.15em;
	line-height: 1.5;
}

.pb-news-featured .pb-news-excerpt {
	font-size: 1.3em;
}

.pb-news-more {
	margin-top: auto;
	padding-top: 6px;
	color: var(--pb-brand);
	font-size: 1.1em;
	font-weight: 700;
}

.pb-news-cta {
	margin-top: 6px;
	padding: 7px 14px;
	border-radius: 4px;
	background: var(--pb-fill);
	color: var(--pb-on-fill);
	font-size: 1.2em;
	font-weight: 700;
}

html:not([data-pb-plain]) .pb-cta.pb-cta-small {
	margin: 14px 0;
	padding: 16px 20px;
}

html:not([data-pb-plain]) .pb-cta.pb-cta-small h2 {
	font-size: 1.7em;
}

/* Annuaire (views/dir_index.php) : cartes des catégories. */
.pb-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.pb-cat {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	grid-template-rows: 1fr auto;
	gap: 10px 12px;
	padding: 14px 16px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	transition: border-color 0.15s, transform 0.15s;
}

html:not([data-pb-plain]) a.pb-cat,
html:not([data-pb-plain]) a.pb-cat:hover,
html:not([data-pb-plain]) a.pb-rcard,
html:not([data-pb-plain]) a.pb-rcard:hover,
html:not([data-pb-plain]) a.pb-pill {
	color: var(--pb-ink);
	text-decoration: none;
}

.pb-cat:hover,
.pb-rcard:hover {
	border-color: var(--pb-fill-2);
	transform: translateY(-2px);
}

.pb-cat-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 5px;
	background: var(--pb-fill);
	color: var(--pb-on-fill);
	font-size: 19px;
}

.pb-cat-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.pb-cat-text strong {
	color: var(--pb-ink);
	font-family: var(--pb-display);
	font-size: 1.4em;
	font-weight: 700;
	line-height: 1.2;
}

.pb-cat-text span {
	color: var(--pb-muted);
	font-size: 1.12em;
	line-height: 1.45;
}

.pb-cat-count {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 8px;
	border-top: 1px solid var(--pb-line);
	color: var(--pb-brand);
	font-size: 1.12em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* Catégorie et recherche (partials/forum_sort.php, forum_rank.php) : tri en boutons, cartes classées avec capture. */
.pb-sort {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

.pb-sort-label {
	color: var(--pb-muted);
	font-size: 1.1em;
	font-weight: 600;
}

.pb-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-right: 8px;
}

.pb-pill {
	padding: 4px 11px;
	border: 1px solid var(--pb-line);
	border-radius: 4px;
	background: var(--pb-surface-2);
	font-size: 1.1em;
	font-weight: 600;
}

html:not([data-pb-plain]) a.pb-pill:hover {
	border-color: var(--pb-fill-2);
}

html:not([data-pb-plain]) a.pb-pill.pb-pill-on {
	border-color: var(--pb-fill);
	background: var(--pb-fill);
	color: var(--pb-on-fill);
}

.pb-count {
	margin: 0 0 10px;
	color: var(--pb-muted);
	font-size: 1.15em;
	font-variant-numeric: tabular-nums;
}

.pb-rgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pb-rcard {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	overflow: hidden;
	transition: border-color 0.15s, transform 0.15s;
}

.pb-rthumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	max-width: 100%;
	border-bottom: 1px solid var(--pb-line);
	background: var(--pb-surface-2);
	overflow: hidden;
}

.pb-rthumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.pb-rank-badge {
	position: absolute;
	left: 8px;
	bottom: 8px;
	min-width: 26px;
	padding: 3px 7px;
	border-radius: 4px;
	background: rgba(11, 30, 52, 0.82);
	color: #ffffff;
	font-family: var(--pb-display);
	font-size: 1.3em;
	font-weight: 700;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.pb-rank-trophy {
	position: absolute;
	right: 8px;
	bottom: 8px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f6c343;
	color: #6b4a00;
	font-size: 14px;
	box-shadow: none;
}

.pb-rbody {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 14px 14px;
}

.pb-rbody strong {
	color: var(--pb-brand);
	font-family: var(--pb-display);
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.25;
}

.pb-rbody strong .icon {
	color: var(--pb-muted);
	font-size: 0.7em;
}

.pb-rstats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 10px;
	color: var(--pb-muted);
	font-size: 1.05em;
}

.pb-stat-item b {
	color: var(--pb-ink);
	font-variant-numeric: tabular-nums;
}

.pb-stat-on {
	color: var(--pb-brand);
	font-weight: 700;
}

.pb-stat-on b {
	color: var(--pb-brand);
}

/* Initiale de l'auteur d'un article (phpbbhost_site_news.html). */
.pb-avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--av, var(--pb-brand));
	color: #ffffff;
	font-family: var(--pb-display);
	font-size: 1.5em;
	font-weight: 700;
}

/* Mode nuit : même texte foncé que .pb-chip-on sur le bleu clair des liens. */
html[data-theme="dark"] .pb-avatar {
	color: #042b40;
}

/* Gestion de mes forums (module « Mes forums » de l'UCP, ucp_myforums.html) : cartes des forums et export. */
.pb-mf {
	font-family: var(--pb-text);
	font-size: 11.5px;
	color: var(--pb-ink);
}

.pb-mf-intro {
	margin: 0 0 4px;
	font-size: 1.25em;
}

.pb-mf-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	margin: 0 0 12px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
	overflow: hidden;
}

.pb-mf-thumb {
	position: relative;
	display: block;
	max-width: 100%;
	min-height: 140px;
	border-right: 1px solid var(--pb-line);
	background: var(--pb-surface-2);
	overflow: hidden;
}

.pb-mf-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.pb-mf-thumb-pending img {
	object-fit: contain;
	padding: 24px;
	opacity: 0.6;
}

.pb-mf-capture {
	position: absolute;
	left: 8px;
	bottom: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	background: rgba(11, 30, 52, 0.8);
	color: #ffffff;
	font-size: 0.95em;
	font-weight: 600;
}

.pb-mf-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 14px 16px;
}

.pb-mf-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.pb-mf-title strong {
	color: var(--pb-ink);
	font-family: var(--pb-display);
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1.2;
}

.pb-mf-state {
	padding: 2px 9px;
	border-radius: 4px;
	font-size: 1em;
	font-weight: 700;
}

.pb-mf-state-ok {
	background: #e3f5e8;
	color: #1b7a33;
}

html[data-theme="dark"] .pb-mf-state-ok {
	background: #173525;
	color: #7fdc9d;
}

.pb-mf-address {
	color: var(--pb-muted);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 1.1em;
	overflow-wrap: anywhere;
}

.pb-mf-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0;
}

.pb-mf-facts dt {
	color: var(--pb-muted);
	font-size: 0.95em;
	font-weight: 400;
}

.pb-mf-facts dd {
	margin: 0;
	color: var(--pb-ink);
	font-size: 1.12em;
	font-weight: 600;
}

.pb-mf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

html:not([data-pb-plain]) .pb-mf-primary,
html:not([data-pb-plain]) .pb-mf-secondary {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 13px;
	border-radius: 4px;
	font-size: 1.12em;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

html:not([data-pb-plain]) .pb-mf-primary {
	background: var(--pb-fill);
	color: var(--pb-on-fill);
}

html:not([data-pb-plain]) .pb-mf-secondary {
	border: 1px solid var(--pb-line);
	background: var(--pb-surface);
	color: var(--pb-ink);
}

html:not([data-pb-plain]) .pb-mf-secondary:hover {
	border-color: var(--pb-fill-2);
}

/* Site : export des données et ouverture de l'administration envoyés par un bouton de formulaire (jeton de
   phpBB), au même aspect que les liens. */
html:not([data-pb-plain]) button.pb-mf-secondary,
html:not([data-pb-plain]) button.pb-mf-primary {
	cursor: pointer;
	font-family: inherit;
	line-height: inherit;
}

html:not([data-pb-plain]) button.pb-mf-primary {
	border: 0;
}

.pb-mf-data {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border: 1px dashed var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface-2);
}

.pb-mf-data-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 5px;
	background: var(--pb-brand-soft);
	color: var(--pb-brand);
	font-size: 17px;
}

.pb-mf-data strong {
	font-family: var(--pb-display);
	font-size: 1.3em;
}

.pb-mf-data p {
	margin: 2px 0 0;
	color: var(--pb-muted);
	font-size: 1.1em;
}

/* Demander un forum (views/request.php) : étapes avec icône, inclus et non proposé. */
.pb-steps-icons li::before {
	position: absolute;
	right: 14px;
	top: 14px;
	margin: 0;
}

.pb-step-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 10px;
	border-radius: 5px;
	background: var(--pb-brand-soft);
	color: var(--pb-brand);
	font-size: 18px;
}

html:not([data-pb-plain]) .pb-steps a {
	color: var(--pb-brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pb-offer {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.pb-offer-card {
	padding: 16px 18px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	box-shadow: var(--pb-shadow);
}

html:not([data-pb-plain]) .pb-offer-card h3 {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	font-size: 1.5em;
	text-transform: none;
}

html:not([data-pb-plain]) .pb-offer-yes h3 {
	color: #1b7a33;
}

html:not([data-pb-plain]) .pb-offer-no h3 {
	color: #b0173f;
}

html[data-theme="dark"] .pb-offer-yes h3 {
	color: #7fdc9d;
}

html[data-theme="dark"] .pb-offer-no h3 {
	color: #ff9db3;
}

/* Bon à savoir de /request : liste simple, mêmes lignes que les cartes de l'offre. */
.pb-req-good {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 4px 18px;
	border: 1px solid var(--pb-line);
	border-radius: 5px;
	background: var(--pb-surface);
	list-style: none;
}

.pb-req-good li {
	padding: 8px 0;
	border-top: 1px solid var(--pb-line);
	color: var(--pb-ink);
	font-size: 1.22em;
	line-height: 1.45;
}

.pb-req-good li:first-child {
	border-top: 0;
}

.pb-offer-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pb-offer-card li {
	position: relative;
	padding: 7px 0 7px 26px;
	border-top: 1px solid var(--pb-line);
	color: var(--pb-ink);
	font-size: 1.22em;
	line-height: 1.4;
}

.pb-offer-card li:first-child {
	border-top: 0;
}

.pb-offer-card li::before {
	position: absolute;
	left: 2px;
	top: 7px;
	font-family: FontAwesome;
	font-size: 0.95em;
}

.pb-offer-yes li::before {
	content: "\f00c";
	color: #1b8a1b;
}

.pb-offer-no li::before {
	content: "\f00d";
	color: #bc2a4d;
}

html[data-theme="dark"] .pb-offer-yes li::before {
	color: #7fdc9d;
}

html[data-theme="dark"] .pb-offer-no li::before {
	color: #ff9db3;
}

html:not([data-pb-plain]) .pb-offer-card a {
	color: var(--pb-brand);
}

/* ---- Téléphone et tablette ---- */

@media (max-width: 900px) {
	.pb-hero {
		grid-template-columns: 1fr;
		padding: 24px 20px;
	}

	.pb-cards,
	.pb-steps,
	.pb-forums,
	.pb-news-grid,
	.pb-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

}

@media (max-width: 700px) {
	html:not([data-pb-plain]) .pb-hero h2,
	html:not([data-pb-plain]) .pb-hero h1 {
		font-size: 2.6em;
	}

	.pb-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pb-cards,
	.pb-steps,
	.pb-split,
	.pb-offer,
	.pb-forums,
	.pb-news-featured,
	.pb-news-grid,
	.pb-cats {
		grid-template-columns: 1fr;
	}

	.pb-rgrid {
		grid-template-columns: 1fr;
	}

	.pb-mf-card,
	.pb-mf-data {
		grid-template-columns: 1fr;
	}

	.pb-mf-thumb {
		min-height: 0;
		aspect-ratio: 16 / 10;
		border-right: 0;
		border-bottom: 1px solid var(--pb-line);
	}

	.pb-news-cover-large {
		min-height: 140px;
		font-size: 2.2em;
	}

	.pb-news-search {
		width: 100%;
	}

	html:not([data-pb-plain]) .pb-news-search input {
		width: 100%;
		flex: 1;
	}

	.pb-banner {
		padding: 14px 16px;
	}

	.pb-post-hero {
		padding: 24px 18px 64px;
		border-radius: 7px 7px 0 0;
	}

	html:not([data-pb-plain]) .pb-post-hero h1 {
		font-size: 2.5em;
	}

	.pb-post-body {
		margin: -44px 8px 0;
		padding: 20px 16px 22px;
		font-size: 1.35em;
	}

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

	.pb-post-next {
		grid-template-columns: 84px minmax(0, 1fr);
	}

	.pb-post-all {
		justify-content: center;
		padding: 12px;
	}

	.pb-shortcuts {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.pb-shortcut {
		grid-template-columns: 38px minmax(0, 1fr);
		grid-template-rows: auto;
		gap: 2px 12px;
		padding: 12px 14px;
	}

	.pb-shortcut-icon {
		grid-row: span 3;
	}

	.pb-shortcut-meta {
		padding-top: 2px;
		border-top: 0;
	}

	.pb-banner-icon {
		width: 42px;
		height: 42px;
		font-size: 19px;
	}

	html:not([data-pb-plain]) .pb-banner h2,
	html:not([data-pb-plain]) .pb-banner h1 {
		font-size: 1.9em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pb-shortcut,
	.pb-news-card,
	.pb-cat,
	.pb-rcard,
	.pb-post-next {
		transition: none;
	}

	.pb-shortcut:hover,
	.pb-news-card:hover,
	.pb-cat:hover,
	.pb-rcard:hover {
		transform: none;
	}
}

/* Page « Demander un forum » : règles de l'adresse voulue, sous les étapes (audit du 11/11/2026). */
html:not([data-pb-plain]) .pb-req-rules {
	margin: 12px 0 0;
	padding: 10px 14px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-surface-2);
	color: var(--pb-muted);
	font-family: var(--pb-text);
	font-size: 13px;
}

/* Page « Demander un forum » : formulaire en assistant (14/11/2026, maquette validée par Bryx) : pastilles d'étapes,
   une étape à la fois (request.js, .pb-req-wizard), consigne de l'adresse en encadré d'info, adresses libres proposées,
   catégories en cartes, récapitulatif unique avant l'envoi. Boutons .button et liens de prosilver, sans couleur propre. */
/* Éléments masqués par l'attribut hidden (étapes, navigation sans script) malgré leur display. */
.pb-req-form [hidden] {
	display: none !important;
}

/* Pastilles d'étapes reliées par un trait ; étapes passées rouvrables (boutons sans habillage, couleur des liens). */
.pb-req-progress {
	display: flex;
	align-items: center;
	margin: 6px 0 22px;
	padding: 0;
	list-style: none;
}

.pb-req-progress li {
	display: flex;
	align-items: center;
	color: var(--pb-muted);
	font-size: 1.1em;
	white-space: nowrap;
}

.pb-req-progress li + li::before {
	content: "";
	width: 70px;
	height: 2px;
	margin: 0 12px;
	background: var(--pb-line);
}

.pb-req-progress .pb-req-progress-done + li::before,
.pb-req-progress .pb-req-progress-current::before {
	background: var(--pb-fill);
}

.pb-req-progress-step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: default;
}

.pb-req-progress-step:not(:disabled) {
	color: var(--pb-brand);
	cursor: pointer;
}

.pb-req-progress-step:not(:disabled):hover .pb-req-progress-label {
	text-decoration: underline;
}

.pb-req-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	border: 2px solid var(--pb-line);
	border-radius: 50%;
	font-weight: bold;
}

.pb-req-progress .pb-req-progress-done .pb-req-dot {
	border-color: var(--pb-fill);
	background: var(--pb-fill);
	color: var(--pb-on-fill);
}

.pb-req-progress .pb-req-progress-current {
	color: var(--pb-title);
	font-weight: bold;
}

.pb-req-progress .pb-req-progress-current .pb-req-dot {
	border-color: var(--pb-fill);
}

.pb-req-form .pb-req-step {
	margin: 0 0 18px;
}

.pb-req-form .pb-req-step-title {
	margin: 0 0 4px;
}

/* Paragraphes du formulaire à la taille du fieldset de prosilver (p : 1.1em dans common.css), comme les explications
   des formulaires natifs (dt span). */
.pb-req-form .pb-req-intro,
.pb-req-form .pb-req-help,
.pb-req-form .pb-req-terms,
.pb-req-form .pb-req-nav,
.pb-req-form .pb-req-submit,
.pb-req-form .pb-req-free p {
	font-size: 1em;
}

.pb-req-intro {
	margin: 0 0 16px;
	color: var(--pb-muted);
}

/* Consigne de l'adresse : encadré d'info (alerte « info » à la Bootstrap). */
.pb-req-alert {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 16px;
	padding: 10px 14px;
	border: 1px solid #b6d4fe;
	border-left-width: 4px;
	border-radius: 6px;
	background: #e7f1ff;
	color: #084298;
}

.pb-req-alert > .icon {
	margin-top: 1px;
	font-size: 1.25em;
}

.pb-req-alert ul {
	margin: 4px 0 0;
	padding-left: 18px;
	list-style: disc;
}

html[data-theme="dark"] .pb-req-alert {
	border-color: #2c4f7c;
	background: #182637;
	color: #9ec5fe;
}

.pb-req-field {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.pb-req-field > label,
.pb-req-field > legend {
	display: block;
	margin-bottom: 6px;
	padding: 0;
	font-weight: bold;
}

.pb-req-optional {
	color: var(--pb-muted);
	font-weight: normal;
}

/* Champs : plus hauts, espace intérieur, angles arrondis, contour au focus, liseré rouge si l'adresse est refusée. */
.pb-req-form .inputbox {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: 38px;
	padding: 7px 11px;
	border: 1px solid var(--pb-line);
	border-radius: 6px;
	background: var(--pb-bg);
	color: var(--pb-ink);
	font-size: 1.1em;
	line-height: 1.4;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.pb-req-form textarea.inputbox {
	height: 150px;
	resize: vertical;
}

.pb-req-form .inputbox::placeholder {
	color: var(--pb-muted);
	opacity: 0.75;
}

.pb-req-form .inputbox:focus {
	border-color: var(--pb-fill);
	outline: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-fill) 30%, transparent);
}

.pb-req-form .inputbox.pb-req-input-ko {
	border-color: #bc2a4d;
	box-shadow: 0 0 0 3px color-mix(in srgb, #bc2a4d 22%, transparent);
}

html[data-theme="dark"] .pb-req-form .inputbox.pb-req-input-ko {
	border-color: #ff9db3;
}

.pb-req-help {
	margin: 5px 0 0;
	color: var(--pb-muted);
}

/* Adresse : champ avec icône d'état, domaine en complément accolé. */
.pb-req-address {
	display: flex;
	max-width: 560px;
}

.pb-req-address-input {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
}

.pb-req-form .pb-req-address .inputbox {
	height: 42px;
	padding-right: 34px;
	font-size: 1.25em;
}

.pb-req-address-part {
	display: flex;
	align-items: center;
	padding: 0 14px;
	border: 1px solid var(--pb-line);
	background: var(--pb-surface-2);
	color: var(--pb-muted);
	font-size: 1.25em;
	white-space: nowrap;
}

.pb-req-address-after {
	border-left: 0;
	border-radius: 0 6px 6px 0;
}

.pb-req-address-before {
	border-right: 0;
	border-radius: 6px 0 0 6px;
}

.pb-req-form .pb-req-address-input:not(:last-child) .inputbox {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.pb-req-form .pb-req-address-before + .pb-req-address-input .inputbox {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.pb-req-address-icon {
	position: absolute;
	top: 50%;
	right: 10px;
	font-size: 1.25em;
	transform: translateY(-50%);
	pointer-events: none;
}

.pb-req-check {
	display: block;
	margin-top: 6px;
	color: var(--pb-muted);
}

.pb-req-check:empty {
	display: none;
}

.pb-req-check-ok,
.pb-req-address-icon.fa-check-circle,
.pb-req-free-choice .icon {
	color: #1a7f37;
}

.pb-req-check-ko,
.pb-req-address-icon.fa-times-circle,
.pb-req-count-short {
	color: #bc2a4d;
}

.pb-req-check-ok,
.pb-req-check-ko {
	font-weight: bold;
}

html[data-theme="dark"] .pb-req-check-ok,
html[data-theme="dark"] .pb-req-address-icon.fa-check-circle,
html[data-theme="dark"] .pb-req-free-choice .icon {
	color: #7fdc9d;
}

html[data-theme="dark"] .pb-req-check-ko,
html[data-theme="dark"] .pb-req-address-icon.fa-times-circle,
html[data-theme="dark"] .pb-req-count-short {
	color: #ff9db3;
}

/* Adresses libres : petit encadré sous le message, boutons de prosilver à cliquer. */
.pb-req-free {
	max-width: 560px;
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px dashed var(--pb-line);
	border-radius: 6px;
}

.pb-req-free p {
	margin: 0 0 8px;
	color: var(--pb-muted);
}

.pb-req-free-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pb-req-free-domain {
	color: var(--pb-muted);
}

/* Titre et description côte à côte. */
.pb-req-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

/* Catégories en cartes : bouton radio visible (clavier, lecteurs d'écran), carte cochée encadrée. */
.pb-req-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.pb-req-cat {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border: 1px solid var(--pb-line);
	border-radius: 6px;
	background: var(--pb-surface-2);
	cursor: pointer;
}

.pb-req-cat input {
	margin: 0;
}

.pb-req-cat .icon {
	color: var(--pb-brand);
	font-size: 1.3em;
	text-align: center;
}

.pb-req-cat:has(input:checked) {
	padding: 8px 9px;
	border: 2px solid var(--pb-fill);
	font-weight: bold;
}

.pb-req-cat-later {
	border-style: dashed;
	color: var(--pb-muted);
}

.pb-req-cat-later .icon {
	color: var(--pb-muted);
}

/* Fieldset imbriqué : taille du fieldset parent (prosilver met 1.1em à chaque fieldset), légende comme les libellés. */
.pb-req-form .pb-req-categories {
	font-size: 1em;
}

.pb-req-categories > legend {
	color: inherit;
	font-size: 1em;
	line-height: inherit;
}

.pb-req-categories .pb-req-help {
	margin-top: 8px;
}

/* Compteur du projet dans l'angle du champ. */
.pb-req-area {
	position: relative;
}

.pb-req-count {
	position: absolute;
	right: 12px;
	bottom: 9px;
	color: var(--pb-muted);
	font-size: 0.95em;
	white-space: nowrap;
	pointer-events: none;
}

.pb-req-form .pb-req-area textarea.inputbox {
	padding-bottom: 26px;
}

.pb-req-nav,
.pb-req-submit {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin: 8px 0 0;
}

.pb-req-submit .button[type="submit"] {
	margin-left: auto;
}

/* Récapitulatif unique : une ligne par champ, « Modifier » à droite (lien de prosilver). */
.pb-req-summary {
	margin: 0 0 16px;
	border: 1px solid var(--pb-line);
	border-radius: 6px;
	background: var(--pb-surface-2);
}

.pb-req-summary h4 {
	margin: 0;
	padding: 10px 14px;
	border-bottom: 1px solid var(--pb-line);
	color: var(--pb-title);
	font-size: 1.05em;
}

.pb-req-summary-row {
	display: grid;
	grid-template-columns: 160px 1fr auto;
	gap: 12px;
	padding: 9px 14px;
	border-top: 1px solid var(--pb-line);
}

.pb-req-summary-row:first-child {
	border-top: 0;
}

.pb-req-summary-key {
	color: var(--pb-muted);
	font-weight: bold;
}

.pb-req-summary-value {
	color: var(--pb-ink);
	overflow-wrap: anywhere;
	white-space: pre-line;
}

.pb-req-edit {
	white-space: nowrap;
}

.pb-req-terms {
	margin: 0 0 12px;
}

.pb-req-terms label {
	display: inline-flex;
	gap: 8px;
	align-items: baseline;
}

@media (max-width: 700px) {
	.pb-req-row {
		grid-template-columns: 1fr;
	}

	.pb-req-cats {
		grid-template-columns: 1fr 1fr;
	}

	.pb-req-progress li + li::before {
		width: 24px;
		margin: 0 6px;
	}

	.pb-req-progress li:not(.pb-req-progress-current) .pb-req-progress-label {
		display: none;
	}

	.pb-req-summary-row {
		grid-template-columns: 1fr auto;
	}

	.pb-req-summary-value {
		grid-column: 1 / -1;
	}
}
