FFD000/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --base: #FFD000;
  --secondary:  #0f0f0f;
  --highlight:   #444444;
  --nav-h:  68px;
}

body {
  margin: 0;
  background-color: var(--base);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--secondary);
  min-height: 100vh;
  width: 100vw;
  overflow-x:hidden;
}

/* ── Navbar ── */
.navBar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 40px;
  background: var(--base);
  border-bottom: 2px solid var(--secondary);
}

#logoImage {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navBarElement {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 780;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.15s;
}

.navBarElement:hover { opacity: 0.55; }

.navCta {
  background: var(--secondary);
  color: var(--base);
  padding: 9px 22px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.navCta:hover {
  background: #333;
  opacity: 1;
  color: var(--base);
}

/* ── Burger ── */
.burgerBtn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 38px;
  height: 38px;
}

.burgerBtn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burgerBtn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burgerBtn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burgerBtn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mobileMenu {
  display: none;
  flex-direction: column;
  position: sticky;
  top: var(--nav-h);
  z-index: 99;
  background: var(--secondary);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobileMenu.open { max-height: 320px; }

.mobileNavElement {
  color: var(--base);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,208,0,0.12);
  transition: background 0.15s;
}

.mobileNavElement:last-child { border-bottom: none; }
.mobileNavElement:hover { background: rgba(255,208,0,0.08); }

/* ── Hero ── */
.hero {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - var(--nav-h));
}

.heroText {
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 64px 48px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 20px 0;
}

.heroTitle {
  font-family: impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0 0 28px 0;
  color: var(--secondary);
}

.dividerLine {
  width: 56px;
  height: 3px;
  background: var(--secondary);
  margin-bottom: 28px;
}

.missionLabel {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 10px 0;
}

.missionBody {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #222;
  margin: 0 0 40px 0;
  max-width: 420px;
}

.heroActions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btnPrimary, .btnSecondary {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btnPrimary {
  background: var(--secondary);
  color: var(--base);
}

.btnPrimary:hover {
  background: #333;
}

.btnSecondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btnSecondary:hover {
  background: var(--secondary);
  color: var(--base);
}

/* ── Hero Image ── */
.heroImage {
  flex: 0 0 54%;
  overflow: hidden;
}

.heroImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ════════════════════════════════════════
   Shared Interior Page Utilities
   ════════════════════════════════════════ */

/* ── Back link (subtle inline nav) ── */
.backLink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--highlight);
  margin-bottom: 36px;
  transition: color 0.15s;
}
.backLink:hover { color: var(--secondary); }
.backLink svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ════════════════════════════════════════
   Under-Construction / Stage pages
   ════════════════════════════════════════ */

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.stage .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 16px;
}

.stage h1 {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
  color: var(--secondary);
}

.stage p {
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
  max-width: 420px;
  margin: 0 0 40px;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--secondary);
  margin: 0 auto 28px;
}

/* Bobbing icon animation */
.icon {
  width: 96px;
  height: 96px;
  margin-bottom: 36px;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ════════════════════════════════════════
   Issues list page
   ════════════════════════════════════════ */

.pageHeader {
  padding: 48px 40px 12px;
  text-align: center;
}

.pageHeader .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 12px;
}

.pageHeader h1 {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1;
  margin: 0 0 16px;
}

.pageHeader .dividerLine {
  margin: 0 auto;
}

#issuesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 56px 72px;
  max-width: 1100px;
  margin: 0 auto;
}

.issueCard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--base);
  background: var(--secondary);
  border: 3px solid var(--secondary);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.issueCard:hover {
  transform: translateY(-4px);
  box-shadow: 5px 5px 0px var(--secondary);
}

.issueCardImg {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.issueCardImgPlaceholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.issueCardImgPlaceholder svg { width: 40px; height: 40px; opacity: 0.15; stroke: var(--base); }

.issueCardBody {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.issueCardTitle {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--base);
  margin: 0;
}

.issueCardBlurb {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #aaa;
  margin: 0;
}

/* ════════════════════════════════════════
   Single issue page
   ════════════════════════════════════════ */

.issuePage {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

.issueHero {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--secondary);
  display: block;
  margin-bottom: 40px;
}

.issueHeroPlaceholder {
  width: 100%;
  height: 110px;
  background: #e8e8e8;
  border-radius: 18px;
  border: 3px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.issueHeroPlaceholder svg { width: 56px; height: 56px; opacity: 0.2; }

.issueTitleRow { margin-bottom: 24px; }

.issueTitleRow .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 10px;
}

.issueTitleRow h1 {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  margin: 0 0 18px;
}

.issuePage .mdContent { margin-top: 32px; max-width: 100%; }

/* ════════════════════════════════════════
   Interior Pages (donate, about-us, etc.)
   ════════════════════════════════════════ */

/* ── Stripe accent bars ── */
.stripes,
.stripes-bottom {
  width: 100%;
  height: 10px;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--secondary) 0px,
    var(--secondary) 12px,
    var(--base) 12px,
    var(--base) 24px
  );
}

/* ── Dark hero banner ── */
.pageHero {
  background: var(--secondary);
  color: var(--base);
  text-align: center;
  padding: 30px 24px 30px;
}

.pageHero .eyebrow {
  color: #888;
}

.pageHero h1 {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  color: var(--base);
}

.pageHero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #bbb;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Centered page content wrapper ── */
.pageContent {
  flex: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  width: 100%;
}

/* ── Section label + title ── */
.sectionLabel {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 12px;
}

.sectionTitle {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--secondary);
}

.sectionBody {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  max-width: 660px;
  margin: 0 0 20px;
}

/* ── Generic card grid ── */
.cardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 32px 0 52px;
}

.card {
  background: var(--secondary);
  color: var(--base);
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
}

.card .cardAmount {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--base);
}

.card .cardDesc {
  font-size: 0.86rem;
  font-weight: 500;
  color: #aaa;
  line-height: 1.55;
}

.card .cardIcon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
}

.card h3 {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: var(--base);
  text-align: left;
}

.card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #aaa;
  margin: 0;
  text-align: left;
}

/* ── CTA band (dark box with button) ── */
.ctaBand {
  background: var(--secondary);
  border-radius: 8px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 12px;
}

.ctaBand h2 {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.04em;
  color: var(--base);
  margin: 0 0 6px;
}

.ctaBand p {
  font-size: 0.92rem;
  color: #aaa;
  margin: 0;
  line-height: 1.65;
  max-width: 400px;
}

/* ── Secure note under donate button ── */
.secureNote {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--highlight);
  margin-top: 12px;
}

.secureNote svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--highlight);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Btn icon helper ── */
.btnPrimary svg,
.btnSecondary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  margin-right: 8px;
}

/* ── Interior page body flex column ── */
.pageFlex {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Rendered Markdown content ── */
.mdContent { max-width: 660px; }

.mdContent h2 {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.03em;
  margin: 40px 0 10px;
  color: var(--secondary);
}

.mdContent h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 28px 0 8px;
  color: var(--secondary);
}

.mdContent p {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  margin: 0 0 18px;
}

.mdContent ul,
.mdContent ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.mdContent li {
  font-size: 1rem;
  line-height: 1.75;
  color: #222;
  margin-bottom: 6px;
}

.mdContent a {
  color: var(--secondary);
  font-weight: 600;
}

.mdContent strong { font-weight: 700; }
.mdContent em     { font-style: italic; }

.mdContent hr {
  border: none;
  border-top: 2px solid var(--secondary);
  width: 48px;
  margin: 32px 0;
}

/* ── Responsive: interior pages ── */
@media (min-width: 560px) {
  .ctaBand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .ctaBand p { max-width: 380px; }
}

@media (max-width: 640px) {
  .pageHero { padding: 48px 20px 40px; }
  .ctaBand  { padding: 32px 24px; }
}

/* ════════════════════════════════════════
   Events / Calendar
   ════════════════════════════════════════ */

.eventsLayout {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 40px 72px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ── Calendar widget ── */
.calendarWidget {
  background: var(--secondary);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* ── Calendar section titles ── */
.calSectionTitle {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px 0;
  padding-left: 4px;
  border-left: 5px solid var(--secondary);
}

/* Google Calendar iframe wrapper — responsive 4:3 */
.calIframeWrap {
  width: 100%;
  position: relative;
  padding-bottom: 75%;
  border-radius: 12px;
  overflow: hidden;
  background: #0f0f0f;
}
.calIframeWrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Agenda view — fixed height, no aspect-ratio trick needed */
.calIframeAgenda {
  padding-bottom: 0;
  height: 480px;
}

/* Gap before the second calendar section */
.calSectionTitle + .calIframeWrap { margin-bottom: 0; }
.calIframeWrap + .calSectionTitle { margin-top: 40px; }

.calHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
}

.calNavBtn {
  background: none;
  border: 2px solid rgba(255,208,0,0.25);
  border-radius: 4px;
  color: var(--base);
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.calNavBtn:hover {
  border-color: var(--base);
  background: rgba(255,208,0,0.1);
}

.calNavBtn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--base);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calMonthLabel {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--base);
  text-transform: uppercase;
}

.calDayHeaders {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(255,208,0,0.06);
}

.calDayHeader {
  text-align: center;
  padding: 10px 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,208,0,0.55);
}

.calGrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: rgba(255,208,0,0.06);
}

.calCell {
  background: var(--secondary);
  min-height: 100px;
  padding: 6px 5px 5px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  transition: background 0.15s;
  overflow: hidden;
}

.calCell:hover { background: rgba(255,208,0,0.07); }

.calCell.otherMonth            { opacity: 0.28; cursor: default; }
.calCell.otherMonth:hover      { background: var(--secondary); }

.calDate {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255,208,0,0.75);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  align-self: center;
  flex-shrink: 0;
}

.calCell.today .calDate {
  background: var(--base);
  color: var(--secondary);
}

.calCell.selected              { background: rgba(255,208,0,0.13); }
.calCell.selected .calDate     { color: var(--base); }

.calEventChip {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--secondary);
  background: var(--base);
  border-radius: 3px;
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  cursor: pointer;
  flex-shrink: 0;
}

.calMoreEvents {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,208,0,0.5);
  padding: 0 3px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ── Events panel ── */
.eventsPanelTitle {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 20px;
}

.eventsPanelEmpty {
  font-size: 0.92rem;
  color: var(--highlight);
  padding: 12px 0;
}

.eventItem {
  background: var(--secondary);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-left: 4px solid var(--base);
}

.eventItemDate {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,208,0,0.7);
  margin: 0 0 6px;
}

.eventItemTitle {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--base);
  margin: 0 0 8px;
  line-height: 1.15;
}

.eventItemMeta {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ccc;
  line-height: 1.55;
  margin: 0;
}

.eventItemDesc {
  font-size: 0.88rem;
  font-weight: 500;
  color: #aaa;
  line-height: 1.65;
  margin: 10px 0 0;
  border-top: 1px solid rgba(255,208,0,0.1);
  padding-top: 10px;
  white-space: pre-wrap;
}

.eventItemLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--base);
  margin-top: 10px;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.eventItemLink:hover { opacity: 1; }

.calStatusMsg {
  font-size: 0.88rem;
  color: var(--highlight);
  margin: 0 0 16px;
  line-height: 1.6;
}

.calStatusMsg.error { color: #e05555; }

/* ── Clickable event items ── */
.eventItem {
  cursor: pointer;
  transition: border-left-color 0.15s, filter 0.15s;
}

.eventItem:hover {
  border-left-color: var(--base);
  filter: brightness(1.08);
}

/* ── Event detail modal ── */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modalOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modalCard {
  background: var(--secondary);
  border: 3px solid var(--base);
  border-radius: 14px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modalClose {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 208, 0, 0.08);
  border: 2px solid rgba(255, 208, 0, 0.3);
  border-radius: 4px;
  color: var(--base);
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  z-index: 1;
  flex-shrink: 0;
}

.modalClose:hover {
  border-color: var(--base);
  background: rgba(255, 208, 0, 0.15);
}

.modalImgWrap {
  width: 100%;
  border-radius: 11px 11px 0 0;
  overflow: hidden;
  background: #111;
}

/* Single image — full width */
.modalImgSingle {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

/* Multiple images — horizontal scroll strip */
.modalImgRow {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,208,0,0.3) transparent;
}

.modalImgRow::-webkit-scrollbar { height: 4px; }
.modalImgRow::-webkit-scrollbar-thumb { background: rgba(255,208,0,0.3); border-radius: 2px; }

.modalImgThumb {
  height: 200px;
  width: auto;
  max-width: 320px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  cursor: zoom-in;
  transition: opacity 0.15s;
}

.modalImgThumb:hover { opacity: 0.88; }

.modalBody {
  padding: 26px 28px 30px;
}

.modalDate {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 208, 0, 0.65);
  margin-bottom: 10px;
}

.modalTitle {
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--base);
  margin: 0 0 14px;
  padding-right: 40px;
}

/* ── Status / recurring badges ── */
.modalBadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  min-height: 0;
}

.modalBadge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 2px solid;
}

.modalBadgeCancelled { color: #e05555;               border-color: #e05555; }
.modalBadgeTentative { color: rgba(255,208,0,0.75);   border-color: rgba(255,208,0,0.4); }
.modalBadgeRecurring { color: rgba(255,208,0,0.55);   border-color: rgba(255,208,0,0.25); }

/* ── Info grid (location, organizer, categories) ── */
.modalInfoGrid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.modalInfoRow {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.modalInfoLabel {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,208,0,0.45);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 82px;
  padding-top: 2px;
}

.modalInfoValue {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ccc;
  line-height: 1.55;
}

.modalInfoValue a {
  color: var(--base);
  text-decoration: none;
}

.modalInfoValue a:hover { opacity: 0.75; }

/* ── Category tags ── */
.modalCategories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.modalCategory {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(255,208,0,0.75);
  padding: 3px 9px;
  border-radius: 100px;
}

/* ── Description & comment ── */
.modalDesc,
.modalComment {
  font-size: 0.92rem;
  color: #aaa;
  line-height: 1.8;
  border-top: 1px solid rgba(255,208,0,0.1);
  padding-top: 16px;
  margin-top: 2px;
}

.modalComment {
  color: #888;
  font-style: italic;
  border-top-style: dashed;
}

.modalDescLink {
  color: var(--base);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.modalDescLink:hover { opacity: 0.75; }

.modalBtn {
  margin-top: 20px;
}

/* ── Responsive: Tablet ── */
@media (max-width: 900px) {
  .eventsLayout { padding: 36px 28px 56px; gap: 36px; }
}

@media (max-width: 640px) {
  .eventsLayout  { padding: 24px 16px 48px; }
  .calCell       { min-height: 72px; }
  .calEventChip  { font-size: 0.55rem; padding: 1px 3px; }
}

/* ── Responsive: Tablet ── */
@media (max-width: 900px) {
  .heroText { padding: 48px 36px; }
  .navBar { padding: 0 24px; }
  #issuesGrid { grid-template-columns: repeat(2, 1fr); padding: 36px 32px 56px; }
  .issuePage { padding: 40px 28px 64px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
  .burgerBtn { display: flex; }
  .navLinks   { display: none; }
  .mobileMenu { display: flex; }

  .hero {
    flex-direction: column;
    min-height: unset;
  }

  .heroImage {
    flex: unset;
    width: 100%;
    height: 260px;
    order: -1;
  }

  .heroText {
    flex: unset;
    width: 100%;
    padding: 36px 24px 52px;
  }

  .heroTitle { font-size: clamp(3.5rem, 16vw, 5rem); }

  .missionBody { max-width: 100%; }

  #issuesGrid { grid-template-columns: 1fr; padding: 28px 20px 48px; gap: 22px; }
  .pageHeader { padding: 32px 20px 8px; }
  .issuePage  { padding: 32px 16px 48px; }
}
