/*
Theme Name: KofC Council 14679
Theme URI: https://council14679.org
Description: Official website theme for Knights of Columbus Council 14679, St. Patrick Cathedral, Fort Worth TX.
Version: 1.0.1
Author: Council 14679
License: Private
Text Domain: kofc-14679
*/

:root {
  --navy:       #112866;
  --navy-mid:   #1a3d8f;
  --gold:       #F7B718;
  --gold-light: #FAD86C;
  --gold-pale:  #FFF8E0;
  --red:        #CB0E0E;
  --cream:      #FAF9F5;
  --white:      #FFFFFF;
  --border:     rgba(0,35,91,0.12);
  --shadow:     0 2px 18px rgba(0,35,91,0.08);
  --text:       #18181A;
  --muted:      #5A5854;
  --parish-green: #1f8034;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--text); background: var(--cream); line-height: 1.6; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 1rem;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; cursor: pointer; border: none; background: none;
}
.nav-logo { height: 60px; width: auto; }
.nav-emblem { width: 48px; height: 48px; flex-shrink: 0; }
.nav-title { display: flex; align-items: center; gap: 10px; }
.nav-title .t1 {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 15px;
  color: white; line-height: 1.2;
}
.nav-title .t2 {
  font-size: 11px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-title-left { display: flex; flex-direction: column; align-items: center; }
.nav-title-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.25); }
.nav-title-city { font-size: 11px; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.nav-links { display: flex; list-style: none; }
.nav-links li a {
  display: block; padding: 0 18px; height: 80px; line-height: 80px;
  font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); background: none; border: none; border-bottom: 3px solid transparent;
  margin-bottom: -3px; cursor: pointer; transition: color .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.nav-links li a:hover { color: var(--gold); background: rgba(247,183,24,0.1); }
.nav-links li.current-menu-item > a, .nav-links li.current_page_item > a { color: var(--gold); border-bottom-color: var(--gold); }
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; z-index: 101;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 83px; left: 0; right: 0;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3); z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    height: 52px; line-height: 52px;
    width: 100%; text-align: left; padding: 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-left: 3px solid transparent;
  }
  .nav-links li.current-menu-item > a, .nav-links li.current_page_item > a {
    border-bottom-color: rgba(255,255,255,0.07);
    border-left-color: var(--gold);
  }
}

/* ── PAGES ── */
.site-main { animation: fadeUp .35s ease both; }
@keyframes fadeUp  { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, #001843 0%, var(--navy) 60%, #012A72 100%);
  color: white; padding: 96px 2rem 88px;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 24px;
  padding: 6px 18px; border: 1px solid rgba(201,168,76,0.35); border-radius: 2px;
}
.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(34px, 6vw, 66px); font-weight: 700; line-height: 1.08;
  margin-bottom: 20px; letter-spacing: 0.02em;
}
.hero-rule { width: 72px; height: 2px; background: var(--gold); margin: 24px auto; }
.hero-tagline {
  font-family: 'Crimson Pro', serif; font-style: italic;
  font-size: 21px; font-weight: 300;
  color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 48px;
}
.hero-stats {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { text-align: center; }
.hero-stat .sn {
  display: block; font-family: 'Cinzel', serif; font-size: 34px; font-weight: 700;
  color: var(--gold-light); line-height: 1;
}
.hero-stat .sl {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 6px;
}

/* ── SECTION HEADINGS ── */
.sec-head {
  font-family: 'Cinzel', serif; font-size: 21px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
  display: flex; align-items: center; gap: 14px;
}
.sec-head::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sec-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }

/* ── HOME LAYOUT ── */
.home-wrap { max-width: 1200px; margin: 0 auto; padding: 56px 2rem; display: grid; grid-template-columns: 1fr 360px; gap: 48px; }

/* ── CALENDAR ── */
.cal-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 28px; }
.cal-hd {
  background: var(--navy); color: white; padding: 15px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.cal-hd h3 { font-family: 'Cinzel', serif; font-size: 17px; font-weight: 600; letter-spacing: 0.04em; }
.cal-arrow {
  background: none; border: none; color: var(--gold-light); cursor: pointer;
  font-size: 26px; padding: 0 6px; line-height: 1; transition: color .15s;
}
.cal-arrow:hover { color: white; }
.cal-body { padding: 14px; }
.dow-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.dow-row span { text-align: center; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 5px 0; }
.day-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-d {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 13px; border-radius: 6px; position: relative; cursor: default; transition: background .15s;
}
.cal-d.is-today { background: var(--navy); color: white; font-weight: 700; }
.cal-d.has-ev { background: var(--gold-pale); color: var(--navy); font-weight: 600; cursor: pointer; }
.cal-d.has-ev:hover { background: #F0D482; }
.cal-d.has-ev::after { content: ''; position: absolute; bottom: 3px; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

/* ── EVENTS LIST ── */
.ev-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.ev-item {
  background: var(--white); border-radius: 10px; padding: 15px 20px;
  display: flex; gap: 15px; align-items: flex-start;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.ev-item:hover { transform: translateY(-2px); box-shadow: 0 7px 26px rgba(0,35,91,0.12); }
.ev-dt { flex-shrink: 0; width: 52px; text-align: center; background: var(--navy); border-radius: 8px; padding: 8px 5px; }
.ev-dt .em { display: block; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.ev-dt .ed { display: block; font-family: 'Cinzel', serif; font-size: 24px; font-weight: 700; color: white; line-height: 1; }
.ev-info h4 { font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.ev-info p { font-size: 13px; color: var(--muted); }
.ev-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 3px; margin-top: 6px;
}
.t-meeting  { background: rgba(0,61,165,.1);   color: #00267A; }
.t-charity  { background: rgba(201,168,76,.18); color: #6B5000; }
.t-social   { background: rgba(0,160,70,.1);   color: #1A5A28; }
.t-religious{ background: rgba(160,0,0,.08);   color: #6B1A1A; }
.t-council  { background: rgba(17,40,102,.12);  color: #112866; }
.t-ceremony { background: rgba(128,0,128,.1);  color: #5A006B; }
.t-community{ background: rgba(0,140,140,.1);  color: #005A5A; }

/* ── NEWS ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; margin-bottom: 48px; }
.news-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,35,91,0.13); }
.news-img {
  height: 155px; display: flex; align-items: center; justify-content: center;
  font-size: 52px; background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: rgba(255,255,255,0.15);
}
.news-body { padding: 18px 20px; }
.news-cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.news-body h4 { font-family: 'Cinzel', serif; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.news-body p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.news-meta { font-size: 12px; color: var(--muted); margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.news-meta-knight { color: var(--navy); font-weight: 600; }

/* ── NEWS MODAL ── */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0,20,60,0.65); backdrop-filter: blur(3px);
  overflow-y: auto;
  padding: 1.5rem;
}
.modal-backdrop.open { display: block; animation: fadeIn .2s ease; }

.modal-centering {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: var(--white); border-radius: 16px;
  max-width: 640px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,20,60,0.35);
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform:translateY(16px); opacity:0; } to { transform:translateY(0); opacity:1; } }
.modal-hero {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 64px; border-radius: 16px 16px 0 0; overflow: hidden;
}
.modal-body { padding: 28px 32px 36px; }
.modal-cat { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.modal-title { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.modal-meta { font-size: 12px; color: var(--muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.modal-content { font-family: 'Crimson Pro', serif; font-size: 18px; color: #3A3830; line-height: 1.75; }
.modal-content p { margin-bottom: 14px; }
.modal-content blockquote {
  border-left: 3px solid var(--gold); padding-left: 16px; margin: 20px 0;
  font-style: italic; color: var(--muted);
}
.modal-close {
  display: block; margin: 24px 32px 0 auto;
  background: var(--navy); color: white; border: none;
  padding: 10px 24px; border-radius: 6px; font-size: 13px; font-weight: 600;
  letter-spacing: .05em; cursor: pointer; transition: background .2s;
}
.modal-close:hover { background: var(--navy-mid); }
.news-card { cursor: pointer; }
.news-card:hover .news-body h4 { color: var(--navy-mid); }
/* add these to the existing news/modal CSS */
.news-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.modal-hero img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 16px 16px 0 0; display: block;
}


/* ── BIRTHDAYS ── */
.bday-section { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.bday-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bday-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--gold-pale); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px; padding: 7px 14px 7px 7px; font-size: 14px;
}
.bday-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bday-nm { font-weight: 600; color: var(--navy); font-size: 13px; }
.bday-dt { font-size: 12px; color: var(--muted); }

/* ── SIDEBAR ── */
.sidebar-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; }
.sidebar-card h3 { font-family: 'Cinzel', serif; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.mini-ev { display: flex; gap: 12px; margin-bottom: 14px; }
.mini-ev:last-child { margin-bottom: 0; }
.mini-dt { width: 40px; flex-shrink: 0; text-align: center; background: var(--gold-pale); border-radius: 6px; padding: 5px 4px; }
.mini-dt .mm { display: block; font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--gold); letter-spacing: .07em; }
.mini-dt .dd { display: block; font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1; }
.mini-ev-info h5 { font-size: 13px; font-weight: 600; color: var(--navy); }
.mini-ev-info p { font-size: 12px; color: var(--muted); }
.ql-link { font-size: 13px; color: var(--navy-mid); text-decoration: none; display: block; padding: 4px 0; }
.ql-link:hover { color: var(--gold); }
.ql-link::before { content: '⬥ '; }

/* ── PAGE HEADER ── */
.page-hd {
  background: linear-gradient(150deg, #001843 0%, var(--navy) 100%);
  color: white; padding: 76px 2rem 56px; text-align: center; position: relative;
}
.page-hd h1 { font-family: 'Cinzel', serif; font-size: clamp(28px, 5vw, 48px); font-weight: 700; margin-bottom: 14px; }
.page-hd p { font-family: 'Crimson Pro', serif; font-style: italic; font-size: 18px; color: rgba(255,255,255,0.7); }
.page-hd::after { content: ''; display: block; width: 56px; height: 3px; background: var(--gold); margin: 22px auto 0; }

/* ── ABOUT ── */
.about-wrap { max-width: 880px; margin: 0 auto; padding: 56px 2rem; }
.mission-block {
  background: var(--navy); color: white; border-radius: 16px; padding: 48px 52px;
  margin-bottom: 48px; text-align: center; position: relative; overflow: hidden;
}
.mission-block::before {
  content: '\201C'; position: absolute; top: -30px; left: 20px;
  font-family: 'Crimson Pro', serif; font-size: 180px; color: rgba(201,168,76,0.12); line-height: 1;
}
.mission-block .mis-label {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 24px; display: block;
}
.mission-block blockquote {
  font-family: 'Crimson Pro', serif; font-size: 21px; font-weight: 400; line-height: 1.65;
  color: rgba(255,255,255,0.9); position: relative;
}
.mission-block::after {
  content: '\201D';
  position: absolute;
  bottom: -102px;
  right: 20px;
  font-family: 'Crimson Pro', serif;
  font-size: 180px;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
}
.sec-divider { display: flex; align-items: center; gap: 16px; margin: 40px 0; }
.sec-divider::before, .sec-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sec-divider span { font-family: 'Cinzel', serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.pillar { background: var(--white); border-radius: 12px; padding: 24px 16px; text-align: center; box-shadow: var(--shadow); border-bottom: 3px solid var(--gold); }
.pillar-ico { font-size: 30px; margin-bottom: 10px; }
.pillar h4 { font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; }
.pillar p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.about-body { background: var(--white); border-radius: 14px; padding: 36px 40px; box-shadow: var(--shadow); margin-bottom: 36px; }
.about-body h3 { font-family: 'Cinzel', serif; font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.about-body p { font-family: 'Crimson Pro', serif; font-size: 18px; color: #3A3830; line-height: 1.72; margin-bottom: 14px; }
.join-cta { background: var(--gold-pale); border-radius: 16px; padding: 40px; text-align: center; border: 1px solid rgba(201,168,76,0.3); }
.join-cta h2 { font-family: 'Cinzel', serif; font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.join-cta p { font-size: 16px; color: var(--muted); max-width: 500px; margin: 0 auto 28px; }
.btn-primary {
  display: inline-block; background: var(--navy); color: white;
  padding: 13px 30px; border-radius: 6px; font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s; margin: 5px;
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline {
  display: inline-block; background: white; color: var(--navy);
  padding: 13px 30px; border-radius: 6px; font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-decoration: none; border: 2px solid var(--navy);
  cursor: pointer; transition: all .2s; margin: 5px;
}
.btn-outline:hover { background: var(--navy); color: white; }

/* ── CHARTER KNIGHTS ── */
.charter-section {
  position: relative;
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  padding: 48px 40px 56px;
  margin-bottom: 36px;
}
.charter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--charter-bg, none);
  background-size: cover;
  background-position: center top;
  opacity: 0.15;
  pointer-events: none;
}
.charter-header {
  position: relative;
  text-align: center;
  margin-bottom: 32px;
}
.charter-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.charter-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.charter-clergy {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(247,183,24,0.3);
}
.charter-name--clergy {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
}
.charter-grid {
  position: relative;
  column-count: 4;
  column-gap: 20px;
}
.charter-name {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  .charter-section { padding: 32px 24px 40px; }
  .charter-grid { column-count: 2; }
}

/* ── OFFICERS ── */
.officers-wrap { max-width: 1200px; margin: 0 auto; padding: 56px 2rem; }
.officers-yr { text-align: center; margin-bottom: 44px; }
.officers-yr .yr-lbl { font-family: 'Cinzel', serif; font-size: 16px; color: var(--muted); display: block; margin-bottom: 4px; }
.officers-yr .yr-val { font-family: 'Cinzel', serif; font-size: 30px; font-weight: 700; color: var(--navy); display: block; }
.officers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.off-card {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; text-align: center; transition: transform .2s, box-shadow .2s;
}
.off-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,35,91,0.14); }
.off-card.gk { border-top: 4px solid var(--gold); }
.off-photo {
  height: 172px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #EAF0FA, #C8D8EE);
  font-family: 'Cinzel', serif; font-size: 48px; font-weight: 700; color: rgba(0,35,91,0.25);
}
/* For when a real photo is used: .off-photo img { width:100%; height:100%; object-fit:cover; } */
.off-info { padding: 16px 14px 20px; }
.off-title { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; line-height: 1.4; }
.off-name { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
#officers-grid .off-info { display: flex; align-items: center; border-top: 1px solid var(--border); padding: 0; }
#officers-grid .off-emblem-col {
 flex-shrink: 0; display: flex; align-items: center; justify-content: center;
 padding: 12px 10px; border-right: 1px solid var(--border);
}
#officers-grid .off-emblem-col img { width: 80px; height: 80px; object-fit: contain; display: block; }
#officers-grid .off-text-col { flex: 1; min-width: 0; padding: 12px; text-align: center; }

/* ── MEMBERS ── */
.members-wrap { max-width: 1200px; margin: 0 auto; padding: 56px 2rem; }
.members-bar {
  background: var(--white); border-radius: 12px; padding: 24px 28px;
  box-shadow: var(--shadow); margin-bottom: 28px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.srch-in {
  flex: 1; min-width: 200px; padding: 11px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--text);
  outline: none; transition: border-color .2s;
}
.srch-in:focus { border-color: var(--navy); }
.srch-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.alpha-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; }
.al-btn {
  padding: 5px 10px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--white); color: var(--navy); cursor: pointer; transition: all .15s;
}
.al-btn:hover:not(:disabled), .al-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.al-btn:disabled { opacity: .3; cursor: default; }
.charter-filter-row { margin-bottom: 12px; }
.charter-btn {
  padding: 6px 16px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--parish-green); border-radius: 6px;
  background: var(--white); color: var(--parish-green); cursor: pointer; transition: all .15s;
}
.charter-btn:hover, .charter-btn.active {
  background: var(--parish-green); color: white;
}
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.mem-card {
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  padding: 20px 16px; display: flex; flex-direction: column; align-items: center;
  text-align: center; transition: transform .2s, box-shadow .2s;
  position: relative; overflow: visible;
}
.mem-card.has-medals {
  padding-right: 44px;
}
.mem-card:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.25); }
.mem-card.charter { border-top: 4px solid var(--parish-green); }
.mem-name { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 600; color: navy; margin-bottom: 4px; }
.mem-deg { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 3px; }
.mem-since { font-size: 12px; color: var(--muted); }
.mem-rank { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: navy; margin-bottom: 4px; position: relative; z-index: 1; }
.medal-rack { position: absolute; top: 12px; right: 8px; bottom: 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; z-index: 2; overflow: hidden; }
.medal-rack img { height: 35px; width: auto; display: block; }
.legend-card {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: var(--white); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  width: 220px; overflow: hidden; display: none;
}
.legend-header {
  background: var(--navy); padding: 10px 16px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; user-select: none;
}
.legend-title {
  font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700;
  color: var(--gold); letter-spacing: .08em;
}
.legend-chevron {
  font-size: 11px; color: var(--gold); transition: transform .3s;
}
.legend-card.collapsed .legend-chevron { transform: rotate(180deg); }
.legend-body {
  padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
  max-height: 70vh; overflow-y: auto;
}
.legend-card.collapsed .legend-body { display: none; }
.legend-section-title {
  font-size: 9px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 4px;
}
.legend-emblems {
  display: flex; gap: 12px; justify-content: center;
}
.legend-emblem-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.legend-emblem-item img { height: 48px; width: auto; }
.legend-label {
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; text-align: center;
}
.legend-degrees {
  display: flex; flex-direction: column; gap: 3px;
}
.legend-deg {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.legend-deg.d4 { color: var(--gold); }
.legend-deg.d3 { color: var(--navy); }
.legend-deg.d2 { color: var(--red); }
.legend-deg.d1 { color: var(--text); }
.legend-medals {
  display: flex; flex-direction: column; gap: 5px;
}
.legend-medal-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text);
}
.legend-medal-item img { height: 28px; width: auto; flex-shrink: 0; }
.legend-designations {
  display: flex; flex-direction: column; gap: 5px;
}
.legend-charter-sample {
  font-size: 11px; font-weight: 700; color: var(--parish-green);
  border-left: 4px solid var(--parish-green); padding-left: 8px;
}
.legend-rank-sample {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy);
}
@media (max-width: 620px) {
  .legend-card { bottom: 16px; right: 16px; width: 190px; }
}

/* ── MEMORIAL ── */
.memorial-wrap { max-width: 880px; margin: 0 auto; padding: 56px 2rem; }
.mem-intro { text-align: center; margin-bottom: 52px; }
.mem-cross { font-size: 36px; color: var(--gold); display: block; margin-bottom: 16px; }
.mem-intro blockquote { font-family: 'Crimson Pro', serif; font-style: italic; font-size: 20px; color: var(--muted); max-width: 580px; margin: 0 auto; }
.mem-list { display: flex; flex-direction: column; gap: 28px; }
.mem-card-m {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; display: grid; grid-template-columns: 190px 1fr;
}
.mem-photo {
  background: linear-gradient(160deg, #E8EEF8, #C8D4E8);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 44px; font-weight: 700;
  color: rgba(0,35,91,0.2); min-height: 200px;
}
.mem-photo.has-photo { font-size: 0; }

/* ── MEMORIAL EXCERPT CARDS ── */
.mem-cards-grid { display: flex; flex-direction: column; gap: 20px; }
.mem-excerpt-card {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; display: grid; grid-template-columns: 160px 1fr;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.mem-excerpt-card:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,35,91,0.14); }
.mem-excerpt-photo {
  background: linear-gradient(160deg, #E8EEF8, #C8D4E8);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 36px; font-weight: 700;
  color: rgba(0,35,91,0.2); min-height: 160px;
}
.mem-excerpt-photo.has-photo { font-size: 0; }
.mem-excerpt-body { padding: 22px 28px; display: flex; flex-direction: column; }
.mem-excerpt-name { font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.mem-excerpt-years { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .07em; margin-bottom: 12px; }
.mem-excerpt-years .mem-joined { color: var(--muted); font-weight: 400; margin-left: 8px; }
.mem-excerpt-text { font-family: 'Crimson Pro', serif; font-size: 16px; color: #3A3830; line-height: 1.65; flex: 1; margin-bottom: 14px; }
.mem-excerpt-btn { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-top: auto; }

/* ── MEMORIAL MODAL HERO ── */
.mem-modal-hero {
  min-height: 120px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to right, var(--navy), #eef1f8);
  font-size: 64px; color: var(--gold);
  border-radius: 16px 16px 0 0; overflow: hidden;
  padding: 28px 0;
}
.mem-modal-hero img {
  width: 220px; max-height: 360px; height: auto;
  object-fit: cover; border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
  display: block;
}
.mem-photo.has-photo { font-size: 0; }
.mem-body { padding: 28px 32px; }
.mem-mname { font-family: 'Cinzel', serif; font-size: 23px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.mem-years { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .07em; margin-bottom: 13px; }
.mem-years .mem-joined { color: var(--muted); font-weight: 400; margin-left: 10px; }
.mem-bio { font-family: 'Crimson Pro', serif; font-size: 17px; color: #3A3830; line-height: 1.72; }
.mem-eternal {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted);
  text-transform: uppercase; display: block;
}

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,0.88); padding: 52px 2rem 28px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px;
}
footer h4 { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: white; letter-spacing: .06em; margin-bottom: 14px; }
footer p { font-size: 14px; line-height: 1.7; }
footer .fn-btn { background: none; border: none; color: rgba(255,255,255,0.82); cursor: pointer; font-size: 14px; font-family: inherit; padding: 4px 0; display: block; transition: color .2s; }
footer .fn-btn:hover { color: var(--gold-light); }
footer a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14px; display: block; padding: 4px 0; transition: color .2s; }
footer a:hover { color: var(--gold-light); }
.footer-btm { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.35); }
.vivat { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .home-wrap { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .mem-card-m { grid-template-columns: 1fr; }
  .mem-photo { min-height: 140px; }
  .mem-excerpt-card { grid-template-columns: 1fr; }
  .mem-excerpt-photo { min-height: 120px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .nav-title .t2 { display: none; }
  .nav-links li a { padding: 0 10px; font-size: 11px; }
  .hero-stats { gap: 28px; }
  .officers-grid { grid-template-columns: 1fr; }
  .mission-block { padding: 32px 24px; }
  .about-body { padding: 24px; }
}

/* ── CAROUSEL HERO ── */
.hero { position: relative; overflow: hidden; padding: 0; min-height: 540px; }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex; align-items: center; justify-content: center;
}
.carousel-slide.active { opacity: 1; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(17,40,102,0.88) 0%, rgba(17,40,102,0.72) 60%, rgba(17,40,102,0.82) 100%);
}
.hero-watermark {
  position: absolute; right: 32px; bottom: 24px;
  width: 140px; height: 140px; opacity: 0.07; pointer-events: none; z-index: 3;
}
.hero-watermark svg { width: 100%; height: 100%; }
.slide-label {
  position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%);
  background: rgba(247,183,24,0.18); border: 1px solid rgba(247,183,24,0.4);
  color: rgba(255,255,255,0.7); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 3px; white-space: nowrap;
}
.hero-inner { position: relative; z-index: 5; text-align: center;
  max-width: 820px; margin: 0 auto; padding: 96px 2rem 110px; }
/* dot indicators */
.carousel-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  padding: 0; transition: background .3s, transform .3s;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.25); }
/* prev/next arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; z-index: 10; font-size: 18px; line-height: 40px;
  text-align: center; transition: background .2s; padding: 0;
}
.carousel-arrow:hover { background: rgba(247,183,24,0.3); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }
@media (max-width: 620px) {
  .carousel-arrow { display: none; }
  .hero-inner { padding: 72px 1.5rem 90px; }
}


.officers-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 48px 0 32px;
}
.officers-divider::before, .officers-divider::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.officers-divider span {
  font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}
.off-card.vacant .off-name {
  color: var(--muted); font-style: italic;
  font-family: 'Crimson Pro', serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0; text-transform: none;
}

/* ── PAST OFFICERS ACCORDION ── */
.past-officers-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem 64px;
}
.past-officers-title {
  font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 8px;
}
.past-officers-sub {
  font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 32px;
}
.past-acc-item {
  background: var(--white); border-radius: 12px;
  box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden;
}
.past-acc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
  transition: background .2s;
}
.past-acc-header:hover { background: var(--gold-pale); }
.past-acc-header.open { background: var(--gold-pale); border-bottom: 2px solid var(--gold); }
.past-acc-yr {
  font-family: 'Cinzel', serif; font-size: 17px; font-weight: 700; color: var(--navy);
}
.past-acc-gk {
  font-size: 13px; color: var(--muted); margin-left: 14px;
}
.past-acc-chevron {
  font-size: 18px; color: var(--gold); transition: transform .3s; flex-shrink: 0;
}
.past-acc-header.open .past-acc-chevron { transform: rotate(180deg); }
.past-acc-body {
  display: none; padding: 24px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.past-acc-body.open { display: grid; }
.past-off-row {
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 14px; border-left: 3px solid var(--gold);
  background: var(--cream); border-radius: 6px;
}
.past-off-title {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
}
.past-off-name {
  font-family: 'Cinzel', serif; font-size: 13px; font-weight: 600; color: var(--navy);
}
@media (max-width: 600px) {
  .past-acc-body.open { grid-template-columns: 1fr; }
  .past-acc-gk { display: none; }
}


.mem-card {
  position: relative; overflow: visible;
}
.mem-card-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  width: 100%;
}
.mem-watermark {
  position: relative; display: block; top: auto; right: auto;
  height: 72px; width: auto; opacity: 1; margin: 0 auto 10px; pointer-events: none; z-index: 0;
}
.mem-degree {
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 3px;
}
.mem-degree.d4 { color: var(--gold); }
.mem-degree.d3 { color: var(--navy); }
.mem-degree.d2 { color: var(--red); }
.mem-degree.d1 { color: var(--text); }
.mem-office { font-size: 12px; color: var(--muted); margin-top: 2px; }
/* ── EVENTS PAGE ── */
.events-wrap { max-width: 1100px; margin: 0 auto; padding: 56px 2rem; }

/* Featured event cards */
.featured-events-grid { display: flex; flex-direction: column; gap: 36px; margin-bottom: 24px; }
.feat-ev-card {
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  overflow: hidden; display: grid; grid-template-columns: 260px 1fr;
  transition: transform .2s, box-shadow .2s;
}
.feat-ev-card:hover { transform: translateY(-3px); box-shadow: 0 14px 42px rgba(0,35,91,0.14); }
.feat-ev-card.no-image { grid-template-columns: 1fr; }
.feat-ev-img {
  min-height: 320px; background-size: contain; background-position: center;
  background-repeat: no-repeat; background-color: var(--bg);
  position: relative;
}
.feat-ev-img-placeholder {
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  font-size: 72px; position: relative;
}
.feat-ev-status {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 3px;
}
.feat-ev-status.on-sale   { background: #1A6B2E; color: white; }
.feat-ev-status.coming-soon { background: var(--navy); color: var(--gold-light); }
.feat-ev-status.sold-out  { background: var(--red); color: white; }
.feat-ev-status.past      { background: rgba(0,0,0,0.45); color: rgba(255,255,255,0.7); }
.feat-ev-body { padding: 32px 36px; display: flex; flex-direction: column; }
.feat-ev-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.feat-ev-title {
  font-family: 'Cinzel', serif; font-size: 26px; font-weight: 700;
  color: var(--navy); margin-bottom: 14px; line-height: 1.2;
}
.feat-ev-meta {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.feat-ev-meta-item { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.feat-ev-meta-item strong { color: var(--navy); }
.feat-ev-desc {
  font-family: 'Crimson Pro', serif; font-size: 18px; line-height: 1.72;
  color: #3A3830; flex: 1; margin-bottom: 20px;
}
.feat-ev-desc p { margin-bottom: 10px; }
.feat-ev-updates { margin-bottom: 20px; }
.feat-ev-updates-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.feat-ev-update-item {
  font-size: 13px; color: var(--text); padding: 8px 12px;
  background: var(--gold-pale); border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0; margin-bottom: 6px; line-height: 1.5;
}
.feat-ev-update-item .upd-date { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.feat-ev-ticket {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 18px; background: var(--navy); border-radius: 10px;
  margin-top: auto;
}
.feat-ev-ticket.no-ticket { display: none; }
.feat-ev-qr {
  flex-shrink: 0; width: 88px; height: 88px; background: white;
  border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.feat-ev-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.feat-ev-qr-placeholder {
  width: 88px; height: 88px; background: white; border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; font-size: 9px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--navy); text-align: center;
  padding: 6px;
}
.feat-ev-ticket-info { flex: 1; }
.feat-ev-ticket-price {
  font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700;
  color: var(--gold-light); margin-bottom: 5px;
}
.feat-ev-ticket-note { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 12px; line-height: 1.5; }
.feat-ev-ticket-btn {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 9px 20px; border-radius: 5px; font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-decoration: none; cursor: pointer; border: none;
  transition: background .2s, transform .15s;
}
.feat-ev-ticket-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.feat-ev-ticket-btn:disabled,
.feat-ev-ticket-btn.sold-out { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.5); cursor: not-allowed; transform: none; }

/* Recurring event cards */
.recurring-events-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px;
}
.recur-card {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.recur-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,35,91,0.12); }
.recur-card-img {
  height: 140px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; font-size: 52px;
}
.recur-card-body { padding: 20px; }
.recur-card-title {
  font-family: 'Cinzel', serif; font-size: 16px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.recur-card-schedule {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.recur-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Home page event link indicator */
.ev-item.has-detail { cursor: pointer; }
.ev-item.has-detail:hover .ev-info h4 { color: var(--gold); }
.ev-item.has-detail::after {
  content: 'View Details →';
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--gold); display: block; margin-top: 6px;
}

/* Recurring cards clickable */
.recur-card { cursor: pointer; }
.recur-card:hover .recur-card-title { color: var(--navy-mid); }

@media (max-width: 860px) {
  .feat-ev-card { grid-template-columns: 1fr; }
  .feat-ev-img, .feat-ev-img-placeholder { min-height: 200px; }
  .feat-ev-body { padding: 24px; }
}
@media (max-width: 600px) {
  .feat-ev-ticket { flex-direction: column; align-items: stretch; }
  .feat-ev-qr, .feat-ev-qr-placeholder { width: 100%; height: 120px; border-radius: 8px; margin-bottom: 0; }
}


/* ════════════════════════════════════════════════════════
   MEMBER LOGIN — Card (sidebar + footer)
   ════════════════════════════════════════════════════════ */
.member-login-card #loginform { margin: 0; }
.member-login-card #loginform p { margin-bottom: 10px; }
.member-login-card #loginform label { display: none; }
.member-login-card #loginform input.input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text);
    background: white;
}
.member-login-card #loginform input.input:focus {
    outline: none;
    border-color: var(--navy-mid);
    box-shadow: 0 0 0 3px rgba(17,40,102,0.08);
}
.member-login-card #loginform .login-remember { font-size: 12px; color: var(--muted); }
.member-login-card #loginform .login-submit { margin-bottom: 0; }
.member-login-card #loginform #wp-submit,
.member-login-card #loginform [type="submit"] {
    width: 100%;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background .2s;
}
.member-login-card #loginform #wp-submit:hover,
.member-login-card #loginform [type="submit"]:hover { background: var(--navy-mid); }

/* Sidebar context — dark text on white card */
.member-login-card .mlc-text { color: var(--muted); }
.member-login-card .mlc-link { color: var(--navy-mid); }

/* Footer login card — own class, no sidebar-card inheritance conflicts */
.footer-login-card {
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.12);
}
.footer-login-card h3 {
    font-family: 'Cinzel', serif; font-size: 15px; font-weight: 600;
    color: rgba(255,255,255,0.9); margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-login-card .mlc-text { color: rgba(255,255,255,0.82); }
.footer-login-card .mlc-link { color: var(--gold-light); }
.footer-login-card #loginform input.input {
    background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.2);
}
.footer-login-card #loginform input.input::placeholder { color: rgba(255,255,255,0.45); }
.footer-login-card #loginform .login-remember { color: rgba(255,255,255,0.6); }
.footer-login-card #loginform #wp-submit,
.footer-login-card #loginform [type="submit"] { background: var(--gold); color: var(--navy); }
.footer-login-card #loginform #wp-submit:hover,
.footer-login-card #loginform [type="submit"]:hover { background: var(--gold-light); }

/* ════════════════════════════════════════════════════════
   MEMBER LOGIN — Dedicated Page
   ════════════════════════════════════════════════════════ */
.member-login-wrap { max-width: 480px; margin: 0 auto; padding: 40px 20px 80px; }
.member-login-card-full {
    background: white; border-radius: 14px; border: 1px solid var(--border);
    box-shadow: var(--shadow); padding: 48px 40px; text-align: center;
}
.member-login-tabs-wrap {
    background: white; border-radius: 14px; border: 1px solid var(--border);
    box-shadow: var(--shadow); overflow: hidden;
}
.member-login-tabs { display: flex; border-bottom: 1px solid var(--border); }
.member-tab {
    flex: 1; padding: 16px; background: none; border: none;
    font-family: 'Cinzel', serif; font-size: 13px; font-weight: 600;
    letter-spacing: 0.06em; color: var(--muted); cursor: pointer;
    border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.member-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.member-panel { padding: 32px; }
.member-notice { border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.member-notice.error   { background: rgba(203,14,14,.06); color: #7a0000; border: 1px solid rgba(203,14,14,.18); }
.member-notice.success { background: rgba(0,120,60,.07);  color: #0a4a1f; border: 1px solid rgba(0,120,60,.2); }
.member-panel #loginform p { margin-bottom: 12px; }
.member-panel #loginform label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.member-panel #loginform input.input,
.member-reg-form input {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: 7px; font-size: 14px; font-family: inherit;
    color: var(--text); background: white; transition: border-color .2s, box-shadow .2s;
}
.member-panel #loginform input.input:focus,
.member-reg-form input:focus {
    outline: none; border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(17,40,102,0.08);
}
.member-panel #loginform .login-submit { margin-bottom: 0; }
.member-panel #loginform #wp-submit,
.member-panel #loginform [type="submit"] {
    width: 100%; background: var(--navy); color: white; border: none;
    border-radius: 7px; padding: 12px; font-size: 14px; font-weight: 700;
    cursor: pointer; letter-spacing: 0.05em; transition: background .2s;
}
.member-panel #loginform #wp-submit:hover,
.member-panel #loginform [type="submit"]:hover { background: var(--navy-mid); }
.member-field { margin-bottom: 16px; }
.member-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.member-field small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Footer: 4-column grid with login card */
.footer-inner { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .footer-inner { grid-template-columns: 1fr; } }