/* ==========================================================================
   SEFI + Celebrate Science Indiana — shared design system
   One stylesheet, two themes (.theme-sefi / .theme-csi on <body>).
   Palette comes straight from the shared logo family: SEFI gold + olive green,
   with the test-tube orange as a spark color.
   ========================================================================== */

:root {
  /* Brand palette (sampled from logos) */
  --gold: #F1AE17;
  --gold-soft: #FDF3D6;
  --gold-deep: #9A6400;
  --green: #7FA131;
  --green-soft: #EEF4E2;
  --green-deep: #3D5C19;
  --green-night: #1E2F0F;
  --orange: #E88D23;
  --orange-deep: #A8520A;

  /* Neutrals */
  --ink: #1B2014;
  --body: #3B4232;
  --muted: #666E5E;
  --line: #E4E1D4;
  --paper: #FFFFFF;
  --cream: #FAF7EE;

  /* Type */
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --font-hand: "Caveat Brush", "Marker Felt", cursive;

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(27, 32, 20, .06), 0 8px 24px rgba(27, 32, 20, .08);
  --shadow-lg: 0 2px 4px rgba(27, 32, 20, .06), 0 20px 48px rgba(27, 32, 20, .14);
}

/* Theme tokens ----------------------------------------------------------- */
.theme-sefi {
  --brand: var(--green-deep);
  --brand-hover: #2F4812;
  --brand-dark: var(--green-night);
  --accent: var(--gold);
  --accent-ink: var(--ink);
  --tint: var(--green-soft);
  --tint-2: var(--gold-soft);
  --eyebrow: var(--green-deep);
}
.theme-csi {
  --brand: var(--orange-deep);
  --brand-hover: #8C4306;
  --brand-dark: var(--green-night);
  --accent: var(--green);
  --accent-ink: #fff;
  --tint: var(--gold-soft);
  --tint-2: var(--green-soft);
  --eyebrow: var(--green-deep);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin: .25em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
strong { color: var(--ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }

/* Family bar (ties the two sites together) ------------------------------- */
.family-bar {
  background: var(--green-night);
  color: #cdd6c1;
  font-size: .85rem;
}
.family-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.family-bar span { opacity: .85; }
.family-bar nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
@media (max-width: 480px) { .family-bar { font-size: .76rem; } .family-bar nav { gap: 2px 12px; justify-content: center; } }
.family-bar a { color: #e9eedf; text-decoration: none; font-weight: 600; }
.family-bar a:hover { color: var(--gold); }
.family-bar a[aria-current="true"] { color: var(--gold); }
@media (max-width: 720px) { .family-bar span { display: none; } .family-bar .wrap { justify-content: center; } }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.theme-csi .brand img { height: 54px; }
.brand-text { font-family: var(--font-display); font-weight: 700; line-height: 1.1; font-size: 1rem; max-width: 190px; }
.brand-text small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; letter-spacing: .02em; margin-top: 2px; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { margin: 0; position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.is-active > a { color: var(--brand); background: var(--tint); }
.main-nav .has-sub { display: flex; align-items: center; }
.main-nav .has-sub > a { padding-right: 4px; }
.sub-toggle {
  border: 0; background: none; padding: 8px 6px; margin-left: -2px; cursor: pointer; color: var(--muted);
  display: inline-flex; border-radius: 6px;
}
.sub-toggle .caret { width: 12px; height: 12px; transition: transform .2s; }
.main-nav .sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.main-nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--body); text-decoration: none; font-size: .98rem; line-height: 1.3; }
.main-nav .sub a:hover { background: var(--tint); color: var(--brand); }
@media (min-width: 1081px) {
  .main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub, .main-nav .has-sub.is-open .sub {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .main-nav .has-sub:hover .caret, .main-nav .has-sub.is-open .caret { transform: rotate(180deg); }
}
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 10px 12px; cursor: pointer; font: 600 .95rem var(--font-display); color: var(--ink); align-items: center; gap: 8px;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .site-header .wrap { min-height: 72px; gap: 12px; }
  .brand img { height: 48px; }
  .theme-csi .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; top: var(--nav-top, 110px); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto;
    padding: 12px var(--gutter) 40px; display: none; border-top: 1px solid var(--line);
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { padding: 16px 4px; font-size: 1.1rem; flex: 1; }
  .main-nav .has-sub { flex-wrap: wrap; }
  .sub-toggle { padding: 14px; }
  .main-nav .sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 12px 8px; width: 100%; display: none; min-width: 0;
  }
  .main-nav .has-sub.is-open .sub { display: block; }
  .main-nav .has-sub.is-open .caret { transform: rotate(180deg); }
  .main-nav .mobile-cta { display: block; margin-top: 20px; border: 0; }
  .main-nav > ul > li.mobile-cta > a { width: 100%; padding: 14px 22px; }
  .main-nav > ul > li.mobile-cta > a.btn-primary { color: #fff; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1081px) { .main-nav .mobile-cta { display: none; } }
@media (max-width: 480px) { .brand-text { display: none; } }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-display); text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-accent { background: var(--gold); color: var(--ink); }
.btn-accent:hover { background: #FFC23A; color: var(--ink); }
.btn-green { background: var(--green-deep); color: #fff; }
.btn-green:hover { background: #2F4812; color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--tint); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow { font-family: var(--font-display); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.section-tint { background: var(--tint); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--brand-dark); color: #d7dfcc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--gold); }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--eyebrow); margin-bottom: 12px;
}
.theme-csi .eyebrow {
  font-family: var(--font-hand); text-transform: none; letter-spacing: 0; font-size: 1.45rem; font-weight: 400;
  color: var(--green-deep); margin-bottom: 4px;
}
.section-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--body); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Bubble motif (the test-tube bubbles from both logos) ------------------- */
.bubbles { position: relative; }
.bubbles::before, .bubbles::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.bubbles::before { width: 120px; height: 120px; background: var(--gold); opacity: .9; top: -34px; right: -26px; }
.bubbles::after { width: 54px; height: 54px; background: var(--green); bottom: 26px; left: -22px; }
.bubbles > * { position: relative; z-index: 1; }
.dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* Photo frames ----------------------------------------------------------- */
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 16 / 10; }
.photo-sq { aspect-ratio: 1; }

/* SEFI hero --------------------------------------------------------------
   Bright treatment: the photo shows at full brightness (no tint layer) and the
   copy sits in a white card. Shared card look lives in .hero-box below. */
.hero {
  position: relative; overflow: hidden; background: var(--cream);
  padding: clamp(64px, 9vw, 130px) 0 clamp(56px, 8vw, 110px);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero .wrap { position: relative; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.hero h1 em { font-style: normal; color: var(--green-deep); }
.hero .lead { margin-bottom: 26px; }
.hero-strip {
  position: relative; margin-top: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px;
}
.hero-strip div { background: rgba(255, 255, 255, .95); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.hero-strip strong { display: block; font-family: var(--font-display); color: var(--green-deep); font-size: 1.7rem; line-height: 1.1; }
.hero-strip span { font-size: .95rem; color: var(--body); }
@media (max-width: 640px) { .hero-strip { grid-template-columns: 1fr; } }

/* White text card used over hero photos (SEFI home + interior photo heroes) */
.hero-copy, .page-hero.has-photo .wrap {
  background: rgba(255, 255, 255, .95); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--gold); padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 38px);
}
.theme-csi .page-hero.has-photo .wrap { border-top-color: var(--orange); }
.hero-copy .btn-outline-light, .page-hero.has-photo .btn-outline-light { border-color: var(--brand); color: var(--brand); }
.hero-copy .btn-outline-light:hover, .page-hero.has-photo .btn-outline-light:hover { background: var(--tint); color: var(--brand); }

/* CSI hero --------------------------------------------------------------- */
.csi-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(241, 174, 23, .30) 0 180px, transparent 181px),
    radial-gradient(circle at 6% 92%, rgba(127, 161, 49, .22) 0 120px, transparent 121px),
    var(--gold-soft);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.csi-hero .split { grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .csi-hero .split { grid-template-columns: 1fr; } }
.csi-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.csi-hero h1 .hl { color: var(--orange-deep); }
.tagline-hand { font-family: var(--font-hand); color: var(--green-deep); font-size: clamp(1.5rem, 2.4vw, 1.9rem); display: block; margin-bottom: 6px; }
.event-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin: 26px 0 28px; max-width: 520px;
  border: 1px solid rgba(0,0,0,.04);
}
.event-date {
  background: var(--orange-deep); color: #fff; border-radius: 14px; text-align: center; padding: 10px 14px; min-width: 84px;
  font-family: var(--font-display); line-height: 1;
}
.event-date .m { display: block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.event-date .d { display: block; font-size: 2.4rem; font-weight: 800; margin: 4px 0 2px; }
.event-date .y { display: block; font-size: .8rem; opacity: .85; }
.event-card p { margin: 0; font-size: 1rem; line-height: 1.5; }
.event-card strong { font-family: var(--font-display); font-size: 1.1rem; }
.badge-free {
  display: inline-block; background: var(--green); color: #fff; font: 700 .78rem var(--font-display);
  letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: 2px;
}
.collage { position: relative; min-height: 460px; }
.collage .photo { position: absolute; border: 6px solid #fff; }
.collage .p1 { width: 68%; aspect-ratio: 4/5; right: 0; top: 0; transform: rotate(2deg); }
.collage .p2 { width: 52%; aspect-ratio: 1; left: 0; bottom: 0; transform: rotate(-3deg); }
.collage .sticker {
  position: absolute; left: 6%; top: 8%; z-index: 2; width: 120px; height: 120px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.05; transform: rotate(-10deg); box-shadow: var(--shadow);
}
@media (max-width: 880px) { .collage { min-height: 0; aspect-ratio: 1 / .92; max-width: 560px; } }

/* Interior page hero ----------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--tint);
  padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 64px);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: var(--gold); opacity: .22;
}
.theme-csi .page-hero::after { background: var(--green); opacity: .18; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: .3em; max-width: 900px; }
.page-hero .lead { max-width: 760px; margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; opacity: .6; }
.page-hero.has-photo { background: var(--cream); padding: clamp(56px, 8vw, 120px) 0; }
.page-hero.has-photo::after { display: none; }
.page-hero.has-photo .wrap {
  width: auto; max-width: 760px;
  margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  margin-right: var(--gutter);
}
.page-hero.has-photo .lead { color: var(--body); }

/* Cards ------------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card-link .link-arrow { margin-top: auto; padding-top: 12px; color: var(--brand); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--tint-2); color: var(--brand);
}
.card-icon svg { width: 26px; height: 26px; }
.card-accent { border-top: 5px solid var(--gold); }
.card-green { border-top: 5px solid var(--green); }

.feature-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.feature-card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.feature-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feature-card:hover .media img { transform: scale(1.04); }
.feature-card .media.logo-media { display: grid; place-items: center; padding: 28px 40px; background: #fff; border-bottom: 1px solid var(--line); }
.feature-card .media.logo-media img { width: auto; height: auto; max-height: 150px; object-fit: contain; }
.feature-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.feature-card .body p { color: var(--body); }
.feature-card .link-arrow { margin-top: auto; color: var(--brand); }

/* Stats / facts ---------------------------------------------------------- */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts b { font-family: var(--font-display); color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; padding-top: 3px; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 34px; margin: .7em 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* CTA band --------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--brand); color: #fff; padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--gold); opacity: .22; right: -60px; top: -90px; }
.cta-band::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--green); opacity: .5; right: 180px; bottom: -40px; }
.theme-csi .cta-band::after { background: var(--gold); opacity: .4; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 620px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Logo wall -------------------------------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logo-wall a, .logo-wall div {
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; aspect-ratio: 3 / 2; transition: box-shadow .2s, transform .2s;
}
.logo-wall a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-wall img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; }
.logo-wall.lg { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.logo-wall.lg img { max-height: 110px; }

.tier { margin-bottom: 40px; }
.tier-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--line); padding-bottom: 10px; margin-bottom: 18px; }
.tier-head h3 { margin: 0; }
.tier-head span { color: var(--muted); font-weight: 600; }

/* People ----------------------------------------------------------------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 22px; }
.person { text-align: left; }
.person .avatar { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--tint); margin-bottom: 14px; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person .avatar.initials { display: grid; place-items: center; font: 800 2.4rem var(--font-display); color: var(--brand); background: var(--tint-2); }
.person h3 { font-size: 1.1rem; margin: 0 0 4px; }
.person .role { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.35; margin: 0 0 4px; }
.person .org { font-size: .92rem; color: var(--muted); line-height: 1.4; margin: 0; }
.person .memo { display: inline-block; margin-top: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }

/* Tables ----------------------------------------------------------------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--cream); font-family: var(--font-display); color: var(--ink); font-weight: 700; font-size: .95rem; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.tiers td, .tiers th { text-align: center; }
.tiers td:first-child, .tiers th:first-child { text-align: left; }
.tiers .yes { color: var(--green-deep); font-weight: 800; }
.tiers .yes::before { content: "✓"; }
.tiers .price th { font-family: var(--font-display); color: var(--brand); font-size: 1.05rem; background: #fff; }
.tiers th small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.schedule td:first-child { white-space: nowrap; font-family: var(--font-display); font-weight: 700; color: var(--brand); width: 1%; }

/* Booth options ---------------------------------------------------------- */
.booths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.booth { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.booth .size { font: 800 1.6rem var(--font-display); color: var(--ink); }
.booth .price { font: 700 1.2rem var(--font-display); color: var(--brand); }
.booth .grid-viz { display: grid; gap: 3px; margin: 14px auto 12px; width: 84px; height: 84px; }
.booth .grid-viz span { background: var(--gold); border-radius: 3px; }
.booth .grid-viz.s1 { grid-template: 1fr / 1fr; width: 42px; height: 42px; }
.booth .grid-viz.s2 { grid-template: 1fr / 1fr 1fr; width: 84px; height: 42px; }
.booth .grid-viz.s4 { grid-template: 1fr 1fr / 1fr 1fr; }
@media (max-width: 640px) { .booths { grid-template-columns: 1fr; } }

/* Accordions ------------------------------------------------------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.08rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%233D5C19' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/13px no-repeat;
  transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { background: var(--cream); }
.accordion summary small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.accordion .panel { padding: 0 22px 22px; }
.accordion .panel > :last-child { margin-bottom: 0; }

/* Prose (long-form / imported content) ---------------------------------- */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul li::marker { color: var(--green); }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose table { margin: 1.2em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); color: var(--ink); }

/* Notices ---------------------------------------------------------------- */
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius);
  background: var(--gold-soft); border: 1px solid #F3DC9A; color: var(--ink); font-size: 1rem; margin-bottom: 24px;
}
.notice::before { content: "i"; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: 800 .85rem var(--font-display); margin-top: 1px; }
.notice p { margin: 0; }
.notice.green { background: var(--green-soft); border-color: #D2E2B4; }
.notice.green::before { background: var(--green); color: #fff; }

/* Resource list (downloads, external systems) --------------------------- */
.resources { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.resources li { margin: 0; }
.resources a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink); background: #fff; font-weight: 600; line-height: 1.35; transition: border-color .2s, background .2s;
}
.resources a:hover { border-color: var(--green); background: var(--green-soft); color: var(--ink); }
.resources .tag {
  margin-left: auto; flex-shrink: 0; font: 700 .72rem var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; background: #fff;
}
.resources .ico { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--tint-2); color: var(--brand); }
.resources .ico svg { width: 18px; height: 18px; }

/* Forms ------------------------------------------------------------------ */
.form { display: grid; gap: 20px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; margin: 0; background: #fff; }
.form legend { font: 700 1.1rem var(--font-display); color: var(--ink); padding: 0 8px; margin-left: -8px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.three { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 640px) { .field-row, .field-row.three { grid-template-columns: 1fr; gap: 0; } }
label, .label { font-weight: 600; color: var(--ink); font-size: 1rem; }
.req { color: var(--orange-deep); }
.hint { font-size: .92rem; color: var(--muted); margin: -2px 0 0; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #D5D2C4; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(127,161,49,.2); }
input[type=file] { font-size: .95rem; }
.choices { display: grid; gap: 8px; margin: 4px 0 0; }
.choices.inline { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--body); line-height: 1.45; cursor: pointer; }
.choice input { margin-top: 5px; accent-color: var(--green-deep); width: 17px; height: 17px; flex-shrink: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-note { font-size: .92rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--green-night); color: #bcc8ad; font-size: 1rem; margin-top: 0; }
.site-footer a { color: #e6ecdb; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(56px, 7vw, 84px) 0 48px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 74px; width: auto; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 10px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--gold); color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; padding: 11px 14px; }
.newsletter input::placeholder { color: #9fad8e; }
.newsletter .btn { padding: 11px 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; }
.footer-sibling {
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 14px 16px; margin-top: 22px; max-width: 360px;
}
.footer-sibling img { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 4px 6px; flex-shrink: 0; }
.footer-sibling span { font-size: .92rem; line-height: 1.35; }
.footer-sibling strong { color: #fff; display: block; }

/* Regional map ----------------------------------------------------------- */
.region-map { max-width: 440px; margin: 0 auto; }
.region-map svg { width: 100%; height: auto; overflow: visible; }
.region-map .r { fill: var(--green-soft); stroke: #fff; stroke-width: 3; stroke-linejoin: round; transition: fill .2s; }
.region-map a .r { fill: #C9DAA4; cursor: pointer; }
.region-map a:hover .r, .region-map a:focus .r, .region-map a.is-active .r { fill: var(--gold); }
.region-map text { font: 700 11px var(--font-display); fill: var(--ink); text-anchor: middle; pointer-events: none; letter-spacing: .02em; }
.region-map .none text { fill: #8A917F; }
.region-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .92rem; color: var(--muted); justify-content: center; margin-top: 12px; }
.region-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.region-card { scroll-margin-top: 110px; }
.region-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.region-card .when { font-family: var(--font-display); font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.region-card dl { margin: 12px 0 0; display: grid; gap: 4px; font-size: 1rem; }
.region-card dt { font-weight: 700; color: var(--ink); margin-top: 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.region-card dd { margin: 0; }

/* Gallery ---------------------------------------------------------------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.03); }

/* Awards list ------------------------------------------------------------ */
.award-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.award-list li { margin: 0; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; line-height: 1.5; }

/* Utilities -------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.stack > * + * { margin-top: 1rem; }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--tint-2); color: var(--ink);
  font: 700 .8rem var(--font-display); letter-spacing: .04em;
}
.columns-2 { columns: 2 300px; column-gap: 40px; }
.columns-2 li { break-inside: avoid; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Blog + rich text (CMS)
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid, .post-grid-2 { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-media.is-empty { display: grid; place-items: center; background: var(--tint); }
.post-card-media .post-card-fallback { width: 46%; height: auto; object-fit: contain; opacity: .9; }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card-body time { font: 700 .78rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); }
.post-card-body h2, .post-card-body h3 { font-size: 1.18rem; line-height: 1.3; margin: 0; }
.post-card-body h2 a, .post-card-body h3 a { color: var(--ink); text-decoration: none; }
.post-card-body h2 a:hover, .post-card-body h3 a:hover { color: var(--brand); text-decoration: underline; }
.post-card-body h2 a::after, .post-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card-body p { margin: 0; font-size: 1rem; color: var(--body); }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }
.blog-sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
@media (max-width: 900px) { .blog-sidebar { position: static; } }
.blog-search { display: flex; gap: 8px; }
.blog-search input { padding: 10px 12px; }
.blog-widget { background: var(--cream); border-radius: var(--radius); padding: 18px 20px; }
.blog-widget h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 10px; }
.blog-widget ul { list-style: none; padding: 0; margin: 0; }
.blog-widget li { margin: 6px 0; font-size: 1rem; }
.blog-widget a { text-decoration: none; }
.blog-widget a:hover, .blog-widget a[aria-current] { text-decoration: underline; font-weight: 600; }
.blog-years { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; }
.pager-status { color: var(--muted); font-size: .95rem; }

.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.post-cats { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.post-cats .pill { text-decoration: none; }
.post-meta { color: var(--muted); margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.post-featured { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-featured img { width: 100%; }
.post .prose { max-width: none; }
.post-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.post-tags a { text-decoration: none; font-weight: 600; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; }
.post-nav a:hover { border-color: var(--green); background: var(--green-soft); }
.post-nav span { display: block; font: 700 .75rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.post-nav-older { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav-older { grid-column: auto; text-align: left; } }
.preview-bar { background: var(--gold); color: var(--ink); padding: 10px 0; font-size: .95rem; }
.preview-bar a { color: var(--ink); font-weight: 700; }

/* Output of the shortcode renderer (posts + page blocks) */
.rt-figure { margin: 1.6em 0; }
.rt-figure img { border-radius: var(--radius); margin: 0; }
.rt-figure figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; text-align: center; }
.rt-center img { margin: 0 auto; }
.rt-wide img { width: 100%; }
.rt-left, .rt-right { max-width: 45%; }
.rt-left { float: left; margin: .3em 1.6em 1em 0; }
.rt-right { float: right; margin: .3em 0 1em 1.6em; }
@media (max-width: 640px) { .rt-left, .rt-right { float: none; max-width: none; margin: 1.4em 0; } }
.rich-text::after, .prose::after { content: ""; display: block; clear: both; }
.rt-video { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.rt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rt-button { margin: 1.4em 0; }
.rt-section { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0 0 10px; }
.rt-section summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.rt-section summary::-webkit-details-marker { display: none; }
.rt-section summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--green-deep); font-weight: 800; }
.rt-section[open] summary::after { content: "–"; }
.rt-section summary small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.rt-section .panel { padding: 0 20px 18px; }
.rt-section .panel > :last-child { margin-bottom: 0; }
.rt-figure.rt-small img { max-width: min(300px, 100%); }
.rt-figure.rt-medium img { max-width: min(560px, 100%); }
.rt-left.rt-small, .rt-right.rt-small { max-width: 300px; }
.rt-small figcaption, .rt-medium figcaption { max-width: 560px; margin-left: auto; margin-right: auto; }
.rt-left figcaption, .rt-right figcaption { margin-left: 0; text-align: left; }
.post-featured { background: var(--cream); }
.post-featured img { width: auto; max-width: 100%; max-height: 560px; margin: 0 auto; }
.rt-figure.rt-large img { max-width: min(860px, 100%); }
.rt-figure.rt-full img { width: 100%; }
.rt-figure.rt-sized { margin-left: auto; margin-right: auto; }
.rt-figure.rt-sized.rt-left { margin-left: 0; }
.rt-figure.rt-sized.rt-right { margin-right: 0; }
.rt-figure.rt-sized img { width: 100%; }
