/*
Theme Name:  AfriCHI
Theme URI:   https://africhi.africa
Author:      AfriCHI Organising Committee
Author URI:  https://africhi.africa
Description: Official theme for the AfriCHI 2027 conference.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: africhi
Tags:        conference, academic, minimal
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #111110;
  --ink:        #2c2c2a;
  --mid:        #6b6b67;
  --muted:      #9b9b97;
  --rule:       #e4e3de;
  --surface:    #f7f6f2;
  --white:      #ffffff;
  --teal:       #21381a;  
  --teal-2: #0d7a5f;
  --teal-light: #e3f3ee; 
  --teal-border: #cfe3d7; 
  --fresh-green:   #7fb56a;
  --earth-red: #dc493a;
  --earth-red-light: #FDF0EA;
  --teal-mid: #1b5e42;
  --teal-mist: #d4e8d8;
  --yellow: #f7942f;
  --bowstring: #D6D1C8;
  --ink-light: #7A7568;
  --cream: #f7f4ef;
  --cream-dark: #ede9e0;
  --primary--titles: #13210f;
  --serif:   'DM Serif Display', Georgia, serif;
  --sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --heading: 'Space Grotesk', system-ui, sans-serif;
  --spacing: 0.25rem;	
  
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); }

main {
    max-width: 1242px;
    padding: 60px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   HEADER STYLES
   ============================================================ */

h1 {
    color: var(--primary--titles);
    letter-spacing: -.1rem;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.297em
}

h2 {
    color: var(--black);
    letter-spacing: 0;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.333em
}

h3 {
    color: var(--primary--titles);
    letter-spacing: .01em;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.259em
}

h4 {
    color: var(--primary--titles);
    letter-spacing: .02em;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.364em
}

h5 {
    color: var(--primary--titles);
    letter-spacing: .01em;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.333em
}

h6 {
    color: var(--primary--titles);
    letter-spacing: .01em;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.375em
}

.display-heading {
	font-size: 80px !important;
	line-height: 0.98;
}
p {
  margin-bottom: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { 
  color: inherit;
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

strong { font-weight: 700;}
.text-xs {
	font-size: 0.75rem;
	line-height: calc(1.25 / 0.75);
	font-weight:600;
}
.text-sm {
	font-size: 0.875rem;
	line-height: calc(1.25 / 0.875);
	font-weight: 700;
	margin-bottom: 0 !important;
}

.info-pill {
    padding-block: calc(0.25rem * 3);
    background-color: color-mix(in srgb, var(--teal) 7%, transparent);
    border: 1px solid color-mix(in srgb, var(--teal) 10%, transparent);
    border-radius: 12px;
    padding-inline: 20px;
}
.border-white-60 {
	background-color: color-mix(in srgb, var(--white) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
}
.border-teal-100 {
	border: 1px solid var(--teal);
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}
.padding-bottom-5 {
	padding-bottom:calc(var(--spacing) * 5);
}
.padding-bottom-10 {
	padding-bottom:calc(var(--spacing) * 10);
}
.padding-bottom-20 {
	padding-bottom:calc(var(--spacing) * 20);
}
.py-4 {
    padding-block: calc(var(--spacing) * 4);
}
.px-6 {
    padding-inline: calc(var(--spacing) * 6);
}
.margin-top-1.5: {
	margin-top:calc(var(--spacing) * 1.5);
}
.margin-top-1: {
	margin-top:calc(var(--spacing) * 1) !important;
}
.margin-bottom-4 {
    margin-bottom: calc(var(--spacing) * 4) !important;
}
.margin-bottom-5 {
    margin-bottom: calc(var(--spacing) * 5) !important;
}
.margin-bottom-12 {
    margin-bottom: calc(var(--spacing) * 12) !important;
}
.width-1px {
	width:1px;
}
.width-3 {
	width:calc(var(--spacing) *3);
}
.max-width-600 {
  max-width: 600px !important;
  margin: 0 auto;
}
.height-3 {
	height:calc(var(--spacing) *3);
}
.rounded-full {
    border-radius: calc(infinity * 1px);
}
.rounded-lg {
	border-radius: 0.5rem;
}
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.items-start {
    align-items: flex-start;
}
.gap-0 {
    gap: calc(var(--spacing) * 0);
}
.gap-4 {
    gap: calc(var(--spacing) * 4);
}
.gap-6 {
    gap: calc(var(--spacing) * 6);
}
/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: var(--teal); padding: 18px 40px;
  display: block; align-items: center; justify-content: center; gap: 16px;
  font-size: 16px; line-height:24px; color: rgba(255,255,255,0.9); text-align: center;
}
.announce-bar a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.announce-bar-pill {
  background: rgba(255,255,255,0.18); border-radius: 20px;
  padding: 2px 10px; font-size: 10px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  max-width: 1242px;
  margin-left: auto;
  margin-right: auto;

}
.site-logo {
  font-family: var(--serif); font-size: 18px; color: var(--black);
  text-decoration: none; letter-spacing: -0.01em;
}
.site-logo span { font-style: italic; color: var(--teal); }

.site-header .custom-logo {width: 160px;
}

.primary-nav { display: flex; align-items: center; gap: 8px; list-style: none; }
.primary-nav a {
  font-size: 16px; font-weight: 500; color: var(--mid);
  text-decoration: none; padding: 12px 16px; line-height: 24px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.01em;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--teal); }
.nav-cta {
  font-size: 16px; font-weight: 500; color: var(--white) !important;
  background: var(--teal); border-radius: 4px;
  padding: 8px 16px !important; text-decoration: none; margin-left: 12px;
  transition: opacity 0.15s; letter-spacing: 0.02em;
  height: auto !important; border-bottom: none !important;
}
.nav-cta:hover { opacity: 0.88; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--ink);
}
.nav-toggle svg { display: block; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__hamburger { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ── Sub-menus ──────────────────────────────────────────── */

/* Any nav item that has children gets a relative context */
.primary-nav li {
  position: relative;
  list-style: none;
}

/* The dropdown panel */
.primary-nav .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  position: absolute;
  top: calc(100% + 1px);   /* sits flush under the nav border */
  left: 0;
  min-width: 220px;
  z-index: 200;

  background: var(--white);
  border: 1px solid var(--rule);
  /*border-radius: 8px;*/
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 6px 0;
  list-style: none;

  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

/* Right-align dropdowns that would overflow the viewport */
.primary-nav li:last-child .sub-menu,
.primary-nav li:nth-last-child(2) .sub-menu {
  left: auto;
  right: 0;
}

/* Show on hover (JS adds .is-open) or keyboard focus-within */
.primary-nav li.is-open > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  display: grid;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0s;
}

/* Chevron indicator on parent items */
.primary-nav .menu-item-has-children > a {
  padding-right: 10px;
  gap: 8px;
}
.primary-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
  flex-shrink: 0;
  opacity: 0.5;
}
.primary-nav .menu-item-has-children.is-open > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after {
  transform: rotate(225deg) translateY(-2px);
  opacity: 0.8;
}

/* Sub-menu items */
.primary-nav .sub-menu li {
  position: relative;
}
.primary-nav .sub-menu a {
  height: auto;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--mid);
  border-bottom: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
  border-radius: 0;
}
.primary-nav .sub-menu a:hover {
  color: var(--black);
  background: var(--surface);
  border-bottom-color: transparent !important;
}

/* Divider between groups (add class 'menu-divider' to a WP menu item) */
.primary-nav .sub-menu .menu-divider > a {
  pointer-events: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  cursor: default;
}
.primary-nav .sub-menu .menu-divider:not(:first-child) {
  border-top: 1px solid var(--rule);
  margin-top: 6px;
  padding-top: 6px;
}

/* Third level (nested sub-menu) */
.primary-nav .sub-menu .sub-menu {
  top: -6px;
  left: calc(100% + 4px);
  right: auto;
}
.primary-nav .sub-menu li:hover > .sub-menu,
.primary-nav .sub-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.primary-nav .sub-menu .menu-item-has-children > a::after {
  transform: rotate(-45deg) translateY(0);
}
.primary-nav .sub-menu .menu-item-has-children:hover > a::after {
  transform: rotate(-45deg) translateY(0);
}

/* ── Mega-menu ──────────────────────────────────────────── */
/* Add class "mega-menu" to any top-level WP menu item in
   Appearance → Menus.
   Level 2 items = column headings (may be real links).
   Level 3 items = links within each column.              */

/* Remove the li containing block so the panel positions
   relative to .site-header (position: sticky)            */
.primary-nav .mega-menu {
  position: static;
}

/* The panel */
.primary-nav .mega-menu > .sub-menu {
  position: absolute;
  top: calc(100% - 16px);
  left: 0;
  right: 0;
  min-width: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  padding: 28px 40px 36px;
  /*display: grid;*/
  display: none;
  pointer-events: none;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 40px;
  align-items: start;
}

/* Column heading — second-level <a> */
.primary-nav .mega-menu > .sub-menu > li > a {
  height: auto;
  padding: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  /*border-bottom: 2px solid var(--rule) !important;*/
  margin-bottom: 6px;
  white-space: normal;
  display: block;
  justify-content: flex-start;
}
.primary-nav .mega-menu > .sub-menu > li > a:hover {
  color: var(--black);
  background: transparent;
}

/* No chevron on column headings */
.primary-nav .mega-menu > .sub-menu > li.menu-item-has-children > a::after {
  display: none;
}

/* Third-level sub-menu — always visible, no flyout */
.primary-nav .mega-menu > .sub-menu .sub-menu {
  position: static;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  min-width: 0;
  transition: none;
  display: block !important;
}

/* Third-level links */
.primary-nav .mega-menu > .sub-menu .sub-menu a {
  padding: 7px 0;
  font-size: 14px;
  white-space: normal;
  justify-content: flex-start;
}
.primary-nav .mega-menu > .sub-menu .sub-menu a:hover {
  background: transparent;
  padding-left: 4px;
}

/* Mega-menu mobile collapse */
@media (max-width: 768px) {
  .primary-nav .mega-menu {
    position: relative;
  }
  .primary-nav .mega-menu > .sub-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
    border: none;
    box-shadow: none;
  }
  .primary-nav .mega-menu > .sub-menu.is-open {
    display: grid;
  }
  .primary-nav .mega-menu > .sub-menu > li > a {
    padding: 11px 20px 11px 32px;
    border-bottom: none !important;
    margin-bottom: 0;
  }
  .primary-nav .mega-menu > .sub-menu .sub-menu {
    display: none !important;
  }
  .primary-nav .mega-menu > .sub-menu .sub-menu.is-open {
    display: block !important;
  }
  .primary-nav .mega-menu > .sub-menu .sub-menu a {
    padding: 10px 32px;
  }
}

/* ── Mobile sub-menu (accordion style) ─────────────────── */
@media (max-width: 768px) {
  .primary-nav .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--rule);
    padding: 0;
    display: none;   /* toggled by JS on mobile */
    background: var(--surface);
    min-width: 0;
    transition: none;
  }

  .primary-nav .sub-menu.is-open {
    display: block;
  }

  .primary-nav .sub-menu a {
    padding: 11px 20px 11px 32px;
    font-size: 14px;
  }

  .primary-nav .menu-item-has-children > a::after {
    margin-left: auto;
    transition: transform 0.2s;
  }

  .primary-nav .menu-item-has-children.is-open > a::after {
    transform: rotate(225deg) translateY(-2px);
    opacity: 0.8;
  }

  /* Third level indent on mobile */
  .primary-nav .sub-menu .sub-menu a {
    padding-left: 48px;
  }


  /* Headers */
   h1 {
        font-size:48px
    }

    h2 {
        font-size: 36px
    }

    h3 {
        font-size: 24px
    }

    h4 {
        font-size: 20px
    }
}


/* ============================================================
   HERO
   ============================================================ */
.hero-wrap {
  position: relative; width: 100%; height: 88vh; min-height: 560px; max-height: 780px;
  overflow: hidden; background: #1a2a24;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  filter: saturate(0.8);
  transition: transform 8s ease-out;
}
.hero-wrap:hover .hero-img { transform: scale(1.03); }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,16,0.08) 0%,
    rgba(10,20,16,0.15) 40%,
    rgba(10,20,16,0.72) 72%,
    rgba(10,20,16,0.92) 100%
  );
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 56px 52px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero-left { max-width: 600px; }
.hero-conference-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45); text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.hero-conference-label::before {
  content: ''; display: inline-block; width: 20px; height: 1px;
  background: var(--teal); flex-shrink: 0;
}
.hero-theme-title {
  font-family: var(--serif); font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.0; color: #ffffff; letter-spacing: -0.025em; margin-bottom: 0;
}
.hero-theme-title .p-people { color: #ffffff; }
.hero-theme-title .p-place  { color: #5ecba8; font-style: italic; }
.hero-theme-title .p-poss   { color: rgba(255,255,255,0.7); }
.hero-theme-title .comma    { color: rgba(255,255,255,0.35); font-style: normal; }
.hero-slogan {
  font-size: 14px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em;
  margin-top: 10px; margin-bottom: 28px;
  font-style: italic; font-weight: 300;
  border-left: 2px solid var(--teal); padding-left: 12px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; }
.hero-stats {
  display: flex; flex-direction: column; gap: 1px;
  flex-shrink: 0; min-width: 180px;
}
.hero-stat {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1); padding: 16px 20px;
}
.hero-stat:first-child { border-radius: 8px 8px 0 0; }
.hero-stat:last-child  { border-radius: 0 0 8px 8px; }
.hero-stat-num {
  font-family: var(--serif); font-size: 28px;
  color: #ffffff; letter-spacing: -0.02em; line-height: 1; margin-bottom: 3px;
}
.hero-stat-label { font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-photo-credit {
  position: absolute; bottom: 12px; right: 56px;
  font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.04em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary, .is-style-fill a, .contact-form input[type ="submit"] {
  font-size: 16px; font-weight: 500; color: var(--white);
  background: var(--teal); border-radius: 0px;
  padding: 12px 24px; text-decoration: none !important;
  transition: opacity 0.15s; letter-spacing: 0.02em; display: inline-block;
}

.btn-primary:hover, .is-style-fill:hover, .contact-form input[type ="submit"]:hover { opacity: 0.80; color: var(--white); cursor: pointer; }
.btn-ghost {
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 0px;
  padding: 12px 24px; text-decoration: none; background: transparent;
  transition: border-color 0.15s, color 0.15s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline {
  font-size: 16px; font-weight: 500; color: var(--teal);
  border: 1px solid var(--teal); border-radius: 0px;
  padding: 10px 20px; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, color 0.15s; display: inline-block;
}
.btn-outline:hover, .is-style-outline a:hover { background: var(--teal); border: 1px solid var(--teal); color: var(--white) !important; transition: background 0.15s}

.btn-primary-nav {
  font-size: 16px; font-weight: 500;
  background: var(--teal); border-radius: 0px;
  text-decoration: none;
  transition: opacity 0.15s; letter-spacing: 0.02em; display: inline-block;
}
.btn-primary-nav a {
  color: var(--white) !important;
  text-decoration: none;
}
.btn-primary-nav:hover { opacity: 0.80;}
.btn-primary-nav a :hover { color: var(--white) !important; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-divider { border: none; border-top: 1px solid var(--rule); margin: 0 40px; }
.section { padding: 72px 40px; max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--teal); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 38px);
  color: var(--black); letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.15;
}
.section-lead { font-size: 15px; color: var(--mid); line-height: 1.7; max-width: 520px; font-weight: 300; }

/* ============================================================
   CHAIRS MESSAGE
   ============================================================ */
.chairs-section { background: var(--surface); padding: 72px 40px; }
.chairs-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 5fr 3fr; gap: 80px; align-items: start; }
.chairs-quote {
  font-family: var(--serif); font-size: clamp(20px, 2.5vw, 28px);
  color: var(--black); line-height: 1.45; letter-spacing: -0.01em; margin-bottom: 28px;
}
.chairs-quote em { font-style: italic; color: var(--teal); }
.chairs-body { font-size: 14px; color: var(--mid); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }
.chairs-people { display: flex; flex-direction: column; gap: 16px; }
.chair-person { display: flex; gap: 12px; align-items: center; }
.chair-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--teal); overflow: hidden;
}
.chair-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chair-name { font-size: 14px; font-weight: 500; color: var(--black); }
.chair-role { font-size: 11px; color: var(--muted); margin-top: 1px; }
.chairs-aside-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.chairs-aside-stat { margin-bottom: 24px; }
.chairs-aside-num { font-family: var(--serif); font-size: 40px; color: var(--black); letter-spacing: -0.02em; line-height: 1; }
.chairs-aside-desc { font-size: 12px; color: var(--mid); margin-top: 4px; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-section { padding: 72px 40px; max-width: 1100px; margin: 0 auto; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.benefit-card {
  border: 1px solid var(--rule); border-radius: 8px; padding: 28px 24px;
  transition: border-color 0.15s;
}
.benefit-card:hover { border-color: var(--teal); }
.benefit-num {
  font-family: var(--serif); font-size: 32px; color: var(--teal);
  line-height: 1; margin-bottom: 14px; letter-spacing: -0.02em;
}
.benefit-title { font-size: 16px; font-weight: 500; color: var(--black); margin-bottom: 8px; }
.benefit-desc { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* ============================================================
   CALL FOR PARTICIPATION / TRACKS
   ============================================================ */
.tracks-header { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; margin-bottom: 48px; }
.tracks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden;
}
.track-card { background: var(--white); padding: 24px 20px; transition: background 0.12s; }
.track-card:hover { background: var(--surface); }
.track-tag {
  display: inline-block; font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px; margin-bottom: 10px;
}
.tag-research  { background: var(--teal-light); color: var(--teal); }
.tag-convo     { background: #eef1fc; color: #3d52b5; }
.tag-activity  { background: #fdf0e6; color: #9a5116; }
.track-name { font-size: 14px; font-weight: 500; color: var(--black); margin-bottom: 6px; }
.track-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }
.tracks-deadline {
  margin-top: 24px; padding: 14px 20px;
  border: 1px solid var(--rule); border-radius: 6px;
  display: flex; align-items: center; justify-content: space-between; font-size: 13px;
}
.tracks-deadline-label { color: var(--mid); }
.tracks-deadline-date  { font-weight: 500; color: var(--black); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section { background: var(--surface); padding: 72px 40px; }
.timeline-inner { max-width: 1100px; margin: 0 auto; }
.timeline-header { margin-bottom: 48px; }
.timeline-col-head {
  background: var(--teal); color: white;
  padding: 12px 20px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.timeline-col-head:first-child { border-radius: 8px 0 0 0; }
.timeline-col-head:last-child  { border-radius: 0 8px 0 0; }
.timeline-grid-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.timeline-grid-cols  { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.timeline-col { background: var(--white); border: 1px solid var(--rule); }
.timeline-col:first-child { border-radius: 0 0 0 8px; border-right: none; }
.timeline-col:last-child  { border-radius: 0 0 8px 0; }
.timeline-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 20px; border-bottom: 1px solid var(--rule); font-size: 13px;
}
.timeline-row:last-child { border-bottom: none; }
.timeline-date  { font-weight: 500; color: var(--teal); min-width: 80px; font-size: 12px; flex-shrink: 0; }
.timeline-event { color: var(--ink); }
.timeline-note  { font-size: 11px; color: var(--muted); margin-top: 14px; }

/* ============================================================
   SPEAKERS
   ============================================================ */
.keynotes-header { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; margin-bottom: 48px; }
.keynotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.keynote-card { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.keynote-avatar {
  height: 160px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 48px; color: var(--rule);
  border-bottom: 1px solid var(--rule); overflow: hidden;
}
.keynote-avatar img { width: 100%; height: 100%; object-fit: cover; }
.keynote-info  { padding: 16px 18px; }
.keynote-name  { font-size: 14px; font-weight: 500; color: var(--black); margin-bottom: 3px; }
.keynote-role  { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4; }
.keynote-topic { font-size: 12px; color: var(--mid); font-style: italic; line-height: 1.5; }
.keynotes-tba  {
  text-align: center; padding: 48px 20px; color: var(--muted); font-size: 13px;
  border: 1px dashed var(--rule); border-radius: 8px; grid-column: span 3;
}
.keynotes-tba a { color: var(--teal); text-decoration: none; }



/* ============================================================
   SINGLE SPEAKER — single-speaker.php
   ============================================================ */

.spk-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px var(--px, 24px) 80px;
}

.spk-breadcrumb { margin-bottom: 40px; }
.spk-breadcrumb a { font-size: 13px; font-weight: 500; color: var(--teal); text-decoration: none; }
.spk-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 2px; }

.spk-hero {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--rule);
}

.spk-hero__photo {
    width: 100%; aspect-ratio: 1;
    object-fit: cover; display: block;
    border-radius: 50%; border: 1px solid var(--rule);
}
.spk-hero__photo--placeholder {
    width: 100%; aspect-ratio: 1;
    background: var(--surface); border: 1px solid var(--rule);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--heading); font-size: 56px;
    color: var(--muted); letter-spacing: -0.02em;
}

.spk-eyebrow    { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-bottom: 10px; }
.spk-name       { font-family: var(--heading); font-size: clamp(26px, 3.5vw, 40px); color: var(--primary--titles); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.spk-job-title  { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.spk-affiliation{ font-size: 16px; color: var(--mid); margin-bottom: 4px; }
.spk-topic      { font-size: 16px; color: var(--muted); font-style: italic; margin-bottom: 20px; }

.spk-social     { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.spk-social__link {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 0px;
    border: 1px solid var(--rule); color: var(--mid);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.spk-social__link:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-l, #e3f3ee); }

.spk-bio { margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
.spk-bio p          { font-size: 16px; color: var(--ink); line-height: 1.8; font-weight: 400; margin-bottom: 16px; }
.spk-bio h2         { font-family: var(--heading); font-size: 22px; color: var(--primary--titles); margin: 32px 0 12px; }
.spk-bio h3         { font-family: var(--heading); font-size: 18px; color: var(--primary-titles); margin: 24px 0 10px; }
.spk-bio img        { max-width: 100%; border-radius: 8px; }
.spk-bio figure     { margin: 24px 0; }
.spk-bio figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }

.spk-agenda__header {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px; margin-bottom: 24px;
}
.spk-agenda__title    { font-family: var(--primary--titles); font-size: 28px; color: var(--black); letter-spacing: -0.01em; }
.spk-agenda__all-link { display: inline-flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 500; color: var(--teal); white-space: nowrap; }
.spk-agenda__all-link:hover { text-decoration: none; }

.spk-agenda__list { display: flex; flex-direction: column; gap: 12px; }

.spk-session {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 20px 24px;
    border: 1px solid var(--rule); border-radius: 0px;
    background: var(--white); text-decoration: none; color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.spk-session:hover { border-color: var(--teal); box-shadow: 0 2px 16px rgba(13,122,95,0.07); }

.spk-session__thumb {
    flex-shrink: 0; width: 72px; height: 72px; border-radius: 8px;
    overflow: hidden; background: var(--surface); border: 1px solid var(--rule);
}
.spk-session__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spk-session__body  { flex: 1; min-width: 0; }
.spk-session__badge {
    display: inline-block; font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 9px; border-radius: 0px; margin-bottom: 8px;
    background: var(--earth-red);
    color: var(--white);
}
.spk-session__title { font-size: 20px; font-weight: 500; color: var(--primary--titles); line-height: 1.35; margin-bottom: 10px; }
.spk-session__meta  { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--mid); }
.spk-session__meta span { display: flex; align-items: center; gap: 5px; }

@media (max-width: 680px) {
    .spk-hero              { grid-template-columns: 1fr; gap: 28px; }
    .spk-hero__photo-col   { display: flex; justify-content: center; }
    .spk-hero__photo,
    .spk-hero__photo--placeholder { width: 250px; }
    .spk-session           { flex-direction: column; gap: 14px; }
    .spk-session__thumb    { width: 100%; height: 160px; }
    .spk-agenda__header    { flex-direction: column; gap: 8px; }
}






/* ============================================================
   SUPPORTING COMMITTEES
   ============================================================ */
.committees-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.committee-card { border: 1px solid var(--rule); border-radius: 8px; padding: 20px; }
.committee-icon {
  width: 32px; height: 32px; background: var(--teal-light);
  border-radius: 6px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.committee-icon svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.committee-name { font-size: 13px; font-weight: 500; color: var(--black); margin-bottom: 6px; }
.committee-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   VENUE
   ============================================================ */
.venue-section { background: var(--surface); padding: 72px 40px; }
.venue-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.venue-details { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.venue-row { display: flex; gap: 12px; align-items: flex-start; }
.venue-row-icon { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.venue-row-icon svg { width: 14px; height: 14px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.venue-row-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.venue-row-val   { font-size: 13px; color: var(--ink); }
.venue-map {
  background: var(--rule); border-radius: 8px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); border: 1px solid var(--rule);
  overflow: hidden; position: relative;
}
.venue-map-grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px),
                    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
}
.venue-map-dot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.venue-map-pin {
  width: 12px; height: 12px; background: var(--teal);
  border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--teal);
}
.venue-map-label { font-size: 11px; color: var(--ink); font-weight: 500; }

/* ============================================================
   ANNOUNCEMENTS
   ============================================================ */
.announcements-list { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.announcement-item { padding: 20px 24px; border-bottom: 1px solid var(--rule); display: flex; gap: 16px; align-items: flex-start; }
.announcement-item:last-child { border-bottom: none; background: var(--surface); }
.announcement-date { font-size: 11px; color: var(--muted); min-width: 80px; padding-top: 2px; flex-shrink: 0; }
.announcement-title { font-size: 14px; font-weight: 500; color: var(--black); margin-bottom: 4px; }
.announcement-body  { font-size: 13px; color: var(--mid); }
.announcement-link  { margin-left: auto; font-size: 12px; color: var(--teal); white-space: nowrap; text-decoration: none; font-weight: 500; }
.announcement-link:hover { text-decoration: underline; }

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-section { padding: 72px 40px; max-width: 1100px; margin: 0 auto; }
.sponsors-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.sponsors-tiers { display: flex; flex-direction: column; gap: 28px; }
.sponsor-tier-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 8px;
}
.tier-diamond .sponsor-tier-label { color: #1a56a0; }
.tier-diamond .sponsor-tier-label::before { content:''; display:inline-block; width:6px; height:6px; background:#1a56a0; transform:rotate(45deg); }
.tier-gold .sponsor-tier-label { color: #92660a; }
.tier-gold .sponsor-tier-label::before { content:''; display:inline-block; width:8px; height:8px; background:#d4a017; border-radius:50%; }
.sponsor-logos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sponsor-logo-slot {
  border: 1px dashed var(--rule); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted); background: var(--surface);
}
.sponsor-logo-slot img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 8px; }
.tier-diamond .sponsor-logo-slot { height: 80px; min-width: 220px; padding: 0 28px; }
.tier-gold    .sponsor-logo-slot { height: 64px; min-width: 180px; padding: 0 24px; }
.tier-silver  .sponsor-logo-slot { height: 52px; min-width: 150px; padding: 0 20px; }
.tier-bronze  .sponsor-logo-slot { height: 42px; min-width: 130px; padding: 0 16px; }
.tier-partners .sponsor-logo-slot { height: 36px; min-width: 110px; padding: 0 14px; font-size: 10px; }
.sponsor-cta {
  margin-top: 32px; padding: 24px 28px; border: 1px solid var(--rule); border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sponsor-cta-text { font-size: 14px; color: var(--ink); font-weight: 500; }
.sponsor-cta-sub  { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 40px 40px 32px;
  max-width: 1242px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
.site-footer[data-cols="1"] { grid-template-columns: 2fr 1fr; }
.site-footer[data-cols="2"] { grid-template-columns: 2fr 1fr 1fr; }
.site-footer[data-cols="3"] { grid-template-columns: 2fr 1fr 1fr 1fr; }

.footer-logo { font-family: var(--serif); font-size: 17px; color: var(--black); margin-bottom: 10px; }
.footer-logo span { font-style: italic; color: var(--teal); }
/* Custom logo image from WP */
.footer-logo .custom-logo { height: 32px; width: auto; display: block; margin-bottom: 10px; }
.footer-tagline { font-size: 16px; color: var(--ink); line-height: 1.7; max-width: 220px; }

/* Column heading — used directly and also output by wp_nav_menu as menu title */
.footer-col-title,
.footer-col > .footer-col-title { font-size: 12px; font-weight: 600; color: var(--black); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }

/* wp_nav_menu outputs a <ul class="footer-links"> */
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { font-size: 16px; color: var(--ink); text-decoration: none; transition: color 0.12s; display: block; }
.footer-links a:hover { color: var(--teal); }
/* WP adds current-menu-item class */
.footer-links .current-menu-item > a { color: var(--ink); }
/* Strip any nested sub-menus wp_nav_menu might output at depth > 1 */
.footer-links .sub-menu { display: none; }


/* Footer Social Links*/
.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 0px;
    border: 1px solid var(--rule);
    color: var(--mid);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.footer-social-link:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-l, #e3f3ee);
}

.footer-bottom {
  border-top: 1px solid var(--rule); margin: 0 40px; padding: 18px 0;
}
.footer-bottom-inner {
  max-width: 1242px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items:end;
  font-size: 14px; color: var(--ink);
}

/* ============================================================
   SCROLL & LOAD ANIMATIONS
   ============================================================ */

/* Elements start hidden and shifted down */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* Triggered by JS when element enters the viewport */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: children of .animate-stagger each get an incremental delay.
   JS sets --stagger-i on each child; CSS maps it to transition-delay.  */
.animate-stagger > .animate-on-scroll {
  transition-delay: calc( var(--stagger-i, 0) * 80ms );
}

/* Never animate in the block editor */
.block-editor-page .animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   SINGLE POST
   ============================================================ */

/* ── Hero image ─────────────────────────────────────────── */
.post-hero-image {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: var(--surface);
}
.post-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── Post header ─────────────────────────────────────────── */
.post-header {
  border-bottom: 1px solid var(--rule);
}
.post-header--no-image {
  background: var(--teal);
  border-bottom: none;
}
.post-header__inner {
  max-width: 1098px;
  margin: 0 auto;
  padding: 36px 40px 32px;
}

/* Category chips */
.post-categories { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.post-category-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--white); background: var(--earth-red);
  padding: 4px 10px;
  text-decoration: none; transition: background 0.12s;
  width: fit-content;
}
.post-category-tag:hover { background-color: color-mix(in srgb, var(--earth-red), transparent 20%);}
/* Light variant for coloured header backgrounds */
.post-category-tag--light {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
}
.post-category-tag--light:hover { background: rgba(255,255,255,0.25); }

.post-title {
  font-size: 40px; font-weight: 800; line-height: 1.15;
  color: var(--black); letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.post-header--no-image .post-title { color: #fff; }

/* Meta row */
.post-meta {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}
.post-header--no-image .post-meta { color: rgba(255,255,255,0.7); }
.post-meta__author {
  display: flex; align-items: center; gap: 8px;
  color: var(--black); font-weight: 600; text-decoration: none;
  transition: color 0.12s;
}
.post-header--no-image .post-meta__author { color: #fff; }
.post-meta__author:hover { color: var(--teal); }
.post-meta__avatar {
  width: 36px !important; height: 36px !important;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.post-meta__sep { margin: 0 10px; opacity: 0.4; }

/* ── Post body ───────────────────────────────────────────── */
.post-wrap {
  max-width: 1098px;
  margin: 0 auto;
  padding: 44px 40px 80px;
}
.post-body {
  font-size: 17px; line-height: 1.8; color: var(--ink);
}
.post-body h2 {
  font-size: 26px; font-weight: 700; color: var(--black);
  margin: 2em 0 0.6em; letter-spacing: -0.01em;
}
.post-body h3 {
  font-size: 21px; font-weight: 700; color: var(--black);
  margin: 1.7em 0 0.5em;
}
.post-body p { margin-bottom: 1.4em; }
.post-body a { color: var(--teal); text-decoration: none; }
.post-body a:hover { color: var(--black); }
.post-body img { max-width: 100%; margin: 2em 0; display: block; }
.post-body blockquote {
  border-left: 3px solid var(--teal);
  margin: 2em 0; padding: 16px 24px;
  background: var(--surface);
  font-size: 18px; font-style: italic; color: var(--ink);
}
.post-body ul, .post-body ol { margin: 0 0 1.4em 1.4em; padding: 0; }
.post-body li { margin-bottom: 0.5em; }
.post-body code {
  font-family: monospace; font-size: 0.88em;
  background: var(--surface); padding: 2px 6px; border-radius: 4px;
}
.post-body pre {
  background: var(--surface); border-radius: 8px;
  padding: 20px; overflow-x: auto; margin-bottom: 1.4em;
}
.post-body pre code { background: none; padding: 0; }

/* ── Tags ────────────────────────────────────────────────── */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.post-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 4px 12px;
  text-decoration: none;
  transition: border-color 0.12s, color 0.12s;
}

.post-tag:hover { border-color: var(--teal); color: var(--teal); }

/* ── Author box ──────────────────────────────────────────── */
.post-author-box {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px 32px; background: var(--surface);
  margin: 52px 0 0;
}
.post-author-box__avatar {
  width: 72px !important; height: 72px !important;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.post-author-box__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 4px;
}
.post-author-box__name {
  font-size: 18px; font-weight: 700; margin: 0 0 8px;
}
.post-author-box__name a { color: var(--black); text-decoration: none; }
.post-author-box__name a:hover { color: var(--teal); }
.post-author-box__bio { font-size: 14px; color: var(--ink); line-height: 1.65; margin: 0; }

/* ── Related posts ───────────────────────────────────────── */
.post-related { margin-top: 64px; }
.post-related__heading {
  font-size: 20px; font-weight: 700; color: var(--black);
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.post-related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.post-card {
  border: 1px solid var(--rule); overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
  background: var(--white);
}
.post-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.post-card__image { aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.post-card__image--empty { background: var(--teal); }
.post-card__image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s ease;
}
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__body {
  padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.post-card__title {
  font-size: 15px; font-weight: 700; color: var(--black);
  line-height: 1.4; margin: 4px 0 0;
}
.post-card__excerpt {
  font-size: 13px; color: var(--mid); line-height: 1.6;
  margin: 0; flex: 1;
}
.post-card__meta {
  display: flex; align-items: center; gap: 7px;
  margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--rule);
}
.post-card__avatar {
  width: 22px !important; height: 22px !important;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.post-card__author { font-size: 12px; font-weight: 600; color: var(--black); }
.post-card__date { font-size: 12px; color: var(--mid); margin-left: auto; }

/* ── Single post mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  .post-hero-image { max-height: 260px; }
  .post-header__inner { padding: 24px 20px 20px; }
  .post-title { font-size: 26px; }
  .post-wrap { padding: 28px 20px 60px; }
  .post-body { font-size: 16px; }
  .post-author-box { flex-direction: column; padding: 20px; }
  .post-related__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */

.blog-archive {
  max-width: 1242px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

/* ── Featured Slider ─────────────────────────────────────── */
.blog-featured {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 40px;
  margin-bottom: 64px;
}

.blog-featured__track {
  display: flex;
  transition: transform 0.4s ease;
}

.blog-featured__slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}

.blog-featured__slide--no-image {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.blog-featured__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-featured__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0;
}

.blog-featured__title a {
  color: inherit;
  text-decoration: none;
}

.blog-featured__title a:hover { color: var(--teal); }

.blog-featured__excerpt {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
  margin: 0;
}

.blog-featured__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  align-self: flex-start;
  transition: gap 0.15s;
}

.blog-featured__readmore:hover { gap: 10px; }

.blog-featured__image {
  /*aspect-ratio: 4 / 3;*/
  overflow: hidden;
}

.blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-featured__slide:hover .blog-featured__image img {
  transform: scale(1.03);
}

.blog-featured__nav {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.blog-featured__prev,
.blog-featured__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  background: none;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s, color 0.15s;
}

.blog-featured__prev:hover,
.blog-featured__next:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── Latest Articles ─────────────────────────────────────── */
.blog-archive__header { margin-bottom: 28px; }

.blog-archive__desc {
  font-size: 15px;
  color: var(--mid);
  margin-top: 8px;
}

.blog-archive__empty {
  color: var(--muted);
  font-size: 15px;
}

.blog-latest__heading {
  /*font-size: 22px;*/
  font-weight: 700;
  color: var(--black);
  margin: 0 0 28px;
  padding-bottom: 16px;
  /*border-bottom: 1px solid var(--rule);*/
}

.blog-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Pagination ──────────────────────────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 48px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}

.blog-pagination a.page-numbers:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.blog-pagination .page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-weight: 700;
}

.blog-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: var(--muted);
  min-width: auto;
  padding: 0 2px;
}

@media (max-width: 768px) {
  .blog-archive { padding: 32px 20px 60px; }

  .blog-featured__slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .blog-featured__image { order: -1; aspect-ratio: 16 / 9; }

  .blog-featured__title { font-size: 24px; }

  .blog-latest__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WORDPRESS CORE ALIGNMENT & BLOCK CLASSES
   ============================================================ */
.alignleft  { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--muted); margin-top: 4px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--white); border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important; clip-path: none; color: var(--teal);
  display: block; font-size: 14px; font-weight: 700;
  height: auto; left: 5px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none; top: 5px;
  width: auto; z-index: 100000;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .announce-bar { padding: 9px 20px; font-size: 14px; }
  .site-header { padding: 0 20px; }
  .primary-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--rule); padding: 8px 0; z-index: 99; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { height: auto; padding: 12px 20px; border-bottom: 1px solid transparent; }
  .primary-nav .current-menu-item > a { border-bottom-color: var(--teal); }
  .nav-toggle { display: block; margin-left: auto; }
  .hero-wrap { height: 92vh; min-height: 500px; }
  .hero-content { padding: 0 24px 40px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-stats { flex-direction: row; min-width: unset; width: 100%; }
  .hero-stat { flex: 1; }
  .hero-stat:first-child { border-radius: 8px 0 0 8px; }
  .hero-stat:last-child  { border-radius: 0 8px 8px 0; }
  .hero-photo-credit { right: 24px; }
  .display-heading {
	font-size: 72px !important;
	line-height: auto;
}
  .chairs-inner, .tracks-header, .keynotes-header, .venue-inner { grid-template-columns: 1fr; gap: 32px; }
  .tracks-grid, .keynotes-grid { grid-template-columns: 1fr; }
  .keynotes-tba { grid-column: span 1; }
  .committees-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 20px; }
  .chairs-section, .venue-section, .timeline-section { padding: 48px 20px; }
  .benefits-section, .sponsors-section { padding: 48px 20px; }
  .section-divider { margin: 0 20px; }
  .timeline-grid-heads, .timeline-grid-cols { grid-template-columns: 1fr; }
  .timeline-col-head:first-child { border-radius: 8px 8px 0 0; }
  .timeline-col-head:last-child  { border-radius: 0; }
  .timeline-col:first-child { border-radius: 0; border-right: 1px solid var(--rule); border-bottom: none; }
  .timeline-col:last-child  { border-radius: 0 0 8px 8px; }
  .sponsors-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer-bottom { margin: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */

header svg {
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: auto;
    height: 36px;
}

/* ── Full-width template ──────────────────────────────────── */
.page-fullwidth {
  /*max-width: var(--max, 1140px);*/
  max-width: 100%;
  /*max-width: 1100px;*/
  margin: 0 auto;
  padding: 0px 0px 80px;
  /*padding: 0px 40px 32px;*/
}
.page-fullwidth-content {
  width: 100%;
}
.page-fullwidth-content p {
  font-size: 16px;
  line-height: 1.8;
}
.container-fluid-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px 60px;
}

/* ── Compact template — page header ──────────────────────── */
.compact-page-header {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 72px 48px 64px;
}

/* Background image — covers the full header */
.compact-page-header__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* No-image state: teal-to-dark gradient fallback */
.compact-page-header.no-image {
  background: var(--teal);
}

/* Dot pattern overlay — hardcoded, always present */
.compact-page-header__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Dark scrim — ensures text legibility over any image or gradient */
.compact-page-header__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Stronger scrim when a photo is present */
.compact-page-header.has-image .compact-page-header__scrim {
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 16, 0.30) 0%,
    rgba(10, 20, 16, 0.65) 100%
  );
}
/* Lighter scrim for the teal gradient (no photo) */
.compact-page-header.no-image .compact-page-header__scrim {
  background: rgba(10, 20, 16, 0.25);
}

/* Inner content — sits above image, pattern, and scrim */
.compact-page-header__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.compact-page-header__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.compact-page-header__eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.compact-page-header__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 54px);
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.compact-page-header__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
}

/* CTA buttons */
.compact-page-header__ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.ph-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  padding: 10px 22px;
  text-decoration: none;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
}
.ph-btn--primary {
  background: var(--teal);
  color: #fff;
}
.ph-btn--primary:hover { opacity: 0.88; }

.ph-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.ph-btn--outline:hover { border-color: rgba(255, 255, 255, 0.85); }

/* ── Compact template — body ─────────────────────────────── */
.compact-page-body {
  padding: 56px 48px 80px;
}

.compact-page-content {
  max-width: 720px;
  margin: 0 auto;
}

/* Typography inside compact content */
.compact-page-content h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 36px 0 14px;
}
.compact-page-content h2:first-child { margin-top: 0; }

.compact-page-content h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  margin: 28px 0 10px;
}

.compact-page-content p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

.compact-page-content strong { color: var(--ink); font-weight: 700; }

.compact-page-content ul,
.compact-page-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--mid);
}

.compact-page-content li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.compact-page-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.compact-page-content blockquote {
  border-left: 3px solid var(--teal);
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  font-style: italic;
  color: var(--mid);
}

.compact-page-content hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 36px 0;
}

/* Important dates / deadline box (Gutenberg block or manual HTML) */
.compact-page-content .deadline-box {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.compact-page-content .deadline-box p { margin-bottom: 6px; font-size: 14px; }
.compact-page-content .deadline-box p:last-child { margin-bottom: 0; }
.compact-page-content .deadline-box strong { color: var(--teal); }

/* Notice / announcement box */
.compact-page-content .notice-box {
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--ink);
}

/* Chairs / people grid (reused from template-parts) */
.compact-page-content .people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.compact-page-content .person-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
}
.compact-page-content .person-card a {
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.compact-page-content .person-card a:hover { color: var(--teal); }
.compact-page-content .person-card span {
  color: var(--muted);
  font-size: 12px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /*.page-fullwidth { padding: 40px 20px 60px; }*/
  .compact-page-header { padding: 48px 20px 44px; }
  .compact-page-body { padding: 40px 20px 60px; }
}

/* ── Default page template ────────────────────────────────── */
.default-page { padding: 64px 48px 80px; }
.default-page-inner { max-width: 1242px; margin: 0 auto; }
.default-page-header { margin-bottom: 48px; padding-bottom: 24px; /*border-bottom: 1px solid var(--rule);*/ }
.default-page-title {
  font-family: var(--heading);
  /*font-size: clamp(26px, 3.5vw, 40px);*/
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}
.default-page-content { font-size: 16px; color: var(--ink); line-height: 1.8; font-weight: 500; }
.default-page-content h2 { /*font-size: clamp(20px, 2.5vw, 28px)*/; color: var(--teal); letter-spacing: -0.02em; margin: 32px 0 12px; }
.default-page-content h3 { /*font-size: 24px;*/ font-weight: 500; color: var(--teal); margin: 24px 0 10px; }
.default-page-content p { margin-bottom: 16px; line-height: 1.8; }
.default-page-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.default-page-content ul, .default-page-content ol { padding-left: 20px; margin-bottom: 16px; }
.default-page-content li { margin-bottom: 6px; }

.full-bleed-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
	/padding: 64px 24px;*/
}
.full-bleed-content {
    display: block;
    max-width: 1242px;
    padding: 48px 0;
    margin: 0 auto;
}
@media (max-width: 768px) {
  .default-page { padding: 40px 20px 60px; }
  .full-bleed-content { padding:40px 24px 60px !important; }
}
@media (min-width: 481px) and (max-width: 767px) {
  .full-bleed-content { padding:40px 24px 60px !important; } 
}
@media (min-width: 768px) and (max-width: 1024px) {
  .full-bleed-content { padding:40px 48px 60px !important; } 
}
/* ── Organiser profile styles ─────────────────────────── */

/* HEADER */
.op-header {
    position: relative;
    overflow: hidden;
    padding: 64px 48px 56px;
    min-height: 280px;
}
.op-header__inner {
    position: relative; z-index: 2;
    max-width: 860px; margin: 0 auto;
    display: flex; gap: 40px; align-items: center;
}

/* Photo */
.op-photo-wrap { flex-shrink: 0; }
.op-photo {
    width: 300px; height: 300px; border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rule);
    display: block;
}
.op-photo--placeholder {
    width: 300px; height: auto; border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: rgba(255,255,255,0.4);
}

/* Identity */
.op-identity { flex: 1; }
.op-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.op-role-badge {
    font-size: 16px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
    color: var(--mid);
}
.op-name {
    font-family: var(--heading);
    font-size: clamp(26px, 4vw, 44px);
    color: var(--primary--titles); letter-spacing: -0.02em; line-height: 1.1;
    margin-bottom: 6px;
}
.op-institution {
    font-size: 18px; color: var(--black);
    font-weight: 300; margin-bottom: 4px;
}
.op-country {
    font-size: 18px; color: var(--earth-red);
    display: flex; align-items: center; gap: 6px; margin-bottom: 16px;
}
.op-country i { font-size: 16px }
.op-contact { display: flex; flex-wrap: wrap; gap: 14px; }
.op-contact-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 16px; color: var(--ink);
    text-decoration: none;
    transition: color 0.15s;
}
.op-contact-link:hover { color: var(--teal); }
.op-contact-link i { font-size: 32px; }

/* BODY */
.op-body { padding: 56px 48px 80px; }
.op-body-inner { max-width: 860px; margin: 0 auto; }

.op-back {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--teal);
    text-decoration: none; margin-bottom: 40px;
}
.op-back:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Bio + personal sections — free-form rich text */
.op-richtext {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
    line-height: 1.8;
}
.op-richtext:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.op-richtext p { font-size: 16px; color: var(--mid); line-height: 1.8; font-weight: 300; margin-bottom: 12px; }
.op-richtext p:last-child { margin-bottom: 0; }
.op-richtext h2, .op-richtext h3 { margin: 0 0 10px; }
/*.op-richtext h2 { font-size: 18px; }*/
/*.op-richtext h3 { font-size: 15px; font-weight: 600; }*/
.op-richtext ul, .op-richtext ol { padding-left: 20px; margin-bottom: 12px; color: var(--mid); font-size: 15px; line-height: 1.75; }
.op-richtext li { margin-bottom: 4px; }
.op-richtext a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.op-richtext strong { color: var(--ink); font-weight: 700; }
.op-richtext em { font-style: italic; }
.op-richtext blockquote { border-left: 3px solid var(--teal); padding: 4px 0 4px 16px; margin: 16px 0; font-style: italic; color: var(--mid); }

/* Responsive */
@media (max-width: 768px) {
    .op-header { padding: 48px 20px 40px; }
    .op-header__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .op-photo, .op-photo--placeholder { width: 250px; height: 250px; font-size: 36px; }
    .op-body { padding: 40px 20px 60px; }
}


/* ============================================================
   SPEAKER ARCHIVE — archive-speaker.php
   ============================================================ */

.spa-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px var(--px, 24px) 80px;
}

.spa-heading { text-align: center; margin-bottom: 56px; }
.spa-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.spa-title {
    font-family: var(--heading);
    /*font-size: clamp(28px, 4vw, 48px);
    color: var(--black); 
	letter-spacing: -0.02em;
    line-height: 1.05; margin-bottom: 14px;
	*/
}
.spa-sub   { font-size: 16px; color: var(--mid); font-weight: 300; max-width: 520px; margin: 0 auto; }
.spa-empty { text-align: center; font-size: 15px; color: var(--muted); padding: 60px 0; }

.spa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
}

.spa-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; text-decoration: none; color: inherit;
    padding: 28px 20px;
    border: 1px solid var(--rule); border-radius: 14px;
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.spa-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 24px rgba(13,122,95,0.09);
    transform: translateY(-3px);
}

.spa-card__photo {
    width: 110px; height: 110px; border-radius: 50%;
    overflow: hidden; margin-bottom: 18px;
    background: var(--surface); border: 2px solid var(--rule);
    flex-shrink: 0;
}
.spa-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spa-card__initials {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--heading); font-size: 32px;
    color: var(--mid); letter-spacing: -0.02em;
}

.spa-card__info  { width: 100%; }
.spa-card__name  { font-size: 15px; font-weight: 600; color: var(--black); line-height: 1.3; margin-bottom: 5px; }
.spa-card__role  { font-size: 12px; font-weight: 500; color: var(--teal); margin-bottom: 3px; }
.spa-card__affil { font-size: 12px; color: var(--mid); line-height: 1.4; }

@media (max-width: 640px) {
    .spa-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .spa-card { padding: 20px 12px; }
    .spa-card__photo { width: 80px; height: 80px; }
}
@media (max-width: 380px) {
    .spa-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SINGLE SESSION — single-session.php
   ============================================================ */

.ss-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px var(--px, 24px) 80px;
}

/* Back link */
.ss-back { margin-bottom: 28px; }
.ss-back a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: var(--ink);
    opacity: 0.55; text-decoration: none;
    transition: opacity 0.15s;
}
.ss-back a:hover { opacity: 1; }

/* ── Hero card ───────────────────────────────────────────── */
.ss-card {
    display: grid;
    grid-template-columns: 1fr 280px;
    background: var(--white);
    border: 1px solid var(--teal);
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 56px;
}
.ss-card__left {
    padding: 36px 40px;
    border-right: 1px solid var(--rule);
}
.ss-card__right { padding: 36px 32px; }

/* Badges & Pills */
.ss-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ss-badge {
    display: inline-block; font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 8px 12px; border-radius: 0px;
    background: var(--earth-red);
    color: var(--white);
}


.badge.event {
    background-color: var(--earth-red);
    color: var(--white);
    letter-spacing: .08em;
    margin-bottom: 11px;
    margin-left: 0;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color .3s, background-color .3s;
}

.ss-hybrid-badge {
    display: inline-block; font-size: 11px; font-weight: 500;
    color: #3d52b5; background: #eef1fc;
    padding: 4px 12px; border-radius: 4px;
}

.pill-style-1 {
	background: var(--teal-light);
    border: 1px solid var(--teal-border);
    border-radius: 48px;
    padding: 11px 20px;
    font-size: 16px;
    color: var(--teal);
}

li.pill-style-1{
  list-style: none;
display: inline-flex;
  margin: 10px 10px 6px 0;
}


/* Title */
.ss-title {
    font-family: var(--heading);
    font-size: clamp(22px, 3vw, 36px);
    color: var(--primary--titles); letter-spacing: -0.02em;
    line-height: 1.2; margin-bottom: 24px;
}

/* Date / time row */
.ss-meta { display: flex; flex-wrap: wrap; gap: 24px; }
.ss-meta-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; color: var(--ink);
}
.ss-meta-item svg { flex-shrink: 0; color: var(--mid); }

/* Speakers (right col) */
.ss-speakers-label {
    font-size: 14px; font-weight: 700; color: var(--black);
    margin-bottom: 16px;
}
.ss-speakers { display: flex; flex-direction: column; gap: 14px; }

.ss-speaker {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: inherit;
}
.ss-speaker:hover .ss-speaker__name { color: var(--teal); }

.ss-speaker__avatar {
    width: 36px; height: 36px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--surface); border: 1px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
}
.ss-speaker__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-speaker__avatar span { font-size: 11px; font-weight: 600; color: var(--mid); }

.ss-speaker__info  { display: flex; flex-direction: column; }
.ss-speaker__name  { font-size: 16px; font-weight: 500; color: var(--black); transition: color 0.15s; }
.ss-speaker__role  { font-size: 12px; color: var(--mid); margin-top: 1px; }

/* ── About the Session ──────────────────────────────────── */
.ss-content { max-width: 720px; margin: 0 auto 64px; }

.ss-content__heading {
    font-family: var(--heading);
    font-size: clamp(24px, 3vw, 34px);
    color: var(--black); letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-align: center;
}

.ss-about p   { font-size: 16px; color: var(--ink); line-height: 1.85; margin-bottom: 16px; }
.ss-about h2  { font-family: var(--heading); font-size: 20px; color: var(--black); margin: 28px 0 10px; }
.ss-about h3  { font-family: var(--heading); font-size: 17px; color: var(--black); margin: 20px 0 8px; }
.ss-about ul,
.ss-about ol  { padding-left: 20px; margin-bottom: 16px; }
.ss-about li  { font-size: 15px; color: var(--ink); line-height: 1.8; margin-bottom: 6px; }
.ss-about img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

.ss-resources { margin-top: 32px; }
.ss-resource-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; color: var(--white);
    background: var(--teal); border-radius: 8px;
    padding: 12px 22px; text-decoration: none;
    transition: background 0.15s;
}
.ss-resource-btn:hover { background: color-mix(in srgb, var(--teal) 82%, black); }

/* ── Related Sessions ───────────────────────────────────── */
.ss-related__header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px;
}
.ss-related__title {
    font-family: var(--heading);
    font-size: clamp(22px, 2.5vw, 30px);
    color: var(--primary--titles); letter-spacing: -0.02em;
}
.ss-related__title span { color: var(--teal); }

.ss-related__all {
    display: inline-flex; align-items: center;
    font-size: 13px; font-weight: 500; color: var(--ink);
    border: 1px solid var(--rule); border-radius: 0x;
    padding: 8px 16px; text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.ss-related__all:hover { border-color: var(--teal); color: var(--teal); }

.ss-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ss-rel-card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--teal); border-radius: 0px;
    text-decoration: none; color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.ss-rel-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.09); }

.ss-rel-card__top {
    display: flex; align-items: center; justify-content: space-between;
}
.ss-rel-card__avatar {
    width: 32px; height: 32px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--surface); border: 1px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
}
.ss-rel-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-rel-card__avatar span { font-size: 10px; font-weight: 600; color: var(--mid); }

.ss-rel-card__title {
    font-family: var(--heading);
    font-size: 20px; font-weight: 600;
    color: var(--primary--titles); line-height: 1.35;
}
.ss-rel-card:hover .ss-rel-card__title { color: var(--teal); }

.ss-rel-card__excerpt { font-size: 16px; color: var(--ink); line-height: 1.6; }

.ss-rel-card__time {
    display: flex; align-items: center; gap: 6px;
    font-size: 16px; color: var(--mid);
    margin-top: auto; padding-top: 6px;
}
.ss-rel-card__time svg { color: var(--mid); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .ss-card { grid-template-columns: 1fr; }
    .ss-card__left { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 24px; }
    .ss-card__right { padding: 24px; }
    .ss-content { max-width: 100%; }
    .ss-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ss-card__left { padding: 20px; }
    .ss-related__grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SINGLE TRACK — single-track.php
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.track-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex; align-items: flex-end;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.track-hero--no-img {
    background-image: none;
    background-color: var(--teal);
    min-height: 280px;
    align-items: center;
}

.track-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
    pointer-events: none;
}
.track-hero--no-img .track-hero__overlay { display: none; }

.track-hero__inner {
    position: relative; z-index: 1;
    width: 100%; max-width: 900px;
    margin: 0 auto;
    padding: 56px var(--px, 24px) 52px;
}
.track-hero--no-img .track-hero__inner { padding: 40px var(--px, 24px); }

.track-hero__title {
    font-family: var(--heading);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700; letter-spacing: -0.02em;
    color: #fff; line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

/* ── Page wrapper ─────────────────────────────────────────── */
.track-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px var(--px, 24px) 80px;
}

/* ── Body content (the_content) ───────────────────────────── */
.track-body p   { font-size: 16px; color: var(--ink); line-height: 1.85; margin-bottom: 18px; }
.track-body h2  { font-family: var(--heading); font-size: clamp(20px, 2.5vw, 26px); color: var(--black); letter-spacing: -0.01em; margin: 40px 0 12px; }
.track-body h3  { font-family: var(--heading); font-size: 18px; color: var(--black); margin: 28px 0 10px; }
.track-body ul,
.track-body ol  { padding-left: 22px; margin-bottom: 18px; }
.track-body li  { font-size: 16px; color: var(--ink); line-height: 1.8; margin-bottom: 8px; }
.track-body ol li  { list-style-type: decimal; }
.track-body a   { color: var(--teal); text-underline-offset: 2px; }
.track-body strong { font-weight: 700; }
.track-body table {
    width: 100%; border-collapse: collapse;
    font-size: 16px; line-height: 1.8; margin-bottom: 24px;
}
.track-body th,
.track-body td  { padding: 10px 14px; text-align: left; border: 1px solid var(--rule); }
.track-body th  { background: var(--surface); font-weight: 600; color: var(--black); }
.track-body blockquote {
    border-left: 3px solid var(--teal); margin: 24px 0;
    padding: 12px 20px; background: var(--surface); border-radius: 0 6px 6px 0;
    font-style: italic; color: var(--mid);
}
.track-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; display: block; }

/* ── CTA button ───────────────────────────────────────────── */
.track-cta { margin-top: 40px; }
.track-cta__btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 600; color: var(--white);
    background: var(--teal); border-radius: 0px;
    padding: 14px 28px; text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.track-cta__btn:hover {
    background: color-mix(in srgb, var(--teal) 82%, black);
    transform: translateY(-1px);
}

/* ── Track Chairs ─────────────────────────────────────────── */
.track-chairs {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--rule);
}
.track-chairs__heading {
    font-family: var(--heading);
    font-size: clamp(22px, 2.5vw, 28px);
    color: var(--black); letter-spacing: -0.01em;
    margin-bottom: 32px;
}
.track-chairs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.track-chair-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 14px;
    text-decoration: none; color: inherit;
    transition: transform 0.15s;
}
.track-chair-card:hover { transform: translateY(-3px); }
.track-chair-card:hover .track-chair-card__name { color: var(--teal); }
.track-chair-card__photo {
    width: 120px; height: 120px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--surface); border: 2px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
}
.track-chair-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-chair-card__initials {
    font-family: var(--heading); font-size: 28px;
    font-weight: 700; color: var(--mid);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.track-chair-card__info { display: flex; flex-direction: column; gap: 3px; }
.track-chair-card__name { font-size: 15px; font-weight: 600; color: var(--black); }
.track-chair-card__role { font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; }
.track-chair-card__inst { font-size: 13px; color: var(--mid); }
.track-chair-card__ctry { font-size: 12px; color: var(--muted); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .track-hero { min-height: 300px; }
    .track-hero__inner { padding: 32px var(--px, 20px) 28px; }
    .track-chairs__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
    .track-chair-card__photo { width: 96px; height: 96px; }
}
@media (max-width: 480px) {
    .track-hero { min-height: 220px; }
    .track-chairs__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   SESSION ARCHIVE — archive-session.php
   ============================================================ */

.sessions-archive-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px var(--px, 24px) 80px;
}

.sessions-archive-heading { text-align: center; margin-bottom: 56px; }
.sessions-archive-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.sessions-archive-title {
    font-family: var(--heading);
    /*font-size: clamp(28px, 4vw, 48px);
    color: var(--primary--titles); letter-spacing: -0.02em;
    line-height: 1.05; margin-bottom: 14px;
	*/
}
.sessions-archive-sub   { font-size: 16px; color: var(--mid); font-weight: 300; max-width: 520px; margin: 0 auto; }
.sessions-archive-empty { text-align: center; font-size: 16px; color: var(--muted); padding: 60px 0; }

.sessions-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.sessions-archive-card {
    display: flex; flex-direction: column; gap: 12px;
    padding: 24px;
    border: 1px solid var(--teal); border-radius: 0px;
    background: var(--white);
    text-decoration: none; color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.sessions-archive-card:hover {
    /*border-color: var(--teal);*/
    box-shadow: 0 4px 24px rgba(33,56,26,0.09);
    transform: translateY(-3px);
}

/* Badge + date row */
.sessions-archive-card__top {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between;
}
.sessions-archive-badge {
    display: inline-block;
    font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px; 
    border-radius: 0px;
    color: var(--white);
    background: var(--yellow);
}
.sessions-archive-card__when {
    font-size: 14px; color: var(--mid); font-weight: 500;
    /*margin-left: auto;*/
}

/* Title */
.sessions-archive-card__title {
    font-family: var(--heading);
    font-size: 20px; font-weight: 600;
    color: var(--primary--titles); line-height: 1.35;
    letter-spacing: -0.01em;
}

/* Excerpt */
.sessions-archive-card__excerpt {
    font-size: 16px; color: var(--mid);
    line-height: 1.55; flex: 1;
}

/* Speakers row */
.sessions-archive-card__speakers {
    display: flex; align-items: center; gap: 8px;
    margin-top: auto; padding-top: 0px;
    /*border-top: 1px solid var(--rule);*/
}
.sessions-archive-card__avatar {
    width: 28px; height: 28px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--surface); border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--rule);
    display: flex; align-items: center; justify-content: center;
}
.sessions-archive-card__avatar img  { width: 100%; height: 100%; object-fit: cover; display: block; }
.sessions-archive-card__avatar span { font-size: 9px; font-weight: 700; color: var(--mid); font-family: var(--heading); }
.sessions-archive-card__spknames {
    font-size: 12px; color: var(--mid);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .sessions-archive-grid { grid-template-columns: 1fr; gap: 16px; }
    .sessions-archive-card { padding: 18px; }
}
@media (max-width: 380px) {
    .sessions-archive-card__top { flex-direction: column; align-items: flex-start; }
    .sessions-archive-card__when { margin-left: 0; }
}


/* ============================================================
   BLOCK — Hero Section (africhi/hero)
   ============================================================ */

.hero-block {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-block--no-img {
    background-image: none;
    background-color: var(--teal);
}
.hero-block__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.hero-block__inner {
    position: relative; z-index: 1;
    width: 100%; max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
    color: var(--white);
}
.hero-block__eyebrow {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    opacity: 0.85; margin-bottom: 20px;
}
.hero-block__title {
    font-family: var(--heading);
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800; color: var(--white);
    line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero-block__sub {
    font-size: 15px; letter-spacing: 0.05em;
    opacity: 0.85; margin-bottom: 36px;
}
.hero-block__buttons {
    display: flex; gap: 12px;
    justify-content: center; flex-wrap: wrap;
}
.hero-block__btn {
    display: inline-block;
    padding: 12px 28px; border-radius: 6px;
    font-weight: 600; font-size: 14px;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s;
}
.hero-block__btn:hover { opacity: 0.88; transform: translateY(-1px); }
.hero-block__btn--primary  { background: var(--fresh-green); color: var(--white); }
.hero-block__btn--secondary {
    border: 1.5px solid rgba(255,255,255,0.65);
    color: var(--white); background: transparent;
}
@media (max-width: 640px) {
    .hero-block { min-height: 320px; }
    .hero-block__inner { padding: 48px 20px; }
}


/* ============================================================
   BLOCK — Team Member Card (africhi/team-member)
   ============================================================ */

.team-member-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; text-decoration: none !important; color: inherit;
    padding: 28px 20px;
    /*border: 1px solid var(--rule); border-radius: 14px;*/
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.team-member-card:hover {
    border-color: var(--teal);
    box-shadow: 0 2px 16px rgba(33,56,26,0.09);
    transform: translateY(-3px);
}

.team-member-card__photo {
    width: 200px; height: 200px; border-radius: 50%;
    overflow: hidden; margin-bottom: 18px; flex-shrink: 0;
    background: var(--surface); border: 2px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
}
.team-member-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-member-card__initials { color: var(--muted); }

/* Inner block text — override WP defaults inside the card */
.team-member-card__content { width: 100%; }
.team-member-card__content p {
    margin: 0 0 3px;
    font-size: 14px; color: var(--mid); line-height: 1.4;
}
.team-member-card__content p:first-child {
    font-size: 16px; font-weight: 600; color: var(--black); margin-bottom: 5px;
}
.team-member-card__content p:first-child::after {
    width: 24px;
    background: var(--yellow);
    display:block;
    margin: 8px auto;   
    height: 2px;
    content: '';
    align-items:center !important;
}
.team-member-card__content p:last-of-type::before {
    font: var(--fa-font-solid); \
	font-weight: 600; 
	content: '\f3c5'; 
	color: var(--teal-mid); 
	margin-right: 4px; 
	display:inline-block; 
	font-size:12px; 
	text-rendering: auto;
  -webkit-font-smoothing: antialiased; 
}
.team-member-card__content p:last-of-type {
	color: var(--teal-mid) !important;
	font-size: 0.75rem;
}
.team-member-card__content p.team-member-role {
    font-size: 14px; font-weight: 500; color: var(--mid);
    text-transform: capitalize; letter-spacing: 0.06em;
}
.team-member-card__content h1,
.team-member-card__content h2,
.team-member-card__content h3 {
    margin: 0 0 5px; color: var(--black);
}

/* Link hint shown only in editor (hidden on frontend via class) */
.team-member-card__link-hint { font-size: 11px; color: var(--muted); margin-top: 10px; }

@media (max-width: 640px) {
    .team-member-card { padding: 20px 14px; }
    .team-member-card__photo { width: 200px; height: auto; }
}


/* ============================================================
   BLOCK — Conference Timeline (africhi/timeline)
   ============================================================ */

.timeline-block { padding: 48px 0; }

.timeline-block__list {
    list-style: none;
    position: relative;
    padding-left: 40px;
    margin: 0;
}
.timeline-block__list::before {
    content: '';
    position: absolute;
    left: 5px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--rule);
}

.timeline-block__item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-block__item:last-child { padding-bottom: 0; }

.timeline-block__marker {
    position: absolute;
    left: -45px; top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--teal);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--teal);
}

.timeline-block__content {
    display: flex; flex-direction: column; gap: 4px;
}
.timeline-block__year {
    font-family: var(--heading);
    font-size: 22px; font-weight: 700;
    color: var(--teal); line-height: 1.2;
}
.timeline-block__location {
    font-size: 15px; font-weight: 600;
    color: var(--black);
}
.timeline-block__theme {
    font-size: 13px; color: var(--mid);
    font-style: italic;
}

@media (max-width: 480px) {
    .timeline-block__list { padding-left: 28px; }
    .timeline-block__marker { left: -33px; }
    .timeline-block__year { font-size: 18px; }
}

/* ============================================================
   Partners Logo
   ============================================================ */

.vertical-logo-wrapper {
    grid-column-gap: 5rem;
    grid-row-gap: 5rem;
    justify-content: center;
    align-items: center;
    display: flex;
}

.logo-wrapper {
    grid-column-gap: 5rem;
    grid-row-gap: 5rem;
    justify-content: center;
    align-items: center;
    display: flex;
}

.partner-logo {
    object-fit: contain;
    max-width: 12em;
    /*min-height: 5em;*/
    max-height: 7em;
    padding: 0px 16px 0px;
}


/* ============================================================
   CONTACT FORM INPUT FIELDS
   ============================================================ */

.contact-form {

    border: 1px solid var(--rule);
    max-width: 630px;
    padding: 64px 24px;

}

.contact-form label {
    display: block;
    color: var(--primary--titles);
    margin-bottom: 20px;
    line-height: 1.1em;
}

.contact-form input[type ="text"],
.contact-form input[type ="email"],
.contact-form textarea {
    border: 1px solid var(--muted);
    color: var(--ink);
    min-height: 56px;
    margin: 20px 0;
    padding: 8px 12px;
    font-size: 18px;
    width: 100%;
    transition: border-color .3s, color .3s;
}


.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
}

/*-------- Direct Contacts --------*/
.direct-contacts__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .direct-contacts__card {
    background: var(--cream-dark);
    border-radius: 0px;
    padding: 20px 22px;
	  width: 100%;
  }
  .direct-contacts__label {
    font-size: 12px !important;
    letter-spacing: 0.1em;
    color: var(--earth-red);
    margin-bottom: 8px;
  }

.text-teal-mid {
	color: var(--teal-mid);
	font-weight: 500;
}

.border-left-red-color {
	border-left: 3px solid var(--earth-red);
	padding-left: 14px;
}

.border-left-yellow-color {
	border-left: 3px solid var(--yellow);
	padding-left: 14px;
}
.round-red::before {
    width: 16px;
    height: 16px;
    padding-right: 14px;
    margin-right:10px;
    background-color: var(--earth-red);
    border-radius: 100%;
    display: inline-block;
    content: "";
}
.round-yellow::before {
    width: 16px;
    height: 16px;
    padding-right: 14px;
    margin-right:10px;
    background-color: var(--yellow);
    border-radius: 100%;
    display: inline-block;
    content: "";
}
.round-teal::before {
    width: 16px;
    height: 16px;
    padding-right: 14px;
    margin-right:10px;
    background-color: var(--teal);
    border-radius: 100%;
    display: inline-block;
    content: "";
}
.grid-card-1 {
	padding: 26px 24px;
	border: 1px solid #ded9cc;
	display: flex; 
	flex-direction: column; 
	gap: 12px; 
	min-height: 126px;
}


/*-------Sponsorships Tiers-----*/
.tier-card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  justify-content: center;
  min-height: 96px;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 600;
}

.tier-card--platinum { background: #C9CBD1; color: #1a1814 important!; }
.tier-card--gold { background: #D9A741; color: #1a1814; }
.tier-card--silver { background: #AFB3B8; color: #1a1814; }
.tier-card--bronze { background: #B07B4F; color: #f7f4ef; }
.tier-card--community { background: #118659; color: #f7f4ef; }

.tier-card__name {text-transform: uppercase; margin: 0;}
.tier-card__subtitle {font-size: 18px; margin-top: 2px;}

.tier-card__divider {height: 1px; border: none; margin: 10px 0 10px;}

.tier-card__price {font-size: 30px; font-weight: 600; letter-spacing: -0.01em; margin-top: 16px;}

.tier-card__price-full {font-size: 12px; margin-top: 2px;}

.tier-card__eyebrow {font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 10px 0 10px;}

.tier-card__includes {display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0;}
.tier-card__includes li {display: flex; gap: 8px; align-items: flex-start; font-size: 16px; line-height: 1.18} 
.tier-card__includes li::before {content: "✓"; flex: 0 0 auto; margin-top: 1px;}

.tier-card__best-for {font-size: 16px; line-height: 1.6; margin: 0;}

.tier-card--platinum .tier-card__name, .tier-card--gold .tier-card__name, .tier-card--silver .tier-card__name {color: #1a1814; }
.tier-card--bronze .tier-card__name, .tier-card--community .tier-card__name {color: #f7f4ef; }

.tier-card--platinum .tier-card__subtitle, .tier-card--platinum .tier-card__eyebrow {color: #3a3833;} 
.tier-card--platinum .tier-card__divider {background: rgba(26, 24, 20, 0.18);}

.tier-card--gold .tier-card__subtitle, .tier-card--gold .tier-card__eyebrow {color: #3a2f14;} 
.tier-card--gold .tier-card__divider {background: rgba(26,24,20,0.2);}

.tier-card--silver .tier-card__subtitle, .tier-card--silver .tier-card__eyebrow {color: #2c2f32;} 
.tier-card--silver .tier-card__divider {background: rgba(26,24,20,0.2);}

.tier-card--bronze .tier-card__subtitle, .tier-card--bronze .tier-card__eyebrow {color: #f0e9df;} 
.tier-card--bronze .tier-card__divider, .tier-card--community .tier-card__divider  {background: rgba(247,244,239,0.3);}

.tier-card--community .tier-card__subtitle, .tier-card--community .tier-card__eyebrow {color: #eafaf1;} 

.accent-text{
    font-size: 26px;
    font-family: var(--heading);
    font-weight: 700;
    color: var(--teal);
}
p.accent-text {
	margin-bottom: 0;
}
.accent-text::after {
    display: block;
    content:"";
    width:24px;
    height: 3px;
    background-color: var(--yellow);
}
.card-dark {
	background-color: var(--cream-dark);
}
.text-18px {
	font-size: 18px;
}

/*-------- Supporting Team Card-------*/
.support-team-card { border: 1px solid var(--ink-light); border-radius: 10px; box-shadow: 0 1px 3px rgba(26,24,20,0.08); overflow: hidden; }
.support-team-card__header { padding: 20px 24px; border-bottom: 1px solid var(--cream-dark); }
.support-team-card__name { font-family: var(--heading); font-weight: 700; font-size: 18px; color: #0d3b2b; margin-bottom: 0 !important; }
.support-team-card__desc { font-size: 14px; color: var(--mid); margin-top: 6px; line-height: 1.5; margin-bottom: 0 !important;}
.support-team-card__member { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--cream); }
.support-team-card__member:last-child { border-bottom: none; }
.support-team-card__member-name { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 0 !important; }
.support-team-card__member-affiliation { font-size: 14px; color: var(--mid); margin-top: 2px; margin-bottom: 0 !important;}
.support-team-card__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.support-team-card__email-btn { display: flex !important; align-items: center; justify-content: center; width: 30px; height: 30px; /*border-radius: 50%; border: 1px solid #ded9cc;*/ color: var(--ink); flex-shrink: 0; text-decoration: none; }

li.wp-social-link.wp-social-link-mail.support-team-card__email-btn.wp-block-social-link {
    background-color: var(--white);
}