/*
Theme Name: Célébration Parfète — Le Trousseau
Theme URI: https://www.celebration-parfete.com/
Description: Thème enfant Astra sur-mesure pour celebration-parfete.com. Direction artistique « Le Trousseau » : magazine mariage chaleureux, palette reprise du logo (taupe doré, ivoire, sable), rubriques illustrées, recherche mise en avant, sceau du logo en élément signature. 100% code, sans builder ni plugin.
Author: RC2I
Author URI: https://www.rc2i.net/
Template: astra
Version: 2.1.0
Text Domain: astra-child-celebration
*/

/* =====================================================================
   1. TOKENS — direction « Le Trousseau »
   La couleur de marque reste celle du logo (taupe doré du monogramme CF).
   Autour, des papiers chauds : ivoire, sable, champagne. Pas de blanc froid.
   ===================================================================== */
:root {
    /* Taupe doré du logo (relevé au pixel sur le monogramme : #8C7A58) */
    --ct-brand:      #8C7A58;
    --ct-brand-700:  #7A6A4B; /* version texte/bouton conforme AA */
    --ct-brand-800:  #5E5136;
    --ct-brand-900:  #2E2418; /* brun profond des bandeaux */
    --ct-brand-soft: #C8B69A;
    --ct-brand-pale: #EFE4D4;

    /* Papiers chauds */
    --ct-surface:   #FAF6EE; /* ivoire */
    --ct-sable:     #F2E9DB; /* fond de section */
    --ct-champagne: #E9DCC8; /* aplats et vignettes */
    --ct-blanc:     #FFFDF9;
    --ct-encre:     #2A231B; /* brun-noir, jamais du noir pur */
    --ct-encre-doux: #6E6252;
    --ct-ligne:     #E3D6C2;

    /* Typo : serif douce en titres, grotesque chaleureuse en lecture */
    --ct-display: "Fraunces", Georgia, "Times New Roman", serif;
    --ct-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Rythme */
    --ct-radius: 4px;
    --ct-radius-lg: 6px;
    --ct-container: 1240px;
    --ct-section-y: clamp(3.5rem, 7vw, 6rem);
}

/* =====================================================================
   2. BASE
   ===================================================================== */
body.ct-front,
.ct-page {
    font-family: var(--ct-body);
    font-weight: 400;
    color: var(--ct-encre);
    background: var(--ct-surface);
    font-size: 17px;
}

.ct-front h1, .ct-front h2, .ct-front h3, .ct-front h4,
.ct-page h1, .ct-page h2, .ct-page h3, .ct-page h4 {
    font-family: var(--ct-display);
    font-weight: 500;
    font-variation-settings: "SOFT" 40, "WONK" 1;
    line-height: 1.12;
    letter-spacing: -0.012em;
    color: var(--ct-encre);
}

.ct-container {
    width: 100%;
    max-width: var(--ct-container);
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 2.4rem);
}

/* Étiquette de rubrique */
.ct-eyebrow,
.ct-rubrique-label {
    display: inline-block;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ct-brand-700);
}
.ct-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; }
.ct-eyebrow::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--ct-brand);
}

/* ---- ÉLÉMENT SIGNATURE : le sceau ------------------------------------
   Deux cercles concentriques en filet, repris du logo. Médaillon de
   compteur, marqueur d'archive, filigrane des bandeaux.               */
.ct-sceau {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    border: 1px solid var(--ct-brand);
    border-radius: 50%;
    background: var(--ct-blanc);
    color: var(--ct-brand-800);
}
.ct-sceau::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid var(--ct-brand-soft);
    border-radius: 50%;
}
.ct-sceau__n {
    position: relative;
    font-family: var(--ct-display);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
}
.ct-sceau__u {
    position: relative;
    display: block;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.5rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ct-brand-700);
    margin-top: 0.2rem;
}
.ct-sceau--sm { width: 52px; height: 52px; background: transparent; }
.ct-sceau--sm .ct-sceau__n { font-size: 1rem; }

/* Bandeau de navigation des rubriques (généré en PHP, toujours à jour) */
.ct-manchette {
    border-top: 1px solid var(--ct-ligne);
    border-bottom: 1px solid var(--ct-ligne);
    background: var(--ct-blanc);
}
.ct-manchette__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.6rem;
    padding-block: 0.75rem;
}
.ct-manchette a {
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ct-encre);
    text-decoration: none;
    padding-block: 0.25rem;
    border-bottom: 2px solid transparent;
}
.ct-manchette a:hover,
.ct-manchette a[aria-current="page"] { color: var(--ct-brand-700); border-bottom-color: var(--ct-brand); }
.ct-manchette__label {
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ct-brand-700);
}
.ct-manchette__label::after { content: " ·"; color: var(--ct-brand-soft); }
.ct-manchette__fin { margin-left: auto; }

/* Boutons */
.ct-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.7rem;
    border-radius: 999px;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ct-btn--primary { background: var(--ct-brand-800); color: #fff; }
.ct-btn--primary:hover { background: var(--ct-brand-900); color: #fff; }

.ct-btn--ghost { background: transparent; color: var(--ct-encre); border-color: var(--ct-brand); }
.ct-btn--ghost:hover { background: var(--ct-brand-pale); color: var(--ct-brand-800); }

.ct-btn--light { background: transparent; color: var(--ct-brand-pale); border-color: rgba(200, 182, 154, 0.65); }
.ct-btn--light:hover { background: rgba(200, 182, 154, 0.16); color: #fff; }

.ct-lien {
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ct-brand-800);
    text-decoration: none;
    border-bottom: 1px solid var(--ct-brand);
    padding-bottom: 0.2rem;
}
.ct-lien:hover { color: var(--ct-encre); }

/* =====================================================================
   3. RECHERCHE — l'entrée principale du site
   ===================================================================== */
.ct-recherche {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 560px;
    margin-top: 1.8rem;
}
.ct-recherche__champ {
    flex: 1 1 260px;
    min-width: 0;
    padding: 0.95rem 1.2rem;
    background: var(--ct-blanc);
    border: 1px solid var(--ct-brand-soft);
    border-radius: 999px;
    font-family: var(--ct-body);
    font-size: 1rem;
    color: var(--ct-encre);
}
.ct-recherche__champ::placeholder { color: var(--ct-encre-doux); }
.ct-recherche__champ:focus { outline: 2px solid var(--ct-brand); outline-offset: 1px; border-color: var(--ct-brand); }
.ct-recherche__btn {
    flex: 0 0 auto;
    padding: 0.9rem 1.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--ct-brand-800);
    color: #fff;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}
.ct-recherche__btn:hover { background: var(--ct-brand-900); }

.ct-suggestions {
    display: flex;
    margin-top: 1.6rem;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem;
    font-family: var(--ct-body);
    font-size: 0.92rem;
    color: var(--ct-encre-doux);
}
.ct-suggestions a {
    color: var(--ct-brand-800);
    text-decoration: none;
    border-bottom: 1px solid var(--ct-brand-soft);
}
.ct-suggestions a:hover { border-color: var(--ct-brand-800); }

/* =====================================================================
   4. LA UNE — mosaïque illustrée
   ===================================================================== */
.ct-une { padding-top: clamp(2rem, 4vw, 3.2rem); padding-bottom: var(--ct-section-y); }

.ct-strapline { max-width: 70ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ct-strapline h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    margin: 0.9rem 0 0;
    max-width: 26ch;
    text-wrap: pretty;
}
.ct-strapline p {
    margin: 1.1rem 0 0;
    color: var(--ct-encre-doux);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 56ch;
}

.ct-mosaique {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 1.6rem;
    align-items: stretch;
}
.ct-mosaique__cote { display: grid; grid-template-rows: 1fr 1fr; gap: 1.6rem; min-width: 0; }
.ct-mosaique__cote .ct-vignette { min-height: 0; }
.ct-mosaique__cote .ct-vignette__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 140px; }

.ct-vignette { display: flex; flex-direction: column; min-width: 0; }
.ct-vignette__media {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--ct-radius-lg);
    background: var(--ct-champagne);
    aspect-ratio: 3 / 2;
}
.ct-vignette--haute .ct-vignette__media { aspect-ratio: 4 / 3; }
.ct-vignette--basse .ct-vignette__media { aspect-ratio: 16 / 9; }
.ct-vignette__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.ct-vignette:hover .ct-vignette__media img { transform: scale(1.04); }
.ct-vignette__media--vide { display: grid; place-items: center; }
.ct-vignette__flag {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    background: var(--ct-blanc);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
}
.ct-vignette__corps { padding-top: 1.1rem; }
.ct-vignette__titre {
    font-family: var(--ct-display);
    font-weight: 500;
    line-height: 1.18;
    margin: 0.5rem 0 0;
}
.ct-vignette__titre a { color: var(--ct-encre); text-decoration: none; }
.ct-vignette__titre a:hover { color: var(--ct-brand-800); }
.ct-vignette--haute .ct-vignette__titre { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 22ch; }
.ct-vignette--basse .ct-vignette__titre { font-size: 1.2rem; }
.ct-vignette__chapo {
    margin: 0.9rem 0 0;
    font-size: 1.06rem;
    line-height: 1.6;
    color: var(--ct-encre-doux);
    max-width: 54ch;
}
.ct-vignette__meta {
    margin-top: 0.9rem;
    font-family: var(--ct-body);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ct-encre-doux);
}

/* =====================================================================
   5. LES RUBRIQUES — tuiles illustrées (l'entrée par sujet)
   ===================================================================== */
.ct-section { padding-block: var(--ct-section-y); }
.ct-section--sable { background: var(--ct-sable); }

.ct-section-head { max-width: 46ch; margin-bottom: 2.8rem; }
.ct-section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0.9rem 0 0; text-wrap: balance; }
.ct-section-head p { margin: 1rem 0 0; color: var(--ct-encre-doux); font-size: 1.06rem; line-height: 1.65; }
.ct-section-head--wide { max-width: 62ch; }

.ct-tuiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.6rem; }
/* 5 rubriques : trois puis deux — pas une grille symétrique */
.ct-tuile { grid-column: span 2; display: flex; flex-direction: column; min-width: 0; }
.ct-tuile:nth-child(4), .ct-tuile:nth-child(5) { grid-column: span 3; }

.ct-tuile__media {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--ct-radius-lg);
    background: var(--ct-champagne);
    aspect-ratio: 3 / 2;
}
.ct-tuile:nth-child(4) .ct-tuile__media,
.ct-tuile:nth-child(5) .ct-tuile__media { aspect-ratio: 21 / 9; }
.ct-tuile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.ct-tuile:hover .ct-tuile__media img { transform: scale(1.04); }
.ct-tuile__media--vide { display: grid; place-items: center; }
.ct-tuile__compteur {
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ct-blanc);
    border: 1px solid var(--ct-brand-soft);
    font-family: var(--ct-display);
    font-size: 1.05rem;
    color: var(--ct-brand-800);
    line-height: 1;
    text-align: center;
}
.ct-tuile__compteur small {
    display: block;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.44rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ct-brand-700);
}
.ct-tuile__corps { padding-top: 1rem; display: flex; flex-direction: column; flex: 1; }
.ct-tuile__nom {
    font-family: var(--ct-display);
    font-weight: 500;
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 0;
}
.ct-tuile__nom a { color: var(--ct-encre); text-decoration: none; }
.ct-tuile__nom a:hover { color: var(--ct-brand-800); }
.ct-tuile__desc { margin: 0.6rem 0 1rem; color: var(--ct-encre-doux); font-size: 0.98rem; line-height: 1.6; }

.ct-pastilles { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.ct-pastille {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--ct-ligne);
    background: var(--ct-blanc);
    border-radius: 999px;
    font-family: var(--ct-body);
    font-size: 0.78rem;
    color: var(--ct-encre);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ct-pastille:hover { border-color: var(--ct-brand); background: var(--ct-brand-pale); color: var(--ct-brand-800); }
.ct-pastille b { font-weight: 700; color: var(--ct-brand-700); }
.ct-pastille[aria-current="page"] { background: var(--ct-brand-800); border-color: var(--ct-brand-800); color: #fff; }
.ct-pastille[aria-current="page"] b { color: var(--ct-brand-soft); }
.ct-pastilles--barre { margin: 0 0 2.6rem; }

/* =====================================================================
   6. LES QUESTIONS — « je cherche une réponse précise »
   ===================================================================== */
.ct-questions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ct-ligne); }
.ct-questions li { border-bottom: 1px solid var(--ct-ligne); }
.ct-questions a {
    display: flex;
    align-items: baseline;
    gap: 1.4rem;
    padding: 1.2rem 0;
    text-decoration: none;
    color: var(--ct-encre);
}
.ct-questions a:hover { color: var(--ct-brand-800); }
.ct-questions__txt {
    font-family: var(--ct-display);
    font-weight: 500;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.25;
    flex: 1 1 auto;
}
.ct-questions__rub {
    flex: 0 0 auto;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ct-brand-700);
    white-space: nowrap;
}

/* =====================================================================
   7. CARTES ARTICLE
   ===================================================================== */
.ct-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.8rem; }
.ct-card { display: flex; flex-direction: column; min-width: 0; }
.ct-card__media {
    display: block;
    overflow: hidden;
    border-radius: var(--ct-radius-lg);
    background: var(--ct-champagne);
    aspect-ratio: 3 / 2;
}
.ct-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.ct-card:hover .ct-card__media img { transform: scale(1.04); }
.ct-card__media--vide { display: grid; place-items: center; }
.ct-card__body { padding: 1rem 0 0; display: flex; flex-direction: column; flex: 1; }
.ct-card__cat {
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ct-brand-700);
    margin-bottom: 0.5rem;
}
.ct-card__title {
    font-family: var(--ct-display);
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.22;
    margin: 0 0 0.6rem;
}
.ct-card__title a { color: var(--ct-encre); text-decoration: none; }
.ct-card__title a:hover { color: var(--ct-brand-800); }
.ct-card__excerpt { margin: 0 0 1.1rem; color: var(--ct-encre-doux); font-size: 0.98rem; line-height: 1.6; }
.ct-card__meta {
    margin-top: auto;
    font-family: var(--ct-body);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ct-encre-doux);
}
.ct-latest__more { margin-top: 3rem; }

/* =====================================================================
   8. LE MOT DE LA RÉDACTION
   ===================================================================== */
.ct-redaction { background: var(--ct-brand-900); color: var(--ct-brand-pale); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.ct-redaction__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ct-redaction .ct-eyebrow { color: var(--ct-brand-soft); }
.ct-redaction .ct-eyebrow::before { background: var(--ct-brand-soft); }
.ct-redaction h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0.9rem 0 0; }
.ct-redaction p { color: rgba(239, 228, 212, 0.84); font-size: 1.08rem; line-height: 1.7; margin: 1.2rem 0 0; }
.ct-redaction__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.ct-redaction .ct-sceau {
    border-color: var(--ct-brand-soft);
    background: transparent;
    color: var(--ct-brand-pale);
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
}
.ct-redaction .ct-sceau::before { inset: 11px; border-color: rgba(200, 182, 154, 0.45); }
.ct-redaction .ct-sceau__mono {
    position: relative;
    font-family: var(--ct-display);
    font-size: 3.8rem;
    line-height: 1;
    color: var(--ct-brand-soft);
}
.ct-redaction .ct-sceau__u { color: var(--ct-brand-soft); margin-top: 0.6rem; font-size: 0.58rem; }

/* =====================================================================
   9. CTA
   ===================================================================== */
.ct-cta { padding-block: var(--ct-section-y); }
.ct-cta__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.ct-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0.9rem 0 0; text-wrap: balance; }
.ct-cta p { color: var(--ct-encre-doux); font-size: 1.08rem; line-height: 1.65; margin: 1.1rem 0 0; }
.ct-cta__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.ct-cta__liens { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ct-encre); }
.ct-cta__liens li { border-bottom: 1px solid var(--ct-ligne); }
.ct-cta__liens a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ct-encre);
    text-decoration: none;
}
.ct-cta__liens a:hover { color: var(--ct-brand-800); }
.ct-cta__liens span { color: var(--ct-brand); }

/* =====================================================================
   10. BLOG & ARCHIVES
   ===================================================================== */
.ct-archive-hero { background: var(--ct-sable); padding-top: clamp(2.4rem, 5vw, 3.6rem); padding-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.ct-archive-hero__tete { display: flex; align-items: flex-start; gap: 1.6rem; }
.ct-archive-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin: 0.7rem 0 0; max-width: 20ch; text-wrap: balance; }
.ct-archive-hero__desc { margin: 1.1rem 0 0; max-width: 62ch; font-size: 1.06rem; line-height: 1.65; color: var(--ct-encre-doux); }
.ct-archive-hero__desc p { margin: 0 0 0.5rem; }
.ct-archive { padding-block: var(--ct-section-y); }
.ct-empty { color: var(--ct-encre-doux); font-size: 1.08rem; padding-block: 2rem; }

.ct-pagination { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ct-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 0.9rem;
    background: var(--ct-blanc);
    border: 1px solid var(--ct-ligne);
    border-radius: 999px;
    color: var(--ct-encre);
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.ct-pagination a.page-numbers:hover { border-color: var(--ct-brand); color: var(--ct-brand-800); }
.ct-pagination .page-numbers.current { background: var(--ct-brand-800); border-color: var(--ct-brand-800); color: #fff; }
.ct-pagination .page-numbers.dots { background: transparent; border-color: transparent; }

/* =====================================================================
   11. ARTICLE
   ===================================================================== */
.ct-single-hero { padding-top: clamp(1.6rem, 3vw, 2.4rem); padding-bottom: clamp(1.8rem, 3vw, 2.4rem); }
.ct-single-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0.8rem 0 0; max-width: 22ch; text-wrap: pretty; }
.ct-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    color: var(--ct-encre-doux);
}
.ct-breadcrumb a { color: var(--ct-brand-700); text-decoration: none; }
.ct-breadcrumb a:hover { text-decoration: underline; }
.ct-single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ct-ligne);
    font-family: var(--ct-body);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ct-encre-doux);
}

.ct-single__cover { margin: 0; }
.ct-single__cover img { display: block; width: 100%; height: auto; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--ct-radius-lg); }
.ct-single__content { padding-top: clamp(2.4rem, 5vw, 3.4rem); padding-bottom: var(--ct-section-y); }
.ct-single__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
    max-width: var(--ct-container);
    padding-inline: clamp(1.1rem, 4vw, 2.4rem);
}

.ct-aside { position: sticky; top: 2rem; }
.ct-aside__box {
    background: var(--ct-sable);
    border-radius: var(--ct-radius-lg);
    padding: 1.6rem 1.5rem;
}
.ct-aside__box h2 {
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 1.2rem;
}
.ct-aside__sceau { margin: 0 auto 1.3rem; }
.ct-aside__box p { font-size: 0.98rem; line-height: 1.65; color: var(--ct-encre-doux); margin: 0 0 1.2rem; }
.ct-aside .ct-recherche { margin-top: 0; }
.ct-aside .ct-recherche__champ { flex: 1 1 100%; font-size: 0.92rem; padding: 0.75rem 1rem; }
.ct-aside .ct-recherche__btn { flex: 1 1 100%; justify-content: center; }

/* Typographie rédactionnelle */
.ct-prose { max-width: 66ch; }
.ct-prose > * { margin-top: 0; }
.ct-prose p { font-size: 1.1rem; line-height: 1.8; margin: 0 0 1.4rem; }
.ct-prose > p:first-of-type { font-size: 1.22rem; line-height: 1.7; }
.ct-prose h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 2.6rem 0 1rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--ct-ligne);
}
.ct-prose h3 { font-size: 1.32rem; margin: 2rem 0 0.8rem; }
.ct-prose a { color: var(--ct-brand-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ct-prose a:hover { color: var(--ct-encre); }
.ct-prose ul, .ct-prose ol { margin: 0 0 1.4rem; padding-left: 1.2rem; line-height: 1.8; font-size: 1.1rem; }
.ct-prose li { margin-bottom: 0.45rem; }
.ct-prose li::marker { color: var(--ct-brand); }
.ct-prose img { max-width: 100%; height: auto; border-radius: var(--ct-radius-lg); }
.ct-prose figure { margin: 2.2rem 0; }
.ct-prose figcaption {
    font-family: var(--ct-body);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--ct-encre-doux);
    margin-top: 0.6rem;
}
.ct-prose blockquote {
    margin: 2.2rem 0;
    padding: 1.6rem 1.8rem;
    background: var(--ct-sable);
    border: 0;
    border-radius: var(--ct-radius-lg);
    font-family: var(--ct-display);
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--ct-brand-800);
}
.ct-prose blockquote p { font-size: inherit; line-height: inherit; margin-bottom: 0; }
.ct-prose strong { font-weight: 700; }

.ct-tags { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--ct-ligne); }
.ct-tags > span, .ct-meta-label {
    display: block;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ct-encre-doux);
    margin-bottom: 0.7rem;
}
.ct-tags a {
    display: inline-block;
    margin: 0 0.3rem 0.3rem 0;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--ct-ligne);
    background: var(--ct-blanc);
    border-radius: 999px;
    color: var(--ct-encre);
    font-family: var(--ct-body);
    font-size: 0.78rem;
    text-decoration: none;
}
.ct-tags a:hover { border-color: var(--ct-brand); color: var(--ct-brand-800); }

.ct-related { padding-block: var(--ct-section-y); background: var(--ct-sable); }

/* Page générique */
.ct-page-hero { background: var(--ct-sable); padding-top: clamp(2.4rem, 5vw, 3.6rem); padding-bottom: clamp(2.2rem, 4vw, 3rem); }
.ct-page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 0.8rem 0 0; max-width: 22ch; }

/* Formulaires (WPForms, Gutenberg) */
.ct-prose input[type="text"],
.ct-prose input[type="email"],
.ct-prose input[type="tel"],
.ct-prose input[type="date"],
.ct-prose select,
.ct-prose textarea {
    width: 100%;
    max-width: 560px;
    padding: 0.8rem 1rem;
    background: var(--ct-blanc);
    border: 1px solid var(--ct-ligne);
    border-radius: var(--ct-radius);
    font-family: var(--ct-body);
    font-size: 1rem;
    color: var(--ct-encre);
}
.ct-prose input:focus, .ct-prose textarea:focus, .ct-prose select:focus {
    outline: 2px solid var(--ct-brand);
    outline-offset: 1px;
    border-color: var(--ct-brand);
}
.ct-prose label { display: block; font-family: var(--ct-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.ct-prose input[type="submit"],
.ct-prose button[type="submit"],
.ct-prose .wpforms-submit {
    width: auto;
    background: var(--ct-brand-800);
    color: #fff;
    border: 0;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}
.ct-prose input[type="submit"]:hover,
.ct-prose button[type="submit"]:hover,
.ct-prose .wpforms-submit:hover { background: var(--ct-brand-900); }

/* =====================================================================
   12. RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
    .ct-single__grid { grid-template-columns: 1fr; }
    .ct-aside { position: static; max-width: 480px; }
    .ct-tuiles { grid-template-columns: repeat(2, 1fr); }
    .ct-tuile, .ct-tuile:nth-child(4), .ct-tuile:nth-child(5) { grid-column: span 1; }
    .ct-tuile:nth-child(4) .ct-tuile__media,
    .ct-tuile:nth-child(5) .ct-tuile__media { aspect-ratio: 3 / 2; }
}
@media (max-width: 900px) {
    .ct-mosaique,
    .ct-redaction__grid,
    .ct-cta__grid { grid-template-columns: 1fr; }
    .ct-mosaique__cote { grid-template-rows: auto auto; }
    .ct-redaction .ct-sceau { max-width: 200px; order: -1; }
    .ct-posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    body.ct-front, .ct-page { font-size: 16px; }
    .ct-posts { grid-template-columns: 1fr; }
    .ct-tuiles { grid-template-columns: 1fr; }
    .ct-questions a { flex-direction: column; gap: 0.4rem; }
    .ct-questions__rub { order: -1; }
    .ct-archive-hero__tete { gap: 1rem; }
    .ct-sceau { width: 58px; height: 58px; }
    .ct-sceau__n { font-size: 1.1rem; }
    .ct-sceau__u { font-size: 0.44rem; }
    .ct-manchette__fin { display: none; }
}

/* =====================================================================
   13. ACCESSIBILITÉ
   ===================================================================== */
.ct-front a:focus-visible,
.ct-page a:focus-visible,
.ct-btn:focus-visible,
button:focus-visible {
    outline: 2px solid var(--ct-brand-800);
    outline-offset: 3px;
}
.ct-sr {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
    .ct-btn, .ct-card__media img, .ct-tuile__media img, .ct-vignette__media img, .ct-pastille { transition: none; }
    .ct-card:hover .ct-card__media img,
    .ct-tuile:hover .ct-tuile__media img,
    .ct-vignette:hover .ct-vignette__media img { transform: none; }
}

/* =====================================================================
   14. PLEINE LARGEUR — annulation du conteneur flex réservé à la sidebar
   Astra met `.site-content > .ast-container` en display:flex (en prévision
   d'une colonne latérale) : notre <main> se calait à gauche en laissant un
   vide à droite. IMPORTANT : ne cibler QUE `.site-content`.
   ===================================================================== */
body.ct-front,
body.ct-page { overflow-x: clip; }

.ct-front .site-content, .ct-page .site-content { padding: 0 !important; }

.ct-front .site-content .ast-container,
.ct-page  .site-content .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.ct-front .site-content #primary,     .ct-page .site-content #primary,
.ct-front .site-content .site-main,   .ct-page .site-content .site-main,
.ct-front .site-content .content-area,.ct-page .site-content .content-area,
.ct-front #ct-content, .ct-page #ct-content,
.ct-front .site-content > .ast-container > main,
.ct-page  .site-content > .ast-container > main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: 1 1 100% !important;
}
.ct-front #secondary, .ct-page #secondary { display: none !important; }
.ct-front .ct-container, .ct-page .ct-container { margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.ct-single__grid { margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }

/* En-tête & pied Astra accordés à la DA */
.ct-front .site-header, .ct-page .site-header { background: var(--ct-surface); }
.ct-front .main-header-menu a, .ct-page .main-header-menu a {
    font-family: var(--ct-body);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ct-front .site-footer, .ct-page .site-footer { font-family: var(--ct-body); }

.ct-photo-credits {
    font-family: var(--ct-body);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--ct-encre-doux);
    padding: 0.9rem 1rem;
    background: var(--ct-surface);
    text-align: center;
}

/* =====================================================================
   15. ROBUSTESSE DU CONTENU (anciens articles Elementor : anti-débordement)
   ===================================================================== */
.ct-prose{ overflow-wrap:break-word; word-wrap:break-word; }
.ct-prose img{ max-width:100%; height:auto; }
.ct-prose figure{ max-width:100%; }
.ct-prose figure img{ width:auto; max-width:100%; }
.ct-prose iframe, .ct-prose video, .ct-prose embed, .ct-prose object{ max-width:100% !important; }
.ct-prose iframe{ width:100%; }
.ct-prose .wp-caption{ max-width:100% !important; height:auto; }
.ct-prose table{ width:100%; border-collapse:collapse; display:block; overflow-x:auto; margin:1.6rem 0; font-size:.98rem; }
.ct-prose th, .ct-prose td{ border:1px solid var(--ct-ligne); padding:.6rem .8rem; text-align:left; }
.ct-prose th{ font-family:var(--ct-body); font-weight:700; font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; background:var(--ct-sable); }
.ct-prose .aligncenter{ display:block; margin-left:auto; margin-right:auto; }
.ct-prose .alignright{ float:right; margin:.4rem 0 1rem 1.5rem; max-width:50%; }
.ct-prose .alignleft{ float:left; margin:.4rem 1.5rem 1rem 0; max-width:50%; }
.ct-prose .alignwide, .ct-prose .alignfull, .ct-prose .wp-block-image{ max-width:100%; }
.ct-prose::after{ content:""; display:block; clear:both; }
.ct-prose [style*="width"]{ max-width:100% !important; }
.ct-prose *{ max-width:100%; }
