/* ==========================================================================
   Yacht Club Classique — feuille de style principale (refonte 2026, Webiteasy)
   Couleurs, polices et largeurs viennent de theme.json (variables --wp--preset--…) :
   les modifier là, pas ici.
   Sommaire : 1 base · 2 en-tête et menu · 3 panneau mobile · 4 accès rapides · 5 pied de page ·
   6 mise en page · 7 éléments communs · 8 blocs du club (dont bandeau du club, diaporamas et
   visionneuse) · 9 listes et articles · 10 boutique
   ========================================================================== */

/* ---------- 1. Base ---------- */
:root {
	--ycc-marine: var(--wp--preset--color--marine, #393e76);
	--ycc-marine-fonce: var(--wp--preset--color--marine-fonce, #2e3460);
	--ycc-or: var(--wp--preset--color--or, #ffc877);
	--ycc-bleu: var(--wp--preset--color--bleu, #2f51bf);
	--ycc-lavande: var(--wp--preset--color--lavande, #eceef7);
	--ycc-sable: var(--wp--preset--color--sable, #edede7);
	--ycc-texte: var(--wp--preset--color--texte, #2b2b2b);
	--ycc-gris: var(--wp--preset--color--gris, #5f6368);
	--ycc-titres: var(--wp--preset--font-family--titres, Georgia, serif);
	--ycc-filet: rgba(57, 62, 118, .14);
	--ycc-ombre: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .05);
	--ycc-rayon: 8px;
	/* Cartes et encadrés : un seul arrondi, sur les quatre coins, et un même trait marine en haut des cartes blanches et
	   de l'encadré de « Qui sommes-nous » (demande du 05/10/2026). */
	--ycc-rayon-carte: 14px;
	--ycc-trait-carte: 3px solid var(--ycc-marine);
	--ycc-marge: clamp(16px, 4vw, 32px);
	/* Conteneur unique, comme les sites courants (1 140 à 1 280 px) : sections (textes compris), titre des
	   pages, en-tête, pied de page ont exactement la même largeur et les mêmes bords (demande,
	   24/09/2026). */
	--ycc-contenu: 1180px;
	--ycc-mesure: var(--ycc-contenu);
	--ycc-large: var(--ycc-contenu);
	--ycc-hauteur-entete: 56px;
}
/* Menu complet à partir de 1 200 px d'écran : logo, sept rubriques et accès rapides tiennent sur une ligne
   sans réduire le logo ; en dessous, bouton « Menu » (comme sur tablette). */
@media (min-width: 1200px) {
	:root { --ycc-hauteur-entete: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--ycc-hauteur-entete) + 16px);
}
html.ycc-panneau-ouvert { overflow: hidden; }
body {
	margin: 0;
	background: var(--ycc-sable) url(../images/fond-lin.png) repeat;
	color: var(--ycc-texte);
	font-family: var(--wp--preset--font-family--texte, system-ui, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 17px);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
a { color: var(--ycc-bleu); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ycc-marine); }
:focus-visible { outline: 3px solid var(--ycc-or); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ycc-titres);
	font-weight: 500;
	font-variant-caps: small-caps;
	color: var(--ycc-marine);
	line-height: 1.15;
	letter-spacing: .01em;
	text-wrap: balance;
}
p, ul, ol { text-wrap: pretty; }
.ycc-icone { width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ycc-evitement {
	position: absolute; left: 16px; top: -100px; z-index: 200;
	background: var(--ycc-marine); color: #fff; padding: 12px 18px; border-radius: 6px;
}
.ycc-evitement:focus { top: 12px; color: #fff; }

/* ---------- 2. En-tête et menu (maquette Figma « Proposition 4 », la même sur tout le site) ---------- */
/* Téléphone et tablette : « Menu » à gauche, logo au centre, « Panier » à droite (barre de 56 px).
   Ordinateur (à partir de 1 200 px) : logo à gauche (44 px de haut) ; à droite, les accès rapides au-dessus
   du menu (19 px, petites capitales, page en cours soulignée d'un filet or). */
.ycc-entete {
	position: sticky; top: 0; z-index: 50;
	background: #fff;
	box-shadow: 0 1px 0 rgba(57, 62, 118, .14);
	transition: box-shadow .2s ease;
}
.admin-bar .ycc-entete { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .ycc-entete { top: 0; } }
.ycc-entete.est-defile { box-shadow: 0 2px 14px rgba(0, 0, 0, .1); }
.ycc-entete__barre {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	max-width: calc(var(--ycc-contenu) + 2 * var(--ycc-marge)); min-height: 56px;
	margin: 0 auto; padding: 3px 12px;
}
/* Logo : toujours dans ses proportions (hauteur maximale, jamais imposée) ; il ne rétrécit que sur les
   petits téléphones, en entier. */
.ycc-entete__logo { order: 1; flex: 0 1 auto; min-width: 0; display: flex; justify-content: center; }
.ycc-entete__logo a { display: block; min-width: 0; }
.ycc-entete__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 27px; object-fit: contain; }
@media (min-width: 600px) { .ycc-entete__logo img { max-height: 34px; } }
.ycc-entete__droite { order: 2; display: flex; flex: none; }

.ycc-nav { display: none; }
.ycc-bouton-menu {
	order: 0; display: inline-flex; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
	width: 56px; min-height: 50px; padding: 0;
	border: 0; border-radius: 6px; background: none; color: var(--ycc-marine);
	font-family: var(--ycc-titres); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: .03em; font-variant-caps: small-caps;
	cursor: pointer;
}
.ycc-bouton-menu .ycc-icone { width: 24px; height: 24px; }
.ycc-bouton-menu:hover, .ycc-bouton-menu:focus-visible { background: var(--ycc-lavande); }

@media (min-width: 1200px) {
	.ycc-entete__barre { gap: 24px; padding: 20px var(--ycc-marge) 16px; }
	.ycc-bouton-menu { display: none; }
	.ycc-entete__logo { order: 0; flex: none; justify-content: flex-start; }
	/* 38 px (44 px jusqu'au 26/10/2026) : plus d'air entre les sept rubriques du menu . */
	.ycc-entete__logo img { max-height: 38px; }
	/* Le bloc de droite prend toute la place après le logo, et le menu s'y étale : l'air gagné en réduisant le logo va
	   entre les rubriques (26/10/2026). */
	.ycc-entete__droite { flex: 1 1 auto; flex-direction: column; align-items: flex-end; gap: 10px; }
	.ycc-nav { display: block; align-self: stretch; }
	.ycc-nav__menu, .ycc-nav__menu ul { list-style: none; margin: 0; padding: 0; }
	.ycc-nav__menu { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; min-width: 760px; }
	/* De 1 200 à 1 279 px : rubriques un peu plus serrées, pour que sept rubriques (dont « Le Long de la Côte », 26/10/2026)
	   tiennent sur la ligne sans dépasser de l'écran ; au-delà, espacement habituel. */
	@media (max-width: 1279px) {
		.ycc-entete__barre { gap: 16px; }
		.ycc-nav__menu { gap: 16px; }
	}
	.ycc-nav__menu > li { position: relative; }
	.ycc-nav__menu > li > a {
		display: block; padding: 0 0 5px;
		color: var(--ycc-marine); text-decoration: none; white-space: nowrap;
		font-family: var(--ycc-titres); font-size: 19px; line-height: 1.3;
		font-variant-caps: small-caps; letter-spacing: .02em;
	}
	/* Filet sous la rubrique : or pour la page en cours, lavande au survol. */
	.ycc-nav__menu > li > a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px;
		background: transparent; transition: background .15s ease;
	}
	.ycc-nav__menu > li:hover > a::after, .ycc-nav__menu > li:focus-within > a::after { background: #c9ccdf; }
	.ycc-nav__menu > li.current-menu-item > a,
	.ycc-nav__menu > li.current-menu-ancestor > a,
	.ycc-nav__menu > li.current_page_ancestor > a { color: var(--ycc-marine-fonce); }
	.ycc-nav__menu > li.current-menu-item > a::after,
	.ycc-nav__menu > li.current-menu-ancestor > a::after,
	.ycc-nav__menu > li.current_page_ancestor > a::after { background: var(--ycc-or); }
	.ycc-nav__menu .sub-menu {
		position: absolute; top: calc(100% + 14px); left: -18px; z-index: 10;
		min-width: 250px; padding: 8px 0;
		background: #fff; border-top: 3px solid var(--ycc-marine); border-radius: 0 0 6px 6px;
		box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
		/* Fermé : retiré de l'affichage (un sous-menu seulement caché élargissait la page vers la droite). */
		display: none;
	}
	/* Pont invisible entre la rubrique et son sous-menu : pas de fermeture en passant la souris. */
	.ycc-nav__menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
	.ycc-nav__menu li:hover > .sub-menu, .ycc-nav__menu li:focus-within > .sub-menu { display: block; animation: ycc-apparition .15s ease; }
	@keyframes ycc-apparition { from { opacity: 0; transform: translateY(6px); } }
	.ycc-nav__menu .sub-menu li { position: relative; }
	.ycc-nav__menu .sub-menu a {
		display: block; padding: 10px 18px; color: var(--ycc-texte); text-decoration: none;
		font-size: 16px; line-height: 1.35;
	}
	.ycc-nav__menu .sub-menu a:hover, .ycc-nav__menu .sub-menu li:focus-within > a { background: var(--ycc-lavande); color: var(--ycc-marine); }
	.ycc-nav__menu .sub-menu .current-menu-item > a { color: var(--ycc-marine); font-weight: 600; box-shadow: inset 3px 0 0 var(--ycc-or); }
	.ycc-nav__menu .sub-menu .menu-item-has-children > a::after { content: "›"; float: right; margin-left: 12px; color: var(--ycc-gris); }
	.ycc-nav__menu .sub-menu .sub-menu { top: -11px; left: 100%; border-top: 0; border-left: 3px solid var(--ycc-marine); border-radius: 0 6px 6px 0; }
	/* Sous-menus proches du bord droit : ouverture vers la gauche (classe posée par principal.js). */
	.ycc-nav__menu > li.vers-gauche > .sub-menu { left: auto; right: -18px; }
	.ycc-nav__menu .sub-menu li.vers-gauche > .sub-menu { left: auto; right: 100%; border-left: 0; border-right: 3px solid var(--ycc-marine); }
}

/* ---------- 3. Panneau de navigation (tablette, téléphone) ---------- */
.ycc-panneau {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; flex-direction: column;
	background: #fff;
}
.ycc-panneau[hidden] { display: none; }
.ycc-panneau__tete {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 0 var(--ycc-marge);
	border-bottom: 1px solid var(--ycc-filet);
}
.ycc-panneau__logo { min-width: 0; }
.ycc-panneau__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 28px; object-fit: contain; }
.ycc-panneau__fermer {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	min-height: 44px; padding: 6px 12px;
	border: 1px solid var(--ycc-filet); border-radius: 6px; background: #fff;
	color: var(--ycc-marine); font-family: var(--ycc-titres); font-size: 20px; font-variant-caps: small-caps;
	cursor: pointer;
}
.ycc-panneau__corps { position: relative; flex: 1; overflow: hidden; }
.ycc-niveau {
	position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
	padding-bottom: 40px; background: #fff;
	transition: transform .24s ease, opacity .24s ease;
}
.ycc-niveau.arrive-droite { transform: translateX(100%); }
.ycc-niveau.arrive-gauche { transform: translateX(-30%); opacity: 0; }
.ycc-niveau.part-gauche { transform: translateX(-30%); opacity: 0; }
.ycc-niveau.part-droite { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) { .ycc-niveau { transition: none; } .ycc-nav__menu li > .sub-menu { animation: none; } }
.ycc-niveau__tete { padding: 14px var(--ycc-marge) 16px; background: var(--ycc-lavande); border-bottom: 1px solid var(--ycc-filet); }
.ycc-niveau__retour {
	display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 8px 0 0;
	border: 0; background: none; color: var(--ycc-marine); cursor: pointer;
	font-family: var(--ycc-titres); font-size: 20px; font-variant-caps: small-caps;
}
.ycc-niveau__titre {
	margin: 4px 0 12px; color: var(--ycc-marine);
	font-family: var(--ycc-titres); font-size: 30px; font-variant-caps: small-caps; line-height: 1.1;
}
.ycc-niveau__voir {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	min-height: 48px; padding: 10px 16px; border-radius: 6px;
	background: var(--ycc-marine); color: #fff; text-decoration: none; font-weight: 600;
}
.ycc-niveau__voir:hover { color: #fff; background: var(--ycc-marine-fonce); }
.ycc-niveau__liste { list-style: none; margin: 0; padding: 0; }
.ycc-niveau__liste li { border-bottom: 1px solid var(--ycc-filet); }
.ycc-niveau__liste a, .ycc-niveau__rubrique {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
	min-height: 58px; padding: 10px var(--ycc-marge);
	border: 0; background: none; text-align: left; cursor: pointer;
	color: var(--ycc-texte); text-decoration: none;
	font-family: inherit; font-size: 19px; line-height: 1.3;
}
.ycc-niveau__rubrique .ycc-icone { color: var(--ycc-marine); }
.ycc-niveau__liste a:hover, .ycc-niveau__rubrique:hover { background: var(--ycc-lavande); color: var(--ycc-marine); }
.ycc-niveau__liste li.est-courant > a, .ycc-niveau__liste li.est-courant > .ycc-niveau__rubrique {
	box-shadow: inset 4px 0 0 var(--ycc-or); color: var(--ycc-marine); font-weight: 600;
}

/* ---------- 4. Accès rapides (Achats divers, Mon compte, Panier) : dans l'en-tête ---------- */
/* Ordinateur : icône (20 px) et nom (14 px), au-dessus du menu. Tablette et téléphone : seul le panier, à
   droite de la barre, icône (24 px) et nom dessous ; les trois en toutes lettres en bas du panneau de menu. */
.ycc-outils { display: flex; align-items: center; }
.ycc-outils__lien {
	position: relative; display: inline-flex; align-items: center;
	color: var(--ycc-marine); text-decoration: none;
	transition: color .15s ease;
}
.ycc-outils__lien:hover, .ycc-outils__lien:focus-visible { color: var(--ycc-bleu); }
.ycc-outils__picto { position: relative; display: inline-flex; flex: none; }
.ycc-outils__lien .ycc-icone { width: 20px; height: 20px; stroke-width: 1.6; }
/* Nombre d'articles du panier : pastille marine bordée de blanc, toujours affichée (maquette). */
.ycc-panier-nombre {
	position: absolute; top: -7px; left: 12px; display: inline-flex; align-items: center; justify-content: center;
	min-width: 18px; height: 18px; padding: 0 4px;
	border: 1.5px solid #fff; border-radius: 9px; background: var(--ycc-marine); color: #fff;
	font-family: var(--wp--preset--font-family--texte, system-ui, sans-serif); font-size: 11px; font-weight: 600; line-height: 1;
}
.ycc-outils--entete { gap: 28px; }
.ycc-outils--entete .ycc-outils__lien { gap: 8px; padding: 4px 0; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.ycc-outils--entete .ycc-outils__lien--panier .ycc-outils__picto { width: 30px; }
@media (max-width: 1199px) {
	.ycc-outils--entete .ycc-outils__lien:not(.ycc-outils__lien--panier) { display: none; }
	.ycc-outils--entete .ycc-outils__lien--panier {
		flex-direction: column; justify-content: center; gap: 1px; width: 56px; min-height: 50px; padding: 0; border-radius: 6px;
		font-family: var(--ycc-titres); font-size: 16px; font-weight: 500; letter-spacing: .03em; font-variant-caps: small-caps;
	}
	.ycc-outils--entete .ycc-outils__lien--panier:hover { background: var(--ycc-lavande); }
	.ycc-outils--entete .ycc-outils__lien--panier .ycc-outils__picto { width: 24px; }
	.ycc-outils--entete .ycc-outils__lien--panier .ycc-icone { width: 24px; height: 24px; }
	.ycc-outils--entete .ycc-outils__lien--panier .ycc-panier-nombre { top: -2px; left: 15px; }
}
.ycc-panneau .ycc-outils--panneau {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: none;
	border-top: 1px solid var(--ycc-filet); background: var(--ycc-lavande);
}
.ycc-outils--panneau .ycc-outils__lien {
	flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 10px 6px;
	font-size: 15px; line-height: 1.2; text-align: center;
}
.ycc-outils--panneau .ycc-outils__lien .ycc-icone { width: 24px; height: 24px; }
.ycc-outils--panneau .ycc-outils__lien + .ycc-outils__lien { border-left: 1px solid var(--ycc-filet); }
.ycc-outils--panneau .ycc-outils__lien:hover { background: #fff; }
.ycc-outils--panneau .ycc-panier-nombre { top: -4px; left: 15px; border-color: var(--ycc-lavande); }

/* ---------- 5. Pied de page ---------- */
.ycc-pied { margin-top: 64px; background: var(--ycc-marine-fonce); color: #d9dbea; font-size: 16px; }
.ycc-pied__colonnes {
	display: grid; gap: 36px 32px; grid-template-columns: 1fr;
	max-width: calc(var(--ycc-contenu) + 2 * var(--ycc-marge)); margin: 0 auto; padding: 52px var(--ycc-marge) 36px;
}
@media (min-width: 640px) { .ycc-pied__colonnes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .ycc-pied__colonnes { grid-template-columns: 1.35fr 1fr 1fr 1fr; } }
.ycc-pied p { margin: 0 0 12px; }
.ycc-pied a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.ycc-pied a:hover { color: var(--ycc-or); }
.ycc-pied__guidon { display: block; width: 120px; height: auto; margin-bottom: 14px; }
.ycc-pied__titre { margin: 0 0 14px; color: var(--ycc-or); font-size: 23px; }
.ycc-pied__liens { list-style: none; margin: 0; padding: 0; }
.ycc-pied__liens a { display: block; padding: 7px 0; text-decoration: none; }
.ycc-pied__bas { padding: 14px var(--ycc-marge); background: rgba(0, 0, 0, .2); color: #b8bbd0; font-size: 14px; }
.ycc-pied__bas-contenu {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
	max-width: var(--ycc-contenu); margin: 0 auto;
}
.ycc-pied__bas p { margin: 0; }
.ycc-pied__credit a { display: inline-flex; align-items: center; gap: 8px; color: #b8bbd0; text-decoration: none; }
.ycc-pied__credit a:hover, .ycc-pied__credit a:focus-visible { color: #fff; }
/* Double classe : sur les pages WooCommerce, « .woocommerce-page img { height: auto } » rendait le logo à sa taille réelle. */
.ycc-pied .ycc-pied__credit-logo { display: block; width: auto; max-width: none; height: 16px; opacity: .92; transition: opacity .15s ease; }
.ycc-pied__credit a:hover .ycc-pied__credit-logo { opacity: 1; }
@media (max-width: 640px) { .ycc-pied__bas-contenu { flex-direction: column; text-align: center; } }

/* ---------- 6. Mise en page ---------- */
.ycc-contenu { display: block; min-height: 40vh; }
.ycc-page { padding: 0 var(--ycc-marge) 24px; }
.ycc-page__entete { max-width: var(--ycc-contenu); margin: 0 auto; padding-top: 28px; }
.ycc-page__titre { margin: .25em 0 .7em; font-size: var(--wp--preset--font-size--tres-grand); }
.ycc-page__contenu > * { max-width: var(--ycc-contenu); margin-left: auto; margin-right: auto; }
.ycc-page__contenu > * + * { margin-top: 1.3em; }
.ycc-page__contenu > .alignwide { max-width: var(--ycc-contenu); }
/* Texte d'une actualité (paragraphes, listes, titres, photos seules) : largeur de lecture, au bord gauche
   du conteneur comme le titre. */
.ycc-page__contenu > :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6, table, pre, figure, hr, form, .wp-caption) {
	max-width: var(--ycc-mesure); margin-left: max(0px, calc((100% - var(--ycc-contenu)) / 2)); margin-right: auto;
}
/* Dans les sections : textes, encadrés, vidéos à la largeur de lecture. */
.ycc-texte > :not(table), .ycc-page__contenu > .ycc-encadre, .ycc-integre__cadre, .ycc-integre > .ycc-bouton,
.ycc-actualites__complet:not(.ycc-texte-image), .ycc-texte-image--sans-photo .ycc-texte-image__texte { max-width: var(--ycc-mesure); }
.ycc-page__contenu > .alignfull { max-width: none; margin-left: calc(-1 * var(--ycc-marge)); margin-right: calc(-1 * var(--ycc-marge)); }
/* Espacement des blocs : le même partout ; plus serré entre un texte et ses photos, documents ou vidéo ;
   un titre seul (section Texte sans texte) est collé au bloc qu'il annonce. */
.ycc-page__contenu > .ycc-bloc { margin-top: clamp(40px, 5vw, 60px); }
.ycc-page__contenu > .ycc-bloc:first-child { margin-top: 28px; }
.ycc-page__contenu > .ycc-texte + :is(.ycc-galerie, .ycc-documents, .ycc-integre) { margin-top: 24px; }
.ycc-page__contenu > .ycc-texte--titre-seul + .ycc-bloc { margin-top: 0; }
.ycc-texte > :first-child { margin-top: 0; }
.ycc-texte > :last-child { margin-bottom: 0; }
.ycc-page__contenu h2 { font-size: var(--wp--preset--font-size--grand); margin-top: 1.6em; margin-bottom: .5em; }
.ycc-page__contenu h3 { font-size: var(--wp--preset--font-size--moyen); margin-top: 1.4em; margin-bottom: .4em; }
.ycc-page__contenu figure { margin-top: 1.6em; margin-bottom: 1.6em; }
.ycc-page__contenu img { border-radius: 4px; }
.ycc-page__contenu blockquote {
	margin-left: auto; margin-right: auto; padding: 4px 0 4px 22px; border-left: 3px solid var(--ycc-or);
	font-family: var(--ycc-titres); font-size: 22px; font-style: italic; color: var(--ycc-marine);
}
.ycc-page__contenu table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
/* Textes repris de l'ancien site : un tableau trop large défile dans son cadre, une longue adresse va
   à la ligne ; la page, elle, ne dépasse jamais la largeur de l'écran. */
.ycc-page__contenu { overflow-wrap: break-word; }
.ycc-texte table, .ycc-article .ycc-page__contenu > table, .ycc-encadre__texte table, .ycc-texte-image__texte table, .ycc-avant__contenu table { display: block; max-width: 100%; overflow-x: auto; }
.ycc-page__contenu pre { max-width: 100%; overflow-x: auto; }
.ycc-page__contenu th, .ycc-page__contenu td { padding: 10px 12px; border: 1px solid var(--ycc-filet); text-align: left; }
.ycc-page__contenu th { background: var(--ycc-lavande); color: var(--ycc-marine); }
/* Colonne latérale (pages de texte et actualités, comme l'ancien site) */
.ycc-colonne { max-width: var(--ycc-contenu); margin: 48px auto 0; overflow-wrap: break-word; } /* Un mot ou une adresse très longs passent à la ligne, comme dans le contenu (essais du BO du 30/09/2026). */
.ycc-colonne__element + .ycc-colonne__element { margin-top: 28px; }
.ycc-colonne__titre { margin: 0 0 12px; font-size: var(--wp--preset--font-size--moyen); }
.ycc-colonne .ycc-bloc { margin: 0; }
.ycc-colonne img { max-width: 100%; height: auto; }
/* Colonne de droite, plus soignée (28/09/2026), même style : chaque élément dans une carte blanche, titres à la même
   taille, logos à leur taille réelle et centrés, bouton sur toute la largeur, liens de liste en pastilles, résumé de
   l'agenda sur 5 lignes (le titre mène à l'actualité complète). Sous le contenu sur tablette et sur téléphone ; à
   droite, elle accompagne la lecture seulement si l'écran est assez haut pour la montrer en entier. */
.ycc-colonne > .ycc-bloc { padding: 22px 20px; background: #fff; border: 1px solid var(--ycc-filet); border-radius: 14px; box-shadow: var(--ycc-ombre); }
.ycc-colonne > .ycc-bloc + .ycc-bloc { margin-top: 20px; }
.ycc-colonne .ycc-bloc__titre { margin-bottom: 16px; font-size: 24px; line-height: 1.15; }
.ycc-colonne .ycc-bloc__titre::after { width: 44px; margin-top: 10px; }
.ycc-colonne .ycc-resume { padding: 0; background: none; border: 0; border-radius: 0; }
.ycc-colonne .ycc-resume + .ycc-resume { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ycc-filet); }
.ycc-colonne .ycc-resume__titre { font-size: 21px; }
.ycc-colonne .ycc-resume__texte { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; margin: 0; font-size: 16px; line-height: 1.55; }
.ycc-colonne .ycc-photos--seule { justify-content: center; }
.ycc-colonne .ycc-photos__photo { margin: 0; }
.ycc-colonne .ycc-photos__lien { background: none; border-radius: 4px; }
.ycc-colonne .ycc-texte-image .ycc-bouton { display: flex; justify-content: center; width: 100%; margin-top: 0; text-align: center; }
.ycc-colonne .ycc-texte-image__texte p { margin: 0 0 .7em; font-size: 16px; line-height: 1.55; }
.ycc-liens { display: flex; flex-wrap: wrap; gap: 6px; }
.ycc-liens a {
	display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--ycc-lavande); color: var(--ycc-marine-fonce);
	font-size: 15px; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.ycc-liens a:hover { background: var(--ycc-marine); color: #fff; }
.ycc-liens a:focus-visible { outline: 2px solid var(--ycc-or); outline-offset: 2px; }
@media (min-width: 1025px) {
	.ycc-page--colonne .ycc-page__entete { max-width: var(--ycc-contenu); }
	.ycc-page--colonne .ycc-page__corps {
		display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start;
		max-width: var(--ycc-contenu); margin: 0 auto;
	}
	.ycc-page--colonne .ycc-page__contenu > :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6, table, pre, figure, hr, .wp-caption) { margin-left: 0; }
	.ycc-page--colonne .ycc-page__contenu > * { max-width: none; }
	.ycc-page--colonne .ycc-page__contenu > .alignfull { margin-left: 0; margin-right: 0; }
	.ycc-page--colonne .ycc-colonne { margin: 0; }
	.ycc-page--colonne .ycc-nav-articles { max-width: var(--ycc-contenu); }
}
/* Colonne haute d'environ 1 100 px (Agenda, Sillages, marées) : collée en haut de l'écran seulement s'il est assez haut
   pour la montrer en entier ; sinon son bas restait caché jusqu'à la fin de la page. */
@media (min-width: 1025px) and (min-height: 1250px) {
	.ycc-page--colonne .ycc-colonne { position: sticky; top: calc(var(--ycc-hauteur-entete) + 24px); }
}
.rank-math-breadcrumb { font-size: 14px; color: var(--ycc-gris); }
.rank-math-breadcrumb a { color: var(--ycc-gris); }

/* ---------- 7. Éléments communs ---------- */
.ycc-bouton, .wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	border: 1px solid var(--ycc-marine); border-radius: 6px;
	background: var(--ycc-marine); color: #fff;
	font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
	cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ycc-bouton:hover, .wp-element-button:hover, .wp-block-button__link:hover { background: var(--ycc-marine-fonce); border-color: var(--ycc-marine-fonce); color: #fff; }
.ycc-bouton--or { background: var(--ycc-or); border-color: var(--ycc-or); color: var(--ycc-marine-fonce); }
.ycc-bouton--or:hover { background: #fff; border-color: #fff; color: var(--ycc-marine-fonce); }
.ycc-bouton--contour { background: transparent; color: var(--ycc-marine); }
.ycc-bouton--contour:hover { background: var(--ycc-marine); color: #fff; }
.ycc-bloc__titre, .ycc-page__contenu h2.ycc-bloc__titre { margin: 0 0 22px; font-size: var(--wp--preset--font-size--grand); }
.ycc-bloc__titre::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 12px; background: var(--ycc-or); }
.ycc-recherche { display: flex; max-width: 520px; margin: 16px 0; }
.ycc-recherche__champ {
	flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px;
	border: 1px solid #9da1bd; border-right: 0; border-radius: 6px 0 0 6px; background: #fff; font: inherit;
}
.ycc-recherche__bouton {
	display: inline-flex; align-items: center; justify-content: center; width: 52px;
	border: 0; border-radius: 0 6px 6px 0; background: var(--ycc-marine); color: #fff; cursor: pointer;
}
.ycc-bloc-vide {
	padding: 18px 20px; border: 2px dashed #9da1bd; border-radius: 8px;
	background: #fff; color: var(--ycc-gris); font-size: 15px;
}

/* ---------- 8. Blocs du club ---------- */

/* Introduction */
.ycc-intro--centre { text-align: center; }
.ycc-intro__titre { margin: 0 auto 18px; max-width: 900px; font-size: var(--wp--preset--font-size--tres-grand); }
.ycc-intro--centre .ycc-intro__titre::after { content: ""; display: block; width: 64px; height: 2px; margin: 16px auto 0; background: var(--ycc-or); }
.ycc-intro__texte { max-width: 760px; font-size: 19px; color: #3b3b3b; }
.ycc-intro--centre .ycc-intro__texte { margin: 0 auto; }
.ycc-intro .ycc-bouton { margin-top: 22px; }

/* Texte et photo côte à côte (bloc « Texte et photo », actualité montrée en entier dans une liste). Demande du
   05/10/2026 : une présentation soignée, cohérente avec l’identité du site. Une carte blanche, comme celles de l'accueil
   (arrondi, ombre douce ; sans le trait marine, retiré à sa demande le même jour) ; la photo, entière et jamais agrandie, posée sur un fond lavande
   qui occupe toute la hauteur de la carte (passe-partout) : une petite image, un logo, une couverture n'y flottent plus
   seuls ; à côté d'un long texte, la photo reste en haut et suit la lecture ; un texte plus court qu'elle est centré en
   hauteur. L'un sous l'autre quand la place manque (téléphone : requête sur la largeur du bloc, pas de l'écran). Dans la
   colonne latérale, où le bloc est déjà une carte : photo puis texte, sans seconde carte (règles qui suivent). */
.ycc-texte-image { container-type: inline-size; }
/* Une colonne sur téléphone, qui peut rétrécir : un mot sans coupure repris de l'ancien site (ligne de « ____ » des
   petites annonces) élargissait toute la grille (page trop large de 339 px à 375 px, contrôle du 28/09). */
.ycc-texte-image__grille {
	display: grid; grid-template-columns: minmax(0, 1fr);
	overflow: hidden; overflow: clip; /* « clip » : coins arrondis, sans empêcher la photo de suivre la lecture. */
	background: #fff; border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon-carte);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 44px rgba(46, 51, 97, .1);
}
.ycc-texte-image__photo { display: flex; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(18px, 3cqi, 36px); background: var(--ycc-lavande); }
.ycc-texte-image__photo .ycc-photos--seule { flex: 1 1 auto; justify-content: center; min-width: 0; }
.ycc-texte-image__photo .ycc-photos--seule .ycc-photos__photo { max-width: 100%; margin: 0; }
.ycc-texte-image__photo .ycc-photos__lien { border-radius: 8px; background: none; } /* Logo détouré : sur le lavande, sans carré autour. */
.ycc-texte-image__photo .ycc-photos--seule img { max-height: min(72vh, 620px); }
.ycc-texte-image__texte { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(22px, 4.2cqi, 52px); }
.ycc-texte-image__contenu > :first-child { margin-top: 0; }
.ycc-texte-image__contenu > :last-child { margin-bottom: 0; }
.ycc-texte-image__texte p { margin: 0 0 .8em; }
.ycc-texte-image .ycc-bouton { max-width: 100%; margin-top: 14px; overflow-wrap: anywhere; }
/* Filet or entre la photo et le texte, de la hauteur du texte (choix du 29/10, proposition 1 sans alternance
   ni photo pleine) : sur la limite du lavande, à gauche du texte (à droite si la photo est à droite) ; au-dessus du texte,
   court, quand la photo passe au-dessus. Ni sans photo, ni dans la colonne, où il n'y a pas de carte. */
.ycc-texte-image:not(.ycc-texte-image--sans-photo) .ycc-texte-image__contenu { position: relative; }
.ycc-texte-image:not(.ycc-texte-image--sans-photo) .ycc-texte-image__contenu::before {
	content: ""; position: absolute; top: calc(-1 * clamp(22px, 4.2cqi, 52px)); left: 0; width: 48px; height: 3px;
	border-radius: 2px; background: var(--ycc-or);
}
.ycc-colonne .ycc-texte-image .ycc-texte-image__contenu::before { content: none; }
@container (min-width: 640px) {
	.ycc-texte-image__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.ycc-texte-image--droite .ycc-texte-image__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.ycc-texte-image--droite .ycc-texte-image__photo { order: 2; }
	.ycc-texte-image--sans-photo .ycc-texte-image__grille { grid-template-columns: minmax(0, 1fr); }
	/* À côté d'un long texte, la photo suit la lecture, sous la barre du menu. */
	.ycc-texte-image__photo .ycc-photos--seule { position: sticky; top: calc(var(--ycc-hauteur-entete) + var(--wp-admin--admin-bar--height, 0px) + 24px); }
	.ycc-texte-image:not(.ycc-texte-image--sans-photo) .ycc-texte-image__contenu::before { top: 0; bottom: 0; left: calc(-1 * clamp(22px, 4.2cqi, 52px)); width: 3px; height: auto; }
	.ycc-texte-image--droite:not(.ycc-texte-image--sans-photo) .ycc-texte-image__contenu::before { right: calc(-1 * clamp(22px, 4.2cqi, 52px)); left: auto; }
}
/* Colonne latérale (300 px ; le bloc y est déjà une carte) : photo puis texte, sans seconde carte, comme avant. */
.ycc-colonne .ycc-texte-image__grille { gap: 16px; overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; }
.ycc-colonne .ycc-texte-image__photo, .ycc-colonne .ycc-texte-image__texte { display: block; padding: 0; background: none; }
.ycc-colonne .ycc-texte-image__photo .ycc-photos__lien { border-radius: 4px; }
/* Bouton de la colonne : celui d'avant (sans flèche, qui le ferait passer sur deux lignes sur téléphone). */
.ycc-colonne .ycc-texte-image .ycc-bouton--grand { gap: 8px; min-height: 48px; padding: 12px 24px; font-size: inherit; letter-spacing: normal; }
.ycc-colonne .ycc-texte-image .ycc-bouton--grand .ycc-icone { display: none; }
/* Colonne affichée en pleine largeur sous le contenu (tablette) : photo et texte côte à côte, centrés en hauteur, dans
   les proportions d'avant (2/5, 3/5). */
.ycc-colonne .ycc-texte-image__grille { align-items: center; }
@container (min-width: 640px) {
	.ycc-colonne .ycc-texte-image__grille { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; }
	.ycc-colonne .ycc-texte-image--droite .ycc-texte-image__grille { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
	.ycc-colonne .ycc-texte-image__photo .ycc-photos--seule { position: static; }
}

/* Photos côte à côte (bloc « Photos », photos d'un texte) : les photos d'une rangée ont la même hauteur
   (largeur proportionnelle au rapport largeur / hauteur de chacune) et remplissent la ligne, entières.
   Les retours à la ligne (ycc-photos__saut) suivent un plan calculé dans inc/photos.php : au plus 3 photos
   par ligne dans un bloc large, 2 quand il est étroit (requête sur la largeur du bloc). */
.ycc-photos { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 12px; container-type: inline-size; margin: 0; }
.ycc-photos__photo { flex: var(--ycc-ratio, 1.5) 1 0%; min-width: 0; max-width: var(--ycc-max, none); margin: 0 0 12px; } /* --ycc-max : largeur du plus grand fichier (photos.php) ; une rangée de petites photos est centrée. */
.ycc-photos__lien { display: block; border-radius: 6px; overflow: hidden; background: var(--ycc-lavande); }
.ycc-photos .ycc-photos__image, .ycc-photos img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; box-shadow: none; transition: transform .35s ease; }
@media (hover: hover) { .ycc-photos a[data-agrandir]:hover img { transform: scale(1.03); } }
.ycc-photos__legende { margin: 6px 2px 0; color: var(--ycc-gris); font-size: 14px; line-height: 1.4; }
.ycc-photos__saut { flex: 0 0 100%; height: 0; margin: 0; }
.ycc-photos__saut--etroit { display: none; }
@container (max-width: 520px) {
	.ycc-photos__saut--large { display: none; }
	.ycc-photos__saut--etroit { display: block; }
}
/* Une seule photo : à sa taille, sans être agrandie au-delà, centrée. */
.ycc-photos--seule { justify-content: flex-start; }
.ycc-photos--seule .ycc-photos__photo { flex: 0 1 auto; max-width: var(--ycc-mesure); }
.ycc-photos--seule .ycc-photos__image, .ycc-photos--seule img { width: auto; max-width: 100%; max-height: 85vh; }
.ycc-page__contenu .ycc-photos { margin-top: 1.3em; margin-bottom: 1.3em; }
.ycc-galerie .ycc-photos, .ycc-texte-image .ycc-photos { margin: 0; }
/* Boutons sous les photos : alignés sur le bord gauche, comme le titre et les photos (12 px de marge
   sous chaque rangée + 10 px = même écart que sous une affiche). */
.ycc-galerie__boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.ycc-galerie__boutons .ycc-bouton { max-width: 100%; }

/* Cartes (bloc Cartes, actualités, listes) */
.ycc-grille-cartes { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
/* Une seule carte : elle garde une largeur de carte au lieu d'occuper toute la ligne. */
.ycc-grille-cartes:has(> :only-child) { grid-template-columns: minmax(0, 380px); }
.ycc-liste .ycc-grille-cartes { max-width: var(--ycc-contenu); margin: 0 auto; }
/* Listes d'actualités (rubriques, étiquettes, dates) : deux vignettes par ligne dès 700 px, une sur téléphone ; photo
   un peu moins haute qu'ailleurs : on en voit davantage d'un coup (demande du 02/10/2026). */
.ycc-grille-cartes--liste { grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 700px) { .ycc-grille-cartes--liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ycc-grille-cartes--liste .ycc-carte__image { aspect-ratio: 2 / 1; }
.ycc-grille-cartes--liste .ycc-carte--actualite .ycc-carte__titre, .ycc-grille-cartes--liste .ycc-carte--actualite .ycc-carte__texte { -webkit-line-clamp: 3; }
/* Une seule vignette faite d'une photo seule (page Facebook, logo, affiche) : centrée, à sa taille réelle jusqu'à
   760 px, au lieu d'une petite vignette collée à gauche (demande du 02/10/2026). */
.ycc-grille-cartes:has(> .ycc-carte--image-seule:only-child) { grid-template-columns: fit-content(min(100%, 760px)); justify-content: center; }
/* Listes en texte complet (comme l'ancien site) : même conteneur, même espacement que les blocs. */
.ycc-liste__articles { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 60px); max-width: var(--ycc-contenu); margin: 0 auto; }
.ycc-liste__article:not(.ycc-texte-image) { max-width: var(--ycc-mesure); }
.ycc-liste__article .ycc-bloc__titre a, .ycc-actualites__complet .ycc-bloc__titre a { color: inherit; text-decoration: none; }
.ycc-liste__article .ycc-bloc__titre a:hover { text-decoration: underline; }
.ycc-liste__article > :last-child, .ycc-liste__article .ycc-texte-image__contenu > :last-child { margin-bottom: 0; }
.ycc-carte {
	overflow: hidden; background: #fff;
	border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon-carte);
	box-shadow: 0 1px 2px rgba(22, 26, 60, .05), 0 12px 30px -14px rgba(22, 26, 60, .18);
	transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
	.ycc-carte:has(a.ycc-carte__lien):hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(22, 26, 60, .06), 0 24px 44px -18px rgba(22, 26, 60, .3); }
}
.ycc-carte__lien { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
a.ycc-carte__lien:hover { color: inherit; }
.ycc-carte__image { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ycc-lavande); }
.ycc-carte__image img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .ycc-carte:has(a.ycc-carte__lien):hover .ycc-carte__image img { transform: scale(1.04); } }
.ycc-carte__image img.ycc-carte__substitut { object-fit: contain; padding: 14% 22%; }
/* Affiche, photo en hauteur ou carrée : entière, sur un fond flou tiré d'elle-même (jamais coupée). */
.ycc-carte__image--entiere { background: var(--ycc-marine-fonce); }
.ycc-carte__image--entiere::before {
	content: ""; position: absolute; inset: -30px;
	background: var(--ycc-fond, none) center / cover no-repeat;
	filter: blur(22px) brightness(.8) saturate(1.1); opacity: .9;
}
.ycc-carte__image--entiere img { object-fit: scale-down; } /* Entière, jamais agrandie. */
@media (hover: hover) { .ycc-carte:has(a.ycc-carte__lien):hover .ycc-carte__image--entiere img { transform: scale(1.02); } }
.ycc-carte__corps { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.ycc-carte .ycc-carte__titre { margin: 0 0 8px; font-size: 23px; line-height: 1.15; }
.ycc-carte__texte { margin: 0 0 14px; color: #474747; font-size: 16px; line-height: 1.55; }
.ycc-carte__suite { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--ycc-bleu); font-weight: 600; }
.ycc-carte__suite .ycc-icone { transition: transform .2s ease; }
@media (hover: hover) { .ycc-carte:hover .ycc-carte__suite .ycc-icone { transform: translateX(4px); } }
.ycc-carte--sans-image { border-top: 3px solid var(--ycc-or); }
.ycc-carte--sans-image .ycc-carte__titre { font-size: 21px; }
/* Vignette sans titre ni texte (couverture, affiche) : l'image entière, sans recadrage. */
.ycc-carte--image-seule .ycc-carte__image { aspect-ratio: auto; background: #fff; }
.ycc-carte--image-seule .ycc-carte__image img { width: auto; max-width: 100%; height: auto; margin: 0 auto; object-fit: contain; } /* Logo seul : à sa taille réelle au plus. */
/* Photo seule qui mène à un autre site : l'adresse du site sous la photo. */
.ycc-carte__site { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--ycc-filet); color: var(--ycc-bleu); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ycc-carte__site .ycc-icone { flex: none; width: 18px; height: 18px; transition: transform .2s ease; }
@media (hover: hover) { .ycc-carte:hover .ycc-carte__site .ycc-icone { transform: translateX(4px); } }

/* Date et lieu d'une actualité : une ligne par information, icône devant, en toutes lettres (lisible,
   jamais en capitales). Vignettes, listes, haut des actualités. */
.ycc-infos { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; color: #474747; font-size: 15px; line-height: 1.4; }
.ycc-infos li { display: flex; align-items: flex-start; gap: 9px; margin: 0; }
.ycc-infos .ycc-icone { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ycc-marine); }
.ycc-infos__date { color: var(--ycc-marine); font-weight: 600; }
.ycc-article__infos { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: -6px 0 26px; font-size: 17px; }
.ycc-article__infos .ycc-icone { width: 20px; height: 20px; margin-top: 2px; }
.ycc-resume__infos { margin: -2px 0 10px; }
/* Actualités en vignettes (bloc « Actualités », listes) : titre sur 3 lignes au plus, description sur 4 :
   toutes les vignettes d'une ligne ont la même allure. */
.ycc-carte--actualite .ycc-carte__titre { margin-bottom: 10px; font-size: 24px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; transition: color .2s ease; }
.ycc-carte--actualite.ycc-carte--une .ycc-carte__titre { display: block; -webkit-line-clamp: none; overflow: visible; } /* Titre de la grande vignette : en entier. */
.ycc-carte--actualite:hover .ycc-carte__titre { color: var(--ycc-bleu); }
.ycc-carte--actualite .ycc-carte__texte { margin-bottom: 18px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
/* Actualité avec photo : trait marine en haut du texte, comme sur la carte de l'en-tête et celles des « Actualités à
   venir » (demande du 05/10/2026). Photo à côté du texte : le texte prend toute la hauteur de la vignette
   (trait au ras du haut, arrondi avec le coin), son contenu reste centré (règles plus bas). */
.ycc-carte--actualite:not(.ycc-carte--sans-image) .ycc-carte__corps { border-top: var(--ycc-trait-carte); }
/* Actualité sans photo : vignette bleu marine (texte clair), pour qu'elle ne paraisse pas vide à côté des
   autres. */
.ycc-carte--actualite.ycc-carte--sans-image { background: var(--ycc-marine-fonce); border-color: var(--ycc-marine-fonce); border-top: 0; }
.ycc-carte--actualite.ycc-carte--sans-image .ycc-carte__corps { padding-top: clamp(26px, 3cqi, 36px); }
.ycc-carte--actualite.ycc-carte--sans-image .ycc-infos, .ycc-carte--actualite.ycc-carte--sans-image .ycc-infos__date { color: #e3e5f1; }
.ycc-carte--actualite.ycc-carte--sans-image .ycc-infos .ycc-icone { color: var(--ycc-or); }
.ycc-carte--actualite.ycc-carte--sans-image .ycc-carte__titre { color: #fff; font-size: 26px; }
.ycc-carte--actualite.ycc-carte--sans-image:hover .ycc-carte__titre { color: var(--ycc-or); }
.ycc-carte--actualite.ycc-carte--sans-image .ycc-carte__texte { color: #d9dbea; -webkit-line-clamp: 9; }
.ycc-carte--actualite.ycc-carte--sans-image .ycc-carte__suite { color: var(--ycc-or); }

/* Bloc « Actualités » : lignes équilibrées (au plus 3 vignettes par ligne, calculées dans le gabarit :
   ycc-carte--rangee-N), 2 par ligne sur tablette, 1 sur téléphone ; « À la une » et vignette seule sur sa
   ligne : photo à côté du texte, texte centré verticalement. Mesuré sur la largeur du bloc (colonne
   latérale comprise), pas sur celle de l'écran. */
.ycc-actualites { container-type: inline-size; }
.ycc-grille-cartes--lignes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(20px, 2.4cqi, 28px); }
.ycc-grille-cartes--lignes > * { grid-column: span 6; }
.ycc-carte--une + .ycc-grille-cartes { margin-top: clamp(20px, 2.4cqi, 28px); }
@container (min-width: 620px) {
	.ycc-grille-cartes--lignes > * { grid-column: span 3; }
	.ycc-grille-cartes--lignes > .ycc-carte--rangee-1, .ycc-grille-cartes--lignes > :last-child:nth-child(odd) { grid-column: span 6; }
	.ycc-carte--une .ycc-carte__lien, .ycc-grille-cartes--lignes > .ycc-carte--rangee-1 .ycc-carte__lien {
		display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: stretch;
	}
	/* Photo à côté du texte : elle prend toute la hauteur de la vignette, au moins celle d'une photo 3:2
	   (colonne de 11/20 de la largeur du bloc), sans jamais déborder sur le texte si celui-ci est plus haut. */
	.ycc-carte--une .ycc-carte__image, .ycc-grille-cartes--lignes > .ycc-carte--rangee-1 .ycc-carte__image { align-self: stretch; aspect-ratio: auto; min-height: 36cqi; }
	.ycc-carte--une .ycc-carte__image img, .ycc-grille-cartes--lignes > .ycc-carte--rangee-1 .ycc-carte__image img { position: absolute; inset: 0; }
	.ycc-carte--une .ycc-carte__corps, .ycc-grille-cartes--lignes > .ycc-carte--rangee-1 .ycc-carte__corps { justify-content: center; padding: clamp(24px, 3.6cqi, 48px); border-top-right-radius: calc(var(--ycc-rayon-carte) - 1px); }
	.ycc-carte--une .ycc-carte__suite, .ycc-grille-cartes--lignes > .ycc-carte--rangee-1 .ycc-carte__suite { margin-top: 0; }
	.ycc-carte--une .ycc-carte__titre { font-size: clamp(28px, 3.2cqi, 38px); -webkit-line-clamp: 4; }
	.ycc-carte--une .ycc-carte__texte { font-size: 17px; -webkit-line-clamp: 6; }
	.ycc-carte--une.ycc-carte--sans-image .ycc-carte__lien { display: flex; }
}
@container (620px <= width < 960px) {
	.ycc-grille-cartes--lignes > :last-child:nth-child(odd) .ycc-carte__lien { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
	.ycc-grille-cartes--lignes > :last-child:nth-child(odd) .ycc-carte__corps { justify-content: center; border-top-right-radius: calc(var(--ycc-rayon-carte) - 1px); }
	.ycc-grille-cartes--lignes > :last-child:nth-child(odd) .ycc-carte__suite { margin-top: 0; }
	.ycc-grille-cartes--lignes > :last-child:nth-child(odd) .ycc-carte__image { align-self: stretch; aspect-ratio: auto; min-height: 33cqi; }
	.ycc-grille-cartes--lignes > :last-child:nth-child(odd) .ycc-carte__image img { position: absolute; inset: 0; }
}
@container (min-width: 960px) {
	.ycc-grille-cartes--lignes > .ycc-carte--rangee-3:nth-child(n) { grid-column: span 2; }
	.ycc-grille-cartes--lignes > .ycc-carte--rangee-2:nth-child(n) { grid-column: span 3; }
}
/* « Actualités passées » sur téléphone et tablette (jusqu'à 1 024 px) : les 2 plus récentes seulement (demande du 25/09/2026) ; toutes sur ordinateur, et toujours dans « Toutes les actualités ». Après « À la une »,
   la vignette restante prend toute la largeur, photo à côté du texte dès que le bloc le permet. */
@media (max-width: 1024px) {
	.ycc-actualites--passees .ycc-grille-cartes > :nth-child(n+3),
	.ycc-actualites--passees .ycc-actualites__liste > :nth-child(n+3),
	.ycc-actualites--passees .ycc-grandes > :nth-child(n+3),
	.ycc-actualites--passees .ycc-carte--une + .ycc-grille-cartes > :nth-child(n+2) { display: none; }
	.ycc-actualites--passees .ycc-carte--une + .ycc-grille-cartes--lignes > :first-child { grid-column: 1 / -1; }
	@container (min-width: 620px) {
		.ycc-actualites--passees .ycc-carte--une + .ycc-grille-cartes--lignes > :first-child .ycc-carte__lien { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: stretch; }
		.ycc-actualites--passees .ycc-carte--une + .ycc-grille-cartes--lignes > :first-child .ycc-carte__image { align-self: stretch; aspect-ratio: auto; min-height: 36cqi; }
		.ycc-actualites--passees .ycc-carte--une + .ycc-grille-cartes--lignes > :first-child .ycc-carte__image img { position: absolute; inset: 0; }
		.ycc-actualites--passees .ycc-carte--une + .ycc-grille-cartes--lignes > :first-child .ycc-carte__corps { justify-content: center; padding: clamp(24px, 3.6cqi, 48px); border-top-right-radius: calc(var(--ycc-rayon-carte) - 1px); }
		.ycc-actualites--passees .ycc-carte--une + .ycc-grille-cartes--lignes > :first-child .ycc-carte__suite { margin-top: 0; }
	}
}

/* ---------- Blocs de l'accueil (maquettes Figma validées le 24/09/2026) ---------- */
/* Communs : grand titre (44 px), grand bouton avec flèche, bandes sur toute la largeur, ornement. */
.ycc-bloc__titre--grand, .ycc-page__contenu h2.ycc-bloc__titre--grand { margin: 0 0 26px; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.09; letter-spacing: .01em; }
.ycc-bouton--grand { min-height: 54px; gap: 10px; padding: 12px 28px; font-size: 17px; letter-spacing: .01em; }
.ycc-bouton--grand .ycc-icone { width: 20px; height: 20px; transition: transform .2s ease; }
.ycc-bouton--grand:hover .ycc-icone { transform: translateX(3px); }
.ycc-bouton--grand.ycc-bouton--or:hover { background: #ffd796; border-color: #ffd796; color: var(--ycc-marine-fonce); }
.ycc-page__contenu > .ycc-bloc--pleine-largeur { max-width: none; margin-left: calc(-1 * var(--ycc-marge)); margin-right: calc(-1 * var(--ycc-marge)); }
.ycc-bande { padding: clamp(64px, 7.8vw, 112px) 0; }
.ycc-bande--blanche { background: #fff; }
.ycc-bande--marine { background: var(--ycc-marine-fonce); color: #fff; }
.ycc-bande__contenu { max-width: calc(var(--ycc-contenu) + 2 * var(--ycc-marge)); margin: 0 auto; padding: 0 var(--ycc-marge); }
.ycc-page__contenu > .ycc-bande + .ycc-bande { margin-top: 0; }
.ycc-page__contenu > .ycc-bande + .ycc-contact { margin-top: clamp(64px, 7.8vw, 112px); }
.ycc-ornement { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 22px; }
.ycc-ornement span { width: 120px; height: 1.5px; background: var(--ycc-or); }
.ycc-ornement img { display: block; width: 36px; height: 36px; object-fit: contain; }

/* Grand en-tête photo : photo sur toute la largeur, cadrée par le bas ; à droite (ou à gauche) le surtitre,
   le titre et la carte blanche. Tablette et téléphone : titre, photo, carte qui chevauche la photo. */
.ycc-page__contenu > .ycc-entete-photo:first-child { margin-top: 0; }
.ycc-entete-photo { position: relative; display: flex; flex-direction: column; }
.ycc-entete-photo__image, .ycc-page__contenu .ycc-entete-photo__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; border-radius: 0; }
.ycc-entete-photo--centre .ycc-entete-photo__image { object-position: 50% 50%; }
.ycc-entete-photo--haut .ycc-entete-photo__image { object-position: 50% 0; }
.ycc-entete-photo__surtitre {
	display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
	color: var(--ycc-marine-fonce); font-family: var(--ycc-titres); font-size: 15px; font-weight: 500; line-height: 1.2;
	letter-spacing: .12em; font-variant-caps: small-caps;
}
.ycc-entete-photo__surtitre::before { content: ""; flex: none; width: 36px; height: 1.5px; background: currentColor; }
.ycc-page__contenu .ycc-entete-photo__titre, .ycc-entete-photo__titre {
	margin: 0; max-width: 540px; color: var(--ycc-marine-fonce); font-size: 44px; line-height: 48px; letter-spacing: .01em; text-wrap: wrap;
}
.ycc-entete-photo__carte {
	position: relative; margin-top: 40px; padding: 32px 50px 36px;
	background: #fff; border-top: var(--ycc-trait-carte); border-radius: var(--ycc-rayon-carte);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 26px 60px rgba(46, 51, 97, .14);
}
.ycc-entete-photo__texte { color: var(--ycc-texte); font-size: 17px; line-height: 27px; }
.ycc-entete-photo__texte > :first-child { margin-top: 0; }
.ycc-entete-photo__texte > :last-child { margin-bottom: 0; }
/* Ordinateur : l'en-tête tient dans l'écran, sous la barre du menu, photo comprise (demande du 25/09/2026) : jamais plus haut que la hauteur visible ; sur les écrans bas (portables),
   marges, titre et carte se resserrent avec la hauteur de l'écran (svh) ; à partir de 900 px de haut, tailles de la
   maquette. Tablette à l'horizontale (à partir de 900 px) : même mise en page, sinon la photo seule remplit l'écran. */
@media (min-width: 1080px), (min-width: 900px) and (orientation: landscape) {
	.ycc-entete-photo { min-height: min(clamp(560px, 57vw, 820px), calc(100svh - var(--ycc-hauteur-entete) - var(--wp-admin--admin-bar--height, 0px))); }
	.ycc-entete-photo__photo { position: absolute; inset: 0; overflow: hidden; }
	.ycc-entete-photo__contenu {
		position: relative; display: flex; justify-content: flex-end; width: 100%;
		max-width: calc(var(--ycc-contenu) + 2 * var(--ycc-marge)); margin: 0 auto;
		padding: clamp(24px, 4.6svh, 46px) var(--ycc-marge) clamp(28px, 6svh, 72px);
	}
	.ycc-entete-photo--gauche .ycc-entete-photo__contenu { justify-content: flex-start; }
	.ycc-entete-photo__colonne { width: 547px; }
	.ycc-entete-photo__surtitre { margin-bottom: clamp(10px, 2svh, 18px); }
	.ycc-page__contenu .ycc-entete-photo__titre, .ycc-entete-photo__titre { font-size: clamp(34px, 5svh, 44px); line-height: 1.09; }
	.ycc-entete-photo__carte { margin-top: clamp(18px, 4.2svh, 40px); padding: clamp(20px, 3.4svh, 32px) clamp(34px, 5.4svh, 50px) clamp(22px, 3.8svh, 36px); }
	.ycc-entete-photo__carte .ycc-ornement { margin-bottom: clamp(10px, 2.2svh, 22px); }
	.ycc-entete-photo__carte .ycc-ornement img { width: clamp(28px, 4svh, 36px); height: clamp(28px, 4svh, 36px); }
	.ycc-entete-photo__texte { font-size: clamp(16px, 2.1svh, 17px); line-height: clamp(24px, 3.2svh, 27px); }
}
@media (max-width: 899px), (max-width: 1079px) and (orientation: portrait) {
	.ycc-entete-photo__contenu, .ycc-entete-photo__colonne { display: contents; }
	.ycc-entete-photo__surtitre { order: 1; gap: 12px; margin: 26px var(--ycc-marge) 12px; font-size: 14px; }
	.ycc-entete-photo__surtitre::before { width: 32px; height: 2px; background: var(--ycc-or); }
	.ycc-page__contenu .ycc-entete-photo__titre, .ycc-entete-photo__titre { order: 2; max-width: none; margin: 0 var(--ycc-marge) 24px; font-size: clamp(26px, 5vw, 36px); line-height: 1.12; }
	.ycc-entete-photo__photo { order: 3; aspect-ratio: 3 / 2; overflow: hidden; }
	.ycc-entete-photo__carte { order: 4; margin: -10px 7px 0; padding: 16px 12px; box-shadow: 0 14px 36px rgba(46, 51, 97, .14); }
	.ycc-entete-photo__carte .ycc-ornement { gap: 12px; margin-bottom: 14px; }
	.ycc-entete-photo__carte .ycc-ornement span { width: 58px; }
	.ycc-entete-photo__carte .ycc-ornement img { width: 24px; height: 24px; }
}
@media (min-width: 600px) and (max-width: 899px), (min-width: 600px) and (max-width: 1079px) and (orientation: portrait) {
	.ycc-entete-photo__carte { margin: -40px var(--ycc-marge) 0; padding: 28px 36px 32px; }
}

/* Présentation avec liens et chiffres (ex. Qui sommes-nous) : bande blanche, texte et liens à gauche,
   chiffres dans un cadre lavande à droite (deux par ligne), liseré de marine en haut, guidon au coin. */
.ycc-presentation__grille { display: grid; gap: 56px; }
.ycc-presentation__grille > * { min-width: 0; } /* Une colonne de grille ne s'élargit plus à un mot très long (téléphone : essais du 26/10/2026). */
@media (min-width: 1000px) { .ycc-presentation__grille { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 80px; align-items: center; } }
.ycc-presentation__intro { margin-bottom: 30px; font-size: 18px; line-height: 29px; }
.ycc-presentation__intro > :first-child { margin-top: 0; }
.ycc-presentation__intro > :last-child { margin-bottom: 0; }
.ycc-presentation__liens { margin: 0 0 34px; padding: 0; list-style: none; border-bottom: 1px solid rgba(57, 62, 118, .16); }
.ycc-presentation__liens li { margin: 0; border-top: 1px solid rgba(57, 62, 118, .16); }
.ycc-presentation__liens a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 32px 14px 0; position: relative; color: var(--ycc-marine); text-decoration: none; }
.ycc-presentation__libelle { font-family: var(--ycc-titres); font-size: 23px; line-height: 28px; letter-spacing: .02em; font-variant-caps: small-caps; }
.ycc-presentation__precision { color: var(--ycc-gris); font-size: 16px; }
.ycc-presentation__liens .ycc-icone { position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; transition: transform .2s ease; }
.ycc-presentation__liens a:hover .ycc-presentation__libelle { color: var(--ycc-bleu); }
.ycc-presentation__liens a:hover .ycc-icone { transform: translateX(4px); }
.ycc-presentation__bouton { margin: 0; }
/* Pavés sous le bouton (demande du 03/11/2026) : petites cartes blanches comme les autres cartes de l'accueil
   (arrondi, trait marine, survol sur toute la carte), photo dans un rond, trois par ligne. Téléphone : un pavé par
   ligne, photo à gauche, pour garder des titres lisibles et une grande surface à toucher. */
.ycc-paves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 540px; margin: 34px 0 0; padding: 0; list-style: none; }
.ycc-pave { margin: 0; }
.ycc-pave__lien {
	display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; padding: 20px 10px 16px;
	background: #fff; border: 1px solid var(--ycc-filet); border-top: var(--ycc-trait-carte); border-radius: var(--ycc-rayon-carte);
	box-shadow: 0 1px 2px rgba(22, 26, 60, .05), 0 12px 30px -14px rgba(22, 26, 60, .18);
	color: var(--ycc-marine); text-align: center; text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}
.ycc-pave__photo { flex: none; width: 88px; height: 88px; overflow: hidden; border-radius: 50%; background: var(--ycc-lavande); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ycc-filet); }
.ycc-page__contenu .ycc-pave__photo img, .ycc-pave__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ycc-pave__titre { font-family: var(--ycc-titres); font-size: 21px; line-height: 1.15; letter-spacing: .02em; font-variant-caps: small-caps; }
.ycc-pave__lien > .ycc-icone { flex: none; width: 20px; height: 20px; margin-top: auto; color: var(--ycc-bleu); transition: transform .2s ease; }
@media (hover: hover) {
	.ycc-pave__lien:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(22, 26, 60, .06), 0 24px 44px -18px rgba(22, 26, 60, .3); color: var(--ycc-bleu); }
	.ycc-pave__lien:hover .ycc-pave__photo img { transform: scale(1.06); }
	.ycc-pave__lien:hover > .ycc-icone { transform: translateX(4px); }
}
@media (max-width: 519px) {
	.ycc-paves { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ycc-pave__lien { flex-direction: row; gap: 16px; padding: 12px 18px 12px 12px; text-align: left; }
	.ycc-pave__photo { width: 60px; height: 60px; }
	.ycc-pave__titre { flex: 1; }
	.ycc-pave__lien > .ycc-icone { margin-top: 0; }
}
.ycc-presentation__chiffres { position: relative; padding: 44px 48px; background: var(--ycc-lavande); border-top: var(--ycc-trait-carte); border-radius: var(--ycc-rayon-carte); }
.ycc-presentation__decor { position: absolute; top: -34px; right: 30px; width: 120px; height: 120px; object-fit: contain; opacity: .9; }
.ycc-presentation__rangee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: 26px 0; }
.ycc-presentation__rangee + .ycc-presentation__rangee { border-top: 1px solid rgba(57, 62, 118, .16); }
.ycc-presentation__chiffre { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ycc-presentation__nombre { color: var(--ycc-marine); font-family: var(--ycc-titres); font-size: 54px; line-height: 56px; font-variant-numeric: lining-nums; }
.ycc-presentation__nombre small { font-size: 26px; }
.ycc-presentation__legende { color: var(--ycc-texte); font-size: 17px; line-height: 24px; }
@media (max-width: 599px) {
	.ycc-presentation__chiffres { padding: 28px 22px 20px; }
	.ycc-presentation__decor { top: -28px; right: 12px; width: 84px; height: 84px; }
	.ycc-presentation__rangee { gap: 20px; padding: 20px 0; }
	.ycc-presentation__nombre { font-size: 42px; line-height: 46px; }
	.ycc-presentation__nombre small { font-size: 21px; }
	.ycc-presentation__legende { font-size: 16px; }
}

/* Mise en avant sur fond marine (ex. la Revue) : image entière d'un côté, titre blanc, texte et bouton or
   de l'autre. */
.ycc-revue__grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; } /* Colonne à la largeur de l'écran : l'image ne l'élargit plus (téléphone : audit du 29/09/2026). */
@media (min-width: 900px) {
	.ycc-revue__grille { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 90px; }
	.ycc-revue--droite .ycc-revue__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); }
	.ycc-revue--droite .ycc-revue__image { order: 2; }
}
.ycc-revue__image img { display: block; width: auto; max-width: min(100%, 500px); height: auto; margin: 0 auto; border-radius: 0; } /* Jamais plus grande que son fichier (audit du 29/09/2026). */
.ycc-revue .ycc-bloc__titre { color: #fff; }
.ycc-revue__intro { margin-bottom: 36px; color: #fff; font-size: 18px; line-height: 29px; }
.ycc-revue__intro > :first-child { margin-top: 0; }
.ycc-revue__intro > :last-child { margin-bottom: 0; }
.ycc-revue__intro a { color: var(--ycc-or); }
.ycc-revue__bouton { margin: 0; }

/* Contact et accès : coordonnées à gauche (icône dans une pastille blanche, intitulé en gras, texte ;
   téléphone et e-mail soulignés), carte du lieu à droite dans un cadre arrondi, étiquette du lieu ; image
   sous les coordonnées (à droite s'il n'y a pas de carte). Téléphone : coordonnées, carte, image. */
.ycc-contact { display: grid; gap: 40px; }
@media (min-width: 960px) {
	.ycc-contact--carte, .ycc-contact--image { grid-template-columns: minmax(0, 510px) minmax(0, 1fr); gap: 70px; align-items: center; }
	.ycc-contact--carte.ycc-contact--image { align-items: start; }
}
.ycc-contact__infos { min-width: 0; } /* Une colonne de grille ne s'élargit plus à un mot très long (téléphone : essais du 26/10/2026). */
.ycc-contact__texte { margin-bottom: 26px; font-size: 18px; line-height: 29px; }
.ycc-contact__texte > :first-child { margin-top: 0; }
.ycc-contact__texte > :last-child { margin-bottom: 0; }
.ycc-contact__liste { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.ycc-contact__ligne { display: flex; align-items: flex-start; gap: 16px; margin: 0; }
.ycc-contact__pastille {
	display: inline-flex; flex: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ycc-marine);
}
.ycc-bande--blanche .ycc-contact__pastille { background: var(--ycc-lavande); }
.ycc-contact__pastille .ycc-icone { width: 22px; height: 22px; }
.ycc-contact__corps { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 7px; color: var(--ycc-texte); font-size: 18px; line-height: 29px; }
.ycc-contact__intitule { font-weight: 600; }
.ycc-contact__valeur a { color: var(--ycc-marine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; overflow-wrap: anywhere; }
.ycc-contact__valeur a:hover { color: var(--ycc-bleu); }
.ycc-contact__bouton { margin: 36px 0 0; }
.ycc-contact__image {
	max-width: 460px; padding: 16px; background: #fff;
	border: 1px solid var(--ycc-filet); border-radius: 12px; box-shadow: 0 1px 2px rgba(22, 26, 60, .05), 0 16px 36px -16px rgba(22, 26, 60, .28);
}
.ycc-contact__infos .ycc-contact__image { margin-top: 40px; }
.ycc-contact__image .ycc-photos { margin: 0; justify-content: center; }
.ycc-contact__image .ycc-photos__photo { max-width: 100%; margin: 0; }
.ycc-contact__carte {
	position: relative; height: 460px; overflow: hidden;
	background: var(--ycc-marine-fonce); border-radius: var(--ycc-rayon-carte); box-shadow: 0 20px 48px rgba(46, 51, 97, .18);
}
.ycc-contact__carte iframe { display: block; width: 100%; height: 100%; border: 0; }
.ycc-contact__etiquette {
	/* En haut à gauche : le logo et les mentions de Google (en bas) restent visibles. */
	position: absolute; left: 16px; top: 16px; display: flex; flex-direction: column; gap: 2px;
	max-width: calc(100% - 40px); margin: 0; padding: 12px 16px;
	background: #fff; border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); pointer-events: none;
}
.ycc-contact__etiquette-surtitre { color: var(--ycc-gris); font-family: var(--ycc-titres); font-size: 15px; line-height: 1.2; letter-spacing: .06em; font-variant-caps: small-caps; }
.ycc-contact__etiquette-nom { display: flex; align-items: center; gap: 6px; color: var(--ycc-marine); font-family: var(--ycc-titres); font-size: 21px; line-height: 24px; letter-spacing: .02em; font-variant-caps: small-caps; }
.ycc-contact__etiquette-nom .ycc-icone { width: 18px; height: 18px; }
.ycc-contact__etiquette-precision { color: var(--ycc-gris); font-size: 15px; line-height: 20px; }
@media (max-width: 959px) { .ycc-contact__carte { height: 340px; } }

/* Chiffres clés */
.ycc-chiffres__liste {
	display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
	margin: 0; padding: 0; list-style: none;
}
.ycc-chiffres__element {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(18px, 3vw, 26px) 14px;
	background: #fff; border: 1px solid var(--ycc-filet); border-top: 3px solid var(--ycc-or); border-radius: var(--ycc-rayon);
	text-align: center; box-shadow: var(--ycc-ombre);
}
.ycc-chiffres__nombre { color: var(--ycc-marine); font-family: var(--ycc-titres); font-size: clamp(40px, 5vw, 56px); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; }
.ycc-chiffres__libelle { color: #474747; font-size: 16px; line-height: 1.4; }

/* Appel à l'action */
.ycc-appel {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px); border-radius: var(--ycc-rayon);
}
.ycc-appel--marine { background: var(--ycc-marine); color: #e3e5f1; }
.ycc-appel--marine .ycc-appel__titre { color: #fff; }
.ycc-appel--clair { background: #fff; border: 1px solid var(--ycc-filet); border-left: 4px solid var(--ycc-or); }
.ycc-appel__texte { flex: 1 1 380px; }
.ycc-appel__titre { margin: 0 0 6px; font-size: var(--wp--preset--font-size--grand); }
.ycc-appel__texte p { margin: 0; }

/* Dernières actualités */
.ycc-actualites__tout { margin: 28px 0 0; text-align: center; }
/* Titre des blocs « Actualités à venir » et « Actualités passées » (grand titre, comme les autres blocs de l'accueil). */
.ycc-actualites > h2.ycc-bloc__titre--grand, .ycc-page__contenu .ycc-actualites > h2.ycc-bloc__titre--grand { margin-bottom: 36px; }
/* Aucun rendez-vous annoncé : message dans une carte blanche liserée de marine, comme les autres (maquette « Variante :
   aucune actualité à venir »). */
.ycc-actualites__vide {
	padding: 30px clamp(20px, 4vw, 40px) 34px; text-align: center;
	background: #fff; border-top: var(--ycc-trait-carte); border-radius: var(--ycc-rayon-carte); box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 44px rgba(46, 51, 97, .1);
}
.ycc-actualites__vide .ycc-ornement { margin-bottom: 16px; }
.ycc-actualites__vide p { margin: 0; color: var(--ycc-marine); font-family: var(--ycc-titres); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: .01em; font-variant-caps: small-caps; text-wrap: balance; }

/* Grandes photos : actualités mises en avant (« Actualités à venir » de l'accueil). Grande photo et, par-dessus,
   une carte blanche liserée de marine, comme la carte de l'en-tête ; photo à gauche puis à droite. */
.ycc-grandes { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.ycc-grande { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.ycc-grande__photo { grid-column: 1 / 9; grid-row: 1; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--ycc-rayon-carte); background: var(--ycc-lavande); box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 44px rgba(46, 51, 97, .12); transition: box-shadow .25s ease; }
.ycc-page__contenu .ycc-grande__image, .ycc-grande__image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
/* Affiche, photo en hauteur ou trop petite : entière, sur un fond flou tiré d'elle-même, comme dans les vignettes. */
.ycc-grande__photo--entiere { position: relative; background: var(--ycc-marine-fonce); }
.ycc-grande__photo--entiere::before {
	content: ""; position: absolute; inset: -30px;
	background: var(--ycc-fond, none) center / cover no-repeat;
	filter: blur(22px) brightness(.8) saturate(1.1); opacity: .9;
}
.ycc-page__contenu .ycc-grande__photo--entiere .ycc-grande__image, .ycc-grande__photo--entiere .ycc-grande__image { position: relative; object-fit: scale-down; } /* Entière, jamais agrandie. */
.ycc-grande__carte {
	position: relative; z-index: 1; grid-column: 8 / 13; grid-row: 1;
	display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 40px);
	background: #fff; border-top: var(--ycc-trait-carte); border-radius: var(--ycc-rayon-carte);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 26px 60px rgba(46, 51, 97, .16); transition: box-shadow .25s ease;
}
.ycc-grande--inverse .ycc-grande__photo { grid-column: 5 / 13; }
.ycc-grande--inverse .ycc-grande__carte { grid-column: 1 / 6; }
.ycc-grande--sans-photo .ycc-grande__carte { grid-column: 1 / 13; }
.ycc-page__contenu .ycc-grande__titre, .ycc-grande__titre { margin: 0; color: var(--ycc-marine); font-size: clamp(26px, 2.4vw, 32px); font-weight: 400; line-height: 1.12; letter-spacing: .01em; text-wrap: balance; }
.ycc-grande__titre { transition: color .2s ease; }
.ycc-grande__titre a { color: inherit; text-decoration: none; }
.ycc-grande__resume { margin: 0; color: var(--ycc-texte); font-size: 17px; line-height: 27px; }
.ycc-grande__infos { margin: 0; font-size: 16px; }
.ycc-grande__action { margin: 4px 0 0; }
/* Toute l'actualité est cliquable et réagit au survol comme les vignettes des actualités (demande du
   05/10/2026) : elle se soulève, ses ombres s'élargissent, la photo grossit un peu, le titre passe en bleu, la flèche
   du bouton avance. La carte entière mène à l'actualité, comme la photo ; son bouton (inscription ou « En savoir
   plus ») reste cliquable par-dessus. */
.ycc-grande { transition: transform .25s ease; }
.ycc-grande__titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ycc-grande__action { position: relative; z-index: 2; }
@media (hover: hover) {
	.ycc-grande:has(> .ycc-grande__photo:hover, > .ycc-grande__carte:hover) { transform: translateY(-4px); }
	.ycc-grande:has(> .ycc-grande__photo:hover, > .ycc-grande__carte:hover) .ycc-grande__photo { box-shadow: 0 4px 10px rgba(0, 0, 0, .06), 0 28px 56px rgba(46, 51, 97, .2); }
	.ycc-grande:has(> .ycc-grande__photo:hover, > .ycc-grande__carte:hover) .ycc-grande__carte { box-shadow: 0 4px 10px rgba(0, 0, 0, .07), 0 34px 70px rgba(46, 51, 97, .24); }
	.ycc-grande:has(> .ycc-grande__photo:hover, > .ycc-grande__carte:hover) .ycc-grande__image { transform: scale(1.04); }
	.ycc-grande:has(> .ycc-grande__photo:hover, > .ycc-grande__carte:hover) .ycc-grande__titre { color: var(--ycc-bleu); }
	.ycc-grande:has(> .ycc-grande__photo:hover, > .ycc-grande__carte:hover) .ycc-grande__action .ycc-icone { transform: translateX(4px); }
}
.ycc-article__inscription { margin: 4px 0 8px; }
/* Tablette et téléphone : la photo, puis la carte qui la chevauche (comme l'en-tête de l'accueil). */
@media (max-width: 899px) {
	.ycc-grande { display: block; }
	.ycc-grande__photo { aspect-ratio: 3 / 2; }
	.ycc-grande__carte { margin: -40px 12px 0; }
	.ycc-grande--sans-photo .ycc-grande__carte { margin: 0; }
}
@media (max-width: 599px) {
	.ycc-grande__carte { margin: -28px 8px 0; padding: 22px 18px 24px; gap: 14px; }
	.ycc-grande__action .ycc-bouton { width: 100%; }
}
/* Bloc étroit sur grand écran (colonne de droite, 300 px) : la présentation du téléphone (audit du 29/09/2026 : la
   carte et son bouton débordaient de la colonne). */
@container (max-width: 599px) {
	.ycc-grande { display: block; }
	.ycc-grande__photo { aspect-ratio: 3 / 2; }
	.ycc-grande__carte { margin: -28px 8px 0; padding: 22px 18px 24px; gap: 14px; }
	.ycc-grande--sans-photo .ycc-grande__carte { margin: 0; }
	.ycc-grande__action .ycc-bouton { width: 100%; }
}
/* Listes d'actualités : une colonne qui ne s'élargit jamais au-delà de son bloc. Sans cela, une adresse très longue dans
   le texte d'une actualité (présentation « Texte complet », surtout dans la colonne de droite) élargissait la page
   (essais du BO du 30/09/2026 : + 47 px à 1 280 px, + 17 px à 375 px). */
.ycc-actualites__liste--resumes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ycc-resume { padding: 18px 20px; background: #fff; border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon); }
.ycc-resume__titre { margin: 0 0 8px; font-size: 22px; text-wrap: balance; }
.ycc-resume__titre a { color: inherit; text-decoration: none; }
.ycc-resume__titre a:hover { color: var(--ycc-bleu); }
.ycc-resume__texte { margin: 0 0 8px; color: #474747; }
.ycc-resume__suite { margin: 0; }
.ycc-resume__suite a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.ycc-actualites__liste--complet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.ycc-actualites__liste--complet { gap: clamp(40px, 5vw, 60px); }
.ycc-actualites__complet > :first-child, .ycc-actualites__complet .ycc-texte-image__contenu > :first-child { margin-top: 0; }
.ycc-actualites__complet > :last-child, .ycc-actualites__complet .ycc-texte-image__contenu > :last-child { margin-bottom: 0; }
.ycc-actualites__complet img { max-width: 100%; height: auto; }

/* Documents à télécharger */
.ycc-documents__liste { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ycc-documents__lien {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px;
	min-height: 60px; padding: 12px 16px; background: #fff;
	border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon);
	color: var(--ycc-texte); text-decoration: none;
}
.ycc-documents__lien:hover { border-color: var(--ycc-marine); color: var(--ycc-marine); }
.ycc-documents__lien .ycc-icone--document { color: var(--ycc-marine); width: 28px; height: 28px; grid-row: span 2; }
.ycc-documents__lien .ycc-icone--telecharger { color: var(--ycc-marine); grid-column: 3; grid-row: 1 / span 2; }
.ycc-documents__nom { font-weight: 600; line-height: 1.35; }
.ycc-documents__info { grid-column: 2; color: var(--ycc-gris); font-size: 14px; }
.ycc-documents__info:empty { display: none; }
.ycc-documents { container-type: inline-size; }
/* Deux colonnes sur ordinateur, si le bloc a la place (pas dans la colonne de droite : audit du 29/09/2026). */
@media (min-width: 900px) { @container (min-width: 560px) { .ycc-documents__liste--colonnes { grid-template-columns: 1fr 1fr; } } }
.ycc-documents__lecteur { margin-bottom: 16px; }
/* PDF lisible dans la page (ycc_pdf_dans_la_page() ; retour du 02/11/2026). Téléphone, tablette, sans JavaScript : carte avec l'aperçu de la première page, le titre, le poids et
   « Lire le document » (le PDF s'ouvre en plein écran). Bloc large : aperçu à gauche. Ordinateur : blocs.js ajoute le
   PDF lui-même (classe ycc-pdf--cadre) et la carte lui laisse la place. */
.ycc-pdf { container-type: inline-size; margin: 0 0 1.2em; }
.ycc-pdf__carte {
	display: flex; flex-direction: column; overflow: hidden; max-width: 560px;
	background: #fff; border: 1px solid var(--ycc-filet); border-top: var(--ycc-trait-carte); border-radius: var(--ycc-rayon-carte);
	box-shadow: var(--ycc-ombre); color: var(--ycc-texte); text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) { .ycc-pdf__carte:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .12); } }
.ycc-pdf__carte:hover .ycc-pdf__action { background: var(--ycc-marine-fonce); }
.ycc-pdf__apercu { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: cover; object-position: top; background: var(--ycc-lavande); border-bottom: 1px solid var(--ycc-filet); }
.ycc-pdf__sans-apercu { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: var(--ycc-lavande); color: var(--ycc-marine); }
.ycc-pdf__sans-apercu .ycc-icone { width: 56px; height: 56px; }
.ycc-pdf__texte { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.ycc-pdf__nom { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ycc-pdf__info { color: var(--ycc-gris); font-size: 14px; }
.ycc-pdf__action {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; margin-top: 8px;
	min-height: 48px; padding: 12px 24px; border-radius: 6px; background: var(--ycc-marine); color: #fff; font-weight: 600; line-height: 1.2;
	transition: background .15s ease;
}
.ycc-pdf__action .ycc-icone { width: 20px; height: 20px; }
@container (max-width: 380px) { .ycc-pdf__action { align-self: stretch; } }
/* Bloc assez large (tablette) : aperçu à gauche, texte à droite. */
@container (min-width: 520px) {
	.ycc-pdf__carte { flex-direction: row; }
	.ycc-pdf__apercu, .ycc-pdf__sans-apercu { flex: none; width: 200px; max-height: none; align-self: flex-start; border-bottom: 0; border-right: 1px solid var(--ycc-filet); }
	.ycc-pdf__sans-apercu { align-self: stretch; aspect-ratio: auto; }
	.ycc-pdf__texte { justify-content: center; }
}
/* Ordinateur : le PDF dans la page, comme sur l'ancien site, et un lien pour l'ouvrir en grand. */
.ycc-pdf__cadre { display: block; width: 100%; height: min(80vh, 900px); border: 0; border-radius: var(--ycc-rayon); background: var(--ycc-lavande); box-shadow: var(--ycc-ombre); }
.ycc-pdf__plein-ecran { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 15px; }
.ycc-pdf__plein-ecran .ycc-icone { width: 18px; height: 18px; }
.ycc-pdf--cadre .ycc-pdf__carte { display: none; }
/* Fenêtre rétrécie après coup : la carte revient. */
@media (max-width: 899px) {
	.ycc-pdf--cadre .ycc-pdf__carte { display: flex; }
	.ycc-pdf__cadre, .ycc-pdf__plein-ecran { display: none; }
}
/* Couvertures (revues, affiches) : grille, couverture entière. */
.ycc-documents--couvertures .ycc-documents__liste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 20px; align-items: start; }
/* Bloc étroit (téléphone, colonne de droite) : deux couvertures par rangée, pas une seule étirée sur toute la largeur
   (audit du 29/09/2026 : couvertures de revues de 200 px affichées sur 343 px). */
@container (max-width: 420px) { .ycc-documents--couvertures .ycc-documents__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.ycc-documents__couverture { display: flex; flex-direction: column; gap: 8px; color: var(--ycc-texte); text-decoration: none; }
.ycc-documents__couverture img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: var(--ycc-ombre); transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .ycc-documents__couverture:hover img { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0, 0, 0, .12); } }
.ycc-documents__couverture .ycc-documents__nom { font-size: 15px; text-align: center; }
.ycc-documents__sans-couverture { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--ycc-filet); border-radius: 4px; color: var(--ycc-marine); }
.ycc-documents__sans-couverture .ycc-icone { width: 48px; height: 48px; }

/* Encadré */
.ycc-encadre {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px 20px; border-radius: var(--ycc-rayon); border: 1px solid var(--ycc-filet); border-left-width: 4px;
	background: #fff;
}
.ycc-encadre .ycc-icone { width: 26px; height: 26px; margin-top: 2px; }
.ycc-encadre__texte { min-width: 0; overflow-wrap: break-word; } /* Un mot ou une adresse très longs ne l'élargissent plus (téléphone : audit du 29/09/2026). */
.ycc-encadre--information { border-left-color: var(--ycc-bleu); }
.ycc-encadre--information .ycc-icone { color: var(--ycc-bleu); }
.ycc-encadre--important { border-left-color: #c0392b; background: #fff8f6; }
.ycc-encadre--important .ycc-icone { color: #c0392b; }
.ycc-encadre--membres { border-left-color: var(--ycc-or); background: #fffaf0; }
.ycc-encadre--membres .ycc-icone { color: #9a6b12; }
.ycc-encadre__titre { margin: 0 0 4px; font-weight: 700; color: var(--ycc-marine); }
.ycc-encadre__texte > :first-child { margin-top: 0; }
.ycc-encadre__texte > :last-child { margin-bottom: 0; }

/* Diaporamas : bandeau du club (sous le menu) et bloc « Diaporama ». Photos superposées, fondu. */
.ycc-diaporama { position: relative; }
.ycc-diaporama__piste { display: grid; overflow: hidden; background: var(--ycc-lavande); touch-action: pan-y; }
.ycc-diaporama__photo {
	grid-area: 1 / 1; position: relative; min-height: 0; margin: 0;
	opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
.ycc-diaporama__photo.est-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.ycc-diaporama .ycc-diaporama__image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ycc-diaporama__legende {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 150px 12px 18px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .62)); color: #fff; font-size: 15px; line-height: 1.4;
}
.ycc-diaporama__commandes { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.ycc-diaporama__bouton {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--ycc-marine);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2); cursor: pointer;
}
.ycc-diaporama__bouton:hover { background: #fff; }
.ycc-diaporama__bouton .ycc-icone { width: 20px; height: 20px; }
.ycc-diaporama__bouton--pause .ycc-icone--lecture,
.ycc-diaporama.est-en-pause .ycc-diaporama__bouton--pause .ycc-icone--pause { display: none; }
.ycc-diaporama.est-en-pause .ycc-diaporama__bouton--pause .ycc-icone--lecture { display: block; }
/* Actualités « Défilant » (bloc « Actualités », assets/js/blocs.js) : une à la fois. Toutes occupent la même case (la
   hauteur est celle de la plus longue : rien ne saute autour) ; sans JavaScript, elles restent l'une sous l'autre. */
.ycc-defilant.est-pret .ycc-defilant__piste { display: grid; }
.ycc-defilant.est-pret .ycc-defilant__element { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.ycc-defilant.est-anime .ycc-defilant__element { transition: opacity .6s ease, visibility .6s; }
.ycc-defilant.est-pret .ycc-defilant__element.est-active { opacity: 1; visibility: visible; }
.ycc-defilant:not(.est-pret) .ycc-defilant__element + .ycc-defilant__element { margin-top: 16px; }
.ycc-defilant__commandes { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.ycc-defilant:not(.est-pret) .ycc-defilant__commandes { display: none; }
.ycc-defilant__bouton {
	display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--ycc-filet); border-radius: 50%;
	background: #fff; color: var(--ycc-marine); cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.ycc-defilant__bouton:hover { border-color: var(--ycc-marine); background: var(--ycc-lavande); }
.ycc-defilant__bouton:focus-visible { outline: 2px solid var(--ycc-or); outline-offset: 2px; }
.ycc-defilant__bouton .ycc-icone { width: 18px; height: 18px; }
.ycc-defilant__compteur { margin-left: auto; color: var(--ycc-gris); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .ycc-defilant.est-anime .ycc-defilant__element { transition: none; } }
.ycc-diaporama-bloc .ycc-diaporama__piste { border-radius: var(--ycc-rayon); box-shadow: var(--ycc-ombre); }
.ycc-diaporama-bloc.alignfull .ycc-diaporama__piste { border-radius: 0; box-shadow: none; }
/* Bandeau du club : toute la largeur, collé au menu, comme sur l'ancien site. */
.ycc-bandeau .ycc-diaporama__piste { background: var(--ycc-marine); }
@media (max-width: 600px) {
	.ycc-bandeau .ycc-diaporama__commandes { right: 8px; bottom: 6px; }
	.ycc-bandeau .ycc-diaporama__bouton { width: 32px; height: 32px; }
	/* Bandeau bas sur téléphone : on glisse du doigt ; seul le bouton d'arrêt reste. */
	.ycc-bandeau .ycc-diaporama__bouton--precedente,
	.ycc-bandeau .ycc-diaporama__bouton--suivante { display: none; }
	.ycc-diaporama__legende { padding-right: 18px; padding-bottom: 60px; }
}

/* Partenaires */
.ycc-partenaires__liste {
	display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
	margin: 0; padding: 0; list-style: none;
}
.ycc-partenaires__lien {
	display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%;
	padding: 14px 12px 16px; background: #fff; border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon);
	color: var(--ycc-texte); text-align: center; text-decoration: none;
	transition: border-color .15s ease, box-shadow .2s ease;
}
a.ycc-partenaires__lien:hover { border-color: var(--ycc-marine); box-shadow: var(--ycc-ombre); color: var(--ycc-texte); }
.ycc-partenaires__cadre { display: flex; align-items: center; justify-content: center; width: 100%; height: 96px; margin-bottom: 6px; }
.ycc-partenaires .ycc-partenaires__logo { display: block; width: auto; max-width: 100%; height: auto; max-height: 96px; object-fit: contain; border-radius: 0; }
.ycc-partenaires__sans-logo { color: var(--ycc-marine); font-family: var(--ycc-titres); font-size: 20px; line-height: 1.2; }
.ycc-partenaires__nom { font-weight: 600; line-height: 1.3; }
.ycc-partenaires__description { color: var(--ycc-gris); font-size: 14px; line-height: 1.4; }
/* Défilement continu : la liste est présente deux fois, le ruban se décale d'une demi-longueur en boucle. */
.ycc-partenaires__fenetre {
	--ycc-fondu: clamp(12px, 2.5vw, 36px);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--ycc-fondu), #000 calc(100% - var(--ycc-fondu)), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 var(--ycc-fondu), #000 calc(100% - var(--ycc-fondu)), transparent);
}
/* Dans une page : le défilé va d'un bord à l'autre de l'écran ; le titre reste aligné sur le contenu. */
.ycc-page__contenu > .ycc-partenaires--defilement { max-width: none; margin-left: calc(-1 * var(--ycc-marge)); margin-right: calc(-1 * var(--ycc-marge)); }
.ycc-page__contenu > .ycc-partenaires--defilement > .ycc-bloc__titre { box-sizing: border-box; max-width: calc(var(--ycc-contenu) + 2 * var(--ycc-marge)); margin-left: auto; margin-right: auto; padding: 0 var(--ycc-marge); }
.ycc-partenaires__ruban { display: flex; width: max-content; animation: ycc-defilement var(--ycc-duree, 60s) linear infinite; }
.ycc-partenaires--defilement .ycc-partenaires__liste { display: flex; gap: 16px; padding-right: 16px; }
.ycc-partenaires--defilement .ycc-partenaires__lien { width: 170px; }
/* Jamais arrêté, ni au survol ni au toucher (demande du 25/09/2026) ; immobile seulement si la
   personne a demandé moins d'animations dans son système (ci-dessous). */
@keyframes ycc-defilement { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ycc-partenaires__fenetre { -webkit-mask-image: none; mask-image: none; }
	.ycc-partenaires__ruban { width: auto; animation: none; }
	.ycc-partenaires--defilement .ycc-partenaires__liste { flex-wrap: wrap; justify-content: flex-start; padding-right: 0; }
	.ycc-partenaires__ruban > [aria-hidden="true"] { display: none; }
	.ycc-page__contenu > .ycc-partenaires--defilement .ycc-partenaires__fenetre { box-sizing: border-box; max-width: calc(var(--ycc-contenu) + 2 * var(--ycc-marge)); margin: 0 auto; padding: 0 var(--ycc-marge); }
}

/* Mise en avant */
.ycc-avant { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--ycc-rayon); } /* Colonne à la largeur de l'écran (téléphone : audit du 29/09/2026). */
.ycc-avant--clair { background: var(--ycc-lavande); border: 1px solid var(--ycc-filet); }
.ycc-avant--marine { background: var(--ycc-marine); color: #e3e5f1; }
.ycc-avant--marine .ycc-avant__titre { color: #fff; }
.ycc-avant--marine .ycc-avant__surtitre { color: var(--ycc-or); }
.ycc-avant--marine a:not(.ycc-bouton) { color: #fff; }
.ycc-avant__image { justify-self: center; margin: 0; }
.ycc-avant .ycc-avant__image img { display: block; width: auto; max-width: 100%; height: auto; max-height: 520px; border-radius: 4px; box-shadow: 0 8px 26px rgba(0, 0, 0, .18); }
.ycc-avant__surtitre { margin: 0 0 6px; color: var(--ycc-bleu); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ycc-avant__titre { margin: 0 0 14px; font-size: var(--wp--preset--font-size--grand); }
.ycc-avant__contenu > :first-child { margin-top: 0; }
.ycc-avant__contenu > :last-child { margin-bottom: 0; }
.ycc-avant .ycc-bouton { margin-top: 20px; }
@media (min-width: 800px) {
	.ycc-avant { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 56px); }
	.ycc-avant--sans-image { grid-template-columns: 1fr; }
}

/* Affiche : en grand, centrée, entière ; boutons centrés en dessous. */
.ycc-affiche__image .ycc-photos--seule { justify-content: center; }
.ycc-affiche__image .ycc-photos--seule .ycc-photos__photo { max-width: min(100%, 640px); }
.ycc-affiche__image .ycc-photos--seule img { max-height: 92vh; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.ycc-affiche__texte { max-width: 760px; margin: 18px auto 0; text-align: center; }
.ycc-affiche__texte > :last-child { margin-bottom: 0; }
.ycc-affiche__boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.ycc-affiche__boutons .ycc-bouton { max-width: 100%; }

/* Vidéo, carte ou document en ligne */
.ycc-integre__cadre { position: relative; overflow: hidden; border-radius: var(--ycc-rayon); background: var(--ycc-lavande); box-shadow: var(--ycc-ombre); }
.ycc-integre__cadre iframe { display: block; width: 100%; border: 0; }
.ycc-integre--video .ycc-integre__cadre iframe { aspect-ratio: 16 / 9; height: auto; }
.ycc-integre--haut .ycc-integre__cadre iframe { height: min(78vh, 720px); }
.ycc-integre .ycc-bouton { margin-top: 14px; }
/* Vidéo en attente de lecture (consentement) : même format que la vidéo, bouton au centre, hébergeur nommé. */
.ycc-integre__attente { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: var(--ycc-marine-fonce); color: #fff; }
.ycc-integre__lire { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; background: #fff; color: var(--ycc-marine); font: inherit; font-weight: 600; cursor: pointer; }
.ycc-integre__lire:hover, .ycc-integre__lire:focus-visible { background: var(--ycc-or); color: var(--ycc-marine-fonce); }
.ycc-integre__lire:focus-visible { outline: 3px solid var(--ycc-or); outline-offset: 3px; }
.ycc-integre__avis { max-width: 46ch; margin: 0; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.ycc-integre__avis a { color: #fff; }

/* Visionneuse (photo agrandie d'une galerie) */
html.ycc-visionneuse-ouverte { overflow: hidden; }
.ycc-visionneuse {
	width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(12, 14, 30, .95); color: #fff;
}
.ycc-visionneuse[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.ycc-visionneuse::backdrop { background: rgba(12, 14, 30, .95); }
.ycc-visionneuse__barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; }
.ycc-visionneuse__compteur { margin: 0; color: #c9cbe0; font-size: 15px; }
.ycc-visionneuse__fermer {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, .4); border-radius: 22px; background: transparent; color: #fff;
	font: inherit; font-size: 16px; cursor: pointer;
}
.ycc-visionneuse__fermer:hover { background: rgba(255, 255, 255, .12); }
.ycc-visionneuse__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; margin: 0; padding: 0 72px 20px; touch-action: pan-y; }
.ycc-visionneuse__image { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 150px); object-fit: contain; }
.ycc-visionneuse__legende { max-width: 760px; margin-top: 12px; color: #e3e5f1; font-size: 16px; line-height: 1.45; text-align: center; }
.ycc-visionneuse__nav {
	position: absolute; top: 50%; display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; transform: translateY(-50%);
	background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer;
}
.ycc-visionneuse__nav:hover { background: rgba(255, 255, 255, .28); }
.ycc-visionneuse__nav--precedente { left: 12px; }
.ycc-visionneuse__nav--suivante { right: 12px; }
.ycc-visionneuse.est-unique .ycc-visionneuse__nav,
.ycc-visionneuse.est-unique .ycc-visionneuse__compteur { visibility: hidden; }
@media (max-width: 600px) {
	.ycc-visionneuse__figure { padding: 0 8px 84px; }
	.ycc-visionneuse__image { max-height: calc(100dvh - 200px); }
	.ycc-visionneuse__nav { top: auto; bottom: 18px; transform: none; }
	.ycc-visionneuse__nav--precedente { left: calc(50% - 64px); }
	.ycc-visionneuse__nav--suivante { right: calc(50% - 64px); }
}

/* Accès aux applications du club */
.ycc-applications__liste { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin: 0; padding: 0; list-style: none; }
.ycc-applications__lien {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; height: 100%; min-height: 64px;
	padding: 12px 16px; background: #fff; border: 1px solid var(--ycc-filet); border-left: 4px solid var(--ycc-or); border-radius: var(--ycc-rayon);
	color: var(--ycc-texte); text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease;
}
.ycc-applications__lien:hover { border-color: var(--ycc-marine); border-left-color: var(--ycc-or); box-shadow: var(--ycc-ombre); color: var(--ycc-marine); }
.ycc-applications__lien > .ycc-icone { width: 26px; height: 26px; color: var(--ycc-marine); }
.ycc-applications__texte { display: flex; flex-direction: column; gap: 2px; }
.ycc-applications__libelle { font-weight: 600; line-height: 1.35; }
.ycc-applications__description { color: var(--ycc-gris); font-size: 14px; line-height: 1.4; }

/* ---------- 9. Listes et articles ---------- */
.ycc-liste .ycc-page__entete { max-width: var(--ycc-contenu); }
/* Filtres d'une rubrique d'actualités (template-parts/filtres-actualites.php) : rubrique et période en pastilles
   (la choisie en marine), année en liste, puis le nombre trouvé. Grandes cibles (44 px), texte 16 px. */
.ycc-filtres { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 36px; margin: 24px 0 32px; padding: 18px 20px; background: #fff; border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon); }
.ycc-filtres__groupe { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ycc-filtres__intitule { color: var(--ycc-gris); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.ycc-filtres__choix { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ycc-filtres__lien { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1px solid var(--ycc-marine); border-radius: 999px; background: #fff; color: var(--ycc-marine); font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; }
.ycc-filtres__lien:hover, .ycc-filtres__lien:focus-visible { background: var(--ycc-lavande); }
.ycc-filtres__lien[aria-current], .ycc-filtres__lien[aria-current]:hover { background: var(--ycc-marine); color: #fff; }
.ycc-filtres__annee { flex-flow: row wrap; align-items: center; }
.ycc-filtres__annee .ycc-filtres__intitule { flex-basis: 100%; }
.ycc-filtres__annee select { min-height: 44px; padding: 6px 12px; border: 1px solid var(--ycc-marine); border-radius: 6px; background-color: #fff; color: var(--ycc-texte); font: inherit; font-size: 16px; }
.ycc-filtres__annee .ycc-bouton { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.ycc-filtres__nombre { flex-basis: 100%; margin: 0; color: var(--ycc-gris); font-size: 15px; }
.ycc-liste__vide { max-width: var(--ycc-contenu); margin: 0 auto; }
.ycc-article__meta { margin: -8px 0 0; color: var(--ycc-gris); font-size: 15px; }
.ycc-article__image { margin: 0 0 24px; }
.ycc-article__image img { display: block; width: auto; max-width: 100%; height: auto; max-height: 560px; margin: 0 auto; border-radius: var(--ycc-rayon); }
.ycc-article__image--bandeau img { width: 100%; object-fit: cover; } /* Grande photo en largeur (single.php). */
/* Actualité sur une feuille blanche, comme une page imprimée : trait marine en haut, ombre douce (retour du
   02/11/2026). Feuille à la largeur des autres pages (1 180 px, même retour).
   Fil d'Ariane au-dessus, sur le fond du site. Téléphone : feuille bord à bord. */
.ycc-article { --ycc-feuille: var(--ycc-contenu); --ycc-feuille-marge: clamp(22px, 6vw, 80px); }
.ycc-article__fil { max-width: var(--ycc-feuille); margin: 0 auto; padding-top: 28px; }
.ycc-article__feuille {
	max-width: var(--ycc-feuille); margin: 14px auto 0; padding: clamp(28px, 4.5vw, 60px) var(--ycc-feuille-marge) clamp(32px, 5vw, 64px);
	background: #fff; border-top: var(--ycc-trait-carte); border-radius: var(--ycc-rayon-carte);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 44px rgba(46, 51, 97, .1);
}
.ycc-article .ycc-page__entete { padding: 0 0 22px; margin-bottom: clamp(26px, 3.4vw, 38px); border-bottom: 1px solid var(--ycc-filet); }
.ycc-article .ycc-page__titre { margin: 0; }
.ycc-article .ycc-article__infos, .ycc-article .ycc-article__meta { margin: 18px 0 0; }
.ycc-article .ycc-article__inscription { margin: 18px 0 0; }
.ycc-article .ycc-page__contenu { font-size: 18px; line-height: 1.7; }
.ycc-article .ycc-page__contenu > .ycc-bloc:first-child { margin-top: 0; }
/* Grande photo, bloc pleine largeur : jusqu'aux bords de la feuille. */
.ycc-article__feuille .ycc-article__image--bandeau,
.ycc-article__feuille .ycc-page__contenu > :is(.alignfull, .ycc-bloc--pleine-largeur) { max-width: none; margin-left: calc(-1 * var(--ycc-feuille-marge)); margin-right: calc(-1 * var(--ycc-feuille-marge)); }
.ycc-article__feuille .ycc-article__image--bandeau img { max-height: 620px; border-radius: 0; }
.ycc-article__feuille .ycc-colonne > .ycc-bloc { box-shadow: none; }
@media (max-width: 640px) {
	.ycc-article { --ycc-feuille-marge: var(--ycc-marge); }
	.ycc-article__feuille { margin-left: calc(-1 * var(--ycc-marge)); margin-right: calc(-1 * var(--ycc-marge)); border-radius: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
	.ycc-article .ycc-page__contenu { font-size: 17px; }
}
/* Sous une actualité : deux autres actualités en vignettes (single.php), dans la largeur du site. */
.ycc-autres-actualites { width: min(var(--ycc-contenu), calc(100% - 2 * var(--ycc-marge))); margin: clamp(48px, 6vw, 72px) auto clamp(40px, 5vw, 64px); }
.ycc-nav-articles { max-width: var(--ycc-contenu); margin: 48px auto 0; }
.ycc-nav-articles .nav-links { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ycc-nav-articles a {
	display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px;
	background: #fff; border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon); text-decoration: none;
}
.ycc-nav-articles .nav-next { text-align: right; }
.ycc-nav-articles__sens { color: var(--ycc-gris); font-size: 14px; }
.ycc-nav-articles__titre { color: var(--ycc-marine); font-weight: 600; }
/* Liste des actualités en « photo à côté du texte » (rubriques, recherche) : lecture facile, grands
   caractères, texte centré face à la photo ; photo au-dessus sur téléphone. */
.ycc-fiches { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: var(--ycc-contenu); margin: 8px auto 0; container-type: inline-size; }
.ycc-fiche {
	display: grid; overflow: hidden; background: #fff;
	border: 1px solid var(--ycc-filet); border-radius: var(--ycc-rayon-carte);
	box-shadow: 0 1px 2px rgba(22, 26, 60, .05), 0 12px 30px -14px rgba(22, 26, 60, .18);
}
.ycc-fiche__image { display: block; }
.ycc-fiche__image .ycc-carte__image { height: 100%; }
@media (hover: hover) { .ycc-fiche:hover .ycc-fiche__image img { transform: scale(1.03); } }
.ycc-fiche__corps { padding: clamp(22px, 4cqi, 40px); }
.ycc-fiche__infos { font-size: 16px; }
.ycc-fiche__titre { margin: 0 0 12px; font-size: clamp(25px, 2.8cqi, 31px); line-height: 1.18; }
.ycc-fiche__titre a { color: inherit; text-decoration: none; }
.ycc-fiche__titre a:hover { color: var(--ycc-bleu); text-decoration: underline; text-decoration-thickness: 1px; }
.ycc-fiche__texte { margin: 0 0 22px; color: #333; font-size: 18px; line-height: 1.7; }
.ycc-fiche__suite { font-size: 17px; }
@container (min-width: 700px) {
	.ycc-fiche:not(.ycc-fiche--sans-image) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
	.ycc-fiche__image { align-self: stretch; position: relative; min-height: 280px; }
	.ycc-fiche__image .ycc-carte__image { position: absolute; inset: 0; aspect-ratio: auto; }
	.ycc-fiche__image .ycc-carte__image img { position: absolute; inset: 0; }
}
.ycc-fiche--sans-image { border-left: 4px solid var(--ycc-or); }
/* Bateaux du YCC (inc/bateaux.php). Caractéristiques dans les listes : « Libellé : valeur », comme sur l'ancien site,
   sur deux colonnes quand la place le permet. */
.ycc-bateau { margin: 0; font-size: 17px; line-height: 1.55; }
.ycc-bateau__ligne { display: flex; flex-wrap: wrap; column-gap: .35em; }
.ycc-bateau dt { font-weight: 600; }
.ycc-bateau dt::after { content: "\00a0:"; }
.ycc-bateau dd { margin: 0; }
.ycc-bateau--liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 2px 28px; margin: 0 0 22px; color: #333; }

/* Fiche d'un bateau (template-parts/bateau.php) : photo et caractéristiques côte à côte, l'une sous l'autre sur
   téléphone. La photo garde au plus sa taille réelle (250 à 584 px de large) : agrandie en bandeau, elle était floue. */
.ycc-page__contenu > .ycc-bateau-fiche__grille { display: grid; gap: 24px; align-items: start; margin-top: 8px; }
@media (min-width: 900px) {
	.ycc-page__contenu > .ycc-bateau-fiche__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
	.ycc-page__contenu > .ycc-bateau-fiche__grille--seule { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-left: 0; }
}
.ycc-bateau-fiche__photo {
	display: flex; align-items: center; justify-content: center; min-height: 260px; margin: 0; padding: clamp(18px, 3vw, 36px);
	background: #fff; border: 1px solid var(--ycc-filet); border-radius: 14px; box-shadow: var(--ycc-ombre);
}
.ycc-bateau-fiche__photo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 560px; border-radius: 4px; }
.ycc-bateau-fiche__carac {
	padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--ycc-filet); border-top: 4px solid var(--ycc-or);
	border-radius: 14px; box-shadow: var(--ycc-ombre);
}
.ycc-bateau-fiche__titre { margin: 0 0 18px; font-size: clamp(25px, 2.4vw, 29px); line-height: 1.15; }
.ycc-bateau--fiche { display: grid; gap: 12px; }
.ycc-bateau--fiche .ycc-bateau__ligne { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--ycc-filet); }
.ycc-bateau--fiche .ycc-bateau__ligne:last-child { padding-bottom: 0; border-bottom: 0; }
.ycc-bateau--fiche dt { color: var(--ycc-gris); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ycc-bateau--fiche dt::after { content: none; }
.ycc-bateau--fiche dd { margin-top: 3px; color: var(--ycc-marine-fonce); font-size: 20px; line-height: 1.35; }
.ycc-page__contenu > .ycc-bateau-fiche__retour { margin-top: 32px; }
.ycc-bateau-fiche__retour .ycc-bouton { display: inline-flex; align-items: center; gap: 8px; }

/* Autres bateaux (sous une fiche) : trois cartes, photo entière sur fond lavande, nom, gréement et longueur. */
.ycc-autres-bateaux { width: min(var(--ycc-contenu), calc(100% - 2 * var(--ycc-marge))); margin: clamp(48px, 6vw, 72px) auto clamp(40px, 5vw, 64px); }
.ycc-autres-bateaux__grille { display: grid; gap: 22px; }
@media (min-width: 700px) { .ycc-autres-bateaux__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ycc-carte-bateau__lien {
	display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; text-decoration: none;
	background: #fff; border: 1px solid var(--ycc-filet); border-radius: 14px; box-shadow: var(--ycc-ombre);
	transition: border-color .15s ease, transform .15s ease;
}
.ycc-carte-bateau__lien:hover { border-color: var(--ycc-marine); transform: translateY(-2px); }
.ycc-carte-bateau__lien:focus-visible { outline: 3px solid var(--ycc-or); outline-offset: 2px; }
.ycc-carte-bateau__photo { display: flex; align-items: center; justify-content: center; height: 220px; padding: 14px; background: var(--ycc-lavande); }
.ycc-carte-bateau__photo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; }
.ycc-carte-bateau__nom { margin: 18px 20px 4px; color: var(--ycc-marine-fonce); font-size: 23px; line-height: 1.2; }
.ycc-carte-bateau__resume { margin: 0 20px 20px; color: var(--ycc-gris); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .ycc-carte-bateau__lien { transition: none; } .ycc-carte-bateau__lien:hover { transform: none; } }

/* Page « Liste bateaux » : une carte par bateau ; photo entière, jamais agrandie au-delà de sa taille réelle, sur fond
   lavande (les photos des fiches sont petites) ; filtre et tri sur une ligne. */
@container (min-width: 700px) {
	.ycc-bateaux .ycc-fiche:not(.ycc-fiche--sans-image) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.ycc-bateaux .ycc-fiche__image { background: var(--ycc-lavande); }
.ycc-bateaux .ycc-fiche__image img { object-fit: scale-down; padding: 16px; }
@media (hover: hover) { .ycc-bateaux .ycc-fiche:hover .ycc-fiche__image img { transform: none; } }
.ycc-filtres--bateaux select, .ycc-filtres--bateaux input { min-height: 44px; padding: 6px 12px; border: 1px solid var(--ycc-marine); border-radius: 6px; background-color: #fff; color: var(--ycc-texte); font: inherit; font-size: 16px; }
/* Les listes de choix rétrécissent avec l'écran : le plus long libellé de tri fait 431 px (débordement à 375 px). */
.ycc-filtres--bateaux .ycc-filtres__groupe:not(.ycc-filtres__action) { min-width: 0; max-width: 100%; }
.ycc-filtres--bateaux select { width: 100%; min-width: 14em; max-width: 100%; }
.ycc-filtres__action .ycc-bouton { min-height: 44px; padding: 8px 22px; font-size: 16px; }
.ycc-pagination { max-width: var(--ycc-contenu); margin: 40px auto 0; }
.ycc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ycc-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	background: #fff; border: 1px solid var(--ycc-filet); border-radius: 6px; text-decoration: none;
}
.ycc-pagination .page-numbers.current { background: var(--ycc-marine); border-color: var(--ycc-marine); color: #fff; }

/* ---------- 10. Boutique : assets/css/boutique.css (chargée sur les pages de la boutique) ---------- */
