@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --navy: #253b85;
  --navy-deep: #1b2d67;
  --navy-soft: #5b6d9e;
  --gold: #f0b24b;
  --gold-soft: #fff2d7;
  --mist: #eef3fb;
  --mist-deep: #dde7f6;
  --ink: #13203f;
  --ink-soft: #54617f;
  --white: #ffffff;
  --border: rgba(19, 32, 63, 0.1);
  --shadow: 0 16px 42px rgba(37, 59, 133, 0.09);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--site-header-height, 0px) + 18px);
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: #f7f9fd;
  line-height: 1.65;
  padding-top: var(--site-header-height, 0px);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  padding-left: 1.1rem;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(19, 32, 63, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  height: 58px;
  width: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--navy);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--mist);
  color: var(--navy);
}

.button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1.15;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.pill:hover {
  transform: translateY(-1px);
}

.button {
  padding: 12px 18px;
  border: 1px solid transparent;
}

.pill {
  padding: 7px 12px;
}

.button.primary,
.pill.accent {
  background: var(--gold);
  color: var(--ink);
}

.button.primary:hover,
.pill.accent:hover {
  background: #e4a338;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
}

.button.ghost {
  border: 1px solid rgba(37, 59, 133, 0.18);
  color: var(--navy);
  background: transparent;
}

.button.ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.hero .button.ghost,
.section.dark .button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
}

.hero .button.ghost:hover,
.section.dark .button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.section.dark .card .button.ghost,
.section.dark .contact-card .button.ghost,
.section.dark .feature-panel .button.ghost,
.section.dark .info-block .button.ghost {
  border-color: rgba(37, 59, 133, 0.18);
  color: var(--navy);
}

.section.dark .card .button.ghost:hover,
.section.dark .contact-card .button.ghost:hover,
.section.dark .feature-panel .button.ghost:hover,
.section.dark .info-block .button.ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

header .button.ghost,
header .pill {
  border-color: rgba(37, 59, 133, 0.18);
  color: var(--navy);
}

header .button.ghost:hover,
header .pill:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  padding: 108px 0 72px;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(17, 30, 73, 0.88), rgba(37, 59, 133, 0.54)),
    url('images/photo_gallery/photo-01.jpg') center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 178, 75, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(17, 30, 73, 0), rgba(17, 30, 73, 0.22));
  z-index: -1;
}

.hero-content {
  display: grid;
  gap: 20px;
  width: min(620px, 92%);
  max-width: 620px;
  min-width: 0;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.55rem, 4.8vw, 4rem);
  max-width: 11ch;
}

.hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  overflow-wrap: anywhere;
}

.hero-actions,
.quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  line-height: 1.2;
}

.page-hero {
  background: linear-gradient(135deg, var(--mist), #f8fbff);
  padding: 68px 0 42px;
  border-bottom: 1px solid rgba(19, 32, 63, 0.06);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  color: var(--navy-deep);
}

.page-hero p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section {
  padding: 58px 0;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.section.dark p,
.section.dark li,
.section.dark .section-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.section.dark .card,
.section.dark .contact-card,
.section.dark .feature-panel,
.section.dark .info-block,
.section.dark .table-shell,
.section.dark .gallery-shell {
  background: var(--white);
  color: var(--ink);
}

.section.dark .card h3,
.section.dark .contact-card h3,
.section.dark .feature-panel h3,
.section.dark .info-block h3 {
  color: var(--navy-deep);
}

.section.dark .card p,
.section.dark .card li,
.section.dark .contact-card p,
.section.dark .contact-card li,
.section.dark .feature-panel p,
.section.dark .feature-panel li,
.section.dark .info-block p,
.section.dark .info-block li,
.section.dark .card .section-subtitle,
.section.dark .contact-card .section-subtitle,
.section.dark .feature-panel .section-subtitle,
.section.dark .info-block .section-subtitle {
  color: var(--ink-soft);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
}

.section-subtitle {
  max-width: 760px;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.media-card,
.feature-media,
.contact-photo,
.hero-panel,
.image-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-card img,
.feature-media img,
.contact-photo img,
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-panel,
.card,
.contact-card,
.form-shell,
.info-block,
.table-shell,
.gallery-shell {
  background: var(--white);
  border: 1px solid rgba(19, 32, 63, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: 100%;
}

.feature-panel,
.card,
.contact-card,
.form-shell,
.info-block {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.card-grid,
.gallery-grid,
.resource-grid,
.stats-grid,
.membership-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.card h3,
.contact-card h3,
.info-block h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  color: var(--navy-deep);
}

.feature-list,
.plain-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li,
.callout-list li {
  background: rgba(37, 59, 133, 0.04);
  border: 1px solid rgba(37, 59, 133, 0.08);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.calendar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}

.calendar-card__head {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 20px 22px;
}

.calendar-card__head strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.calendar-card__body {
  padding: 22px;
  display: grid;
  gap: 10px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}

.post-card__media {
  height: 170px;
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: 22px;
  display: grid;
  gap: 10px;
}

.post-card__body h2 {
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--navy-deep);
}

.post-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-weight: 800;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  height: 100%;
}

.faq-item h3 {
  margin-bottom: 10px;
  color: var(--navy-deep);
}

.section.dark .feature-list li {
  background: rgba(37, 59, 133, 0.04);
  border-color: rgba(37, 59, 133, 0.08);
  color: var(--ink);
}

.hero.hero-video::before {
  background:
    linear-gradient(115deg, rgba(17, 30, 73, 0.9), rgba(37, 59, 133, 0.62));
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.meetings-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(18, 31, 78, 0.92), rgba(37, 59, 133, 0.76)),
    url('images/_generic_photos/living-28.jpg') center / cover no-repeat;
  color: var(--white);
}

.meetings-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(240, 178, 75, 0.16), transparent 30%);
  pointer-events: none;
}

.meetings-hero .container {
  position: relative;
  z-index: 1;
}

.meetings-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.meetings-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 50px rgba(10, 20, 50, 0.24);
  backdrop-filter: blur(6px);
}

.meetings-hero-card h1,
.meetings-hero-card p,
.meetings-hero-card .eyebrow {
  color: var(--white);
}

.meetings-hero-card p {
  margin-top: 14px;
  max-width: 56ch;
}

.meetings-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.meetings-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 14px;
}

.meetings-stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.meetings-side-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(10, 20, 50, 0.24);
  min-height: 360px;
}

.meetings-side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}

.event-card.featured {
  grid-column: span 2;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
}

.event-card__media {
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 30, 73, 0.05), rgba(17, 30, 73, 0.24));
}

.event-card__body {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.event-card__body h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.5rem;
}

.event-meta {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
}

.event-notes {
  display: grid;
  gap: 10px;
}

.event-note {
  background: rgba(37, 59, 133, 0.04);
  border: 1px solid rgba(37, 59, 133, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--ink);
}

.event-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.meeting-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.schedule-list {
  display: grid;
  gap: 22px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 100%;
}

.schedule-media {
  min-height: 100%;
}

.schedule-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-body {
  padding: 26px 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.schedule-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.schedule-body h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.2;
  color: var(--navy-deep);
}

.schedule-meta {
  display: grid;
  gap: 4px;
  color: var(--ink-soft);
}

.schedule-copy {
  max-width: 70ch;
}

.schedule-bullets {
  display: grid;
  gap: 10px;
  margin: 2px 0 4px;
}

.schedule-bullet {
  background: rgba(37, 59, 133, 0.04);
  border: 1px solid rgba(37, 59, 133, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--ink);
}

.schedule-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.schedule-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
  align-items: stretch;
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
  height: 100%;
}

.summary-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: stretch;
}

.stack {
  display: grid;
  gap: 18px;
}

.link-card {
  display: grid;
  gap: 12px;
}

.link-card a.inline-link,
.inline-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero .inline-link,
.hero .link-card a.inline-link,
.section.dark .inline-link,
.section.dark .link-card a.inline-link {
  color: var(--gold-soft);
}

.hero .inline-link:hover,
.hero .link-card a.inline-link:hover,
.section.dark .inline-link:hover,
.section.dark .link-card a.inline-link:hover {
  color: var(--white);
}

.section.dark .card .inline-link,
.section.dark .contact-card .inline-link,
.section.dark .feature-panel .inline-link,
.section.dark .info-block .inline-link,
.section.dark .card .link-card a.inline-link,
.section.dark .contact-card .link-card a.inline-link {
  color: var(--navy);
}

.section.dark .card .inline-link:hover,
.section.dark .contact-card .inline-link:hover,
.section.dark .feature-panel .inline-link:hover,
.section.dark .info-block .inline-link:hover {
  color: var(--navy-deep);
}

.stats-grid .card {
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.notice-card {
  background: var(--gold-soft);
  border-color: rgba(240, 178, 75, 0.45);
}

.section-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 24px;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.copy-panel {
  height: 100%;
}

.contact-form-card {
  max-width: 560px;
  justify-self: start;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.contact-mini-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(37, 59, 133, 0.1);
  border-radius: var(--radius-md);
  background: rgba(37, 59, 133, 0.04);
}

.contact-mini-card strong {
  color: var(--navy-deep);
}

.contact-mini-card span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.media-panel {
  padding: 0;
  overflow: hidden;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.member-class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.member-class-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.member-class-card p {
  color: var(--ink-soft);
}

.compact-card {
  gap: 14px;
}

.compact-card p {
  color: var(--ink-soft);
}

.one-page-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.balanced-five-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.balanced-five-grid > * {
  grid-column: span 2;
}

.balanced-five-grid > *:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.balanced-five-grid > *:last-child {
  grid-column: 4 / span 2;
}

.compact-card,
.link-card {
  align-content: stretch;
}

.compact-card .button,
.link-card .button {
  align-self: end;
  width: 100%;
  white-space: normal;
  text-align: center;
}

.summary-card span {
  color: var(--ink-soft);
}

.simple-content {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.simple-content > p {
  max-width: 760px;
  color: var(--ink-soft);
}

.simple-facts,
.simple-link-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  box-shadow: var(--shadow);
}

.simple-facts > div,
.simple-link-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
}

.simple-link-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.simple-facts strong,
.simple-link-row strong {
  display: block;
  color: var(--navy-deep);
}

.simple-facts span,
.simple-link-row span {
  color: var(--ink-soft);
}

.credential-layout,
.link-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.credential-group,
.resource-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  height: 100%;
}

.credential-group {
  display: grid;
  gap: 18px;
}

.cpo-feature {
  max-width: 1080px;
  margin: 0 auto;
}

.cpo-feature-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.cpo-media {
  min-height: 100%;
}

.cpo-media img {
  object-position: center;
}

.credential-group > p,
.resource-panel > p {
  color: var(--ink-soft);
}

.credential-list,
.resource-list {
  display: grid;
  gap: 12px;
}

.credential-entry,
.resource-row {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(238, 243, 251, 0.95), rgba(255, 249, 238, 0.95));
  border: 1px solid rgba(37, 59, 133, 0.08);
}

.credential-entry {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.credential-entry h3,
.resource-row strong {
  color: var(--navy-deep);
}

.credential-entry p,
.resource-row span {
  color: var(--ink-soft);
}

.resource-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.resource-row strong {
  display: block;
  margin-bottom: 4px;
}

.faq-shell {
  max-width: 980px;
  margin: 0 auto;
}

.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-entry {
  background: linear-gradient(135deg, rgba(238, 243, 251, 0.96), rgba(255, 249, 238, 0.96));
  border: 1px solid rgba(19, 32, 63, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-entry[open] {
  box-shadow: 0 28px 64px rgba(37, 59, 133, 0.16);
}

.faq-entry summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.faq-entry summary::-webkit-details-marker {
  display: none;
}

.faq-entry summary::after {
  content: '+';
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(19, 32, 63, 0.08);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-entry[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  max-width: 72ch;
}

.faq-answer p + p {
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 59, 133, 0.08);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.table-shell {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(19, 32, 63, 0.08);
  vertical-align: top;
}

th {
  background: var(--mist);
  color: var(--navy-deep);
  font-size: 0.92rem;
}

.gallery-grid a {
  display: block;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.gallery-caption {
  margin-top: 10px;
  font-weight: 700;
  color: var(--navy-deep);
}

.gallery-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(19, 32, 63, 0.12);
  background: #fbfcff;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note,
.small-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-strip {
  background: linear-gradient(135deg, var(--gold), #ffd38a);
  color: var(--ink);
  padding: 16px 0;
  text-align: center;
  font-weight: 700;
}

.cta-strip a {
  text-decoration: underline;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 24, 39, 0.86);
  z-index: 2000;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  background: #0f1835;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox-content img {
  width: min(960px, 88vw);
  height: min(70vh, 620px);
  object-fit: contain;
}

.lightbox-title {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
}

.lightbox-nav.prev {
  left: -18px;
}

.lightbox-nav.next {
  right: -18px;
}

footer {
  background: linear-gradient(135deg, #172857, #223980);
  color: var(--white);
  padding: 14px 0 40px;
}

.footer-shell {
  display: grid;
  gap: 18px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}

.footer-brand {
  display: flex;
  justify-content: center;
}

.footer-brand img {
  width: min(320px, 86vw);
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-links span,
.footer-copy,
.footer-note {
  color: rgba(255, 255, 255, 0.8);
}

.footer-eho {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-icons img {
  height: 48px;
  width: auto;
}

.footer-estream {
  display: flex;
  justify-content: center;
}

.footer-estream img {
  width: 82px;
  background: var(--white);
  border-radius: 4px;
}

@media (max-width: 1460px) {
  .logo-image {
    height: 50px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .nav-panel {
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  .nav-panel.open {
    display: block;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 960px) {
  .split,
  .copy-grid,
  .cpo-feature-grid,
  .credential-layout,
  .link-directory,
  .member-class-grid,
  .sidebar-layout,
  .contact-layout,
  .meetings-hero-grid,
  .meeting-support-grid {
    grid-template-columns: 1fr;
  }

  .event-grid,
  .event-card.featured,
  .balanced-five-grid {
    grid-template-columns: 1fr;
  }

  .balanced-five-grid > *,
  .balanced-five-grid > *:nth-last-child(2),
  .balanced-five-grid > *:last-child {
    grid-column: auto;
  }

  .schedule-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-item {
    grid-template-columns: 1fr;
  }

  .schedule-media {
    min-height: 220px;
  }

  .event-card.featured {
    grid-column: span 1;
  }

  .hero {
    min-height: 70vh;
  }

  .section,
  .page-hero {
    padding-top: 60px;
    padding-bottom: 48px;
  }

  th,
  td {
    padding: 12px;
  }
}

@media (max-width: 720px) {
  .hero-actions,
  .quick-links,
  .topbar .container,
  .topbar-actions,
  .hero-badges,
  .footer-links {
    justify-content: center;
  }

  .topbar .container {
    text-align: center;
  }

  .topbar .container > div,
  .topbar a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .topbar-actions {
    width: 100%;
    min-width: 0;
  }

  .topbar .container > div:first-child,
  .topbar-actions > a:not(.pill) {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-badges {
    min-width: 0;
  }

  .hero-actions .button,
  .quick-links .button,
  .member-class-card .button,
  .resource-row .button {
    width: 100%;
    white-space: normal;
  }

  .resource-row,
  .credential-entry,
  .simple-facts > div,
  .simple-link-row,
  .contact-mini-grid,
  .faq-entry summary {
    grid-template-columns: 1fr;
  }

  .credential-entry .button,
  .simple-link-row .button {
    width: 100%;
    white-space: normal;
  }

  .event-actions .button {
    width: 100%;
    white-space: normal;
  }

  .badge {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .topbar-actions .pill {
    white-space: normal;
    text-align: center;
  }

  .meetings-hero-stats {
    grid-template-columns: 1fr;
  }

  .schedule-actions .button {
    width: 100%;
    white-space: normal;
  }

  .schedule-summary {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 240px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    padding: 12px 0;
    border-bottom: 1px solid rgba(19, 32, 63, 0.08);
  }

  td {
    border-bottom: 0;
    padding: 8px 14px;
  }

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--ink-soft);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }
}
