/* Singapore Education Academy - rebuild stylesheet
   Matches the WordPress site layout: dark navy topbar, white header with full
   wordmark logo, all-caps nav, yellow accent band, photo+navy-block service
   cards, dark navy testimonial band, news grid, partner logos strip. */

:root {
  --c-navy: #142d4c;
  --c-navy-2: #1e3c63;
  --c-navy-dark: #0d2238;
  --c-yellow: #fcd34d;
  --c-yellow-band: #f5b942;
  --c-orange: #f97316;
  --c-orange-dark: #ea580c;
  --c-red: #d92f3a;
  --c-text: #1a202c;
  --c-muted: #475569;
  --c-line: #e2e8f0;
  --c-bg: #ffffff;
  --c-bg-alt: #f8fafc;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow: 0 4px 6px -1px rgba(15,23,42,.06), 0 2px 4px -2px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 25px -5px rgba(15,23,42,.08), 0 8px 10px -6px rgba(15,23,42,.05);

  --container: 1200px;
  --gutter: 24px;
  --ff-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-head: 'Montserrat', 'Roboto', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-orange); }

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--c-text); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.4vw + 1rem, 3rem); font-weight: 700; color: var(--c-navy); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); color: var(--c-navy); }
h3 { font-size: 1.25rem; color: var(--c-navy); }
p { margin: 0 0 1em; color: var(--c-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Top bar (dark navy, plain text) ---------- */
.topbar {
  background: var(--c-navy);
  color: #fff;
  font-size: 0.92rem;
}
.topbar .container { display: flex; justify-content: flex-start; align-items: center; padding: 12px 0; gap: 36px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--c-yellow); }

/* ---------- Header (white, big wordmark + uppercase nav) ---------- */
.site-header {
  background: #fff;
  border-bottom: none;
  position: relative; z-index: 50;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 80px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 4px;
  color: var(--c-navy); font-weight: 600; font-size: 0.92rem;
  font-family: var(--ff-head);
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--c-orange); }
.nav-link.active { color: var(--c-orange); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .15s ease; opacity: .7; }
.nav-item:hover .nav-link .chev,
.nav-item.open .nav-link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; right: 0; top: calc(100% + 2px);
  background: #fff; border-top: 3px solid var(--c-orange); min-width: 300px; padding: 6px 0;
  box-shadow: 0 10px 30px rgba(20,45,76,.15);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 18px;
  color: var(--c-navy); font-size: 0.88rem; line-height: 1.4;
  font-family: var(--ff-head); font-weight: 500; text-transform: none; letter-spacing: 0;
  border-bottom: 1px solid var(--c-line);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--c-bg-alt); color: var(--c-orange); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; fill: var(--c-navy); display: block; }

/* ---------- Yellow accent band ---------- */
.yellow-band {
  height: 6px;
  background: var(--c-yellow-band);
}

/* ---------- Home banner (full image, title overlaid) ---------- */
.banner-hero {
  position: relative;
  background: #f6efe6;
  overflow: hidden;
}
.banner-hero img.banner-img { width: 100%; height: auto; display: block; }
.banner-hero .banner-inner {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: center;
  text-align: center; padding: 6% 24px 0;
  pointer-events: none;
}
.banner-hero h1 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(1.6rem, 4vw + 0.5rem, 3.4rem);
  color: var(--c-navy); margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(255,255,255,.5);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  border: 2px solid transparent; transition: all .2s ease;
  text-decoration: none; font-family: var(--ff-head);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.btn-primary { background: var(--c-orange); color: #fff; }
.btn-primary:hover { background: var(--c-orange-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px -4px rgba(249,115,22,.45); }
.btn-secondary { background: #fff; color: var(--c-navy); border-color: var(--c-navy); }
.btn-secondary:hover { background: var(--c-navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-yellow { background: var(--c-yellow-band); color: var(--c-navy); }
.btn-yellow:hover { background: var(--c-yellow); }

/* ---------- Page hero (inner pages — dark navy band with title) ---------- */
.page-hero {
  background:
    linear-gradient(rgba(20,45,76,.86), rgba(20,45,76,.92)),
    url('../img/page-hero-bg.jpg') center / cover no-repeat,
    var(--c-navy);
  color: #fff;
  padding: 88px 0 100px;
  position: relative;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb { color: rgba(255,255,255,.7); font-size: 0.9rem; font-family: var(--ff-head); }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--c-yellow); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark {
  background: var(--c-navy);
  color: #cbd5e1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.04) 0, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.03) 0, transparent 50%);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(45deg, transparent 48%, rgba(255,255,255,.02) 49%, rgba(255,255,255,.02) 51%, transparent 52%);
  background-size: 80px 80px; pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--c-orange); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; font-family: var(--ff-head); display: block; margin-bottom: 10px; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- "Welcome to SEA" intro split (text + video) ---------- */
.intro-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.intro-split h1 { color: var(--c-navy); font-size: clamp(2rem, 2.6vw + 1rem, 2.6rem); margin: 0 0 18px; font-weight: 700; line-height: 1.15; }
.intro-split .subhead { font-family: var(--ff-head); font-weight: 700; color: var(--c-navy); font-size: 1rem; margin-bottom: 20px; display: block; }
.intro-split p { color: var(--c-muted); margin-bottom: 1em; font-size: 0.98rem; line-height: 1.75; }
.intro-split .media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(20,45,76,.25);
  background: #f1f5f9;
}
.intro-split video, .intro-split .media img { width: 100%; height: auto; display: block; }

/* ---------- Service cards (photo on top + dark navy text block) ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--c-navy);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -10px rgba(20,45,76,.4); color: #fff; }
.service-card .photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #0369a1, var(--c-navy));
}
.service-card .photo img, .service-card .photo svg { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .photo img { transform: scale(1.04); }
.service-card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.15rem; line-height: 1.3; }
.service-card p { color: #cbd5e1; font-size: 0.93rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-yellow); font-family: var(--ff-head); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.service-card:hover .more { gap: 10px; }

/* ---------- Awards / partners strip ---------- */
.logos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto;
}
.logos img {
  max-height: 60px; width: auto; margin: 0 auto;
  filter: grayscale(60%); opacity: 0.78;
  transition: filter .25s ease, opacity .25s ease;
}
.logos img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Testimonial (dark band over photo bg) ---------- */
.testimonial-band {
  padding: 96px 0;
  position: relative;
  background:
    linear-gradient(rgba(20,45,76,.86), rgba(20,45,76,.92)),
    url('../img/home/slider123.jpg') center / cover no-repeat,
    var(--c-navy);
  color: #fff;
}
.testimonial-band .container { position: relative; }
.testimonial-band .eyebrow-left {
  color: #fff; font-family: var(--ff-head); font-weight: 700;
  font-size: 1.05rem;
  display: block; margin-bottom: 28px;
}
.testimonial-band blockquote {
  max-width: 880px; margin: 0;
  font-size: 1.18rem; line-height: 1.7; color: #fff;
  font-style: italic; text-align: left;
  font-family: var(--ff-body); font-weight: 400;
  position: relative; padding-left: 28px;
}
.testimonial-band blockquote::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 3.5rem;
  color: var(--c-yellow); position: absolute; left: -10px; top: -10px; line-height: 1;
}
.testimonial-band cite { display: block; text-align: left; margin-top: 22px; color: var(--c-yellow); font-family: var(--ff-head); font-weight: 600; font-style: normal; font-size: 0.95rem; padding-left: 28px; }

/* ---------- News section (plain typography, 3 columns) ---------- */
.news-head { margin-bottom: 40px; }
.news-head h2 { color: var(--c-navy); font-size: clamp(1.8rem, 2.4vw + 1rem, 2.4rem); margin: 0 0 8px; font-weight: 700; }
.news-head .news-sub { font-family: var(--ff-head); font-weight: 600; color: var(--c-navy); font-size: 0.95rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.news-card {
  display: block;
  color: var(--c-navy); background: none; border: none; padding: 0;
  transition: transform .2s ease;
}
.news-card:hover { transform: translateY(-2px); color: var(--c-navy); }
.news-card:hover h4 { color: var(--c-orange); }
.news-card h4 { margin: 0 0 12px; font-size: 1.05rem; color: var(--c-navy); font-family: var(--ff-head); font-weight: 700; line-height: 1.4; transition: color .15s ease; }
.news-card p { font-size: 0.92rem; margin: 0; color: var(--c-muted); line-height: 1.65; }

/* ---------- Bio rows (board pages — plain typography + photo right) ---------- */
.bio-list { max-width: 1100px; margin: 0 auto; }
.bio-intro { font-size: 1rem; color: var(--c-muted); margin-bottom: 36px; }
.bio-row {
  display: grid; grid-template-columns: 1fr 260px; gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: flex-start;
}
.bio-row:first-of-type { padding-top: 8px; }
.bio-row:last-of-type { border-bottom: none; padding-bottom: 8px; }
.bio-row h2 { color: var(--c-navy); font-size: 1.6rem; margin: 0 0 18px; font-weight: 700; }
.bio-row p { color: var(--c-text); font-size: 0.98rem; line-height: 1.75; margin-bottom: 1em; }
.bio-row p:last-child { margin-bottom: 0; }
.bio-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden; background: #f1f5f9;
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-photo .initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 800; font-size: 3.4rem;
  color: var(--c-navy);
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

@media (max-width: 760px) {
  .bio-row { grid-template-columns: 1fr; gap: 24px; }
  .bio-photo { max-width: 260px; }
}

/* ---------- Product / Service page layout ---------- */
.ps-page { position: relative; overflow: hidden; }
.ps-content {
  display: grid;
  grid-template-columns: minmax(0, 480px) 440px;
  gap: 30px;
  align-items: center;
}
.ps-content--bottom { align-items: end; }
.ps-content--bottom .ps-shapes { margin-bottom: -16px; }
.ps-body { max-width: 100%; }
.ps-body h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.5rem); color: var(--c-navy); margin: 0 0 12px; line-height: 1.2; font-weight: 700; }
.ps-body .subtitle { display: block; font-family: var(--ff-head); font-weight: 600; color: var(--c-navy); font-size: 1rem; margin-bottom: 22px; }
.ps-body p { font-size: 1rem; line-height: 1.8; color: var(--c-muted); margin-bottom: 1.1em; }

/* Decorative shape cluster — sits in the right column of .ps-content */
.ps-shapes {
  position: relative;
  width: 440px; height: 420px;
  margin: 0 auto;
  pointer-events: none;
}
.ps-shapes .circle-yellow {
  position: absolute; left: 50px; top: 10px;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--c-yellow-band);
}
.ps-shapes .dot-grid {
  position: absolute; right: 10px; top: 20px;
  width: 350px; height: 360px;
  /* Diagonal/staggered dot pattern: two offset radial-gradients */
  background-image:
    radial-gradient(circle, rgba(20,45,76,.30) 2px, transparent 2.2px),
    radial-gradient(circle, rgba(20,45,76,.30) 2px, transparent 2.2px);
  background-size: 16px 16px, 16px 16px;
  background-position: 0 0, 8px 8px;
  transform: rotate(3.5deg);
}
.ps-shapes .triangle-pink {
  position: absolute; left: 6%; bottom: 0;
  width: 0; height: 0;
  border-left: 88px solid transparent;
  border-right: 88px solid transparent;
  border-bottom: 156px solid #e64169;
  transform: rotate(-15deg);
}

/* Per-page overlap variations — slight differences in where the
   circle and triangle sit relative to the dot grid on each P&S page. */

/* GooRoo: circle top-left of square, triangle bottom-left overlapping
   the lower-left of the dot grid (default positions work) */
.ps-shapes--gooroo .triangle-pink {
  left: 30px; bottom: -10px;
  transform: rotate(-12deg);
}

/* Professional Development: circle MIDDLE-LEFT of dot grid;
   triangle pulled further left and down, mostly outside the dot grid */
.ps-shapes--profdev .circle-yellow { left: 30px; top: 170px; }
.ps-shapes--profdev .triangle-pink {
  left: 10px; bottom: -20px;
  transform: rotate(-20deg);
}

/* Educational Consultancy: circle TOP, slightly right of GooRoo's position
   (avoids overlapping the triangle which sits at middle-left);
   triangle higher up the left side, overlapping the dot grid more centrally */
.ps-shapes--consult .circle-yellow { left: 110px; top: 12px; }
.ps-shapes--consult .triangle-pink {
  left: 40px; bottom: 60px;
  transform: rotate(-8deg);
}

/* GooRoo's Innovation (top, full-width) + Inclusion | Inspiration (2 cols below) */
.iii-section { margin-top: 48px; }
.iii-section h3 { color: var(--c-navy); font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; margin: 0 0 12px; }
.iii-section p { color: var(--c-muted); font-size: 0.97rem; line-height: 1.75; margin: 0 0 1em; }
.iii-section ul { margin: 0 0 1em; padding-left: 22px; color: var(--c-muted); font-size: 0.97rem; line-height: 1.75; }
.iii-section ul li { margin-bottom: 6px; }
.iii-top { margin-bottom: 32px; }
.iii-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

@media (max-width: 960px) {
  .ps-content { grid-template-columns: 1fr; gap: 36px; }
  .ps-shapes { display: none; }
  .iii-bottom { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Split (image + text generic) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split .eyebrow { color: var(--c-orange); font-family: var(--ff-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.85rem; display: block; margin-bottom: 12px; }

/* ---------- Contact (form left, address card right, light gray bg) ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.contact-card {
  background: #fff;
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.contact-sub {
  display: block; color: var(--c-text); font-size: 0.95rem;
  font-family: var(--ff-head); font-weight: 600;
  margin-bottom: 4px;
}
.contact-card h2 { margin: 0 0 28px; font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); }

.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--c-line); border-radius: 4px;
  font: inherit; font-size: 0.95rem; background: #f8fafc; color: var(--c-text);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--c-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(249,115,22,.10);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-card .btn-submit {
  display: inline-block;
  padding: 12px 30px;
  background: var(--c-yellow-band);
  color: var(--c-text);
  font-family: var(--ff-head); font-weight: 600;
  font-size: 0.95rem;
  border: none; border-radius: 4px;
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}
.contact-card .btn-submit:hover { background: var(--c-yellow); }
.contact-card .btn-submit:active { transform: translateY(1px); }

.address-card h3 {
  font-size: 1.4rem; color: var(--c-text); margin: 0 0 18px;
  padding-bottom: 8px; position: relative;
}
.address-card h3::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; background: var(--c-yellow-band);
  border-radius: 2px;
}
.address-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.address-line .ic {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: #f1f5f9; color: var(--c-navy);
  display: flex; align-items: center; justify-content: center;
}
.address-line .ic svg { width: 14px; height: 14px; fill: currentColor; }
.address-line .txt { color: var(--c-muted); font-size: 0.92rem; line-height: 1.55; }
.address-line .txt a { color: var(--c-muted); }
.address-line .txt a:hover { color: var(--c-orange); }
.address-map {
  margin-top: 20px;
  border-radius: 6px; overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #e2e8f0;
}
.address-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Resources page (faithful old-version layout) ---------- */
.page-hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin: 0 0 16px;
  font-family: var(--ff-body);
  max-width: 760px;
}

.resources-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

/* Main column: stacked articles */
.res-article {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--c-line);
}
.res-article:last-of-type { border-bottom: none; }
.res-article h2 {
  color: var(--c-navy);
  font-size: 1.6rem;
  margin: 0 0 6px;
  font-family: var(--ff-head); font-weight: 700;
}
.res-article .res-sub {
  display: block;
  color: var(--c-navy);
  font-size: 1rem; font-weight: 600;
  margin-bottom: 8px;
}
.res-article .res-author {
  display: block;
  font-style: italic;
  color: var(--c-muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.res-article p {
  color: var(--c-text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 1em;
}
.res-article p.indent-quote {
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-yellow-band);
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 0.93rem;
  color: var(--c-muted);
}
/* Simple "Food for thought:" label — bold, no block styling */
.res-article p.fft-label { font-weight: 700; color: var(--c-navy); margin: 18px 0 4px; }
.res-article p.fft-quote { font-style: italic; color: var(--c-text); margin: 0 0 14px; }
/* Sub-heading within an article body (e.g. "2 slips for Singaporeans...") */
.res-article h3.res-subhead {
  color: var(--c-navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 10px;
  font-family: var(--ff-head);
}
/* Listing thumbnail — image floats left, text wraps */
.res-article .res-thumb {
  float: left;
  margin: 4px 18px 4px 0;
  width: 150px;
}
.res-article .res-thumb img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--c-line);
}
.res-article::after { content: ''; display: block; clear: both; }
.res-article a.read-more {
  color: var(--c-orange);
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}
.res-article a.read-more:hover { color: var(--c-orange-dark); text-decoration: underline; }
/* Detail-page article body — image floats next to the body text */
.res-article .article-image {
  float: left;
  margin: 6px 22px 10px 0;
  width: 210px;
}
.res-article .article-image img { width: 100%; height: auto; display: block; border: 1px solid var(--c-line); }
/* Inline image with caption (e.g. ST Photo) within an article body */
.res-article .inline-image { margin: 20px 0; }
.res-article .inline-image img { max-width: 100%; height: auto; display: block; border: 1px solid var(--c-line); }
.res-article .inline-image .caption {
  font-size: 0.88rem; color: var(--c-muted);
  margin-top: 8px; line-height: 1.55;
}
.res-article p.fft-quote em, .res-article .inline-image .caption em { font-style: italic; }
.res-article a.click-here {
  color: var(--c-navy);
  font-weight: 500;
  text-decoration: underline;
}
.res-article a.click-here:hover { color: var(--c-orange); }
.res-article .res-source {
  font-size: 0.88rem;
  color: var(--c-muted);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-line);
}
.res-article .res-source a {
  color: var(--c-navy);
  text-decoration: underline;
  word-break: break-all;
}
.res-video {
  margin: 14px 0 4px;
  border-radius: 6px; overflow: hidden;
  background: #000;
  max-width: 100%;
}
.res-video video { width: 100%; height: auto; display: block; }

/* "More Articles" + pagination strip */
.res-more {
  margin-top: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
}
.res-more h3 {
  color: var(--c-navy);
  font-size: 1.15rem;
  margin: 0 0 14px;
  font-family: var(--ff-head); font-weight: 700;
}
.res-more ul { list-style: none; padding: 0; margin: 0 0 24px; }
.res-more li { margin-bottom: 8px; }
.res-more li a { color: var(--c-navy); font-weight: 500; }
.res-more li a:hover { color: var(--c-orange); }
.res-pagination {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--ff-head); font-size: 0.92rem;
  margin-top: 16px;
}
.res-pagination .pages { display: flex; gap: 6px; flex-wrap: wrap; }
.res-pagination a, .res-pagination .pages span {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  background: #fff;
  color: var(--c-navy);
  font-weight: 500;
  min-width: 44px;
  text-align: center;
}
.res-pagination a:hover { background: var(--c-bg-alt); color: var(--c-navy); }
.res-pagination .pages .disabled { color: #cbd5e1; background: #fff; }
.res-pagination .pages .current {
  background: var(--c-navy); color: #fff; border-color: var(--c-navy);
}
.res-pagination .page-info { color: var(--c-text); font-weight: 500; }

/* Sidebar: Most Popular */
.res-sidebar {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: sticky; top: 20px;
}
.res-sidebar h3 {
  color: var(--c-navy);
  font-size: 1.1rem;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-yellow-band);
  font-family: var(--ff-head); font-weight: 700;
}
.res-sidebar ul { list-style: none; padding: 0; margin: 0; }
.res-sidebar li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.res-sidebar li:last-child { border-bottom: none; }
.res-sidebar li a {
  color: var(--c-navy);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  display: block;
}
.res-sidebar li a:hover { color: var(--c-orange); }

@media (max-width: 960px) {
  .resources-layout { grid-template-columns: 1fr; gap: 32px; }
  .res-sidebar { position: static; }
}

/* ---------- Footer (4 cols: about | links | contact | logo) ---------- */
.site-footer {
  background: var(--c-navy);
  color: #e2e8f0;
  padding: 64px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.3fr; gap: 40px;
  padding-bottom: 36px;
  align-items: start;
}
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-family: var(--ff-head); font-weight: 700; letter-spacing: 0; text-transform: none; }
.site-footer p { color: #e2e8f0; font-size: 0.95rem; line-height: 1.7; }
.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: var(--c-yellow); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links li a::before { content: ''; display: inline-block; width: 6px; height: 6px; border: 1.5px solid var(--c-yellow-band); border-left: 0; border-bottom: 0; transform: rotate(45deg); flex-shrink: 0; }
.footer-contact-line { margin-bottom: 8px; }
.footer-contact-line svg { display: inline-block; width: 14px; height: 14px; fill: #cbd5e1; vertical-align: middle; margin-right: 6px; }

/* Footer social icons */
.footer-socials {
  display: flex; gap: 10px; margin-top: 18px;
}
.footer-socials a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: #e2e8f0;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.footer-socials a:hover {
  background: var(--c-yellow-band);
  color: var(--c-navy);
  transform: translateY(-2px);
}
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.footer-logo-card {
  background: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  display: inline-block;
}
.footer-logo-card img { height: 80px; width: auto; display: block; }
.footer-bottom {
  background: #0a2238;
  padding: 18px 0;
  font-size: 0.88rem; color: #cbd5e1;
}
.footer-bottom .container { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .service-cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .resource-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .banner-hero { min-height: 280px; padding: 48px 24px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 60px; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(86%, 360px);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 80px 20px 20px; gap: 4px;
    transform: translateX(100%); transition: transform .25s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,.1);
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav-link { padding: 12px 14px; width: 100%; justify-content: space-between; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none; padding: 0 0 0 16px;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
    min-width: 0;
  }
  .nav-item.open .dropdown { max-height: 500px; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ''; position: fixed; inset: 0;
    background: rgba(0,0,0,.4); z-index: 40;
  }
  .person { grid-template-columns: 1fr; }
  .person-photo { min-height: 240px; }
  .form-row { grid-template-columns: 1fr; }
  .topbar .container { gap: 16px; }
}
