/* ============================================
   Interior pages — shared styles
   (used by About, Our Work, Festival, Events, Volunteer,
   Sponsors & Partners, Donate, News, Media, Contact)
   ============================================ */

.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li {
  position: relative; padding: 0 0 26px 28px; border-left: 2px solid var(--wave-l);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--navy); border: 2px solid white; box-shadow: 0 0 0 2px var(--wave-l);
}
.timeline .year { font-family: var(--display); font-size: 15px; color: var(--navy); font-weight: 700; letter-spacing: 0.5px; }
.timeline .desc { font-size: 14.5px; color: #445; margin-top: 4px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { display: inline-block; padding: 4px 11px; border-radius: 12px; font-size: 11.5px; font-weight: 600; color: white; }
.tag-civic { background: var(--red); }
.tag-arts { background: var(--orange); }
.tag-biz { background: var(--green); }
.tag-community { background: var(--navy); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) {
  .two-col, .three-col { grid-template-columns: 1fr; }
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.form-grid.full, .form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 13px; border-radius: 7px; border: 1.5px solid #D3D9E0;
  font-family: var(--ui); font-size: 14px; color: var(--charcoal);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.category-heading { font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange); margin: 24px 0 10px; }
.category-heading:first-child { margin-top: 0; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab-btn {
  padding: 9px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600;
  background: var(--bg); color: var(--navy); border: 1.5px solid rgba(27,58,107,0.15); cursor: pointer;
}
.tab-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ---- Board / Leadership cards ---- */
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .board-grid { grid-template-columns: 1fr; } }
.board-card {
  background: var(--paper); border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(27,58,107,0.08);
}
.board-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: var(--bg); }
img.board-photo { background: var(--paper); }
.board-body { padding: 20px; }
.board-name { font-family: var(--ui); font-size: 17px; font-weight: 700; color: var(--navy); text-transform: none; letter-spacing: 0; }
.board-title { font-size: 12.5px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.5px; margin: 4px 0 12px; }
.board-bio { font-size: 13.5px; color: #556; line-height: 1.6; }
.board-card details { margin-top: 10px; }
.board-card summary {
  font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none;
}
.board-card summary::-webkit-details-marker { display: none; }
.board-card summary::after { content: " →"; }
.board-card details[open] summary::after { content: " ↑"; }
.board-card .full-bio { font-size: 13.5px; color: #556; line-height: 1.65; margin-top: 10px; }

/* ---- FAQ accordion ---- */
.faq-item { border-bottom: 1px solid rgba(27,58,107,0.1); padding: 14px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  font-family: var(--ui); font-size: 15px; font-weight: 700; color: var(--navy);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { font-size: 14.5px; color: #556; line-height: 1.6; margin-top: 10px; }

/* ---- Visitor info cards (reuses the board-card visual pattern) ---- */
.visitor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
@media (max-width: 700px) { .visitor-grid { grid-template-columns: 1fr; } }
.visitor-card {
  background: var(--paper); border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(27,58,107,0.08);
}
.visitor-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-size: 17px; color: var(--navy); margin-bottom: 12px; letter-spacing: 0; text-transform: none; }
.visitor-card-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--navy); }
.visitor-card p { font-size: 14.5px; color: #556; margin-bottom: 10px; }
.visitor-card p:last-child { margin-bottom: 0; }
.visitor-card ul { margin: 0 0 10px; padding-left: 20px; }
.visitor-card li { font-size: 14.5px; color: #556; margin-bottom: 4px; }
.visitor-card ul:last-child { margin-bottom: 0; }

/* ---- Agenda list (details/summary expanded content) ---- */
.agenda-list { margin: 0 0 10px; padding-left: 20px; }
.agenda-list li { font-size: 14.5px; color: #556; margin-bottom: 4px; }

/* ---- Event fact row ----
   Standard treatment for date/time/location-style info (icon + bold
   label + plain value) inside dropdown/details content. Reuse this
   pattern anywhere similar quick-facts need to appear inside a
   <details> panel, not just on the Events page. */
.event-fact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.event-fact-row:last-child { margin-bottom: 0; }
.event-fact-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--navy); }
.event-fact-row span { font-size: 14.5px; color: #556; line-height: 1.5; }
.event-fact-row strong { color: var(--navy); font-weight: 700; }

/* ---- News post card ----
   Full News & Updates posts reuse the .content-block visual treatment
   (card background, radius, shadow) but get this class too so they're
   a distinct, clearly separated block from other content-block uses
   on the page (e.g. the short preview cards above), with margin tuned
   to match the grid gap for consistent spacing between posts. */
.news-post { margin-bottom: 22px; }
.news-post:last-child { margin-bottom: 0; }

/* ---- Press link list (external coverage links) ---- */
.press-link-list a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.press-link-list a:hover { color: var(--red); }

/* ---- Sponsor logo wheel ----
   Logos are grouped by tier (category-heading label reused for each
   group) and sized by tier via the --logo-size custom property, largest
   (Presenting) to smallest (Bronze). flex-wrap keeps this reflowing
   cleanly at any width instead of the fixed-width/no-wrap approach that
   caused the earlier testimonial-card overflow bug. */
.sponsor-wheel { display: flex; flex-direction: column; gap: 28px; }
.sponsor-tier-group:first-child .category-heading { margin-top: 0; }
.sponsor-logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.sponsor-logo {
  --logo-size: 70px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border-radius: 12px; padding: 14px 22px;
  box-shadow: 0 6px 20px rgba(27,58,107,0.06);
  transition: transform .12s ease;
}
.sponsor-logo:hover { transform: translateY(-2px); }
.sponsor-logo img { display: block; height: var(--logo-size); width: auto; max-width: 100%; }

.sponsor-tier-presenting .sponsor-logo { --logo-size: 120px; }
.sponsor-tier-community  .sponsor-logo { --logo-size: 100px; }
.sponsor-tier-platinum   .sponsor-logo { --logo-size: 88px; }
.sponsor-tier-gold       .sponsor-logo { --logo-size: 76px; }
.sponsor-tier-silver     .sponsor-logo { --logo-size: 64px; }
.sponsor-tier-bronze     .sponsor-logo { --logo-size: 52px; }

@media (max-width: 900px) {
  .sponsor-wheel { gap: 22px; }
  .sponsor-logo-row { gap: 14px; }
  .sponsor-tier-presenting .sponsor-logo { --logo-size: 90px; }
  .sponsor-tier-community  .sponsor-logo { --logo-size: 76px; }
  .sponsor-tier-platinum   .sponsor-logo { --logo-size: 68px; }
  .sponsor-tier-gold       .sponsor-logo { --logo-size: 60px; }
  .sponsor-tier-silver     .sponsor-logo { --logo-size: 52px; }
  .sponsor-tier-bronze     .sponsor-logo { --logo-size: 44px; }
}

/* ---- Festival photo gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; } }
.gallery-photo {
  display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(27,58,107,0.08); cursor: pointer;
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.gallery-photo:hover img { transform: scale(1.05); }

/* ---- Photo lightbox (vanilla JS, see js/gallery-lightbox.js) ---- */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(18,41,77,0.92); align-items: center; justify-content: center;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-img { max-width: 88vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12); color: white; border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .12s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: white; font-family: var(--ui); font-size: 13px;
}
@media (max-width: 900px) {
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* ---- Contact form submission status ---- */
.contact-status {
  border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 14.5px; font-weight: 600;
}
.contact-status-success { background: rgba(60,155,78,0.12); color: #2a7a38; border: 1.5px solid rgba(60,155,78,0.3); }
.contact-status-error { background: rgba(211,46,46,0.1); color: var(--red); border: 1.5px solid rgba(211,46,46,0.3); }
