.elementor-14411 .elementor-element.elementor-element-c97b398{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}/* Start custom CSS for section, class: .elementor-element-c97b398 *//* PAGE ASSOCIATIONS - Ville de Nuits-Saint-Georges */
/* Version compacte premium : accordéons + cartes courtes */

:root {
  --nsg-red: #a90f2f;
  --nsg-red-dark: #760019;
  --nsg-red-soft: #f8edf1;
  --nsg-dark: #252525;
  --nsg-text: #343434;
  --nsg-muted: #737373;
  --nsg-border: #e8dde1;
  --nsg-bg: #f7f5f5;
  --nsg-white: #ffffff;
  --nsg-radius: 18px;
  --nsg-shadow: 0 14px 34px rgba(40, 40, 40, 0.08);
}

.nsg-associations-page {
  background: var(--nsg-bg);
  color: var(--nsg-text);
  font-family: inherit;
  line-height: 1.5;
  padding-bottom: 50px;
}

.nsg-associations-page * {
  box-sizing: border-box;
}

.asso-container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

/* ============================= */
/* HERO */
/* ============================= */

.asso-hero {
  display: grid;
  grid-template-columns: 1fr 245px;
  gap: 32px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(118, 0, 25, 0.98), rgba(45, 45, 45, 0.96));
  box-shadow: 0 22px 50px rgba(40, 40, 40, 0.16);
  overflow: hidden;
}

/* Image hero optionnelle :
.asso-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(118, 0, 25, 0.94), rgba(45, 45, 45, 0.94)),
    url("/wp-content/uploads/associations/hero-associations-nuits-saint-georges.jpg") center/cover no-repeat;
}
*/

.asso-hero__text {
  position: relative;
  z-index: 2;
}

.asso-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asso-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.32);
}

.asso-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 1.04rem;
  line-height: 1.65;
}

.asso-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--nsg-red-dark);
}

.btn-primary:hover {
  background: var(--nsg-red-soft);
  color: var(--nsg-red-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

.asso-hero__box {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 26px;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.asso-hero__box strong {
  display: block;
  color: #ffffff;
  font-size: 4.1rem;
  font-weight: 950;
  line-height: 1;
}

.asso-hero__box span {
  display: block;
  max-width: 160px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 850;
}

.asso-hero__box small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

/* ============================= */
/* BARRE CATÉGORIES */
/* ============================= */

.asso-toolbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0 12px;
  margin-top: 18px;
  background: linear-gradient(to bottom, var(--nsg-bg) 80%, rgba(247, 245, 245, 0));
  scrollbar-width: thin;
}

.asso-toolbar::-webkit-scrollbar {
  height: 7px;
}

.asso-toolbar::-webkit-scrollbar-track {
  background: #eee5e8;
  border-radius: 999px;
}

.asso-toolbar::-webkit-scrollbar-thumb {
  background: rgba(118, 0, 25, 0.45);
  border-radius: 999px;
}

.asso-toolbar a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--nsg-border);
  color: var(--nsg-dark);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(40, 40, 40, 0.045);
  transition: all 0.18s ease;
}

.asso-toolbar a:hover {
  background: var(--nsg-red);
  border-color: var(--nsg-red);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ============================= */
/* INTRO */
/* ============================= */

.asso-intro {
  margin-top: 26px;
  padding: 0 0 10px;
}

.asso-intro > div {
  max-width: 780px;
}

.asso-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  color: var(--nsg-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asso-intro h2 {
  margin: 0;
  color: var(--nsg-red-dark);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.asso-intro p:last-child {
  margin: 12px 0 0;
  color: var(--nsg-muted);
  font-size: 1rem;
}

/* ============================= */
/* ANNUAIRE */
/* ============================= */

.asso-directory {
  padding: 18px 0 70px;
}

.asso-category {
  scroll-margin-top: 90px;
  margin-top: 14px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--nsg-border);
  box-shadow: 0 10px 26px rgba(40, 40, 40, 0.055);
  overflow: hidden;
}

.asso-category > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  list-style: none;
  transition: background 0.18s ease;
}

.asso-category > summary::-webkit-details-marker {
  display: none;
}

.asso-category > summary:hover {
  background: var(--nsg-red-soft);
}

.asso-category > summary span {
  color: var(--nsg-dark);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.asso-category > summary small {
  display: block;
  margin-bottom: 3px;
  color: var(--nsg-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asso-category > summary strong {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--nsg-red-soft);
  color: var(--nsg-red-dark);
  font-size: 0.9rem;
  font-weight: 950;
}

.asso-category > summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--nsg-red);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.asso-category[open] > summary::after {
  content: "−";
}

/* ============================= */
/* GRILLE */
/* ============================= */

.asso-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

/* ============================= */
/* CARTE ASSOCIATION */
/* ============================= */

.asso-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px;
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff, #fffafc);
  border: 1px solid var(--nsg-border);
  box-shadow: 0 8px 20px rgba(40, 40, 40, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.asso-card:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 15, 47, 0.35);
  box-shadow: 0 14px 28px rgba(40, 40, 40, 0.09);
}

.asso-card__head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
}

.asso-logo {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(169, 15, 47, 0.95), rgba(46, 46, 46, 0.96));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

/* Logo/photo optionnel */
.asso-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asso-tag {
  display: inline-flex;
  margin: 0 0 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--nsg-red-soft);
  color: var(--nsg-red-dark);
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.asso-card h3 {
  margin: 0;
  color: var(--nsg-dark);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.asso-activity {
  display: -webkit-box;
  margin: 8px 0 0;
  color: var(--nsg-muted);
  font-size: 0.88rem;
  line-height: 1.42;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================= */
/* DÉTAILS CONTACT */
/* ============================= */

.asso-details {
  margin-top: auto;
  padding-top: 14px;
}

.asso-details > summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--nsg-dark);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  list-style: none;
  transition: all 0.18s ease;
}

.asso-details > summary::-webkit-details-marker {
  display: none;
}

.asso-details > summary:hover {
  background: var(--nsg-red);
  transform: translateY(-1px);
}

.asso-details[open] > summary {
  background: var(--nsg-red);
}

.asso-details dl {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--nsg-border);
}

.asso-details dl div {
  display: grid;
  gap: 2px;
}

.asso-details dt {
  margin: 0;
  color: var(--nsg-red);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.asso-details dd {
  margin: 0;
  color: var(--nsg-text);
  font-size: 0.86rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.asso-details a {
  color: var(--nsg-red-dark);
  font-weight: 850;
  text-decoration: none;
}

.asso-details a:hover {
  text-decoration: underline;
}

/* ============================= */
/* RESPONSIVE TABLETTE */
/* ============================= */

@media (max-width: 1080px) {
  .asso-hero {
    grid-template-columns: 1fr;
  }

  .asso-hero__box {
    min-height: auto;
    display: inline-grid;
    justify-self: start;
    width: auto;
    min-width: 210px;
  }

  .asso-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================= */
/* RESPONSIVE MOBILE */
/* ============================= */

@media (max-width: 720px) {
  .asso-container {
    width: min(100% - 28px, 1180px);
  }

  .asso-hero {
    margin-top: 22px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .asso-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .asso-hero p {
    font-size: 0.96rem;
  }

  .asso-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .asso-toolbar {
    top: 0;
    margin-top: 10px;
    padding-top: 12px;
  }

  .asso-grid {
    grid-template-columns: 1fr;
    padding: 0 12px 12px;
  }

  .asso-category > summary {
    padding: 17px 16px;
  }

  .asso-category > summary strong {
    min-width: 38px;
  }

  .asso-card {
    padding: 14px;
  }

  .asso-card__head {
    grid-template-columns: 44px 1fr;
  }

  .asso-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* ============================= */
/* TRÈS PETITS ÉCRANS */
/* ============================= */

@media (max-width: 430px) {
  .asso-hero__box strong {
    font-size: 3rem;
  }

  .asso-hero__box {
    width: 100%;
  }

  .asso-category > summary {
    gap: 10px;
  }

  .asso-category > summary::after {
    width: 30px;
    height: 30px;
  }
}

/* Curseur main sur le bouton "Voir les coordonnées" */
.asso-details > summary,
.asso-details summary,
.asso-category > summary,
.asso-category summary {
  cursor: pointer !important;
}

/* Sécurité : tout élément cliquable dans les cartes */
.asso-card a,
.asso-card button,
.asso-card summary {
  cursor: pointer !important;
}/* End custom CSS */