/* =========================================================
   NOS CONTRIBUTIONS — GSEDENVIRONNEMENT
   ========================================================= */

.contributions-page {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  line-height: normal;
}


/* =========================================================
   SECTION 1 — INTRODUCTION
   ========================================================= */

.contributions-intro {
  position: relative;
  display: flex;
  min-height: calc(100vh - 42px);
  padding: 100px 8% 120px;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
}

.contributions-intro-content {
  width: min(1000px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contributions-surtitle {
  margin: 0 0 20px;
  color: #888;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .20em;
}

.contributions-intro h1 {
  margin: 0 auto 32px;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.08;
}

.contributions-introduction {
  max-width: 850px;
  margin: 0 auto 18px;
  color: #d0d0d0;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 300;
  line-height: 1.7;
}

.contributions-introduction strong {
  color: #fff;
  font-weight: 500;
}


/* =========================================================
   LES TROIS ÉCHELLES
   ========================================================= */

.contributions-echelles {
  display: flex;
  max-width: 980px;
  margin: 48px auto 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.contributions-echelles > span:not(.echelles-fleche) {
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.28);
}

.echelles-fleche {
  color: #777;
  font-size: 22px;
}


/* =========================================================
   FLÈCHE VERS LA CARTE
   ========================================================= */

.contributions-scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: block;
  width: fit-content;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  transform: translateX(-50%);
  animation: contributions-arrow-down 1.8s infinite ease-in-out;
}

@keyframes contributions-arrow-down {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: .5;
  }

  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 1;
  }
}


/* =========================================================
   SECTION 2 — EXPLORATION SIG
   ========================================================= */

.contributions-carte-section {
  padding: 90px 5% 110px;
  background: #f2f2f2;
  color: #111;
}

.contributions-carte-header {
  width: min(900px, 100%);
  margin: 0 auto 55px;
  text-align: center;
}

.contributions-carte-header h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.12;
}

.contributions-carte-header > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #555;
  font-size: 18px;
  line-height: 1.65;
}


/* =========================================================
   CONTENEUR SIG
   ========================================================= */

.sig-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d5d5d5;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.sig-toolbar {
  display: flex;
  min-height: 78px;
  padding: 18px 25px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid #ddd;
  line-height: 1.35;
}

.sig-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sig-label {
  color: #777;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.sig-toolbar strong {
  font-size: 18px;
  font-weight: 500;
}

.sig-niveaux {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  color: #666;
  font-size: 13px;
}


/* =========================================================
   EMPLACEMENT DE LA FUTURE CARTE
   ========================================================= */

.sig-map {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 650px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px),
    #eceeea;
  background-size: 40px 40px;
}

.sig-map-placeholder {
  width: min(600px, 88%);
  margin: auto;
  text-align: center;
}

.france-placeholder {
  display: flex;
  width: 220px;
  height: 220px;
  margin: 0 auto 30px;
  align-items: center;
  justify-content: center;
  background: #d8dbd5;
  color: #777;
  border: 1px solid #b9bdb6;
  clip-path: polygon(
    49% 2%, 69% 10%, 84% 26%, 95% 43%,
    88% 61%, 77% 72%, 69% 94%, 49% 98%,
    32% 88%, 20% 73%, 5% 62%, 9% 42%,
    20% 25%, 35% 15%
  );
}

.france-placeholder span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

.sig-map-placeholder h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 500;
}

.sig-map-placeholder p {
  max-width: 560px;
  margin: 0 auto 25px;
  color: #666;
  font-size: 16px;
  line-height: 1.65;
}

.sig-en-attente {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #aaa;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}


/* =========================================================
   TABLETTE / MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {

  .contributions-intro {
    min-height: 100vh;
    padding: 90px 22px 105px;
  }

  .contributions-intro h1 br {
    display: none;
  }

  .contributions-echelles {
    margin-top: 38px;
    flex-direction: column;
    gap: 10px;
  }

  .contributions-echelles > span:not(.echelles-fleche) {
    width: min(390px, 100%);
  }

  .echelles-fleche {
    transform: rotate(90deg);
  }

  .contributions-scroll-arrow {
    bottom: 22px;
    font-size: 28px;
  }

  .contributions-carte-section {
    padding: 70px 20px 80px;
  }

  .contributions-carte-header {
    margin-bottom: 40px;
  }

  .sig-toolbar {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .sig-niveaux {
    justify-content: flex-start;
  }

  .sig-map {
    min-height: 500px;
  }

  .france-placeholder {
    width: 170px;
    height: 170px;
  }
}


@media screen and (max-width: 420px) {

  .contributions-intro {
    padding: 78px 18px 95px;
  }

  .contributions-carte-section {
    padding: 60px 14px 70px;
  }

  .sig-map {
    min-height: 450px;
  }

  .sig-niveaux {
    font-size: 12px;
    gap: 7px;
  }
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .contributions-scroll-arrow {
    animation: none;
    transform: translateX(-50%);
  }
}


/* =========================================================
   BOUCLE DES ÉCHELLES
   ========================================================= */

.contributions-boucle {
  width: min(980px, 100%);
  margin: 48px auto 0;
}

.boucle-etapes {
  display: grid;
  grid-template-columns: 1fr auto 1.65fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.boucle-etape {
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

.boucle-fleche {
  color: #777;
  font-size: 22px;
}

.boucle-retour {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: calc(100% - 34px);
  height: 38px;
  margin: 4px auto 0;
  color: #777;
}

.boucle-retour-ligne {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  height: 1px;
  background: rgba(255,255,255,.28);
}

.boucle-retour-gauche,
.boucle-retour-droite {
  position: relative;
  z-index: 2;
  font-size: 22px;
  line-height: 1;
}

.boucle-retour-gauche {
  justify-self: start;
}

.boucle-retour-droite {
  justify-self: end;
  transform: translateY(10px);
}

@media screen and (max-width: 768px) {
  .contributions-boucle {
    width: min(390px, 100%);
    margin-top: 38px;
  }

  .boucle-etapes {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .boucle-etape {
    width: 100%;
  }

  .boucle-fleche {
    transform: rotate(90deg);
  }

  .boucle-retour {
    width: 70%;
    height: 34px;
    margin-top: 5px;
  }
}


/* =========================================================
   SECTION 2 — VERSION CARTOGRAPHIQUE
   ========================================================= */

.contributions-carte-section {
  position: relative;
  padding-top: 95px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.95), rgba(235,244,244,.92) 55%, rgba(225,239,240,.96) 100%);
}

.contributions-carte-header {
  width: min(1050px, 100%);
  margin-bottom: 55px;
}

.contributions-carte-header h2 {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(34px, 4.2vw, 58px);
}

.contributions-carte-header h2 span {
  color: #286f66;
}

.sig-shell {
  border: 0;
  box-shadow: 0 20px 55px rgba(21, 64, 69, .10);
}

.sig-map {
  min-height: 650px;
  background:
    linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)),
    linear-gradient(rgba(21,64,69,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,64,69,.035) 1px, transparent 1px),
    #e8f0ee;
  background-size: auto, 40px 40px, 40px 40px, auto;
}

.france-placeholder {
  width: 300px;
  height: 300px;
  margin-bottom: 35px;
  background: linear-gradient(145deg, #b8d5b9, #7fae8a);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(36,103,94,.35);
  box-shadow: 0 15px 35px rgba(30,84,79,.12);
}

.sig-map-placeholder h3 {
  color: #123d56;
  font-size: 30px;
}

.sig-map-placeholder p {
  max-width: 460px;
  color: #45605f;
}

@media screen and (max-width: 768px) {
  .contributions-carte-section {
    padding-top: 75px;
  }

  .contributions-carte-header h2 br {
    display: none;
  }

  .sig-map {
    min-height: 520px;
  }

  .france-placeholder {
    width: 210px;
    height: 210px;
  }
}


/* =========================================================
   AJUSTEMENTS — ÉCHELLES IMBRIQUÉES + TITRE CARTOGRAPHIE
   ========================================================= */

/* La section cartographique reprend uniquement les couleurs du site :
   noir, blanc et gris. */
.contributions-carte-section {
  background: #f2f2f2;
  color: #111;
}

.contributions-carte-header {
  width: min(900px, 100%);
  margin: 0 auto 48px;
}

.contributions-carte-header h2 {
  max-width: 850px;
  margin: 0 auto;
  color: #111;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 400;
  line-height: 1.25;
}

.contributions-carte-header h2 span {
  color: #111;
  font-weight: 400;
}

.contributions-carte-header .contributions-surtitle {
  color: #777;
}

.sig-shell {
  border: 1px solid #d5d5d5;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.sig-map {
  background:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px),
    #eceeea;
  background-size: 40px 40px;
}

.france-placeholder {
  background: #d8dbd5;
  color: #777;
  border: 1px solid #b9bdb6;
  box-shadow: none;
}

.sig-map-placeholder h3 {
  color: #111;
}

.sig-map-placeholder p {
  color: #666;
}


/* Trois boîtes réellement imbriquées */

.echelles-imbriquees {
  width: min(820px, 100%);
  margin: 48px auto 0;
  text-align: center;
}

.echelle-box {
  position: relative;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,.35);
}

.echelle-bassin {
  width: 100%;
  padding: 24px 34px 34px;
}

.echelle-troncon {
  width: 78%;
  margin-top: 30px;
  padding: 24px 28px 32px;
  border-color: rgba(255,255,255,.48);
}

.echelle-site {
  width: 70%;
  margin-top: 30px;
  padding: 22px 24px;
  border-color: rgba(255,255,255,.68);
}

.echelle-nom,
.echelle-description {
  display: block;
}

.echelle-nom {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.echelle-description {
  max-width: 520px;
  margin: 7px auto 0;
  color: #aaa;
  font-size: 14px;
  line-height: 1.45;
}

.echange {
  position: absolute;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transform: translateX(-50%);
}

.echange-bassin-troncon {
  top: 79px;
}

.echange-troncon-site {
  top: 78px;
}

.echelles-legende {
  margin: 22px auto 0;
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}


/* Nettoyage des anciennes règles de boucle */
.contributions-echelles,
.contributions-boucle {
  display: none;
}


@media screen and (max-width: 768px) {

  .contributions-carte-header h2 {
    font-size: clamp(23px, 7vw, 32px);
  }

  .echelles-imbriquees {
    margin-top: 38px;
  }

  .echelle-bassin {
    padding: 22px 15px 28px;
  }

  .echelle-troncon {
    width: 88%;
    padding: 22px 13px 28px;
  }

  .echelle-site {
    width: 86%;
    padding: 20px 12px;
  }

  .echelle-nom {
    font-size: 16px;
  }

  .echelle-description {
    font-size: 13px;
  }

  .echange-bassin-troncon,
  .echange-troncon-site {
    top: 75px;
  }
}


/* Titre au-dessus de la carte — taille réduite */
.contributions-carte-header h2 {
  font-size: clamp(21px, 2.25vw, 32px);
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  .contributions-carte-header h2 {
    font-size: clamp(20px, 6vw, 27px);
  }
}


/* =========================================================
   DOUBLE FLÈCHES — CENTRÉES SUR LA LIGNE ENTRE LES NIVEAUX
   ========================================================= */

.echelle-bassin,
.echelle-troncon {
  position: relative;
}

/* La flèche appartient au niveau enfant et se place exactement
   au milieu de sa bordure supérieure. */
.echange {
  position: absolute;
  left: 50%;
  top: 0 !important;
  z-index: 5;
  width: 44px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.echange > span {
  display: block;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

/* La première double flèche est centrée sur la bordure
   supérieure du bloc "Tronçon". */
.echange-bassin-troncon {
  top: 0 !important;
}

/* La seconde est centrée sur la bordure
   supérieure du bloc "Site d'action". */
.echange-troncon-site {
  top: 0 !important;
}

/* Les flèches doivent être contenues par les boîtes auxquelles
   elles correspondent. */
.echelle-bassin > .echange-bassin-troncon {
  display: none;
}

.echelle-troncon > .echange-troncon-site {
  display: none;
}

.echelle-troncon::before,
.echelle-site::before {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 5;
  display: flex;
  width: 44px;
  height: 54px;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transform: translate(-50%, -50%);
  content: "↕";
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .echelle-troncon::before,
  .echelle-site::before {
    width: 38px;
    height: 48px;
    font-size: 27px;
  }
}


/* =========================================================
   AJUSTEMENTS DE TAILLE
   ========================================================= */

/* Double flèches réduites de moitié */
.echelle-troncon::before,
.echelle-site::before {
  width: 22px;
  height: 27px;
  font-size: 15px;
}

/* Texte au-dessus de la carte réduit de moitié */
.contributions-carte-header h2 {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.45;
  font-weight: 400;
}

.contributions-carte-header h2 span {
  font-size: inherit;
  font-weight: inherit;
}

@media screen and (max-width: 768px) {
  .echelle-troncon::before,
  .echelle-site::before {
    width: 19px;
    height: 24px;
    font-size: 14px;
  }

  .contributions-carte-header h2 {
    font-size: clamp(14px, 4vw, 17px);
  }
}


/* =========================================================
   FOOTER — LOGO SOUS CONTACT + CONCEPTION DU SITE
   ========================================================= */

.footer-logo-link {
  display: inline-block;
  margin-top: 22px;
  line-height: 0;
  text-decoration: none;
}

.footer-logo {
  display: block;
  width: 120px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

#social-buttons {
  position: relative;
  padding-bottom: 62px;
}

.site-conception {
  position: absolute;
  right: 5%;
  bottom: 18px;
  margin: 0 !important;
  color: #828282;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.4;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .footer-logo {
    width: 108px;
  }

  #social-buttons {
    padding-bottom: 70px;
  }

  .site-conception {
    right: 20px;
    bottom: 18px;
    left: 20px;
    font-size: 10px;
    text-align: right;
  }
}

@media screen and (max-width: 420px) {
  .footer-logo {
    width: 96px;
  }

  .site-conception {
    right: 15px;
    left: 15px;
    font-size: 9px;
  }
}


/* =========================================================
   SIG FONCTIONNEL — LEAFLET
   ========================================================= */

.sig-map {
  display: block;
  width: 100%;
  height: 650px;
  min-height: 650px;
  background: #ececec;
}

.sig-map .leaflet-container {
  font-family: inherit;
}

.sig-map .leaflet-control-zoom a {
  color: #111;
}

.sig-map .leaflet-control-attribution {
  color: #666;
  font-size: 10px;
}

.sig-map .leaflet-tooltip {
  padding: 7px 10px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 12px;
}

.sig-map .leaflet-tooltip::before {
  display: none;
}

.sig-map-info {
  display: flex;
  min-height: 52px;
  padding: 10px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-top: 1px solid #ddd;
  color: #555;
  font-size: 13px;
  line-height: 1.35;
}

#sig-current-level {
  font-weight: 500;
  color: #111;
}

#sig-back {
  padding: 7px 10px;
  background: transparent;
  color: #111;
  border: 1px solid #aaa;
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

#sig-back:hover,
#sig-back:focus-visible {
  background: #111;
  color: #fff;
  border-color: #111;
}

@media screen and (max-width: 768px) {
  .sig-map {
    height: 520px;
    min-height: 520px;
  }

  .sig-map-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media screen and (max-width: 420px) {
  .sig-map {
    height: 460px;
    min-height: 460px;
  }
}


/* =========================================================
   SIG — FOND EXCLUSIVEMENT COUCHE EUROPE TRANSMISE
   ========================================================= */

#contributions-map {
  background: #ffffff !important;
  background-image: none !important;
}

#contributions-map .leaflet-tile-pane {
  display: none !important;
}


/* =========================================================
   FICHE TERRITOIRE HYDROGRAPHIQUE
   ========================================================= */

.sig-shell {
  position: relative;
}

.territoire-panel {
  position: absolute;
  top: 78px;
  right: 0;
  z-index: 900;
  width: min(430px, 92%);
  height: calc(100% - 78px);
  padding: 28px;
  overflow-y: auto;
  background: rgba(255,255,255,.98);
  border-left: 1px solid #d4d4d4;
  box-shadow: -16px 0 38px rgba(0,0,0,.10);
  line-height: normal;
  transform: translateX(105%);
  transition: transform .28s ease;
  visibility: hidden;
}

.territoire-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}

.territoire-panel-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #555;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.territoire-panel-header {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  gap: 22px;
  padding: 12px 32px 26px 0;
  border-bottom: 1px solid #ddd;
}

.territoire-panel-logo {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.territoire-panel-kicker {
  margin: 0 0 7px;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.territoire-panel-header h3 {
  margin: 0 0 15px;
  color: #111;
  font-size: 27px;
  font-weight: 500;
}

.territoire-panel-surface {
  margin: 0;
  color: #666;
  font-size: 12px;
}

.territoire-panel-surface span,
.territoire-panel-surface strong {
  display: block;
}

.territoire-panel-surface strong {
  margin-top: 3px;
  color: #111;
  font-size: 18px;
  font-weight: 500;
}

.territoire-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 26px 0 0;
  border-bottom: 1px solid #ccc;
}

.territoire-tab {
  position: relative;
  padding: 13px 10px;
  background: transparent;
  border: 0;
  color: #777;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.territoire-tab.is-active {
  color: #111;
}

.territoire-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #111;
  content: "";
}

.territoire-tab-content {
  padding: 24px 0 10px;
}

.territoire-etudes-title {
  margin: 0 0 18px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.territoire-empty {
  padding: 24px 18px;
  background: #f3f3f3;
  border: 1px solid #ddd;
  color: #777;
  font-size: 13px;
  line-height: 1.55;
}

@media screen and (max-width: 768px) {
  .territoire-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(72%, 560px);
    padding: 24px 20px;
    border-top: 1px solid #d4d4d4;
    border-left: 0;
    transform: translateY(105%);
  }

  .territoire-panel.is-open {
    transform: translateY(0);
  }

  .territoire-panel-header {
    grid-template-columns: 88px 1fr;
    gap: 18px;
  }

  .territoire-panel-header h3 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .territoire-panel {
    transition: none;
  }
}


/* =========================================================
   ONGLET BASSINS
   ========================================================= */

.bassins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bassin-card {
  display: flex;
  min-width: 0;
  padding: 14px;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.bassin-card:hover,
.bassin-card:focus-visible {
  background: #f3f3f3;
  border-color: #777;
}

.bassin-logo-wrap {
  display: flex;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.bassin-logo-wrap img {
  display: block;
  max-width: 68px;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bassin-card-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  color: #666;
  font-size: 11px;
  line-height: 1.35;
}

.bassin-card-text strong {
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.bassin-surface {
  margin-top: 4px;
  color: #111;
  font-size: 13px;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .bassins-grid {
    grid-template-columns: 1fr;
  }

  .bassin-logo-wrap {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .bassin-logo-wrap img {
    max-width: 60px;
    max-height: 60px;
  }
}


/* =========================================================
   NIVEAUX DU BASSIN — TRONÇON / SITE D'ACTION
   ========================================================= */

.bassin-detail {
  margin: 0 0 24px;
  padding: 18px 0 22px;
  border-bottom: 1px solid #d5d5d5;
}

.bassin-detail[hidden] {
  display: none;
}

.bassin-detail-header h4 {
  margin: 0 0 16px;
  color: #111;
  font-size: 22px;
  font-weight: 500;
}

.bassin-level-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #ccc;
}

.bassin-level-tab {
  position: relative;
  padding: 12px 8px;
  background: transparent;
  border: 0;
  color: #777;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.bassin-level-tab.is-active {
  color: #111;
}

.bassin-level-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #111;
  content: "";
}

.bassin-level-content {
  padding: 18px 0 0;
}

.bassin-empty {
  padding: 18px;
  background: #f3f3f3;
  border: 1px solid #ddd;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}

.adour-study {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #d5d5d5;
  background: #fff;
}

.adour-study[hidden] {
  display: none;
}

.adour-study-logo-wrap {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
}

.adour-study-logo {
  display: block;
  max-width: 68px;
  max-height: 62px;
  width: auto;
  height: auto;
}

.adour-study-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  color: #666;
  font-size: 11px;
  line-height: 1.35;
}

.adour-study-text strong {
  color: #111;
  font-size: 15px;
  font-weight: 500;
}

.adour-study-location {
  color: #777;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

@media screen and (max-width: 768px) {
  .bassin-level-tabs {
    grid-template-columns: 1fr;
  }

  .bassin-level-tab {
    min-height: 44px;
  }
}


/* Étude sélectionnée depuis la carte */
.adour-study.is-selected {
  outline: 2px solid #111;
  outline-offset: -2px;
}


/* =========================================================
   SITE D'ACTION — LA HIERLE / GARONNE HYDROÉLECTRIQUE
   ========================================================= */

.hierle-study {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #d5d5d5;
  background: #fff;
}

.hierle-study[hidden] {
  display: none;
}

.hierle-study.is-selected {
  outline: 2px solid #111;
  outline-offset: -2px;
}

.hierle-study-logo-wrap {
  display: flex;
  min-height: 62px;
  align-items: flex-start;
  justify-content: center;
}

.hierle-study-logo {
  display: block;
  width: auto;
  max-width: 68px;
  max-height: 62px;
  height: auto;
}

.hierle-study-text {
  min-width: 0;
  color: #555;
  font-size: 11px;
  line-height: 1.6;
}

.hierle-study-text > strong,
.hierle-study-location,
.hierle-study-subtitle {
  display: block;
}

.hierle-study-location {
  margin-bottom: 4px;
  color: #777;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

.hierle-study-text > strong {
  margin-bottom: 3px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.hierle-study-subtitle {
  margin-bottom: 12px;
  color: #666;
  font-size: 11px;
  font-weight: 500;
}

.hierle-study-text p {
  margin: 0 0 10px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.hierle-study-text .hierle-study-conclusion {
  margin-bottom: 0;
  color: #111;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .hierle-study {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .hierle-study-logo {
    max-width: 54px;
    max-height: 54px;
  }
}


/* =========================================================
   TERRITOIRE ADOUR-GARONNE — JOURNÉE TECHNIQUE
   ========================================================= */

.territoire-study-card {
  margin-top: 6px;
  padding: 18px;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #111;
}

.territoire-study-type {
  margin: 0 0 8px;
  color: #777;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .09em;
}

.territoire-study-card h4 {
  margin: 0;
  color: #111;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.territoire-study-subtitle {
  margin: 4px 0 14px;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
}

.territoire-study-summary {
  margin: 0 0 16px;
  color: #555;
  font-size: 11px;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.territoire-study-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid #111;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.territoire-study-link:hover,
.territoire-study-link:focus-visible {
  opacity: .6;
}

.territoire-study-card--boissede{margin-top:14px}
.territoire-study-partner{display:flex;align-items:center;margin:0 0 12px}
.territoire-study-logo{display:block;width:105px;max-width:100%;height:auto;object-fit:contain}
.territoire-study-card--boissede.is-selected{box-shadow:0 0 0 2px #111}

/* Logo AEAG — Journée technique restauration sédimentaire */
.territoire-study-partner--aeag {
  margin-bottom: 12px;
}
.territoire-study-logo--aeag {
  width: 105px;
}


/* Suivi sédimentaire Adour — texte et rapports */
.adour-suivi-description{width:100%;margin-top:16px}
.adour-suivi-description p{margin:0 0 10px;color:#555;font-size:11px;line-height:1.65;text-align:justify;text-justify:inter-word;hyphens:auto}
.adour-suivi-reports{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:15px}
.adour-suivi-reports a{display:inline-block;padding-bottom:2px;border-bottom:1px solid #111;color:#111;font-size:11px;font-weight:600;line-height:1.4;text-decoration:none}
.adour-suivi-reports a:hover,.adour-suivi-reports a:focus-visible{opacity:.6}

/* Souillac — site d'action / Dordogne */
.souillac-study{margin-bottom:16px;padding:16px;border:1px solid #d5d5d5;background:#fff;color:#111}
.souillac-study[hidden]{display:none!important}
.souillac-study-logo-wrap{margin-bottom:12px}
.souillac-study-logo{display:block;width:105px;max-width:100%;height:auto;object-fit:contain}
.souillac-study-text{display:flex;flex-direction:column;align-items:flex-start}
.souillac-study-location{color:#666;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.05em}
.souillac-study-text>strong{margin-top:4px;font-size:14px;line-height:1.4}
.souillac-study-subtitle{margin:3px 0 12px;color:#666;font-size:10px}
.souillac-study-text h5{margin:12px 0 7px;font-size:11px;font-weight:600;line-height:1.5}
.souillac-study-text p,.souillac-programme{color:#555;font-size:11px;line-height:1.65}
.souillac-study-text p{margin:0 0 10px;text-align:justify;text-justify:inter-word;hyphens:auto}
.souillac-programme{margin:0 0 12px 18px;padding:0}
.souillac-proposition{font-weight:600}


/* Mauzac — site d'action / Dordogne */
.mauzac-study{margin-bottom:16px;padding:16px;border:1px solid #d5d5d5;background:#fff;color:#111}
.mauzac-study[hidden]{display:none!important}
.mauzac-study-logo-wrap{margin-bottom:12px}
.mauzac-study-logo{display:block;width:105px;max-width:100%;height:auto;object-fit:contain}
.mauzac-study-text{display:flex;flex-direction:column;align-items:flex-start}
.mauzac-study-location{color:#666;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.05em}
.mauzac-study-text>strong{margin-top:4px;font-size:14px;line-height:1.4}
.mauzac-study-subtitle{margin:3px 0 12px;color:#666;font-size:10px}
.mauzac-study-text p{margin:0 0 10px;color:#555;font-size:11px;line-height:1.65;text-align:justify;text-justify:inter-word;hyphens:auto}


/* Date visible sur les fiches d'étude */
.study-date{
  display:inline-block;
  margin:4px 0 5px;
  color:#111;
  font-size:10px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* Les bassins versants constituent désormais le niveau d'entrée :
   ils apparaissent avant Tronçon homogène / Site d'action. */
#panel-bassins .bassins-grid{
  margin-bottom:18px;
}
#panel-bassins .bassin-detail{
  margin-top:0;
}


/* Séparation visuelle : Bassins versants / niveaux d'étude */
.bassin-levels-separator {
  position: relative;
  width: 100%;
  height: 32px;
  margin: 12px 0 10px;
}
.bassin-levels-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #cfcfcf;
}
.bassin-levels-separator span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid #777;
  border-bottom: 1px solid #777;
  background: #fff;
  transform: translate(-50%, -70%) rotate(45deg);
}
.bassin-levels-section {
  width: 100%;
  padding-top: 4px;
}
.bassin-levels-section .bassin-detail {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .bassin-levels-separator {
    height: 26px;
    margin: 8px 0;
  }
}


/* Correction fiche Adour : le descriptif occupe toute la largeur disponible */
#adour-study {
  width: 100%;
  box-sizing: border-box;
}

#adour-study .adour-suivi-description {
  display: block;
  width: 100%;
  max-width: none;
  clear: both;
  box-sizing: border-box;
}

#adour-study .adour-suivi-description p {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  text-align: left;
  text-justify: auto;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

#adour-study .adour-suivi-reports {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  #adour-study .adour-suivi-description,
  #adour-study .adour-suivi-description p,
  #adour-study .adour-suivi-reports {
    width: 100%;
    max-width: none;
  }
}


/* Correction définitive Adour :
   .adour-study est une grille à 2 colonnes.
   Le descriptif doit traverser les 2 colonnes, pas rester dans la colonne du logo. */
#adour-study .adour-suivi-description {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-top: 10px;
}

#adour-study .adour-suivi-description p {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#adour-study .adour-suivi-reports {
  grid-column: 1 / -1;
  width: 100%;
}


/* Carsac-Aillac — Séminaire gestion sédimentaire */
.carsac-study{margin-bottom:16px;padding:16px;border:1px solid #d5d5d5;background:#fff;color:#111}
.carsac-study[hidden]{display:none!important}
.carsac-study-logo-wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.carsac-study-logo{display:block;width:105px;max-width:100%;height:auto;object-fit:contain}
.carsac-study-logo--life{width:125px}
.carsac-study-text{display:flex;flex-direction:column;align-items:flex-start}
.carsac-study-location{color:#666;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.05em}
.carsac-study-text>strong{margin-top:4px;font-size:14px;line-height:1.4}
.carsac-study-subtitle{margin:3px 0 12px;color:#666;font-size:10px}
.carsac-study-text p{margin:0 0 10px;color:#555;font-size:11px;line-height:1.65;text-align:justify;text-justify:inter-word;hyphens:auto}
.carsac-study-link{display:inline-block;margin-top:2px;color:#111;font-size:11px;font-weight:600;line-height:1.5;text-decoration:none;border-bottom:1px solid #111}
.carsac-study-link:hover{opacity:.65}
@media screen and (max-width:768px){
  .carsac-study-logo{width:95px}
  .carsac-study-logo--life{width:115px}
}


/* Accès direct aux études — au-dessus de la cartographie */
.studies-search-section{
  background:#fff;
  color:#111;
  line-height:normal;
  padding:72px 5% 58px;
  border-top:1px solid #e3e3e3;
}
.studies-search-inner{width:min(1080px,100%);margin:0 auto}
.studies-search-surtitle{
  margin:0 0 10px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.12em;
}
.studies-search-section h2{
  max-width:760px;
  margin:0 0 28px;
  font-size:clamp(24px,3vw,38px);
  line-height:1.15;
  font-weight:500;
}
.studies-search-bar{position:relative;width:100%}
.studies-search-bar input{
  box-sizing:border-box;
  width:100%;
  min-height:58px;
  padding:0 54px 0 18px;
  border:1px solid #aaa;
  border-radius:0;
  background:#fff;
  color:#111;
  font:inherit;
  font-size:15px;
  outline:none;
}
.studies-search-bar input:focus{border-color:#111}
#studies-search-clear{
  position:absolute;right:8px;top:50%;transform:translateY(-50%);
  width:40px;height:40px;border:0;background:transparent;color:#555;
  font-size:25px;line-height:1;cursor:pointer;
}
.studies-search-filters{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.studies-search-filters select{
  box-sizing:border-box;width:100%;min-height:46px;padding:0 14px;
  border:1px solid #c9c9c9;border-radius:0;background:#fff;color:#111;
  font:inherit;font-size:12px;
}
.studies-search-results{display:grid;gap:8px;margin-top:18px}
.study-search-result{
  display:grid;grid-template-columns:minmax(180px,.7fr) 1.5fr minmax(160px,.7fr);
  gap:16px;align-items:center;width:100%;padding:14px 16px;
  border:1px solid #ddd;background:#fff;color:#111;text-align:left;cursor:pointer;
}
.study-search-result:hover{background:#f4f4f4;border-color:#999}
.study-search-result strong{font-size:12px;line-height:1.4}
.study-search-result span{font-size:10px;line-height:1.4;color:#666}
.study-search-path{text-transform:uppercase;letter-spacing:.04em}
.studies-search-hint,.studies-search-empty{margin:0;color:#777;font-size:11px}
.study-search-highlight{outline:2px solid #111;outline-offset:4px}
.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
@media screen and (max-width:768px){
  .studies-search-section{padding:52px 20px 42px}
  .studies-search-filters{grid-template-columns:1fr}
  .study-search-result{grid-template-columns:1fr;gap:4px}
}


/* Recherche — ouverture locale de la fiche complète avec + / − */
.study-search-item{
  border:1px solid #ddd;
  background:#fff;
}
.study-search-item .study-search-result{
  display:grid;
  grid-template-columns:minmax(180px,.7fr) 1.5fr minmax(160px,.7fr) 42px;
  gap:16px;
  align-items:center;
  width:100%;
  box-sizing:border-box;
  padding:14px 8px 14px 16px;
  border:0;
  background:#fff;
  color:#111;
  text-align:left;
  cursor:pointer;
}
.study-search-item .study-search-result:hover{background:#f4f4f4}
.study-search-item.is-expanded .study-search-result{
  border-bottom:1px solid #ddd;
}
.study-search-toggle{
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid #111;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-size:24px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}
.study-search-toggle:hover,
.study-search-toggle:focus{
  background:#111;
  color:#fff;
  outline:none;
}
.study-search-details{
  padding:18px;
  background:#fafafa;
}
.study-search-details[hidden]{display:none!important}

/* La fiche clonée conserve ses liens vers rapports, présentations et sites. */
.study-search-details > article,
.study-search-details > div{
  margin:0!important;
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
.study-search-details a{pointer-events:auto}

@media screen and (max-width:768px){
  .study-search-item .study-search-result{
    grid-template-columns:1fr 42px;
    gap:5px 12px;
  }
  .study-search-item .study-search-path,
  .study-search-item .study-search-result > strong,
  .study-search-item .study-search-result > span:not(.study-search-path){
    grid-column:1;
  }
  .study-search-toggle{
    grid-column:2;
    grid-row:1 / span 3;
    align-self:center;
  }
  .study-search-details{padding:12px}
}

.study-search-results > .study-search-item .study-search-result{
  border:none;
}

/* La barre d'étude ouvre désormais uniquement sa fiche, sans renvoi cartographique. */
.study-search-item .study-search-result { cursor: pointer; }


/* Correction fiche Suivi sédimentaire Adour dans les résultats de recherche.
   La fiche originale est une grille à deux colonnes ; le descriptif et les
   rapports doivent occuper toute la largeur, y compris lorsque la fiche est clonée. */
.study-search-details .adour-study {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.study-search-details .adour-study-logo-wrap {
  grid-column: 1;
  grid-row: 1;
}

.study-search-details .adour-study-text {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.study-search-details .adour-suivi-description {
  grid-column: 1 / -1 !important;
  grid-row: 2;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 10px 0 0 !important;
  box-sizing: border-box;
}

.study-search-details .adour-suivi-description p {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.study-search-details .adour-suivi-reports {
  grid-column: 1 / -1 !important;
  grid-row: 3;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .study-search-details .adour-study {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
  }
}


/* Garonne débordante — étude de tronçon */
.garonne-debordante-study{
  box-sizing:border-box;
  width:100%;
  padding:16px;
  border:1px solid #d5d5d5;
  background:#fff;
  color:#111;
}
.garonne-debordante-study[hidden]{display:none!important}
.garonne-debordante-study-head{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:16px;
  align-items:center;
  margin-bottom:16px;
}
.garonne-debordante-study-head>div{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
.garonne-debordante-study-logo{
  display:block;
  width:82px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.garonne-debordante-study-location{
  color:#666;
  font-size:10px;
  line-height:1.4;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.garonne-debordante-study-head strong{
  margin-top:3px;
  font-size:14px;
  line-height:1.4;
}
.garonne-debordante-study-subtitle{
  margin-top:4px;
  color:#666;
  font-size:10px;
  line-height:1.45;
}
.garonne-debordante-global{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0 0 14px;
  padding:12px 14px;
  border-left:3px solid #111;
  background:#f3f3f3;
}
.garonne-debordante-global-label{
  font-size:9px;
  font-weight:700;
  letter-spacing:.09em;
}
.garonne-debordante-global strong{
  font-size:11px;
  line-height:1.5;
}
.garonne-debordante-global span:last-child{
  color:#666;
  font-size:10px;
  line-height:1.45;
}
.garonne-debordante-study>p{
  width:100%;
  max-width:none;
  margin:0 0 10px;
  color:#555;
  font-size:11px;
  line-height:1.65;
  text-align:justify;
  text-justify:inter-word;
  hyphens:auto;
}
.garonne-debordante-study-link{
  display:inline-block;
  margin-top:3px;
  color:#111;
  font-size:11px;
  font-weight:600;
  line-height:1.5;
  text-decoration:none;
  border-bottom:1px solid #111;
}
.garonne-debordante-study-link:hover{opacity:.65}

@media screen and (max-width:768px){
  .garonne-debordante-study-head{
    grid-template-columns:70px minmax(0,1fr);
    gap:12px;
  }
  .garonne-debordante-study-logo{width:64px}
}


/* Étude SDAGE Adour-Garonne 2022–2027 — D8 / D9 */
.territoire-study-card--sdage .territoire-study-partners--sdage{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.territoire-study-card--sdage .territoire-study-logo{
  display:block;
  width:auto;
  max-width:130px;
  height:58px;
  object-fit:contain;
}
.territoire-study-card--sdage .territoire-study-logo--ofb{
  max-width:115px;
}
.sdage-study-framework{
  box-sizing:border-box;
  width:100%;
  margin:16px 0;
  padding:14px 16px;
  border-left:3px solid #111;
  background:#f3f3f3;
}
.sdage-study-framework-label{
  display:block;
  margin-bottom:8px;
  color:#111;
  font-size:9px;
  font-weight:700;
  line-height:1.4;
  letter-spacing:.09em;
}
.sdage-study-framework p{
  width:100%;
  max-width:none;
  margin:0 0 9px;
  color:#555;
  font-size:11px;
  line-height:1.65;
  text-align:justify;
  text-justify:inter-word;
  hyphens:auto;
}
.sdage-study-framework p:last-child{margin-bottom:0}
.territoire-study-card--sdage .territoire-study-summary{
  width:100%;
  max-width:none;
  text-align:justify;
  text-justify:inter-word;
  hyphens:auto;
}
.sdage-study-no-access{
  margin:13px 0 0;
  color:#777;
  font-size:10px;
  font-style:italic;
  line-height:1.5;
}
.study-search-details .territoire-study-card--sdage{
  width:100%;
  max-width:none;
}

@media screen and (max-width:768px){
  .territoire-study-card--sdage .territoire-study-logo{
    max-width:105px;
    height:48px;
  }
  .territoire-study-card--sdage .territoire-study-logo--ofb{
    max-width:95px;
  }
}


/* =========================================================
   TERRITOIRES HYDROGRAPHIQUES
   Adour-Garonne et Loire-Bretagne utilisent le même rendu Leaflet
   défini dans le JavaScript de la page.
   ========================================================= */

/* LOIRE-BRETAGNE — conférences Vienne */
.lb-conference-study{display:grid;grid-template-columns:110px minmax(0,1fr);gap:22px;margin:0 0 22px;padding:22px;border:1px solid #d8d8d8;background:#fff;color:#111}
.lb-conference-logo-wrap{display:flex;align-items:flex-start;justify-content:center}
.lb-conference-logo-wrap img{display:block;width:100px;max-width:100%;height:auto;object-fit:contain}
.lb-conference-location,.lb-conference-subtitle,.lb-conference-text strong,.lb-conference-text .study-date{display:block}
.lb-conference-location{margin-bottom:5px;color:#666;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.lb-conference-text strong{margin:6px 0;font-size:20px;line-height:1.25}
.lb-conference-subtitle{margin-bottom:14px;color:#555;font-size:14px}
.lb-conference-text p{margin:0 0 16px;line-height:1.65;text-align:justify}
@media screen and (max-width:768px){.lb-conference-study{grid-template-columns:1fr}.lb-conference-logo-wrap{justify-content:flex-start}.lb-conference-logo-wrap img{width:90px}}
