:root {
  --navy: #082f52;
  --navy-soft: #163f63;
  --gold: #b99045;
  --gold-soft: #d7b36a;
  --cream: #fff8ed;
  --cream-deep: #f2e2c6;
  --ink: #17344d;
  --muted: #5c6f7c;
  --line: rgba(169, 130, 58, 0.24);
  --shadow: rgba(8, 47, 82, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: #fff8ef;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 248, 237, 0.98);
  border-bottom: 1px solid rgba(169, 130, 58, 0.22);
  box-shadow: 0 10px 26px rgba(8, 47, 82, 0.08);
}
.site-nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  width: 100%;
}
.nav-menu a,
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 2px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger:focus-visible,
.nav-menu a[aria-current="page"],
.nav-dropdown__trigger[aria-current="page"] {
  border-bottom-color: var(--gold);
  outline: none;
}
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 100%;
  height: 16px;
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 38px var(--shadow);
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown__menu:hover,
.nav-dropdown.is-open .nav-dropdown__menu {
  display: grid;
  gap: 4px;
}
.nav-dropdown__menu a {
  display: block;
  min-height: auto;
  padding: 11px 12px;
  border-radius: 9px;
  border-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible { background: #ead8b9; }
.nav-toggle {
  display: none;
  appearance: none;
  border: 1.5px solid rgba(169, 130, 58, 0.48);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.9);
  width: 52px;
  height: 52px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--navy);
  border-radius: 999px;
}

.resource-hero {
  position: relative;
  min-height: clamp(480px, 62vw, 700px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(70px, 8vw, 118px) 24px;
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.92), rgba(245, 232, 209, 0.84)),
    radial-gradient(circle at 20% 20%, rgba(215, 179, 106, 0.24), transparent 36%),
    radial-gradient(circle at 84% 24%, rgba(8, 47, 82, 0.14), transparent 34%),
    #f8ead4;
}
.resource-hero::before,
.resource-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  opacity: 0.22;
}
.resource-hero::before {
  width: 520px;
  height: 220px;
  left: -120px;
  bottom: -48px;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 0 48%, rgba(8,47,82,.45) 48% 51%, transparent 51% 100%);
}
.resource-hero::after {
  width: 560px;
  height: 240px;
  right: -140px;
  bottom: -70px;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 0 45%, rgba(185,144,69,.55) 45% 48%, transparent 48% 100%);
}
.resource-hero__background { position: absolute; inset: 0; }
.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.34;
}
.hero-glow--left {
  width: 320px;
  height: 320px;
  left: 8%;
  top: 14%;
  background: rgba(185, 144, 69, 0.22);
}
.hero-glow--right {
  width: 380px;
  height: 380px;
  right: 5%;
  top: 10%;
  background: rgba(8, 47, 82, 0.14);
}
.hero-map {
  position: absolute;
  bottom: clamp(28px, 5vw, 70px);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 700;
  color: rgba(8, 47, 82, 0.055);
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
}
.hero-map--korea { left: -1%; transform: rotate(-4deg); }
.hero-map--newengland { right: -2%; transform: rotate(3deg); }
.resource-hero__content {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.resource-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(430px, 80%);
  margin: 22px auto 18px;
}
.gold-rule::before,
.gold-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(185, 144, 69, 0.55);
}
.gold-rule span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(185, 144, 69, 0.12);
}
.hero-subtitle {
  margin: 0 auto 18px;
  color: var(--navy-soft);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.28;
}
.hero-copy {
  margin: 0 auto;
  max-width: 680px;
  color: #27475c;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.75;
}

.build-placeholder {
  padding: clamp(54px, 7vw, 80px) 24px;
  background: #fffaf3;
  text-align: center;
}
.build-placeholder h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.build-placeholder p {
  margin: 0 auto;
  max-width: 700px;
  color: #29475d;
  line-height: 1.65;
}
.placeholder-label {
  display: inline-flex;
  margin-bottom: 14px !important;
  padding: 8px 14px;
  border: 1px solid rgba(185, 144, 69, 0.28);
  border-radius: 999px;
  color: var(--gold) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-skeleton {
  padding: 28px 22px 70px;
  background: linear-gradient(180deg, #fffaf3 0%, #f5e7d0 100%);
}
.skeleton-grid {
  width: min(1050px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.skeleton-grid article {
  min-height: 120px;
  padding: 18px;
  border: 1px dashed rgba(8, 47, 82, 0.18);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.78);
  color: var(--navy);
}
.skeleton-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}
.skeleton-grid strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.35;
}
.site-footer {
  padding: 30px 20px 28px;
  background: #eef3f4;
  color: var(--navy);
  text-align: center;
  border-top: 1px solid rgba(185, 144, 69, 0.22);
}
.site-footer p { margin: 0; }
.site-footer__motto {
  margin-bottom: 8px !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.45;
}
.site-footer__motto span { color: var(--gold); font-weight: 800; }
.site-footer__links {
  margin: 8px 0 6px !important;
}
.site-footer__links a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--gold);
}
.site-footer__copyright {
  color: #536b7b;
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .site-nav { min-height: 68px; justify-content: flex-end; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 248, 237, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 46px var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a,
  .nav-dropdown__trigger {
    display: block;
    width: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  .nav-menu a[aria-current="page"],
  .nav-dropdown__trigger[aria-current="page"] { border-bottom: 0; background: #ead8b9; }
  .nav-menu a:hover,
  .nav-menu a:focus-visible,
  .nav-dropdown__trigger:hover,
  .nav-dropdown__trigger:focus-visible { background: #ead8b9; }
  .nav-dropdown::after { display: none; }
  .nav-dropdown__menu {
    position: static;
    display: none;
    width: auto;
    transform: none;
    margin: 4px 0 8px 14px;
    padding: 6px;
    box-shadow: none;
    background: #f4e4c9;
  }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu { display: none; }
  .nav-dropdown.is-open .nav-dropdown__menu { display: grid; }
  .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-nav { padding: 0 18px; min-height: 64px; }
  .resource-hero {
    min-height: 500px;
    padding: 72px 20px;
  }
  .hero-map { font-size: 3.8rem; bottom: 24px; opacity: 0.7; }
  .hero-map--korea { left: -20%; }
  .hero-map--newengland { right: -36%; }
  .skeleton-grid { grid-template-columns: 1fr; }
}

/* Static Resource Hub hero image — v2 locked */
.resource-hero--static {
  min-height: auto;
  padding: 0;
  display: block;
  background: #fff8ed;
  overflow: hidden;
}
.resource-hero--static::before,
.resource-hero--static::after {
  display: none;
}
.resource-hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: cover;
  object-position: center;
}
.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;
}
@media (max-width: 780px) {
  .resource-hero__image {
    min-height: 420px;
    height: 58vw;
    object-fit: cover;
    object-position: center;
  }
}
@media (max-width: 520px) {
  .resource-hero__image {
    min-height: 390px;
    height: 72vw;
    object-position: center;
  }
}

/* Growing Resource Library notice — v3 locked visual section */
.resource-notice-section {
  padding: clamp(48px, 6vw, 78px) 22px;
  background:
    linear-gradient(180deg, #fff8ed 0%, #fffaf4 48%, #f5ead6 100%);
}
.resource-notice-card {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(185, 144, 69, 0.34);
  border-left: 6px solid var(--gold);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.96), rgba(249, 239, 220, 0.94));
  box-shadow: 0 22px 54px rgba(8, 47, 82, 0.10);
  overflow: hidden;
}
.resource-notice-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 179, 106, 0.28), transparent 68%);
  pointer-events: none;
}
.resource-notice-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 24px auto;
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 144, 69, 0.62));
  pointer-events: none;
}
.resource-notice-card__accent {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 47, 82, 0.96);
  color: var(--gold-soft);
  border: 2px solid rgba(185, 144, 69, 0.58);
  box-shadow: 0 12px 30px rgba(8, 47, 82, 0.16);
  font-size: 1.6rem;
  line-height: 1;
}
.resource-notice-card__content {
  position: relative;
  z-index: 1;
}
.section-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.resource-notice-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.resource-notice-card p:not(.section-kicker) {
  max-width: 840px;
  margin: 0 0 14px;
  color: #29475d;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.72;
}
.resource-notice-card p:last-child { margin-bottom: 0; }
.build-placeholder--next {
  padding-top: clamp(42px, 5vw, 62px);
  padding-bottom: clamp(42px, 5vw, 62px);
  background: #fffaf3;
}
@media (max-width: 680px) {
  .resource-notice-section { padding: 38px 18px; }
  .resource-notice-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 22px;
    border-left-width: 4px;
    border-radius: 22px;
  }
  .resource-notice-card__accent {
    width: 50px;
    height: 50px;
    font-size: 1.35rem;
  }
  .resource-notice-card p:not(.section-kicker) {
    line-height: 1.68;
  }
}

/* Resource Hub full framework — v4 */
.resource-disclaimer-section,
.resource-search-section,
.resource-explore-section,
.resource-categories,
.contact-callout {
  padding-left: 22px;
  padding-right: 22px;
}
.resource-disclaimer-section {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(44px, 5vw, 68px);
  background: #fffaf4;
}
.resource-disclaimer-card {
  width: min(1080px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(8, 47, 82, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(8, 47, 82, 0.08);
  overflow: hidden;
}
.resource-disclaimer-card summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
}
.resource-disclaimer-card summary::-webkit-details-marker { display: none; }
.disclaimer-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 47, 82, 0.08);
  color: var(--navy);
  font-weight: 900;
}
.disclaimer-summary-text strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  line-height: 1.2;
}
.disclaimer-summary-text span {
  display: block;
  margin-top: 4px;
  color: #496273;
  line-height: 1.45;
}
.disclaimer-toggle {
  border: 1px solid rgba(185, 144, 69, 0.36);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}
.resource-disclaimer-card[open] .disclaimer-toggle::before { content: "Hide "; }
.resource-disclaimer-card[open] .disclaimer-toggle { font-size: 0; }
.resource-disclaimer-card[open] .disclaimer-toggle::before { font-size: 0.78rem; }
.disclaimer-body {
  padding: 0 clamp(22px, 4vw, 34px) clamp(24px, 4vw, 34px) clamp(80px, 9vw, 92px);
  color: #29475d;
  line-height: 1.7;
}
.disclaimer-body p { margin: 0 0 13px; }
.reviewed-note {
  color: var(--gold) !important;
  font-weight: 800;
  font-size: 0.9rem;
}
.section-heading {
  width: min(860px, 100%);
  margin: 0 auto clamp(24px, 4vw, 36px);
  text-align: center;
}
.section-heading h2,
.category-header h2,
.contact-callout h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-heading p:not(.section-kicker),
.category-header p,
.contact-callout p {
  margin: 0 auto;
  max-width: 760px;
  color: #29475d;
  line-height: 1.65;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
}
.resource-search-section {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(50px, 7vw, 84px);
  background: linear-gradient(180deg, #fffaf4 0%, #fff8ed 100%);
}
.resource-search-box {
  width: min(820px, 100%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(8, 47, 82, 0.18);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(8, 47, 82, 0.10);
}
.search-icon { color: var(--gold); font-size: 1.35rem; font-weight: 900; }
.resource-search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 1rem;
  color: var(--navy);
  padding: 12px 0;
  background: transparent;
}
.resource-search-box button,
.contact-callout a,
.resource-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}
.resource-search-box button {
  border: 0;
  background: var(--navy);
  color: #fff8ed;
  padding: 12px 20px;
  cursor: pointer;
}
.search-helper {
  margin: 0 auto 22px;
  max-width: 820px;
  text-align: center;
  color: #536b7b;
  line-height: 1.7;
}
.search-helper span { color: var(--navy); font-weight: 700; }
.popular-topics {
  width: min(900px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.popular-topics a {
  padding: 10px 14px;
  border: 1px solid rgba(185, 144, 69, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}
.popular-topics a:hover,
.popular-topics a:focus-visible {
  background: var(--navy);
  color: #fff8ed;
  outline: none;
}
.search-feedback {
  min-height: 24px;
  margin-top: 18px;
  color: var(--gold);
  text-align: center;
  font-weight: 800;
}
.resource-explore-section {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(52px, 7vw, 86px);
  background: #f7ebd8;
}
.explore-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.explore-card {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 26px;
  border: 1px solid rgba(8, 47, 82, 0.12);
  border-radius: 22px;
  background: rgba(255, 252, 246, 0.93);
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(8, 47, 82, 0.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.explore-card:hover,
.explore-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(185, 144, 69, 0.55);
  box-shadow: 0 22px 46px rgba(8, 47, 82, 0.14);
  outline: none;
}
.explore-card span { font-size: 1.8rem; }
.explore-card strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.28rem;
  line-height: 1.18;
}
.explore-card em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.resource-categories {
  padding-top: clamp(56px, 7vw, 90px);
  padding-bottom: 20px;
  background: #fff8ed;
}
.resource-category {
  width: min(1120px, 100%);
  margin: 0 auto clamp(46px, 6vw, 76px);
  padding: clamp(28px, 4vw, 42px);
  border-radius: 28px;
  background: linear-gradient(180deg, #fffdf8 0%, #fbf0de 100%);
  border: 1px solid rgba(185, 144, 69, 0.22);
  box-shadow: 0 22px 52px rgba(8, 47, 82, 0.08);
  scroll-margin-top: 90px;
}
.category-header { text-align: left; margin-bottom: 18px; }
.category-header .section-kicker { margin-bottom: 10px; }
.category-header h2 { font-size: clamp(1.8rem, 3.7vw, 2.85rem); }
.category-header p { margin-left: 0; }
.category-note,
.category-disclaimer {
  margin: 18px 0 22px;
  padding: 15px 18px;
  border-radius: 16px;
  line-height: 1.6;
}
.category-note {
  background: rgba(185, 144, 69, 0.10);
  border: 1px solid rgba(185, 144, 69, 0.22);
  color: #3b5668;
}
.category-disclaimer {
  background: rgba(8, 47, 82, 0.06);
  border: 1px solid rgba(8, 47, 82, 0.12);
  color: #29475d;
}
.resource-subheading {
  margin: 28px 0 16px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
}
.travel-tip-box {
  margin: 0 0 18px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(185, 144, 69, 0.28);
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  background: rgba(255, 248, 237, 0.82);
  box-shadow: 0 12px 26px rgba(8, 47, 82, 0.05);
}
.travel-tip-box h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.18rem;
  line-height: 1.25;
}
.travel-tip-box p {
  margin: 0 0 10px;
  color: #3b5668;
  line-height: 1.62;
}
.travel-tip-box p:last-child { margin-bottom: 0; }
.travel-tip-box strong { color: var(--navy); }
.language-reference-box {
  margin: 18px 0 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(8, 47, 82, 0.12);
  border-top: 4px solid var(--gold);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 248, 237, 0.9) 100%);
  box-shadow: 0 14px 30px rgba(8, 47, 82, 0.06);
}
.language-reference-box h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.28rem;
  line-height: 1.22;
}
.language-reference-box h5 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.language-reference-box p {
  margin: 0 0 14px;
  color: #3b5668;
  line-height: 1.62;
}
.language-reference-box p:last-child { margin-bottom: 0; }
.language-reference-box strong { color: var(--navy); }
.language-reference-box__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}
.language-reference-box__grid > div {
  padding: 16px;
  border: 1px solid rgba(185, 144, 69, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}
.language-reference-box ul {
  margin: 0;
  padding-left: 20px;
  color: #3e596b;
  line-height: 1.58;
  font-size: 0.96rem;
}
.language-reference-box li + li { margin-top: 7px; }
.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.resource-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(8, 47, 82, 0.12);
  border-top: 4px solid var(--gold);
  background: #fff;
  box-shadow: 0 14px 30px rgba(8, 47, 82, 0.06);
}
.resource-card--soft { background: #fff8ed; }
.resource-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}
.resource-card h3 {
  margin: 10px 0 9px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.28rem;
  line-height: 1.18;
}
.resource-card p {
  margin: 0 0 18px;
  color: #3e596b;
  line-height: 1.58;
  font-size: 0.96rem;
}
.resource-card a {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 14px;
  background: rgba(8, 47, 82, 0.08);
  color: var(--navy);
  font-size: 0.9rem;
}
.resource-card a:hover,
.resource-card a:focus-visible {
  background: var(--navy);
  color: #fff8ed;
  outline: none;
}
.resource-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.resource-card .resource-card-actions a {
  margin-top: 0;
}
.resource-card-highlight {
  padding-left: 12px;
  border-left: 3px solid rgba(185, 144, 69, 0.58);
}
.resource-card-helpful {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(185, 144, 69, 0.10);
  border: 1px solid rgba(185, 144, 69, 0.18);
}
.resource-card-helpful p {
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 800;
}
.resource-card-helpful ul {
  margin: 0;
  padding-left: 18px;
  color: #3e596b;
  line-height: 1.55;
  font-size: 0.94rem;
}
.resource-card-helpful li + li { margin-top: 5px; }
.contact-callout {
  padding-top: clamp(54px, 6vw, 78px);
  padding-bottom: clamp(50px, 6vw, 72px);
  background: linear-gradient(180deg, #fff8ed 0%, #f2e7d4 100%);
  text-align: center;
}
.contact-callout > div {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 4vw, 46px);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(185, 144, 69, 0.28);
  box-shadow: 0 18px 46px rgba(8, 47, 82, 0.08);
}
.contact-callout__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.contact-callout a {
  min-width: 180px;
  padding: 12px 22px;
}
.contact-callout .button-primary {
  background: var(--navy);
  color: #fff8ed;
}
.contact-callout .button-secondary {
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(185, 144, 69, 0.48);
}
.contact-callout a:hover,
.contact-callout a:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
@media (max-width: 980px) {
  .explore-grid,
  .resource-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .resource-disclaimer-card summary {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .disclaimer-toggle { grid-column: 1 / -1; justify-self: start; }
  .disclaimer-body { padding: 0 22px 24px; }
  .resource-search-box {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 24px;
    padding: 12px 14px;
  }
  .resource-search-box button { grid-column: 1 / -1; width: 100%; }
  .explore-grid,
  .resource-card-grid { grid-template-columns: 1fr; }
  .language-reference-box__grid { grid-template-columns: 1fr; }
  .explore-card { min-height: 140px; }
  .resource-category { padding: 26px 18px; border-radius: 22px; }
}

/* Resource Hub v5 QA fixes */
.resource-search-box:focus-within {
  border-color: rgba(185, 144, 69, 0.62);
  box-shadow: 0 20px 48px rgba(8, 47, 82, 0.12);
}
.search-feedback:not(:empty) {
  padding: 10px 14px;
  width: min(680px, 100%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  background: rgba(185, 144, 69, 0.10);
}
@media (max-width: 680px) {
  .contact-callout__actions { flex-direction: column; }
  .contact-callout a { width: 100%; }
  .site-footer__motto { max-width: 340px; margin-left: auto !important; margin-right: auto !important; }
}

.status-pill {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(8, 47, 82, 0.08);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-pill--soft {
  background: rgba(185, 144, 69, 0.14);
  color: #7a5a22;
}
.guide-suggestion {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(185, 144, 69, 0.28);
  background: linear-gradient(135deg, #fffdf8, #fff6e7);
  text-align: center;
  box-shadow: 0 14px 30px rgba(8, 47, 82, 0.05);
}
.guide-suggestion h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
}
.guide-suggestion p {
  max-width: 680px;
  margin: 0 auto 18px;
  color: #3e596b;
  line-height: 1.58;
}
.guide-suggestion a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff8ed;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(8, 47, 82, 0.12);
}
.guide-suggestion a:hover,
.guide-suggestion a:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

/* Resource Hub search result highlight */
.search-match {
  outline: 3px solid rgba(184, 139, 74, 0.75);
  box-shadow: 0 16px 36px rgba(15, 43, 66, 0.18), 0 0 0 6px rgba(184, 139, 74, 0.16);
  transition: outline-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-card--clickable {
  cursor: pointer;
}
.resource-card--clickable:focus-visible {
  outline: 3px solid rgba(185, 144, 69, 0.55);
  outline-offset: 4px;
}

/* Focused Resource Hub guide pages */
.guide-page {
  background: linear-gradient(180deg, #fff8ed 0%, #fffaf4 52%, #f2e7d4 100%);
}
.guide-hero,
.guide-content,
.guide-note,
.keyboard-reference {
  width: min(1120px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}
.guide-hero {
  padding: clamp(54px, 7vw, 88px) 0 clamp(28px, 4vw, 44px);
}
.guide-hero h1 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.guide-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 0 0 22px;
  color: #29475d;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.72;
}
.guide-hero a,
.guide-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(8, 47, 82, 0.08);
  color: var(--navy);
  font-weight: 800;
}
.guide-hero a:hover,
.guide-hero a:focus-visible,
.guide-note a:hover,
.guide-note a:focus-visible {
  background: var(--navy);
  color: #fff8ed;
  outline: none;
}
.keyboard-reference {
  margin-top: 0;
  margin-bottom: clamp(24px, 4vw, 38px);
}
.keyboard-reference img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(8, 47, 82, 0.10);
}
.keyboard-reference figcaption {
  margin: 12px auto 0;
  max-width: 820px;
  color: #3e596b;
  font-size: 0.96rem;
  line-height: 1.58;
  text-align: center;
}
.guide-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 18px;
}
.phrase-guide-content {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 3vw, 28px);
  padding-bottom: clamp(26px, 4vw, 42px);
}
.communication-guide-content {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 18px;
}
.guide-panel,
.guide-note {
  border: 1px solid rgba(8, 47, 82, 0.12);
  border-top: 4px solid var(--gold);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 30px rgba(8, 47, 82, 0.06);
}
.guide-panel {
  padding: clamp(22px, 3vw, 30px);
}
.guide-panel h2,
.guide-note h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  line-height: 1.2;
}
.guide-panel ol {
  margin: 0;
  padding-left: 22px;
  color: #3e596b;
  line-height: 1.62;
}
.guide-panel p,
.guide-panel ul {
  margin: 0 0 12px;
  color: #3e596b;
  line-height: 1.62;
}
.guide-panel p:last-child,
.guide-panel ul:last-child { margin-bottom: 0; }
.guide-panel ul { padding-left: 22px; }
.guide-panel a {
  color: var(--navy);
  font-weight: 900;
}
.guide-panel a:hover,
.guide-panel a:focus-visible {
  color: var(--gold);
  outline: none;
}
.guide-panel li + li { margin-top: 9px; }
.guide-panel strong,
.guide-note strong { color: var(--navy); }

.citizenship-return-page .guide-hero,
.citizenship-return-page .guide-note,
.citizenship-return-page .guide-panel,
.citizenship-return-page .tool-list div {
  text-align: center;
}
.citizenship-return-page .guide-hero p:not(.section-kicker),
.citizenship-return-page .guide-note p,
.citizenship-return-page .guide-panel p {
  margin-left: auto;
  margin-right: auto;
}
.citizenship-return-page .guide-panel ul {
  display: inline-block;
  width: fit-content;
  max-width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  text-align: left;
}

.phrase-panel h2 { margin-bottom: 22px; }
.phrase-list {
  display: grid;
  gap: clamp(16px, 2.5vw, 22px);
}
.phrase-list div {
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 26px);
  border: 1px solid rgba(185, 144, 69, 0.26);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 237, 0.88), rgba(255, 253, 248, 0.94));
  box-shadow: 0 12px 26px rgba(8, 47, 82, 0.05);
}
.phrase-list h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: none;
}
.phrase-list p {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.phrase-list span {
  display: block;
  color: #3e596b;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.5;
}
.communication-panel p {
  margin: 0 0 12px;
  color: #3e596b;
  line-height: 1.62;
}
.communication-panel p:last-child { margin-bottom: 0; }
.communication-panel ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #3e596b;
  line-height: 1.62;
}
.communication-panel li + li { margin-top: 7px; }
.communication-panel--wide { grid-column: 1 / -1; }
.tool-list {
  display: grid;
  gap: 12px;
}
.tool-list div {
  padding: 14px 16px;
  border: 1px solid rgba(185, 144, 69, 0.18);
  border-radius: 14px;
  background: rgba(255, 248, 237, 0.72);
}
.tool-list h3 {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.tool-list p {
  margin: 0;
  color: #3e596b;
  line-height: 1.58;
}
.guide-note {
  margin-top: 0;
  margin-bottom: clamp(54px, 7vw, 82px);
  padding: clamp(24px, 3vw, 32px);
}
.guide-note p {
  margin: 0 0 12px;
  max-width: 850px;
  color: #3e596b;
  line-height: 1.65;
}
.guide-note p:last-child { margin-bottom: 0; }
.policy-content {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: clamp(54px, 7vw, 82px);
}
.policy-panel p {
  margin: 0 0 12px;
  color: #3e596b;
  line-height: 1.65;
}
.policy-panel p:last-child { margin-bottom: 0; }
.policy-panel a {
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.policy-panel strong { color: var(--navy); }
@media (max-width: 760px) {
  .guide-hero,
  .guide-content,
  .phrase-guide-content,
  .communication-guide-content,
  .guide-note,
  .policy-content,
  .keyboard-reference { width: min(100% - 36px, 1120px); }
  .guide-content,
  .phrase-guide-content,
  .communication-guide-content,
  .policy-content { grid-template-columns: 1fr; }
  .communication-panel--wide { grid-column: auto; }
}
