/*
Theme Name: Astra AIBM
Theme URI: https://example.com/
Description: Thème enfant Astra avec templates sur mesure
Author: Lo R
Template: astra
Version: 1.4.1
Text Domain: astra-aibm
*/

:root {
  --evt-surface: #ffffff;
  --evt-surface-soft: #f7f8fb;
  --evt-border: rgba(17, 24, 39, 0.08);
  --evt-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  --evt-radius: 18px;
  --evt-text: #1f2937;
  --evt-muted: #6b7280;
  --evt-accent: var(--ast-global-color-0, #2563eb);
  --evt-accent-soft: color-mix(in srgb, var(--evt-accent) 10%, white);
}

.single-evenement .site-content,
.single-evenement .ast-container {
  background: transparent;
}

.single-evenement .entry-header,
.single-evenement .post-thumb,
.single-evenement .entry-meta {
  display: none;
}

.single-evenement .entry-content.clear,
.single-evenement .entry-content {
  margin-top: 0;
}

.evt-single {
  color: var(--evt-text);
}

.evt-single__hero {
  background: linear-gradient(135deg, var(--evt-accent-soft), #ffffff 65%);
  border: 1px solid var(--evt-border);
  border-radius: calc(var(--evt-radius) + 8px);
  box-shadow: var(--evt-shadow);
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 2rem;
}

.evt-single__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--evt-border);
  color: var(--evt-accent);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.evt-single__title {
  margin: 1rem 0 .75rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.evt-single__excerpt,
.evt-single__intro {
  max-width: 62ch;
  color: var(--evt-muted);
  font-size: 1.05rem;
}

.evt-single__meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.evt-card {
  background: var(--evt-surface);
  border: 1px solid var(--evt-border);
  border-radius: var(--evt-radius);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.04);
}

.evt-card__label {
  display: block;
  margin-bottom: .35rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--evt-muted);
}

.evt-card__value {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.evt-single__content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.evt-single__content,
.evt-single__sidebar {
  min-width: 0;
}

.evt-single__content .entry-content,
.evt-single__richtext {
  background: var(--evt-surface);
  border: 1px solid var(--evt-border);
  border-radius: var(--evt-radius);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.04);
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.evt-single__richtext > *:first-child {
  margin-top: 0;
}

.evt-single__richtext > *:last-child {
  margin-bottom: 0;
}

.evt-terms {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.evt-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .48rem .82rem;
  background: var(--evt-surface-soft);
  border: 1px solid var(--evt-border);
  color: var(--evt-text);
  font-size: .95rem;
  line-height: 1;
}

.evt-placeholder {
  color: var(--evt-muted);
  font-style: italic;
}

.evt-single__back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--evt-accent);
  font-weight: 700;
  text-decoration: none;
}

.evt-single__back:hover {
  text-decoration: underline;
}

@media (max-width: 921px) {
  .evt-single__meta-grid,
  .evt-single__content-wrap {
    grid-template-columns: 1fr;
  }
}

.evt-page__hero {
  background: linear-gradient(135deg, var(--evt-accent-soft), #ffffff 70%);
  border: 1px solid var(--evt-border);
  border-radius: calc(var(--evt-radius) + 8px);
  box-shadow: var(--evt-shadow);
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
}

.evt-page__title {
  margin: .75rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.evt-page__intro {
  max-width: 62ch;
  margin-top: .8rem;
  color: var(--evt-muted);
  font-size: 1.05rem;
}

.evt-section-title {
  margin: 0;
  font-size: 1.15rem;
}

.evt-filters {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  background: var(--evt-surface);
  border: 1px solid var(--evt-border);
  border-radius: var(--evt-radius);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.04);
}

.evt-filters__head {
  margin-bottom: 1rem;
}

.evt-filters__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.evt-filter-field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-weight: 600;
}

.evt-filter-field span {
  font-size: .92rem;
  color: var(--evt-muted);
}

.evt-filter-field select {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--evt-border);
  background: #fff;
  padding: .7rem .9rem;
}

.evt-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.evt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.evt-button--primary {
  background: var(--evt-accent);
  color: #fff;
}

.evt-button--ghost {
  background: var(--evt-surface-soft);
  border-color: var(--evt-border);
  color: var(--evt-text);
}

.evt-list {
  display: grid;
  gap: 1rem;
}

.evt-list-card {
  background: var(--evt-surface);
  border: 1px solid var(--evt-border);
  border-radius: var(--evt-radius);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.04);
  overflow: hidden;
}

.evt-list-card__content {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.evt-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evt-list-card__body {
  padding: 1.25rem;
}

.evt-list-card__eyebrow {
  margin-bottom: .4rem;
  color: var(--evt-accent);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.evt-list-card__title {
  margin: 0 0 .5rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.evt-list-card__title a {
  color: inherit;
  text-decoration: none;
}

.evt-list-card__title a:hover {
  color: var(--evt-accent);
}

.evt-list-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: .75rem;
  color: var(--evt-muted);
  font-size: .95rem;
}

.evt-list-card__excerpt {
  color: var(--evt-text);
}

.evt-list-card__link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.evt-pagination {
  margin-top: 1.5rem;
}

.evt-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 0;
}

.evt-pagination .page-numbers li {
  margin: 0;
}

.evt-pagination .page-numbers a,
.evt-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: .5rem .8rem;
  border-radius: 12px;
  border: 1px solid var(--evt-border);
  background: var(--evt-surface);
  text-decoration: none;
}

.evt-pagination .page-numbers .current {
  background: var(--evt-accent);
  color: #fff;
  border-color: transparent;
}

.evt-empty {
  padding: 1.2rem;
  background: var(--evt-surface);
  border: 1px solid var(--evt-border);
  border-radius: var(--evt-radius);
}

@media (max-width: 921px) {
  .evt-filters__grid,
  .evt-list-card__content {
    grid-template-columns: 1fr;
  }
}


/* Neutralise les capitales forcées du thème en front */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .entry-title,
body .entry-content h1,
body .entry-content h2,
body .entry-content h3,
body .entry-content h4,
body .entry-content h5,
body .entry-content h6,
body .wp-block-heading,
body .spectra-heading,
body [class*="heading"] {
  text-transform: none !important;
}

/* AIBM events pages – refined agenda / archives */
:root {
  --evt-accent: #8a197d;
  --evt-accent-dark: #68115e;
  --evt-cream: #f4f1d8;
  --evt-khaki: #aaa087;
  --evt-text: #2f2933;
  --evt-muted: #6d6672;
  --evt-border: rgba(138, 25, 125, 0.12);
  --evt-shadow: 0 22px 55px rgba(50, 36, 58, 0.09);
  --evt-radius: 0;
}

.evt-page {
  color: var(--evt-text);
  padding-bottom: 3rem;
}

.evt-page__hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: clamp(260px, 34vw, 430px);
  margin: 0 0 3rem;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  border: 0;
  border-radius: 0 0 110px 0;
  background:
    linear-gradient(90deg, rgba(28, 18, 31, .70), rgba(138, 25, 125, .40)),
    radial-gradient(circle at 75% 10%, rgba(244, 241, 216, .9), transparent 32%),
    linear-gradient(135deg, #2a202e 0%, #8a197d 48%, #f4f1d8 100%);
  box-shadow: none;
}

.evt-page__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(255,255,255,.55) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255,255,255,.18) 53px 54px);
  mix-blend-mode: screen;
}

.evt-page__hero > * {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.evt-page__hero .evt-single__eyebrow {
  color: #fff;
  background: rgba(138, 25, 125, .78);
  border-color: rgba(255,255,255,.25);
  letter-spacing: .09em;
}

.evt-page__title {
  color: #fff;
  margin: 1rem 0 0;
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.1rem);
  line-height: .96;
  letter-spacing: -.04em;
}

.evt-page__intro {
  margin-top: 1.2rem;
  max-width: 720px;
  color: rgba(255,255,255,.90);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.evt-page__intro p:last-child {
  margin-bottom: 0;
}

.evt-filters {
  position: relative;
  margin: -1.3rem auto 2.4rem;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  background: #fff;
  border: 1px solid rgba(138, 25, 125, .10);
  border-radius: 0 46px 0 46px;
  box-shadow: var(--evt-shadow);
}

.evt-filters::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 6px;
  background: var(--evt-accent);
}

.evt-filters__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.evt-filters__head p {
  max-width: 380px;
  margin: 0;
  color: var(--evt-muted);
  font-size: .95rem;
}

.evt-filters__kicker {
  margin-bottom: .25rem;
  color: var(--evt-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.evt-section-title {
  color: var(--evt-accent);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.evt-filters__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: .9rem;
}

.evt-filter-field span {
  color: var(--evt-text);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.evt-filter-field select {
  min-height: 54px;
  border: 1px solid rgba(138, 25, 125, .16);
  border-radius: 0;
  background-color: #fbfaf2;
  color: var(--evt-text);
  font-weight: 600;
  box-shadow: none;
}

.evt-button {
  min-height: 54px;
  border-radius: 0;
  padding: .85rem 1.25rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.evt-button:hover {
  transform: translateY(-1px);
}

.evt-button--primary {
  background: var(--evt-accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(138, 25, 125, .22);
}

.evt-button--primary:hover {
  background: var(--evt-accent-dark);
  color: #fff;
}

.evt-button--ghost {
  background: #fff;
  color: var(--evt-accent);
  border-color: rgba(138, 25, 125, .22);
}

.evt-list {
  gap: 1.35rem;
}

.evt-list-card {
  border: 0;
  border-radius: 0 42px 0 42px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(50, 36, 58, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.evt-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(50, 36, 58, .13);
}

.evt-list-card__content {
  grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
  min-height: 235px;
}

.evt-list-card__media {
  position: relative;
  display: block;
  min-height: 235px;
  overflow: hidden;
  background: var(--evt-cream);
}

.evt-list-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(138,25,125,.12), transparent 55%);
  pointer-events: none;
}

.evt-list-card__media img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
  filter: saturate(.92) contrast(.98);
  transition: transform .28s ease;
}

.evt-list-card:hover .evt-list-card__media img {
  transform: scale(1.04);
}

.evt-list-card__media--placeholder {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--evt-accent);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  background:
    radial-gradient(circle at 35% 25%, rgba(138, 25, 125, .16), transparent 34%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(138, 25, 125, .18) 19px 20px),
    var(--evt-cream);
}

.evt-list-card__media--placeholder span {
  position: relative;
  z-index: 1;
  max-width: 15ch;
}

.evt-list-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.evt-list-card__eyebrow {
  color: var(--evt-accent);
  font-size: .78rem;
  letter-spacing: .10em;
}

.evt-list-card__title {
  margin-bottom: .75rem;
  color: var(--evt-accent);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.evt-list-card__meta {
  gap: .55rem 1.2rem;
  color: var(--evt-muted);
  font-size: 1rem;
}

.evt-list-card__excerpt {
  max-width: 68ch;
  color: var(--evt-text);
  line-height: 1.65;
}

.evt-list-card__link {
  align-self: flex-start;
  margin-top: 1.1rem;
  padding-bottom: .15rem;
  color: var(--evt-accent);
  border-bottom: 2px solid currentColor;
}

.evt-pagination .page-numbers a,
.evt-pagination .page-numbers span {
  border-radius: 0;
  border-color: rgba(138, 25, 125, .18);
}

.evt-pagination .page-numbers .current {
  background: var(--evt-accent);
}

.evt-empty {
  border: 0;
  border-radius: 0 36px 0 36px;
  background: var(--evt-cream);
  color: var(--evt-text);
}

@media (max-width: 921px) {
  .evt-page__hero {
    border-radius: 0 0 60px 0;
  }

  .evt-filters__head {
    display: block;
  }

  .evt-filters__head p {
    margin-top: .6rem;
  }

  .evt-filters__grid,
  .evt-list-card__content {
    grid-template-columns: 1fr;
  }

  .evt-list-card__media,
  .evt-list-card__media img {
    min-height: 220px;
  }
}

/* Event Organiser calendar, harmonised with AIBM style */
.single-event .entry-header,
.single-event .post-thumb,
.single-event .entry-meta {
  display: none;
}

.evt-calendar-panel {
  margin: 0 0 2.4rem;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  background: var(--evt-cream);
  border-radius: 46px 0 46px 0;
  box-shadow: 0 14px 36px rgba(50, 36, 58, .06);
}

.evt-calendar-panel .widget_calendar,
.evt-calendar-panel table {
  width: 100%;
}

.evt-calendar-panel table {
  background: #fff;
  border: 0;
  margin-top: 1.25rem;
}

.evt-calendar-panel th,
.evt-calendar-panel td {
  border-color: rgba(138, 25, 125, .12);
  text-align: center;
  padding: .65rem;
}

.evt-calendar-panel caption,
.evt-calendar-panel .eo-widget-cal-wrap caption {
  color: var(--evt-accent);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: .7rem;
}

.evt-calendar-panel a {
  color: var(--evt-accent);
  font-weight: 800;
}

.evt-calendar-panel .event,
.evt-calendar-panel .eo-event {
  background: rgba(138, 25, 125, .08);
}

/* AIBM Event Organiser v1.3 — aplats, hero image, filtres/cards */
:root {
  --evt-accent: #8a197d;
  --evt-cream: #f3f0d8;
  --evt-khaki: #aaa18a;
  --evt-ink: #2f2330;
  --evt-muted: #6f6672;
  --evt-border: rgba(138,25,125,.16);
}

.evt-page {
  padding-top: clamp(1rem, 2vw, 2rem);
}

.evt-page__hero {
  display: none;
}

.evt-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 clamp(2rem, 4vw, 3.6rem);
  background: var(--evt-cream);
  border-radius: 0 0 88px 0;
  overflow: hidden;
  box-shadow: none;
}

.evt-page-hero--with-image {
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  min-height: clamp(340px, 42vw, 520px);
}

.evt-page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--evt-cream);
}

.evt-page-hero__media {
  min-height: 320px;
  background: var(--evt-khaki);
}

.evt-page-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.evt-page-hero .evt-single__eyebrow {
  align-self: flex-start;
  border: 0;
  background: #fff;
  color: var(--evt-accent);
  border-radius: 0;
  padding: .55rem .85rem;
  font-size: .76rem;
  letter-spacing: .12em;
}

.evt-page__title {
  color: var(--evt-accent);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.055em;
  max-width: 9ch;
}

.evt-page__intro {
  max-width: 54ch;
  color: var(--evt-ink);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.evt-filters {
  margin: 0 0 clamp(2rem, 4vw, 3.2rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.evt-filters__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--evt-accent);
  color: #fff;
}

.evt-filters__head p,
.evt-filters__head .evt-section-title,
.evt-filters__head .evt-filters__kicker {
  color: #fff;
}

.evt-filters__head p {
  margin: 0;
  max-width: 48ch;
  opacity: .9;
}

.evt-section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.evt-filters__kicker {
  margin-bottom: .45rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.evt-filters__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 1rem;
  align-items: end;
  padding: clamp(1.1rem, 2.5vw, 1.7rem);
  background: var(--evt-cream);
}

.evt-filter-field span {
  margin-bottom: .45rem;
  color: var(--evt-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.evt-filter-field select {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  color: var(--evt-ink);
  box-shadow: inset 0 0 0 1px rgba(138,25,125,.16);
}

.evt-filter-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}

.evt-button,
.evt-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.15rem;
  border: 0;
  border-radius: 0;
  font-weight: 800;
  text-decoration: none;
}

.evt-button--primary {
  background: var(--evt-accent);
  color: #fff;
}

.evt-button--ghost {
  background: #fff;
  color: var(--evt-accent);
  box-shadow: inset 0 0 0 1px rgba(138,25,125,.18);
}

.evt-list {
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.evt-list-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid rgba(138,25,125,.16);
}

.evt-list-card:hover {
  transform: none;
  box-shadow: none;
}

.evt-list-card__content {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  min-height: 280px;
  background: #fff;
}

.evt-list-card:nth-child(even) .evt-list-card__content {
  background: var(--evt-cream);
}

.evt-list-card__media {
  min-height: 280px;
  background: var(--evt-khaki);
}

.evt-list-card__media::after {
  display: none;
}

.evt-list-card__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: none;
}

.evt-list-card:hover .evt-list-card__media img {
  transform: none;
}

.evt-list-card__media--placeholder {
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--evt-khaki);
  color: #fff;
  letter-spacing: .12em;
}

.evt-list-card__body {
  padding: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
}

.evt-list-card__eyebrow {
  color: var(--evt-accent);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.evt-list-card__title {
  max-width: 16ch;
  color: var(--evt-accent);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.evt-list-card__title a {
  color: inherit;
  text-decoration: none;
}

.evt-list-card__meta {
  color: var(--evt-muted);
  font-size: 1rem;
  font-weight: 600;
}

.evt-list-card__excerpt {
  max-width: 58ch;
  color: var(--evt-ink);
  line-height: 1.65;
}

.evt-list-card__link {
  align-self: flex-start;
  display: inline-flex;
  margin-top: 1.2rem;
  padding: .7rem 1rem;
  background: var(--evt-accent);
  color: #fff;
  border: 0;
  text-decoration: none;
  font-weight: 800;
}

.evt-calendar-panel {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--evt-cream);
  border-radius: 0;
  box-shadow: none;
}

.evt-empty {
  border: 0;
  border-radius: 0;
  background: var(--evt-cream);
  color: var(--evt-ink);
  padding: 2rem;
}

@media (max-width: 921px) {
  .evt-page-hero--with-image,
  .evt-filters__head,
  .evt-filters__grid,
  .evt-list-card__content {
    grid-template-columns: 1fr;
  }

  .evt-page-hero {
    border-radius: 0 0 58px 0;
  }

  .evt-page__title,
  .evt-list-card__title {
    max-width: none;
  }
}

/* AIBM Event Organiser v1.3.1 — corrections agenda, single event, lieux */
.evt-page-hero,
.evt-single-hero,
.evt-tax-hero {
  background: var(--evt-cream);
  border-radius: 0 0 88px 0;
  overflow: hidden;
  box-shadow: none;
}

.evt-page-hero--with-image,
.evt-single-hero--with-image {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  min-height: clamp(340px, 42vw, 520px);
}

.evt-single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
}

.evt-single-hero__content,
.evt-tax-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.evt-single-hero__media {
  min-height: 320px;
  background: var(--evt-khaki);
}

.evt-single-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.evt-single-hero .evt-single__eyebrow,
.evt-tax-hero .evt-single__eyebrow {
  align-self: flex-start;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--evt-accent);
  padding: .55rem .85rem;
  font-size: .76rem;
  letter-spacing: .12em;
}

.evt-single .evt-single__title,
.evt-tax-hero .evt-page__title {
  color: var(--evt-accent);
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.055em;
  max-width: 12ch;
}

.evt-single__excerpt,
.evt-tax-hero .evt-page__intro,
.evt-tax-hero__address {
  max-width: 58ch;
  color: var(--evt-ink);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.evt-single__meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(138,25,125,.16);
}

.evt-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--evt-cream);
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.evt-card__label {
  color: var(--evt-accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.evt-card__value {
  color: var(--evt-ink);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 800;
}

.evt-chip,
.evt-chip:visited {
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--evt-accent);
  text-decoration: none;
  font-weight: 800;
}

.evt-single__content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}

.evt-single__richtext,
.evt-side-panel,
.evt-map-panel,
.evt-venues-panel,
.evt-tax-section {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.evt-single__richtext {
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
  border-top: 1px solid rgba(138,25,125,.16);
  border-bottom: 1px solid rgba(138,25,125,.16);
}

.evt-side-panel {
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  background: var(--evt-cream);
  margin-bottom: 1rem;
}

.evt-side-panel--map {
  padding: 0;
  background: transparent;
}

.evt-map-wrap iframe,
.evt-map-wrap .eo-venue-map,
.evt-map-wrap > div {
  max-width: 100%;
}

.evt-map-wrap {
  overflow: hidden;
  background: var(--evt-cream);
}

.evt-single__back {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--evt-accent);
  font-weight: 900;
}

.evt-list-card__meta span:first-child::before {
  content: "Date : ";
  font-weight: 900;
  color: var(--evt-accent);
}

.evt-map-panel,
.evt-venues-panel,
.evt-tax-section {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  background: var(--evt-cream);
}

.evt-map-panel .evt-map-wrap {
  margin-top: 1.25rem;
  background: #fff;
}

.evt-venues-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.25rem;
  background: rgba(138,25,125,.16);
}

.evt-venue-card {
  padding: clamp(1.2rem, 2.4vw, 2rem);
  background: #fff;
}

.evt-venue-card__kicker {
  color: var(--evt-accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.evt-venue-card__title {
  margin: .6rem 0 .8rem;
  color: var(--evt-accent);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.evt-venue-card__title a {
  color: inherit;
  text-decoration: none;
}

.evt-venue-card__address {
  color: var(--evt-muted);
  font-weight: 700;
}

.evt-list-card__media--placeholder {
  background: var(--evt-khaki);
}

.evt-list-card__media--placeholder::before,
.evt-list-card__media--placeholder::after {
  display: none !important;
}

@media (max-width: 921px) {
  .evt-page-hero--with-image,
  .evt-single-hero--with-image,
  .evt-single__meta-grid,
  .evt-single__content-wrap,
  .evt-venues-grid {
    grid-template-columns: 1fr;
  }

  .evt-page-hero,
  .evt-single-hero,
  .evt-tax-hero {
    border-radius: 0 0 58px 0;
  }

  .evt-single .evt-single__title,
  .evt-tax-hero .evt-page__title {
    max-width: none;
  }
}

/* AIBM Event Organiser v1.3.2 — ajustements single, filtres et archives */
.evt-results {
  scroll-margin-top: 140px;
}

.evt-results__head {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 1rem;
  max-width: 760px;
}

.evt-results__head p {
  margin: .45rem 0 0;
  color: var(--evt-muted);
  line-height: 1.65;
}

.evt-single .evt-single__title,
.evt-tax-hero .evt-page__title {
  max-width: none;
}

.single-evenement .evt-single-hero,
.single-event .evt-single-hero {
  display: block;
  min-height: 0;
  border-radius: 0 88px 0 0;
  background: var(--evt-cream);
  overflow: hidden;
}

.single-evenement .evt-single-hero--with-image,
.single-event .evt-single-hero--with-image {
  display: block;
  min-height: 0;
}

.single-evenement .evt-single-hero__media,
.single-event .evt-single-hero__media {
  height: clamp(220px, 28vw, 360px);
  min-height: 0;
  border-radius: 0 88px 0 0;
  overflow: hidden;
  background: var(--evt-khaki);
}

.single-evenement .evt-single-hero__media img,
.single-event .evt-single-hero__media img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.single-evenement .evt-single-hero__content,
.single-event .evt-single-hero__content {
  padding: clamp(1.8rem, 4vw, 4rem);
}

.single-evenement .evt-single__title,
.single-event .evt-single__title {
  margin-bottom: .4rem;
}

.single-evenement .evt-single__meta-grid,
.single-event .evt-single__meta-grid {
  gap: 0;
  padding: 0;
  background: #e87522;
  color: #fff;
}

.single-evenement .evt-single__meta-grid .evt-card,
.single-event .evt-single__meta-grid .evt-card {
  background: transparent;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.28);
}

.single-evenement .evt-single__meta-grid .evt-card:last-child,
.single-event .evt-single__meta-grid .evt-card:last-child {
  border-right: 0;
}

.single-evenement .evt-single__meta-grid .evt-card__label,
.single-event .evt-single__meta-grid .evt-card__label,
.single-evenement .evt-single__meta-grid .evt-card__value,
.single-event .evt-single__meta-grid .evt-card__value {
  color: #fff;
}

.single-evenement .evt-single__meta-grid .evt-card__label,
.single-event .evt-single__meta-grid .evt-card__label {
  opacity: .82;
}

.single-evenement .evt-single__meta-grid .evt-chip,
.single-event .evt-single__meta-grid .evt-chip,
.single-evenement .evt-single__meta-grid .evt-meta-link,
.single-event .evt-single__meta-grid .evt-meta-link {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.single-evenement .evt-terms--plain,
.single-event .evt-terms--plain {
  display: inline;
}

.evt-meta-separator {
  opacity: .75;
}

@media (max-width: 780px) {
  .single-evenement .evt-single-hero,
  .single-event .evt-single-hero,
  .single-evenement .evt-single-hero__media,
  .single-event .evt-single-hero__media {
    border-radius: 0 56px 0 0;
  }

  .single-evenement .evt-single__meta-grid .evt-card,
  .single-event .evt-single__meta-grid .evt-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
  }

  .single-evenement .evt-single__meta-grid .evt-card:last-child,
  .single-event .evt-single__meta-grid .evt-card:last-child {
    border-bottom: 0;
  }
}


/* AIBM Event Organiser v1.3.3 — correctifs dates, lieu, carte et liens méta */
.single-evenement .evt-single__meta-grid,
.single-event .evt-single__meta-grid {
  background: var(--evt-accent);
}

.single-evenement .evt-single__meta-grid .evt-card,
.single-event .evt-single__meta-grid .evt-card {
  border-right: 1px solid rgba(255,255,255,.22);
}

.single-evenement .evt-single__meta-grid .evt-card__label,
.single-event .evt-single__meta-grid .evt-card__label {
  color: rgba(255,255,255,.82);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.single-evenement .evt-single__meta-grid .evt-card__value,
.single-event .evt-single__meta-grid .evt-card__value,
.single-evenement .evt-single__meta-grid .evt-terms,
.single-event .evt-single__meta-grid .evt-terms {
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 800;
  line-height: 1.35;
}

.single-evenement .evt-single__meta-grid .evt-chip,
.single-event .evt-single__meta-grid .evt-chip,
.single-evenement .evt-single__meta-grid .evt-meta-link,
.single-event .evt-single__meta-grid .evt-meta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .08rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.single-evenement .evt-single__meta-grid .evt-chip::after,
.single-event .evt-single__meta-grid .evt-chip::after,
.single-evenement .evt-single__meta-grid .evt-meta-link::after,
.single-event .evt-single__meta-grid .evt-meta-link::after {
  content: "↗";
  display: inline-block;
  font-size: .78em;
  line-height: 1;
  opacity: .72;
  transform: translateY(-.08em);
}

.single-evenement .evt-single__meta-grid .evt-chip:hover,
.single-event .evt-single__meta-grid .evt-chip:hover,
.single-evenement .evt-single__meta-grid .evt-meta-link:hover,
.single-event .evt-single__meta-grid .evt-meta-link:hover {
  color: var(--evt-cream);
  opacity: .94;
  transform: translateX(2px);
}

.single-evenement .evt-terms--plain,
.single-event .evt-terms--plain {
  display: inline;
}

.single-evenement .evt-meta-separator,
.single-event .evt-meta-separator {
  color: rgba(255,255,255,.64);
}

.evt-map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  background: var(--evt-cream);
}

.evt-map-link,
.evt-map-link:visited {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .7rem;
  color: var(--evt-accent);
  font-weight: 900;
  text-decoration: none;
}

.evt-map-link::after {
  content: "↗";
  font-size: .82em;
  opacity: .65;
}

.evt-map-link:hover {
  color: var(--evt-accent-dark, #68115e);
}


/* AIBM Event Organiser v1.3.5 — CTA agenda et archives simplifiées */
.evt-agenda-footer {
  margin-top: clamp(2rem, 4vw, 3.2rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--evt-cream);
  border-radius: 0 0 0 64px;
  display: flex;
  justify-content: flex-end;
}

.evt-archive-link::after {
  content: "→";
  margin-left: .55rem;
  transition: transform .18s ease;
}

.evt-archive-link:hover::after {
  transform: translateX(4px);
}

.evt-results__head--archive {
  max-width: none;
  display: block;
  margin: clamp(1.8rem, 3vw, 2.6rem) 0 clamp(1.2rem, 2vw, 1.8rem);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  background: var(--evt-cream);
  border-radius: 0 64px 0 0;
}

.evt-results__head--archive .evt-results__head-content {
  max-width: none;
}

.evt-results__head--archive .evt-section-title {
  margin-bottom: .35rem;
}


@media (max-width: 780px) {
  .evt-agenda-footer {
    justify-content: flex-start;
    border-radius: 0 0 0 48px;
  }

  .evt-results__head--archive {
    border-radius: 0 48px 0 0;
  }
}

/* Sécurité : ancien élément graphique archives retiré du template. */
.evt-results__head-graphic { display: none !important; }

/* OSM — lieu sans coordonnées */
.evt-map-wrap--missing-coords {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #f7f4fb;
  border: 1px solid rgba(75, 45, 126, .14);
  border-radius: 0 28px 0 0;
}

.evt-map-empty {
  max-width: 720px;
}

.evt-map-empty strong {
  display: block;
  color: var(--evt-purple, #4b2d7e);
  font-size: 1.1rem;
  margin-bottom: .35rem;
}

.evt-map-empty p {
  margin: 0 0 .9rem;
}


/* AIBM Event Organiser v1.3.6 — page lieu : respiration des sections */
.evt-page--venue-tax .evt-tax-section {
  margin-top: clamp(2.4rem, 4.5vw, 4rem);
  padding: clamp(1.8rem, 3.8vw, 3rem);
}

.evt-page--venue-tax .evt-tax-section .evt-filters__kicker {
  margin-bottom: .55rem;
}

.evt-page--venue-tax .evt-tax-section .evt-section-title {
  margin: 0 0 clamp(1.3rem, 2.6vw, 2.2rem);
}

.evt-page--venue-tax .evt-tax-section .evt-list {
  margin-top: 0;
}

.evt-page--venue-tax .evt-tax-section .evt-empty {
  margin-top: .75rem;
  background: rgba(255,255,255,.62);
}

@media (max-width: 780px) {
  .evt-page--venue-tax .evt-tax-section {
    padding: clamp(1.4rem, 5vw, 2rem);
  }
}

/* --------------------------------------------------------------
Contact - SureForms
-------------------------------------------------------------- */
.contact .wp-block-sureforms-form,
.contact .sureforms,
.contact .sureforms-form,
.contact .srfm,
.contact .srfm-form,
.contact .srfm-form-wrapper,
.contact .srfm-form-container,
.contact .srfm-block,
body[class*="contact"] .wp-block-sureforms-form,
body[class*="contact"] .sureforms,
body[class*="contact"] .sureforms-form,
body[class*="contact"] .srfm,
body[class*="contact"] .srfm-form,
body[class*="contact"] .srfm-form-wrapper,
body[class*="contact"] .srfm-form-container,
body[class*="contact"] .srfm-block {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.contact .wp-block-sureforms-form form,
.contact .sureforms form,
.contact .srfm form,
.contact .srfm-form form,
body[class*="contact"] .wp-block-sureforms-form form,
body[class*="contact"] .sureforms form,
body[class*="contact"] .srfm form,
body[class*="contact"] .srfm-form form {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.contact .srfm-field-label,
.contact .srfm-label,
.contact .sureforms label,
body[class*="contact"] .srfm-field-label,
body[class*="contact"] .srfm-label,
body[class*="contact"] .sureforms label {
  color: #8a157d !important;
  font-weight: 700;
}

.contact .srfm input:not([type="submit"]),
.contact .srfm textarea,
.contact .srfm select,
.contact .sureforms input:not([type="submit"]),
.contact .sureforms textarea,
.contact .sureforms select,
body[class*="contact"] .srfm input:not([type="submit"]),
body[class*="contact"] .srfm textarea,
body[class*="contact"] .srfm select,
body[class*="contact"] .sureforms input:not([type="submit"]),
body[class*="contact"] .sureforms textarea,
body[class*="contact"] .sureforms select {
  background: rgba(255,255,255,.72) !important;
  border: 1px solid rgba(138,21,125,.22) !important;
  border-radius: 8px !important;
}

.contact .srfm input:not([type="submit"]):focus,
.contact .srfm textarea:focus,
.contact .srfm select:focus,
.contact .sureforms input:not([type="submit"]):focus,
.contact .sureforms textarea:focus,
.contact .sureforms select:focus,
body[class*="contact"] .srfm input:not([type="submit"]):focus,
body[class*="contact"] .srfm textarea:focus,
body[class*="contact"] .srfm select:focus,
body[class*="contact"] .sureforms input:not([type="submit"]):focus,
body[class*="contact"] .sureforms textarea:focus,
body[class*="contact"] .sureforms select:focus {
  background: #fff !important;
  border-color: #8a157d !important;
  box-shadow: 0 0 0 3px rgba(138,21,125,.10) !important;
  outline: none !important;
}

/* Correctif SureForms : neutralise le fond imposé par .srfm-bg-color */
.contact .srfm-form-container.srfm-bg-color,
body[class*="contact"] .srfm-form-container.srfm-bg-color,
.page-contact .srfm-form-container.srfm-bg-color,
body.page .srfm-form-container.srfm-bg-color {
  --srfm-bg-color: transparent !important;
  background: transparent !important;
  background-color: transparent !important;
}

.contact .srfm-form-container.srfm-bg-color > *,
body[class*="contact"] .srfm-form-container.srfm-bg-color > * {
  background-color: transparent !important;
}

/* --------------------------------------------------------------
AIBM Event Organiser — clean rebuild 1.4.0
-------------------------------------------------------------- */
.evt-page-hero,
.evt-tax-hero,
.evt-single-hero,
.evt-filters,
.evt-results__head--archive,
.evt-calendar-panel,
.evt-tax-section,
.evt-side-panel,
.evt-venues-panel,
.evt-list-card,
.evt-card {
  background-image: none !important;
}

.evt-page-hero,
.evt-tax-hero,
.evt-single-hero {
  background: var(--evt-cream, #f3f0d8) !important;
}

.evt-results__head--full {
  max-width: none !important;
  width: 100%;
}

.evt-page--agenda .evt-results__head,
.evt-page--archive .evt-results__head {
  margin: clamp(1.8rem, 3vw, 2.6rem) 0 clamp(1.2rem, 2vw, 1.8rem);
}

.evt-calendar-panel--months {
  margin: clamp(1.5rem, 3vw, 2.4rem) 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--evt-cream, #f3f0d8);
  border-radius: 0 54px 0 0;
}

.evt-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}

.evt-months__link,
.evt-months__link:visited {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(75,45,126,.12);
  border-radius: 14px;
  color: var(--evt-purple, #4b2d7e);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.evt-months__link small {
  color: var(--evt-muted, #6b7280);
  font-weight: 700;
}

.evt-months__link:hover,
.evt-months__link.is-active {
  background: #fff;
  border-color: rgba(138,21,125,.35);
  transform: translateY(-2px);
}

.evt-agenda-footer {
  border-radius: 0 0 0 64px !important;
}

.single-evenement .evt-single-hero__media,
.single-event .evt-single-hero__media {
  max-height: clamp(220px, 34vw, 390px) !important;
}

.single-evenement .evt-single-hero__media img,
.single-event .evt-single-hero__media img {
  width: 100%;
  height: 100%;
  max-height: clamp(220px, 34vw, 390px) !important;
  object-fit: cover;
}

.single-evenement .evt-single__title,
.single-event .evt-single__title,
.evt-tax-hero .evt-page__title {
  max-width: none !important;
}

.single-evenement .evt-single__meta-grid .evt-card,
.single-event .evt-single__meta-grid .evt-card {
  background: var(--evt-purple, #4b2d7e) !important;
}

.evt-meta-link,
.evt-meta-link:visited {
  color: inherit;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,.32);
  transition: border-color .18s ease, opacity .18s ease;
}

.evt-meta-link::after {
  content: "↗";
  margin-left: .35rem;
  font-size: .78em;
  opacity: .72;
}

.evt-meta-link:hover {
  opacity: .82;
  border-bottom-color: currentColor;
}

.evt-filter-field select[name="tag"] {
  min-width: 100%;
}

@media (max-width: 780px) {
  .evt-calendar-panel--months {
    border-radius: 0 42px 0 0;
  }

  .evt-months {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------
AIBM archives — calendrier EO + derniers événements
-------------------------------------------------------------- */
.evt-page--archive .evt-calendar-panel--eo {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--evt-cream, #f3f0d8) !important;
  border-radius: 0 56px 0 0;
  box-shadow: 0 18px 44px rgba(47, 35, 48, .08);
}

.evt-calendar-panel__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.evt-calendar-panel__head p {
  margin: 0;
  color: var(--evt-muted, #6f6672);
  line-height: 1.65;
}

.evt-calendar-panel__body {
  padding: clamp(.75rem, 2vw, 1.2rem);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(138, 25, 125, .12);
  border-radius: 22px;
}

.evt-calendar-panel--eo .eo-widget-cal-wrap,
.evt-calendar-panel--eo .eo-fullcalendar,
.evt-calendar-panel--eo .eo-calendar,
.evt-calendar-panel--eo table {
  width: 100%;
}

.evt-calendar-panel--eo table {
  margin: 0;
  background: #fff;
  border: 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.evt-calendar-panel--eo caption,
.evt-calendar-panel--eo .eo-widget-cal-wrap caption {
  margin: 0 0 .9rem;
  color: var(--evt-purple, #4b2d7e);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 850;
  text-align: left;
}

.evt-calendar-panel--eo th,
.evt-calendar-panel--eo td {
  border: 1px solid rgba(138, 25, 125, .12);
  padding: .7rem .55rem;
  text-align: center;
}

.evt-calendar-panel--eo th {
  background: rgba(75, 45, 126, .08);
  color: var(--evt-purple, #4b2d7e);
  font-weight: 800;
}

.evt-calendar-panel--eo td a,
.evt-calendar-panel--eo .event a,
.evt-calendar-panel--eo .eo-event a {
  color: var(--evt-accent, #8a197d);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.evt-calendar-panel--eo td a:hover,
.evt-calendar-panel--eo .event a:hover,
.evt-calendar-panel--eo .eo-event a:hover {
  border-bottom-color: currentColor;
}

.evt-calendar-panel--eo .event,
.evt-calendar-panel--eo .eo-event {
  background: rgba(138, 25, 125, .08);
  border-radius: 999px;
}

.evt-archive-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 0 0 clamp(1.2rem, 2vw, 1.8rem);
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  background: var(--evt-purple, #4b2d7e);
  color: #fff;
  border-radius: 0 34px 0 34px;
}

.evt-archive-focus .evt-filters__kicker {
  color: rgba(255, 255, 255, .78);
}

.evt-archive-focus__title {
  margin: .2rem 0 .35rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.15;
}

.evt-archive-focus__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-weight: 650;
}

.evt-archive-focus__meta span + span::before {
  content: "•";
  margin-right: .9rem;
  opacity: .7;
}

.evt-archive-focus__link,
.evt-archive-focus__link:visited {
  white-space: nowrap;
  background: #fff !important;
  color: var(--evt-purple, #4b2d7e) !important;
}

.evt-page--archive .evt-list {
  margin-top: clamp(1rem, 2vw, 1.4rem);
}

@media (max-width: 780px) {
  .evt-calendar-panel__head,
  .evt-archive-focus {
    grid-template-columns: 1fr;
  }

  .evt-archive-focus__link {
    justify-self: start;
  }
}

/* --------------------------------------------------------------
AIBM archives — calendrier pleine page avec tooltip EO
-------------------------------------------------------------- */
.evt-calendar-panel--eo .fc,
.evt-calendar-panel--eo .fc-view,
.evt-calendar-panel--eo .fc-view-container,
.evt-calendar-panel--eo .fc-content-skeleton,
.evt-calendar-panel--eo .fc-scroller,
.evt-calendar-panel--eo .fc table {
  max-width: 100%;
}

.evt-calendar-panel--eo .fc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
}

.evt-calendar-panel--eo .fc-toolbar h2 {
  margin: 0;
  color: var(--evt-purple, #4b2d7e);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 850;
}

.evt-calendar-panel--eo .fc-button,
.evt-calendar-panel--eo .fc-state-default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: .5rem .85rem;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--evt-purple, #4b2d7e) !important;
  color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-weight: 750;
  line-height: 1;
}

.evt-calendar-panel--eo .fc-button:hover,
.evt-calendar-panel--eo .fc-state-hover {
  transform: translateY(-1px);
  background: var(--evt-accent, #8a197d) !important;
}

.evt-calendar-panel--eo .fc-button.fc-state-disabled,
.evt-calendar-panel--eo .fc-state-disabled {
  opacity: .45;
  transform: none;
}

.evt-calendar-panel--eo .fc-day-header,
.evt-calendar-panel--eo .fc-widget-header {
  background: rgba(75, 45, 126, .08);
  color: var(--evt-purple, #4b2d7e);
  font-weight: 850;
}

.evt-calendar-panel--eo .fc-day-number {
  color: var(--evt-ink, #2f2330);
  font-weight: 700;
}

.evt-calendar-panel--eo .fc-today {
  background: rgba(225, 121, 54, .12) !important;
}

.evt-calendar-panel--eo .fc-event,
.evt-calendar-panel--eo .fc-event:visited {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--evt-accent, #8a197d) !important;
  color: #fff !important;
  padding: .2rem .45rem;
  box-shadow: 0 8px 18px rgba(75, 45, 126, .16);
  text-decoration: none !important;
}

.evt-calendar-panel--eo .fc-event:hover {
  background: var(--evt-purple, #4b2d7e) !important;
  transform: translateY(-1px);
}

.evt-calendar-tooltip {
  display: grid;
  gap: .35rem;
  max-width: 280px;
  color: #fff;
  font-size: .92rem;
  line-height: 1.35;
}

.evt-calendar-tooltip strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}

.evt-calendar-tooltip span {
  color: rgba(255,255,255,.88);
  font-weight: 650;
}

.evt-calendar-tooltip small {
  color: rgba(255,255,255,.78);
  font-size: .86rem;
}

.qtip.eo-event-tooltip,
.qtip.eo-event-organiser-tooltip,
.qtip.eventorganiser-tooltip,
.eo-event-tooltip,
.eventorganiser-tooltip,
.ui-tooltip {
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--evt-purple, #4b2d7e) !important;
  color: #fff !important;
  box-shadow: 0 18px 44px rgba(47, 35, 48, .22) !important;
  padding: .9rem 1rem !important;
}

.qtip.eo-event-tooltip .qtip-content,
.qtip.eo-event-organiser-tooltip .qtip-content,
.qtip.eventorganiser-tooltip .qtip-content,
.eo-event-tooltip .qtip-content,
.eventorganiser-tooltip .qtip-content,
.ui-tooltip-content {
  padding: 0 !important;
}


/* AIBM Event Documents — fichiers PDF associés aux événements */
.aibm-event-documents {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  background: var(--evt-cream, #f3f0d8);
  border-radius: 0 56px 0 0;
}

.aibm-event-documents__kicker {
  margin-bottom: .45rem;
  color: var(--evt-accent, #8a197d);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.aibm-event-documents__title {
  margin: 0 0 1.35rem;
  color: var(--evt-accent, #8a197d);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.aibm-event-documents__groups {
  display: grid;
  gap: 1rem;
}

.aibm-event-documents__group {
  padding: clamp(1rem, 2vw, 1.35rem);
  background: #fff;
  box-shadow: 0 12px 30px rgba(47, 35, 48, .06);
}

.aibm-event-documents__group-title {
  margin: 0 0 .8rem;
  color: var(--evt-ink, #2f2330);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.aibm-event-documents__list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aibm-event-documents__item {
  margin: 0;
}

.aibm-event-documents__link,
.aibm-event-documents__link:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  background: rgba(138, 25, 125, .055);
  color: var(--evt-accent, #8a197d);
  font-weight: 850;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}

.aibm-event-documents__link::before {
  content: "PDF";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: .28rem .45rem;
  background: var(--evt-accent, #8a197d);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.aibm-event-documents__link::after {
  content: "↗";
  flex: 0 0 auto;
  opacity: .72;
}

.aibm-event-documents__link:hover {
  background: rgba(138, 25, 125, .11);
  color: var(--evt-accent, #8a197d);
  transform: translateX(3px);
}

.aibm-event-documents__name {
  flex: 1 1 auto;
}

.aibm-event-documents__meta {
  flex: 0 0 auto;
  color: var(--evt-muted, #6f6672);
  font-size: .88rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .aibm-event-documents {
    border-radius: 0 42px 0 0;
  }

  .aibm-event-documents__link {
    align-items: flex-start;
    flex-direction: column;
  }

  .aibm-event-documents__link::after {
    align-self: flex-end;
  }
}

/* AIBM Event Organiser — harmonisation pages de taxonomie et menu 1.4.8 */
.evt-page--term-tax .evt-tax-section {
  margin-top: clamp(2.4rem, 4.5vw, 4rem);
  padding: clamp(1.8rem, 3.8vw, 3rem);
}

.evt-page--term-tax .evt-tax-section .evt-filters__kicker {
  margin-bottom: .55rem;
}

.evt-page--term-tax .evt-tax-section .evt-section-title {
  margin: 0 0 clamp(1.3rem, 2.6vw, 2.2rem);
}

.evt-page--term-tax .evt-tax-section .evt-list {
  margin-top: 0;
}

.evt-page--term-tax .evt-tax-section .evt-empty {
  margin-top: .75rem;
  background: rgba(255,255,255,.62);
}

@media (max-width: 780px) {
  .evt-page--term-tax .evt-tax-section {
    padding: clamp(1.4rem, 5vw, 2rem);
  }
}

@media (min-width: 922px) {
  .main-header-menu .menu-item-has-children > .sub-menu,
  .ast-builder-menu .main-header-menu .menu-item-has-children > .sub-menu,
  .ast-builder-menu-1 .main-header-menu .menu-item-has-children > .sub-menu {
    /* Espace visuel sans trou de hover : le bord transparent fait partie du sous-menu. */
    margin-top: 0 !important;
    padding: .55rem 0 .65rem;
    border: 0;
    border-top: .38rem solid transparent;
    background-clip: padding-box;
    box-shadow: 0 18px 45px rgba(47,35,48,.12);
  }

  .main-header-menu .menu-item-has-children > .sub-menu::before,
  .ast-builder-menu .main-header-menu .menu-item-has-children > .sub-menu::before,
  .ast-builder-menu-1 .main-header-menu .menu-item-has-children > .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -.38rem;
    height: .38rem;
  }

  .main-header-menu .sub-menu .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-link {
    padding-top: .85rem;
    padding-bottom: .85rem;
  }
}

/* AIBM — menu principal : séparateur, hover et état actif 1.4.9 */
@media (min-width: 922px) {
  .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    position: relative;
    transition: color .18s ease;
  }

  .main-header-menu > .menu-item > .menu-link::after,
  .ast-builder-menu .main-header-menu > .menu-item > .menu-link::after,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link::after {
    content: "";
    position: absolute;
    left: 1.05em;
    right: 1.05em;
    bottom: .72em;
    height: 2px;
    background: #cf6f2c;
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
  }

  .main-header-menu > .menu-item:hover > .menu-link,
  .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .main-header-menu > .menu-item.current_page_item > .menu-link,
  .main-header-menu > .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_ancestor > .menu-link {
    color: var(--ast-global-color-0, #8f147f) !important;
  }

  .main-header-menu > .menu-item:hover > .menu-link::after,
  .main-header-menu > .menu-item.current-menu-item > .menu-link::after,
  .main-header-menu > .menu-item.current-menu-ancestor > .menu-link::after,
  .main-header-menu > .menu-item.current_page_item > .menu-link::after,
  .main-header-menu > .menu-item.current_page_ancestor > .menu-link::after,
  .ast-builder-menu .main-header-menu > .menu-item:hover > .menu-link::after,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-item > .menu-link::after,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-ancestor > .menu-link::after,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_item > .menu-link::after,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_ancestor > .menu-link::after,
  .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link::after,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link::after,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link::after,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_item > .menu-link::after,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_ancestor > .menu-link::after {
    transform: scaleX(1);
    opacity: 1;
  }

  .main-header-menu .menu-item-has-children > .sub-menu,
  .ast-builder-menu .main-header-menu .menu-item-has-children > .sub-menu,
  .ast-builder-menu-1 .main-header-menu .menu-item-has-children > .sub-menu {
    border-top: .38rem solid transparent;
    box-shadow: 0 18px 45px rgba(47,35,48,.12), inset 0 3px 0 #cf6f2c;
  }

  .main-header-menu .sub-menu .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-link {
    transition: background-color .16s ease, color .16s ease, padding-left .16s ease;
  }

  .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link {
    background: rgba(207,111,44,.10);
    color: var(--ast-global-color-0, #8f147f) !important;
    padding-left: 1.25rem;
  }
}

/* AIBM – page Adhérer */
.adh-page {
  color: var(--evt-ink);
}

.adh-section-title {
  margin: 0 0 .8rem;
  color: var(--evt-accent);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.adh-intro,
.adh-pricing,
.adh-steps,
.adh-info,
.adh-free-content {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.adh-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  background: var(--evt-cream);
  border-radius: 0 0 72px 0;
}

.adh-intro__text p,
.adh-pricing__head p,
.adh-step-card p,
.adh-info p,
.adh-free-content p {
  color: var(--evt-ink);
  line-height: 1.75;
}

.adh-intro__panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: #fff;
}

.adh-intro__panel h3,
.adh-step-card h3,
.adh-info__contact h3 {
  margin: 0 0 .9rem;
  color: var(--evt-accent);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.2;
}

.adh-checklist {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adh-checklist li {
  position: relative;
  padding-left: 1.6rem;
}

.adh-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .55rem;
  height: .55rem;
  background: var(--evt-accent);
}

.adh-pricing {
  background: #fff;
}

.adh-pricing__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--evt-accent);
  color: #fff;
}

.adh-pricing__head .evt-filters__kicker,
.adh-pricing__head .adh-section-title,
.adh-pricing__head p {
  color: #fff;
}

.adh-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(138, 25, 125, .14);
}

.adh-price-card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--evt-cream);
}

.adh-price-card--highlight {
  background: #fff;
}

.adh-price-card__label {
  display: block;
  margin-bottom: .6rem;
  color: var(--evt-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.adh-price-card__amount {
  display: block;
  margin-bottom: .75rem;
  color: var(--evt-accent);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.adh-tax-note {
  margin: 0;
  padding: 1rem clamp(1.4rem, 3vw, 2rem);
  color: var(--evt-muted);
  background: var(--evt-cream);
  font-size: .95rem;
}

.adh-steps {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--evt-cream);
}

.adh-steps__head {
  margin-bottom: clamp(1.3rem, 3vw, 2rem);
}

.adh-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.adh-step-card {
  position: relative;
  min-height: 280px;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
}

.adh-step-card__number {
  margin-bottom: 1rem;
  color: var(--evt-khaki);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.adh-inline-note {
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  background: var(--evt-cream);
  color: var(--evt-muted);
  font-size: .95rem;
}

.adh-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--evt-accent);
  color: #fff;
}

.adh-info .evt-filters__kicker,
.adh-info .adh-section-title,
.adh-info h3,
.adh-info p,
.adh-info address,
.adh-info a {
  color: #fff;
}

.adh-info address {
  margin: 1rem 0 0;
  font-style: normal;
  line-height: 1.75;
}

.adh-info a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.45);
}

.adh-info a:hover,
.adh-info a:focus {
  border-bottom-color: #fff;
}

.adh-free-content {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--evt-cream);
}

@media (max-width: 900px) {
  .adh-intro,
  .adh-pricing__head,
  .adh-step-grid,
  .adh-info,
  .adh-price-grid {
    grid-template-columns: 1fr;
  }
}

/* AIBM — menu principal et sous-menu : interaction homogène, sans soulignement 1.5.0 */
@media (min-width: 922px) {
  .main-header-menu > .menu-item > .menu-link::after,
  .ast-builder-menu .main-header-menu > .menu-item > .menu-link::after,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link::after {
    display: none !important;
    content: none !important;
  }

  .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    border-radius: 999px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .main-header-menu > .menu-item:hover > .menu-link,
  .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .main-header-menu > .menu-item.current_page_item > .menu-link,
  .main-header-menu > .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_ancestor > .menu-link {
    background: rgba(138, 25, 125, .075) !important;
    color: var(--ast-global-color-0, #8f147f) !important;
    box-shadow: inset 0 0 0 1px rgba(138, 25, 125, .08);
  }

  .main-header-menu .menu-item-has-children > .sub-menu,
  .ast-builder-menu .main-header-menu .menu-item-has-children > .sub-menu,
  .ast-builder-menu-1 .main-header-menu .menu-item-has-children > .sub-menu {
    padding: .72rem 0 .78rem;
    border-top: .36rem solid transparent;
    background: #fff;
    background-clip: padding-box;
    box-shadow: 0 18px 45px rgba(47,35,48,.12), inset 0 3px 0 #cf6f2c;
  }

  .main-header-menu .sub-menu .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-link {
    margin: .08rem .58rem;
    padding: .78rem .98rem !important;
    border-radius: 999px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .main-header-menu .sub-menu .menu-item.current-menu-ancestor > .menu-link,
  .main-header-menu .sub-menu .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current_page_ancestor > .menu-link {
    background: rgba(138, 25, 125, .075) !important;
    color: var(--ast-global-color-0, #8f147f) !important;
    box-shadow: inset 0 0 0 1px rgba(138, 25, 125, .08);
  }
}

/* AIBM — menu : interaction sobre par couleur de texte uniquement 1.5.1 */
@media (min-width: 922px) {
  .main-header-menu > .menu-item:hover > .menu-link,
  .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .main-header-menu > .menu-item.current_page_item > .menu-link,
  .main-header-menu > .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_item > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current_page_ancestor > .menu-link,
  .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .main-header-menu .sub-menu .menu-item.current-menu-ancestor > .menu-link,
  .main-header-menu .sub-menu .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu .main-header-menu .sub-menu .menu-item.current_page_ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current_page_item > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current_page_ancestor > .menu-link {
    background: transparent !important;
    box-shadow: none !important;
    color: #cf6f2c !important;
  }
}

/* AIBM – page Adhérer éditable 1.6.0 */
.adh-editable-content {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  background: var(--evt-cream);
  border-radius: 0 0 72px 0;
}

.adh-editable-content > *:first-child {
  margin-top: 0;
}

.adh-editable-content > *:last-child {
  margin-bottom: 0;
}

.adh-editable-content h2,
.adh-editable-content h3,
.adh-editable-content h4 {
  color: var(--evt-accent);
  letter-spacing: -.03em;
}

.adh-editable-content h2 {
  margin: clamp(1.8rem, 3vw, 2.8rem) 0 1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.adh-editable-content h3 {
  margin: clamp(1.4rem, 2.5vw, 2rem) 0 .8rem;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.2;
}

.adh-editable-content p,
.adh-editable-content li {
  color: var(--evt-ink);
  line-height: 1.75;
}

.adh-editable-content a:not(.wp-block-button__link) {
  color: var(--evt-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 25, 125, .25);
  transition: color .18s ease, border-color .18s ease;
}

.adh-editable-content a:not(.wp-block-button__link):hover,
.adh-editable-content a:not(.wp-block-button__link):focus {
  color: var(--evt-orange, #cf6f2c);
  border-bottom-color: currentColor;
}

.adh-editable-content .wp-block-columns {
  gap: clamp(1rem, 3vw, 2rem);
}

.adh-editable-content .wp-block-column {
  min-width: 0;
}

.adh-editable-content .wp-block-group,
.adh-editable-content .wp-block-media-text {
  border-radius: 0;
}

.adh-editable-content .wp-block-buttons {
  margin-top: 1.2rem;
}

.adh-empty-notice {
  padding: 1rem 1.2rem;
  background: #fff;
  color: var(--evt-muted);
  border-left: 4px solid var(--evt-accent);
}

.adh-cta-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.adh-cta-link {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-height: 140px;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
  color: var(--evt-accent);
  text-decoration: none !important;
  border: 1px solid rgba(138, 25, 125, .14);
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.adh-cta-link--primary {
  background: var(--evt-accent);
  color: #fff;
}

.adh-cta-link span {
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .86;
}

.adh-cta-link strong {
  margin-top: auto;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.15;
}

.adh-cta-link strong::after {
  content: " →";
}

.adh-cta-link:hover,
.adh-cta-link:focus {
  transform: translateY(-2px);
  color: var(--evt-orange, #cf6f2c);
  border-color: rgba(207, 111, 44, .45);
}

.adh-cta-link--primary:hover,
.adh-cta-link--primary:focus {
  color: #fff;
  border-color: transparent;
  background: var(--evt-orange, #cf6f2c);
}

@media (max-width: 760px) {
  .adh-cta-links {
    grid-template-columns: 1fr;
  }
}

/* AIBM – page Adhérer : composition Gutenberg éditable 1.6.1 */
.adh-editable-content {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.adh-editable-content .adh-intro,
.adh-editable-content .adh-pricing,
.adh-editable-content .adh-steps,
.adh-editable-content .adh-info {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.adh-editable-content .adh-intro > *:first-child,
.adh-editable-content .adh-pricing > *:first-child,
.adh-editable-content .adh-steps > *:first-child,
.adh-editable-content .adh-info > *:first-child {
  margin-top: 0;
}

.adh-editable-content .adh-intro > *:last-child,
.adh-editable-content .adh-pricing > *:last-child,
.adh-editable-content .adh-steps > *:last-child,
.adh-editable-content .adh-info > *:last-child {
  margin-bottom: 0;
}

.adh-page .wp-block-button.adh-button .wp-block-button__link,
.adh-page .wp-block-button.adh-button--secondary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: var(--evt-accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.adh-page .wp-block-button.adh-button--secondary .wp-block-button__link {
  background: var(--evt-orange, #cf6f2c);
}

.adh-page .wp-block-button.adh-button--light .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--evt-accent);
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.adh-page .wp-block-button.adh-button .wp-block-button__link::after,
.adh-page .wp-block-button.adh-button--secondary .wp-block-button__link::after,
.adh-page .wp-block-button.adh-button--light .wp-block-button__link::after {
  content: " →";
}

.adh-page .wp-block-button .wp-block-button__link:hover,
.adh-page .wp-block-button .wp-block-button__link:focus {
  transform: translateY(-2px);
}

.adh-page .adh-info .wp-block-button.adh-button--light .wp-block-button__link:hover,
.adh-page .adh-info .wp-block-button.adh-button--light .wp-block-button__link:focus {
  color: var(--evt-orange, #cf6f2c);
}

/* AIBM – Page Adhérer : hero sécurisé + composition Gutenberg 1.6.2 */
.adh-page .evt-page-hero--with-image {
  min-height: clamp(320px, 34vw, 470px);
}

.adh-page .evt-page-hero__media {
  min-height: clamp(320px, 34vw, 470px);
  max-height: 470px;
}

.adh-page .evt-page-hero__content {
  min-height: clamp(320px, 34vw, 470px);
}

.adh-page .evt-page__intro {
  max-width: 34rem;
}

.adh-page .evt-page__intro p:last-child {
  margin-bottom: 0;
}

.adh-editable-content {
  max-width: min(1180px, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.adh-editable-content > .adh-intro:first-child {
  margin-top: 0;
}

.adh-editable-content .adh-intro,
.adh-editable-content .adh-pricing,
.adh-editable-content .adh-steps,
.adh-editable-content .adh-info {
  box-sizing: border-box;
}

.adh-editable-content .adh-intro {
  border-radius: 0 0 88px 0;
}

.adh-editable-content .adh-pricing {
  box-shadow: 0 20px 55px rgba(47, 35, 48, .06);
}

.adh-editable-content .adh-steps {
  border-radius: 0;
}

.adh-editable-content .adh-info {
  border-radius: 0;
}

.adh-editable-content .adh-intro__panel,
.adh-editable-content .adh-step-card,
.adh-editable-content .adh-price-card {
  box-shadow: none;
}

@media (max-width: 760px) {
  .adh-page .evt-page-hero--with-image,
  .adh-page .evt-page-hero__media,
  .adh-page .evt-page-hero__content {
    min-height: 0;
    max-height: none;
  }
}

/* AIBM – Page Adhérer : corrections visuelles 1.6.3 */
.adh-page .adh-pricing__head,
.adh-page .adh-info {
  color: #fff;
}

.adh-page .adh-pricing__head .evt-filters__kicker,
.adh-page .adh-pricing__head .adh-section-title,
.adh-page .adh-pricing__head h2,
.adh-page .adh-pricing__head h3,
.adh-page .adh-pricing__head p,
.adh-page .adh-info .evt-filters__kicker,
.adh-page .adh-info .adh-section-title,
.adh-page .adh-info h2,
.adh-page .adh-info h3,
.adh-page .adh-info p,
.adh-page .adh-info address,
.adh-page .adh-info li,
.adh-page .adh-info a {
  color: #fff !important;
}

.adh-page .adh-pricing__head p,
.adh-page .adh-info p {
  opacity: .9;
}

.adh-page .adh-price-grid,
.adh-page .adh-step-grid {
  align-items: stretch;
}

.adh-page .adh-price-card,
.adh-page .adh-step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.adh-page .adh-price-card > *:first-child,
.adh-page .adh-step-card > *:first-child {
  margin-top: 0;
}

.adh-page .adh-price-card > *:last-child,
.adh-page .adh-step-card > *:last-child {
  margin-bottom: 0;
}

.adh-page .adh-price-card {
  min-height: 260px;
  justify-content: flex-start;
}

.adh-page .adh-step-card {
  min-height: 300px;
}

.adh-page .adh-step-card .wp-block-buttons {
  margin-top: auto;
  padding-top: 1.35rem;
}

.adh-page .wp-block-button.adh-button .wp-block-button__link,
.adh-page .wp-block-button.adh-button--secondary .wp-block-button__link,
.adh-page .wp-block-button.adh-button--light .wp-block-button__link {
  border: 2px solid currentColor !important;
  box-shadow: none;
}

.adh-page .wp-block-button.adh-button .wp-block-button__link {
  border-color: var(--evt-accent) !important;
}

.adh-page .wp-block-button.adh-button--secondary .wp-block-button__link {
  border-color: var(--evt-orange, #cf6f2c) !important;
}

.adh-page .wp-block-button.adh-button--light .wp-block-button__link {
  border-color: #fff !important;
}

.adh-page .wp-block-button.adh-button .wp-block-button__link:hover,
.adh-page .wp-block-button.adh-button .wp-block-button__link:focus {
  background: #fff;
  color: var(--evt-accent) !important;
  border-color: var(--evt-accent) !important;
}

.adh-page .wp-block-button.adh-button--secondary .wp-block-button__link:hover,
.adh-page .wp-block-button.adh-button--secondary .wp-block-button__link:focus {
  background: #fff;
  color: var(--evt-orange, #cf6f2c) !important;
  border-color: var(--evt-orange, #cf6f2c) !important;
}

.adh-page .wp-block-button.adh-button--light .wp-block-button__link:hover,
.adh-page .wp-block-button.adh-button--light .wp-block-button__link:focus {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.75) !important;
}

.adh-page .adh-tax-note {
  margin: 0;
  padding: 1rem clamp(1.4rem, 3vw, 2rem);
  background: #fff;
  color: var(--evt-muted);
  border-left: 6px solid var(--evt-orange, #cf6f2c);
  box-shadow: inset 0 1px 0 rgba(207,111,44,.18);
}

.adh-page .adh-pricing {
  overflow: hidden;
}

@media (max-width: 760px) {
  .adh-page .adh-price-card,
  .adh-page .adh-step-card {
    min-height: 0;
  }
}

/* AIBM – Page Adhérer : alignements définitifs Gutenberg 1.6.4 */
.adh-page .adh-price-grid,
.adh-page .adh-step-grid {
  display: grid !important;
  align-items: stretch !important;
}

.adh-page .adh-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  background: transparent !important;
}

.adh-page .adh-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1.25rem, 3vw, 2rem) !important;
}

.adh-page .adh-price-grid > .wp-block-group,
.adh-page .adh-step-grid > .wp-block-group,
.adh-page .adh-price-card,
.adh-page .adh-step-card {
  margin: 0 !important;
  min-width: 0;
  height: auto !important;
}

.adh-page .adh-price-card,
.adh-page .adh-step-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start;
}

.adh-page .adh-price-card {
  min-height: 300px;
  border: 1px solid rgba(138, 25, 125, .10);
}

.adh-page .adh-price-card + .adh-price-card {
  border-left: 0;
}

.adh-page .adh-step-card {
  min-height: 340px;
  border: 1px solid rgba(138, 25, 125, .08);
}

.adh-page .adh-step-card .wp-block-buttons {
  margin-top: auto !important;
  padding-top: 1.5rem;
}

.adh-page .adh-price-card > :first-child,
.adh-page .adh-step-card > :first-child {
  margin-top: 0 !important;
}

.adh-page .adh-price-card > :last-child,
.adh-page .adh-step-card > :last-child {
  margin-bottom: 0 !important;
}

.adh-page .adh-tax-note {
  margin-top: 0 !important;
  background: #fff7ef !important;
  border-top: 1px solid rgba(207, 111, 44, .22);
  border-right: 1px solid rgba(207, 111, 44, .16);
  border-bottom: 1px solid rgba(207, 111, 44, .16);
  border-left: 6px solid var(--evt-orange, #cf6f2c) !important;
  box-shadow: none !important;
}

/* Bouton clair dans l'encart violet : texte visible */
.adh-page .adh-info .wp-block-button.adh-button--light .wp-block-button__link,
.adh-page .adh-info .wp-block-button.adh-button--light .wp-block-button__link:visited {
  background: #fff !important;
  color: var(--evt-accent) !important;
  border-color: #fff !important;
}

.adh-page .adh-info .wp-block-button.adh-button--light .wp-block-button__link:hover,
.adh-page .adh-info .wp-block-button.adh-button--light .wp-block-button__link:focus {
  background: var(--evt-orange, #cf6f2c) !important;
  color: #fff !important;
  border-color: var(--evt-orange, #cf6f2c) !important;
}

.adh-page .adh-info a:not(.wp-block-button__link) {
  color: #fff !important;
}

@media (max-width: 760px) {
  .adh-page .adh-price-grid,
  .adh-page .adh-step-grid {
    grid-template-columns: 1fr !important;
  }

  .adh-page .adh-price-card + .adh-price-card {
    border-left: 1px solid rgba(138, 25, 125, .10);
    border-top: 0;
  }

  .adh-page .adh-price-card,
  .adh-page .adh-step-card {
    min-height: 0;
  }
}
