:root {
  --navy: #1B365D;
  --navy-mid: #254E8A;
  --navy-light: #2E5DA0;
  --navy-dark: #0E1F38;
  --gold: #FFB81C;
  --gold-dark: #D99A00;
  --gold-light: #FFD166;
  --gold-glow: rgba(255, 184, 28, .28);
  --gold-glow-sm: rgba(255, 184, 28, .15);
  --cream: #F9F6EF;
  --white: #FFFFFF;
  --slate: #475569;
  --slate-dark: #1E293B;

  /* mapped to existing class names used across templates */
  --topbar-blue: var(--navy);
  --accent: var(--gold);
  --accent-dark: var(--gold-dark);
  --ink: var(--slate);
  --heading: var(--navy);
  --muted: var(--slate);
  --bg-alt: var(--cream);
  --border: #E4DDD0;
  --dark-btn: var(--navy);
  --radius: 10px;
  --shadow: 0 8px 32px rgba(27, 54, 93, .13);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-logo: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 15px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--gold-dark); text-decoration: none; transition: all .25s; }
a:hover { color: var(--gold); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: rgba(255,255,255,.8);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-contact { display: flex; align-items: center; gap: 24px; }
.topbar-contact a, .topbar-social a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: rgba(255,255,255,.8); margin-right: 0; }
.topbar a:hover { color: var(--gold-light); }
.topbar-social { display: flex; align-items: center; gap: 16px; }
.topbar-icon { width: 15px; height: 15px; flex-shrink: 0; }
.topbar-social .topbar-icon { width: 16px; height: 16px; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: none;
  box-shadow: 0 2px 16px rgba(11,29,64,.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-name .amp { color: var(--gold); }
.brand-sub {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: var(--slate);
  margin-top: 1px;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.main-nav a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--slate-dark);
  border-radius: 6px;
  position: relative;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color .2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 1px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: left .25s, right .25s;
}
.main-nav li.active a, .main-nav a:hover { color: var(--navy); }
.main-nav li.active a::after, .main-nav a:hover::after { left: 14px; right: 14px; }

.nav-toggle, .nav-burger { display: none; }

.main-nav li.has-dropdown { position: relative; }
.dropdown-caret {
  display: inline-block;
  margin-left: 4px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}
.main-nav .dropdown-menu {
  display: block;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(11,29,64,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 20;
}
.main-nav li.has-dropdown:hover .dropdown-menu,
.main-nav li.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--slate-dark);
  white-space: normal;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { color: var(--navy); background: var(--section-alt-bg, rgba(11,29,64,.06)); }

/* Hero slider (home) */
.hero-slider {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: linear-gradient(135deg, #071A4A 0%, var(--navy-dark) 40%, var(--navy) 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-inner { max-width: 720px; }
.hero-slide h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 16px;
  padding: 5px 14px;
  border: 1px solid rgba(255,184,28,.4);
  border-radius: 30px;
  background: rgba(255,184,28,.06);
}
.hero-lead { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.divider {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 18px auto 30px;
  border-radius: 2px;
}

/* Subpage banner */
.page-hero {
  background: linear-gradient(135deg, #071A4A 0%, var(--navy-dark) 40%, var(--navy) 100%);
  padding: 74px 0 60px;
}
.page-hero .hero-eyebrow {
  color: var(--gold-light);
}
.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.page-hero .hero-lead {
  color: rgba(255,255,255,.75);
  font-style: italic;
  font-size: 1.05rem;
}
.page-hero .hero-lead a { color: var(--gold-light); font-style: normal; }
.page-hero .divider { background: var(--gold); }
.page-hero.narrow .container { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  box-shadow: 0 4px 16px var(--gold-glow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--gold-glow);
  color: var(--navy);
  background: linear-gradient(135deg, #FFCA3A 0%, var(--gold) 100%);
}
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(11,29,64,.25);
}
.btn-dark:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  box-shadow: 0 0 24px var(--gold-glow);
  transform: translateY(-2px);
}

/* Stat strip */
.stat-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.stat-strip-inner {
  display: flex;
  justify-content: space-between;
  padding: 30px 24px;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.stat { flex: 1; min-width: 140px; }
.stat-num { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--navy); font-weight: 700; }
.stat-label { color: var(--slate); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* Sections */
.section { padding: 68px 0; }
.section-alt { background: var(--cream); background-image: radial-gradient(ellipse at 80% 20%, rgba(255,184,28,.06) 0%, transparent 60%); }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.section-title.center { text-align: center; margin-bottom: 40px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.center { text-align: center; }
.center-text { text-align: center; max-width: 760px; margin: 0 auto 1em; }

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.why-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 60%, #0F2D6A 100%);
  color: rgba(255,255,255,.85);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why-card h3 { color: var(--white); }
.why-card p { color: rgba(255,255,255,.75); }
.why-card a { color: var(--gold-light); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.why-card .check-list li::before { color: var(--gold-light); }

/* CSR Advisory page — CSS-only tabs */
.adv-tabs { position: relative; }
.adv-tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.adv-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.adv-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 26px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.adv-tab-btn:hover { border-color: var(--gold); background: rgba(255,184,28,.08); }
.adv-tab-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
}
.adv-tab-icon svg { width: 20px; height: 20px; }
.adv-tab-panel { display: none; animation: adv-fade .25s ease; }
@keyframes adv-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.adv-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.adv-list > li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 16px;
  break-inside: avoid;
  font-weight: 600;
  color: var(--slate-dark);
}
.adv-list > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.adv-sublist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-weight: 400;
}
.adv-sublist li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.adv-sublist li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
}

#adv-tab-corporates:checked ~ .adv-tab-buttons label[for="adv-tab-corporates"],
#adv-tab-ngos:checked ~ .adv-tab-buttons label[for="adv-tab-ngos"],
#adv-tab-registration:checked ~ .adv-tab-buttons label[for="adv-tab-registration"],
#adv-tab-law:checked ~ .adv-tab-buttons label[for="adv-tab-law"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
#adv-tab-corporates:checked ~ #adv-panel-corporates,
#adv-tab-ngos:checked ~ #adv-panel-ngos,
#adv-tab-registration:checked ~ #adv-panel-registration,
#adv-tab-law:checked ~ #adv-panel-law {
  display: block;
}

/* Blog page — topic tabs (same CSS-only pattern, styled like the
   webinar page's pill tabs) */
.blog-tabs-wrap { position: relative; }
#blog-tab-all:checked ~ .webinar-tabs label[for="blog-tab-all"],
#blog-tab-csr:checked ~ .webinar-tabs label[for="blog-tab-csr"],
#blog-tab-esg:checked ~ .webinar-tabs label[for="blog-tab-esg"],
#blog-tab-sse:checked ~ .webinar-tabs label[for="blog-tab-sse"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
#blog-tab-all:checked ~ #blog-panel-all,
#blog-tab-csr:checked ~ #blog-panel-csr,
#blog-tab-esg:checked ~ #blog-panel-esg,
#blog-tab-sse:checked ~ #blog-panel-sse {
  display: block;
}

@media (max-width: 720px) {
  .adv-list { columns: 1; }
}

.link-arrow { font-weight: 700; color: var(--gold-dark); }

/* About block with real photos + stat badge */
.about-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 60px;
}
.about-media.single { display: block; }
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-media .img-tall { height: 100%; }
.stat-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  padding: 22px 26px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.stat-badge .stat-badge-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; display: block; }
.stat-badge .stat-badge-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* Quote callout box overlapping image */
.quote-callout {
  position: absolute;
  bottom: -40px;
  left: 30px;
  right: 30px;
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.quote-callout .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: rgba(255, 184, 28, .45);
  line-height: 1;
  display: block;
}
.quote-callout p {
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  margin-top: 70px;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.city-chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(27,54,93,.06);
  transition: all .25s;
}
.city-chip:hover {
  border-color: var(--gold);
  background: rgba(255,184,28,.08);
  transform: translateY(-2px);
}

.serif-lead {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  max-width: 900px;
  margin: 0 auto;
}
.why-us .serif-lead {
  color: var(--slate-dark);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 2px 14px rgba(27,54,93,.06);
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scaleX(0);
  transition: transform .35s;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(11,29,64,.12), 0 0 0 1px rgba(255,184,28,.15);
  transform: translateY(-4px);
}
.card:hover::before { transform: scaleX(1); }
.section-alt .card { background: var(--white); }
.card h3, .card h4 { margin-bottom: 8px; }
.card .summary { color: var(--muted); font-weight: 600; }
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold-dark);
}
.card-link:hover { color: var(--navy); }

.small-card { text-align: center; font-weight: 600; color: var(--heading); }
.stat-cards { grid-template-columns: repeat(3, 1fr); }

/* Team */
.card-grid.full-team { grid-template-columns: repeat(3, 1fr); }
.role { color: var(--gold-dark); font-weight: 700; margin-bottom: 4px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }
.qualifications { color: var(--muted); font-size: 0.85rem; font-style: italic; }

.team-card-v2 { text-align: center; cursor: pointer; padding: 30px 24px; }
.team-photo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px;
  border: 3px solid var(--gold-light);
  box-shadow: 0 4px 16px rgba(27,54,93,.1);
}
.team-card-v2 h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-contact-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.team-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-dark);
}
.team-contact-row a:hover { color: var(--gold-dark); }
.team-contact-row .topbar-icon { color: var(--gold-dark); }

/* Team bio modal */
.team-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.team-modal.open { display: flex; }
.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,31,56,.6);
}
.team-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg, 16px);
  max-width: 560px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: teamModalIn .25s ease;
}
@keyframes teamModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.team-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}
.team-modal-close:hover { background: rgba(255,255,255,.3); }
.team-modal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0;
}
.team-modal-header img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.team-modal-header h3 { color: var(--white); margin-bottom: 4px; font-size: 1.25rem; }
.team-modal-header .role { color: var(--gold-light); }
.team-modal-body { padding: 24px 28px 28px; }
.team-modal-body .qualifications { display: block; margin-bottom: 14px; }
.team-modal-body .team-contact-row { justify-content: flex-start; border-top: none; padding-top: 0; margin-top: 18px; }
.btn-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border);
}
.btn-chip:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Blog */
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid.single-col { grid-template-columns: 1fr; }
.badge {
  display: inline-block;
  background: rgba(255,184,28,.12);
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.post-date, .post-meta { color: var(--muted); font-size: 0.88rem; }
.blog-article p { margin-bottom: 1.2em; font-size: 1.03rem; }
.narrow .container, .container.narrow { max-width: 760px; }
.cta-inline { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; flex-wrap: wrap; gap: 16px; }

/* Webinar */
.webinar-grid { grid-template-columns: repeat(3, 1fr); }
.webinar-card-v2 { padding: 0; overflow: hidden; }
.webinar-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.webinar-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.webinar-card-v2:hover .webinar-thumb img { transform: scale(1.06); }
.webinar-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform .25s;
}
.webinar-card-v2:hover .webinar-play { transform: translate(-50%, -50%) scale(1.1); }
.webinar-card-body { padding: 22px 24px; }
.webinar-date-v2 {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.webinar-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.webinar-card-body h3 a { color: var(--navy); }
.webinar-card-body h3 a:hover { color: var(--gold-dark); }
.webinar-card-body p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Webinar filter bar */
.webinar-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px 6px 4px 18px;
  min-width: 280px;
  transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--gold); }
.search-box input[type="search"] {
  border: 0;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 8px 6px;
  flex: 1;
  background: transparent;
  color: var(--slate-dark);
}
.search-box input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: background .2s;
}
.search-btn:hover { background: var(--gold-dark); }
.search-btn svg { width: 15px; height: 15px; }

.webinar-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab-link {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--white);
  transition: all .2s;
  cursor: pointer;
}
.tab-link:hover { border-color: var(--gold); background: rgba(255,184,28,.08); }
.tab-link.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 6px;
  margin: 44px 0 0;
  padding: 0;
}
.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .2s;
}
.page-item .page-link:hover { border-color: var(--gold); background: rgba(255,184,28,.08); }
.page-item.active .page-link {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* Offices */
.office-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all .3s;
}
.office-card:hover { box-shadow: 0 8px 28px rgba(27,54,93,.1); border-color: rgba(255,184,28,.3); }
.office-card h4 { color: var(--gold-dark); font-size: 1rem; margin-bottom: 8px; }
.presence-list { color: var(--muted); }

/* Contact page */
.contact-icons { display: flex; flex-direction: column; }
.contact-icon-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-icon-row:last-child { border-bottom: none; }
.contact-icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,184,28,.12);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-icon-row h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-icon-row p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; margin-top: 12px; color: var(--slate-dark); }
.contact-form input, .contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.contact-form button { margin-top: 18px; align-self: flex-start; }

/* Admin login */
.admin-login-section {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: var(--cream);
  background-image: radial-gradient(ellipse at 80% 20%, rgba(255,184,28,.08) 0%, transparent 60%);
}
.admin-login-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 36px;
}
.admin-login-card .section-title.center { margin-bottom: 28px; }
.admin-login-btn { width: 100%; align-self: stretch; text-align: center; }

.btn-delete {
  padding: 8px 16px;
  border: 1px solid #f0c2c2;
  border-radius: var(--radius);
  background: #fbeaea;
  color: #7d2020;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-delete:hover { background: #7d2020; color: var(--white); border-color: #7d2020; }

/* Flash messages */
.flash-wrap { padding-top: 20px; }
.flash { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 10px; font-weight: 600; }
.flash-success { background: #e6f4ea; color: #205c36; border: 1px solid #b7e0c4; }
.flash-error { background: #fbeaea; color: #7d2020; border: 1px solid #f0c2c2; }

/* Category sidebar */
.category-sidebar { min-width: 200px; }
.active-link { color: var(--gold-dark); font-weight: 700; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #071A4A 0%, var(--navy-dark) 40%, var(--navy) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.75); }
.cta-inner { max-width: 640px; margin: 0 auto; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #071A4A 0%, var(--navy-dark) 100%);
  border-top: 1px solid rgba(255,184,28,.15);
  color: rgba(255,255,255,.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 24px 40px;
}
.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-col p, .footer-col a { color: rgba(255,255,255,.75); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; padding-left: 16px; position: relative; }
.footer-links li::before { content: '›'; color: var(--gold); position: absolute; left: 0; }
.footer-bottom {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal a { margin-left: 16px; color: rgba(255,255,255,.45); }
.footer-legal a:first-child { margin-left: 0; }

/* Responsive */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .full-team.card-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-media { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .header-inner { flex-wrap: wrap; }

  .main-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 4px 18px;
    display: none;
  }
  .main-nav li.has-dropdown:hover .dropdown-menu,
  .main-nav li.has-dropdown:focus-within .dropdown-menu { display: block; }

  .hero-slide h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .card-grid, .stat-cards { grid-template-columns: 1fr; }
  .team-grid, .full-team.card-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip-inner { text-align: left; }
  .webinar-row { flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal a { margin-left: 0; margin-right: 16px; }
}
