/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ── VARIABLES ── */
:root {
  --cardinal:      #8B1A1A;
  --cardinal-deep: #5C0F0F;
  --gold:          #C9A84C;
  --gold-light:    #E8C96A;
  --gold-pale:     #FDF3D6;
  --surface:       #FFFFFF;
  --bg:            #F8F4EE;
  --text:          #1C1410;
  --text-secondary:#5A4A3A;
  --border:        rgba(139,26,26,0.12);
  --radius:        12px;
  --radius-lg:     20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── SITE HEADER & NAV ── */
.site-header {
  background: var(--cardinal-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.28);
  /* Anchor for mobile drawer absolute positioning */
  isolation: isolate;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  display: block;
}

.nav-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

/* Nav list */
.primary-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

/* Shared link / button base */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  font-family: inherit;
  line-height: 1;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
  background: rgba(255,255,255,0.08);
  outline: none;
}

.nav-link.active {
  color: var(--gold-light);
  font-weight: 600;
}

/* Payments CTA */
.nav-link--cta {
  background: var(--gold);
  color: var(--cardinal-deep) !important;
  font-weight: 600;
  padding: 0.45rem 1rem;
}

.nav-link--cta:hover,
.nav-link--cta:focus-visible {
  background: var(--gold-light);
  color: var(--cardinal-deep) !important;
}

.nav-link--cta.active {
  background: var(--gold-light);
  color: var(--cardinal-deep) !important;
}

/* Caret */
.nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.has-dropdown.dropdown-open > .nav-parent .nav-caret {
  transform: rotate(180deg);
}

/* Desktop dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 200;
}

/* Open via hover or keyboard focus (desktop) */
@media (min-width: 769px) {
  .has-dropdown:hover > .nav-dropdown,
  .has-dropdown:focus-within > .nav-dropdown {
    display: block;
  }

  /* Invisible bridge fills the gap between button and dropdown
     so moving the mouse downward doesn't break the hover */
  .nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }
}

.has-dropdown.dropdown-open > .nav-dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: var(--bg);
  color: var(--cardinal);
  outline: none;
}

.dropdown-link.active {
  color: var(--cardinal);
  font-weight: 600;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  border-radius: 6px;
  transition: background 0.15s;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255,255,255,0.1);
  outline: none;
}

.burger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

/* Animate hamburger → X */
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--cardinal-deep);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    margin-left: 0;
    z-index: 99;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 0 1rem;
  }

  .nav-link {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-size: 1rem;
    justify-content: space-between;
    width: 100%;
  }

  .nav-link--cta {
    margin: 0.75rem 1.5rem 0;
    width: calc(100% - 3rem);
    border-radius: 8px;
    justify-content: center;
  }

  /* Mobile dropdown — always in flow, hidden until open */
  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0,0,0,0.2);
    padding: 0;
    min-width: 0;
  }

  .has-dropdown.dropdown-open > .nav-dropdown {
    display: block;
  }

  .dropdown-link {
    padding: 0.65rem 1.5rem 0.65rem 2.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
  }

  .dropdown-link:hover,
  .dropdown-link:focus-visible {
    background: rgba(255,255,255,0.06);
    color: var(--gold-light);
  }
}

/* ── ANNOUNCEMENT BAR ── */
.topbar {
  background: var(--cardinal-deep);
  color: var(--gold-light);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ── NEW HOMEPAGE ── */

/* Hero */
.hero-new {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-new-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-new-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(92,15,15,0.80) 0%,
    rgba(92,15,15,0.60) 50%,
    rgba(92,15,15,0.82) 100%
  );
}

.hero-new-accent {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 72px;
  background: var(--bg);
  clip-path: ellipse(58% 100% at 50% 100%);
  z-index: 2;
}

.hero-new-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  width: 100%;
}

.hero-logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.15), 0 16px 48px rgba(0,0,0,0.5);
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(-16px) scale(0.96);
  animation: heroIn 0.85s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--gold);
  color: var(--cardinal-deep);
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
}

.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-outline-gold {
  border-color: rgba(201,168,76,0.6);
  color: var(--gold-light);
  background: transparent;
}

.btn-outline-gold:hover { border-color: var(--gold-light); background: rgba(201,168,76,0.1); }

.btn-secondary {
  background: var(--bg);
  color: var(--cardinal);
  border-color: var(--border);
}

.btn-secondary:hover { background: var(--surface); border-color: var(--cardinal); }

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Homepage main overrides */
.home-main {
  max-width: none;
  padding: 0;
  gap: 0;
  margin: 0;
}

/* Home sections */
.home-section {
  padding: 4rem 1.5rem;
}

.home-section-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.home-section-inner--narrow {
  max-width: 820px;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--text);
  line-height: 1.15;
  margin-top: 0.4rem;
}

.section-title--light { color: #fff; }

.section-header--light .card-label { color: var(--gold-light); }
.section-header--light .card-label::before { background: var(--gold-light); }

/* Quick access */
.quick-access-section {
  background: var(--bg);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quick-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}

.quick-card:hover,
.quick-card:focus-visible {
  box-shadow: 0 8px 32px rgba(0,0,0,0.11);
  transform: translateY(-3px);
  border-color: rgba(139,26,26,0.25);
  outline: none;
}

.quick-card--featured {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.quick-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cardinal);
}

.quick-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.2;
}

.quick-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.quick-card-arrow {
  font-size: 1.1rem;
  color: var(--cardinal);
  margin-top: 0.5rem;
  transition: transform 0.2s;
}

.quick-card:hover .quick-card-arrow { transform: translateX(4px); }

/* Events section */
.events-section {
  background: var(--cardinal-deep);
}

/* ── HOME WEEK CALENDAR WIDGET ── */
.home-cal-widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.home-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.home-cal-nav-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cardinal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.home-cal-nav-btn:hover,
.home-cal-nav-btn:focus-visible {
  background: var(--gold-pale);
  border-color: var(--gold);
  outline: none;
}

.home-cal-week-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.home-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1.25rem;
}

.home-cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.15rem;
  border-radius: 6px;
  gap: 0.2rem;
}

.home-cal-day-name {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.home-cal-day-num {
  font-size: 0.92rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 400;
  color: var(--text);
}

.home-cal-day--today .home-cal-day-num {
  background: var(--cardinal);
  color: #fff;
  font-weight: 700;
}

.home-cal-day--has-events {
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.45);
}

.home-cal-day--has-events .home-cal-day-num {
  color: var(--cardinal);
  font-weight: 700;
}

.home-cal-day--today.home-cal-day--has-events .home-cal-day-num {
  background: var(--cardinal);
  color: #fff;
}

.home-cal-events {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.home-cal-event {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.home-cal-event:last-child { border-bottom: none; }

.home-cal-event-time {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cardinal);
}

.home-cal-event-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.home-cal-loading,
.home-cal-empty {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.events-cal-footer {
  text-align: center;
  margin-top: 0.25rem;
}

.events-placeholder {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.events-placeholder-text {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 500px;
  line-height: 1.65;
  margin: 0;
}

/* Announcements section */
.announcements-section {
  background: var(--bg);
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.announcement-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}

.announcement-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cardinal);
  margin-bottom: 0.4rem;
}

.announcement-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.announcement-body {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}
.announcement-body p + p {
  margin-top: 0.75rem;
}
.announcement-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 6px;
}
.announcement-image--small  { width: 25%; }
.announcement-image--medium { width: 50%; }
.announcement-image--large  { width: 75%; }
.announcement-image--full   { width: 100%; }
.announcement-image--left   { margin-right: auto; }
.announcement-image--center { margin-left: auto; margin-right: auto; }
.announcement-image--right  { margin-left: auto; }

/* Payment Method Selector */
.payment-methods-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}
.payment-method-card {
  flex: 1;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.payment-method-card:hover {
  border-color: var(--cardinal);
}
.payment-method-card--active {
  border-color: var(--cardinal);
  background: rgba(139, 26, 26, 0.04);
}
.method-icon {
  width: 32px;
  height: 32px;
}
.method-icon--zelle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #6d1ed4;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.method-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: inherit;
}
.method-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.payment-detail {
  margin-top: 1rem;
}

/* PayPal Payment Form */
.paypal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 600px) {
  .paypal-fields { grid-template-columns: 1fr; }
}
.paypal-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.paypal-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.paypal-amount-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
}
.paypal-currency {
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  border-right: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 1rem;
}
.paypal-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  color: inherit;
  transition: border-color 0.2s;
}
.paypal-amount-wrap .paypal-input {
  border: none;
  border-radius: 0;
}
.paypal-input:focus,
.paypal-amount-wrap:focus-within {
  outline: none;
  border-color: var(--cardinal);
}
.paypal-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.paypal-error {
  color: #c0392b;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.9rem;
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: 6px;
}
.btn-paypal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #0070ba;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-paypal:hover { background: #005ea6; }
.btn-paypal:active { background: #004f8c; }

/* PayPal Success State */
@keyframes pp-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pp-check-pop {
  0%   { opacity: 0; transform: scale(0.4); }
  70%  { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
.paypal-success {
  text-align: center;
  padding: 1rem 0;
  animation: pp-fade-up 0.35s ease both;
}
.paypal-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: pp-check-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
}
.paypal-success-title {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}
.paypal-success-subtitle {
  color: var(--text-secondary);
  margin-bottom: 0;
}
.paypal-receipt {
  display: inline-block;
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem auto;
  text-align: left;
}
.paypal-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
  font-size: 0.95rem;
}
.paypal-receipt-row + .paypal-receipt-row {
  border-top: 1px solid var(--border);
}
.paypal-receipt-row--total {
  background: var(--surface);
}
.paypal-receipt-row--total .paypal-receipt-val {
  font-size: 1.15rem;
  color: var(--cardinal);
}
.paypal-receipt-key {
  color: var(--text-secondary);
  font-size: 0.85rem;
  white-space: nowrap;
}
.paypal-receipt-val {
  text-align: right;
  font-size: 0.95rem;
}
.paypal-success-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.btn-print-receipt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cardinal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-print-receipt:hover { opacity: 0.88; }

/* Print — receipt only */
.no-print {}
.paypal-print-header { display: none; }
@media print {
  @page { margin: 0.75in; size: letter; }

  /* Collapse entire page, then selectively reveal only the receipt */
  body * { visibility: hidden; }
  #detail-paypal,
  #detail-paypal * { visibility: visible; }
  #detail-paypal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
  }

  /* Hide non-receipt elements within the card */
  .no-print,
  #paypal-form-section,
  .paypal-success-icon,
  .btn-print-receipt { display: none !important; visibility: hidden; }

  /* Show letterhead */
  .paypal-print-header { display: block !important; visibility: visible; }

  /* Base type */
  body { font-size: 11pt; line-height: 1.5; color: #000; }
  .card { box-shadow: none; border: none; padding: 0; background: white; }

  /* Letterhead */
  .print-letterhead {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
  }
  .print-logo { width: 48px; height: 48px; flex-shrink: 0; }
  .print-org-block { display: flex; flex-direction: column; gap: 3px; }
  .print-org-name { font-size: 12pt; font-weight: 700; color: #000; }
  .print-org-ein  { font-size: 9pt; color: #555; }
  .print-rule { border-top: 2px solid #8B1A1A; margin: 10px 0 14px; }
  .print-receipt-heading { font-size: 15pt; font-weight: 700; margin-bottom: 14px; color: #000; }

  /* Success content */
  .paypal-success { text-align: left; padding: 0; animation: none; }
  .paypal-success-title    { font-size: 12pt; font-weight: 600; margin-bottom: 2px; }
  .paypal-success-subtitle { font-size: 10pt; color: #555; margin-bottom: 12px; }

  /* Receipt table */
  .paypal-receipt {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 0;
    margin: 0 0 12px;
  }
  .paypal-receipt-row { font-size: 10.5pt; padding: 7px 12px; }
  .paypal-receipt-row + .paypal-receipt-row { border-top: 1px solid #ccc; }
  .paypal-receipt-row--total { background: #f5f5f5; }
  .paypal-receipt-row--total .paypal-receipt-val { font-size: 12pt; color: #8B1A1A; }
  .paypal-receipt-key { font-size: 9pt; color: #555; }
  .paypal-receipt-val { font-size: 10.5pt; }

  /* Footer note */
  .paypal-success-note { font-size: 9pt; color: #555; margin-bottom: 0; max-width: 100%; }
}

/* Social / Stay Connected */
.social-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.social-block-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.social-block-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.instagram-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.instagram-handle:hover,
.instagram-handle:focus-visible {
  border-color: var(--cardinal);
  background: var(--surface);
  color: var(--cardinal);
  outline: none;
}

.instagram-at {
  color: var(--cardinal);
  font-weight: 700;
}

/* Instagram + social icons */
.ig-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: #C13584; /* Instagram brand pink-red */
  transition: color 0.18s;
}

.instagram-handle:hover .ig-icon,
.instagram-handle:focus-visible .ig-icon {
  color: var(--cardinal);
}

.bandapp-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.bandapp-qr {
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

/* Responsive — new homepage */
@media (max-width: 900px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-new { min-height: 480px; }
  .hero-new-inner { padding: 4rem 1.25rem 6rem; }
  .hero-logo img { width: 80px; height: 80px; }
  .quick-grid { grid-template-columns: 1fr; }
  .home-section { padding: 3rem 1.25rem; }
  .social-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .announcement-item { padding: 1.4rem 1.25rem; }
  .home-cal-widget { padding: 1rem 1.1rem; }
  .home-cal-day-num { width: 26px; height: 26px; font-size: 0.82rem; }
  .home-cal-day-name { font-size: 0.58rem; }
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: var(--cardinal-deep);
  padding: 3rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 52px;
  background: var(--bg);
  clip-path: ellipse(58% 100% at 50% 100%);
}

.page-header-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header-inner .card-label {
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.page-header-inner .card-label::before {
  background: var(--gold-light);
}

.page-header-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.page-header-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.65;
}

/* ── ZELLE BLOCK ── */
.zelle-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.zelle-address {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.zelle-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cardinal);
  letter-spacing: 0.01em;
}

.zelle-memo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.zelle-example {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Zelle QR */
.zelle-qr-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.zelle-qr-img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  width: 180px;
  height: auto;
}

/* ── PAYMENT TYPE LIST ── */
.payment-type-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.payment-type-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.payment-type-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.payment-type-item:first-child {
  padding-top: 0;
}

.payment-type-name {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.payment-type-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.payment-type-desc a {
  color: var(--cardinal);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold-pale);
  transition: border-color 0.2s;
}

.payment-type-desc a:hover {
  border-color: var(--gold);
}

@media (max-width: 600px) {
  .page-header { padding: 2.25rem 1.25rem 3.5rem; }
}

/* ── HERO ── */
.hero {
  background: var(--cardinal-deep);
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem 5.5rem;
}

.staff-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.staff-bg svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}

.hero-accent {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 72px;
  background: var(--bg);
  clip-path: ellipse(58% 100% at 50% 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.logo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid var(--gold);
  box-shadow:
    0 0 0 10px rgba(201,168,76,0.12),
    0 24px 64px rgba(0,0,0,0.55);
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-20px) scale(0.96);
  animation: heroIn 0.85s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}

.logo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.85s cubic-bezier(0.22,1,0.36,1) 0.28s forwards;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.38);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  color: #FFF;
  line-height: 1.1;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.62);
  font-weight: 400;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ── COMING SOON STRIP ── */
.soon-strip {
  background: var(--gold);
  padding: 1.75rem 2rem;
}

.soon-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.soon-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--cardinal-deep);
  margin-bottom: 0.35rem;
}

.soon-body {
  font-size: 1rem;
  color: var(--cardinal-deep);
  opacity: 0.82;
  max-width: 540px;
  margin: 0 auto;
}

/* ── MAIN ── */
main {
  flex: 1;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  padding: 3.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 28px rgba(0,0,0,0.07);
  opacity: 0;
  transform: translateY(18px);
  animation: cardIn 0.65s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.35s; }
.card:nth-child(2) { animation-delay: 0.45s; }
.card:nth-child(3) { animation-delay: 0.55s; }
.card:nth-child(4) { animation-delay: 0.65s; }

.card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cardinal);
  margin-bottom: 0.6rem;
}

.card-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.65rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Divider */
.card-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

/* ── INFO GRID ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.6rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.info-label {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cardinal);
}

.info-value {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.45;
  font-weight: 400;
}

.info-value a {
  color: var(--cardinal);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--gold-pale);
  transition: border-color 0.2s;
}

.info-value a:hover,
.info-value a:focus {
  border-color: var(--gold);
  outline: none;
}

/* ── BADGES ── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cardinal-deep);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cardinal);
  flex-shrink: 0;
}

/* ── BOARD GRID ── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem;
  margin-top: 0.25rem;
}

.board-member {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.board-role {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cardinal);
}

.board-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* ── CALENDAR ── */
.cal-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--cardinal);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
}

.cal-nav-btn:hover,
.cal-nav-btn:focus-visible {
  background: var(--surface);
  border-color: var(--cardinal);
  outline: none;
}

.cal-month-label {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  color: var(--text);
  text-align: center;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.35rem;
}

.cal-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.3rem 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.35rem 0.1rem 0.3rem;
  min-height: 48px;
  border-radius: 6px;
  gap: 4px;
}

.cal-day-num {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 400;
}

.cal-day--other .cal-day-num {
  color: rgba(139,26,26,0.2);
}

.cal-day--today .cal-day-num {
  background: var(--cardinal);
  color: #fff;
  font-weight: 700;
}

/* Days with events — prominent tinted cell + bold number */
.cal-day--has-events {
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.45);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.cal-day--has-events:hover {
  background: rgba(201,168,76,0.22);
  border-color: rgba(201,168,76,0.7);
}

.cal-day--has-events .cal-day-num {
  color: var(--cardinal);
  font-weight: 700;
}

/* Today + has-events: keep the red circle but tint the cell */
.cal-day--today.cal-day--has-events {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.45);
}

/* Today's number must stay white-on-cardinal even when the day has events */
.cal-day--today.cal-day--has-events .cal-day-num {
  background: var(--cardinal);
  color: #fff;
}

/* Selected day — filled cardinal */
.cal-day--selected,
.cal-day--selected:hover {
  background: var(--cardinal) !important;
  border-color: var(--cardinal-deep) !important;
}

.cal-day--selected .cal-day-num {
  background: transparent !important;
  color: #fff !important;
  font-weight: 700;
}

/* Event list */
/* .cal-events-heading removed — element now uses .cal-past-label */

.cal-event-item {
  border-bottom: 1px solid var(--border);
}

.cal-event-item:last-child {
  border-bottom: none;
}

/* Highlighted when a matching grid day is clicked */
.cal-event-item--highlighted {
  background: rgba(201,168,76,0.12);
  border-radius: 6px;
  outline: 1.5px solid rgba(201,168,76,0.5);
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.cal-event-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  border-radius: 6px;
  transition: background 0.12s;
}

.cal-event-header:hover {
  background: var(--bg);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.cal-event-header:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.cal-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.cal-event-time {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cardinal);
}

.cal-event-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-event-header.is-open .cal-event-title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.cal-event-chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.cal-event-header.is-open .cal-event-chevron {
  transform: rotate(180deg);
}

/* Detail panel — hidden by default; JS adds .cal-event-detail--open to reveal */
.cal-event-detail {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0 1.25rem;
}

.cal-event-detail--open {
  display: flex;
}

.cal-detail-row {
  display: flex;
  gap: 1rem;
  font-size: 0.92rem;
  align-items: flex-start;
}

.cal-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  min-width: 68px;
  padding-top: 2px;
  flex-shrink: 0;
}

.cal-detail-value {
  color: var(--text);
  line-height: 1.6;
}

.cal-detail-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cardinal);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-pale);
  transition: border-color 0.2s;
  align-self: flex-start;
}

.cal-detail-link:hover { border-color: var(--gold); }

.cal-detail-empty {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-style: italic;
}

.cal-loading,
.cal-error,
.cal-empty,
.cal-setup {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cal-error { color: var(--cardinal); }

/* Utility */
.nowrap { white-space: nowrap; }

@media (max-width: 600px) {
  .cal-day      { min-height: 40px; padding: 0.2rem 0; }
  .cal-day-num  { width: 24px; height: 24px; font-size: 0.78rem; }
  .cal-weekday  { font-size: 0.62rem; letter-spacing: 0.05em; }
}

/* ── BOARD CONTACT GRID ── */
.board-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.board-contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.board-email {
  font-size: 0.78rem;
  color: var(--cardinal);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.25rem;
  overflow-wrap: break-word;
  transition: opacity 0.2s;
}

.board-email:hover,
.board-email:focus-visible {
  opacity: 0.75;
  outline: none;
}

/* ── RIGHT-JUSTIFY "ADD TO MY CALENDAR" ROW ── */
.cal-detail-row--action {
  justify-content: flex-end;
}

/* ── PAST EVENTS SECTION (calendar & home calendar) ── */
.cal-past-section,
.home-cal-past-section {
  /* visibility controlled by [hidden] attribute */
}

.cal-past-divider {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 1.5rem 0 1.25rem;
}

.cal-past-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.cal-past-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  vertical-align: middle;
  margin-right: 0.5em;
  opacity: 0.5;
}

.cal-past-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-style: italic;
}

/* Separator line below upcoming-events label, matching home widget */
#cal-events-heading {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

/* Separator line below "Past Events" label in the home calendar widget,
   matching the line that appears below "Upcoming Events" via .home-cal-events */
#home-cal-past-list {
  border-top: 1px solid var(--border);
  padding-top: 0.25rem;
}

/* Past days on grid get a slightly muted indicator */
.cal-day--past.cal-day--has-events {
  background: rgba(139,26,26,0.06);
  border-color: rgba(139,26,26,0.2);
}

.cal-day--past.cal-day--has-events .cal-day-num {
  color: var(--text-secondary);
}

.cal-day--past.cal-day--selected,
.cal-day--past.cal-day--selected:hover {
  background: var(--text-secondary) !important;
  border-color: rgba(0,0,0,0.2) !important;
}

.home-cal-day--past.home-cal-day--has-events {
  background: rgba(139,26,26,0.06);
  border: 1.5px solid rgba(139,26,26,0.2);
}

.home-cal-day--past.home-cal-day--has-events .home-cal-day-num {
  color: var(--text-secondary);
}

/* Selected state for home calendar grid cells */
.home-cal-day--selected,
.home-cal-day--selected:hover {
  background: var(--cardinal) !important;
  border-color: var(--cardinal) !important;
}

.home-cal-day--selected .home-cal-day-num {
  color: #fff !important;
}

/* ── HOME CALENDAR EXPANDABLE ITEMS ── */
.home-cal-event-item {
  border-bottom: 1px solid var(--border);
}

.home-cal-event-item:last-child { border-bottom: none; }

.home-cal-event-item--highlighted {
  background: rgba(201,168,76,0.12);
  border-radius: 6px;
  outline: 1.5px solid rgba(201,168,76,0.5);
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.home-cal-event-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  border-radius: 6px;
  transition: background 0.12s;
}

.home-cal-event-btn:hover {
  background: var(--bg);
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  margin-left: -0.4rem;
  margin-right: -0.4rem;
}

.home-cal-event-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.home-cal-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.home-cal-event-chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.home-cal-event-btn.is-open .home-cal-event-chevron {
  transform: rotate(180deg);
}

.home-cal-event-btn.is-open .home-cal-event-title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.home-cal-event-detail {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0 1rem;
}

.home-cal-event-detail--open {
  display: flex;
}

/* Remove old non-expandable item styles (replaced above) */
.home-cal-event { display: none; }

/* ── RESOURCES PAGE ── */
.resources-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.resources-coming-soon {
  text-align: center;
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.resources-soon-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.resources-soon-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--text);
}

.resources-soon-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.resources-preview-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resource-card-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.resource-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--text);
}

.resource-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .resources-grid { grid-template-columns: 1fr; }
  .resources-coming-soon { padding: 2rem 1.25rem; }
}

/* ── MEDIA PAGE ── */
.media-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.media-coming-soon {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

.media-soon-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.media-soon-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--cardinal);
  margin-bottom: 1rem;
}

.media-soon-body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.media-soon-body + .btn {
  margin-top: 1.5rem;
}

.media-preview-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
}

.media-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.media-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.media-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 600px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-coming-soon { padding: 2rem 1.25rem; }
}

/* ── FOOTER ── */
footer {
  background: var(--cardinal-deep);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  line-height: 2;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 0.18s, opacity 0.18s;
}

footer .footer-social-link:hover {
  color: var(--gold-light);
  opacity: 1;
}

.footer-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.footer-icon--band {
  /* PNG logo may need slight brightness boost to match white icon style */
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.18s;
}

footer .footer-social-link:hover .footer-icon--band {
  opacity: 1;
}

footer strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

footer a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

footer a:hover { opacity: 0.75; }

/* ── ANIMATIONS ── */
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

@keyframes cardIn {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-fill-mode: both !important;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 4.5rem; }
  .logo-wrap { width: 145px; height: 145px; }
  .card { padding: 1.6rem 1.35rem; border-radius: var(--radius); }
  .card-title { font-size: 1.4rem; }
  .info-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .badge-row { gap: 0.5rem; }
  .badge { font-size: 0.82rem; }
  main { padding: 2.5rem 1rem 3rem; }
}
body, html, #main-content, .content-wrapper {
  background: #F8F4EE !important;
  background-color: #F8F4EE !important;
}