/* =========================================================
   La Collective — Pack CSS WordPress.com (sans JS)
   Objectif : harmoniser boutons/cartes/sections, responsive,
   sans dépendre d’un thème premium.
   ========================================================= */
/* ---------- Variables (couleurs) ---------- */
:root {
}

/* ---------- Base typographique & liens ---------- */
.entry-content, .wp-block-post-content {
	color: var(--cdtse-ink);
	line-height: 1.7;
}

.entry-content a, .wp-block-post-content a {
	text-underline-offset: .18em;
}

/* Évite les “collages” sur mobile */
.entry-content img,
.wp-block-post-content img {
	border-radius: 14px;
}

/* ---------- Containers utiles (si tu ajoutes class="cdtse-wrap") ---------- */
.cdtse-wrap {
	max-width: 1120px;
	margin: 0 auto;
}

/* ---------- “Hero” (haut de page) ---------- */
.cdtse-hero {
	border-radius: 0 0 40px 40px;
	background: var(--cdtse-accent);
	box-shadow: 0 10px 28px rgba(0,0,0,.18);
	padding: 18px 16px;
}

.cdtse-hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	gap: 12px;
	justify-items: center;
}

.cdtse-hero figure {
	margin: 0;
	width: min(980px, 100%);
	border-radius: var(--cdtse-radius-lg);
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.cdtse-hero img {
	width: 100%;
	height: auto;
	display: block;
}

/* ---------- Boutons (classes réutilisables) ---------- */
.cdtse-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: 10px 16px;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none !important;
	border: 2px solid transparent;
	box-shadow: 0 10px 22px rgba(0,0,0,.10);
	transform: translateY(0);
	transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.cdtse-btn:hover {
	transform: translateY(-1px);
	filter: saturate(1.02);
	box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

.cdtse-btn:focus {
	outline: 3px solid rgba(184,78,58,.35);
	outline-offset: 3px;
}

/* Variantes */
.cdtse-btn--accent {
	background: var(--cdtse-accent);
	color: #fff;
	border-color: rgba(255,255,255,.18);
}

.cdtse-btn--accent2 {
	background: var(--cdtse-accent-2);
	color: #fff;
	border-color: rgba(255,255,255,.18);
}

.cdtse-btn--light {
	background: #fff;
	color: var(--cdtse-accent);
	border-color: rgba(184,78,58,.55);
}

.cdtse-btn--mint {
	background: #dcfce7;
	color: #065f46;
	border-color: rgba(6,95,70,.35);
}

.cdtse-btn--violet {
	background: #ede9fe;
	color: #5b21b6;
	border-color: rgba(91,33,182,.35);
}

.cdtse-btn--gold {
	background: #fff3b0;
	color: #8b6f00;
	border-color: rgba(184,78,58,.35);
}

.cdtse-btn--dark {
	background: #111827;
	color: #fff;
	border-color: rgba(255,255,255,.10);
}

/* ---------- Rangées de boutons ---------- */
.cdtse-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 12px 0;
}

/* ---------- Cartes / Sections ---------- */
.cdtse-card {
	background: var(--cdtse-paper);
	border-radius: var(--cdtse-radius);
	padding: 16px;
	border: 1px solid var(--cdtse-line);
	box-shadow: var(--cdtse-shadow-soft);
	margin: 18px 0;
}

.cdtse-card--soft {
	background: var(--cdtse-soft);
	border: 1px solid rgba(184,78,58,.22);
}

.cdtse-card--accent {
	border: 2px solid rgba(184,78,58,.65);
	background: linear-gradient(180deg, #fff, #fff7f4);
}

.cdtse-card--ink {
	border: 2px solid rgba(75,85,99,.55);
	background: #f9fafb;
}

.cdtse-card h2,
.cdtse-card h3 {
	margin: .1rem 0 .6rem;
	line-height: 1.25;
}

/* Petit sous-titre “ruban” */
.cdtse-pill {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 800;
	background: rgba(184,78,58,.10);
	color: var(--cdtse-accent);
	border: 1px solid rgba(184,78,58,.25);
}

/* ---------- Grilles d’images (ex: deux visuels côte à côte) ---------- */
.cdtse-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-items: start;
}

@media (min-width: 680px) {
	.cdtse-grid-2 {
		grid-template-columns: 1fr 1fr;
	}
}

.cdtse-figure {
	margin: 0;
	border-radius: var(--cdtse-radius);
	overflow: hidden;
	box-shadow: var(--cdtse-shadow);
	background: #fff;
}

.cdtse-figure img {
	width: 100%;
	height: auto;
	display: block;
}

/* ---------- “Block” Newsletter / Event (image + texte) ---------- */
.cdtse-media {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	align-items: center;
}

@media (min-width: 860px) {
	.cdtse-media {
		grid-template-columns: 1.05fr .95fr;
	}
}

.cdtse-media--reverse {
	direction: rtl;
/* inversion simple */
}

.cdtse-media--reverse > * {
	direction: ltr;
}

/* ---------- Mentions / textes secondaires ---------- */
.cdtse-note {
	color: var(--cdtse-muted);
	font-size: .96rem;
	margin: .6rem 0 0;
}

/* ---------- Details (accordéons) : plus propre ---------- */
details {
	border-radius: 14px;
}

details > summary {
	list-style: none;
}

details > summary::-webkit-details-marker {
	display: none;
}

details[open] > summary {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* ---------- Ajustements WordPress : listes ---------- */
.entry-content ul,
.wp-block-post-content ul {
	padding-left: 1.15rem;
}

/* ---------- Petites séparations ---------- */
.cdtse-sep {
	text-align: center;
	font-size: 1.35rem;
	color: rgba(139,63,49,.95);
	margin: 10px 0 14px;
}
@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(48px, 12vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 22px 0;
  }

  .hero h1 em {
    letter-spacing: -2px;
  }

  .hero {
    padding-top: 10px;
  }
}
@media (max-width: 720px) {
  .site-header {
    position: relative;
    z-index: 100;
  }

  .site-header nav.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px 24px;
    background: #f6f4eb;
    border-bottom: 1px solid #d4d5c9;
    box-shadow: 0 12px 24px #00000018;
    max-height: 75vh;
    overflow-y: auto;
  }

  .site-header nav.open > a,
  .site-header nav.open .search-button {
    display: block;
    padding: 13px 16px;
    font-size: 16px;
    line-height: 1.4;
  }

  .site-header nav.open > a.pill {
    background: #292f26;
    color: #f6f4eb;
    text-align: center;
  }
}
@media (max-width: 720px) {
  .site-header nav.open {
    gap: 4px;
    padding: 12px 20px;
  }

  .site-header nav.open > a,
  .site-header nav.open .search-button {
    margin: 0;
    min-height: 0;
    padding: 10px 14px;
    line-height: 1.3;
  }

  .site-header nav.open .search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
}