/* =========================================================
   BANDEAU / IDENTITE CTERNET
   ========================================================= */

.container-header {
    background: linear-gradient(
        90deg,
        #eef6f8 0%,
        #f7fbfc 55%,
        #eef6f8 100%
    );

    border-bottom: 1px solid rgba(17,40,85,0.10);
    box-shadow: 0 2px 10px rgba(20,40,70,0.05);

    padding-top: 0.6rem;
    padding-bottom: 0.7rem;
}

.container-header .navbar-brand {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.container-header .navbar-brand img {
    max-height: 82px;
    width: auto;
    display: block;
}

.container-header .site-description {
    margin-top: 0.35rem;

    color: #243b68;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.cternet-subtitle {
    margin-top: 0.35rem;

    color: #243b68;
    font-size: 0.98rem;
    font-weight: 500;
}

/* respiration autour du contenu */
.container-header .container-nav,
.container-header .grid-child {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* mobile */
@media (max-width: 768px) {
    .container-header .navbar-brand img {
        max-height: 66px;
    }

    .container-header .site-description,
    .cternet-subtitle {
        font-size: 0.9rem;
    }
}
/* =========================================================
   PORTAIL CTERNET - CSS PERSONNALISÉ
   ========================================================= */


/* =========================================================
   1. VERRE & SAVEURS - PAGE D'ACCUEIL
   ========================================================= */

.vs-home {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.vs-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.vs-intro h1 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.vs-portes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.vs-porte {
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 2rem;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.vs-porte h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.vs-porte ul {
  margin: 1.2rem 0;
  padding-left: 1.4rem;
}

.vs-bouton {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  background: #1f4f7a;
  color: #ffffff;
}

.vs-bouton:hover,
.vs-bouton:focus {
  text-decoration: none;
  opacity: 0.9;
}


/* =========================================================
   2. VERRE & SAVEURS - WEB / JOOMLA
   ========================================================= */

.webj-home {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.webj-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.webj-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.webj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.webj-card {
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 1.8rem;
  background: #ffffff;
}

.webj-card h2 {
  margin-top: 0;
}

.webj-card-featured {
  grid-column: 1 / -1;
  text-align: center;
}


/* =========================================================
   3. WEB-LAB - PAGE D'ACCUEIL
   ========================================================= */

.weblab-home {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.weblab-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.weblab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.weblab-card {
  padding: 1.6rem;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #ffffff;
}

.weblab-card h2 {
  margin-top: 0;
}

.weblab-method {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border-radius: 12px;
  background: #f5f5f5;
}


/* =========================================================
   4. RESPONSIVE - MOBILE / TABLETTE
   ========================================================= */

@media (max-width: 768px) {

  .vs-portes,
  .webj-grid,
  .weblab-grid {
    grid-template-columns: 1fr;
  }

  .webj-card-featured {
    grid-column: auto;
  }

}


/* =========================================================
   5. WEB-LAB - EXPÉRIENCES
   À compléter avec LAB01, LAB02, etc.
   ========================================================= */
/* =========================================================
   5. WEB-LAB - EXPÉRIENCES
   ========================================================= */

.lab-experience {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.lab-experience > header {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #d9d9d9;
}

.lab-experience > header h1 {
  margin-bottom: 0.8rem;
}

.lab-experience section {
  margin-top: 2rem;
}

.lab-experience h2 {
  margin-bottom: 0.8rem;
}

.lab-experience pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 8px;
  background: #f5f5f5;
}

.lab-experience code {
  font-family: monospace;
}

.lab-experience ul,
.lab-experience ol {
  padding-left: 1.5rem;
}

.lab-experience li {
  margin-bottom: 0.4rem;
}
/* ---------------------------------------------------------
   LAB01 - HTML manuel vs HTML généré par Joomla
   --------------------------------------------------------- */

.lab-link {
  font-weight: 600;
  text-decoration: none;
}

.lab-link:hover,
.lab-link:focus {
  text-decoration: underline;
}
/* =========================
   HOME - HERO AISNE
   ========================= */

.home-hero {
    min-height: 520px;
    background-image: url('/images/home/aisne-hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-overlay {
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.35)
    );
}

.home-hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
}

.home-hero-content h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    color: #102a56;
    text-shadow: 0 2px 8px rgba(255,255,255,0.7);
}

.home-subtitle {
    margin-top: 0.6rem;
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    color: #2e4c74;
}

.home-baseline {
    margin-top: 1.5rem;
    font-size: 1.15rem;
    color: #17345f;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .home-hero,
    .home-hero-overlay {
        min-height: 380px;
    }
}

/* =========================
   HOME LANDING PAGE
   ========================= */

.com-content-article.item-page.home-landing > .page-header {
    display: none !important;
}

.com-content-article.item-page.home-landing .article-info {
    display: none !important;
}

.home-landing .breadcrumb {
    display: none !important;
}
/* =========================
   HOME LANDING PAGE
   ========================= */

.com-content-article.item-page.home-landing > .page-header {
    display: none !important;
}

.com-content-article.item-page.home-landing .article-info {
    display: none !important;
}

.home-landing .breadcrumb {
    display: none !important;
}

.com-content-article.item-page.home-landing .pagenavigation {
    display: none !important;
}

.com-content-article.item-page.home-landing .pager {
    display: none !important;
}
/* =========================
   HOME - 4 UNIVERS
   ========================= */

.home-univers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 1500px;
    margin: -65px auto 3rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 5;
}

/* Carte générique */
.univers-card {
    display: block;
    background: #ffffff;
    border-radius: 18px;
    border: 4px solid #ffffff;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
    color: #112855;
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    min-height: 230px;
    position: relative;
}

/* Liseré supérieur coloré */
.univers-card::before {
    content: "";
    display: block;
    height: 7px;
    width: 100%;
}

/* Hover général */
.univers-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.30);
    text-decoration: none;
}

/* Images */
.univers-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #e6e6e6;
}

/* Contenu */
.univers-content {
    padding: 1.4rem;
}

.univers-card h2 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.55rem;
    line-height: 1.2;
}

.univers-card p {
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: #37475f;
}

/* Bouton générique */
.univers-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.univers-card:hover .univers-button {
    transform: translateX(3px);
}

/* =========================
   VERRE & SAVEURS
   ========================= */

.univers-pedago::before {
    background: #1f4f7a;
}

.univers-pedago {
    border-color: rgba(31,79,122,0.18);
}

.univers-pedago:hover {
    border-color: #1f4f7a;
}

.univers-pedago h2 {
    color: #1f4f7a;
}

.univers-pedago .univers-button {
    background: #eaf2f8;
    color: #1f4f7a;
}

/* =========================
   CANOË
   ========================= */

.univers-canoe::before {
    background: #2e7d5b;
}

.univers-canoe {
    border-color: rgba(46,125,91,0.18);
}

.univers-canoe:hover {
    border-color: #2e7d5b;
}

.univers-canoe h2 {
    color: #2e7d5b;
}

.univers-canoe .univers-button {
    background: #e9f6ef;
    color: #2e7d5b;
}

/* =========================
   MOTO
   ========================= */

.univers-moto::before {
    background: #c96b1b;
}

.univers-moto {
    border-color: rgba(201,107,27,0.18);
}

.univers-moto:hover {
    border-color: #c96b1b;
}

.univers-moto h2 {
    color: #a85311;
}

.univers-moto .univers-button {
    background: #fff0e2;
    color: #a85311;
}

/* =========================
   AVION
   ========================= */

.univers-avion::before {
    background: #6b5aa6;
}

.univers-avion {
    border-color: rgba(107,90,166,0.18);
}

.univers-avion:hover {
    border-color: #6b5aa6;
}

.univers-avion h2 {
    color: #5d4c95;
}

.univers-avion .univers-button {
    background: #f0edfa;
    color: #5d4c95;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1000px) {
    .home-univers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -45px;
    }
}

@media (max-width: 650px) {
    .home-univers {
        grid-template-columns: 1fr;
        margin-top: -20px;
        padding: 0 1rem;
    }

    .univers-card img {
        height: 200px;
    }
}
/* =========================================================
   HOME GENERALE CTERNET
   ========================================================= */

.portal-home {
    max-width: 1450px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4.5rem;
}

/* ---------- INTRO ---------- */

.portal-intro {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 3.5rem;
}

.portal-intro h1 {
    margin: 0;
    font-size: clamp(3.6rem, 7vw, 6rem);
    font-weight: 800;
    color: #13245f;
    letter-spacing: -0.03em;
}

.portal-subtitle {
    margin: 0.6rem 0 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #38517b;
}

.portal-baseline {
    margin-top: 1.2rem;
    font-size: 1.05rem;
    color: #73809a;
    letter-spacing: 0.04em;
}

/* ---------- GRILLE ---------- */

.portal-univers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

/* ---------- CARTE ---------- */

.portal-card {
    display: block;
    position: relative;
    min-height: 300px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(247,249,252,0.98)
        );

    border-radius: 24px;
    border: 1px solid rgba(20,40,90,0.10);
    overflow: hidden;

    text-decoration: none;
    color: #172743;

    box-shadow:
        0 12px 30px rgba(20,35,70,0.10),
        0 2px 8px rgba(20,35,70,0.06);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

/* bande colorée verticale */
.portal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 9px;
    height: 100%;
}

/* léger halo */
.portal-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -70px;
    top: -70px;
    opacity: 0.10;
    pointer-events: none;
}

.portal-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 42px rgba(20,35,70,0.16),
        0 4px 12px rgba(20,35,70,0.08);
    text-decoration: none;
}

.portal-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2.7rem;
    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portal-card h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 2.5vw, 2.5rem);
    line-height: 1.15;
}

.portal-card p {
    margin: 0;
    max-width: 90%;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #56647a;
}

.portal-button {
    display: inline-block;
    align-self: flex-start;
    margin-top: 1.7rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;

    font-weight: 700;
    font-size: 0.98rem;

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.portal-card:hover .portal-button {
    transform: translateX(4px);
}

/* =========================================================
   PEDAGOGIE
   ========================================================= */

.portal-pedago::before {
    background: #1f4f7a;
}

.portal-pedago::after {
    background: #1f4f7a;
}

.portal-pedago:hover {
    border-color: rgba(31,79,122,0.35);
}

.portal-pedago h2 {
    color: #1f4f7a;
}

.portal-pedago .portal-button {
    background: #eaf2f8;
    color: #1f4f7a;
}

/* =========================================================
   AISNE TOURISME
   ========================================================= */

.portal-tourisme::before {
    background: #2e7d5b;
}

.portal-tourisme::after {
    background: #2e7d5b;
}

.portal-tourisme:hover {
    border-color: rgba(46,125,91,0.35);
}

.portal-tourisme h2 {
    color: #2e7d5b;
}

.portal-tourisme .portal-button {
    background: #e8f5ee;
    color: #2e7d5b;
}

/* =========================================================
   GENEALOGIE
   ========================================================= */

.portal-genealogie::before {
    background: #9a6b2f;
}

.portal-genealogie::after {
    background: #9a6b2f;
}

.portal-genealogie:hover {
    border-color: rgba(154,107,47,0.35);
}

.portal-genealogie h2 {
    color: #8a5d24;
}

.portal-genealogie .portal-button {
    background: #f8f0e5;
    color: #8a5d24;
}

/* =========================================================
   THINK TANK
   ========================================================= */

.portal-thinktank::before {
    background: #6655a5;
}

.portal-thinktank::after {
    background: #6655a5;
}

.portal-thinktank:hover {
    border-color: rgba(102,85,165,0.35);
}

.portal-thinktank h2 {
    color: #5c4b98;
}

.portal-thinktank .portal-button {
    background: #f0edfa;
    color: #5c4b98;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .portal-univers {
        grid-template-columns: 1fr;
    }

    .portal-card,
    .portal-card-content {
        min-height: 240px;
    }
}

@media (max-width: 600px) {
    .portal-home {
        padding: 2.5rem 1rem 3rem;
    }

    .portal-intro {
        margin-bottom: 2.5rem;
    }

    .portal-card-content {
        padding: 2rem;
    }

    .portal-card p {
        max-width: 100%;
    }
}
/* =========================
   AISNE TOURISME
   Masquer les infos d'article
   ========================= */

.com-content-article.item-page.aisne-tourisme-page > .page-header {
    display: none !important;
}

.com-content-article.item-page.aisne-tourisme-page .article-info {
    display: none !important;
}

.com-content-article.item-page.aisne-tourisme-page .pagenavigation,
.com-content-article.item-page.aisne-tourisme-page .pager {
    display: none !important;
}
/* =========================================================
   CANOE — FICHE ITINERAIRE
   ========================================================= */

.canoe-route {
    max-width: 1100px;
    margin: 0 auto;
}

.canoe-route-header {
    margin-bottom: 2rem;
}

.canoe-route-header h1 {
    margin-bottom: 0.6rem;
}

.canoe-intro {
    font-size: 1.15rem;
    line-height: 1.65;
}


/* Informations principales */

.canoe-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.canoe-stats > div {
    padding: 1rem;
    border-radius: 8px;
    background: #f3f7f7;
    text-align: center;
}

.canoe-stats strong,
.canoe-stats span {
    display: block;
}

.canoe-stats strong {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}


/* Départ / arrivée */

.canoe-point {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.canoe-point-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


/* Carte */

#canoe-map {
    width: 100%;
    height: 550px;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.canoe-map-help {
    font-size: 0.9rem;
    font-style: italic;
}


/* Navigation */

.canoe-navigation li {
    margin-bottom: 1rem;
}


/* Téléchargement */

.canoe-download {
    text-align: center;
    margin: 3rem 0;
}

.canoe-button {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}


/* Mobile */

@media (max-width: 768px) {

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

    .canoe-point {
        grid-template-columns: 1fr;
    }

    #canoe-map {
        height: 420px;
    }
}
/* Carte des itinéraires canoë */
#canoe-map {
  height: 450px;
  width: 100%;
  margin: 1rem 0;
  background: #eef2f3;
}
/* CANOË — CARNET DE RIVIÈRE */

body:has(.canoe-carnet) {
  background: #f3f2ec;
}

.canoe-route.canoe-carnet {
  --canoe-green: #355e52;
  --canoe-ink: #293e35;
  --canoe-muted: #596b5e;
  --canoe-line: #d7dfd2;

  width: 100%;
  max-width: 1100px;
  margin: 1.5rem auto 3rem;
  padding: 0;
  overflow: hidden;
  color: var(--canoe-ink);
  background: #faf9f4;
  border-radius: 14px;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.canoe-carnet,
.canoe-carnet * {
  box-sizing: border-box;
}

.canoe-carnet p {
  margin: 0 0 1rem;
}

/* Bandeau illustré */

.canoe-carnet .canoe-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  padding: 48px 6%;
  background-color: #e7ecdf;
  background-image:
    linear-gradient(
      90deg,
      rgba(243, 242, 236, .96) 0%,
      rgba(243, 242, 236, .82) 32%,
      rgba(243, 242, 236, .08) 75%
    ),
    url("/images/canoe/meandres-aisne.png");
  background-position: center;
  background-size: cover;
}

.canoe-carnet .canoe-hero-content {
  position: relative;
  max-width: 510px;
}

.canoe-carnet .canoe-eyebrow {
  margin: 0 0 12px;
  color: #536b58;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.canoe-carnet .canoe-hero h1 {
  margin: 10px 0 20px;
  padding: 0;
  color: #294b3e;
  font-family: Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.07;
}

.canoe-carnet .canoe-intro {
  max-width: 370px;
  color: #40594a;
  font-size: 1.05rem;
}

.canoe-carnet .canoe-route-label {
  display: inline-block;
  margin-top: 5px;
  padding: 6px 13px;
  color: #355444;
  background: rgba(250, 249, 244, .75);
  border: 1px solid #a6b39f;
  border-radius: 24px;
  font-size: .8rem;
}

.canoe-carnet .canoe-body {
  padding: 0 6% 26px;
}

/* Informations en bref */

.canoe-carnet .canoe-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 27px 0;
  border-bottom: 1px solid var(--canoe-line);
}

.canoe-carnet .canoe-stats > div {
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.canoe-carnet .canoe-stat-label {
  display: block;
  margin-bottom: 5px;
  color: var(--canoe-muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.canoe-carnet .canoe-stats strong {
  display: block;
  color: var(--canoe-green);
  font-size: 1.25rem;
  font-weight: 500;
}

/* Titres et sections */

.canoe-carnet .canoe-section {
  margin: 0;
  padding: 32px 0;
}

.canoe-carnet h2 {
  margin: 0 0 18px;
  padding: 0;
  color: var(--canoe-green);
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
}

.canoe-carnet .canoe-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 20px;
}

.canoe-carnet .canoe-section-heading > span {
  color: var(--canoe-muted);
  font-size: .8rem;
}

/* Carte */

.canoe-carnet #canoe-map {
  width: 100%;
  height: 450px;
  margin: 0;
  overflow: hidden;
  background: #e5eadf;
  border-radius: 10px;
}

/* Préserver la présentation des contrôles Leaflet */
.canoe-carnet .leaflet-container {
  line-height: 1.5;
}

.canoe-carnet .canoe-map-help {
  margin: 10px 0 0;
  color: var(--canoe-muted);
  font-size: .82rem;
}

/* Départ et arrivée */

.canoe-carnet .canoe-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 36px;
  margin: 0;
}

.canoe-carnet .canoe-access {
  min-width: 0;
  padding: 24px 0;
  border-top: 1px solid var(--canoe-line);
}

.canoe-carnet .canoe-point-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--canoe-muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.canoe-carnet .canoe-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--canoe-green);
  border-radius: 50%;
}

.canoe-carnet .canoe-access-arrival .canoe-dot {
  background: #aa654e;
}

.canoe-carnet .canoe-access h2 {
  font-size: 1.5rem;
}

.canoe-carnet .canoe-access > p:not(.canoe-point-label) {
  font-size: .94rem;
}

.canoe-carnet .canoe-gps {
  margin-top: 20px;
  padding: 14px 16px;
  background: #edf0e7;
  border-radius: 6px;
}

.canoe-carnet .canoe-gps span {
  display: block;
  margin-bottom: 3px;
  color: var(--canoe-muted);
  font-size: .75rem;
}

.canoe-carnet .canoe-gps strong {
  font-size: .95rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* Navigation */

.canoe-carnet .canoe-navigation {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: canoe-step;
}

.canoe-carnet .canoe-navigation li {
  position: relative;
  min-height: 36px;
  margin: 0;
  padding: 0 0 26px 48px;
  counter-increment: canoe-step;
}

.canoe-carnet .canoe-navigation li:last-child {
  padding-bottom: 0;
}

.canoe-carnet .canoe-navigation li::before {
  content: counter(canoe-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: #6a826e;
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.canoe-carnet .canoe-navigation strong {
  display: block;
  margin-bottom: 4px;
  color: var(--canoe-green);
  font-weight: 600;
}

/* Vigilance */

.canoe-carnet .canoe-vigilance {
  margin: 0 0 12px;
  padding: 28px;
  background: #eee9db;
  border-radius: 10px;
}

.canoe-carnet .canoe-vigilance ul {
  margin: 0 0 15px;
  padding-left: 20px;
}

.canoe-carnet .canoe-vigilance li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.canoe-carnet .canoe-vigilance li::marker {
  color: #8b7954;
}

.canoe-carnet .canoe-vigilance > p:last-child {
  margin-bottom: 0;
  color: #5c624f;
  font-size: .88rem;
}

/* Points remarquables */

.canoe-carnet .canoe-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.canoe-carnet .canoe-highlights li {
  padding-top: 15px;
  border-top: 1px solid var(--canoe-line);
}

.canoe-carnet .canoe-highlights strong {
  display: block;
  margin-bottom: 5px;
  color: var(--canoe-green);
  font-weight: 600;
}

.canoe-carnet .canoe-highlights span {
  display: block;
  color: var(--canoe-muted);
  font-size: .92rem;
}

/* Informations pratiques */

.canoe-carnet .canoe-practical dl {
  margin: 22px 0 0;
}

.canoe-carnet .canoe-practical dl > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--canoe-line);
}

.canoe-carnet .canoe-practical dt {
  color: var(--canoe-green);
  font-weight: 600;
}

.canoe-carnet .canoe-practical dd {
  margin: 0;
  color: var(--canoe-muted);
}

/* Téléchargement */

.canoe-carnet .canoe-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 10px 0 0;
  padding: 28px;
  color: #f6f4ec;
  background: var(--canoe-green);
  border-radius: 10px;
}

.canoe-carnet .canoe-download h2 {
  margin-bottom: 8px;
  color: #f6f4ec;
  font-size: 1.6rem;
}

.canoe-carnet .canoe-download p {
  margin: 0;
  color: #e0e8dc;
  font-size: .9rem;
}

.canoe-carnet .canoe-button,
.canoe-carnet .canoe-button:visited {
  display: inline-block;
  padding: 12px 20px;
  color: #294b3e;
  background: #f3f2ec;
  border: 0;
  border-radius: 5px;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.canoe-carnet .canoe-button:hover {
  color: #203c31;
  background: #e0e8d9;
}

.canoe-carnet .canoe-button:focus-visible {
  outline: 3px solid #f3d18a;
  outline-offset: 4px;
}

.canoe-carnet .canoe-illustration-note {
  margin: 20px 0 0;
  color: var(--canoe-muted);
  font-size: .75rem;
  text-align: center;
}

/* Téléphone */

@media (max-width: 640px) {
  .canoe-route.canoe-carnet {
    margin-top: 1rem;
    border-radius: 8px;
  }

  .canoe-carnet .canoe-hero {
    min-height: 330px;
    padding: 32px 6%;
    background-position: 58% center;
  }

  .canoe-carnet .canoe-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .canoe-carnet .canoe-access-grid,
  .canoe-carnet .canoe-highlights {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .canoe-carnet #canoe-map {
    height: 340px;
  }

  .canoe-carnet .canoe-practical dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .canoe-carnet .canoe-vigilance,
  .canoe-carnet .canoe-download {
    padding: 22px;
  }

  .canoe-carnet .canoe-download {
    align-items: stretch;
  }

  .canoe-carnet .canoe-download > div,
  .canoe-carnet .canoe-download .canoe-button {
    width: 100%;
  }
}
/* PAGE DE CHOIX DES ITINÉRAIRES */

body:has(.canoe-list-intro) {
  background: #f3f2ec;
}

/* Métadonnées masquées uniquement sur cette liste */
.blog:has(.canoe-list-intro) .article-info,
.blog:has(.canoe-list-intro) .item-title,
.blog:has(.canoe-list-intro) .page-header,
.blog:has(.canoe-list-intro) .icons {
  display: none;
}

/* Grille commune */
.blog:has(.canoe-list-intro) .blog-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 28px 0;
}

/* Carte complète : introduction et bouton */
.blog:has(.canoe-list-intro) .blog-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #faf9f4;
  border: 1px solid #d7dfd2;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(41, 62, 53, .06);
}

/* Illustration provisoire commune */
.blog:has(.canoe-list-intro) .blog-item::before {
  content: "";
  display: block;
  flex-shrink: 0;
  height: 170px;
  background:
    url("/images/canoe/meandres-aisne.png")
    center / cover no-repeat;
}

.blog:has(.canoe-list-intro) .item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px;
}

.blog .canoe-list-intro {
  margin: 0;
  padding: 0;
  color: #293e35;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.blog .canoe-list-intro h2 {
  margin: 0 0 14px;
  color: #355e52;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;
}

.blog .canoe-list-intro p {
  margin: 0 0 15px;
  color: #596b5e;
  line-height: 1.65;
}

.blog .canoe-list-intro p:last-child {
  color: #355e52;
  font-size: .88rem;
  font-weight: 600;
}

/* Bouton dans la carte */
.blog:has(.canoe-list-intro) .readmore {
  margin: auto 0 0;
  padding-top: 12px;
  text-align: left;
}

.blog:has(.canoe-list-intro) .readmore .btn {
  display: inline-block;
  max-width: 100%;
  padding: 10px 16px;
  color: #faf9f4;
  background: #355e52;
  border: 0;
  border-radius: 5px;
  white-space: normal;
  text-decoration: none;
}

.blog:has(.canoe-list-intro) .readmore .btn:hover {
  background: #294b3e;
}

/* Téléphone */
@media (max-width: 700px) {
  .blog:has(.canoe-list-intro) .blog-items {
    grid-template-columns: 1fr;
  }
}