/* ==========================================================================
   VERCHAIX — verchaix-annuaires.css
   Annuaires : module Liens & fiches (santé, artisans, associations)
   Portée : Pages 16, 17 et 19. L'accueil (body-page-1) n'est pas concerné.
   ========================================================================== */

.vx-fiches .liens-bloc{
  margin:0;
}

.vx-fiches .liens-liste-selector{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
  margin:0 0 10px;
  padding:0;
}

.vx-fiches .liens-liste-selector li{
  margin:0;
}

.vx-fiches .btn-liste-selector{
  display:inline-block;
  text-decoration:none;
  color:var(--vx-aub)!important;
  background:#fff!important;
  border:0!important;
  border-radius:999px;
  padding:8px 16px;
  font-weight:600;
  font-size:14px;
}

.vx-fiches .btn-liste-selector:hover,
.vx-fiches .btn-liste-selector:focus-visible,
.vx-fiches .btn-liste-selector.active{
  background:var(--vx-aub)!important;
  color:#fff!important;
}

.vx-fiches .liens-bloc-groupe-ul{
  list-style:none;
  margin:0;
  padding:0;
}

.vx-fiches .liens-bloc-groupe-ligne{
  float:none!important;
  width:auto!important;
  height:auto!important;
  margin:0;
}

.vx-fiches .un-lien-bloc{
  height:auto!important;
  border:0!important;
}

.vx-fiches .un-lien-bloc-couleur{
  background:transparent!important;
  color:inherit!important;
}

.vx-fiches .un-lien-bloc-telephone ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.vx-fiches .un-lien-bloc-telephone a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--vx-aub);
  color:#fff!important;
  font-weight:700;
  padding:9px 16px;
  border-radius:999px;
  font-size:15px;
  text-decoration:none;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.vx-fiches .un-lien-bloc-telephone a::before{
  content:"";
  width:15px;
  height:15px;
  flex:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 3 5a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.vx-fiches .un-lien-bloc-telephone a:hover,
.vx-fiches .un-lien-bloc-telephone a:focus-visible{
  background:var(--vx-aub-d);
}

.vx-fiches .un-lien-bloc-adresse{
  font-size:14.5px;
  line-height:1.45;
}

.vx-fiches .un-lien-bloc-description{
  font-size:14px;
  color:var(--vx-gris);
}

.vx-fiches .un-lien-bloc-description p{
  margin:0 0 4px;
}

.vx-fiches .un-lien-bloc-description strong{
  color:var(--vx-txt);
}

.vx-fiches .un-lien-bloc-email a,
.vx-fiches .un-lien-bloc-mail a{
  color:var(--vx-pet);
  font-weight:600;
  word-break:break-word;
}

.vx-fiches .anchor-retour{
  display:none;
}

.vx-sante .vx-urgences{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:var(--vx-aub);
  color:#fff;
  border-radius:var(--vx-r);
  overflow:hidden;
  margin:0 0 26px;
}

.vx-sante .vx-urgences h2{
  grid-column:1/-1;
  margin:0;
  padding:18px 26px 0;
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--vx-menthe);
}

.vx-sante .vx-urg{
  display:flex;
  gap:14px;
  align-items:center;
  padding:14px 26px 22px;
  margin:0;
}

.vx-sante .vx-urg + .vx-urg{
  box-shadow:-1px 0 0 rgba(255,255,255,.18);
}

.vx-sante .vx-urg a{
  font-size:38px;
  font-weight:800;
  line-height:1;
  color:#fff;
  text-decoration:none;
}

.vx-sante .vx-urg a:hover,
.vx-sante .vx-urg a:focus-visible{
  text-decoration:underline;
}

.vx-sante .vx-urg span{
  font-size:13.5px;
  line-height:1.3;
}

.vx-sante .liens-bloc-groupe-container{
  display:grid;
  grid-template-columns:270px 1fr;
  gap:34px;
  padding:36px 0;
  border-bottom:1px solid var(--vx-ligne);
  float:none;
  width:auto;
}

.vx-sante .liens-bloc-groupe-container:last-child{
  border-bottom:0;
}

.vx-sante .liens-bloc-groupe-titre{
  position:sticky;
  top:90px;
  align-self:start;
  font-size:26px;
  line-height:1.15;
  font-weight:700;
  color:var(--vx-aub);
  background:transparent!important;
  padding:0!important;
}

.vx-sante .liens-bloc-groupe-titre::before{
  content:"";
  display:block;
  width:64px;
  height:64px;
  border-radius:20px;
  margin-bottom:12px;
  background:var(--vx-sable) var(--vx-picto,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E")) center/34px no-repeat;
}

.vx-sante .liens-bloc-groupe-container:nth-of-type(1){
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 3v6a5 5 0 0 0 10 0V3'/%3E%3Cpath d='M11 14v2a5 5 0 0 0 10 0v-3'/%3E%3Ccircle cx='21' cy='11' r='2'/%3E%3C/svg%3E");
}

.vx-sante .liens-bloc-groupe-container:nth-of-type(3){
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='4.5' r='2'/%3E%3Cpath d='M12 7v7l-4 7M12 14l4 7M6 10h12'/%3E%3C/svg%3E");
}

.vx-sante .liens-bloc-groupe-container:nth-of-type(4){
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 2v20M8 5h8M7 9.5h10M8 14h8M9 18.5h6'/%3E%3C/svg%3E");
}

.vx-sante .liens-bloc-groupe-container:nth-of-type(5){
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 21c-2-3-2-7 0-10 1.5-2.2 1-5 3-6.5S15 4 15 7c0 2-1.5 3-1.5 5.5S16 17 14 20s-5 3-7 1z'/%3E%3C/svg%3E");
}

.vx-sante .liens-bloc-groupe-container:nth-of-type(6){
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 5h16v10H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E");
}

.vx-sante .un-lien-bloc{
  display:grid;
  grid-template-columns:1.2fr 1fr auto;
  gap:2px 20px;
  align-items:center;
  background:#fff!important;
  border-radius:22px;
  padding:18px 22px;
  margin:0 0 12px;
}

.vx-sante .un-lien-bloc-header,
.vx-sante .un-lien-bloc-contenu{
  grid-column:1;
}

.vx-sante .un-lien-bloc-header{
  grid-row:1;
}

.vx-sante .un-lien-bloc-contenu{
  grid-row:2;
}

.vx-sante .un-lien-bloc-footer{
  display:contents;
}

.vx-sante .un-lien-bloc-adresse{
  grid-column:2;
  grid-row:1/3;
}

.vx-sante .un-lien-bloc-telephone{
  grid-column:3;
  grid-row:1/3;
}

.vx-sante .un-lien-bloc-liens:empty{
  display:none;
}

.vx-sante .un-lien-bloc-titre{
  font-size:18px;
  font-weight:700;
  color:var(--vx-txt);
}

.vx-sante .un-lien-bloc-description{
  color:var(--vx-pet);
  font-weight:600;
}

.vx-sante .un-lien-bloc-description p + p{
  color:var(--vx-gris);
  font-weight:400;
  font-size:13.5px;
  margin-top:4px;
}

.vx-sante .un-lien-bloc-image,
.vx-sante .un-lien-bloc-savoir-plus{
  display:none;
}

.vx-artisans .liens-bloc-groupe-container{
  margin:40px 0 0;
  float:none;
  width:auto;
}

.vx-artisans .liens-bloc-groupe-titre{
  font-size:26px;
  font-weight:700;
  color:var(--vx-aub);
  margin:0 0 18px;
  padding:0!important;
  background:transparent!important;
}

.vx-artisans .liens-bloc-groupe-ul{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}

.vx-artisans .un-lien-bloc-image:not(:has(img)){
  aspect-ratio:16/6;
}

.vx-artisans .un-lien-bloc{
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%!important;
  background:#fff!important;
  border-radius:var(--vx-r-s);
  overflow:hidden;
}

.vx-artisans .un-lien-bloc-header{
  order:2;
  padding:16px 20px 0;
}

.vx-artisans .un-lien-bloc-contenu{
  display:contents;
}

.vx-artisans .un-lien-bloc-image{
  order:1;
  aspect-ratio:16/9;
  background:var(--vx-sable) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 120'%3E%3Cg fill='%23522A4D' opacity='.14'%3E%3Cpath d='M30 120 L60 30 L90 120Z'/%3E%3Cpath d='M80 120 L120 0 L160 120Z'/%3E%3Cpath d='M150 120 L185 40 L220 120Z'/%3E%3C/g%3E%3C/svg%3E") center bottom/70% no-repeat;
  overflow:hidden;
}

.vx-artisans .un-lien-bloc-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.vx-artisans .un-lien-bloc-description{
  order:3;
  padding:6px 20px 0;
}

.vx-artisans .un-lien-bloc-description p:first-child{
  display:inline-block;
  background:var(--vx-sable);
  color:var(--vx-aub);
  font-weight:700;
  font-size:12.5px;
  padding:3px 11px;
  border-radius:999px;
  margin-bottom:8px;
}

.vx-artisans .un-lien-bloc-savoir-plus{
  order:5;
  position:absolute;
  inset:0;
  z-index:1;
}

.vx-artisans .un-lien-bloc-savoir-plus:focus-visible{
  outline:3px solid var(--vx-pet);
  outline-offset:-3px;
  border-radius:var(--vx-r-s);
}

.vx-artisans .un-lien-bloc-footer{
  order:4;
  margin-top:auto;
  padding:12px 20px 20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}

.vx-artisans .un-lien-bloc-adresse{
  font-size:13.5px;
  color:var(--vx-gris);
  flex:1 1 100%;
}

.vx-artisans .un-lien-bloc-telephone:empty,
.vx-artisans .un-lien-bloc-liens:empty{
  display:none;
}

.vx-artisans .un-lien-bloc-telephone,
.vx-artisans .un-lien-bloc-liens{
  position:relative;
  z-index:2;
}

.vx-artisans .un-lien-bloc-titre{
  font-size:18px;
  font-weight:700;
}

.vx-artisans .un-lien-bloc:hover .un-lien-bloc-titre{
  text-decoration:underline;
}

.vx-assos .liens-bloc-groupe-container{
  margin:40px 0 0;
  float:none;
  width:auto;
}

.vx-assos .liens-bloc-groupe-titre{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:24px;
  font-weight:700;
  color:var(--vx-txt);
  margin:0 0 18px;
  padding:0!important;
  background:transparent!important;
}

.vx-assos .liens-bloc-groupe-titre::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--vx-ligne);
}

.vx-assos .liens-bloc-groupe-ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.vx-assos .un-lien-bloc{
  display:grid;
  grid-template-columns:64px 1fr;
  grid-template-rows:auto auto 1fr;
  gap:2px 18px;
  background:#fff!important;
  border-radius:var(--vx-r-s);
  padding:22px 24px;
  height:100%!important;
}

.vx-assos .un-lien-bloc-image{
  grid-row:1/3;
  grid-column:1;
  width:64px;
  height:64px;
  border-radius:50%;
  overflow:hidden;
  background:var(--vx-sable) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='16' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3 2.5-5 5-5s5 2 5 5M11 20c0-3 2.5-5 5-5s5 2 5 5'/%3E%3C/svg%3E") center/30px no-repeat;
}

.vx-assos .un-lien-bloc-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.vx-assos .un-lien-bloc-header{
  grid-column:2;
  grid-row:1;
}

.vx-assos .un-lien-bloc-contenu{
  display:contents;
}

.vx-assos .un-lien-bloc-description{
  grid-column:2;
  grid-row:2;
}

.vx-assos .un-lien-bloc-description p{
  margin:0 0 6px;
}

.vx-assos .un-lien-bloc-description p:first-child{
  color:var(--vx-pet);
  font-weight:700;
  font-size:13.5px;
}

.vx-assos .un-lien-bloc-savoir-plus{
  display:none;
}

.vx-assos .un-lien-bloc-footer{
  grid-column:1/-1;
  grid-row:3;
  align-self:end;
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--vx-ligne);
  font-size:14px;
}

.vx-assos .un-lien-bloc-adresse{
  flex:1 1 auto;
  color:var(--vx-gris);
  font-size:13.5px;
}

.vx-assos .un-lien-bloc-adresse:empty,
.vx-assos .un-lien-bloc-telephone:empty,
.vx-assos .un-lien-bloc-liens:empty{
  display:none;
}

.vx-assos .un-lien-bloc-footer:not(:has(a)):has(.un-lien-bloc-adresse:empty){
  display:none;
}

.vx-assos .un-lien-bloc-titre{
  font-size:19px;
  font-weight:700;
  color:var(--vx-aub);
}

.vx-assos .un-lien-bloc-telephone a{
  background:var(--vx-sable);
  color:var(--vx-aub)!important;
  padding:7px 14px;
  font-size:14px;
}

.vx-assos .un-lien-bloc-telephone a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='2'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 3 5a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
}

.vx-assos .un-lien-bloc-telephone a:hover,
.vx-assos .un-lien-bloc-telephone a:focus-visible{
  background:var(--vx-aub);
  color:#fff!important;
}


@media (max-width:1300px){

  .vx-artisans .liens-bloc-groupe-ul{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

}


@media (max-width:1100px){

  .vx-sante .vx-urgences{
    grid-template-columns:1fr 1fr;
  }

  .vx-sante .vx-urg:nth-of-type(3){
    box-shadow:none;
  }

  .vx-sante .liens-bloc-groupe-container{
    grid-template-columns:1fr;
    gap:16px;
  }

  .vx-sante .liens-bloc-groupe-titre{
    position:static;
  }

  .vx-artisans .liens-bloc-groupe-ul{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}


@media (max-width:760px){

  .vx-sante .un-lien-bloc{
    grid-template-columns:1fr;
    gap:8px;
  }

  .vx-sante .un-lien-bloc-header,
  .vx-sante .un-lien-bloc-contenu,
  .vx-sante .un-lien-bloc-adresse,
  .vx-sante .un-lien-bloc-telephone{
    grid-column:1;
    grid-row:auto;
  }

  .vx-sante .vx-urg a{
    font-size:30px;
  }

  .vx-sante .vx-urg{
    padding:12px 18px 18px;
  }

  .vx-artisans .liens-bloc-groupe-ul,
  .vx-assos .liens-bloc-groupe-ul{
    grid-template-columns:1fr;
  }

  .vx-assos .un-lien-bloc{
    grid-template-columns:48px 1fr;
  }

  .vx-assos .un-lien-bloc-image{
    width:48px;
    height:48px;
    background-size:24px;
  }

}


@media (max-width:480px){

  .vx-sante .vx-urgences{
    grid-template-columns:1fr;
  }

  .vx-sante .vx-urg + .vx-urg{
    box-shadow:0 -1px 0 rgba(255,255,255,.18);
  }

}

.vx-fiches .un-lien-bloc,
.vx-fiches .un-lien-bloc-titre,
.vx-fiches .un-lien-bloc-description,
.vx-fiches .un-lien-bloc-footer{
  height:auto!important;
  min-height:0!important;
}

.vx-assos .un-lien-bloc-image{
  height:64px!important;
}


@media (max-width:760px){

  .vx-assos .un-lien-bloc-image{
    height:48px!important;
  }

}

.vx-fiches .un-lien-bloc-description{
  white-space:pre-line;
}

.vx-fiches .un-lien-bloc-telephone:has(ul:empty){
  display:none;
}

.vx-fiches .un-lien-bloc-liens a.un-lien-bloc-email{
  display:inline-block;
  color:var(--vx-pet)!important;
  font-weight:600;
  font-size:14px;
  word-break:break-all;
  text-decoration:underline;
  text-underline-offset:3px;
}

.vx-fiches .un-lien-bloc-liens a.un-lien-bloc-email:hover,
.vx-fiches .un-lien-bloc-liens a.un-lien-bloc-email:focus-visible{
  color:var(--vx-aub)!important;
}

.vx-sante .un-lien-bloc-description{
  color:var(--vx-gris);
  font-weight:400;
  font-size:13.5px;
  line-height:1.5;
}

.vx-sante .un-lien-bloc-description::first-line{
  color:var(--vx-pet);
  font-weight:600;
  font-size:14px;
}

.vx-artisans .un-lien-bloc-description{
  color:var(--vx-gris);
  font-size:14px;
  line-height:1.5;
}

.vx-artisans .un-lien-bloc-description::first-line{
  color:var(--vx-aub);
  font-weight:700;
  font-size:13px;
  letter-spacing:.02em;
}

.vx-assos .un-lien-bloc-description{
  color:var(--vx-gris);
  font-size:14px;
  line-height:1.55;
}

.vx-assos .un-lien-bloc-description::first-line{
  color:var(--vx-pet);
  font-weight:700;
  font-size:13.5px;
}

.vx-artisans .un-lien-bloc-savoir-plus,
.vx-assos .un-lien-bloc-savoir-plus,
.vx-sante .un-lien-bloc-savoir-plus{
  display:none!important;
}

.vx-artisans .un-lien-bloc:hover .un-lien-bloc-titre{
  text-decoration:none;
}

.vx-fiches .un-lien-bloc-liens{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  width:auto;
}

.vx-fiches .un-lien-bloc-liens a.un-lien-bloc-email{
  background:none!important;
  border:0!important;
  flex-grow:0!important;
  text-align:left!important;
  width:auto!important;
  float:none!important;
  padding:0!important;
  box-shadow:none!important;
}

.vx-fiches .un-lien-bloc-liens a.un-lien-bloc-email::before{
  content:none!important;
}

.vx-fiches .un-lien-bloc-liens a.un-lien-bloc-email:hover{
  background:none!important;
}
/* Santé : pas d'ouverture de la fiche détaillée */.vx-sante .un-lien-identite .ws-titre a{pointer-events:none;cursor:default;color:inherit;text-decoration:none}/* Artisans : pas d'ouverture de la fiche détaillée */.vx-artisans .un-lien-bloc .ws-titre a{pointer-events:none;cursor:default;color:inherit;text-decoration:none}.vx-artisans .un-lien-savoir-plus{display:none!important}/* Associations : pas d'ouverture de la fiche détaillée */.vx-assos .un-lien-bloc .ws-titre a{pointer-events:none;cursor:default;color:inherit;text-decoration:none}.vx-assos .un-lien-savoir-plus{display:none!important}/* Ecole : pas d'ouverture de la fiche détaillée */.vx-ecole .un-lien-bloc .ws-titre a{pointer-events:none;cursor:default;color:inherit;text-decoration:none}.vx-ecole .un-lien-savoir-plus{display:none!important}/* Liens & fiches : aucune ouverture de fiche détaillée, sur tout le site */a[href*="/services-et-contacts/"],a[href*="/professionnels-de-sante/"],a[href*="/commercants-artisans-services/"],a[href*="/associations/"]{pointer-events:none;cursor:default;color:inherit;text-decoration:none}.un-lien-savoir-plus{display:none!important}