
/* __DESIGN_SITE__ */
/* ============================================================
   sextreffen-saarland.de — direction artistique « tricolore sport »
   Bleu marine (#1a237e / #283593) + rouge (#d32f2f) + blanc.
   Bandes, italique léger sur le logo, boutons à angle coupé.
   Disposition : header desktop = nav à gauche / actions au centre
   / logo à droite, bande rouge fine en bas du header ; mobile =
   bandeau marine, hamburger à droite ; footer rayé, fond marine,
   2 colonnes larges.
   Sélecteurs par attribut (évite l'échappement des classes
   Tailwind du type md:flex) — header.sticky / footer.border-t
   servent de préfixe pour battre la spécificité des classes
   utilitaires sans abuser de !important.
   ============================================================ */

/* ---------- HEADER DESKTOP ---------- */

/* Fond marine (le blanc/flou d'origine disparaît) + bande rouge
   fine en bas (la couleur de bordure du gabarit est posée en
   inline, donc !important) + liseré tricolore tout en haut du
   header, qui dérive lentement (motif, pas une grande surface). */
header.sticky {
  background: linear-gradient(180deg, #1a237e 0%, #283593 100%) !important;
  border-bottom-width: 4px !important;
  border-bottom-style: solid !important;
  border-bottom-color: #d32f2f !important;
  box-shadow: none !important;
}
header.sticky::before {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #1a237e 0 16px,
    #ffffff 16px 20px,
    #d32f2f 20px 36px
  );
  background-size: 200% 100%;
  animation: sxs-drift 14s linear infinite;
}
@keyframes sxs-drift {
  from { background-position: 0 0; }
  to   { background-position: -72px 0; }
}

/* Rangée principale : le HTML sert logo -> (bloc mobile) -> nav ->
   actions ; on réordonne pour lire nav (gauche) / actions (centre,
   entre deux marges auto) / logo (droite). */
header.sticky .flex.h-16 {
  justify-content: flex-start;
  gap: 1.25rem;
}
header.sticky nav {
  order: 1;
  margin-right: auto;
}
header.sticky div[class*="flex-shrink-0"][class*="gap-4"] {
  order: 2;
}
header.sticky div[class*="flex-shrink-0"]:not([class*="gap-4"]) {
  order: 3;
  margin-left: auto;
}

/* Logo : italique léger, blanc, petit soulignement rouge animé au
   survol (dessous logo desktop ET logo mobile, tous deux href="/"). */
header.sticky a[href="/"] {
  color: #ffffff !important;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
}
header.sticky a[href="/"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #d32f2f;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s ease;
}
header.sticky a[href="/"]:hover::after {
  transform: scaleX(1);
}

/* Lien de navigation "Top 10 Bundesländer" : blanc, soulignement
   rouge qui se déploie au survol. */
header.sticky nav button {
  color: #ffffff;
  position: relative;
}
header.sticky nav button:hover {
  color: #ffcdd2;
}
header.sticky nav button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #d32f2f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
header.sticky nav button:hover::after {
  transform: scaleX(1);
}

/* Actions (login, recherche) : chips rouges à angle coupé */
header.sticky div[class*="flex-shrink-0"][class*="gap-4"] > div > button,
header.sticky div[class*="flex-shrink-0"][class*="gap-4"] > button {
  background: #d32f2f;
  color: #ffffff !important;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
header.sticky div[class*="flex-shrink-0"][class*="gap-4"] > div > button:hover,
header.sticky div[class*="flex-shrink-0"][class*="gap-4"] > button:hover {
  background: #283593;
  transform: translateY(-2px);
}

/* ---------- BARRE MOBILE (bandeau marine, hamburger à droite) ---------- */

/* Le bloc mobile hérite déjà du fond marine du header. On échange
   la position du bouton "Mitgliederbereich" (passe à gauche) et du
   hamburger (passe à droite) ; le logo centré (absolute + translate
   Tailwind v4) n'est pas touché, il reste au milieu, inchangé. */
header.sticky div[class*="md:hidden"][class*="justify-between"] > button:not([aria-label]) {
  order: 1;
  color: #ffffff;
  background: #d32f2f;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  min-height: 44px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background-color 0.2s ease;
}
header.sticky div[class*="md:hidden"][class*="justify-between"] > button:not([aria-label]) span {
  color: #ffffff !important;
}
header.sticky div[class*="md:hidden"][class*="justify-between"] > button:not([aria-label]):hover {
  background: #283593;
}
header.sticky div[class*="md:hidden"][class*="justify-between"] > button[aria-label="Menü"] {
  order: 3;
  color: #ffffff;
  background: #283593;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
header.sticky div[class*="md:hidden"][class*="justify-between"] > button[aria-label="Menü"]:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

/* ---------- FOOTER : rayures marine/rouge, fond marine, 2 colonnes larges ---------- */

footer.border-t {
  background: #1a237e !important;
  border-top-color: #1a237e !important;
}
footer.border-t::before {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #1a237e 0 14px,
    #ffffff 14px 18px,
    #d32f2f 18px 24px
  );
}

/* 4 colonnes d'origine (grid-cols-1 -> md:2 -> lg:4) réduites à
   2 colonnes larges, à toutes les tailles d'écran. */
footer.border-t div[class*="grid-cols-1"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3rem;
}

footer.border-t h3 {
  color: #ffffff !important;
}
footer.border-t p,
footer.border-t a {
  color: rgba(255, 255, 255, 0.82);
}
footer.border-t a:hover {
  color: #ff8a80;
}
footer.border-t p[class*="text-zinc-500"] {
  color: rgba(255, 255, 255, 0.62);
}
footer.border-t div[class*="border-zinc-200"] {
  border-top-color: rgba(211, 47, 47, 0.45) !important;
}

/* ---------- Confort visuel : coupe toute animation/transition ---------- */
@media (prefers-reduced-motion: reduce) {
  header.sticky::before {
    animation: none;
  }
  header.sticky a[href="/"]::after,
  header.sticky nav button::after,
  header.sticky div[class*="flex-shrink-0"][class*="gap-4"] > div > button,
  header.sticky div[class*="flex-shrink-0"][class*="gap-4"] > button,
  header.sticky div[class*="md:hidden"][class*="justify-between"] > button[aria-label="Menü"],
  header.sticky div[class*="md:hidden"][class*="justify-between"] > button:not([aria-label]) {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   Design v3 (18/09) — mise en page « cta-faq » (recette next,
   copiée telle quelle depuis app/design_recettes_v3.css).
   ============================================================ */
@media (min-width: 992px) {
  body.design-v-cta-faq main.space-y-12 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 3rem; align-items: start; }
  body.design-v-cta-faq main.space-y-12 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > section:has(.min-h-\[500px\]) { order: 1; }
  body.design-v-cta-faq main.space-y-12 > div.rounded-2xl.mb-8 { order: 2; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 { display: contents; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(.prose) { order: 3; }
  body.design-v-cta-faq main.space-y-12 > .ds-bloc { order: 3; }
  body.design-v-cta-faq main.space-y-12 > section.text-center { order: 4; grid-column: auto; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(> div.space-y-0) { order: 5; grid-column: auto; align-self: stretch; }
}

/* ============================================================
   Design v3 (18/09) — thème profond « tricolore sport ».
   Même registre que le header/footer : bleu marine (#1a237e /
   #283593), rouge (#d32f2f), blanc, angles coupés, filet
   tricolore qui dérive. On ne touche qu'aux couleurs, bordures,
   rayons, ombres et typographie — jamais display/position/
   transform/overflow sur les pop-ups et l'age gate.
   ============================================================ */

/* ---------- Cartes profil : carton de match, coins coupés ---------- */
main .w-40.sm\:w-64.bg-zinc-50 {
  background: #ffffff;
  border: 2px solid #1a237e !important;
  border-radius: 4px !important;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 3px 0 #d32f2f, 0 10px 18px -12px rgba(26, 35, 126, .45);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
main .w-40.sm\:w-64.bg-zinc-50:hover {
  transform: translateY(-4px);
  border-color: #d32f2f !important;
  box-shadow: 0 3px 0 #1a237e, 0 16px 26px -14px rgba(211, 47, 47, .4);
}
main img.aspect-square.object-cover {
  border-radius: 2px !important;
  filter: saturate(1.03);
}
main .w-40.sm\:w-64.bg-zinc-50:hover img.aspect-square.object-cover {
  filter: saturate(1.15) brightness(1.02);
}
/* badge d'âge : chip rouge à angle coupé, comme les chips du header */
main .absolute.top-2.right-2.bg-zinc-900\/80 {
  background: #d32f2f !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
  font-weight: 700;
  letter-spacing: .02em;
}
main h3.font-semibold.truncate {
  color: #1a237e !important;
  font-weight: 800 !important;
}
main p.text-zinc-500.truncate.mb-2 {
  color: #9599b8;
}

/* ---------- Tri, recherche : chips à angle coupé ---------- */
main .form-group select,
main button[aria-label="Suche"] {
  border: 1.5px solid #1a237e !important;
  border-radius: 0 !important;
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
  color: #1a237e !important;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
main .form-group select:hover,
main button[aria-label="Suche"]:hover {
  background: #d32f2f !important;
  color: #ffffff !important;
  border-color: #d32f2f !important;
}
main .form-group select:focus-visible,
main button[aria-label="Suche"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, .35);
  border-color: #d32f2f !important;
}
main button[aria-label="Mehr anzeigen"] {
  color: #1a237e !important;
  font-weight: 700;
  position: relative;
  padding-bottom: 1px;
  background-image: linear-gradient(#d32f2f, #d32f2f);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 2px;
  transition: background-size .3s ease;
}
main button[aria-label="Mehr anzeigen"]:hover {
  background-size: 100% 2px;
}

/* ---------- Bandeau CTA milieu de page : marine, filet tricolore, bouton coupé ---------- */
main section.text-center {
  background: linear-gradient(180deg, #1a237e 0%, #283593 100%) !important;
  border-radius: 4px !important;
  position: relative;
  overflow: hidden;
}
main section.text-center::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #1a237e 0 16px,
    #ffffff 16px 20px,
    #d32f2f 20px 36px
  );
  background-size: 200% 100%;
  animation: sxs-drift 14s linear infinite;
}
main section.text-center h2 {
  color: #ffffff !important;
}
main section.text-center button {
  background: #d32f2f !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 0 !important;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
main section.text-center button:hover {
  background: #ffffff !important;
  color: #1a237e !important;
  transform: translateY(-2px);
}

/* ---------- FAQ : filet rouge en tête, chevrons marine ---------- */
main section:has(> div.space-y-0) {
  border-top: 4px solid #d32f2f !important;
  border-radius: 4px 4px 0 0 !important;
}
main section:has(> div.space-y-0) > h2 {
  color: #1a237e !important;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
main section:has(> div.space-y-0) > h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 3px;
  background: #d32f2f;
}
main div.space-y-0 > div {
  border-bottom-color: rgba(211, 47, 47, .22) !important;
}
main div.space-y-0 h3 {
  color: #1a237e;
}
main div.space-y-0 button:hover {
  background: rgba(26, 35, 126, .05) !important;
}
main div.space-y-0 svg {
  color: #d32f2f !important;
}
main div.space-y-0 button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ---------- Retour en haut : couleurs/ombre/rayon seulement (montrer/cacher
   reste piloté par les classes utilitaires du gabarit, jamais touchées) ---------- */
button.fixed.bottom-6.right-6 {
  background: #1a237e !important;
  color: #ffffff !important;
  border: 2px solid #d32f2f !important;
  box-shadow: 0 4px 12px rgba(26, 35, 126, .4);
}
button.fixed.bottom-6.right-6:hover {
  background: #d32f2f !important;
  border-color: #1a237e !important;
}

/* ---------- Pop-up d'inscription (LoginPopup / prelinker) : écrin seulement,
   jamais display/position/transform/overflow ---------- */
.fixed.inset-0.z-50.bg-black\/50 {
  background: rgba(26, 35, 126, .55) !important;
}
.fixed.inset-0.z-50 .rounded-2xl.shadow-2xl {
  border: 1px solid rgba(26, 35, 126, .18);
  border-top: 4px solid #d32f2f;
  border-radius: 4px;
  box-shadow: 0 24px 48px -20px rgba(26, 35, 126, .5);
}
.fixed.inset-0.z-50 h1.text-3xl.font-bold {
  color: #1a237e !important;
  font-style: italic;
}
.fixed.inset-0.z-50 button.rounded-full.bg-zinc-100 {
  background: #f1f1f6 !important;
  color: #1a237e !important;
}
.fixed.inset-0.z-50 button.rounded-full.bg-zinc-100:hover {
  background: #ffe0e0 !important;
  color: #d32f2f !important;
}
.fixed.inset-0.z-50 input.rounded-lg.border.border-zinc-300 {
  border-color: rgba(26, 35, 126, .3) !important;
  border-radius: 4px;
}
.fixed.inset-0.z-50 input.rounded-lg.border.border-zinc-300:focus {
  border-color: #d32f2f !important;
}
.fixed.inset-0.z-50 button.w-full.text-white.font-semibold.rounded-lg {
  background: #1a237e !important;
  border-radius: 4px;
}
.fixed.inset-0.z-50 button.w-full.text-white.font-semibold.rounded-lg:hover {
  background: #283593 !important;
}
/* le cadre du formulaire du prestataire : seulement l'écrin, jamais son contenu injecté */
.fixed.inset-0.z-50 #prelinker-embed {
  border-radius: 4px;
}

/* ---------- Age gate : même registre, filet rouge en tête ---------- */
.z-\[9999\].bg-zinc-900\/90 {
  background: rgba(26, 35, 126, .82) !important;
}
.z-\[9999\] .bg-white.rounded-xl.shadow-xl.max-w-xl {
  border: 1px solid rgba(26, 35, 126, .18) !important;
  border-top: 4px solid #d32f2f !important;
  border-radius: 4px !important;
  box-shadow: 0 24px 48px -20px rgba(26, 35, 126, .5);
}
.z-\[9999\] h1.text-2xl {
  color: #1a237e;
  font-style: italic;
}
.z-\[9999\] .w-16.h-1.bg-zinc-300 {
  background: #d32f2f !important;
}
.z-\[9999\] .bg-zinc-50.rounded-lg.p-5.border.border-zinc-200 {
  background: #f6f7fb !important;
  border-color: rgba(26, 35, 126, .2) !important;
  border-radius: 4px;
}
.z-\[9999\] .bg-zinc-50.rounded-lg.p-5.border.border-zinc-200 p.font-medium {
  color: #1a237e !important;
}
.z-\[9999\] button:first-of-type {
  background: #d32f2f !important;
  border-radius: 0 !important;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.z-\[9999\] button:first-of-type:hover {
  background: #1a237e !important;
}
.z-\[9999\] button.bg-zinc-100 {
  background: #f1f1f6 !important;
  color: #1a237e !important;
  border-color: rgba(26, 35, 126, .25) !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.z-\[9999\] button.bg-zinc-100:hover {
  background: #ffe0e0 !important;
}

/* mode sombre système : les cartons/pop-ups restent sur fond clair assumé */
@media (prefers-color-scheme: dark) {
  main h3.font-semibold.truncate,
  .fixed.inset-0.z-50 h1.text-3xl.font-bold,
  .z-\[9999\] h1.text-2xl {
    color: #1a237e !important;
  }
}

/* ---------- Confort visuel (thème profond) : coupe les animations ajoutées ---------- */
@media (prefers-reduced-motion: reduce) {
  main section.text-center::before,
  main .w-40.sm\:w-64.bg-zinc-50,
  main .w-40.sm\:w-64.bg-zinc-50:hover,
  main section.text-center button,
  main button[aria-label="Mehr anzeigen"],
  button.fixed.bottom-6.right-6 {
    animation: none !important;
    transition: none !important;
  }
}

/* Design v3 (18/09) — menu mobile Next, registre tricolore sport (socle posé
   par design_site.py ; on ne touche qu'aux couleurs/bordures/rayons/tailles). */
label.ds-mburger{background:#1a237e!important;color:#fff!important;border-radius:0!important;clip-path:polygon(8px 0,100% 0,100% 100%,0 100%,0 8px);border:1.5px solid #d32f2f}
label.ds-mburger:active{background:#d32f2f!important}
.ds-moverlay{background:rgba(26,35,126,.55)!important}
.ds-mdrawer{background:linear-gradient(180deg,#1a237e,#283593)!important;color:#fff!important}
.ds-mhead{border-bottom-color:rgba(211,47,47,.5)!important;color:#fff;font-style:italic}
.ds-mclose{width:40px;height:40px;background:#d32f2f!important;color:#fff!important;border-radius:0!important;clip-path:polygon(8px 0,100% 0,100% 100%,0 100%,0 8px)}
.ds-mclose:hover{background:#fff!important;color:#1a237e!important}
.ds-msec-t{color:#ff8a80;opacity:1;font-weight:800}
.ds-mlink{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.38)!important;border-radius:0!important;clip-path:polygon(6px 0,100% 0,100% 100%,0 100%,0 6px);transition:background-color .2s,transform .2s}
.ds-mlink:hover{background:#d32f2f!important;border-color:#d32f2f!important;transform:translateY(-1px)}
.ds-mnav .ds-mlink{background:#d32f2f!important;border-color:#d32f2f!important;color:#fff!important;font-weight:800;text-transform:uppercase;letter-spacing:.03em;font-size:.82rem}
.ds-mnav .ds-mlink:hover{background:#fff!important;color:#1a237e!important;border-color:#fff!important}
.ds-mlander .ds-mlink,.ds-mvilles .ds-mlink{background:#fff!important;color:#1a237e!important;border-color:#fff!important;font-weight:700}
.ds-mlander .ds-mlink:hover,.ds-mvilles .ds-mlink:hover{background:#ffcdd2!important;border-color:#ffcdd2!important}
.ds-mfoot{border-top:1px solid rgba(211,47,47,.45)}
.ds-mcta{background:#d32f2f!important;color:#fff!important;border:2px solid #fff!important;border-radius:0!important;clip-path:polygon(10px 0,100% 0,100% 100%,0 100%,0 10px);font-weight:800;text-transform:uppercase;letter-spacing:.03em;transition:background-color .2s,transform .2s}
.ds-mcta:hover{background:#fff!important;color:#1a237e!important;transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){label.ds-mburger,.ds-mclose,.ds-mlink,.ds-mlink:hover,.ds-mnav .ds-mlink:hover,.ds-mlander .ds-mlink:hover,.ds-mvilles .ds-mlink:hover,.ds-mcta,.ds-mcta:hover{transition:none!important;transform:none!important}}


/* socle menu mobile Next (ajouté par design_site.py) */
@media (max-width: 767px) {
  .ds-mburger { position: fixed; top: 12px; left: 10px; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; background: #18181b; color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
  .ds-mburger span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
  .ds-moverlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; }
  .ds-mdrawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); z-index: 70; overflow-y: auto; background: #fff; color: #18181b; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 8px 0 30px rgba(0,0,0,.3); padding-bottom: 24px; }
  body:has(#ds-mcb:checked) .ds-moverlay { display: block; }
  body:has(#ds-mcb:checked) .ds-mdrawer { transform: none; }
  body:has(#ds-mcb:checked) { overflow: hidden; }
  .ds-mhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.1); font-weight: 700; font-size: 1.05rem; }
  .ds-mclose { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; background: rgba(0,0,0,.06); }
  .ds-msec { padding: 12px 16px 4px; }
  .ds-msec-t { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
  .ds-mlinks { display: flex; flex-wrap: wrap; gap: 8px; }
  .ds-mlink { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); background: rgba(0,0,0,.03); color: inherit; text-decoration: none; font-size: .9rem; line-height: 1.2; }
  .ds-mnav .ds-mlink { font-weight: 600; }
  .ds-mfoot { padding: 18px 16px 0; }
  .ds-mcta { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--secondary-color, #18181b); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
}
@media (min-width: 768px) { .ds-mburger, .ds-mdrawer, .ds-moverlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ds-mdrawer { transition: none; } }

/* garde-fou design_site.py (Next, 17/09) : le logo mobile est un <a> absolu centré ; un nom de site
   allemand long (« Kostenlose Sexdates in Deutschland ») débordait ou s'empilait sur 3 lignes
   par-dessus les icônes (capture du 17/09). Une ligne, ellipse, place réservée aux boutons. */
@media (max-width: 767px) {
  header .md\:hidden a[href="/"] {
    max-width: 56% !important; white-space: nowrap !important; overflow: hidden !important;
    text-overflow: ellipsis !important; font-size: clamp(.95rem, 4.4vw, 1.25rem) !important; line-height: 1.2 !important;
    position: absolute !important; /* lot 21 : un `position: relative` posé pour un ::after l'avait mis dans le flux → bouton par-dessus */
  }
  header nav.hidden { display: none !important; }
}
/* garde-fou 18/09 : la carte des pages ville tombait en repli avec un texte FRANÇAIS (« Carte indisponible (fallback) ») —
   corrigé à la source (VilleMap.tsx), masqué ici tant que le dist n'est pas reconstruit. */
main.space-y-12 > div.rounded-2xl.mb-8 > div.mb-3.text-sm.text-zinc-600 { display: none !important; }
@media (max-width: 767px) { /* lot 21 : `display:flex` posé sur nav.hidden.md:flex la faisait sortir sur mobile, par-dessus le logo */
}
/* __END_DESIGN_SITE__ */
