:root {
  --navy:        #0d2d6e;
  --olive:       #4a6741;
  --navy-dark:   #081c47;
  --black:       #000000;
  --navy-light:  #1e4060;
  --gold:        #ffab14;
  --gold-light:  #e8b84b;
  --cream:       #f5f0e8;
  --cream-dark:  #ede5d4;
  --text-light:  #6b6b6b;
  --white:       #ffffff;
 /* --font-display:'Cormorant Garamond', serif;
  --font-ui:     'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;*/
}

/**,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-body); background:var(--cream); color:#1a1a1a; overflow-x:hidden; }
*/
/* ══════════════════════════════════════
   MAP SECTION
══════════════════════════════════════ */
.map-section {
  background:var(--navy);
  padding:40px 40px 30px;
}
.map-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:22px;
}
.map-head-left .eyebrow {
  
  font-size:16px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:6px;
}
.map-head-left h2 {
  
  font-size:clamp(22px,3vw,40px);
  font-weight:600;
  color:var(--white);
  line-height:1.2;
}
.map-head-right {
  font-size:13px;
  color:rgba(255,255,255,.4);
  line-height:1.6;
  max-width:300px;
  text-align:right;
}

.map-wrap {
  position:relative;
  width:100%;
  max-width:980px;
  margin:0 auto;
  border:1px solid rgba(255,255,255,.08);
  line-height:0;
}
.map-wrap img {
  width:100%;
  height:auto;
  display:block;
}

.pin {
  position:absolute;
  transform:translate(-50%, -100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  pointer-events:none;
}
.pin-bubble {
  background:rgba(10,28,44,.92);
  border:1px solid rgba(201,149,42,.4);
  padding:3px 7px 4px;
  white-space:nowrap;
  line-height:1;
}
.pin-bubble b {
  
  font-size:10px;
  letter-spacing:.04em;
  color:var(--white);
  display:block;
  line-height:1.35;
}
.pin-bubble small {
  
  font-size:9px;
  color:var(--gold-light);
  display:block;
  line-height:1.2;
}
.pin-stem { width:1px; height:7px; background:rgba(255,255,255,.4); }
.pin-dot {
  width:8px; height:8px; border-radius:50%;
  background:var(--gold);
  border:1.5px solid var(--gold-light);
  box-shadow:0 0 0 3px rgba(201,149,42,.22);
}
.pin-dot.summit   { background:#8dd4f5; border-color:#c0e8fa; box-shadow:0 0 0 3px rgba(141,212,245,.2); }
.pin-dot.africa   { background:#7fc97a; border-color:#a5df9f; box-shadow:0 0 0 3px rgba(127,201,122,.2); }
.pin-dot.regional { background:var(--gold-light); border-color:#f5d47a; box-shadow:0 0 0 3px rgba(232,184,75,.2); }

.map-legend {
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
justify-content: center;
}
.legend-item { display:flex; align-items:center; gap:7px; }
.lg-dot { width:15px; height:15px; border-radius:50%; flex-shrink:0; }
.lg-label {  font-size:16px; letter-spacing:.04em; color:rgba(255,255,255,.72); }

/* ══════════════════════════════════════
   CONFERENCES LIST
══════════════════════════════════════ */
.conf-section { padding:60px 40px; max-width:1300px; margin:0 auto; }

.s-intro { margin-bottom:48px; }
.s-intro .eyebrow {  font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--olive); margin-bottom:7px; }
.s-intro h1 {  font-size:clamp(26px,3.5vw,40px); font-weight:600; color:var(--navy); line-height:1.2; margin-bottom:9px; }
.s-intro p { max-width:520px; }

.conf-group { margin-bottom:56px; }
.g-head {
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:20px;
  padding-bottom:14px;
  border-bottom:2px solid var(--cream-dark);
  flex-wrap:wrap;
}
.g-icon { width:38px; height:38px; background:var(--navy); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.g-icon svg { width:19px; height:19px; }
.g-title { font-size:30px; font-weight:700; letter-spacing:-0.01em; color:var(--navy); }
.g-count {  font-size:13px; color:var(--white); background:var(--gold); padding:4px 10px; letter-spacing:.05em; }
.g-line { flex:1; height:2px; background:linear-gradient(to right, rgba(30,64,96,.25), transparent); min-width:30px; }

.timeline { position:relative; padding-left:26px; }
.timeline::before {
  content:'';
  position:absolute;
  left:5px; top:12px; bottom:12px;
  width:2px;
  background:linear-gradient(to bottom, var(--navy-light), rgba(30,64,96,.1));
}

.tl-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px 36px; }

.c-entry { position:relative; }
.c-entry::before {
  content:'';
  position:absolute;
  left:-21px; top:19px;
  width:9px; height:9px;
  border-radius:50%;
  background:var(--cream);
  border:2px solid var(--navy-light);
  transition:background .2s, border-color .2s;
}
.c-entry:hover::before { background:var(--gold); border-color:var(--gold); }

.c-card {
  display:flex;
  align-items:center;
  gap:26px;
  padding:15px 16px;
  background:var(--white);
  border:1px solid rgba(0,0,0,.07);
  border-left:3px solid transparent;
  text-decoration:none;
  color:inherit;
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.c-card:hover {
  border-left-color:var(--gold);
  box-shadow:0 4px 16px rgba(0,0,0,.07);
  transform:translateX(3px);
}

.c-badge { flex-shrink:0; width:72px; text-align:center; }
.c-year {  font-size:22px; font-weight:700; color:var(--black); display:block; line-height:1; }
.c-flag { font-size:26px; display:block; margin-top:4px; }

.c-info { flex:1; min-width:0; }
.c-loc {  font-size:22px; font-weight:600; letter-spacing:.02em; color:var(--black); margin-bottom:3px; line-height:1.25; }
.c-desc { font-size:16px; color:#000; line-height:26px; margin-bottom:6px; }
.c-tags { display:flex; flex-wrap:wrap; gap:4px; }
.c-tag {  font-size:10px; letter-spacing:.07em; text-transform:uppercase; color:var(--olive); background:rgba(74,103,65,.07); border:1px solid rgba(74,103,65,.18); padding:2px 7px; }

.c-arrow { flex-shrink:0; width:30px; height:30px; background:var(--cream-dark); display:flex; align-items:center; justify-content:center; transition:background .2s; }
.c-card:hover .c-arrow { background:var(--gold); }
.c-arrow svg { width:12px; height:12px; fill:none; stroke:var(--navy); stroke-width:2; transition:stroke .2s; }
.c-card:hover .c-arrow svg { stroke:var(--white); }

/* ══════════════════════════════════════
   DECLARATIONS BAND
══════════════════════════════════════ */
.decl-band { background: #ffffff; padding: 60px 0px; }
  .decl-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
  .d-eyebrow {  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
  .d-title {  font-size: clamp(22px,3vw,38px); font-weight: 600; color: var(--navy); margin-bottom: 26px; line-height: 1.2; }
  .d-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px; }
  .d-card {
    background: #f5f5f3;
    border-top: 2px solid rgba(201,149,42,.4);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transition: background .2s, border-color .2s;
    cursor: pointer;
  }
  .d-card:hover { background: #ece9e1; border-top-color: var(--gold); }
  .d-yr    {  font-size: 16px; letter-spacing: .04em; color: #1a7ad4; font-weight: 600; }
  .d-name  {  font-size: 22px; font-weight: 600; color: #000; line-height: 1.2; }
  .d-place {  font-size: 16px; color: #000; letter-spacing: .04em; }
  .d-link  { margin-top: auto; padding-top: 10px;  font-size: 16px; letter-spacing: .04em; color: var(--gold); color: #1a7ad4; font-weight: 600;}
/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width:1024px) {
  .tl-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .map-section, .conf-section, .decl-band { padding-left:20px; padding-right:20px; }
  .map-head-right { text-align:left; max-width:none; }
}
@media (max-width:480px) {
  .pin-bubble, .pin-stem { display:none; }
  .pin { transform:translate(-50%, -50%); }
  .d-grid { grid-template-columns:1fr; }
  .c-card { gap:10px; }
  .tl-grid { gap:12px; }
}
/* Pins with the label to the right of the dot (used where labels would overlap) */
.pin.pin--right { flex-direction: row-reverse; transform: translate(-4px, -50%); }
.pin--right .pin-stem { width: 34px; height: 1px; }
@media (max-width:480px) {
  .pin.pin--right { transform: translate(-50%, -50%); }
}

/* Declaration card with a downloadable PDF */
a.d-card { text-decoration: none; }
.d-card--pdf { border-top-color: #1a7ad4; }
.d-card--pdf .d-name { font-size: 19px; }
.d-card span { display: block; }

/* Session 4: conference cards are information only (no links or arrows) */
.c-card { cursor: default; }
.c-card:hover { border-left-color: transparent; box-shadow: none; transform: none; }
.c-entry:hover::before { background: var(--cream); border-color: var(--navy-light); }
/* Two key declarations */
.decl-band .d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.decl-band a.d-card { cursor: pointer; }
.decl-band .d-card { border-top-width: 4px; }
@media (max-width: 768px) { .decl-band .d-grid { grid-template-columns: 1fr; } }
