/* Base theme variables - overridden by inline theme block in base.html when configured - DataGurus LLC*/
:root {
  /* Ohio state flag palette: blue (#002868), muted red (#963333), white */
  --navy: #002868;
  --gold: #963333;
  --gold-dark: #7A2828;
  --gold-light: #F3E8E8;
  --cream: #FFFFFF;
  --text: #0B1F3A;
  --muted: #4A5568;
  --border: rgba(0, 0, 0, 0.1);
  --white: #ffffff;
  --accent: var(--gold);
  --accent-on-dark: #ffc7c2;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --surface-blue: #eaf1fb;
  --surface-warm: #faf6f4;
  --surface-red: #f8efef;
  --ink-soft: #314158;
  --border-strong: rgba(0, 40, 104, 0.16);
  --content-width: 1180px;
  --gradient-hero: linear-gradient(135deg, #001b4d 0%, var(--navy) 55%, #0e3c7f 100%);

  /* ---- Design tokens: standard scales to keep sizing consistent ---- */
  /* Corner radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 40px rgba(0, 40, 104, 0.09);

  /* Elevation / shadows */
  --shadow-sm: 0 4px 14px rgba(0, 40, 104, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 40, 104, 0.12);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.18);

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;

  /* Type scale */
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Prevents anchor links from being hidden under the sticky navbar */
}
body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

nav {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  overflow: visible;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  text-decoration: none;
}
.nav-logo {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-name {
  color: white;
}
.nav-name .org {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.nav-name .chapter {
  font-size: 14px;
  opacity: 0.65;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 20px 14px;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  display: block;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px 4px 0 0;
}
.nav-join {
  background: var(--gold) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  border-bottom: none !important;
}
.nav-join:hover {
  background: var(--gold-dark) !important;
}
.nav-links .nav-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 600;
  padding: 20px 10px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}
a.nav-user:hover,
a.nav-user.active {
  color: var(--gold);
}
.nav-links .nav-user i {
  font-size: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle i {
  display: block;
  font-size: 26px;
  line-height: 1;
  pointer-events: none;
}

/* Main nav dropdown (global - loaded on every page via site.css) */
.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}
.nav-dropdown-toggle {
  appearance: none;
  -webkit-appearance: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  font-weight: 500;
  padding: 20px 14px;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px 4px 0 0;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 8px 8px;
  z-index: 1100;
  padding: 8px 0;
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  color: var(--text) !important;
  padding: 10px 18px !important;
  border-bottom: none !important;
  border-left: 3px solid transparent !important;
  font-size: 15px;
  white-space: normal;
  display: block;
  transition: all 0.2s ease;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--cream);
  color: var(--navy) !important;
  border-left-color: var(--gold) !important;
  padding-left: 24px !important;
}
.nav-submenu {
  padding: 4px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-submenu:first-child {
  border-top: none;
}
.nav-submenu-label {
  display: block;
  padding: 8px 18px 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-submenu-link {
  color: var(--text) !important;
  padding: 8px 18px 8px 26px !important;
  border-bottom: none !important;
  border-left: 3px solid transparent !important;
  font-size: 15px;
  white-space: normal;
  display: block;
  transition: all 0.2s ease;
}
.nav-submenu-link:hover,
.nav-submenu-link.active {
  background: var(--cream);
  color: var(--navy) !important;
  border-left-color: var(--gold) !important;
  padding-left: 32px !important;
}

/* Nested flyout submenus — any depth, open to the right (desktop). Links inside
   inherit the .nav-dropdown-menu a styling since they remain DOM descendants. */
.nav-flyout {
  position: relative;
}
.nav-flyout-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  padding: 10px 18px;
  transition: all 0.2s ease;
}
.nav-flyout-toggle:hover,
.nav-flyout.is-active > .nav-flyout-toggle {
  background: var(--cream);
  color: var(--navy);
  border-left-color: var(--gold);
  padding-left: 24px;
}
.nav-flyout-caret {
  font-size: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}
.nav-flyout-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: -8px;
  min-width: 210px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  z-index: 1200;
  padding: 8px 0;
}
.nav-flyout:hover > .nav-flyout-menu {
  display: block;
}

.page-centered-wrap {
  display: flex;
  justify-content: center;
}
.page-centered {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.page-centered .section-header-centered,
.section-header-centered {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}
.section-header-centered .section-title .line {
  margin-left: auto;
  margin-right: auto;
}

.hero {
  background: var(--navy);
  color: white;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, white 0, white 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.hero-content {
  position: relative;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
}
.hero-content .hero-btns,
.hero-content .hero-stats {
  justify-content: center;
}
.hero-content p {
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 146, 42, 0.2);
  border: 1px solid rgba(200, 146, 42, 0.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: white;
}

.hero-stats {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}
.stat-item .num {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
}
.stat-item .lbl {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticker {
  background: var(--gold);
  color: white;
  display: flex;
  justify-content: center;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  padding: 0 1rem;
}
.ticker-inner-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}
.ticker-centered .ticker-track {
  flex: 1;
}
.ticker-label {
  background: var(--gold-dark);
  padding: 10px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
  padding: 10px 0;
}
.ticker-inner span::before {
  content: "\25C6\00A0\00A0";
  font-size: 8px;
  opacity: 0.65;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

section {
  padding: 2.5rem 2rem;
}
.section-bg {
  background: var(--cream);
}

.section-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
}
.section-title .line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: var(--radius-sm);
}
.view-all {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all:hover {
  text-decoration: underline;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
/* Stretched-link pattern: the whole card becomes the click target of its
   primary link (the title), without extra tab stops or JavaScript. Inner
   links/buttons that go elsewhere (Register, Apply...) get .card-raised so
   they sit above the overlay and stay independently clickable. */
.card-clickable {
  position: relative;
}
.card-clickable .card-stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-clickable .card-raised {
  position: relative;
  z-index: 2;
}
.event-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 0.5px solid var(--border);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.event-header {
  background: var(--navy);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.event-date-box {
  background: var(--gold);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 6px 10px;
  min-width: 48px;
  flex-shrink: 0;
}
.event-date-box .day {
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.event-date-box .mon {
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.event-header-text .etitle {
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.event-header-text .etype {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.event-body {
  padding: 1rem 1.25rem;
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.event-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.event-meta-row i {
  font-size: 15px;
  color: var(--gold);
  flex-shrink: 0;
}
.event-footer {
  padding: 0.75rem 1.25rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-free {
  background: #e8f5e9;
  color: #2e7d32;
}
.tag-paid {
  background: #fff3e0;
  color: #e65100;
}
.reg-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.reg-btn:hover {
  background: var(--gold);
  color: #fff;
}
.event-card a.reg-btn,
.listing-event-card a.reg-btn,
.event-card--home a.reg-btn {
  color: #fff;
}
.event-card a.reg-btn:hover,
.listing-event-card a.reg-btn:hover,
.event-card--home a.reg-btn:hover {
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
.news-featured {
  background: white;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
  overflow: hidden;
}
.news-feat-img {
  background: linear-gradient(135deg, var(--navy), #1a3d6e);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.news-feat-img img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-feat-img-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.news-feat-badge {
  background: var(--gold);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.news-feat-icon {
  font-size: 44px;
  color: rgba(255, 255, 255, 0.25);
}
.news-feat-body {
  padding: 1.5rem;
}
.news-feat-body h3 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.news-feat-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.news-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.news-meta i {
  font-size: 13px;
  vertical-align: -1px;
  margin-right: 4px;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-item {
  background: white;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
  padding: 1rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.2s;
}
.news-item:hover {
  border-color: var(--gold);
}
.news-item-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.news-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 4px;
}
.news-item .date {
  font-size: 11px;
  color: var(--muted);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  align-items: start;
}
.board-card {
  background: white;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.board-card--has-bio {
  cursor: pointer;
}
.board-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.board-card--has-bio:hover,
.board-card--has-bio:focus-within {
  transform: none;
  z-index: 3;
  box-shadow: var(--shadow-md);
}
.board-card-tooltip {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: var(--cream);
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
  text-align: left;
}
.board-card--has-bio:hover .board-card-tooltip,
.board-card--has-bio:focus-within .board-card-tooltip {
  display: block;
}
.board-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  background: var(--navy);
  overflow: hidden;
}
.board-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.board-avatar.gold {
  background: var(--gold);
}
.board-card .name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}
.board-card .role {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.board-directory .board-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.board-directory .board-list-empty {
  color: var(--muted);
  text-align: center;
}
.board-directory .board-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  padding: 1.75rem 2rem;
}
.board-directory .board-row-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 200px;
  text-align: center;
}
.board-directory .board-row .board-avatar {
  width: 83px;
  height: 83px;
  font-size: 26px;
  margin: 0 0 14px;
}
.board-directory .board-row-meta .name {
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.3;
}
.board-directory .board-row-meta .role {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.board-directory .board-row-bio {
  flex: 1;
  min-width: 0;
  padding-top: 0.35rem;
}
.board-directory .board-row-bio p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
.board-directory .board-row-bio-empty {
  color: var(--muted);
  font-style: italic;
}
@media (max-width: 720px) {
  .board-directory .board-row {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
  }
  .board-directory .board-row-bio {
    width: 100%;
    text-align: left;
  }
}

.sponsors-strip {
  background: white;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 1.5rem 2rem;
}
.sponsors-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sponsors-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
.sponsor-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  border: 0.5px solid var(--border);
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sponsor-item img {
  max-height: 48px;
  width: auto;
}
.sponsor-item:hover {
  border-color: var(--gold);
  color: var(--navy);
}

footer {
  background: #0a1e3d;
  color: white;
  padding: 3.5rem 2rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .fname {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 14px;
  opacity: 0.6;
  line-height: 1.75;
  max-width: 230px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  transition:
    background 0.2s,
    color 0.2s;
}
.social-btn:hover {
  background: var(--gold);
  color: white;
}
.social-btn .ti {
  font-size: 18px;
  line-height: 1;
  color: inherit;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-col a i {
  font-size: 14px;
  vertical-align: -1px;
  margin-right: 5px;
}
.footer-bottom {
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.45;
  flex-wrap: wrap;
  gap: 8px;
}

.page-hero {
  background: var(--navy);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}
.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 36px);
  text-align: center;
}
.page-hero .page-hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.page-body {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.preview-banner {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  nav.site-nav {
    flex-wrap: wrap;
    align-items: center;
    padding: 0 1rem;
    gap: 0;
  }
  .nav-brand {
    flex: 1;
    min-width: 0;
    padding: 8px 0;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    z-index: 1001;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    flex-basis: 100%;
    order: 10;
  }
  .nav-links.open {
    display: flex;
    background: var(--navy);
    padding: 0.5rem 1rem 1.25rem;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.open a {
    padding: 10px 0;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    margin: 4px 0 8px;
    width: 100%;
  }
  .nav-flyout {
    width: 100%;
  }
  .nav-flyout-toggle {
    width: 100%;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
  }
  .nav-flyout:hover > .nav-flyout-menu {
    display: none;
  }
  .nav-flyout.open > .nav-flyout-menu {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
    border-radius: var(--radius-md);
    min-width: 0;
    width: 100%;
    margin: 2px 0 4px;
    padding: 4px 0;
  }
  .nav-dropdown-menu a,
  .nav-flyout-menu a,
  .nav-submenu-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 12px !important;
    text-align: center;
  }
  .nav-submenu-label {
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    padding-top: 10px;
  }
  .nav-submenu-link {
    padding-left: 12px !important;
  }
}

@media (max-width: 640px) {
  .nav-logo {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }
  .nav-name .org {
    font-size: 16px;
  }
  .nav-name .chapter {
    font-size: 11px;
  }
  .hero {
    padding: 2.75rem 1.25rem;
    min-height: 0;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .page-hero {
    padding: 2.25rem 1.25rem;
  }
  section {
    padding: 2.5rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sponsors-inner {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .nav-name .org {
    font-size: 15px;
  }
  .hero h1 {
    font-size: clamp(24px, 7vw, 30px);
  }
  .hero-btns {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }
  .hero-stats {
    gap: 1.25rem 2rem;
  }
  section {
    padding: 2.25rem 1rem;
  }
}

/* Admin "preview as member" bar */
.admin-preview-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  background: #1f2d44;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  text-align: center;
}
.admin-preview-bar a {
  color: var(--gold, #963333);
  font-weight: 600;
  text-decoration: none;
}
.admin-preview-bar a:hover {
  text-decoration: underline;
}

.public-admin-preview {
  position: relative;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 6px clamp(1rem, 3vw, 2rem);
  background: #061832;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
}
.public-admin-preview > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.public-admin-preview a,
.admin-preview-bar a {
  color: var(--accent-on-dark, #ffc7c2);
  font-weight: 700;
  text-decoration: underline;
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  background: #0a1e3d;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 1rem 1.25rem;
  max-width: 880px;
  margin: 0 auto;
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-consent-text {
  flex: 1 1 300px;
}
.cookie-consent-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.cookie-consent-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.75;
}
.cookie-consent-text a {
  color: var(--gold, #963333);
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-btn {
  border: none;
  border-radius: var(--radius-md);
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.cookie-btn-accept {
  background: var(--gold, #963333);
  color: #fff;
}
.cookie-btn-accept:hover {
  background: var(--gold-dark, #7A2828);
}
.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
@media (max-width: 560px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .cookie-consent-actions {
    justify-content: flex-end;
  }
}

/* Rendered rich-text output (TinyMCE HTML) on public pages */
.rich-text-content {
  line-height: 1.7;
}
.rich-text-content > :first-child {
  margin-top: 0;
}
.rich-text-content > :last-child {
  margin-bottom: 0;
}
.rich-text-content p {
  margin: 0 0 1rem;
}
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.3;
  margin: 1.6rem 0 0.6rem;
}
.rich-text-content h2 {
  font-size: 1.4rem;
}
.rich-text-content h3 {
  font-size: 1.2rem;
}
.rich-text-content h4 {
  font-size: 1.05rem;
}
.rich-text-content ul,
.rich-text-content ol {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}
.rich-text-content li {
  margin-bottom: 0.4rem;
}
.rich-text-content a {
  color: var(--gold-dark, #7A2828);
  text-decoration: underline;
}
.rich-text-content a:hover {
  color: var(--gold, #963333);
}
.rich-text-content blockquote {
  border-left: 3px solid var(--gold, #963333);
  margin: 0 0 1rem;
  padding: 0.25rem 0 0.25rem 1rem;
  color: var(--muted, #5a6072);
  font-style: italic;
}
.rich-text-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.rich-text-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1rem;
}
.rich-text-content th,
.rich-text-content td {
  border: 1px solid var(--border, #e2e2e8);
  padding: 0.5rem 0.7rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   2026 experience layer
   Shared, database-agnostic components used by the refreshed public pages.
   -------------------------------------------------------------------------- */
:root {
  --accent: var(--gold);
  --accent-on-dark: #ffc7c2;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --surface-blue: #eaf1fb;
  --surface-warm: #faf6f4;
  --surface-red: #f8efef;
  --ink-soft: #314158;
  --border-strong: rgba(0, 40, 104, 0.16);
  --content-width: 1180px;
  --radius-xl: 20px;
  --shadow-card: 0 14px 40px rgba(0, 40, 104, 0.09);
  --gradient-hero: linear-gradient(135deg, #001b4d 0%, var(--navy) 55%, #0e3c7f 100%);
}

body {
  background: var(--surface);
  color: var(--text);
  text-rendering: optimizeLegibility;
}

main:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20000;
  transform: translateY(-150%);
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #69a6ff;
  outline-offset: 3px;
}

.page-centered {
  max-width: var(--content-width);
}

.site-nav {
  min-height: 76px;
  padding: 0 clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 30px rgba(0, 22, 60, 0.18);
}
.nav-brand {
  padding: 10px 0;
}
.nav-logo {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}
.nav-name .org {
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav-name .chapter {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}
.nav-links a,
.nav-dropdown-toggle {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.nav-dropdown-toggle > i {
  font-size: 14px;
  transition: transform 0.2s ease;
}
.nav-dropdown.open > .nav-dropdown-toggle > i {
  transform: rotate(180deg);
}
.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown.is-active .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
  color: #fff;
  border-bottom-color: var(--gold);
}
.nav-dropdown.open > .nav-dropdown-menu,
.nav-flyout.open > .nav-flyout-menu {
  display: block;
}
.nav-dropdown-menu {
  border: 1px solid var(--border-strong);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active,
.nav-flyout-toggle:hover,
.nav-flyout.is-active > .nav-flyout-toggle {
  background: var(--surface-blue);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem) 3rem;
  background:
    radial-gradient(circle at 78% 24%, rgba(92, 142, 220, 0.28), transparent 28%),
    var(--gradient-hero);
  background-size: 100% 100%, 200% 200%;
  animation: hero-gradient-shift 22s ease-in-out infinite;
  color: #fff;
}
.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--navy) 0 33.33%,
    #fff 33.33% 66.66%,
    var(--gold) 66.66% 100%
  );
  pointer-events: none;
}
@keyframes hero-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%, 0% 50%;
  }
  50% {
    background-position: 0% 50%, 100% 50%;
  }
}
.home-hero .hero-bg-pattern {
  opacity: 0.055;
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.home-hero-copy {
  max-width: 720px;
}
.hero-kicker,
.section-eyebrow,
.card-kicker {
  margin: 0 0 0.9rem;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
}
.hero-kicker span {
  width: 30px;
  height: 2px;
  background: var(--accent-on-dark);
}
.home-hero h1 {
  max-width: 760px;
  margin: 0 0 1.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.55rem, 5.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.home-hero h1 span {
  color: var(--accent-on-dark);
}
.home-hero-summary {
  max-width: 640px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}
.home-hero .hero-btns {
  gap: 12px;
}
.btn-primary,
.btn-secondary,
.btn-outline {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
}
.btn-primary {
  box-shadow: 0 10px 24px rgba(80, 15, 18, 0.26);
}
.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.btn-secondary:hover {
  background: #001d50;
  box-shadow: var(--shadow-md);
}
.home-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.home-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.home-hero-visual {
  min-height: 390px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 70px rgba(0, 12, 42, 0.34);
  backdrop-filter: blur(8px);
}
.home-hero-visual--image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 24, 66, 0.9), rgba(0, 24, 66, 0.08) 64%);
}
.hero-orbit {
  width: 240px;
  height: 240px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}
.hero-orbit-ring--one::before,
.hero-orbit-ring--two::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 24px rgba(255, 199, 194, 0.6);
}
.hero-orbit-ring--one::before { top: 18px; left: 34px; }
.hero-orbit-ring--two { inset: 35px; border-style: dashed; transform: rotate(40deg); }
.hero-orbit-ring--two::before { right: -8px; bottom: 44px; }
.hero-orbit-core {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: 0 18px 45px rgba(0, 12, 42, 0.3);
}
.hero-principles {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-principles span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(0, 24, 66, 0.58);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}
.home-hero .hero-stats {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.4rem 0 0;
  justify-content: flex-start;
  gap: 0;
  border-top-color: rgba(255, 255, 255, 0.16);
}
.home-hero .stat-item {
  min-width: 160px;
  padding: 0 2.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.home-hero .stat-item:first-child {
  padding-left: 0;
  border-left: 0;
}
.home-hero .stat-item .num {
  color: var(--accent-on-dark);
}
.home-hero .stat-item .lbl {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.ticker {
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: var(--gold-dark);
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.16);
}
.ticker:hover .ticker-inner,
.ticker:focus-within .ticker-inner {
  animation-play-state: paused;
}

.home-section,
.home-value,
.sponsors-strip {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}
.home-section--soft {
  background: var(--surface-soft);
}
.home-section--blue {
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface) 100%);
}
.section-header {
  align-items: center;
  margin-bottom: 2.25rem;
}
.section-header-centered {
  align-items: center;
  text-align: center;
}
.section-eyebrow {
  margin-bottom: 0.55rem;
}
.section-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.section-title .line {
  width: 54px;
  height: 4px;
}
.view-all,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
}
.view-all:hover,
.text-link:hover {
  color: var(--navy);
}
.home-events-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.event-card,
.news-featured,
.news-item,
.sponsor-item {
  border-color: var(--border-strong);
}
.event-card--home {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(0, 40, 104, 0.05);
}
.event-card--home .event-body {
  flex: 1;
}
.card-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.event-card a,
.news-featured a {
  color: inherit;
}
.event-date-box {
  box-shadow: 0 7px 18px rgba(76, 14, 18, 0.25);
}
.empty-state {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed rgba(0, 40, 104, 0.25);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty-state > div:nth-child(2) {
  flex: 1;
}
.empty-state h3 {
  margin: 0 0 0.3rem;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: 1.3rem;
}
.empty-state p,
.muted-copy {
  color: var(--muted);
}
.empty-state-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-blue);
  color: var(--navy);
  font-size: 24px;
}

.home-value {
  background: var(--surface);
}
.home-value > .page-centered {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.home-value-intro h2,
.sponsors-inner > div:first-child h2 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.home-value-intro > p:not(.section-eyebrow) {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.home-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-value-grid article {
  min-height: 245px;
  padding: 1.6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f8faff);
  box-shadow: 0 8px 26px rgba(0, 40, 104, 0.055);
}
.home-value-grid article:nth-child(2) {
  transform: translateY(1.5rem);
}
.home-value-grid i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--surface-blue);
  color: var(--navy);
  font-size: 23px;
}
.home-value-grid h3 {
  margin-bottom: 0.55rem;
  color: var(--navy);
  font-size: 1.1rem;
}
.home-value-grid p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.news-grid {
  gap: 1.4rem;
}
.news-featured {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(0, 40, 104, 0.06);
}
.news-feat-img {
  height: 250px;
}
.news-feat-body h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}
.card-kicker {
  margin-bottom: 0.55rem;
}
.news-item {
  min-height: 90px;
  align-items: center;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-lg);
  color: inherit;
  box-shadow: 0 5px 20px rgba(0, 40, 104, 0.04);
}
.news-item > span:nth-child(2) {
  flex: 1;
}
.news-item-title {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.news-item .date {
  display: block;
  margin-top: 5px;
}
.news-item > i {
  color: var(--gold-dark);
}

.sponsors-strip {
  border: 0;
  background: var(--surface);
}
.sponsors-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.sponsors-inner > div:first-child h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}
.sponsors-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.sponsor-item {
  min-height: 62px;
  background: #fff;
  color: var(--ink-soft);
  filter: grayscale(1);
}
.sponsor-item:hover {
  filter: grayscale(0);
  box-shadow: var(--shadow-sm);
}
.sponsor-item a {
  color: inherit;
}

footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 15% 10%, rgba(48, 100, 178, 0.24), transparent 28%),
    #071a37;
}
.footer-grid {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}
.footer-brand .fname {
  font-size: 24px;
}
.footer-brand p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}
.footer-col h4 {
  color: rgba(255, 255, 255, 0.58);
  opacity: 1;
}
.footer-col a:hover {
  color: var(--accent-on-dark);
}
.footer-link-unavailable,
.footer-contact-line {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
}
.footer-contact-line i {
  margin-right: 5px;
}
.footer-bottom {
  max-width: var(--content-width);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.58);
  opacity: 1;
  flex-wrap: nowrap;
  gap: 16px;
}
.footer-bottom a {
  color: inherit;
}
.footer-legal {
  display: flex;
  gap: 10px;
}
.footer-bottom > span:first-child,
.footer-partner {
  min-width: 0;
}
.footer-partner {
  margin-left: auto;
  text-align: right;
}
.footer-partner a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(92, 142, 220, 0.28), transparent 28%),
    var(--gradient-hero);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.page-hero > * {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -0.035em;
}
.page-hero p,
.page-hero-subtitle {
  max-width: 660px;
  margin: 0.65rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}
.page-body {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.cookie-consent {
  max-width: 720px;
  padding: 0.8rem 0.9rem 0.8rem 1rem;
  border-radius: var(--radius-lg);
}
.cookie-consent-inner {
  flex-wrap: nowrap;
  gap: 1rem;
}
.cookie-consent-text strong {
  margin-bottom: 1px;
}
.cookie-consent-text p {
  font-size: 0.8rem;
  line-height: 1.45;
}
.cookie-btn {
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .home-hero-inner {
    grid-template-columns: 1fr 0.72fr;
    gap: 2.5rem;
  }
  .home-value > .page-centered,
  .sponsors-inner {
    grid-template-columns: 1fr;
  }
  .home-value-grid {
    max-width: 780px;
  }
}

@media (max-width: 820px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
  }
  .home-hero-copy {
    text-align: center;
    margin: 0 auto;
  }
  .home-hero .hero-btns,
  .home-hero .hero-stats {
    justify-content: center;
  }
  .home-hero-visual {
    width: min(100%, 560px);
    min-height: 320px;
    margin: 0 auto;
  }
  .home-events-grid,
  .home-value-grid {
    grid-template-columns: 1fr;
  }
  .home-value-grid article {
    min-height: 0;
  }
  .home-value-grid article:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-links.open {
    margin: 0 -1rem;
    width: calc(100% + 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 640px) {
  .site-nav {
    min-height: 64px;
  }
  .home-hero {
    padding-top: 3.25rem;
  }
  .home-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }
  .home-hero-visual {
    min-height: 280px;
  }
  .home-hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  .home-hero .stat-item {
    min-width: 0;
    padding: 0 0.7rem;
    text-align: center;
  }
  .home-hero .stat-item .num {
    font-size: 25px;
  }
  .home-hero .stat-item .lbl {
    font-size: 10px;
  }
  .ticker-label {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section-header {
    align-items: flex-start;
  }
  .empty-state {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .empty-state .btn-secondary {
    width: 100%;
  }
  .cookie-consent {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.75rem;
  }
  .cookie-consent-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }
  .cookie-consent-text p {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .cookie-btn {
    padding: 0.55rem 0.85rem;
  }
}

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

/* Listing pages, filters, forms, and empty states */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-hero-eyebrow {
  color: var(--accent-on-dark) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.listing-page {
  max-width: var(--content-width);
  background: var(--surface-soft);
}
.filter-bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: -5.7rem auto 4rem;
  padding: 12px;
  position: relative;
  z-index: 3;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
}
.filter-control {
  min-width: 170px;
  min-height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #fff;
}
.filter-control--search {
  min-width: 240px;
  flex: 1;
}
.filter-control > i {
  position: absolute;
  left: 15px;
  color: var(--muted);
  pointer-events: none;
}
.filter-control input,
.filter-control select {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.filter-control input {
  padding: 10px 14px 10px 42px;
}
.filter-control select {
  padding: 10px 36px 10px 14px;
  cursor: pointer;
}
.filter-control:focus-within {
  border-color: #4b87df;
  box-shadow: 0 0 0 3px rgba(75, 135, 223, 0.15);
}
.filter-submit {
  border: 0;
  cursor: pointer;
  box-shadow: none;
}
.listing-section + .listing-section {
  margin-top: 5rem;
}
.listing-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.result-count {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-blue);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.listing-event-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(0, 40, 104, 0.05);
}
.listing-event-card .event-body {
  flex: 1;
}
.listing-event-card--past .event-header {
  background: #17365f;
}
.tag-past {
  background: #e9edf3;
  color: #48576b;
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 26px rgba(0, 40, 104, 0.055);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.news-card-media {
  height: 205px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-blue), #d8e5f7);
  color: rgba(0, 40, 104, 0.34);
  font-size: 3rem;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-body {
  height: calc(100% - 205px);
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}
.news-card h2 {
  margin: 0 0 0.8rem;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.3;
}
.news-card h2 a {
  color: inherit;
}
.news-card-summary {
  flex: 1;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.news-card-footer .text-link {
  font-size: 13px;
}

.contact-page {
  max-width: var(--content-width);
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-details {
  padding: 1.5rem 0;
}
.contact-details h2 {
  margin-bottom: 0.8rem;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}
.contact-details > p:not(.section-eyebrow) {
  color: var(--muted);
}
.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}
.contact-list > a,
.contact-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
}
.contact-list i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--surface-blue);
  color: var(--navy);
  font-size: 20px;
}
.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.public-form {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.form-grid-public {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}
.form-grid-public label {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.form-field-full {
  grid-column: 1 / -1;
}
.field {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  font: inherit;
}
textarea.field {
  min-height: 160px;
  resize: vertical;
}
.field:focus {
  border-color: #4b87df;
  box-shadow: 0 0 0 3px rgba(75, 135, 223, 0.15);
  outline: 0;
}
.required {
  color: var(--gold-dark);
}
.optional {
  float: right;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}
.public-form .btn-primary {
  border: 0;
  cursor: pointer;
}
.public-flashes {
  margin-bottom: 1.25rem;
}
.public-flash {
  padding: 12px 14px;
  border-radius: var(--radius-md);
}
.public-flash--success {
  background: #e8f5e9;
  color: #1b5e20;
}
.public-flash--danger {
  background: #ffebee;
  color: #b71c1c;
}

.gallery-card-link {
  color: inherit;
}
.gallery-card {
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.gallery-card img,
.gallery-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.gallery-placeholder {
  background: var(--surface-blue);
  color: var(--navy);
  font-size: 3rem;
}
.gallery-desc {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .listing-grid,
  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: -4.3rem;
  }
  .filter-control--search,
  .filter-submit {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .listing-grid,
  .news-card-grid,
  .form-grid-public,
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .filter-control,
  .filter-control--search,
  .filter-submit {
    min-width: 0;
    grid-column: auto;
  }
  .listing-heading {
    align-items: flex-start;
  }
  .result-count {
    margin-top: 7px;
  }
  .form-field-full {
    grid-column: auto;
  }
  .news-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Hybrid Ohio Vibrant + Modern Community (public scope polish) */
.page-body.section-bg:not(.listing-page) {
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 220px);
}
.page-body.member-page.section-bg {
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface-soft) 45%, var(--surface) 100%);
}
.listing-event-card,
.event-card--home {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.listing-event-card::before,
.event-card--home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, #5a8fd4 48%, var(--gold) 100%);
  z-index: 1;
}
.listing-event-card:hover,
.event-card--home:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.btn-primary:focus-visible {
  outline: 3px solid #69a6ff;
  outline-offset: 3px;
}
.hero-kicker,
.page-hero-eyebrow {
  color: rgba(255, 255, 255, 0.86);
}
.section-eyebrow:not(.page-hero-eyebrow) {
  color: var(--gold-dark);
}
.home-value-grid article {
  border-top: 3px solid var(--surface-blue);
}
.home-value-grid article:nth-child(2) {
  border-top-color: rgba(150, 51, 51, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .home-hero {
    animation: none;
  }
}

/* Listing pages (Events, News): filter bar sits below hero — no overlap */
.page-hero--listing + .listing-page {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}
.page-body.listing-page > .filter-bar {
  margin: 0 auto 2.75rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 700px) {
  .page-body.listing-page > .filter-bar {
    margin-top: 0;
  }
}

/* Nav submenu link click + open animations */
@keyframes nav-menu-click-pulse {
  0% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(5px);
    background: var(--surface-blue, var(--cream));
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes nav-menu-item-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-dropdown-menu a.nav-menu-click,
.nav-flyout-menu a.nav-menu-click,
.nav-submenu-link.nav-menu-click,
.nav-flyout-toggle.nav-menu-click {
  animation: nav-menu-click-pulse 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *,
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > * {
  animation: nav-menu-item-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *:nth-child(1),
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > *:nth-child(1) {
  animation-delay: 0.03s;
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *:nth-child(2),
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > *:nth-child(2) {
  animation-delay: 0.07s;
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *:nth-child(3),
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > *:nth-child(3) {
  animation-delay: 0.11s;
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *:nth-child(4),
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > *:nth-child(4) {
  animation-delay: 0.15s;
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *:nth-child(5),
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > *:nth-child(5) {
  animation-delay: 0.19s;
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *:nth-child(6),
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > *:nth-child(6) {
  animation-delay: 0.23s;
}
.nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *:nth-child(n + 7),
.nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > *:nth-child(n + 7) {
  animation-delay: 0.27s;
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-menu a.nav-menu-click,
  .nav-flyout-menu a.nav-menu-click,
  .nav-submenu-link.nav-menu-click,
  .nav-flyout-toggle.nav-menu-click,
  .nav-dropdown.open > .nav-dropdown-menu.nav-menu-stagger > *,
  .nav-flyout.open > .nav-flyout-menu.nav-menu-stagger > * {
    animation: none !important;
  }
}
