/* ==========================================================================
   AFRICAIN.CA — Design Magazine Panafricain au Canada (Framework Phoenix)
   Direction artistique : éditoriale, chaleureuse, contrastée, mobile-first.
   ========================================================================== */

:root {
  --af-ink: #111827;
  --af-ink-soft: #374151;
  --af-muted: #5b6472;
  --af-paper: #faf8f4;
  --af-white: #ffffff;
  --af-dark: #0f1722;
  --af-dark-card: #172230;
  --af-border: #e5dfd3;
  --af-border-dark: rgba(255, 255, 255, 0.14);
  --af-gold: #c6922d;
  --af-gold-light: #e5be67;
  --af-emerald: #0f4c3a;
  --af-emerald-soft: #e6f3ee;
  --af-crimson: #8c2d19;
  --af-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --af-font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --af-radius: 12px;
  --af-radius-sm: 8px;
  --af-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  --af-shadow-hover: 0 18px 40px rgba(17, 24, 39, 0.11);
  --af-container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.af-site {
  margin: 0;
  font-family: var(--af-font-sans);
  color: var(--af-ink);
  background: var(--af-white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.af-site img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.af-site a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.af-site a:focus-visible,
body.af-site button:focus-visible,
body.af-site input:focus-visible,
body.af-site select:focus-visible,
body.af-site textarea:focus-visible {
  outline: 2px solid var(--af-gold);
  outline-offset: 2px;
}

.af-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.af-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--af-ink);
  color: var(--af-white);
  padding: 12px 18px;
  z-index: 9999;
}

.af-skip:focus {
  left: 12px;
  top: 12px;
}

.af-container {
  width: min(var(--af-container), calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- Topbar ---------- */
.af-topbar {
  background: var(--af-dark);
  color: #e5e7eb;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--af-border-dark);
}

.af-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.af-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.af-edition-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--af-gold-light);
}

.af-topbar-edition {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--af-gold-light);
}

.af-topbar-tagline {
  color: #cbd5e1;
}

.af-topbar-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 600;
}

.af-topbar-links a:hover {
  color: var(--af-gold-light);
}

/* ---------- Header & Masthead ---------- */
.af-header {
  background: var(--af-white);
  border-bottom: 1px solid var(--af-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.af-masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.af-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.af-brand-text {
  display: flex;
  flex-direction: column;
}

.af-brand-name {
  font-family: var(--af-font-serif);
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--af-ink);
}

.af-brand-name span {
  color: var(--af-gold);
}

.af-brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--af-muted);
  margin-top: 0.3rem;
}

.af-header-search {
  display: flex;
  align-items: center;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: 999px;
  padding: 0.25rem 0.4rem 0.25rem 1rem;
}

.af-header-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--af-ink);
  padding: 0.35rem 0;
}

.af-header-search input:focus {
  outline: none;
}

.af-header-search button {
  border: 0;
  background: var(--af-ink);
  color: var(--af-white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.af-header-search button:hover {
  background: var(--af-emerald);
}

.af-masthead-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.af-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--af-border);
  background: var(--af-white);
  color: var(--af-ink);
  padding: 0.45rem 0.85rem;
  border-radius: var(--af-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

/* ---------- Navigation Bar ---------- */
.af-nav-bar {
  border-top: 1px solid var(--af-border);
  background: var(--af-paper);
}

.af-nav-inner {
  padding: 0;
}

.af-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
}

.af-menu li {
  margin: 0;
}

.af-menu a {
  display: inline-block;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--af-ink);
  border-bottom: 2px solid transparent;
}

.af-menu a:hover,
.af-menu .current-menu-item > a,
.af-menu .current-category-ancestor > a {
  color: var(--af-emerald);
  border-bottom-color: var(--af-gold);
}

/* ---------- Buttons ---------- */
.af-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--af-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.af-btn-primary {
  background: var(--af-ink);
  color: var(--af-white);
}
.af-btn-primary:hover {
  background: var(--af-emerald);
  color: var(--af-white);
}

.af-btn-emerald {
  background: var(--af-emerald);
  color: var(--af-white);
}
.af-btn-emerald:hover {
  background: #0a382b;
  color: var(--af-white);
}

.af-btn-gold {
  background: var(--af-gold);
  color: var(--af-dark);
}
.af-btn-gold:hover {
  background: var(--af-gold-light);
  color: var(--af-dark);
}

.af-btn-outline {
  background: transparent;
  border-color: var(--af-border);
  color: var(--af-ink);
}
.af-btn-outline:hover {
  border-color: var(--af-ink);
  background: var(--af-paper);
}

.af-btn-outline-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
  background: transparent;
  border-color: var(--af-emerald);
  color: var(--af-emerald);
}
.af-btn-outline-sm:hover {
  background: var(--af-emerald);
  color: var(--af-white);
}

.af-btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--af-white);
}
.af-btn-outline-light:hover {
  border-color: var(--af-gold-light);
  color: var(--af-gold-light);
}

.af-btn-block {
  width: 100%;
}

/* ---------- Kickers & Section Headings ---------- */
.af-section {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
}

.af-section-paper {
  background: var(--af-paper);
  border-top: 1px solid var(--af-border);
  border-bottom: 1px solid var(--af-border);
}

.af-section-dark {
  background: var(--af-dark);
  color: var(--af-white);
}

.af-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-crimson);
}

.af-kicker-gold {
  color: var(--af-gold-light);
}

.af-kicker-emerald {
  color: var(--af-emerald);
}

.af-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--af-border);
}

.af-section-dark .af-section-head {
  border-bottom-color: var(--af-border-dark);
}

.af-section-title {
  margin: 0;
  font-family: var(--af-font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
}

.af-section-sub {
  margin: 0.45rem 0 0;
  color: var(--af-muted);
  max-width: 60ch;
  font-size: 0.96rem;
}

.af-section-dark .af-section-sub {
  color: #cbd5e1;
}

.af-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ---------- Hero Section ---------- */
.af-hero-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.af-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.af-hero-wire {
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.af-wire-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--af-ink);
}

.af-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--af-crimson);
  flex-shrink: 0;
}

.af-wire-header h2 {
  margin: 0;
  font-family: var(--af-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.af-wire-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
}

.af-wire-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--af-border);
}

/* ---------- Grids ---------- */
.af-grid {
  display: grid;
  gap: 1.75rem;
}

.af-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.af-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Article Cards ---------- */
.af-card {
  display: flex;
  flex-direction: column;
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.af-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--af-shadow-hover);
}

.af-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--af-dark);
}

.af-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.af-card:hover .af-card-img {
  transform: scale(1.03);
}

.af-hero-badge,
.af-city-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--af-gold);
  color: var(--af-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.af-city-badge {
  background: rgba(15, 23, 34, 0.85);
  color: var(--af-gold-light);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.af-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.af-card--hero .af-card-media {
  aspect-ratio: 16 / 9;
}

.af-card--hero .af-card-body {
  padding: 1.75rem;
}

.af-card--hero .af-card-title {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.af-card--batisseur {
  background: var(--af-dark-card);
  border-color: var(--af-border-dark);
  color: var(--af-white);
}

.af-card--batisseur .af-card-excerpt,
.af-card--batisseur .af-card-foot {
  color: #cbd5e1;
}

.af-card--batisseur .af-cat-pill {
  background: rgba(229, 190, 103, 0.15);
  color: var(--af-gold-light);
}

.af-card--compact {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--af-border);
  padding-bottom: 1rem;
}

.af-card--compact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.af-card--compact:hover {
  transform: none;
  box-shadow: none;
}

.af-card--compact .af-card-body {
  padding: 0;
}

.af-card--compact .af-card-title {
  font-size: 1.05rem;
  line-height: 1.35;
}

.af-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  color: var(--af-muted);
}

.af-cat-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--af-crimson);
  background: rgba(140, 45, 25, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.af-cat-pill:hover {
  background: var(--af-crimson);
  color: var(--af-white);
}

.af-cat-pill-lg {
  font-size: 0.76rem;
  padding: 0.3rem 0.75rem;
}

.af-location-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--af-emerald);
  background: var(--af-emerald-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

.af-card-title {
  margin: 0 0 0.55rem;
  font-family: var(--af-font-serif);
  font-size: 1.25rem;
  line-height: 1.28;
  font-weight: 700;
}

.af-card-title a:hover {
  color: var(--af-gold);
}

.af-batisseur-role {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--af-gold);
}

.af-card--batisseur .af-batisseur-role {
  color: var(--af-gold-light);
}

.af-card-excerpt {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--af-ink-soft);
  line-height: 1.6;
}

.af-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--af-muted);
}

.af-read-link {
  font-weight: 700;
  color: var(--af-emerald);
  font-size: 0.88rem;
}

.af-read-link:hover {
  color: var(--af-gold);
}

/* ---------- Category Tabs ---------- */
.af-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.af-cat-tabs-archive {
  margin-top: 1.25rem;
}

.af-tab-link {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--af-border);
  background: var(--af-white);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--af-ink);
}

.af-tab-link:hover,
.af-tab-link.is-active {
  background: var(--af-ink);
  border-color: var(--af-ink);
  color: var(--af-white);
}

/* ---------- Entreprise Cards (Directory) ---------- */
.af-ent-card {
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.af-ent-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--af-shadow-hover);
  border-color: var(--af-emerald);
}

.af-ent-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.af-ent-monogram {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--af-emerald);
  color: var(--af-gold-light);
  font-family: var(--af-font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.af-ent-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.af-ent-sector {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--af-muted);
}

.af-verified-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--af-emerald-soft);
  color: var(--af-emerald);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.af-ent-title {
  margin: 0;
  font-family: var(--af-font-serif);
  font-size: 1.2rem;
  line-height: 1.25;
}

.af-ent-title a:hover {
  color: var(--af-emerald);
}

.af-ent-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--af-ink-soft);
  flex: 1;
}

.af-ent-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--af-border);
  font-size: 0.84rem;
}

.af-ent-city {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--af-muted);
  font-weight: 500;
}

.af-ent-link {
  font-weight: 700;
  color: var(--af-emerald);
}

.af-ent-link:hover {
  color: var(--af-gold);
}

/* ---------- Event Cards ---------- */
.af-evt-card {
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 1.35rem;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.af-evt-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--af-shadow-hover);
}

.af-evt-datebox {
  width: 62px;
  flex-shrink: 0;
  text-align: center;
  background: var(--af-dark);
  color: var(--af-white);
  border-radius: 10px;
  padding: 0.55rem 0.35rem;
  border-top: 3px solid var(--af-gold);
}

.af-evt-day {
  display: block;
  font-family: var(--af-font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.af-evt-month {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--af-gold-light);
  margin-top: 0.2rem;
}

.af-evt-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.af-evt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.73rem;
  font-weight: 700;
}

.af-evt-type {
  color: var(--af-crimson);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.af-evt-format,
.af-evt-price {
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  color: var(--af-ink-soft);
}

.af-evt-title {
  margin: 0;
  font-family: var(--af-font-serif);
  font-size: 1.12rem;
  line-height: 1.3;
}

.af-evt-title a:hover {
  color: var(--af-gold);
}

.af-evt-meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--af-muted);
}

/* ---------- Newsletter Band ---------- */
.af-newsletter-band {
  background: linear-gradient(135deg, var(--af-dark) 0%, #103227 100%);
  color: var(--af-white);
}

.af-newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.af-newsletter-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--af-font-serif);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  line-height: 1.15;
}

.af-newsletter-copy p {
  margin: 0;
  color: #d1d5db;
  max-width: 54ch;
}

.af-newsletter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.af-newsletter-fields input[type="email"] {
  flex: 1 1 220px;
  padding: 0.8rem 1rem;
  border-radius: var(--af-radius-sm);
  border: 1px solid var(--af-border);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--af-ink);
  background: var(--af-white);
}

.af-form-legal {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.af-sidebar-card .af-form-legal {
  color: var(--af-muted);
}

.af-form-status {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.af-form-status.is-success {
  padding: 0.75rem 1rem;
  border-radius: var(--af-radius-sm);
  background: #dcfce7;
  color: #14532d;
}

.af-form-status.is-error {
  padding: 0.75rem 1rem;
  border-radius: var(--af-radius-sm);
  background: #fee2e2;
  color: #7f1d1d;
}

/* ---------- Page Hero, Breadcrumbs & Filter Bar ---------- */
.af-page-hero {
  background: var(--af-paper);
  border-bottom: 1px solid var(--af-border);
  padding: 2.25rem 0 2.5rem;
}

.af-page-hero-emerald {
  background: linear-gradient(180deg, #eef6f3 0%, var(--af-paper) 100%);
}

.af-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--af-muted);
  margin-bottom: 1rem;
}

.af-breadcrumbs a:hover {
  color: var(--af-emerald);
}

.af-page-title {
  margin: 0;
  font-family: var(--af-font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.12;
}

.af-page-lead {
  margin: 0.85rem 0 0;
  font-size: 1.06rem;
  color: var(--af-ink-soft);
  max-width: 68ch;
}

.af-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
}

.af-filter-field {
  flex: 1 1 180px;
}

.af-filter-grow {
  flex: 1 1 320px;
}

.af-filter-bar input,
.af-filter-bar select {
  width: 100%;
  padding: 0.68rem 0.9rem;
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--af-white);
  color: var(--af-ink);
}

/* ---------- Single Article & Reading Layout ---------- */
.af-article-header {
  background: var(--af-paper);
  border-bottom: 1px solid var(--af-border);
  padding: 2.25rem 0 2.5rem;
}

.af-article-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.af-article-title {
  margin: 0;
  font-family: var(--af-font-serif);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.af-article-subject {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--af-gold);
}

.af-article-lead {
  margin: 0.95rem 0 0;
  font-size: 1.12rem;
  color: var(--af-ink-soft);
  line-height: 1.65;
  max-width: 72ch;
}

.af-article-metabar {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--af-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--af-muted);
}

.af-article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.af-byline-author strong {
  color: var(--af-ink);
}

.af-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.af-share-bar a,
.af-share-bar button {
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--af-border);
  background: var(--af-white);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--af-ink);
  cursor: pointer;
}

.af-share-bar a:hover,
.af-share-bar button:hover {
  border-color: var(--af-ink);
  background: var(--af-ink);
  color: var(--af-white);
}

.af-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  align-items: start;
}

.af-article-figure {
  margin: 0 0 2rem;
  border-radius: var(--af-radius);
  overflow: hidden;
  border: 1px solid var(--af-border);
}

.af-prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--af-ink-soft);
}

.af-prose h2 {
  font-family: var(--af-font-serif);
  font-size: 1.65rem;
  color: var(--af-ink);
  margin: 2.2rem 0 0.85rem;
  line-height: 1.25;
}

.af-prose h3 {
  font-family: var(--af-font-serif);
  font-size: 1.3rem;
  color: var(--af-ink);
  margin: 1.75rem 0 0.65rem;
}

.af-prose p {
  margin: 0 0 1.2rem;
}

.af-prose ul,
.af-prose ol {
  margin: 0 0 1.35rem;
  padding-left: 1.35rem;
}

.af-prose li {
  margin-bottom: 0.5rem;
}

.af-prose blockquote {
  margin: 1.8rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--af-paper);
  border-left: 4px solid var(--af-gold);
  border-radius: 0 var(--af-radius-sm) var(--af-radius-sm) 0;
  font-family: var(--af-font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--af-ink);
}

.af-prose a {
  color: var(--af-emerald);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.af-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--af-border);
}

.af-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--af-muted);
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.af-tag:hover {
  color: var(--af-ink);
  border-color: var(--af-ink);
}

/* ---------- Bridge & Author Boxes ---------- */
.af-bridge-box {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: #f2f8f5;
  border: 1px solid #cce3da;
  border-radius: var(--af-radius);
}

.af-bridge-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.af-bridge-head h2 {
  margin: 0;
  font-family: var(--af-font-serif);
  font-size: 1.35rem;
}

.af-author-box {
  margin-top: 2.25rem;
  padding: 1.5rem;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.af-author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--af-ink);
  color: var(--af-gold-light);
  font-family: var(--af-font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.af-author-box h3 {
  margin: 0 0 0.35rem;
  font-family: var(--af-font-serif);
  font-size: 1.15rem;
}

.af-author-box p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--af-ink-soft);
}

/* ---------- Sidebar ---------- */
.af-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.af-sidebar-card {
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 1.5rem;
}

.af-sidebar-dark {
  background: var(--af-dark);
  border-color: var(--af-dark);
  color: var(--af-white);
}

.af-sidebar-dark p {
  color: #cbd5e1;
  font-size: 0.92rem;
}

.af-sidebar-title {
  margin: 0 0 1rem;
  font-family: var(--af-font-serif);
  font-size: 1.3rem;
  line-height: 1.25;
}

.af-info-list {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.af-info-list > div {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--af-border);
}

.af-info-list dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--af-muted);
  font-weight: 700;
}

.af-info-list dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--af-ink);
}

.af-info-list dd a {
  color: var(--af-emerald);
}

.af-services-box {
  margin-top: 2rem;
  padding: 1.65rem;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
}

.af-services-box h2 {
  margin: 0 0 1rem;
  font-family: var(--af-font-serif);
}

.af-services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
}

.af-services-list li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 500;
}

.af-services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--af-emerald);
  font-weight: 800;
}

/* ---------- Static Pages & Forms ---------- */
.af-page-narrow {
  max-width: 820px;
}

.af-page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.75rem;
  align-items: start;
}

.af-form-panel {
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 1.85rem;
}

.af-form-panel h2 {
  margin: 0 0 1.25rem;
  font-family: var(--af-font-serif);
  font-size: 1.45rem;
}

.af-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.af-field-full {
  grid-column: 1 / -1;
}

.af-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--af-ink);
}

.af-field input,
.af-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  background: var(--af-white);
  color: var(--af-ink);
}

.af-form-actions {
  margin-top: 1.25rem;
}

/* ---------- Pagination & Empty ---------- */
.af-pagination {
  margin-top: 2.5rem;
}

.af-pagination ul.page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.af-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.af-pagination .page-numbers.current {
  background: var(--af-ink);
  border-color: var(--af-ink);
  color: var(--af-white);
}

.af-empty,
.af-empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  color: var(--af-ink-soft);
}

/* ---------- Footer ---------- */
.af-footer {
  background: var(--af-dark);
  color: #d1d5db;
  border-top: 4px solid var(--af-gold);
}

.af-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.75rem;
}

.af-footer-brand {
  display: inline-block;
  font-family: var(--af-font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--af-white);
  margin-bottom: 0.75rem;
}

.af-footer-brand span {
  color: var(--af-gold-light);
}

.af-footer-desc {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--af-white);
}

.af-footer-note,
.af-footer-meta {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #9ca3af;
}

.af-footer-title {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--af-gold-light);
}

.af-footer-menu,
.af-legal-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.af-footer-menu li {
  margin-bottom: 0.55rem;
}

.af-footer-menu a {
  font-size: 0.9rem;
  color: #d1d5db;
}

.af-footer-menu a:hover,
.af-legal-menu a:hover,
.af-back-top:hover {
  color: var(--af-gold-light);
}

.af-footer-bottom {
  border-top: 1px solid var(--af-border-dark);
  padding: 1.25rem 0;
  font-size: 0.84rem;
}

.af-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.af-copyright {
  margin: 0;
  color: #9ca3af;
}

.af-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.af-back-top {
  font-weight: 600;
  color: var(--af-gold-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .af-hero-layout,
  .af-reading-layout,
  .af-newsletter-box,
  .af-page-split {
    grid-template-columns: 1fr;
  }

  .af-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .af-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .af-topbar-tagline,
  .af-topbar-sep,
  .af-header-search,
  .af-masthead-actions .af-btn {
    display: none;
  }

  .af-masthead {
    grid-template-columns: 1fr auto;
  }

  .af-menu-toggle {
    display: inline-flex;
  }

  .af-nav-bar {
    display: none;
  }

  .af-nav-bar.is-open {
    display: block;
  }

  .af-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 1rem;
    gap: 0.2rem;
  }

  .af-menu a {
    padding: 0.55rem 0;
    width: 100%;
  }

  .af-grid-3,
  .af-grid-2,
  .af-form-grid,
  .af-services-list,
  .af-footer-grid {
    grid-template-columns: 1fr;
  }

  .af-evt-card {
    flex-direction: column;
  }
}


/* ==========================================================================
   FORMULAIRE AUTONOME D'INSCRIPTION ENTREPRISE (/inscrire-mon-entreprise/)
   ========================================================================== */
.af-section-onboarding {
  background: var(--af-paper);
  padding: 2.75rem 0 4rem;
}


.af-onboarding-intro {
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-left: 4px solid var(--af-gold);
  border-radius: var(--af-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
}

.af-onboarding-intro > :first-child {
  margin-top: 0;
}

.af-onboarding-intro > :last-child {
  margin-bottom: 0;
}

.af-onboarding-wrap {
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  box-shadow: var(--af-shadow);
  padding: 2rem 2.25rem;
}

.af-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--af-border);
  font-size: 0.88rem;
}

.af-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--af-muted);
  font-weight: 600;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid transparent;
}

.af-step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  color: var(--af-muted);
}

.af-steps li.is-done {
  color: var(--af-emerald);
}

.af-steps li.is-done .af-step-num {
  background: var(--af-emerald-soft);
  border-color: var(--af-emerald);
  color: var(--af-emerald);
}

.af-steps li[aria-current="step"] {
  color: var(--af-ink);
  border-bottom-color: var(--af-gold);
}

.af-steps li[aria-current="step"] .af-step-num {
  background: var(--af-gold);
  border-color: var(--af-gold);
  color: var(--af-dark);
}

.af-onboarding-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.af-onboarding-form legend {
  font-family: var(--af-font-serif);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 700;
  color: var(--af-ink);
  margin: 0 0 0.5rem;
  padding: 0;
}

.af-step-intro {
  margin: 0 0 1.6rem;
  color: var(--af-muted);
  font-size: 0.95rem;
}

.af-onb-status:not(:empty) {
  padding: 0.95rem 1.15rem;
  border-radius: var(--af-radius-sm);
  margin-bottom: 1.4rem;
  font-size: 0.94rem;
  font-weight: 600;
  background: #fef3c7;
  color: #78350f;
  border: 1px solid #f59e0b;
}

.af-onb-status.is-error {
  background: #fee2e2;
  color: #7f1d1d;
  border-color: #ef4444;
}

.af-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cartes de formules (Étape 1) */
.af-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.af-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 1.35rem;
  background: var(--af-white);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.af-plan-card:hover {
  border-color: var(--af-gold);
  box-shadow: var(--af-shadow);
}

.af-plan-card input[type="radio"] {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 20px;
  height: 20px;
  accent-color: var(--af-emerald);
  margin: 0;
}

.af-plan-card:has(input:checked) {
  border-color: var(--af-emerald);
  background: #f3faf7;
  box-shadow: 0 0 0 2px rgba(15, 76, 58, 0.14);
}

.af-plan-card__top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-right: 1.75rem;
  margin-bottom: 0.75rem;
}

.af-plan-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  color: var(--af-emerald);
}

.af-plan-price {
  font-family: var(--af-font-serif);
  font-size: 1.35rem;
  color: var(--af-ink);
}

.af-plan-title {
  margin: 0 0 0.45rem;
  font-family: var(--af-font-serif);
  font-size: 1.12rem;
  line-height: 1.25;
}

.af-plan-subtitle {
  margin: 0 0 0.9rem;
  font-size: 0.87rem;
  color: var(--af-muted);
  line-height: 1.45;
}

.af-plan-features {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--af-border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--af-ink-soft);
}

.af-plan-features li {
  position: relative;
  padding-left: 1.2rem;
}

.af-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--af-emerald);
  font-weight: 700;
}

/* Champs, grilles et éditeur (Étape 2) */
.af-field-grid {
  display: grid;
  gap: 1.1rem;
}

.af-field-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.af-field-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.af-onb-field {
  margin-bottom: 1.15rem;
}

.af-field-grid .af-onb-field {
  margin-bottom: 0;
}

.af-field-grid {
  margin-bottom: 1.15rem;
}

.af-onb-field label,
.af-label-heading {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--af-ink);
  margin-bottom: 0.4rem;
}

.af-req {
  color: var(--af-crimson);
}

.af-field-help {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.82rem;
  color: var(--af-muted);
}

.af-onboarding-form input[type="text"],
.af-onboarding-form input[type="email"],
.af-onboarding-form input[type="tel"],
.af-onboarding-form input[type="url"],
.af-onboarding-form select,
.af-onboarding-form textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: var(--af-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--af-ink);
  background: var(--af-white);
}

.af-onboarding-form input:focus,
.af-onboarding-form select:focus,
.af-onboarding-form textarea:focus {
  outline: none;
  border-color: var(--af-emerald);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.14);
}

.af-editor-field .wp-editor-wrap {
  border: 1px solid #cbd5e1;
  border-radius: var(--af-radius-sm);
  overflow: hidden;
}

.af-char-counter {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--af-muted);
  text-align: right;
}

.af-char-counter.is-valid {
  color: var(--af-emerald);
  font-weight: 600;
}

.af-subhead {
  font-family: var(--af-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--af-ink);
  margin: 1.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--af-border);
}

.af-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.af-check-pill {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  background: var(--af-paper);
  font-weight: 500 !important;
  margin: 0 !important;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.af-check-pill:has(input:checked) {
  border-color: var(--af-emerald);
  background: var(--af-emerald-soft);
  color: var(--af-emerald);
  font-weight: 600 !important;
}

.af-check-pill input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--af-emerald);
  margin: 0;
  flex-shrink: 0;
}

.af-featured-extra {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--af-paper);
  border: 1px dashed var(--af-gold);
  border-radius: var(--af-radius-sm);
}

.af-featured-extra .af-subhead {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Médias & contact privé (Étape 3) */
.af-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.af-upload-box {
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--af-radius-sm);
  padding: 1.2rem;
  background: var(--af-paper);
}

.af-upload-box label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.af-upload-box input[type="file"] {
  width: 100%;
  font-size: 0.88rem;
  margin-top: 0.45rem;
}

.af-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.af-previews:empty {
  display: none;
}

.af-preview-item {
  margin: 0;
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-radius: 6px;
  padding: 0.3rem;
}

.af-preview-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.af-previews-logo .af-preview-item img {
  object-fit: contain;
  background: var(--af-white);
}

.af-preview-item figcaption {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--af-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.af-link-btn {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--af-crimson);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.af-private-card {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: #f3faf7;
  border: 1px solid #b7ddd0;
  border-radius: var(--af-radius);
}

.af-private-card__head h3 {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--af-font-serif);
  font-size: 1.2rem;
}

.af-private-card__head p {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--af-ink-soft);
}

/* Récapitulatif & consentements (Étape 4) */
.af-summary {
  margin: 0 0 1.75rem;
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  overflow: hidden;
}

.af-summary-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--af-border);
}

.af-summary-row:last-child {
  border-bottom: 0;
}

.af-summary-row:nth-child(odd) {
  background: var(--af-paper);
}

.af-summary dt {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--af-ink);
}

.af-summary dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--af-ink-soft);
  white-space: pre-line;
  word-break: break-word;
}

.af-consents {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.af-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  cursor: pointer;
}

.af-check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--af-emerald);
  flex-shrink: 0;
}

.af-check-row a {
  color: var(--af-emerald);
  text-decoration: underline;
  font-weight: 600;
}

/* Confirmation (Étape 5) */
.af-confirm-box {
  text-align: left;
  padding: 1.75rem;
  border-radius: var(--af-radius);
  background: #f3faf7;
  border: 1px solid #b7ddd0;
}

.af-confirm-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: var(--af-emerald);
  color: var(--af-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.af-confirm-box h3 {
  margin: 0 0 0.5rem;
  font-family: var(--af-font-serif);
  font-size: 1.5rem;
}

.af-confirm-lead {
  margin: 0 0 1.25rem;
  color: var(--af-ink-soft);
  font-size: 1rem;
}

.af-confirm-next {
  background: var(--af-white);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.4rem;
}

.af-confirm-next h4 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.af-confirm-next ol {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--af-ink-soft);
}

.af-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.af-confirm-actions .af-link-btn {
  margin-top: 0;
  color: var(--af-emerald);
}

/* Barre de navigation du wizard */
.af-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--af-border);
}

.af-form-nav #af-next {
  margin-left: auto;
}

/* Enrichissement fiche entreprise (logo, galerie, horaires, réseaux sociaux) */
.af-ent-logo-box {
  margin-bottom: 1rem;
  padding: 0.85rem;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.af-ent-logo-img {
  max-height: 92px;
  width: auto;
  object-fit: contain;
}

.af-preline {
  white-space: pre-line;
}

.af-ent-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.af-ent-socials a {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  color: var(--af-emerald);
}

.af-ent-socials a:hover {
  background: var(--af-emerald);
  border-color: var(--af-emerald);
  color: var(--af-white);
}

.af-ent-gallery-section {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--af-border);
}

.af-ent-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.af-ent-gallery__item {
  margin: 0;
  border-radius: var(--af-radius-sm);
  overflow: hidden;
  border: 1px solid var(--af-border);
}

.af-ent-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .af-plan-grid,
  .af-field-grid-3 {
    grid-template-columns: 1fr;
  }

  .af-onboarding-wrap {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 720px) {
  .af-field-grid-2,
  .af-checkbox-grid,
  .af-upload-grid,
  .af-ent-gallery,
  .af-summary-row {
    grid-template-columns: 1fr;
  }

  .af-summary-row {
    gap: 0.25rem;
  }

  .af-form-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .af-form-nav #af-next {
    margin-left: 0;
  }
}

.af-ent-monogram--logo {
  background: var(--af-white);
  border: 1px solid var(--af-border);
  padding: 4px;
  overflow: hidden;
}

.af-ent-card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Les listes et filtres restent rendus par le composant Phoenix. */
.af-native-list .row { row-gap: 1.5rem; }
.af-native-list .af-card,
.af-native-list .af-ent-card { height: 100%; }
.af-native-list form { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.af-native-list input,
.af-native-list select { min-height: 3rem; padding: .7rem 1rem; border: 1px solid #cdd6db; border-radius: .4rem; }
.af-native-list button,
.af-native-list input[type="submit"] { min-height: 3rem; padding: .7rem 1.3rem; border: 0; border-radius: .4rem; background: #123d35; color: #fff; }
.af-native-list button:focus-visible { outline: 3px solid #b58a40; outline-offset: 3px; }
.af-native-directory { margin-top: 2rem; }


/* ==========================================================================
   MISE À NIVEAU VISUELLE & FONCTIONNELLE :
   Annuaire (modèle GarageAuto), Agenda & Événements (modèle Prositeweb),
   Grilles SSR d'accueil et finitions éditoriales.
   ========================================================================== */

/* Hero éditorial spécialisé (Annuaire émeraude & Agenda nuit/or) */
.af-page-hero-emerald {
  background: linear-gradient(135deg, #0b392b 0%, #0f4c3a 55%, #165e48 100%);
  color: var(--af-white);
  border-bottom: 3px solid var(--af-gold);
}
.af-page-hero-emerald .af-breadcrumbs,
.af-page-hero-emerald .af-breadcrumbs a,
.af-page-hero-emerald .af-page-lead {
  color: rgba(255, 255, 255, 0.86);
}
.af-page-hero-emerald .af-page-title {
  color: var(--af-white);
}
.af-page-hero-emerald .af-cat-pill {
  background: rgba(255, 255, 255, 0.14);
  color: var(--af-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.af-page-hero-emerald .af-cat-pill:hover {
  background: var(--af-gold);
  color: var(--af-dark);
  border-color: var(--af-gold);
}

.af-page-hero-event {
  background: linear-gradient(135deg, #0f1722 0%, #172638 60%, #12382c 100%);
  color: var(--af-white);
  border-bottom: 3px solid var(--af-gold);
}
.af-page-hero-event .af-breadcrumbs,
.af-page-hero-event .af-breadcrumbs a,
.af-page-hero-event .af-page-lead {
  color: rgba(255, 255, 255, 0.82);
}
.af-page-hero-event .af-page-title {
  color: var(--af-white);
}
.af-page-hero-event .af-cat-pill {
  background: var(--af-gold);
  color: var(--af-dark);
  font-weight: 700;
}
.af-page-hero-event .af-location-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Bandeau de repères clés sur la page événement */
.af-event-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.af-event-highlight {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--af-radius-sm);
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.af-event-highlight__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--af-gold-light);
}
.af-event-highlight strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--af-white);
  line-height: 1.35;
}

.af-event-register-card {
  position: sticky;
  top: 112px;
  border: 1.5px solid #c3e2d6;
  box-shadow: 0 14px 36px rgba(15, 76, 58, 0.09);
}
.af-event-card-intro {
  font-size: 0.88rem;
  color: var(--af-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}
.af-share-bar--box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
}

/* Chapeau large au-dessus de l'Annuaire / Agenda / Formulaire d'inscription */
.af-wide-intro {
  max-width: 820px;
  margin-bottom: 2rem;
}
.af-wide-intro > *:last-child {
  margin-bottom: 0;
}

/* Puces rapides (rubriques, secteurs, filtres agenda) */
.af-quick-pills,
.af-pill-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.af-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--af-border);
  background: var(--af-white);
  color: var(--af-ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}
.af-filter-chip--sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}
.af-filter-chip:hover {
  border-color: var(--af-emerald);
  color: var(--af-emerald);
  background: var(--af-emerald-soft);
}
.af-filter-chip.is-active {
  background: var(--af-emerald);
  border-color: var(--af-emerald);
  color: var(--af-white);
}
.af-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--af-paper);
  color: var(--af-muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.af-filter-chip.is-active .af-chip-count {
  background: rgba(255, 255, 255, 0.22);
  color: var(--af-white);
}

/* Bandeau CTA sous la grille d'entreprises sur l'accueil */
.af-section-cta-bar {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #f3faf7 0%, #faf8f4 100%);
  border: 1px solid #c3e2d6;
  border-radius: var(--af-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.af-section-cta-bar p {
  margin: 0;
  font-weight: 600;
  color: var(--af-ink);
  max-width: 600px;
}
.af-section-cta-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   ANNUAIRE 2 COLONNES (Modèle GarageAuto / Phoenix)
   ========================================================================== */
.af-directory-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.af-directory-aside {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.af-dir-search {
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 1.5rem;
  box-shadow: var(--af-shadow);
}
.af-dir-search__head {
  margin-bottom: 1.15rem;
}
.af-dir-search__title {
  margin: 0.2rem 0 0;
  font-family: var(--af-font-serif);
  font-size: 1.35rem;
  color: var(--af-ink);
}
.af-dir-field {
  margin-bottom: 1rem;
}
.af-dir-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--af-ink);
  margin-bottom: 0.35rem;
}
.af-dir-field select,
.af-dir-field input {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 1px solid #d4ccbc;
  border-radius: var(--af-radius-sm);
  background: var(--af-white);
  color: var(--af-ink);
  font-family: inherit;
  font-size: 0.92rem;
}
.af-dir-field select:focus,
.af-dir-field input:focus {
  border-color: var(--af-emerald);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.12);
  outline: none;
}
.af-dir-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.af-dir-reset {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--af-muted);
  text-decoration: underline;
}
.af-dir-reset:hover {
  color: var(--af-crimson);
}
.af-dir-cta {
  margin: 0;
}

.af-dir-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--af-border);
}
.af-dir-count {
  margin: 0;
  font-size: 0.98rem;
  color: var(--af-ink-soft);
}
.af-dir-count strong {
  color: var(--af-emerald);
  font-size: 1.1rem;
}
.af-dir-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.af-dir-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--af-emerald-soft);
  color: var(--af-emerald);
  font-size: 0.8rem;
  font-weight: 700;
}
.af-dir-pill:hover {
  background: var(--af-emerald);
  color: var(--af-white);
}
.af-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
.af-dir-empty {
  text-align: center;
  padding: 3rem 1.75rem;
  background: var(--af-paper);
  border: 1px dashed var(--af-border);
  border-radius: var(--af-radius);
}
.af-dir-empty h3 {
  margin: 0 0 0.5rem;
  font-family: var(--af-font-serif);
  font-size: 1.35rem;
}
.af-dir-empty p {
  margin: 0 auto 1.35rem;
  max-width: 520px;
  color: var(--af-muted);
}
.af-dir-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.af-dir-loadmore-wrap {
  margin-top: 2rem;
  text-align: center;
}
.af-dir-status {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--af-muted);
}

/* ==========================================================================
   AGENDA ARCHIVE (`/evenements/`)
   ========================================================================== */
.af-agenda-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 1.1rem 1.35rem;
  background: var(--af-paper);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  margin-bottom: 2rem;
}
.af-agenda-filters .af-pill-group {
  margin-bottom: 0;
}
.af-agenda-block + .af-agenda-block {
  margin-top: 3rem;
}
.af-agenda-block--past {
  opacity: 0.85;
}
.af-agenda-cta {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  border-radius: var(--af-radius);
  background: linear-gradient(135deg, #0f1722 0%, #172230 100%);
  color: var(--af-white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(229, 190, 103, 0.25);
}
.af-agenda-cta h3 {
  margin: 0.25rem 0 0.45rem;
  font-family: var(--af-font-serif);
  font-size: 1.5rem;
  color: var(--af-white);
}
.af-agenda-cta p {
  margin: 0;
  color: #cbd5e1;
  max-width: 600px;
}

/* Polish finitions cartes & sections sombres */
.af-section-dark .af-card--batisseur {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--af-gold);
}
.af-section-dark .af-card--batisseur:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 190, 103, 0.45);
}
.af-ent-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.af-ent-card:hover {
  transform: translateY(-3px);
  border-color: #b7ddd0;
  box-shadow: var(--af-shadow-hover);
}
.af-evt-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.af-evt-card:hover {
  transform: translateY(-2px);
  border-color: var(--af-gold);
  box-shadow: var(--af-shadow-hover);
}

@media (max-width: 992px) {
  .af-directory-layout {
    grid-template-columns: 1fr;
  }
  .af-directory-aside,
  .af-event-register-card {
    position: static;
  }
}
@media (max-width: 720px) {
  .af-directory-grid {
    grid-template-columns: 1fr;
  }
  .af-agenda-cta {
    padding: 1.5rem;
  }
  .af-section-cta-bar {
    padding: 1.25rem;
  }
}

/* Puces de rubriques dans un en-tête sombre (ex. Les Bâtisseurs) */
.af-archive-pills {
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.af-page-hero-event .af-archive-pills .af-filter-chip {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--af-white);
}
.af-page-hero-event .af-archive-pills .af-filter-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--af-gold-light);
  color: var(--af-white);
}
.af-page-hero-event .af-archive-pills .af-filter-chip.is-active {
  background: var(--af-gold);
  border-color: var(--af-gold);
  color: var(--af-dark);
}
.af-page-hero-event .af-archive-pills .af-chip-count {
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

/* ==========================================================================
   PAGE RECHERCHE ÉDITORIALE (`/?s=...`) & 404
   ========================================================================== */
.af-search-term {
  color: var(--af-gold-light);
}
.af-search-hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 720px;
  margin-top: 1.5rem;
}
.af-search-hero-input-wrap {
  position: relative;
  flex: 1 1 320px;
}
.af-search-hero-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--af-muted);
  pointer-events: none;
}
.af-search-hero-input-wrap input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem 0.8rem 2.85rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: var(--af-white);
  color: var(--af-ink);
  font-family: inherit;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.af-search-hero-input-wrap input:focus {
  border-color: var(--af-gold);
  box-shadow: 0 0 0 3px rgba(229, 190, 103, 0.28);
  outline: none;
}
.af-search-hero-form .af-btn {
  min-height: 52px;
  padding-inline: 1.65rem;
}
.af-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 1rem;
  font-size: 0.84rem;
}
.af-search-suggestions__label {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}
.af-search-suggestions a {
  color: var(--af-gold-light);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
}
.af-search-suggestions a:hover {
  background: var(--af-gold);
  border-color: var(--af-gold);
  color: var(--af-dark);
}
.af-search-group + .af-search-group {
  margin-top: 3.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--af-border);
}
.af-search-empty {
  margin-bottom: 2.5rem;
}
@media (max-width: 600px) {
  .af-search-hero-form {
    flex-direction: column;
  }
  .af-search-hero-form .af-btn {
    width: 100%;
  }
}

/* ==========================================================================
   FORMULAIRE INFOLETTRE EN BAS DE PAGE (`af-newsletter-band` / `mc4wp-form`)
   ========================================================================== */
.af-newsletter-band {
  position: relative;
  border-top: 3px solid var(--af-gold);
}

.af-newsletter-copy > div,
.af-newsletter-copy p {
  margin: 0;
  color: #d6dde6;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52ch;
}

.af-newsletter-slot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.af-newsletter-slot .new_us_block:not(:empty) {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--af-radius-sm);
  background: rgba(230, 243, 238, 0.14);
  border: 1px solid rgba(229, 190, 103, 0.45);
  color: var(--af-white);
  font-size: 0.9rem;
  font-weight: 600;
}

.af-newsletter-slot .mc4wp-form,
.af-newsletter-slot .mc4wp-form-fields {
  margin: 0;
}

.af-newsletter-slot .main-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.af-newsletter-slot .aximo-form-field2 {
  margin: 0;
}

.af-newsletter-slot .aximo-form-field2:has(input[type="email"]),
.af-newsletter-slot .aximo-form-field2:has(input[type="submit"]),
.af-newsletter-slot .aximo-form-field2:has(button[type="submit"]),
.af-newsletter-slot .aximo-form-field2:has(.psw-optin-box) {
  grid-column: 1 / -1;
}

.af-newsletter-slot input[type="text"],
.af-newsletter-slot input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: var(--af-white);
  color: var(--af-ink);
  font-family: var(--af-font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.af-newsletter-slot input[type="text"]::placeholder,
.af-newsletter-slot input[type="email"]::placeholder {
  color: #6b7280;
}

.af-newsletter-slot input[type="text"]:focus,
.af-newsletter-slot input[type="email"]:focus {
  border-color: var(--af-gold);
  box-shadow: 0 0 0 3px rgba(229, 190, 103, 0.3);
  outline: none;
}

.af-newsletter-slot input[type="submit"],
.af-newsletter-slot .aximo-default-btn.corn-btn,
.af-newsletter-slot button[type="submit"] {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 10px;
  background: var(--af-gold);
  color: var(--af-dark);
  font-family: var(--af-font-sans);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(198, 146, 45, 0.28);
  transition: background-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.af-newsletter-slot input[type="submit"]:hover,
.af-newsletter-slot .aximo-default-btn.corn-btn:hover,
.af-newsletter-slot button[type="submit"]:hover {
  background: var(--af-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(198, 146, 45, 0.36);
}

.af-newsletter-slot input[type="submit"]:active,
.af-newsletter-slot .aximo-default-btn.corn-btn:active {
  transform: translateY(0);
}

@media (max-width: 560px) {
  .af-newsletter-slot {
    padding: 1.15rem;
  }

  .af-newsletter-slot .main-form {
    grid-template-columns: 1fr;
  }
}
