/* ==========================================================================
   Dr Jenny Tan — drjennytan.sg
   Corporate palette: deep navy + teal accent, slate neutrals, gold for honours.
   Typography: Manrope (headings) + Source Sans 3 (body).
   ========================================================================== */

:root {
  --navy: #0B2545;
  --navy-700: #13315C;
  --navy-500: #1F4A7A;
  --teal: #0E7C86;
  --teal-600: #0A6470;
  --teal-soft: #E3F1F3;
  --gold: #B8922E;
  --gold-soft: #F7F0DC;
  --ink: #1F2933;
  --muted: #5B6473;
  --cloud: #F3F5F8;
  --cloud-2: #F8FAFC;
  --line: #DFE4EA;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 24px 50px rgba(11, 37, 69, 0.16);
  --radius: 10px;
  --radius-sm: 4px;
  --font-head: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
strong { font-weight: 700; }
blockquote {
  margin: 1.8rem 0;
  padding: 1.4rem 1.8rem;
  background: var(--cloud);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}
blockquote cite { display: block; margin-top: .6rem; font-size: .9rem; font-weight: 600; color: var(--teal); font-style: normal; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .8rem;
}
.lead { font-size: 1.18rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s, border-color .2s;
  line-height: 1.2;
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 37, 69, .22); }
.btn--accent { background: var(--teal); border-color: var(--teal); }
.btn--accent:hover { background: var(--teal-600); border-color: var(--teal-600); box-shadow: 0 8px 20px rgba(14, 124, 134, .28); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--navy); }
.btn--white:hover { background: var(--cloud); border-color: var(--cloud); color: var(--navy); box-shadow: none; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.65); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,37,69,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-top: .25rem; }

.primary-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; }
.primary-nav li { position: relative; margin: 0; }
.primary-nav a {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  color: var(--ink); padding: .5rem .9rem; position: relative;
}
/* Keep top-level menu labels on one line; they wrapped untidily on narrow desktop windows. */
.primary-nav > ul > li > a { white-space: nowrap; }
.primary-nav li.has-sub { display: flex; align-items: center; flex-wrap: wrap; }
.primary-nav li.has-sub > a { padding-right: .15rem; }
.primary-nav .sub-toggle {
  display: inline-flex; align-items: center; background: none; border: 0; cursor: pointer;
  color: var(--ink); padding: .5rem .7rem .5rem .1rem; transition: color .2s;
}
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .1rem; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.primary-nav li.has-sub > a::after { right: .15rem; }
.primary-nav > ul > li > a:hover, .primary-nav > ul > li.is-active > a,
.primary-nav li.has-sub:hover > .sub-toggle, .primary-nav > ul > li.is-active > .sub-toggle { color: var(--teal); }
.primary-nav > ul > li > a:hover::after, .primary-nav > ul > li.is-active > a::after,
.primary-nav li.has-sub:hover > a::after { transform: scaleX(1); }
.primary-nav .caret { width: 12px; height: 12px; transition: transform .2s; }
.primary-nav .sub {
  list-style: none; margin: 0; padding: .5rem 0;
  /* Anchored to the item's RIGHT edge so the panel opens inward. Anchoring it left
     pushes it past the window edge, and a hidden dropdown still occupies scroll
     width, which gave the whole page a horizontal scrollbar. */
  position: absolute; top: calc(100% + 6px); right: 0; left: auto; min-width: 270px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.primary-nav li.has-sub:hover > .sub, .primary-nav li.has-sub.is-open > .sub, .primary-nav li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav li.has-sub.is-open > .sub-toggle .caret { transform: rotate(180deg); }
.primary-nav .sub a { display: block; padding: .55rem 1.2rem; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.primary-nav .sub a:hover, .primary-nav .sub li.is-active a { background: var(--cloud); color: var(--teal); }
.primary-nav > ul > li.nav-cta > a { background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: .6rem 1.2rem; margin-left: .5rem; }
.primary-nav > ul > li.nav-cta > a:hover, .primary-nav > ul > li.nav-cta.is-active > a { background: var(--navy-700); color: #fff; }
.primary-nav > ul > li.nav-cta > a::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 30px; height: 30px; }

/* Photo frames ------------------------------------------------------------ */
.photo-frame { position: relative; width: min(460px, 100%); margin-inline: auto; }
.photo-frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--teal); border-radius: var(--radius); opacity: .7;
}
.photo-frame img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.photo-frame--wide img { aspect-ratio: 3 / 2; }
.photo-frame--wide { width: min(560px, 100%); }
.photo-caption {
  position: absolute; left: -22px; bottom: 26px; z-index: 2;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .8rem 1.1rem; display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .92rem;
}
.photo-caption .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: 0 0 38px; }
.photo-caption .ico svg { width: 20px; height: 20px; }
.photo-caption small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cloud-2) 0%, #fff 100%);
}
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(14,124,134,.10), rgba(14,124,134,0) 70%); pointer-events: none; }
.hero-slides { position: relative; min-height: 640px; }
.hero-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
  padding: 3.5rem 0 4rem;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-copy { max-width: 600px; }
.hero-copy h1 { margin-bottom: 1rem; }
.hero-copy .lead { font-size: 1.2rem; margin-bottom: 1.8rem; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 0 1.5rem; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 50%; width: 46px; height: 46px; color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-nav:hover { color: var(--teal); border-color: var(--teal); }
.hero-nav svg { width: 22px; height: 22px; }
.hero-nav.prev { left: 1rem; } .hero-nav.next { right: 1rem; }
.hero-dots { position: absolute; bottom: 1.4rem; left: 0; right: 0; display: flex; justify-content: center; gap: .55rem; z-index: 5; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #C9D1DB; padding: 0; cursor: pointer; }
.hero-dots button.is-active { background: var(--teal); width: 26px; border-radius: 99px; }

/* Announcement strip ------------------------------------------------------ */
.announce { background: var(--teal); color: #fff; }
.announce-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; }
.announce h3 { color: #fff; margin: 0; font-size: 1.12rem; }
.announce p { margin: .2rem 0 0; opacity: .9; font-size: .95rem; }

/* Photo bands (stats / quote / CTA) ---------------------------------------- */
.band { position: relative; color: #fff; background-color: var(--navy); background-size: cover; background-position: center; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.82) 60%, rgba(14,124,134,.72) 100%); }
.band > .container { position: relative; }
.band h2, .band h3 { color: #fff; }
.band--faint::before { background: linear-gradient(100deg, rgba(11,37,69,.96) 0%, rgba(11,37,69,.9) 100%); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.7rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: rgba(255,255,255,.82); font-weight: 600; margin-top: .55rem; font-size: .95rem; }
.section--alt .stats .stat { background: #fff; border-color: transparent; box-shadow: var(--shadow); backdrop-filter: none; }
.section--alt .stats .stat-num { color: var(--navy); }
.section--alt .stats .stat-label { color: var(--muted); }

/* Sections ---------------------------------------------------------------- */
.section { padding: 5rem 0; }
.section--tight { padding: 3.2rem 0; }
.section--alt { background: var(--cloud); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: .5rem; }
.section-foot { margin-top: 2.5rem; text-align: center; }

.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--wide { grid-template-columns: .85fr 1.15fr; }

/* Cards ------------------------------------------------------------------- */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid transparent;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cloud); display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: .6rem; }
.card-meta .tag { background: var(--teal-soft); color: var(--teal-600); padding: .15rem .6rem; border-radius: 99px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; font-family: var(--font-head); }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--teal); }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.more { font-family: var(--font-head); font-weight: 800; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; white-space: nowrap; }
.more svg { width: 16px; height: 16px; flex: 0 0 16px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }
.card--flat { box-shadow: none; border-color: var(--line); }

/* Pillars / icon cards ---------------------------------------------------- */
.pillar { background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem; box-shadow: var(--shadow); height: 100%; }
.pillar .ico, .icon-circle {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 1.2rem;
}
.pillar .ico svg, .icon-circle svg { width: 28px; height: 28px; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { color: var(--muted); margin: 0; }
.pillar--navy { background: var(--navy); color: #fff; }
.pillar--navy h3 { color: #fff; }
.pillar--navy p { color: rgba(255,255,255,.8); }
.pillar--navy .ico { background: rgba(255,255,255,.12); color: #fff; }
.pillar--gold .ico { background: var(--gold-soft); color: var(--gold); }
.pillar--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pillar--photo .card-media { aspect-ratio: 3 / 2; }
.pillar--photo .pillar-body { padding: 1.6rem 1.8rem 1.9rem; }
.pillar--photo .ico { margin-top: -52px; position: relative; border: 4px solid #fff; background: var(--teal); color: #fff; }

.service-card { display: flex; gap: 1.2rem; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); height: 100%; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card .icon-circle { flex: 0 0 56px; width: 56px; height: 56px; margin: 0; }
.service-card .icon-circle svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.service-card h3 a { color: var(--navy); }
.service-card h3 a:hover { color: var(--teal); }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.service-card--dark { background: var(--navy); color: #fff; }
.service-card--dark h3 { color: #fff; }
.service-card--dark p { color: rgba(255,255,255,.8); }
.service-card--dark .icon-circle { background: rgba(255,255,255,.12); color: #fff; }

/* Timeline (awards / journey) -------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 49px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 1.5rem; padding-bottom: 1.6rem; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .year {
  width: 100px; height: 46px; border-radius: 99px; background: var(--navy); color: #fff; padding: 0 .4rem; text-align: center; line-height: 1.1;
  font-family: var(--font-head); font-weight: 800; font-size: .92rem; display: grid; place-items: center;
  position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(11,37,69,.22);
}
.timeline .year--teal { background: var(--teal); box-shadow: 0 6px 16px rgba(14,124,134,.25); }
.timeline .year--gold { background: var(--gold); box-shadow: 0 6px 16px rgba(184,146,46,.28); }
.timeline .body { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow); }
.timeline .body h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.timeline .body p { margin: 0; color: var(--muted); font-size: .95rem; }
.section--alt .timeline .body { box-shadow: none; }

.award-grid .card-body { padding: 1.3rem 1.4rem; }
.award-year { font-family: var(--font-head); font-weight: 800; color: var(--gold); font-size: 1.6rem; line-height: 1; margin-bottom: .5rem; }

/* Affiliation strip ------------------------------------------------------- */
.affil { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.affil span, .affil a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.2rem; border-radius: 99px; background: #fff; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .92rem;
}
.affil a:hover { border-color: var(--teal); color: var(--teal); }
.affil svg { width: 18px; height: 18px; color: var(--teal); }

/* Check list --------------------------------------------------------------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center / 12px no-repeat;
}
.checks--light li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>"); }

/* Page hero (inner pages) -------------------------------------------------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(14,124,134,.35), rgba(14,124,134,0) 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; min-height: 340px; }
.page-hero-copy { padding: 3.2rem 0; }
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 0; }
.page-hero .eyebrow { color: #7FD1D8; }
.page-hero-photo { position: relative; align-self: stretch; min-height: 340px; }
.page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,37,69,.35) 32%, rgba(11,37,69,0) 100%); }
.page-hero--plain .page-hero-grid { grid-template-columns: 1fr; min-height: 0; }
.page-hero--plain .page-hero-copy { padding: 3.2rem 0 2.8rem; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.65); }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

/* Prose ------------------------------------------------------------------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose img { border-radius: var(--radius); }
.prose ul li, .prose ol li { margin-bottom: .5rem; }
.prose .callout { background: var(--teal-soft); border-radius: var(--radius); padding: 1.3rem 1.6rem; color: var(--navy); margin: 1.6rem 0; }
.figure { margin: 0 0 2rem; }
.figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

.key-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.key-facts li { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .8rem 1rem; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 0; }
.key-facts b { font-family: var(--font-head); color: var(--teal); }

/* Article layout + LinkedIn-style actions ---------------------------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
.article-head { max-width: 860px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600; margin-top: 1.4rem; }
.article-meta .avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--cloud); flex: 0 0 48px; border: 2px solid rgba(255,255,255,.6); }
.article-meta .avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-meta .by { color: #fff; font-weight: 700; display: block; }
.article-cover { margin: 0 0 2rem; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: .5rem 0; margin: 2rem 0;
  position: relative;
}
.actions .act {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 0; cursor: pointer; color: var(--muted);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  padding: .6rem .9rem; border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.actions .act:hover { background: var(--cloud); color: var(--navy); }
.actions .act svg { width: 20px; height: 20px; }
.actions .act.is-liked { color: var(--teal); }
.actions .act.is-liked svg { fill: var(--teal); }
.actions .count { background: var(--cloud); color: var(--navy); font-size: .78rem; padding: .05rem .5rem; border-radius: 99px; }
.actions .act--subscribe { margin-left: auto; color: var(--teal); }
.share-menu {
  position: absolute; top: 100%; left: 0; margin-top: .4rem; z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; min-width: 250px; display: none;
}
.share-menu.is-open { display: block; }
.share-menu a, .share-menu button {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer; padding: .6rem .8rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); font-weight: 600;
}
.share-menu a:hover, .share-menu button:hover { background: var(--cloud); color: var(--teal); }
.share-menu svg { width: 20px; height: 20px; flex: 0 0 20px; }
.share-menu .hint { font-size: .78rem; color: var(--muted); padding: .2rem .8rem .5rem; font-weight: 400; }

.comments { margin-top: 2.5rem; }
.comments h2 { font-size: 1.5rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.comment .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: 0 0 44px; }
.comment .who { font-weight: 700; color: var(--navy); font-size: .95rem; }
.comment .when { color: var(--muted); font-size: .8rem; margin-left: .5rem; font-weight: 600; }
.comment p { margin: .3rem 0 0; font-size: .97rem; }
.comment-empty { color: var(--muted); font-style: italic; }

.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.aside-box { background: var(--cloud); border-radius: var(--radius); padding: 1.6rem; }
.aside-box h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.aside-box .mini { display: flex; gap: .9rem; padding: .6rem 0; border-top: 1px solid rgba(11,37,69,.08); margin: 0; }
.aside-box .mini:first-of-type { border-top: 0; }
.aside-box .mini img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex: 0 0 72px; }
.aside-box .mini a { color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .9rem; line-height: 1.3; display: block; }
.aside-box .mini a:hover { color: var(--teal); }
.aside-box .mini small { color: var(--muted); font-weight: 600; }
.author-box { text-align: center; }
.author-box .avatar { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; margin: 0 auto .8rem; background: #fff; border: 3px solid #fff; box-shadow: var(--shadow); }
.author-box .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box p { font-size: .92rem; color: var(--muted); }

/* Forms ------------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .88rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,134,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-msg { display: none; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-msg.is-ok { display: block; background: #E4F4EA; color: #176B3A; }
.form-msg.is-err { display: block; background: #FBE9E7; color: #9F2E22; }
.hp { position: absolute; left: -9999px; }
.inline-form { display: flex; gap: .6rem; }
.inline-form input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: .75rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); }
.inline-form input:focus { outline: 0; border-color: var(--teal); }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.contact-card .icon-circle { width: 50px; height: 50px; flex: 0 0 50px; margin: 0; }
.contact-card .icon-circle svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card a.big { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.form-panel { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.follow-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.8rem; }
.follow-box h3 { color: #fff; }
.follow-box p { color: rgba(255,255,255,.8); font-size: .95rem; }

/* CTA band ---------------------------------------------------------------- */
.cta-band { padding: 4.5rem 0; }
.cta-band::before { background: linear-gradient(100deg, rgba(11,37,69,.95) 0%, rgba(19,49,92,.9) 55%, rgba(14,124,134,.85) 100%); }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.6rem; }

/* Quote band -------------------------------------------------------------- */
.quote-band { text-align: center; max-width: 860px; margin-inline: auto; }
.quote-band blockquote { background: none; border: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: #fff; padding: 0; margin: 0; }
.quote-band blockquote cite { color: #7FD1D8; }
.quote-mark { width: 44px; height: 44px; color: #7FD1D8; margin: 0 auto 1rem; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-tag { color: #7FD1D8; }
.site-footer h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #7FD1D8; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.88); font-weight: 600; font-size: .95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { font-size: .95rem; color: rgba(255,255,255,.72); }
.site-footer strong { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.social svg { width: 18px; height: 18px; }
.site-footer .inline-form input { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.site-footer .inline-form input::placeholder { color: rgba(255,255,255,.5); }
.site-footer .inline-form .btn { background: var(--teal); border-color: var(--teal); }
.site-footer .inline-form .btn:hover { background: var(--teal-600); border-color: var(--teal-600); }
.site-footer .form-msg.is-ok { background: rgba(255,255,255,.1); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding: 1.3rem 0; font-size: .86rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.footer-bottom a { color: rgba(255,255,255,.7); font-weight: 600; }

.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* Modal + toast ------------------------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(11,37,69,.6); }
.modal.is-open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); max-width: 480px; width: 100%; padding: 2.2rem; position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: .8rem; right: .8rem; background: none; border: 0; cursor: pointer; color: var(--muted); padding: .4rem; }
.modal-close svg { width: 22px; height: 22px; }
.modal-box h3 { margin-bottom: .4rem; }
.modal-box p { color: var(--muted); font-size: .95rem; }
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: .8rem 1.3rem; border-radius: 99px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .25s; z-index: 1100; max-width: calc(100% - 2rem); text-align: center;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Reveal (only when JS has loaded) ---------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .card-media img { transition: none; } }

/* Podcast / media --------------------------------------------------------- */
.media-card { display: grid; grid-template-columns: 260px 1fr; gap: 1.6rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.media-card .card-media { aspect-ratio: auto; min-height: 100%; }
.media-card .card-body { padding: 1.6rem 1.6rem 1.6rem 0; }
.media-card h3 { font-size: 1.2rem; }
.topics { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 1rem; padding: 0; list-style: none; }
.topics li { margin: 0; background: var(--cloud); color: var(--navy); font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 99px; }

/* Book card ---------------------------------------------------------------- */
.book { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.book-cover { aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 30px rgba(11,37,69,.22); background: var(--cloud); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Photo strip ------------------------------------------------------------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cloud); }
.photo-strip figcaption { font-size: .88rem; color: var(--muted); margin-top: .65rem; line-height: 1.45; }

/* Responsive -------------------------------------------------------------- */

/* Narrow desktop windows: the header has just enough room for the brand and the
   full menu. Drop the strapline and tighten the menu so nothing wraps. */
@media (max-width: 1100px) {
  .brand-tag { display: none; }
}
@media (min-width: 901px) and (max-width: 1050px) {
  .header-inner { gap: 1rem; }
  .primary-nav a { font-size: .92rem; padding: .5rem .6rem; }
  .primary-nav > ul > li.nav-cta > a { padding: .55rem .9rem; }
  /* keep the hover underline flush with the tightened padding */
  .primary-nav > ul > li > a::after { left: .6rem; right: .6rem; }
  .primary-nav li.has-sub > a::after { right: .15rem; }
}

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .page-hero-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 1rem 1.25rem 3rem; transform: translateX(100%); transition: transform .25s; z-index: 890; border-top: 1px solid var(--line); }
  .primary-nav.is-open { transform: none; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav > ul > li > a { display: flex; flex: 1; padding: .9rem .4rem; font-size: 1.05rem; }
  .primary-nav li.has-sub > a { padding-right: .4rem; }
  .primary-nav .sub-toggle { width: 48px; justify-content: center; padding: .9rem 0; }
  .primary-nav .sub-toggle .caret { width: 18px; height: 18px; }
  .primary-nav > ul > li > a::after { display: none; }
  .primary-nav .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .6rem .6rem; display: none; min-width: 0; }
  .primary-nav li.has-sub.is-open > .sub { display: block; }
  .primary-nav .sub a { white-space: normal; padding: .5rem .6rem; }
  .primary-nav > ul > li.nav-cta > a { margin: 1rem 0 0; justify-content: center; }
  .hero-slides { min-height: 0; }
  .hero-slide { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 0 3.5rem; gap: 2rem; }
  .hero-copy { margin-inline: auto; }
  .hero-copy .btn-row { justify-content: center; }
  .hero-visual { order: -1; padding: 0 1.5rem; }
  .photo-frame { width: min(320px, 82%); }
  .photo-frame::before { inset: 14px -14px -14px 14px; }
  .photo-caption { display: none; }
  .hero-nav { display: none; }
  .split, .split--wide, .contact-grid, .grid-3, .grid-2, .media-card, .book, .photo-strip { grid-template-columns: 1fr; }
  .split { gap: 2.5rem; }
  .media-card .card-media { aspect-ratio: 16 / 9; min-height: 0; }
  .media-card .card-body { padding: 1.4rem; }
  .book-cover { max-width: 220px; }
  .announce-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 3.6rem 0; }
  .timeline::before { left: 34px; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 1rem; }
  .timeline .year { width: 70px; height: 40px; font-size: .8rem; }
  .form-row { grid-template-columns: 1fr; }
  .key-facts li { grid-template-columns: 1fr; gap: .2rem; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .page-hero-copy { padding: 2.4rem 0 2rem; }
  .page-hero-photo { min-height: 220px; margin: 0 calc(50% - 50vw) 0; }
  .page-hero-photo::before { background: linear-gradient(180deg, var(--navy) 0%, rgba(11,37,69,.2) 40%, rgba(11,37,69,0) 100%); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .grid-4, .stats, .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .actions .act { padding: .6rem .6rem; font-size: .88rem; }
  .actions .act .lbl { display: none; }
  .actions .act--subscribe .lbl { display: inline; }
  .inline-form { flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
@media print { .site-header, .site-footer, .whatsapp-float, .actions, .comments, .aside, .cta-band { display: none !important; } }

/* Forum ------------------------------------------------------------------- */
.span-all { grid-column: 1 / -1; }
.forum-featured { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--navy); color: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.forum-featured .card-media { aspect-ratio: auto; min-height: 280px; height: 100%; }
.forum-featured-body { padding: 2.2rem 2.4rem; display: flex; flex-direction: column; justify-content: center; }
.forum-featured-body .eyebrow { color: #7FD1D8; }
.forum-featured-body h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.forum-featured-body h3 a { color: #fff; }
.forum-featured-body h3 a:hover { color: #7FD1D8; }
.forum-featured-body p { color: rgba(255,255,255,.82); margin-bottom: 1.3rem; }
.forum-featured-body .latest { display: block; margin-top: .6rem; font-family: var(--font-head); font-weight: 700; color: #fff; }
.topic-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; color: var(--muted); font-size: .86rem; font-weight: 600; margin: .2rem 0 .7rem; }
.topic-meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.topic-meta svg { width: 16px; height: 16px; }
.thread { list-style: none; margin: 0; padding: 0; }
.reply { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.reply .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: 0 0 46px; font-size: .95rem; }
.reply.is-author .avatar { background: var(--teal); }
.reply-body { flex: 1; min-width: 0; }
.reply-head { display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: baseline; }
.reply-head .who { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.reply-head .role { color: var(--muted); font-size: .85rem; font-weight: 600; }
.reply-head .when { color: var(--muted); font-size: .8rem; font-weight: 600; margin-left: auto; }
.reply-body p { margin: .45rem 0 .6rem; font-size: 1rem; white-space: pre-line; overflow-wrap: anywhere; }
.reply-actions { display: flex; flex-wrap: wrap; gap: .3rem; }
.reply-actions button { background: none; border: 0; cursor: pointer; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: .35rem .6rem; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: .4rem; }
.reply-actions button:hover { background: var(--cloud); color: var(--navy); }
.reply-actions button.is-liked { color: var(--teal); }
.reply-actions button.is-liked svg { fill: var(--teal); }
.reply-actions svg { width: 16px; height: 16px; }
.reply-actions .count { background: var(--cloud); color: var(--navy); font-size: .74rem; padding: .02rem .45rem; border-radius: 99px; }
.thread-empty { color: var(--muted); font-style: italic; padding: 1rem 0; }
.thread-form { background: var(--cloud); border-radius: var(--radius); padding: 1.8rem; margin-top: 2rem; }
.thread-form h2 { font-size: 1.35rem; margin-bottom: .2rem; }
.guidelines li { font-size: .92rem; }
.jenny-view { display: flex; gap: 1rem; background: var(--teal-soft); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 1.8rem 0; }
.jenny-view .avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: 0 0 48px; border: 2px solid #fff; box-shadow: var(--shadow); }
.jenny-view .avatar img { width: 100%; height: 100%; object-fit: cover; }
.jenny-view strong { font-family: var(--font-head); color: var(--navy); display: block; margin-bottom: .2rem; }
.jenny-view p { margin: 0; color: var(--ink); }
@media (max-width: 900px) {
  .forum-featured { grid-template-columns: 1fr; }
  .forum-featured .card-media { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .forum-featured-body { padding: 1.6rem; }
  .reply-head .when { margin-left: 0; width: 100%; }
}

/* Event registration ----------------------------------------------------- */
.register-layout { grid-template-columns: minmax(0, 1fr) 420px; }
.register-panel { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.register-panel h2 { font-size: 1.4rem; margin-bottom: .25rem; }
.register-panel .form-row { grid-template-columns: 1fr 120px; }
.event-facts { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.event-facts li { display: flex; gap: .8rem; align-items: flex-start; background: var(--cloud); border-radius: var(--radius); padding: .9rem 1rem; margin: 0; }
.event-facts .ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; }
.event-facts .ico svg { width: 18px; height: 18px; }
.event-facts b { display: block; font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.event-facts li > div > span { font-weight: 600; color: var(--navy); font-size: .97rem; }
.event-facts--compact { grid-template-columns: 1fr; gap: .3rem; margin: .1rem 0 .9rem; }
.event-facts--compact li { display: flex; align-items: center; gap: .5rem; background: none; padding: 0; font-size: .88rem; color: var(--muted); font-weight: 600; }
.event-facts--compact svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--teal); }
.tag--training { background: var(--gold-soft); color: #7A5E12; }
.tag--event { background: var(--teal-soft); color: var(--teal-600); }
.places { font-weight: 700; color: var(--teal); }
.places.is-low { color: #B4530A; }
.places.is-full { color: #9F2E22; }
.form-msg.is-warn { display: block; background: var(--gold-soft); color: #7A5E12; }
.register-closed { background: var(--cloud); border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--muted); font-size: .95rem; }
.card--book .card-body p { flex: 0; }
.card--book .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1080px) { .register-layout { grid-template-columns: 1fr; } .register-panel { position: static; } }
@media (max-width: 560px) { .event-facts { grid-template-columns: 1fr; } .register-panel .form-row { grid-template-columns: 1fr; } }

/* Event notice, e.g. "To be confirmed - for illustration purposes for now" (Oct 2026) */
.event-notice { display: flex; gap: .45rem; align-items: flex-start; margin: 0 0 .75rem; padding: .45rem .7rem; background: #FFF4E0; border-left: 3px solid #D98A00; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #7A4300; font-size: .84rem; font-weight: 700; line-height: 1.35; }
.card .event-notice { flex: 0 0 auto; color: #7A4300; font-size: .84rem; }
.event-notice svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: .08rem; }
.event-notice--banner { margin: 0 0 1.4rem; padding: .85rem 1.1rem; font-size: 1rem; }
.event-notice--banner svg { width: 20px; height: 20px; flex-basis: 20px; margin-top: .05rem; }

/* Community logo linked to its LinkedIn page (AI GRC SG Community) */
.community-logo { display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: 1.6rem; padding: 1rem 1.3rem .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--teal); font-family: var(--font-head); font-weight: 700; font-size: .9rem; transition: transform .2s ease, box-shadow .2s ease, color .2s ease; }
.community-logo img { width: 180px; height: 180px; object-fit: contain; }
.community-logo span { display: inline-flex; align-items: center; gap: .4rem; }
.community-logo svg { width: 16px; height: 16px; }
.community-logo:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--navy); }

/* Podcast episodes: stacked cards; a YouTube episode is a click-to-play video (Oct 2026) */
.episodes { display: grid; gap: 1.8rem; }
.video-embed { position: relative; background: var(--navy); }
.media-card .video-embed { aspect-ratio: 16 / 9; min-height: 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.video-play span { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.15rem .6rem .95rem; border-radius: 99px; background: rgba(11, 37, 69, .92); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .92rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: background .2s ease, transform .2s ease; }
.video-play svg { width: 16px; height: 16px; fill: currentColor; }
.video-play:hover span, .video-play:focus-visible span { background: var(--teal); transform: translateY(-1px); }
.video-play:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.media-card--video { grid-template-columns: 1fr; gap: 0; }
.media-card--video .card-body { padding: 1.6rem 1.8rem 1.8rem; }
.media-card .card-body .btn { align-self: flex-start; }

/* Home hero: only the first slide's heading is the page's h1; later slides use an h2 that looks the same */
.hero-copy .hero-title { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-bottom: 1rem; }
