/* TEXPERS Summer Educational Forum companion */

:root {
  --red: #c8102e;
  --red-dark: #8e0b20;
  --red-soft: #f5dde2;
  --gold: #b58a3f;
  --gold-soft: #f7eed3;
  --blue: #3b82c4;
  --blue-soft: #e3eef9;
  --green: #1f6e52;
  --green-soft: #d8f3e6;
  --terra: #744732;
  --terra-soft: #f0e4dc;
  --ink: #0f1a2c;
  --text: #2a3548;
  --text-light: #5b6478;
  --muted: #5b6478;
  --bg: #f5f1e8;
  --surface: #ffffff;
  --line: #e2ded4;
  --line-soft: #efece2;
  --max: 1080px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 18px 48px rgba(15, 26, 44, .12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: "Merriweather", Georgia, serif;
  color: var(--ink);
  margin: 0 0 .6rem;
  letter-spacing: 0;
}
h1 { font-weight: 900; line-height: 1.08; }
h2 { font-weight: 700; line-height: 1.18; }
h3 { font-weight: 700; line-height: 1.24; }
p { margin: 0 0 1rem; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--terra); text-decoration: underline; }
em { color: var(--text-light); }

.skip-link {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.skip-link:focus {
  left: 1rem !important;
  top: 1rem !important;
  width: auto !important;
  height: auto !important;
  padding: .7rem 1rem;
  background: var(--red-dark);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  z-index: 1800;
}
.skip-anchor { position: relative; top: -120px; visibility: hidden; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.wrap,
.card,
.hero-inner,
.page-header {
  min-width: 0;
}
.section { margin: 2.4rem 0; }
.section:first-child { margin-top: 0; }
.main { padding: 2.4rem 1.25rem 4rem; }
.muted { color: var(--muted); }
.lede {
  max-width: 760px;
  margin-bottom: 1.35rem;
  color: var(--text-light);
  font-size: 1.05rem;
}
.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.primary-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 26, 44, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.primary-nav-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: .75rem 1.25rem;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 250px;
}
.brand-shield {
  width: 58px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: #fff;
  border: 1px solid rgba(201, 157, 58, .55);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
  flex: 0 0 auto;
}
.brand-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-eyebrow {
  color: #d4a852;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.brand-name {
  margin-top: 2px;
  color: #fff;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}
.primary-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
}
.primary-nav-links a {
  padding: .55rem .78rem;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.primary-nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}
.primary-nav-links a.active,
.primary-nav-links a[aria-current="page"] {
  color: #fff;
  background: var(--red);
}

.countdown-strip {
  background: #050505;
  color: rgba(255, 255, 255, .88);
  border-bottom: 2px solid var(--gold);
}
.countdown-strip .wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.countdown-strip a { color: #d4a852; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-bottom: 1px solid var(--line-soft);
  color: #fff;
  background: #0e0e10;
  isolation: isolate;
}
.hero-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  filter: brightness(.55) saturate(.98);
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 41, .34) 0%, rgba(15, 23, 41, .88) 100%),
    linear-gradient(90deg, rgba(15, 26, 44, .74) 0%, rgba(142, 11, 32, .18) 58%, rgba(15, 26, 44, .45) 100%);
}
.hero-inner {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 3.5rem;
  padding-bottom: 3.75rem;
}
.hero-shield-wrap {
  width: 210px;
  height: 124px;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35), 0 0 0 4px rgba(201, 157, 58, .7);
}
.hero-shield-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-eyebrow,
.page-eyebrow,
.card-eyebrow,
.section-eyebrow,
.source-label {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.hero-eyebrow {
  margin-bottom: 1rem;
  color: #d4a852;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.hero-title {
  max-width: 880px;
  margin: 0 0 1rem;
  color: #fff;
  font-size: 3.35rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
  overflow-wrap: break-word;
  text-wrap: balance;
}
.hero-sub {
  max-width: 680px;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, .94);
  font-size: 1.12rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
  overflow-wrap: break-word;
}
.hero-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .7rem 1.18rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.btn-primary:hover {
  color: #fff;
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.btn-ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
}
.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }

.page-header {
  padding: 2.5rem 0 1.8rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.page-eyebrow { color: var(--red); margin-bottom: .5rem; }
.page-title {
  margin: 0 0 .55rem;
  font-size: 2.35rem;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.page-sub {
  max-width: 760px;
  color: var(--text-light);
  font-size: 1.02rem;
  overflow-wrap: break-word;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.15rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { margin: 0; font-size: 1.55rem; }
.section-head.center {
  display: block;
  text-align: center;
  border-bottom: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-cta {
  color: var(--red-dark);
  font-size: .86rem;
  font-weight: 800;
}
.section-eyebrow { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .95rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem;
}
.card-eyebrow {
  margin-bottom: .65rem;
  color: var(--red);
}
.card h3 { font-size: 1.12rem; }
.card p:last-child { margin-bottom: 0; }
.media-card {
  overflow: hidden;
  padding: 0;
}
.media-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.media-card-body { padding: 1.2rem 1.35rem; }

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .65rem 1rem;
  margin: 0;
}
.facts dt {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.facts dd { margin: 0; color: var(--ink); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}
.stat-card strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--ink);
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}
.stat-card span {
  color: var(--text-light);
  font-size: .86rem;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .85rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.tag.gold { background: var(--gold-soft); color: #6e5710; }
.tag.blue { background: var(--blue-soft); color: #23527a; }
.tag.green { background: var(--green-soft); color: #1f6e52; }
.tag.terra { background: var(--terra-soft); color: #744732; }

.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.day-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.day-card-head {
  padding: 1rem 1.15rem;
  background: #0f1a2c;
  color: #fff;
}
.day-tag {
  color: #d4a852;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.day-name {
  margin-top: .25rem;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
}
.day-window { margin-top: .2rem; color: rgba(255, 255, 255, .72); font-size: .86rem; }
.day-list {
  list-style: none;
  margin: 0;
  padding: .85rem 1.15rem 1.1rem;
}
.day-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: .7rem;
  padding: .55rem 0;
  border-top: 1px solid var(--line-soft);
}
.day-list li:first-child { border-top: 0; }
.day-list .t {
  color: var(--red-dark);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 800;
}
.day-list .n { color: var(--ink); font-weight: 700; }

.map-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.map-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line-soft);
}
.map-title { margin: .15rem 0 0; font-size: 1.35rem; }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem .8rem;
  max-width: 520px;
  color: var(--text-light);
  font-size: .8rem;
}
.legend-item { display: inline-flex; align-items: center; gap: .35rem; }
.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}
.area-map {
  width: 100%;
  height: 430px;
  background: #e9dfcf;
  z-index: 1;
}
.map-note {
  margin: 0;
  padding: .75rem 1rem;
  color: var(--muted);
  font-size: .78rem;
  border-top: 1px solid var(--line-soft);
}
.area-h2 {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.cat-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}
.place-card-wrap { display: flex; flex-direction: column; min-width: 0; }
.place-card {
  position: relative;
  flex: 1;
  min-height: 245px;
  display: flex;
  gap: .8rem;
  padding: 1rem;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-decoration: none;
}
.place-card:hover {
  color: inherit;
  border-color: rgba(200, 16, 46, .36);
  text-decoration: none;
}
.place-rank {
  width: 38px;
  height: 30px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 900;
}
.place-body { min-width: 0; }
.place-name {
  color: var(--ink);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  line-height: 1.22;
}
.place-meta {
  margin-top: .25rem;
  color: var(--text-light);
  font-size: .84rem;
}
.place-addr {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .8rem;
}
.place-extra {
  display: grid;
  gap: .3rem;
  margin-top: .75rem;
}
.area-detail-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: .5rem;
  font-size: .84rem;
}
.area-detail-row .lbl {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.place-why {
  margin-top: .75rem;
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
}
.place-actions {
  margin-top: .75rem;
  color: var(--red-dark);
  font-size: .82rem;
  font-weight: 800;
}
.place-card-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 38px;
  padding: .55rem .85rem;
  color: var(--red-dark);
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.place-card-map:hover {
  color: var(--terra);
  background: #fff;
  text-decoration: none;
}
.area-pin { background: transparent; border: 0; }
.pin-mark,
.pin-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .32);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 900;
}
.pin-mark { width: 30px; height: 30px; }
.pin-venue { width: 38px; height: 38px; }

.hotel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hotel-card {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 1rem;
  min-height: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hotel-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.hotel-card-body { padding: 1rem 1.1rem; }
.hotel-card h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.hotel-meta {
  color: var(--text-light);
  font-size: .86rem;
}
.hotel-card p { margin-top: .65rem; font-size: .92rem; }
.hotel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .75rem;
}
.mini-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: .3rem .62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}
.mini-link:hover { background: #fff; text-decoration: none; }

.source-list {
  margin: .75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-light);
  font-size: .86rem;
}
.source-list li + li { margin-top: .35rem; }

.fg-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.fg-search {
  flex: 1 1 260px;
  max-width: 410px;
  min-height: 42px;
  padding: .62rem .85rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: .95rem;
}
.fg-search:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.fg-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.fg-chip {
  min-height: 34px;
  padding: .4rem .7rem;
  color: var(--text-light);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
}
.fg-chip:hover { border-color: var(--red); color: var(--red-dark); }
.fg-chip.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.fg-meta {
  margin-left: auto;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
}
.fg-table-wrap {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.fg-scroll { overflow-x: auto; max-height: 78vh; }
.fg-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: .9rem;
}
.fg-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: .78rem .65rem;
  color: #fff;
  background: #0f1a2c;
  border-bottom: 2px solid var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .9px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.fg-table thead th.sortable { cursor: pointer; }
.fg-table thead th.sortable:hover { background: #2a3548; }
.fg-table th.num,
.fg-table td.num { text-align: right; }
.fg-table tbody td {
  padding: .64rem .65rem;
  border-top: 1px solid var(--line-soft);
  vertical-align: middle;
}
.fg-table tbody tr:hover { background: rgba(200, 16, 46, .06); }
.fg-plan-name { color: var(--ink); font-weight: 800; }
.fg-segment { color: var(--text-light); font-size: .78rem; }
.fg-pill {
  display: inline-block;
  min-width: 58px;
  padding: .2rem .48rem;
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .75rem;
  font-weight: 800;
  text-align: center;
}
.fg-pill.health-good { background: var(--green-soft); color: #1f6e52; }
.fg-pill.health-fair { background: var(--gold-soft); color: #6e5710; }
.fg-pill.health-poor { background: var(--terra-soft); color: #744732; }
.fg-pill.neutral { background: var(--blue-soft); color: #23527a; }
.allocation-strip {
  display: flex;
  width: 138px;
  height: 28px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  appearance: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.allocation-strip:hover,
.allocation-strip:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .16);
  outline: 0;
}
.allocation-strip:active { transform: scale(.985); }
.allocation-strip span {
  display: block;
  flex: 0 0 auto;
  height: 100%;
}
.allocation-popover {
  position: fixed;
  z-index: 1700;
  width: min(310px, calc(100vw - 24px));
  padding: .85rem;
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(200, 16, 46, .24);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(15, 26, 44, .18);
  pointer-events: none;
}
.allocation-popover-title {
  margin-bottom: .45rem;
  color: var(--ink);
  font-family: "Merriweather", Georgia, serif;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
}
.allocation-popover-list,
.allocation-detail-list {
  list-style: none;
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
}
.allocation-popover-list li,
.allocation-detail-list li {
  display: flex;
  justify-content: space-between;
  gap: .85rem;
  color: var(--text);
  font-size: .86rem;
  line-height: 1.25;
}
.allocation-popover-list span,
.allocation-detail-list span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}
.allocation-popover-list i,
.allocation-detail-list i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 3px;
}
.allocation-popover-list strong,
.allocation-detail-list strong {
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .74rem;
  white-space: nowrap;
}
.allocation-popover-note {
  margin-top: .55rem;
  color: var(--text-light);
  font-size: .78rem;
  line-height: 1.35;
}
.allocation-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.allocation-modal.open { display: flex; }
.allocation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 41, .58);
}
.allocation-modal-card {
  position: relative;
  z-index: 1;
  width: min(610px, 100%);
  max-height: min(760px, calc(100vh - 2rem));
  overflow: auto;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.allocation-modal-close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}
.allocation-modal-close:hover,
.allocation-modal-close:focus-visible {
  color: var(--ink);
  border-color: var(--red);
  outline: 0;
}
.allocation-modal-card h2 {
  max-width: 500px;
  padding-right: 2.2rem;
  font-size: 1.22rem;
}
.allocation-modal-plan {
  margin-bottom: .75rem;
  color: var(--text-light);
  font-weight: 800;
}
.allocation-total {
  margin: .75rem 0;
  color: var(--red-dark);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .4px;
}
.allocation-confidence {
  margin-top: .85rem;
  padding: .7rem;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: .86rem;
  line-height: 1.45;
}
.allocation-cta-row {
  justify-content: flex-start;
  margin-top: 1rem;
}
.fg-interaction-note {
  margin: -.35rem 0 1rem;
  color: var(--text-light);
  font-size: .9rem;
}
.fg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: .78rem;
}
.fg-legend-item { display: inline-flex; align-items: center; gap: .4rem; }
.fg-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.footer {
  color: rgba(255, 255, 255, .82);
  background: #0f1a2c;
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 1.2rem;
  padding: 2rem 0;
  align-items: center;
}
.footer-shield {
  width: 92px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  background: #fff;
  border-radius: var(--radius);
}
.footer-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-eyebrow {
  color: #d4a852;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.footer-title {
  margin-top: .25rem;
  color: #fff;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
}
.footer-meta {
  margin-top: .25rem;
  color: rgba(255, 255, 255, .68);
  font-size: .88rem;
}
.footer a { color: #d4a852; }

.utility-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 42px;
  padding: .65rem .9rem;
  color: #fff;
  background: #0f1a2c;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  font: 800 .78rem "Source Sans 3", system-ui, sans-serif;
  cursor: pointer;
}
.utility-fab svg { width: 18px; height: 18px; fill: currentColor; }
.utility-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 41, .68);
}
.utility-modal.open { display: flex; }
.utility-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.utility-modal-close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}
.utility-modal-eyebrow {
  color: var(--red);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.utility-modal-title {
  margin-top: .35rem;
  font-family: "Merriweather", Georgia, serif;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
}
.utility-resources-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.utility-resources-list a {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  gap: .6rem;
  align-items: center;
  padding: .74rem .85rem;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--line-soft);
}
.utility-resources-list li:first-child a { border-top: 0; }
.utility-resources-list a:hover { background: var(--bg); text-decoration: none; }
.ur-num {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 800;
}
.ur-label { font-weight: 800; }
.ur-ext { color: var(--red); }

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .day-grid,
  .hotel-grid,
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.75rem; }
  .footer-grid { grid-template-columns: 64px 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 1rem; }
  .countdown-strip .wrap {
    min-height: 46px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: .1rem;
    padding-top: .4rem;
    padding-bottom: .4rem;
  }
  .primary-nav-inner {
    flex-wrap: wrap;
    gap: .75rem;
    padding: .62rem 1rem;
    min-width: 0;
    overflow: visible;
  }
  .brand-mark {
    min-width: 0;
    max-width: 100%;
  }
  .brand-text { min-width: 0; }
  .brand-name { overflow-wrap: break-word; }
  .brand-shield { width: 54px; height: 42px; }
  .brand-name { font-size: .9rem; }
  .primary-nav-links {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    max-width: 100%;
    gap: 0;
    margin-left: 0;
    padding-bottom: .12rem;
  }
  .primary-nav-links::-webkit-scrollbar { display: none; }
  .primary-nav-links a {
    flex: 0 0 auto;
    padding: .45rem .65rem;
    font-size: .78rem;
    white-space: nowrap;
  }
  .hero,
  .hero-photo,
  .hero-inner { min-height: 540px; }
  .hero-inner { padding-top: 2.75rem; padding-bottom: 3rem; }
  .hero-shield-wrap { width: 172px; height: 100px; padding: 12px 14px; }
  .hero-title,
  .hero-sub,
  .page-title,
  .page-sub {
    max-width: 100%;
  }
  .hero-title { font-size: 2.3rem; }
  .hero-sub { font-size: 1rem; }
  .page-title { font-size: 2rem; }
  .btn {
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .day-grid,
  .hotel-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .day-list li { grid-template-columns: 74px 1fr; }
  .map-card-head { display: block; }
  .map-legend { justify-content: flex-start; margin-top: .7rem; }
  .area-map { height: 360px; }
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-card img { height: 210px; min-height: 210px; }
  .fg-meta { width: 100%; margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-grid > div:last-child { grid-column: auto; }
  .utility-fab-label { display: none; }
}

@media (max-width: 520px) {
  .hero-title { max-width: 13ch; font-size: 1.82rem; }
  .hero-sub { max-width: 30ch; }
  .page-title { font-size: 1.82rem; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn {
    flex: 1 1 100%;
    max-width: 240px;
    margin: 0 auto;
  }
  .facts { grid-template-columns: 1fr; gap: .25rem; }
  .facts dd { margin-bottom: .45rem; }
}

/* ===== Fund-profile per-plan pages (funds/{slug}.html) ===== */
.fg-back-link { display:inline-flex; align-items:center; gap:.35rem; font-family:"JetBrains Mono",monospace; font-size:.7rem; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--red); margin-bottom:1rem; }
.fg-back-link:hover { color:var(--red-dark); text-decoration:none; }
.fg-detail-hero-meta { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1rem; }
.fg-detail-hero-meta span { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--text-light); padding:.35rem .58rem; font-family:"JetBrains Mono",monospace; font-size:.66rem; font-weight:800; letter-spacing:.7px; text-transform:uppercase; }

.fg-detail-stats { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.75rem; margin-bottom:1.2rem; }
.fg-detail-stat { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:1rem; min-height:116px; }
.fg-detail-stat > span { display:block; font-family:"JetBrains Mono",monospace; font-size:.64rem; font-weight:800; letter-spacing:.9px; color:var(--muted); text-transform:uppercase; margin-bottom:.42rem; }
.fg-detail-stat strong { display:block; font-family:"Merriweather",Georgia,serif; color:var(--ink); font-size:1.36rem; line-height:1.12; }
.fg-detail-stat strong .fg-pill { font-family:"JetBrains Mono",monospace; font-size:1rem; }
.fg-detail-stat span:last-child { color:var(--text-light); font-size:.8rem; line-height:1.35; margin-top:.35rem; text-transform:none; letter-spacing:0; font-family:"Source Sans 3",sans-serif; font-weight:600; }

.fg-detail-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr); gap:1rem; align-items:start; }
.fg-detail-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:1.15rem; }
.fg-detail-card h2 { font-size:1.18rem; margin-bottom:.6rem; display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }
.fg-detail-card h3.fg-subhead { font-size:.92rem; text-transform:uppercase; letter-spacing:.8px; font-family:"JetBrains Mono",monospace; font-weight:800; color:var(--muted); margin:.95rem 0 .55rem; }
.fg-detail-card + .fg-detail-card { margin-top:1rem; }
.fg-detail-note { color:var(--text); font-size:.94rem; line-height:1.55; }
.fg-card-note { margin:.9rem 0 0; color:var(--text-light); font-size:.88rem; line-height:1.45; background:var(--bg); border:1px solid var(--line-soft); border-radius:var(--radius); padding:.75rem; }

.fg-kv-list { display:grid; gap:.52rem; }
.fg-kv-row { display:grid; grid-template-columns:170px minmax(0,1fr); gap:.75rem; padding-top:.52rem; border-top:1px solid var(--line-soft); }
.fg-kv-row:first-child { border-top:0; padding-top:0; }
.fg-kv-row dt { font-family:"JetBrains Mono",monospace; font-size:.65rem; font-weight:800; letter-spacing:.8px; color:var(--muted); text-transform:uppercase; }
.fg-kv-row dd { margin:0; color:var(--text); min-width:0; font-variant-numeric:tabular-nums; }

.fg-pill { display:inline-block; padding:.15rem .55rem; border-radius:999px; font-weight:800; font-family:"JetBrains Mono",monospace; font-size:.8rem; }
.fg-pill.health-good { background:var(--green-soft); color:var(--green); }
.fg-pill.health-fair { background:var(--gold-soft); color:#6e5710; }
.fg-pill.health-poor { background:var(--terra-soft); color:var(--terra); }
.fg-pill.neutral { background:var(--line-soft); color:var(--text-light); }

.fg-alloc-strip { display:flex; height:10px; border-radius:999px; overflow:hidden; margin:.4rem 0 .8rem; border:1px solid var(--line-soft); }
.fg-alloc-strip span { display:block; height:100%; }
.fg-alloc-table { width:100%; border-collapse:collapse; font-size:.9rem; }
.fg-alloc-table th, .fg-alloc-table td { padding:.45rem .55rem; text-align:left; border-bottom:1px solid var(--line-soft); }
.fg-alloc-table th { font-family:"JetBrains Mono",monospace; font-size:.64rem; font-weight:800; letter-spacing:.8px; color:var(--muted); text-transform:uppercase; }
.fg-alloc-table .num { text-align:right; font-variant-numeric:tabular-nums; }
.fg-alloc-table tr.fg-row-total td { font-weight:800; border-bottom:0; padding-top:.7rem; border-top:2px solid var(--line); }
.fg-alloc-dot { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:.45rem; vertical-align:middle; }

.fg-source-links { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:.65rem; }
.fg-source-links a { border:1px solid var(--line); border-radius:999px; padding:.38rem .65rem; background:var(--surface); font-family:"JetBrains Mono",monospace; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.6px; text-decoration:none; color:var(--red); }
.fg-source-links a:hover { border-color:var(--red); color:var(--red-dark); }

.fg-source-boundary {
  background: linear-gradient(135deg, #ffffff 0%, #f7eed3 100%);
  border-color: rgba(200, 16, 46, .24);
}
.fg-source-boundary p:last-child { margin-bottom: 0; }
.fg-sparkline {
  display:flex;
  align-items:flex-end;
  gap:4px;
  min-height:78px;
  padding:.75rem .65rem .55rem;
  margin:.35rem 0 1rem;
  border:1px solid var(--line-soft);
  border-radius:var(--radius);
  background:
    linear-gradient(to top, rgba(225, 215, 199, .72) 1px, transparent 1px) 0 0 / 100% 25%,
    #fffaf0;
}
.fg-sparkline span {
  flex:1 1 0;
  min-width:5px;
  border-radius:4px 4px 0 0;
  background:linear-gradient(180deg, var(--red) 0%, var(--blue) 100%);
  opacity:.88;
}
.fg-mini-table + .fg-mini-table { margin-top:1rem; padding-top:.4rem; border-top:1px solid var(--line-soft); }
.fg-locked-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.85rem;
}
.fg-locked-card {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:.5rem;
  min-height:235px;
  padding:1rem;
  overflow:hidden;
  border:1px solid rgba(200, 16, 46, .22);
  border-radius:var(--radius-lg);
  background:#fffaf0;
  color:var(--text);
  text-decoration:none;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.fg-locked-card:hover,
.fg-locked-card:focus-visible {
  transform:translateY(-2px);
  border-color:var(--red);
  box-shadow:0 16px 36px rgba(15, 26, 44, .14);
  color:var(--text);
  text-decoration:none;
}
.fg-lock-mark {
  position:absolute;
  right:.85rem;
  top:.85rem;
  width:34px;
  height:34px;
  border:1px solid rgba(142, 11, 32, .18);
  border-radius:50%;
  background:rgba(255, 253, 248, .92);
}
.fg-lock-mark::before {
  content:"";
  position:absolute;
  left:10px;
  top:7px;
  width:12px;
  height:11px;
  border:2px solid var(--red-dark);
  border-bottom:0;
  border-radius:9px 9px 0 0;
}
.fg-lock-mark i {
  position:absolute;
  left:9px;
  top:17px;
  width:16px;
  height:11px;
  border-radius:3px;
  background:var(--red-dark);
}
.fg-locked-card strong {
  display:block;
  max-width:calc(100% - 2.4rem);
  color:var(--ink);
  font-family:"Merriweather",Georgia,serif;
  font-size:1.02rem;
  line-height:1.22;
}
.fg-locked-card > span:not(.card-eyebrow):not(.fg-lock-mark):not(.fg-locked-preview):not(.fg-locked-cta) {
  color:var(--text-light);
  font-size:.9rem;
  line-height:1.4;
}
.fg-locked-preview {
  position:relative;
  display:grid;
  gap:.35rem;
  margin-top:auto;
  padding:.65rem;
  border:1px dashed rgba(142, 11, 32, .18);
  border-radius:var(--radius);
  background:rgba(247, 242, 232, .75);
}
.fg-locked-preview::after {
  content:"";
  position:absolute;
  inset:0;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  background:rgba(255, 253, 248, .28);
}
.fg-locked-preview em {
  display:block;
  width:100%;
  height:13px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(200, 16, 46, .18), rgba(181, 138, 63, .22));
  color:transparent;
}
.fg-locked-preview em:nth-child(2) { width:78%; }
.fg-locked-preview em:nth-child(3) { width:92%; }
.fg-locked-preview em:nth-child(4) { width:66%; }
.fg-locked-cta {
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-top:.2rem;
  padding:.35rem .58rem;
  border-radius:999px;
  background:var(--red-dark);
  color:#fff;
  font-family:"JetBrains Mono",monospace;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.ci-hero {
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(15, 26, 44, .96) 0%, rgba(142, 11, 32, .86) 54%, rgba(181, 138, 63, .78) 100%),
    url("../img/westin-riverwalk-2.avif") center/cover;
  color:#fff;
}
.ci-hero .page-eyebrow,
.ci-hero .page-title,
.ci-hero .page-sub { color:#fff; }
.ci-hero .page-sub { color:rgba(255,255,255,.84); }
.ci-hero .wrap { position:relative; z-index:1; }
.ci-hero::after {
  content:"";
  position:absolute;
  right:-12vw;
  bottom:-170px;
  width:48vw;
  max-width:620px;
  height:300px;
  border:1px solid rgba(255,255,255,.22);
  transform:rotate(-8deg);
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px);
}
.ci-badges {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:1.1rem 0 0;
}
.ci-badges span {
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  padding:.42rem .68rem;
  color:#fff;
  background:rgba(255,255,255,.08);
  font-family:"JetBrains Mono",monospace;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}
.ci-positioning-grid {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:1rem;
  align-items:stretch;
}
.ci-proof-panel {
  background:var(--ink);
  color:#fff;
  border-color:rgba(255,255,255,.08);
}
.ci-proof-panel h2,
.ci-proof-panel .card-eyebrow { color:#fff; }
.ci-proof-panel p,
.ci-proof-panel li { color:rgba(255,255,255,.78); }
.ci-feature-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
}
.ci-feature {
  min-height:150px;
  border-left:4px solid var(--red);
}
.ci-comparison-wrap { overflow-x:auto; }
.ci-comparison {
  width:100%;
  min-width:680px;
  border-collapse:collapse;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  font-size:.92rem;
}
.ci-comparison th,
.ci-comparison td {
  padding:.8rem .85rem;
  border-bottom:1px solid var(--line-soft);
  text-align:left;
  vertical-align:top;
}
.ci-comparison th {
  background:var(--ink);
  color:#fff;
  font-family:"JetBrains Mono",monospace;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.ci-comparison tr:last-child td { border-bottom:0; }
.ci-comparison td:first-child { font-weight:800; color:var(--ink); }
.ci-pricing-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.ci-price-card {
  display:flex;
  flex-direction:column;
  min-height:420px;
}
.ci-price-card.is-featured {
  border-color:var(--red);
  box-shadow:var(--shadow);
}
.ci-price {
  display:flex;
  align-items:flex-end;
  gap:.35rem;
  margin:.2rem 0 .85rem;
}
.ci-price strong {
  color:var(--ink);
  font-family:"Merriweather",Georgia,serif;
  font-size:2rem;
  line-height:1;
}
.ci-price span {
  color:var(--text-light);
  font-weight:800;
}
.ci-list {
  margin:.2rem 0 1.1rem;
  padding-left:1.1rem;
}
.ci-list li { margin:.35rem 0; }
.ci-price-card .btn { margin-top:auto; }
.ci-disclaimer {
  color:var(--text-light);
  font-size:.9rem;
  line-height:1.5;
}

@media (max-width: 980px) {
  .fg-detail-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fg-detail-layout { grid-template-columns:1fr; }
  .fg-locked-grid,
  .ci-pricing-grid { grid-template-columns:1fr; }
  .ci-positioning-grid,
  .ci-feature-list { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .fg-detail-stats { grid-template-columns:1fr; }
  .fg-kv-row { grid-template-columns:1fr; gap:.2rem; }
  .ci-hero::after { display:none; }
}

/* ===== Clickable rows on the Fund Guide table ===== */
.fg-table tbody tr.is-clickable { cursor:pointer; transition:background .12s ease; }
.fg-table tbody tr.is-clickable:hover { background:var(--red-soft); }
.fg-plan-link { color:var(--ink); font-weight:700; text-decoration:none; }
.fg-plan-link:hover { color:var(--red); text-decoration:underline; }
