/* =====================================================================
   ZyV Academy | Main Stylesheet
   Palette : Brand Blue #2a4a8d  ·  Academy Teal #5ca19a  ·  White #ffffff
   Type    : Fraunces (display) + Inter (body)
   ===================================================================== */

/* ---------------------------- 1. Tokens ---------------------------- */
:root {
  --blue:        #2a4a8d;
  --blue-600:    #35599f;
  --blue-800:    #1c3468;
  --blue-900:    #12244a;
  --navy:        #0d1b3a;
  --teal:        #5ca19a;
  --teal-400:    #7fd0c6;
  --teal-700:    #437f79;
  --teal-800:    #16655e;
  --teal-50:     #eaf4f2;
  --white:       #ffffff;
  --ink:         #101a30;
  --body:        #5a6b85;
  --line:        #e5ebf4;
  --soft:        #f5f8fc;

  --radius-lg:   26px;
  --radius-md:   18px;
  --radius-sm:   12px;

  --shadow-sm:   0 10px 30px -14px rgba(16, 26, 48, .18);
  --shadow-md:   0 22px 55px -22px rgba(16, 26, 48, .28);
  --shadow-teal: 0 16px 34px -14px rgba(92, 161, 154, .55);
  --shadow-blue: 0 16px 34px -14px rgba(42, 74, 141, .45);

  --ease:        cubic-bezier(.22, 1, .36, 1);
  --header-h:    94px;
}

/* ---------------------------- 2. Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { text-decoration: none; color: inherit; transition: color .3s var(--ease); }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.container { width: min(1220px, 92%); margin-inline: auto; }
.section   { padding: 110px 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------- 3. Utilities -------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 16px;
}
.eyebrow i {
  width: 9px; height: 9px; background: var(--teal);
  border-radius: 2px; transform: rotate(45deg); flex: none;
}
.eyebrow-light { color: var(--teal-400); }
.eyebrow-light i { background: var(--teal-400); }

.grad-text {
  background: linear-gradient(100deg, var(--teal-400), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.accent-underline { position: relative; display: inline-block; }
.accent-underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .30em;
  background: linear-gradient(90deg, rgba(92, 161, 154, .35), rgba(92, 161, 154, .08));
  border-radius: 999px; z-index: -1;
}

.section-head { margin-bottom: 54px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.section-head p  { margin-top: 14px; max-width: 560px; font-size: 16.5px; }
.section-head.centered { text-align: center; max-width: 680px; margin-inline: auto  auto; margin-bottom: 26px; }
.section-head.centered p { margin-inline: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 34px; }

/* --------------------------- 4. Buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 27px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }

.btn-teal {
  background: linear-gradient(135deg, #6fb7ae, var(--teal-700));
  color: #fff; box-shadow: var(--shadow-teal);
}
.btn-teal:hover { box-shadow: 0 20px 40px -14px rgba(92, 161, 154, .75); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; box-shadow: var(--shadow-blue);
}

.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.btn-ghost-light { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }

.btn-outline { border: 1px solid #cdd8ea; color: var(--blue); }
.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.btn-white { background: #fff; color: var(--blue); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .35); }

.btn-text { color: var(--blue); padding-inline: 8px; }
.btn-text:hover { color: var(--teal-700); }

/* --------------------------- 5. Header ----------------------------- */
/* utility top bar (scrolls away, sticky header below) */
.topbar {
  background: linear-gradient(90deg, #16295a, var(--blue));
  color: rgba(255, 255, 255, .85); font-size: 13px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar-group { display: flex; align-items: center; gap: 22px; }

.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); transition: color .25s; }
.topbar-item svg { width: 14px; height: 14px; color: var(--teal-400); flex: none; }
a.topbar-item:hover { color: #fff; }
.topbar-hours { opacity: .75; }

.topbar-social { display: flex; align-items: center; gap: 8px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .1);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.topbar-social a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.topbar-social svg { width: 13px; height: 13px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px -18px rgba(16, 26, 48, .35); border-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--header-h); }
.brand { flex: none; }
.brand img { height: 62px; width: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.03); }

/* --------------------------- Primary nav -------------------------- */
.main-nav { flex: none; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav li { flex: none; }
.main-nav a {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em; color: #2b3a5c;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
/* sliding tinted pill */
.main-nav a::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, rgba(42, 74, 141, .10), rgba(92, 161, 154, .20));
  border: 1px solid rgba(92, 161, 154, .40);
  opacity: 0; transform: translateY(8px) scale(.94);
  transition: opacity .34s var(--ease), transform .34s var(--ease);
}
/* glass shimmer sweeping across on hover (clipped to the pill) */
.main-nav a::after {
  content: ''; position: absolute; top: -2px; bottom: -2px; left: -75%; width: 55%;
  z-index: -1; transform: skewX(-22deg); opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transition: left .65s var(--ease), opacity .2s linear;
}
.main-nav a:hover { color: var(--blue); transform: translateY(-2px); }
.main-nav a:hover::before, .main-nav a.is-active::before { opacity: 1; transform: none; }
.main-nav a:hover::after { left: 125%; opacity: 1; }
.main-nav a.is-active { color: var(--blue); font-weight: 600; }
.main-nav a.is-active::after { display: none; }
.main-nav a:focus-visible { outline: none; }
.main-nav a:focus-visible::before { opacity: 1; transform: none; border-color: var(--blue); }

/* -------------------------- Enquire button ------------------------ */
.header-cta {
  position: relative; overflow: hidden; flex: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 23px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em; color: #fff;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 58%, var(--navy) 100%);
  box-shadow: 0 16px 32px -16px rgba(42, 74, 141, .85);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.header-cta::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transition: left .65s var(--ease);
}
.header-cta svg { width: 16px; height: 16px; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 38px -16px rgba(42, 74, 141, .95); }
.header-cta:hover::after { left: 125%; }
.header-cta:active { transform: translateY(0); }
.header-cta:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); position: relative; }
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
  background: var(--blue); transition: transform .35s var(--ease), opacity .25s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------- 6. Hero ------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 26px 0 104px;
  background:
    /* luminous core behind the media cards */
    radial-gradient(1150px 640px at 50% 74%, rgba(56, 142, 214, .58), transparent 66%),
    /* teal aurora, top-right */
    radial-gradient(940px 540px at 78% -10%, rgba(86, 206, 194, .7), transparent 62%),
    /* electric blue pool, bottom-left */
    radial-gradient(820px 560px at 4% 114%, rgba(66, 106, 236, .9), transparent 60%),
    /* cyan rim along the top edge */
    radial-gradient(700px 320px at 50% -8%, rgba(127, 208, 198, .42), transparent 70%),
    linear-gradient(158deg, #0b1734 0%, #16306a 40%, var(--blue) 70%, #2f7ab0 100%);
}
/* slow-moving light sweep across the band */
.hero::before {
  content: ''; position: absolute; inset: -45%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 145deg at 62% 34%,
    rgba(255, 255, 255, .12), transparent 16%,
    rgba(127, 208, 198, .22) 38%, transparent 58%,
    rgba(96, 152, 255, .18) 76%, transparent 96%);
  filter: blur(46px); opacity: .9;
  animation: heroSweep 22s ease-in-out infinite alternate;
}
/* aurora glow rising from the fold */
.hero::after {
  content: ''; position: absolute; left: 50%; bottom: -330px;
  width: min(1300px, 150%); height: 600px; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(96, 214, 200, .55), rgba(56, 142, 214, .28) 55%, transparent 74%);
  filter: blur(34px);
  animation: heroGlow 9s ease-in-out infinite alternate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1; opacity: .85; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 0),
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 26px 26px, 132px 132px, 132px 132px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 34%, #000 22%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 34%, #000 22%, transparent 80%);
}

/* diagonal light rays drifting slowly sideways */
.hero-rays {
  position: absolute; inset: -8% -25%; z-index: 1; pointer-events: none; opacity: .55;
  background: repeating-linear-gradient(112deg,
    rgba(255, 255, 255, .07) 0 2px,
    transparent 2px 96px,
    rgba(127, 208, 198, .1) 96px 98px,
    transparent 98px 196px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 72%, transparent 100%);
  animation: heroRays 26s linear infinite;
}

/* bright horizon right under the header */
.hero-horizon {
  position: absolute; top: 0; left: 0; right: 0; height: 240px; z-index: 1;
  pointer-events: none; opacity: .75;
  background:
    linear-gradient(180deg, rgba(160, 240, 226, .38), rgba(127, 208, 198, .1) 42%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 92%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 92%);
}

.hero-blob { position: absolute; z-index: 1; border-radius: 50%; filter: blur(78px); pointer-events: none; }
.hero-blob-1 { width: 540px; height: 540px; background: rgba(96, 226, 208, .5);  top: -200px; left: -180px; animation: heroFloat 14s ease-in-out infinite; }
.hero-blob-2 { width: 500px; height: 500px; background: rgba(74, 116, 255, .72); bottom: -220px; right: -160px; animation: heroFloat 17s ease-in-out infinite reverse; }
.hero-blob-3 { width: 620px; height: 330px; background: rgba(64, 176, 235, .45); top: 34%; left: 46%; margin-left: -310px; animation: heroFloat 19s ease-in-out infinite; }
.hero-blob-4 { width: 380px; height: 380px; background: rgba(140, 110, 255, .34); top: 8%; right: 24%; animation: heroFloat 21s ease-in-out infinite reverse; }

@keyframes heroSweep {
  from { transform: rotate(0deg) scale(1);    opacity: .68; }
  to   { transform: rotate(14deg) scale(1.16); opacity: 1; }
}
@keyframes heroGlow {
  from { transform: translateX(-50%) scale(.94); opacity: .72; }
  to   { transform: translateX(-50%) scale(1.1);  opacity: 1; }
}
@keyframes heroRays {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-196px, 0, 0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(26px, -22px, 0); }
}

/* halo so the cards sit inside the glow instead of on top of flat colour */
.hero-media::before {
  content: ''; position: absolute; inset: -46px -34px -60px; z-index: -1;
  border-radius: 44px; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 55%, rgba(127, 208, 198, .4), rgba(56, 142, 214, .22) 55%, transparent 78%);
  filter: blur(38px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Full-width 65 / 30 media split */
.hero-media {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 2.15fr 1fr; gap: 20px;
  width: min(1600px, 97%); margin-inline: auto;
  height: clamp(400px, 62vh, 680px);
}

.hero-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 34px 80px -30px rgba(0, 0, 0, .6);
  height: 100%; background: #0b1530;
}
.slider-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }

@keyframes kenburns { from { transform: scale(1.01); } to { transform: scale(1.11); } }

.slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; gap: 16px;
  padding: 78px 30px 26px; color: #fff;
  background: linear-gradient(to top, rgba(8, 16, 36, .92) 8%, rgba(8, 16, 36, .55) 48%, transparent 100%);
}
.slide-text h3 { color: #fff; font-size: clamp(19px, 2vw, 25px); }
.slide-text p  { margin-top: 5px; font-size: 13.5px; color: rgba(255, 255, 255, .74); line-height: 1.5; }

.slider-ui {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
}
.slider-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.slider-arrow svg { width: 18px; height: 18px; }
.slider-arrow:hover { background: #fff; color: var(--blue); transform: scale(1.08); }

.slider-dots { display: flex; align-items: center; gap: 7px; padding: 0 4px; }
.dot {
  width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .45);
  transition: width .35s var(--ease), background .3s;
}
.dot.is-active { width: 26px; background: var(--teal-400); }

/* video card */
.hero-video {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #08101f; box-shadow: 0 34px 80px -30px rgba(0, 0, 0, .6);
  height: 100%;
}
.hero-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* light edge so the cards separate crisply from the glow */
.hero-slider, .hero-video {
  box-shadow: 0 34px 80px -30px rgba(0, 0, 0, .62), inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; color: var(--blue);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
  transition: transform .35s var(--ease), opacity .35s, background .3s;
}
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.09); background: var(--teal-400); color: #06231f; }
.video-play-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(.92); opacity: .9; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.hero-video.is-playing .video-play { opacity: 0; pointer-events: none; }

.video-meta {
  position: absolute; top: 16px; left: 16px; right: 16px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.video-badge, .video-time {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; color: #fff;
  background: rgba(8, 16, 36, .55); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.video-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); animation: blink 1.8s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 46px 20px 18px;
  color: #fff; background: linear-gradient(to top, rgba(8, 16, 36, .9), transparent);
}
.video-caption h4 { color: #fff; font-size: 16px; }
.video-caption p  { font-size: 12.5px; color: rgba(255, 255, 255, .7); }

/* --------------------- 6b. Stats (own section) --------------------- */
.stats { position: relative; z-index: 6; margin-top: -78px; }

.stats-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 26px 38px; box-shadow: var(--shadow-md);
}

.stat { display: flex; align-items: center; justify-content: center; gap: 15px; flex: 1; }
.stat-icon {
  width: 52px; height: 52px; flex: none; border-radius: 16px;
  display: grid; place-items: center; color: var(--blue);
  background: linear-gradient(135deg, rgba(92, 161, 154, .18), rgba(42, 74, 141, .12));
}
.stat-icon svg { width: 23px; height: 23px; }
.stat strong {
  display: block; font-family: 'Fraunces', serif; font-size: 31px;
  font-weight: 600; color: var(--ink); line-height: 1.05;
}
.stat-text span { display: block; margin-top: 3px; font-size: 13px; color: var(--body); }
.stat-sep { width: 1px; height: 52px; background: var(--line); flex: none; }

/* ------------------------ 7. Announcements ------------------------ */
.announce-section {
  position: relative; overflow: hidden;
  margin-top: 34px; padding: 54px 0 48px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.announce-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.announce-section .section-foot { margin-top: 46px; }

.marquee {
  overflow: hidden; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --------------------- announcement scroller ---------------------- */
.announce-marquee { padding: 14px 0 8px; }
.announce-track { align-items: stretch; animation-duration: 65s; }

.announce-card {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  flex: none; width: clamp(320px, 30vw, 430px); margin-right: 22px;
  padding: 16px 20px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 16px 38px -28px rgba(16, 26, 48, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.announce-card:hover {
  transform: translateY(-5px); border-color: rgba(92, 161, 154, .6);
  box-shadow: 0 26px 48px -28px rgba(16, 26, 48, .5);
}
a.announce-card { color: inherit; text-decoration: none; }
a.announce-card:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 74, 141, .18); }
.announce-card.is-latest { border-color: rgba(92, 161, 154, .75); }

.announce-new {
  position: absolute; top: -10px; right: 18px; z-index: 2;
  padding: 4px 11px; border-radius: 999px;
  font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 8px 16px -8px rgba(42, 74, 141, .6);
}

.announce-date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 66px; padding: 10px 0; border-radius: 15px; text-align: center;
  background: linear-gradient(150deg, var(--blue), var(--teal));
  box-shadow: 0 10px 20px -12px rgba(42, 74, 141, .75);
}
.announce-date strong {
  font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600;
  color: #fff; line-height: 1;
}
.announce-date span {
  margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .92);
}
.announce-date span em {
  display: block; font-style: normal; font-size: 9px; font-weight: 600;
  letter-spacing: .05em; color: rgba(255, 255, 255, .6); margin-top: 1px;
}

.announce-body { min-width: 0; }
.announce-tag {
  display: inline-block; margin-bottom: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: rgba(42, 74, 141, .09);
}
.announce-body h3 { font-size: 15px; font-weight: 600; line-height: 1.42; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------- 8. About ------------------------------ */
.about { position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 72px; align-items: center; }

.about-media { position: relative; padding-bottom: 26px; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4.2; position: relative;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media:hover .about-img-main img { transform: scale(1.05); }

.about-img-small {
  position: absolute; right: -18px; bottom: -8px; width: 43%; max-width: 210px;
  border-radius: var(--radius-md); overflow: hidden; border: 7px solid var(--white);
  box-shadow: var(--shadow-md); aspect-ratio: 1 / 1; background: #fff;
}
.about-img-small img { width: 100%; height: 100%; object-fit: cover; }

.about-experience {
  position: absolute; left: -16px; bottom: 52px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px; border-radius: var(--radius-md); background: var(--white);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.about-experience-num {
  font-family: 'Fraunces', serif; font-size: 40px; font-weight: 600; line-height: 1; color: var(--blue);
}
.about-experience-num sup { color: var(--teal); font-size: 22px; }
.about-experience-label { font-size: 12.5px; line-height: 1.45; color: var(--body); font-weight: 500; }

.about-shape {
  position: absolute; top: -26px; right: 40px; width: 118px; height: 118px; z-index: -1;
  background-image: radial-gradient(circle, rgba(92, 161, 154, .5) 1.6px, transparent 1.7px);
  background-size: 15px 15px;
}

.about-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.about-content .lead { margin-top: 18px; font-size: 17.5px; color: #3d4d6b; }
.about-content p + p { margin-top: 14px; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; margin: 30px 0 34px; }
.about-features li { display: flex; gap: 13px; align-items: flex-start; }
.feat-icon {
  width: 34px; height: 34px; flex: none; border-radius: 11px;
  display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700);
}
.feat-icon svg { width: 17px; height: 17px; stroke-width: 2.6; }
.about-features strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.about-features small  { display: block; margin-top: 2px; font-size: 13px; color: var(--body); line-height: 1.5; }

.about-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* -------------------------- 9. Patrons ----------------------------- */
.patrons {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(92, 161, 154, .10), transparent 60%),
    radial-gradient(760px 420px at 5% 100%, rgba(42, 74, 141, .08), transparent 60%),
    var(--soft);
}

.patron-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.patron-more { margin-top: 46px; text-align: center; }

/* Flat white card with a ringed circular portrait — four across. */
.patron-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 18px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; text-align: center;
  box-shadow: none;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.patron-card:hover { border-color: #cfe1e5; background: #fcfefe; }

.patron-photo {
  position: relative; width: 124px; max-width: 64%; aspect-ratio: 1;
  margin: 0 auto; padding: 6px;
  background: var(--white); border: 3px solid var(--teal);
  border-radius: 50%; overflow: hidden;
  box-shadow: none;
}
.patron-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  transition: transform .8s var(--ease);
}
.patron-card:hover .patron-photo img { transform: scale(1.06); }

.patron-info { padding: 0; margin-top: 20px; }
.patron-info h3 { font-size: 19px; line-height: 1.32; color: var(--teal-800); }
.patron-position {
  display: block; margin-top: 8px;
  font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .02em;
}
.patron-degree {
  display: block; margin-top: 7px;
  font-size: 12.5px; line-height: 1.6; color: #6d7c93;
}

/* ------------------------ 10. Publications ------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  overflow: visible; box-shadow: 0 14px 40px -24px rgba(16, 26, 48, .35);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.post-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); }

.post-media { position: relative; display: block; border-radius: 22px 22px 0 0; aspect-ratio: 16 / 10.2; background: #e9eef5; }
.post-media-frame { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 22px 22px 0 0; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }

.post-category {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: #fff; background: rgba(42, 74, 141, .88);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

.post-date {
  position: absolute; left: 20px; bottom: -20px; z-index: 3;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 14px; background: var(--white);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.post-date svg { width: 16px; height: 16px; color: var(--teal); }
.post-date em { font-style: normal; font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--blue); line-height: 1; }
.post-date span { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--body); line-height: 1.2; }

.post-body { padding: 34px 24px 26px; }
.post-body h3 { font-size: 19.5px; line-height: 1.36; }
.post-body h3 a:hover { color: var(--blue-600); }
.post-body > p {
  margin-top: 11px; font-size: 14.5px; color: var(--body);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.post-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px;
}
.post-author { display: flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; flex: none;
  background: linear-gradient(135deg, var(--blue-600), var(--teal));
}
.post-read { display: inline-flex; align-items: center; gap: 6px; color: var(--body); white-space: nowrap; }
.post-read svg { width: 14px; height: 14px; color: var(--teal); }

.post-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}
.post-more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.post-more:hover { color: var(--teal-700); }
.post-more:hover svg { transform: translateX(5px); }

/* --------------------------- 11. CTA ------------------------------- */
.cta { padding-top: 20px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 30px;
  padding: 60px 58px; display: flex; align-items: center; justify-content: space-between;
  gap: 44px; color: #fff;
  background: linear-gradient(118deg, var(--blue) 0%, var(--blue-800) 56%, #17497c 100%);
  box-shadow: 0 34px 80px -34px rgba(28, 52, 104, .8);
}
.cta-blob {
  position: absolute; width: 440px; height: 440px; border-radius: 50%; top: -170px; right: -90px;
  background: radial-gradient(circle, rgba(92, 161, 154, .55), transparent 68%); filter: blur(18px);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: #fff; font-size: clamp(1.6rem, 2.9vw, 2.35rem); line-height: 1.24; }
.cta-content p { margin-top: 14px; max-width: 500px; color: rgba(255, 255, 255, .78); font-size: 16px; }

.cta-actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; flex: none; }

/* -------------------------- 12. Footer ----------------------------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(92, 161, 154, .16), transparent 60%),
    radial-gradient(700px 480px at 0% 110%, rgba(42, 74, 141, .5), transparent 62%),
    var(--navy);
}
.footer-wave { position: relative; line-height: 0; background: transparent; }
.footer-wave svg { width: 100%; height: 92px; }

.footer-body {
  position: relative; overflow: hidden;
  background: transparent;
}
.footer-dna {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(127, 208, 198, .22) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}

.footer-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.65fr 1fr 1fr 1.5fr; gap: 44px; padding: 26px 0 52px;
}

.footer-logo {
  display: inline-flex; background: #fff; border-radius: 14px; padding: 9px 15px;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .7);
}
.footer-logo img { height: 52px; width: auto; }

.footer-about { margin-top: 18px; max-width: 335px; font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, .58); }

.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75);
  transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s;
}
.footer-socials a:hover { background: var(--teal); border-color: var(--teal); color: #06231f; transform: translateY(-3px); }
.footer-socials svg { width: 17px; height: 17px; }

.footer-col h4 {
  position: relative; color: #fff; font-size: 17px; padding-left: 15px; margin-bottom: 22px;
}
.footer-col h4::before {
  content: ''; position: absolute; left: 0; top: .18em; bottom: .18em; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, var(--teal-400), var(--teal));
}

.footer-links li a {
  display: flex; align-items: center; gap: 10px; padding: 7px 0;
  font-size: 14.5px; color: rgba(255, 255, 255, .6);
}
.footer-links li a svg { width: 13px; height: 13px; color: var(--teal); opacity: .0; margin-left: -19px; transition: opacity .3s, margin-left .35s var(--ease); }
.footer-links li a:hover { color: #fff; }
.footer-links li a:hover svg { opacity: 1; margin-left: 0; }

.footer-contact li { display: flex; gap: 13px; margin-bottom: 17px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .6); }
.footer-contact li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--teal-400); }
.footer-contact a:hover { color: #fff; }

.footer-whatsapp {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  padding: 11px 19px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: #9fd8d0; background: rgba(92, 161, 154, .12); border: 1px solid rgba(92, 161, 154, .34);
  transition: background .3s, color .3s;
}
.footer-whatsapp svg { width: 17px; height: 17px; }
.footer-whatsapp:hover { background: var(--teal); color: #06231f; }

.footer-bottom {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.5px; color: rgba(255, 255, 255, .45);
}
.footer-bottom strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
.footer-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin: 0 8px; vertical-align: middle; }
.footer-bottom ul { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }

/* back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; box-shadow: var(--shadow-blue);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease), background .3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal); transform: translateY(-3px); }

/* ----------------------- 13. Reveal on scroll ---------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------- 14. Responsive ------------------------ */
@media (max-width: 1280px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    max-height: 0; overflow: hidden;
    border-bottom: 1px solid transparent;
    transition: max-height .45s var(--ease), border-color .3s;
  }
  .header-cta { margin-left: auto; }
  .main-nav.is-open {
    max-height: 460px;
    border-bottom-color: var(--line);
    box-shadow: 0 24px 44px -22px rgba(16, 26, 48, .35);
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 20px; width: min(1220px, 92%); margin-inline: auto; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; padding-top: 8px; }
  .main-nav a { display: flex; justify-content: space-between; padding: 15px 16px; font-size: 15.5px; border-radius: 14px; }
  .main-nav a::after { display: none; }
  .main-nav a.is-active::before, .main-nav a:hover::before { opacity: 1; transform: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .about-grid { gap: 54px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .cta-card { padding: 48px 40px; }

  .stats-card { flex-wrap: wrap; justify-content: center; gap: 26px 10px; }
  .stat { flex: 1 1 40%; }
  .stat-sep { display: none; }
}

@media (max-width: 900px) {
  .topbar-hours { display: none; }
  .hero { padding: 18px 0 92px; }
  .hero-media { grid-template-columns: 1fr; height: auto; width: 92%; gap: 16px; }
  .hero-slider { aspect-ratio: 16 / 10; }
  .hero-video { aspect-ratio: 16 / 10; height: auto; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-inline: auto; width: 100%; }

  .patron-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head.split { flex-direction: column; align-items: flex-start; }

  .cta-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  :root { --header-h: 80px; }
  .topbar { font-size: 12px; }
  .topbar-inner { min-height: 38px; }
  .topbar-group { gap: 14px; }
  .topbar-email { display: none; }
  .brand img { height: 52px; }
  .hero-rays { opacity: .35; }
  .hero-blob-4 { display: none; }
  .hero-horizon { height: 170px; }
  .section { padding: 70px 0; }

  .stats { margin-top: -64px; }
  .stats-card { padding: 22px; gap: 18px; }
  .stat { flex: 1 1 100%; justify-content: flex-start; }
  .stat strong { font-size: 26px; }
  .stat-icon { width: 46px; height: 46px; border-radius: 14px; }

  .slide-caption { padding: 60px 20px 20px; gap: 12px; }
  .slide-text p { display: none; }
  .slider-ui { right: 14px; bottom: 14px; }
  .slider-arrow { width: 38px; height: 38px; }

  .announce-section { margin-top: 26px; padding: 44px 0 40px; }
  .announce-card { width: 300px; margin-right: 16px; gap: 13px; padding: 13px 15px; }
  .announce-date { width: 56px; padding: 9px 0; }
  .announce-date strong { font-size: 20px; }
  .announce-body h3 { font-size: 14px; }
  .announce-new { right: 12px; font-size: 8.5px; }

  .about-features { grid-template-columns: 1fr; }
  .about-experience { left: 0; bottom: 34px; padding: 12px 16px; }
  .about-experience-num { font-size: 32px; }
  .about-img-small { right: 0; bottom: 0; border-width: 5px; }

  .patron-grid, .patron-grid--4, .post-grid { grid-template-columns: 1fr; }
  .patron-card, .post-card { max-width: 460px; margin-inline: auto; width: 100%; }
  .patron-grid--4.is-center > .patron-card { width: 100%; }

  .cta-card { padding: 38px 26px; border-radius: 24px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom ul { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   15. Premium inner pages
       (About Us · Patrons · Activities · Publications · Article · Contact)
   ===================================================================== */

.section-head-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.section-tint { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }

/* -------------------------- Page hero ---------------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 58px 0 76px;
  background:
    radial-gradient(760px 380px at 88% -20%, rgba(92, 161, 154, .38), transparent 62%),
    radial-gradient(700px 420px at 4% 130%, rgba(42, 74, 141, .9), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue-900) 55%, #173363 100%);
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(circle, rgba(127, 208, 198, .4) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 50%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%, transparent);
}
.page-hero-blob { position: absolute; border-radius: 50%; filter: blur(72px); pointer-events: none; z-index: 1; }
.page-hero-blob-1 { width: 400px; height: 400px; background: rgba(92, 161, 154, .3); top: -170px; right: -110px; }
.page-hero-blob-2 { width: 340px; height: 340px; background: rgba(42, 74, 141, .7); bottom: -180px; left: -110px; }

.page-hero-inner { position: relative; z-index: 2; max-width: 880px; text-align: center; }
.page-hero .eyebrow { justify-content: center; margin-bottom: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 4.4vw, 3.45rem); line-height: 1.14; }
.page-hero-lead {
  margin: 20px auto 0; max-width: 720px;
  font-size: clamp(15.5px, 1.6vw, 18.5px); line-height: 1.7; color: rgba(255, 255, 255, .76);
}
.page-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.page-chips li {
  padding: 8px 17px; border-radius: 999px; font-size: 13.5px; color: #ddf2ef;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .17);
}

/* ------------------------- Breadcrumbs --------------------------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 24px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: var(--teal-400); }
.crumb-sep { color: var(--teal-400); }
.crumb-current { color: #fff; font-weight: 600; }

/* ---------------------- About · prose layout --------------------- */
.split-2 { display: grid; grid-template-columns: 1.55fr .9fr; gap: 58px; align-items: start; }
.split-main h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.prose { margin-top: 26px; }
.prose p { font-size: 16.5px; line-height: 1.85; }
.prose p + p { margin-top: 18px; }
.prose .lead { font-size: 19.5px; line-height: 1.7; color: #3d4d6b; font-weight: 500; }

.side-card {
  position: sticky; top: calc(var(--header-h) + 26px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-md);
}
.side-card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; margin-bottom: 18px;
}
.side-card-icon svg { width: 24px; height: 24px; }
.side-card h3 { font-size: 20px; margin-bottom: 16px; }
.side-list li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.side-list li:last-child { border-bottom: 0; }
.side-list li span { color: var(--body); }
.side-list li strong { color: var(--ink); font-weight: 600; text-align: right; }

/* Two buttons side by side inside the notice/side card */
.side-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.side-actions .btn {
  flex: 1 1 132px; max-width: 260px;
  padding: 13px 8px; font-size: 13.5px; gap: 7px;
}
.side-actions .btn svg { width: 15px; height: 15px; }
@media (max-width: 480px) {
  .side-actions .btn { max-width: none; }
}

/* --------------------------- Feature cards ----------------------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.feature-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card h3 { font-size: 18.5px; line-height: 1.35; }
.feature-card p { margin-top: 10px; font-size: 14.6px; line-height: 1.7; }

.icon-tile {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px;
  background: rgba(42, 74, 141, .09); color: var(--blue); margin-bottom: 18px; flex: none;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.teal { background: var(--teal-50); color: var(--teal-700); }

.highlight-band {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 34px; padding: 26px 30px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(42, 74, 141, .06), rgba(92, 161, 154, .12));
}
.highlight-band .icon-tile { margin-bottom: 0; }
.highlight-band h3 { font-size: 19.5px; }
.highlight-band p { margin-top: 6px; font-size: 15px; max-width: 720px; }
.highlight-band .btn { margin-left: auto; }

/* --------------------------- Statement --------------------------- */
.statement-card {
  position: relative; max-width: 940px; margin-inline: auto; text-align: center;
  padding: 54px clamp(22px, 5vw, 64px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.statement-quote {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700); margin: 0 auto 18px;
}
.statement-quote svg { width: 32px; height: 32px; transform: translateY(-2px); }
.statement-card .eyebrow { justify-content: center; }
.statement-text {
  margin-top: 8px; font-family: 'Fraunces', Georgia, serif; font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1.6; color: var(--ink);
}
.statement-text strong { color: var(--blue); font-weight: 600; }

/* --------------------------- Quote band -------------------------- */
.quote-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-900) 60%, #173363 100%);
}
.quote-band-blob {
  position: absolute; z-index: 0; width: 480px; height: 480px; border-radius: 50%;
  background: rgba(92, 161, 154, .22); filter: blur(90px); top: -180px; right: -120px;
}
.quote-band-inner { position: relative; z-index: 2; max-width: 880px; }
.quote-band-mark {
  display: block; font-family: 'Fraunces', Georgia, serif; font-size: 110px; line-height: .5;
  color: rgba(127, 208, 198, .35); margin-bottom: 26px;
}
.quote-band blockquote {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.26; color: #fff;
}
.quote-band-source { margin: 26px auto 0; max-width: 700px; font-size: 16.5px; line-height: 1.75; color: rgba(255, 255, 255, .7); }
.quote-band-source strong { color: var(--teal-400); }

/* ---------------------------- Pillars ---------------------------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar {
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: var(--soft); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
}
.pillar:hover { transform: translateY(-7px); background: #fff; box-shadow: var(--shadow-md); }
.pillar-num {
  display: block; font-family: 'Fraunces', Georgia, serif; font-size: 40px; line-height: 1;
  color: rgba(42, 74, 141, .18);
}
.pillar h3 { margin-top: 16px; font-size: 19.5px; line-height: 1.4; }
.pillar p { margin-top: 10px; font-size: 14.8px; }

/* ------------------------ Closing / signature --------------------- */
.closing-card {
  max-width: 900px; margin: 48px auto 0; text-align: center;
  padding: 44px clamp(22px, 4vw, 52px); border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue-900) 70%);
  color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-md);
}
.closing-card p { font-size: 16.5px; line-height: 1.85; }
.signature { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.signature-line { width: 54px; height: 1px; background: rgba(255, 255, 255, .35); }
.signature strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 21px; color: #fff; }
.signature div span {
  display: block; margin-top: 4px; font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-400);
}
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.closing-actions .btn-outline { border-color: rgba(255, 255, 255, .4); color: #fff; }
.closing-actions .btn-outline:hover { background: #fff; border-color: #fff; color: var(--blue); }

/* ---------------------- Announcements list ------------------------ */
.announce-list { display: grid; gap: 16px; }
.announce-row {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px 26px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.announce-row:hover { transform: translateX(7px); box-shadow: var(--shadow-sm); border-color: rgba(92, 161, 154, .55); }
.announce-row-date {
  flex: none; width: 94px; text-align: center; padding: 13px 0; border-radius: 14px;
  background: var(--teal-50); color: var(--teal-700);
}
.announce-row-date strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 26px; line-height: 1; }
.announce-row-date span { display: block; margin-top: 5px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.announce-row-body { flex: 1; min-width: 0; }
.announce-row-body h3 { margin-top: 7px; font-size: 17.5px; line-height: 1.45; }
.announce-row-arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); color: var(--blue); transition: background .4s var(--ease), color .4s;
}
.announce-row-arrow svg { width: 17px; height: 17px; }
.announce-row:hover .announce-row-arrow { background: var(--blue); color: #fff; }
a.announce-row { color: inherit; text-decoration: none; }
a.announce-row:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 74, 141, .18); }

/* --------------------------- Featured post ------------------------ */
.feat-post {
  display: grid; grid-template-columns: 1.12fr 1fr; gap: 44px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.feat-post-media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-md); aspect-ratio: 16 / 11;
}
.feat-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feat-post-media:hover img { transform: scale(1.05); }
.feat-post-media .post-category { position: absolute; top: 16px; left: 16px; }
.feat-post-body { padding-right: 18px; }
.feat-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 13.5px; color: var(--body); }
.feat-post-body h3 { margin-top: 16px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.24; }
.feat-post-body > p { margin-top: 14px; font-size: 16px; }
.feat-post-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--body);
  transition: background .3s, color .3s, border-color .3s;
}
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* --------------------------- Article page -------------------------- */
.article-hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 54px 0 68px;
  background:
    radial-gradient(700px 340px at 90% -30%, rgba(92, 161, 154, .38), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue-900) 55%, #173363 100%);
}
.article-hero-inner { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.article-hero .crumbs { justify-content: center; }
.article-hero h1 { margin-top: 18px; color: #fff; font-size: clamp(1.95rem, 4vw, 3.05rem); line-height: 1.2; }
.post-category-lg { position: static; display: inline-block; margin-top: 4px; }
.article-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 22px; margin-top: 26px; font-size: 14px;
}
.article-meta .post-author, .article-meta .post-read { color: rgba(255, 255, 255, .82); }
.article-meta .avatar { background: #fff; color: var(--blue); }

.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.article-cover { overflow: hidden !important; border-radius: var(--radius-lg) !important; margin-top: 0 !important; padding-top: 0 !important; }
.article-cover > img { width: 100%; display: block; border-radius: 0 !important; margin-top: 0 !important; }
.article-lead {
  margin-top: 36px; padding-left: 22px; border-left: 4px solid var(--teal);
  font-size: 19.5px; line-height: 1.75; color: #3d4d6b; font-weight: 500;
}
.article-body > p { margin-top: 20px; font-size: 16.5px; line-height: 1.9; }

/* ---- rich-text bodies authored in the admin panel (sanitised HTML) ---- */
.article-body h2 { margin-top: 38px; font-size: 26px; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); }
.article-body h3 { margin-top: 30px; font-size: 21px; line-height: 1.35; color: var(--navy); }
.article-body h4,
.article-body h5,
.article-body h6 { margin-top: 26px; font-size: 17.5px; line-height: 1.4; color: var(--navy); }
.article-body ul,
.article-body ol { margin-top: 22px; padding-left: 26px; }
.article-body li { margin-top: 10px; font-size: 16.5px; line-height: 1.85; color: #3d4d6b; }
.article-body li::marker { color: var(--teal); font-weight: 700; }
.article-body li > ul,
.article-body li > ol { margin-top: 8px; }
.article-body blockquote {
  margin-top: 30px; padding: 22px 26px; border-left: 4px solid var(--blue);
  background: #f4f7fd; border-radius: 0 16px 16px 0;
  font-size: 17px; line-height: 1.8; color: #33415c; font-style: italic;
}
.article-body blockquote p { margin: 0; font-style: inherit; }
.article-body a {
  color: var(--blue); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1.5px; text-decoration-color: rgba(42, 74, 141, .4);
}
.article-body a:hover { color: var(--teal); text-decoration-color: var(--teal); }
.article-body strong { color: var(--navy); }
.article-body table {
  width: 100%; border-collapse: collapse; margin-top: 28px;
  font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px -24px rgba(15, 28, 51, .6);
}
.article-body th,
.article-body td { padding: 12px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: #f4f7fd; font-weight: 700; color: var(--navy); font-size: 13.5px; }
.article-body td { font-size: 15px; line-height: 1.7; color: #3d4d6b; }
.article-body img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); margin-top: 26px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin-top: 34px; }
.article-body figure { margin-top: 26px; }
.article-body > *:first-child,
.article-body > .article-cover,
.article-body > figure:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.article-body figcaption { margin-top: 10px; font-size: 13.5px; color: var(--body); text-align: center; }
.article-body pre {
  margin-top: 26px; padding: 18px 20px; border-radius: 14px; overflow-x: auto;
  background: var(--navy); color: #dbe4f5; font-size: 14px; line-height: 1.7;
}
/* Quill leaves an empty paragraph behind an empty editor. */
.article-body p:has(> br:only-child):last-child { display: none; }

/* Rich markup inside the patron biography popup. */
.patron-modal-bio h2 { font-size: 18px; margin-top: 20px; color: var(--navy); }
.patron-modal-bio h3 { font-size: 16px; margin-top: 18px; color: var(--navy); }
.patron-modal-bio ul,
.patron-modal-bio ol { margin-top: 14px; padding-left: 22px; }
.patron-modal-bio li { font-size: 15.5px; line-height: 1.75; color: #3d4d6b; margin-top: 7px; }
.patron-modal-bio li::marker { color: var(--teal); }
.patron-modal-bio a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.patron-modal-bio strong { color: var(--navy); }
.patron-modal-bio blockquote {
  margin-top: 16px; padding: 14px 18px; border-left: 3px solid var(--teal);
  background: #f4f7fd; border-radius: 0 12px 12px 0; font-style: italic; color: #33415c;
}
.article-share {
  margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line);
}
.share-label {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--body);
}
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: none; color: #fff !important;
  font-size: 13.5px; font-weight: 600;
  text-decoration: none !important;
  transition: transform .3s var(--ease), filter .3s, box-shadow .3s;
}
.share-btn svg { width: 15px; height: 15px; flex: none; stroke: currentColor; }
.share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: var(--shadow-md);
  color: #fff !important;
  text-decoration: none !important;
}
.share-btn[data-net="facebook"]  { background: #1877f2; }
.share-btn[data-net="x"]          { background: #000000; }
.share-btn[data-net="linkedin"]   { background: #0a66c2; }
.share-btn[data-net="whatsapp"]   { background: #25d366; }
.share-btn[data-net="telegram"]   { background: #0088cc; }
.share-btn[data-net="email"]      { background: #ea4335; }
.share-btn[data-net="copy"]       { background: #374151; }
.share-note { margin-top: 13px; font-size: 13.5px; font-weight: 600; color: var(--teal-700); }
.article-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn-sm { padding: 10px 17px; font-size: 13.5px; }
.article-side .side-card { position: sticky; }

/* ---------------------------- Contact ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.contact-intro { margin-top: 14px; font-size: 16.5px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.contact-card .icon-tile { width: 46px; height: 46px; margin-bottom: 0; }
.contact-card .icon-tile svg { width: 20px; height: 20px; }
.contact-card strong { display: block; color: var(--ink); font-size: 15.5px; }
.contact-card p { margin-top: 7px; font-size: 14.5px; line-height: 1.65; }
.contact-card a:hover { color: var(--blue-600); }
.contact-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.contact-link svg { width: 14px; height: 14px; }
/* ------------------------ Social circle icons ---------------------- */
.social-strip { margin-top: 30px; }
.social-strip-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.social-strip-head h4 {
  font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink);
}
.social-strip-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.social-circles { display: flex; flex-wrap: wrap; gap: 18px 20px; }
.social-item { display: flex; flex-direction: column; align-items: center; gap: 9px; }

.social-circle {
  --net: var(--blue);
  --net-bg: linear-gradient(135deg, var(--blue), var(--blue-600));
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--net);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s,
              border-color .4s, box-shadow .4s var(--ease);
}
.social-circle svg { width: 18px; height: 18px; }

.social-facebook  { --net: #1877f2; --net-bg: linear-gradient(135deg, #2a86f0, #0a4fbd); }
.social-instagram { --net: #d6249f; --net-bg: linear-gradient(135deg, #feda75, #fa7e1e 28%, #d62976 58%, #962fbf 82%, #4f5bd5); }
.social-linkedin  { --net: #0a66c2; --net-bg: linear-gradient(135deg, #1a86d8, #004182); }
.social-youtube   { --net: #e5322d; --net-bg: linear-gradient(135deg, #ff4b3e, #c40000); }
.social-whatsapp  { --net: #1fae5a; --net-bg: linear-gradient(135deg, #2fd573, #0f8f6f); }

.social-name {
  font-size: 11.5px; letter-spacing: .04em; color: var(--body);
  transition: color .3s var(--ease);
}

.social-circle:hover, .social-circle:focus-visible {
  background: var(--net-bg); color: #fff; border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 14px 26px -12px rgba(16, 26, 48, .55);
}
.social-item:hover .social-name { color: var(--ink); }

.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 23px; }
.contact-form > p { margin-top: 6px; font-size: 14.5px; }
.form-notice { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.6; }
.form-notice.is-success { background: var(--teal-50); color: var(--teal-700); border: 1px solid rgba(92, 161, 154, .4); }
.form-notice.is-error { background: #fdecec; color: #a92a2a; border: 1px solid #f3c4c4; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: block; margin-top: 16px; }
.form-field > span { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--soft); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(42, 74, 141, .12);
}
.contact-form .btn-block { margin-top: 22px; }

.map-card {
  overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.map-card iframe { display: block; width: 100%; height: 430px; border: 0; }

/* --------------------------- 16. Responsive ----------------------- */
@media (max-width: 1140px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .split-2 { grid-template-columns: 1fr; gap: 42px; }
  .side-card { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feat-post { grid-template-columns: 1fr; gap: 26px; }
  .feat-post-body { padding-right: 0; }
  .highlight-band .btn { margin-left: 0; }
}

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-head-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 700px) {
  .page-hero { padding: 44px 0 56px; }
  .page-chips li { font-size: 12.5px; padding: 7px 13px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card, .pillar { padding: 26px 22px; }
  .announce-row { flex-wrap: wrap; gap: 16px; padding: 18px; }
  .announce-row-arrow { display: none; }
  .announce-row-date { width: 76px; }
  .quote-band { padding: 74px 0; }
  .quote-band-mark { font-size: 84px; }
  .statement-card { padding: 36px 22px; }
  .closing-card { padding: 34px 22px; }
  .closing-actions .btn { width: 100%; }
  .feat-post { padding: 16px; }
  .social-circles { gap: 16px; }
  .social-circle { width: 44px; height: 44px; }
  .contact-form-wrap { padding: 26px 20px; }
  .article-hero { padding: 42px 0 54px; }
  .article-lead { font-size: 17.5px; }
  .article-meta { gap: 14px; }
  .map-card iframe { height: 300px; }
}

/* =====================================================================
   17. Preloader
   ===================================================================== */
body.is-preloading { overflow: hidden; }

.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background:
    radial-gradient(760px 420px at 78% -12%, rgba(86, 206, 194, .5), transparent 64%),
    radial-gradient(700px 460px at 6% 116%, rgba(66, 106, 236, .7), transparent 62%),
    linear-gradient(158deg, #0b1734 0%, #16306a 44%, var(--blue) 100%);
  opacity: 1; visibility: visible;
  transition: opacity .75s var(--ease), visibility .75s, transform .75s var(--ease);
}
.preloader.is-hidden {
  opacity: 0; visibility: hidden; transform: scale(1.06);
  pointer-events: none;
}
.preloader-bg {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 26px 26px, 132px 132px, 132px 132px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 78%);
}
.preloader-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: preFloat 12s ease-in-out infinite;
}
.preloader-blob-1 { width: 420px; height: 420px; background: rgba(96, 226, 208, .4); top: -140px; left: -120px; }
.preloader-blob-2 { width: 400px; height: 400px; background: rgba(74, 116, 255, .55); bottom: -150px; right: -110px; animation-direction: reverse; }

.preloader-core { position: relative; z-index: 2; width: min(420px, 88vw); text-align: center; }

/* --- square light frame around the logo box --- */
.preloader-orbit {
  position: relative; width: min(282px, 86vw); height: 176px;
  margin: 0 auto 30px; display: grid; place-items: center;
}

.preloader-frame {
  position: absolute; inset: 0; z-index: 1; padding: 3px;
  border-radius: 30px; overflow: hidden;
  background: rgba(255, 255, 255, .08);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.preloader-frame::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 230%; aspect-ratio: 1 / 1;
  background: conic-gradient(from 0deg, transparent 0 66%, rgba(127, 208, 198, .95) 86%, transparent 100%);
  animation: preOrbit 3.2s linear infinite;
}
.preloader-frame-2 {
  inset: 13px; padding: 2px; border-radius: 20px;
  background: rgba(255, 255, 255, .07);
}
.preloader-frame-2::before {
  background: conic-gradient(from 180deg, transparent 0 70%, rgba(96, 152, 255, .9) 90%, transparent 100%);
  animation-duration: 4.6s;
  animation-direction: reverse;
}

/* corner brackets — reinforces the box language */
.preloader-corner {
  position: absolute; z-index: 2; width: 26px; height: 26px; pointer-events: none;
  border: 2px solid rgba(127, 208, 198, .8);
  animation: preCorner 2.8s ease-in-out infinite alternate;
}
.preloader-corner-tl { top: -13px; left: -13px;  border-right: 0; border-bottom: 0; border-radius: 15px 0 0 0; --dx: -5px; --dy: -5px; }
.preloader-corner-tr { top: -13px; right: -13px; border-left: 0;  border-bottom: 0; border-radius: 0 15px 0 0; --dx: 5px;  --dy: -5px; border-color: rgba(96, 152, 255, .8); }
.preloader-corner-bl { bottom: -13px; left: -13px;  border-right: 0; border-top: 0; border-radius: 0 0 0 15px; --dx: -5px; --dy: 5px; border-color: rgba(96, 152, 255, .8); }
.preloader-corner-br { bottom: -13px; right: -13px; border-left: 0;  border-top: 0; border-radius: 0 0 15px 0; --dx: 5px;  --dy: 5px; }

.preloader-chip {
  position: relative; z-index: 3; display: inline-flex; align-items: center;
  background: #fff; border-radius: 22px; padding: 18px 26px;
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, .75), 0 0 0 6px rgba(255, 255, 255, .06);
  animation: preBreath 3.4s ease-in-out infinite;
}
.preloader-chip img { height: 58px; width: auto; display: block; }

/* --- wordmark + tagline --- */
.preloader-name {
  display: block; font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; font-weight: 600;
  letter-spacing: .06em; color: #fff;
  background: linear-gradient(100deg, #ffffff 20%, var(--teal-400) 50%, #ffffff 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: preShine 2.4s ease-in-out infinite;
}
.preloader-tag {
  margin-top: 8px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}

/* --- progress --- */
.preloader-progress {
  width: min(300px, 78%); height: 3px; margin: 30px auto 0;
  background: rgba(255, 255, 255, .14); border-radius: 999px; overflow: hidden;
}
.preloader-bar {
  display: block; width: 0; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal) 55%, #6ea8ff);
  box-shadow: 0 0 12px rgba(127, 208, 198, .7);
  transition: width .4s var(--ease);
}
.preloader-meta {
  display: flex; justify-content: space-between; align-items: center;
  width: min(300px, 78%); margin: 11px auto 0;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.preloader-pct { color: var(--teal-400); font-weight: 600; }

@keyframes preOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes preCorner {
  from { transform: translate(0, 0);         opacity: .5; }
  to   { transform: translate(var(--dx, 0), var(--dy, 0)); opacity: 1; }
}
@keyframes preBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes preFloat  { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(22px, -18px, 0); } }
@keyframes preShine  { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

@media (max-width: 700px) {
  .preloader-orbit { width: min(252px, 88vw); height: 156px; }
  .preloader-chip { padding: 15px 20px; }
  .preloader-chip img { height: 46px; }
  .preloader-name { font-size: 1.35rem; }
  .preloader-tag { font-size: 11px; letter-spacing: .12em; }
}

/* =====================================================================
   18. Enquire popup (header CTA)
   ===================================================================== */
body.modal-open { overflow: hidden; }

.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 22px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(9, 18, 42, .72);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}

.modal-dialog {
  position: relative; z-index: 2; width: min(600px, 100%);
  max-height: calc(100vh - 44px); overflow-y: auto;
  background: #fff; border-radius: 26px; padding: 36px 34px 30px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75);
  transform: translateY(26px) scale(.96);
  transition: transform .45s var(--ease);
}
.modal.is-open .modal-dialog { transform: none; }
.modal-dialog::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--teal) 55%, var(--teal-400));
}
.modal-dialog h2 { margin-top: 4px; font-size: clamp(1.5rem, 3vw, 2rem); }
.modal-lead { margin-top: 10px; font-size: 15px; line-height: 1.65; }

.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--soft); color: var(--body);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.modal-close svg { width: 17px; height: 17px; }
.modal-close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }

#enquireForm { margin-top: 24px; }
#enquireForm .btn-block { margin-top: 20px; }

.modal-foot {
  margin-top: 16px; text-align: left; font-size: 13.5px; color: var(--body);
}
.modal-foot a { color: var(--blue); font-weight: 600; }
.modal-foot a:hover { color: var(--teal-700); }

@media (max-width: 700px) {
  .modal { padding: 14px; }
  .modal-dialog { padding: 30px 20px 24px; border-radius: 22px; }
  .header-cta { padding: 12px 17px; }
}

@media (max-width: 480px) {
  .header-cta span { display: none; }
  .header-cta { padding: 12px 14px; }
}

/* =====================================================================
   19. Date filter + pagination
   ===================================================================== */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px;
  margin-bottom: 26px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.filter-field { display: grid; gap: 7px; }
.filter-field label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--body);
}
.filter-field input[type="date"] {
  font: inherit; font-size: 14.5px; color: var(--ink);
  padding: 11px 14px; min-width: 174px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.filter-field input[type="date"]:focus {
  outline: none; background: #fff; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42, 74, 141, .14);
}
.filter-actions { display: flex; gap: 10px; }
.filter-meta { margin-left: auto; align-self: center; font-size: 13.5px; color: var(--body); }

/* ------------------------------ pager ------------------------------ */
.pager {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px; margin-top: 38px;
}
.pager-num, .pager-btn, .pager-gap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s, color .3s, box-shadow .3s, background .3s;
}
.pager-gap { min-width: 26px; padding: 0; border-color: transparent; background: none; color: var(--body); }
a.pager-num:hover, a.pager-btn:hover {
  color: var(--blue); border-color: rgba(42, 74, 141, .45);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.pager-num.is-current {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-color: transparent; color: #fff; box-shadow: var(--shadow-blue);
}
.pager-btn.is-disabled { opacity: .38; }

/* --------------------------- empty state --------------------------- */
.empty-state {
  text-align: center; padding: 62px 24px;
  background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-md);
}
.empty-state .icon-tile { margin: 0 auto 18px; }
.empty-state h3 { font-size: 1.4rem; }
.empty-state p { max-width: 480px; margin: 10px auto 24px; color: var(--body); }

@media (max-width: 700px) {
  .filter-bar { padding: 16px; gap: 12px; }
  .filter-field { flex: 1 1 100%; }
  .filter-field input[type="date"] { width: 100%; min-width: 0; }
  .filter-actions { flex: 1 1 100%; }
  .filter-actions .btn { flex: 1; justify-content: center; }
  .filter-meta { margin-left: 0; flex: 1 1 100%; text-align: center; }
  .pager { gap: 6px; margin-top: 30px; }
  .pager-num, .pager-btn { min-width: 40px; height: 40px; padding: 0 12px; font-size: 13.5px; }
}

/* =====================================================================
   20. Article sidebar (latest posts + contact) & comments
   ===================================================================== */
.article-main { min-width: 0; }
.article-side .side-card + .side-card { margin-top: 22px; }
/* Three stacked cards are taller than the viewport — sticky would hide the
   bottom of the column, so this sidebar scrolls normally instead. */
.article-side--stacked .side-card { position: relative; top: auto; }

/* --------------------------- latest posts ------------------------- */
.latest-list { display: grid; gap: 15px; }
.latest-list li { display: flex; gap: 13px; align-items: flex-start; }
.latest-thumb {
  flex: none; width: 66px; height: 56px; overflow: hidden;
  border-radius: 12px; background: var(--soft);
}
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.latest-list li:hover .latest-thumb img { transform: scale(1.08); }
.latest-body { min-width: 0; }
.latest-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink);
  transition: color .3s;
}
.latest-title:hover { color: var(--blue); }
.latest-date {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; font-size: 12px; color: var(--body);
}
.latest-date svg { width: 13px; height: 13px; color: var(--teal-700); }

/* --------------------------- contact card ------------------------- */
.side-contact { display: grid; gap: 16px; }
.side-contact li { display: flex; gap: 12px; align-items: flex-start; }
.side-contact-ico {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--soft); color: var(--blue);
}
.side-contact-ico svg { width: 16px; height: 16px; }
.side-contact li > div { min-width: 0; }
.side-contact em {
  display: block; margin-bottom: 3px; font-style: normal;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--body);
}
.side-contact a, .side-contact-text {
  font-size: 14.5px; font-weight: 600; line-height: 1.55;
  color: var(--ink); word-break: break-word;
}
.side-contact a { transition: color .3s; }
.side-contact a:hover { color: var(--blue); }

/* ------------------------------ comments -------------------------- */
.comments { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line); }
.comments-head { display: flex; align-items: center; gap: 18px; }
.comments-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.comments-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.comments-empty { margin-top: 20px; color: var(--body); font-size: 15.5px; }

.comment-list, .comment-children {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 26px;
}
.comment { display: flex; gap: 16px; }
.comment-avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-800));
  color: #fff; font-weight: 700; font-size: 16px;
}
.comment-avatar-sm {
  width: 42px; height: 42px; font-size: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-700));
}
.comment-main { flex: 1; min-width: 0; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.comment-meta strong { font-size: 15.5px; color: var(--ink); }
.comment-meta strong a { color: inherit; transition: color .3s; }
.comment-meta strong a:hover { color: var(--blue); }
.comment-meta time { font-size: 12.5px; letter-spacing: .04em; color: var(--body); }
.comment-text { margin-top: 9px; font-size: 15.5px; line-height: 1.78; color: #3d4d6b; }
.comment-reply {
  margin-top: 11px; padding: 5px 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
  transition: color .3s;
}
.comment-reply:hover { color: var(--teal-700); }
.comment-children { margin-top: 24px; padding-left: 6px; gap: 20px; }

/* ------------------------------ respond --------------------------- */
.comment-respond {
  margin-top: 44px; padding: 32px 30px;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.comment-respond h3 { font-size: 1.4rem; }
.respond-note { margin-top: 9px; font-size: 14px; color: var(--body); }
.respond-note abbr { text-decoration: none; color: var(--blue); font-weight: 700; }
.respond-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.is-hidden { display: none !important; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 700px) {
  .share-btn { padding: 9px 14px; font-size: 13px; }
  .comment-avatar { width: 44px; height: 44px; font-size: 14px; }
  .comment-avatar-sm { width: 36px; height: 36px; font-size: 12.5px; }
  .comment { gap: 12px; }
  .comment-respond { padding: 24px 18px; }
  .comments { margin-top: 42px; }
}

/* =====================================================================
   21. Patrons — View Bio button + biography popup
   ===================================================================== */
.patron-card { display: flex; flex-direction: column; }
.patron-info {
  display: flex; flex-direction: column; flex: 1;
  margin-top: 20px; padding: 0;
}
/* Flexible spacer so the button sits on the same baseline across a row. */
.patron-info::after { content: ''; flex: 1 0 16px; order: 8; }

.patron-cta {
  order: 9;
  align-self: center;
  gap: 7px; padding: 9px 22px; font-size: 12.5px; letter-spacing: .06em;
  background: var(--white); color: var(--blue);
  border: 1px solid #cdd8ea; border-radius: 999px;
  box-shadow: none;
}
.patron-cta:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: none;
}
.patron-cta svg { width: 15px; height: 15px; }

/* ------------------------------ groups --------------------------- */
.patron-group + .patron-group { margin-top: 68px; }
.patron-group-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 30px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.patron-group-title { display: flex; align-items: center; gap: 16px; }
.patron-group-num {
  flex: none; width: 46px; height: 46px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .05em;
  box-shadow: 0 14px 26px -14px rgba(42, 74, 141, .8);
}
.patron-group-title h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.patron-group-title p { margin-top: 5px; font-size: 14.5px; color: var(--body); }
.patron-group-count {
  padding: 7px 15px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-50);
  border: 1px solid rgba(92, 161, 154, .4);
}
.patron-empty { margin-top: 26px; font-size: 15.5px; color: var(--body); }

/* Patrons page: four cards per row, rows fill from the left — so an
   extra card lands in column 1 instead of hanging in the middle.
   Sections with fewer than four members are centred as a group. */
.patron-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.patron-grid--4.is-center {
  display: flex; flex-wrap: wrap; justify-content: center;
}
.patron-grid--4.is-center > .patron-card { flex: none; width: calc(25% - 18px); }

@media (max-width: 980px) {
  .patron-grid, .patron-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .patron-grid--4.is-center > .patron-card { width: calc(50% - 12px); }
}

/* ------------------------------ popup ------------------------------ */
.modal-patron { width: min(720px, 100%); }

.patron-modal-head { display: flex; align-items: center; gap: 22px; }
.patron-modal-photo {
  flex: none; width: 106px; height: 106px;
  border-radius: 24px; object-fit: cover;
  background: var(--soft); border: 3px solid #fff;
  box-shadow: 0 16px 34px -18px rgba(16, 26, 48, .55);
}
.patron-modal-id { min-width: 0; }
.patron-modal-role {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700);
}
.patron-modal-id h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.patron-modal-degree {
  display: inline-block; margin-top: 9px; padding: 5px 13px;
  border-radius: 999px; font-size: 12.5px; color: #516280;
  background: var(--soft); border: 1px solid var(--line);
}

.patron-modal-bio {
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.patron-modal-bio p { font-size: 15.5px; line-height: 1.8; color: #3d4d6b; }
.patron-modal-bio p + p { margin-top: 15px; }
.patron-modal-note { font-style: italic; color: var(--body); }

@media (max-width: 700px) {
  .patron-modal-head { flex-direction: column; text-align: center; gap: 16px; }
  .patron-modal-photo { width: 96px; height: 96px; border-radius: 22px; }
  .patron-grid--4 { gap: 24px; grid-template-columns: minmax(0, 1fr); }
  .patron-grid--4.is-center > .patron-card { width: 100%; max-width: 460px; margin-inline: auto; }
  .patron-group-head { margin-bottom: 24px; }
  .patron-group + .patron-group { margin-top: 48px; }
  .patron-group-num { width: 40px; height: 40px; border-radius: 13px; font-size: 14px; }
}

/* ---- formatting produced by the admin rich-text editor ---- */
.ql-align-center  { text-align: center; }
.ql-align-right   { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-indent-1 { padding-left: 3em; } .ql-indent-2 { padding-left: 6em; }
.ql-indent-3 { padding-left: 9em; } .ql-indent-4 { padding-left: 12em; }
li.ql-indent-1 { padding-left: 1.5em; } li.ql-indent-2 { padding-left: 3em; }
li.ql-indent-3 { padding-left: 4.5em; } li.ql-indent-4 { padding-left: 6em; }
.ql-size-small { font-size: .8em; } .ql-size-large { font-size: 1.35em; } .ql-size-huge { font-size: 1.8em; }
.article-body sub, .article-body sup { font-size: .75em; line-height: 0; }
.article-body pre {
  margin-top: 24px; padding: 18px 20px; background: #0f1c33; color: #d6e2ff;
  border-radius: 12px; overflow-x: auto; font: 13.5px/1.7 ui-monospace, Consolas, monospace;
}
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin-top: 24px; }
.article-body s, .article-body strike { opacity: .8; }

/* =====================================================================
   Patron popup — fix clipped / non-wrapping biography text
   Pasted content can carry inline white-space/width styles; neutralise them.
   ===================================================================== */
.modal-patron { overflow-x: hidden; }
.patron-modal-bio { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
.patron-modal-bio * {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.patron-modal-bio [style*="width"] { width: auto !important; }
.patron-modal-bio pre,
.patron-modal-bio code { white-space: pre-wrap !important; }
.patron-modal-bio img { height: auto; }
.patron-modal-bio table { display: block; overflow-x: auto; width: 100% !important; }

/* Spacing + bullets (global reset removed them) */
.patron-modal-bio h2,
.patron-modal-bio h3,
.patron-modal-bio h4 { margin: 22px 0 8px; line-height: 1.3; }
.patron-modal-bio > :first-child { margin-top: 0; }
.patron-modal-bio p { margin: 0 0 14px; }
.patron-modal-bio ul { list-style: disc; }
.patron-modal-bio ol { list-style: decimal; }
.patron-modal-bio ul,
.patron-modal-bio ol { margin: 8px 0 14px; padding-left: 24px; }
.patron-modal-bio li { margin: 6px 0; }
.patron-modal-bio li > p { margin: 0; }
