/*
Theme Name:     Kleo Child
Theme URI: 		https://themeforest.net/item/kleo-pro-community-focused-multipurpose-buddypress-theme/6776630?ref=SeventhQueen
Description:    Child theme for Kleo
Author:         SeventhQueen
Author URI:     https://seventhqueen.com
Template:       kleo
Tags:  one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
License: GNU General Public License
License URI: license.txt
*/

:root {
  --navy:      #0365CC;
  --navy-mid:  #0365CC;
  --gold:      #b8923a;
  --gold-lt:   #d4a853;
  --cream:     #faf8f4;
  --white:     #ffffff;
  --border:    #ddd5c5;
  --text:      #1e1e1e;
  --muted:     #6b6358;
  --success-bg:#eef7ee;
  --success:   #2a7a2a;
  --error-bg:  #fdf0f0;
  --error:     #b02020;
  --radius:    10px;
  --shadow:    0 8px 40px rgba(13,37,69,.10);
}

.br-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.br-event-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.br-event-card:hover {
    transform: translateY(-4px);
}

.br-event-date {
    font-size: 1.3rem;
    color: #0365CC;
    margin-bottom: 8px;
    font-weight: bold;
}

.br-event-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #111;
}

.br-event-venue {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
}

.br-event-link {
    display: inline-block;
    padding: 8px 12px;
    background: #0365CC;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}

section.breadcrumbs-container{display: none;}

#menu-top-menu {
    background: #f5f5f5;
    padding: 10px 20px;
    font-size: 14px;
}

.top-menu li>a {
    line-height: 33px;
    border-right-width: 0;
    border-right-style: solid;
    display: inline-block;
    padding: 0 8px;
    color: #0365CC;
    font-size: 2rem;
    margin-right: 2rem;
}

div#header{
    padding: 1rem;
}

div.kleo-main-header{
    border: none;
}

.header-color.social-header{
    border: none;
}

.navbar-nav>li>a {
    font-size: 2rem;
}

.dropdown-menu li a {
    font-size: 2rem;
}



  :root {
    --cream: #f0f4f8;
    --parchment: #dce8f0;
    --dark: #0d1a2b;
    --brown: #1a3a5c;
    --gold: #0365CC;
    --gold-light: #4fa3d4;
    --rust: #0e4d7a;
    --muted: #5a7a96;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background-color: var(--cream);
    color: var(--dark);
    font-family: 'Lora', Georgia, serif;
    font-size: 17px;
    line-height: 1.8;
    overflow-x: hidden;
  }

  /* Grain overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
  }

  /* ─── HEADER ─────────────────────────────────────── */
  header#headerContent {
    position: relative;
    background: var(--brown);
    color: var(--parchment);
    text-align: center;
    padding: 5rem 2rem 4rem;
    overflow: hidden;
  }

  header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(79,163,212,0.25) 0%, transparent 70%);
  }

  .header-ornament p{
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
  }

  header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
  }

  header h1 em {
    font-style: italic;
    color: var(--gold-light);
  }

  .header-subtitle {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(237,229,208,0.75);
    margin-bottom: 2.5rem;
  }

  .header-date-range {
    align-items: center;
    gap: 1rem;
    font-size: 2;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: white;
    border-top: 1px solid rgba(184, 134, 11, 0.4);
    border-bottom: 1px solid rgba(184, 134, 11, 0.4);
    padding: 0.6rem 2rem;
  }

  .header-date-range span { opacity: 0.5; }

  /* ─── INTRO ─────────────────────────────────────── */
  .intro {
    max-width: 680px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
  }

  .intro-drop {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 800;
    float: left;
    line-height: 0.8;
    margin: 0.1em 0.1em 0 0;
    color: var(--gold);
  }

  .intro p {
    color: var(--brown);
    text-align: justify;
    hyphens: auto;
  }

  .intro-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 400px;
    color: var(--gold);
  }

  .intro-divider::before,
  .intro-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
  }

  .intro-divider-icon {
    font-size: 1.2rem;
    opacity: 0.8;
  }

  /* ─── TIMELINE ───────────────────────────────────── */
  .timeline-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    position: relative;
  }

  .timeline-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold) 5%, var(--gold) 95%, transparent);
    opacity: 0.45;
    transform: translateX(-50%);
  }

  .era-title {
    text-align: center;
    position: relative;
    margin: 4rem 0 2rem;
  }

  .era-title h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--cream);
    display: inline-block;
    padding: 1rem;
    position: relative;
    z-index: 2;
    font-size: 2rem;
  }

  /* Timeline entry */
  .entry {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .entry.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .entry-left, .entry-right {
    padding: 1.5rem;
  }

  .entry-left { text-align: right; }
  .entry-right { text-align: left; }

  .entry-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 1.2rem;
    gap: 0;
    position: relative;
  }

  .year-badge {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    background: var(--cream);
    border: 1.5px solid rgba(30,111,168,0.45);
    border-radius: 2px;
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    position: relative;
    z-index: 2;
  }

  .entry-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    margin: 0.5rem 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .entry-card {
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(30,111,168,0.2);
    border-radius: 3px;
    padding: 1.2rem 1.5rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 20px rgba(13,26,43,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
  }

  .entry-card:hover {
    box-shadow: 0 6px 30px rgba(13,26,43,0.12);
    transform: translateY(-2px);
  }

  .entry-card p {
    line-height: 1.75;
    color: var(--brown);
    text-align: left;
    hyphens: auto;
  }

  .entry-card strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    display: block;
    margin-bottom: 0.4rem;
  }

  /* Alternate sides */
  .entry.left .entry-right { visibility: hidden; }
  .entry.right .entry-left { visibility: hidden; }

  /* Large milestone */
  .entry.milestone {
    margin-bottom: 3.5rem;
  }

  .entry.milestone .entry-card {
    background: rgba(30,111,168,0.06);
    border-color: rgba(30,111,168,0.4);
  }

  .entry.milestone .year-badge {
    font-size: 0.95rem;
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
  }

  /* ─── WAR SECTION ─────────────────────────────── */
  .war-band {
    background: var(--brown);
    color: var(--parchment);
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
  }

  .war-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255,255,255,0.03) 10px,
      rgba(255,255,255,0.03) 20px
    );
  }

  .war-band h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
  }

  .war-band blockquote {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(237,229,208,0.9);
  }

  /* ─── PRESIDENTS ─────────────────────────────── */
  .presidents-section {
    background: var(--parchment);
    padding: 4rem 2rem;
    margin: 3rem 0;
  }

  .presidents-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }

  .presidents-section h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 0.5rem;
  }

  .presidents-subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2.5rem;
  }

  .presidents-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    list-style: none;
  }

  .presidents-list li {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    color: var(--dark);
    position: relative;
    padding: 0 1rem;
  }

  .presidents-list li::after {
    content: '·';
    position: absolute;
    right: -1.1rem;
    color: var(--gold);
    font-size: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .presidents-list li:last-child::after { display: none; }

  .presidents-list li em {
    font-size: 0.78rem;
    display: block;
    color: var(--muted);
    font-style: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.1rem;
  }

  /* ─── FOOTER ─────────────────────────────────── */
  footer {
    background: var(--dark);
    color: rgba(237,229,208,0.6);
    text-align: center;
    padding: 2.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  footer .footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
  }

  /* ─── RESPONSIVE ──────────────────────────────── */
  @media (max-width: 680px) {
    .timeline-section::before { left: 28px; }

    .entry {
      grid-template-columns: 56px 1fr;
      grid-template-rows: auto;
    }

    .entry .entry-center { padding-top: 1.5rem; }
    .entry .entry-right,
    .entry.left .entry-right,
    .entry.right .entry-left {
      visibility: visible;
      padding-left: 0;
    }
    .entry .entry-left { display: none; }
    .entry.left .entry-left { display: none; }
    .entry.right .entry-left { display: none; }

    .intro-drop { font-size: 3.5rem; }
  }

  /* ─── ANIMATIONS ─────────────────────────────── */
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  header { animation: fadeDown 0.9s ease both; }
  .intro { animation: fadeDown 0.9s 0.2s ease both; }


  .asimac-adhesion {
    border-radius: 16px;
    width: 100%;
    overflow: hidden;
    animation: slideUp .45s ease both;
    padding: 2rem;
  }

  @keyframes slideUp {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
  }





/* ── Header strip ───────────────────────────── */
.asimac-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 36px 40px 32px;
  position: relative;
  overflow: hidden;
}

.asimac-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 40px solid rgba(184,146,58,.15);
  pointer-events: none;
}

.asimac-header::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 24px solid rgba(255,255,255,.06);
  pointer-events: none;
}

.asimac-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,146,58,.18);
  border: 1px solid rgba(184,146,58,.35);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 14px;
}

.asimac-badge svg {
  width: 12px; height: 12px;
  fill: var(--gold-lt);
}

.asimac-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(22px, 4vw, 28px);
  color: var(--white);
  line-height: 1.25;
}

.asimac-header h1 span {
  color: var(--gold-lt);
}

/* ── Body ───────────────────────────────────── */
.asimac-body {
  padding: 36px 40px 40px;
}

/* ── Sections ───────────────────────────────── */
.asimac-section {
  margin-bottom: 32px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.section-title .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Grid ───────────────────────────────────── */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

/* ── Field ──────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req {
  color: var(--gold);
  margin-left: 2px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.field input:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26,58,102,.10);
}

/* ── Adherent badge ─────────────────────────── */
.adherent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 4px;
}

.adherent-chip strong {
  color: var(--gold);
  font-weight: 600;
}

/* ── Radio cards ────────────────────────────── */
.radio-group {
  display: grid;
  gap: 10px;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}

.radio-card:has(input:checked) {
  border-color: var(--navy-mid);
  background: #f0f5ff;
}

.radio-card input[type="radio"],
.radio-card input[type="checkbox"] {
  accent-color: var(--navy);
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.radio-card .rc-label {
  flex: 1;
}

.radio-card .rc-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.radio-card .rc-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.radio-card .rc-price {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  align-self: center;
}

/* ── Divider ────────────────────────────────── */
.asimac-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 28px 0;
}

/* ── RGPD checkbox ──────────────────────────── */
.rgpd-card {
  background: #f5f2ed;
  border-radius: var(--radius);
  padding: 14px 16px;
}

.rgpd-card .radio-card {
  background: transparent;
  border: none;
  padding: 0;
}

.rgpd-card .rc-sub {
  font-size: 11px;
  line-height: 1.5;
}

/* ── Submit ─────────────────────────────────── */
.asimac-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 28px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 15px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: .02em;
  transition: opacity .2s, transform .15s;
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184,146,58,.12);
  opacity: 0;
  transition: opacity .2s;
}

.btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.btn-submit:hover::after { opacity: 1; }
.btn-submit:active { transform: translateY(0); }

.submit-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

/* ── Not logged in ──────────────────────────── */
.asimac-gate {
  padding: 36px 40px 40px;
  text-align: center;
}

.asimac-gate p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.gate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}

.btn-gate-primary {
  background: var(--navy);
  color: var(--white) !important;
}

.btn-gate-primary:hover { background: var(--navy-mid); }

.btn-gate-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-gate-secondary:hover { border-color: var(--navy); }

.gate-divider {
  color: var(--muted);
  font-size: 12px;
  margin: 0 4px;
}

/* ── Alerts ─────────────────────────────────── */
.asimac-success {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--success-bg);
  border: 1px solid #b6e0b6;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--success);
  line-height: 1.5;
}

.asimac-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--error-bg);
  border: 1px solid #f0bebe;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--error);
  line-height: 1.5;
}


#connexionBlock {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0365CC;
    border: 2px solid #f0f4f8; 
    padding: 20px;
    border-radius: 8px;
}

.connexion-title {color: #f0f4f8 !important;}
.section-title {color: #f0f4f8 !important;}
.bold {font-weight: bold;}
.sidebar-right .inner-content {padding-left: 0px;}
.btnSidebar{background: white;padding: 1.5rem;border-radius: 2rem;margin-top: 1rem;display: block;text-align: center;}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 520px) {
  .asimac-header,
  .asimac-body,
  .asimac-gate { padding-left: 24px; padding-right: 24px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .field-full { grid-column: 1; }
}