:root {
  --cj-navy: #082b55;
  --cj-navy-light: #0c3d6e;
  --cj-navy-deep: #061f3e;
  --cj-gold: #c7943e;
  --cj-gold-light: #ddb15e;
  --cj-blue: #739bd4;
  --cj-light-blue: #9ab8e6;
  --cj-cream: #f8f4eb;
  --cj-cream-dark: #eee8dc;
  --cj-white: #fff;
  --cj-ink: #22252a;
  --cj-muted: #686c72;
  --cj-border: #d9d4c9;
  --cj-dark: #1c2229;
  --cj-success: #276749;
  --cj-radius-sm: 5px;
  --cj-radius: 10px;
  --cj-radius-lg: 18px;
  --cj-shadow-sm: 0 6px 18px rgba(8, 43, 85, 0.06);
  --cj-shadow: 0 18px 45px rgba(8, 43, 85, 0.12);
  --cj-container: 1240px;
  --cj-serif: Georgia, "Times New Roman", serif;
  --cj-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cj-hero-image: none;
  --cj-hero-overlay: 0.88;
  --cj-hero-position: center center;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cj-ink);
  background: var(--cj-cream);
  font-family: var(--cj-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.cj-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--cj-navy-light); text-underline-offset: 0.16em; }
a:hover { color: var(--cj-gold); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  color: var(--cj-navy);
  font-family: var(--cj-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.25rem, 4.2vw, 3.7rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; }

.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus,
.cj-skip-link:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 12px;
  left: 12px;
  z-index: 99999;
  padding: 10px 16px;
  color: var(--cj-white);
  background: var(--cj-navy);
  border-radius: var(--cj-radius-sm);
  box-shadow: var(--cj-shadow);
}
.cj-skip-link {
  position: absolute;
  left: -9999px;
}
:focus-visible {
  outline: 3px solid var(--cj-gold-light);
  outline-offset: 3px;
}

.cj-container {
  width: min(calc(100% - 48px), var(--cj-container));
  margin-inline: auto;
}
.cj-site-shell { min-height: 100vh; }
.cj-main { overflow: clip; }
.cj-section { padding: clamp(4.25rem, 8vw, 7.25rem) 0; }
.cj-icon { display: inline-flex; align-items: center; justify-content: center; }
.cj-icon svg { width: 1.35rem; height: 1.35rem; }

/* Header */
.cj-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--cj-white);
  background: rgba(8, 43, 85, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}
.admin-bar .cj-site-header { top: 32px; }
.cj-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 2rem;
}
.cj-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.cj-brand .custom-logo-link { display: inline-flex; }
.cj-logo-image,
.cj-brand .custom-logo {
  width: auto;
  max-width: min(300px, 52vw);
  max-height: 52px;
}
.cj-navigation-panel {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.cj-primary-nav { display: flex; align-items: center; }
.cj-menu,
.cj-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cj-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.cj-menu > li { position: relative; }
.cj-menu a {
  display: inline-flex;
  padding: 0.75rem 0;
  color: #d5e4fa;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.cj-menu a:hover,
.cj-menu .current-menu-item > a,
.cj-menu .current-menu-ancestor > a { color: var(--cj-white); }
.cj-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 210px;
  padding: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  background: var(--cj-white);
  border-radius: var(--cj-radius-sm);
  box-shadow: var(--cj-shadow);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.cj-menu .sub-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--cj-navy);
  letter-spacing: 0.03em;
  text-transform: none;
}
.cj-menu li:hover > .sub-menu,
.cj-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cj-header-cta,
.cj-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.35rem;
  color: var(--cj-ink);
  background: var(--cj-gold);
  border: 1px solid var(--cj-gold);
  border-radius: var(--cj-radius-sm);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.cj-header-cta { min-height: 40px; padding: 0.68rem 1rem; color: var(--cj-white); background: transparent; }
.cj-header-cta:hover { color: var(--cj-ink); background: var(--cj-gold); }
.cj-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover { color: var(--cj-ink); background: var(--cj-gold-light); border-color: var(--cj-gold-light); transform: translateY(-1px); }
.cj-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0;
  color: var(--cj-white);
  background: transparent;
  border: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cj-menu-toggle-icon { display: grid; gap: 4px; width: 22px; }
.cj-menu-toggle-icon span { display: block; width: 100%; height: 2px; background: currentColor; transition: transform 0.18s ease, opacity 0.18s ease; }
.cj-menu-toggle[aria-expanded="true"] .cj-menu-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cj-menu-toggle[aria-expanded="true"] .cj-menu-toggle-icon span:nth-child(2) { opacity: 0; }
.cj-menu-toggle[aria-expanded="true"] .cj-menu-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.cj-hero {
  position: relative;
  isolation: isolate;
  min-height: min(690px, calc(100vh - 78px));
  display: flex;
  align-items: center;
  color: var(--cj-white);
  background-image:
    linear-gradient(90deg, rgba(8, 43, 85, var(--cj-hero-overlay)) 0%, rgba(8, 43, 85, var(--cj-hero-overlay)) 44%, rgba(8, 43, 85, 0.48) 68%, rgba(8, 43, 85, 0.12) 100%),
    var(--cj-hero-image);
  background-position: center, var(--cj-hero-position);
  background-size: cover;
  background-repeat: no-repeat;
}
.cj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(118deg, transparent 53%, rgba(154, 184, 230, 0.09) 53.2%, transparent 70%),
    linear-gradient(0deg, rgba(3, 20, 40, 0.26), transparent 35%);
}
.cj-hero-content {
  max-width: 650px;
  padding: clamp(5.6rem, 10vw, 8rem) 0;
}
.cj-eyebrow,
.cj-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.35rem;
  color: var(--cj-gold-light);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.cj-eyebrow::before,
.cj-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}
.cj-kicker { color: var(--cj-gold); }
.cj-kicker--blue { color: var(--cj-blue); }
.cj-kicker--muted { color: #9b9d9f; justify-content: center; }
.cj-hero-title {
  max-width: 620px;
  margin-bottom: 1.35rem;
  color: var(--cj-white);
  font-size: clamp(3.75rem, 7vw, 6.25rem);
  line-height: 0.91;
  text-wrap: balance;
}
.cj-hero-title em { color: var(--cj-gold-light); font-weight: 400; }
.cj-hero-copy { max-width: 560px; margin-bottom: 2rem; color: #d9e6f8; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.65; }
.cj-actions { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.cj-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cj-navy-light);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}
.cj-text-link svg { transition: transform 0.18s ease; }
.cj-text-link:hover svg { transform: translateX(4px); }
.cj-text-link--light { color: var(--cj-gold-light); }
.cj-text-link--light:hover { color: var(--cj-white); }

/* Community overview strip */
.cj-stat-strip {
  position: relative;
  z-index: 5;
  padding: 0;
  background: var(--cj-white);
  border-top: 1px solid rgba(8, 43, 85, 0.12);
  border-bottom: 1px solid var(--cj-border);
}
.cj-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
  background: var(--cj-white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.cj-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 1.4vw, 1.25rem);
  min-width: 0;
  min-height: 132px;
  padding: 1.65rem clamp(1rem, 2.1vw, 2rem);
  text-align: left;
  border-right: 1px solid var(--cj-border);
}
.cj-stat-item:last-child { border-right: 0; }
.cj-stat-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--cj-blue);
  background: transparent;
  border: 1px solid #d9e5f5;
  border-radius: 50%;
}
.cj-stat-icon svg { width: 1.45rem; height: 1.45rem; }
.cj-stat-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.15;
}
.cj-stat-content strong {
  display: block;
  color: var(--cj-navy);
  font-family: var(--cj-serif);
  font-size: clamp(1.22rem, 1.55vw, 1.7rem);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}
.cj-stat-content small {
  display: block;
  margin-top: 0.45rem;
  color: var(--cj-muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Shared section heading */
.cj-section-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cj-section-heading h2 { margin-bottom: 0; max-width: 780px; }
.cj-section-heading--wide { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr); align-items: end; gap: 3rem; }
.cj-section-heading--wide > p { margin: 0; color: var(--cj-muted); font-size: 1.05rem; }
.cj-section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }

/* Offers */
.cj-offers-section { background: var(--cj-cream); }
.cj-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.cj-offer-card {
  position: relative;
  min-height: 310px;
  padding: 2rem 1.7rem 1.65rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--cj-border);
  border-radius: var(--cj-radius);
  box-shadow: var(--cj-shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cj-offer-card:hover { transform: translateY(-5px); border-color: rgba(199, 148, 62, 0.65); box-shadow: var(--cj-shadow); }
.cj-offer-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.35rem;
  color: var(--cj-gold);
  background: rgba(199, 148, 62, 0.08);
  border: 1px solid rgba(199, 148, 62, 0.3);
  border-radius: 9px;
}
.cj-offer-icon svg { width: 1.65rem; height: 1.65rem; }
.cj-offer-card h3 { margin-bottom: 0.65rem; font-size: 1.8rem; }
.cj-offer-card p { margin: 0; color: var(--cj-muted); font-size: 0.93rem; }
.cj-card-link {
  position: absolute;
  right: 1.6rem;
  bottom: 1.45rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--cj-gold);
  border: 1px solid rgba(199, 148, 62, 0.35);
  border-radius: 50%;
  text-decoration: none;
}
.cj-card-link:hover { color: var(--cj-white); background: var(--cj-gold); }

/* Deal section */
.cj-deal-section { position: relative; color: var(--cj-white); background: var(--cj-navy); }
.cj-deal-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(circle at 80% 20%, rgba(154, 184, 230, 0.16), transparent 28%);
}
.cj-deal-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.cj-deal-intro h2 { color: var(--cj-white); font-size: clamp(2.5rem, 4.8vw, 4.3rem); }
.cj-deal-intro > p:not(.cj-kicker) { max-width: 570px; color: #cadcf4; font-size: 1.05rem; }
.cj-deal-list { display: grid; gap: 0.9rem; }
.cj-deal-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.45rem 1.55rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(154, 184, 230, 0.15);
  border-left: 2px solid var(--cj-gold);
  border-radius: var(--cj-radius-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}
.cj-deal-item:hover { background: rgba(255, 255, 255, 0.085); transform: translateX(4px); }
.cj-deal-marker { width: 9px; height: 9px; margin-top: 0.55rem; background: var(--cj-gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(199, 148, 62, 0.12); }
.cj-deal-item h3 { margin: 0 0 0.35rem; color: var(--cj-white); font-family: var(--cj-sans); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.cj-deal-item h3 a { color: inherit; text-decoration: none; }
.cj-deal-item p { margin: 0; color: #c4d4ec; font-size: 0.89rem; }

/* Events */
.cj-events-section { background: var(--cj-white); }
.cj-event-list { display: grid; gap: 0.85rem; }
.cj-event-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--cj-border);
  border-radius: var(--cj-radius);
  background: var(--cj-white);
  box-shadow: 0 4px 15px rgba(8, 43, 85, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.cj-event-row:hover { transform: translateY(-2px); border-color: rgba(199, 148, 62, 0.6); box-shadow: var(--cj-shadow-sm); }
.cj-event-date {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.5rem;
  color: var(--cj-white);
  background: var(--cj-navy-light);
  border-radius: 7px;
  line-height: 1;
}
.cj-event-date span { color: var(--cj-light-blue); font-size: 0.67rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.cj-event-date strong { margin-top: 0.3rem; font-family: var(--cj-serif); font-size: 2rem; font-weight: 500; }
.cj-event-type { margin: 0 0 0.15rem; color: var(--cj-gold); font-size: 0.69rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.cj-event-details h3 { margin: 0 0 0.3rem; font-family: var(--cj-sans); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.cj-event-details h3 a { color: var(--cj-ink); text-decoration: none; }
.cj-event-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0; color: var(--cj-muted); font-size: 0.85rem; }
.cj-event-action { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--cj-navy-light); font-size: 0.7rem; font-weight: 750; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.cj-event-action svg { width: 1.1rem; height: 1.1rem; }

/* Empty states */
.cj-empty-state { padding: 2.5rem; text-align: center; background: var(--cj-cream); border: 1px dashed var(--cj-border); border-radius: var(--cj-radius); }
.cj-empty-state h3 { margin-bottom: 0.45rem; }
.cj-empty-state p { margin: 0 auto; max-width: 580px; color: var(--cj-muted); }
.cj-empty-state--dark { background: rgba(255, 255, 255, 0.045); border-color: rgba(154, 184, 230, 0.25); }
.cj-empty-state--dark h3 { color: var(--cj-white); }
.cj-empty-state--dark p { color: #c8d8ef; }

/* Membership */
.cj-membership-section { color: var(--cj-white); text-align: center; background: var(--cj-dark); }
.cj-membership-inner { max-width: 790px; }
.cj-membership-section h2 { color: var(--cj-white); }
.cj-membership-section > .cj-container > p:not(.cj-kicker),
.cj-membership-inner > p:not(.cj-kicker) { max-width: 620px; margin: 0 auto 2rem; color: #c9cbcd; font-size: 1.05rem; }
.cj-membership-form { max-width: 650px; margin: 2rem auto 0; text-align: left; }
.cj-membership-form label { color: var(--cj-white); }

/* Footer */
.cj-site-footer { color: var(--cj-light-blue); background: var(--cj-navy-light); }
.cj-footer-ribbon {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cj-footer-ribbon span:nth-child(2) { text-align: center; }
.cj-footer-ribbon span:last-child { text-align: right; }
.cj-footer-main { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: center; gap: 2rem; padding: 2.1rem 0; }
.cj-footer-brand .cj-logo-image,
.cj-footer-brand .custom-logo { width: auto; max-width: 255px; max-height: 44px; }
.cj-footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.cj-footer-menu a { color: #cfdef4; font-size: 0.76rem; text-decoration: none; }
.cj-footer-menu a:hover { color: var(--cj-white); }
.cj-social-links { display: flex; gap: 0.55rem; }
.cj-social-links a { display: grid; place-items: center; width: 38px; height: 38px; color: var(--cj-white); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; }
.cj-social-links a:hover { color: var(--cj-ink); background: var(--cj-gold); border-color: var(--cj-gold); }
.cj-social-links svg { width: 1.15rem; height: 1.15rem; }
.cj-footer-legal { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.3rem; color: #9ebce3; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.72rem; }

/* Generic pages and posts */
.cj-page-hero { padding: clamp(4rem, 8vw, 7rem) 0; color: var(--cj-white); background: var(--cj-navy); }
.cj-page-hero .cj-kicker { color: var(--cj-gold-light); }
.cj-page-hero h1 { max-width: 900px; margin-bottom: 0; color: var(--cj-white); font-size: clamp(3.2rem, 7vw, 5.6rem); }
.cj-page-hero p { max-width: 720px; margin: 1.2rem 0 0; color: #cbdcf4; font-size: 1.1rem; }
.cj-content-area { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.cj-content-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.cj-entry { width: min(100%, 860px); margin-inline: auto; }
.cj-entry--wide { width: 100%; }
.cj-entry-content { font-size: 1.04rem; }
.cj-entry-content > *:first-child { margin-top: 0; }
.cj-entry-content h2 { margin-top: 1.7em; }
.cj-entry-content h3 { margin-top: 1.5em; }
.cj-entry-content img { border-radius: var(--cj-radius); }
.cj-entry-content blockquote { margin: 2rem 0; padding: 1rem 0 1rem 1.5rem; border-left: 3px solid var(--cj-gold); color: var(--cj-navy); font-family: var(--cj-serif); font-size: 1.45rem; }
.cj-entry-content table { width: 100%; border-collapse: collapse; }
.cj-entry-content th,
.cj-entry-content td { padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--cj-border); }
.cj-entry-meta { display: flex; flex-wrap: wrap; gap: 0.65rem 1.3rem; margin: 0 0 2rem; color: var(--cj-muted); font-size: 0.83rem; }
.cj-featured-image { margin-bottom: 2.5rem; overflow: hidden; border-radius: var(--cj-radius-lg); box-shadow: var(--cj-shadow); }

/* Cards and archives */
.cj-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cj-content-card { display: flex; flex-direction: column; min-height: 280px; padding: 1.7rem; background: var(--cj-white); border: 1px solid var(--cj-border); border-radius: var(--cj-radius); box-shadow: var(--cj-shadow-sm); }
.cj-content-card .cj-card-eyebrow { margin: 0 0 0.8rem; color: var(--cj-gold); font-size: 0.69rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.cj-content-card h2,
.cj-content-card h3 { margin-bottom: 0.65rem; font-size: 1.75rem; }
.cj-content-card h2 a,
.cj-content-card h3 a { color: var(--cj-navy); text-decoration: none; }
.cj-content-card p { color: var(--cj-muted); }
.cj-content-card .cj-text-link { margin-top: auto; align-self: flex-start; }
.cj-pagination { margin-top: 3rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.page-numbers { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0.35rem; color: var(--cj-navy); background: var(--cj-white); border: 1px solid var(--cj-border); border-radius: var(--cj-radius-sm); text-decoration: none; }
.page-numbers.current,
.page-numbers:hover { color: var(--cj-white); background: var(--cj-navy); border-color: var(--cj-navy); }

/* Event archive and single */
.cj-event-archive-list { display: grid; gap: 1rem; }
.cj-event-single-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: -3rem auto 3rem; position: relative; z-index: 2; }
.cj-event-meta-card { padding: 1.2rem; background: var(--cj-white); border: 1px solid var(--cj-border); border-radius: var(--cj-radius); box-shadow: var(--cj-shadow-sm); }
.cj-event-meta-card span { display: block; margin-bottom: 0.3rem; color: var(--cj-muted); font-size: 0.67rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.cj-event-meta-card strong { color: var(--cj-navy); font-family: var(--cj-serif); font-size: 1.3rem; font-weight: 500; }
.cj-event-register { margin-top: 2rem; padding: 1.5rem; background: var(--cj-cream-dark); border-radius: var(--cj-radius); }

/* Forms */
label { display: inline-block; margin-bottom: 0.35rem; color: var(--cj-navy); font-size: 0.84rem; font-weight: 700; }
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  color: var(--cj-ink);
  background: var(--cj-white);
  border: 1px solid var(--cj-border);
  border-radius: var(--cj-radius-sm);
}
textarea { min-height: 150px; resize: vertical; }
input:focus,
select:focus,
textarea:focus { border-color: var(--cj-gold); outline: 3px solid rgba(199, 148, 62, 0.18); }
.search-form { display: flex; gap: 0.6rem; }
.search-form label { flex: 1; margin: 0; }
.search-submit { flex: 0 0 auto; }

/* WordPress blocks */
.alignwide { width: min(100vw - 48px, var(--cj-container)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--cj-navy); background: transparent; }
.wp-block-separator { border-color: var(--cj-border); }
.wp-caption-text,
figcaption { color: var(--cj-muted); font-size: 0.78rem; }

/* 404 */
.cj-error-page { min-height: 58vh; display: grid; place-items: center; text-align: center; }
.cj-error-page h1 { font-size: clamp(4rem, 13vw, 9rem); color: var(--cj-gold); }
.cj-error-page h2 { font-size: clamp(2rem, 4vw, 3rem); }

@media (max-width: 1120px) {
  .cj-navigation-panel { gap: 1rem; }
  .cj-menu { gap: 1rem; }
  .cj-menu a { font-size: 0.68rem; }
  .cj-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cj-offer-card { min-height: 280px; }
  .cj-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cj-stat-item:nth-child(3) { border-right: 0; }
  .cj-stat-item:nth-child(n+4) { border-top: 1px solid var(--cj-border); }
  .cj-stat-item:nth-child(4) { grid-column: 1 / 2; }
  .cj-stat-item:nth-child(5) { grid-column: 2 / 4; border-right: 0; }
  .cj-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .admin-bar .cj-site-header { top: 46px; }
  .cj-site-header {
    /* backdrop-filter can make fixed descendants use the header as their containing block on mobile */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .cj-header-inner { min-height: 70px; }
  .cj-header-inner { flex-wrap: wrap; }
  .cj-navigation-panel { width: 100%; padding-bottom: 1rem; }
  .cj-menu { flex-wrap: wrap; }
  .cj-js .cj-menu-toggle { display: inline-flex; }
  .cj-js .cj-navigation-panel {
    position: fixed;
    z-index: 999;
    top: 70px;
    right: 0;
    bottom: auto;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    min-height: 0;
    padding: 1.5rem 24px calc(3rem + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: var(--cj-navy-deep);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }
  .cj-js .admin-bar .cj-navigation-panel {
    top: 116px;
    height: calc(100vh - 116px);
    height: calc(100dvh - 116px);
    max-height: calc(100vh - 116px);
    max-height: calc(100dvh - 116px);
  }
  .cj-js .cj-menu-open .cj-navigation-panel {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .cj-js .cj-primary-nav { display: block; }
  .cj-js .cj-menu { display: block; }
  .cj-js .cj-menu > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .cj-js .cj-menu a { display: flex; padding: 1rem 0; font-size: 0.84rem; }
  .cj-js .cj-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 0.7rem 1rem; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; }
  .cj-js .cj-menu .sub-menu a { color: #cbdcf4; padding: 0.6rem 0; }
  .cj-js .cj-header-cta { align-self: flex-start; }
  .cj-deal-layout { grid-template-columns: 1fr; }
  .cj-section-heading--wide { grid-template-columns: 1fr; gap: 1.4rem; }
  .cj-event-single-meta { grid-template-columns: repeat(2, 1fr); }
  .cj-footer-main { grid-template-columns: 1fr; text-align: center; }
  .cj-footer-brand a { display: inline-flex; }
  .cj-social-links { justify-content: center; }
}

@media (max-width: 700px) {
  .cj-container { width: min(calc(100% - 28px), var(--cj-container)); }
  .cj-hero { min-height: 620px; background-image: linear-gradient(90deg, rgba(8, 43, 85, 0.94), rgba(8, 43, 85, 0.76)), var(--cj-hero-image); }
  .cj-hero-content { padding: 5.2rem 0; }
  .cj-hero-title { font-size: clamp(3.3rem, 15vw, 4.8rem); }
  .cj-eyebrow { font-size: 0.65rem; }
  .cj-stat-strip { padding-bottom: 0; }
  .cj-stat-grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .cj-stat-item,
  .cj-stat-item:nth-child(3),
  .cj-stat-item:nth-child(4),
  .cj-stat-item:nth-child(5) {
    grid-column: auto;
    min-height: 124px;
    border-top: 1px solid var(--cj-border);
    border-right: 1px solid var(--cj-border);
  }
  .cj-stat-item:nth-child(1),
  .cj-stat-item:nth-child(2) { border-top: 0; }
  .cj-stat-item:nth-child(even) { border-right: 0; }
  .cj-stat-item:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
  .cj-offer-grid,
  .cj-card-grid { grid-template-columns: 1fr; }
  .cj-section-heading--row { align-items: flex-start; flex-direction: column; }
  .cj-event-row { grid-template-columns: 66px minmax(0, 1fr); gap: 1rem; }
  .cj-event-action { grid-column: 2; }
  .cj-event-date { min-height: 66px; }
  .cj-event-date strong { font-size: 1.7rem; }
  .cj-footer-ribbon { grid-template-columns: 1fr; text-align: center; }
  .cj-footer-ribbon span:last-child { text-align: center; }
  .cj-footer-legal { flex-direction: column; align-items: center; text-align: center; }
  .cj-event-single-meta { grid-template-columns: 1fr; margin-top: -2rem; }
  .alignwide { width: calc(100vw - 28px); }
}


@media (max-width: 460px) {
  .cj-stat-grid { grid-template-columns: 1fr; }
  .cj-stat-item,
  .cj-stat-item:nth-child(2),
  .cj-stat-item:nth-child(3),
  .cj-stat-item:nth-child(4),
  .cj-stat-item:nth-child(5) {
    grid-column: auto;
    min-height: 112px;
    border-right: 0;
    border-top: 1px solid var(--cj-border);
  }
  .cj-stat-item:first-child { border-top: 0; }
}


@media (max-width: 560px) {
  .cj-stat-item {
    justify-content: flex-start;
    padding: 1.35rem 1.25rem;
  }
  .cj-stat-content strong { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .cj-logo-image,
  .cj-brand .custom-logo { max-width: 205px; max-height: 39px; }
  .cj-menu-toggle-label { display: none; }
  .cj-actions { align-items: flex-start; flex-direction: column; }
  .cj-event-row { padding: 1rem; }
  .search-form { flex-direction: column; }
}

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

@media print {
  .cj-site-header,
  .cj-site-footer,
  .cj-membership-section,
  .cj-button,
  .cj-text-link { display: none !important; }
  body { color: #000; background: #fff; }
  .cj-content-area { padding: 0; }
}
