@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=Raleway:wght@400;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #faf8f3;
  --white:   #ffffff;
  --text:    #1a1409;
  --muted:   #7a7060;
  --accent:  #c2440f;
  --accent2: #2b6cb0;
  --border:  #e0d8cc;
  --nav-h:   56px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── Sticky nav ── */
.ms-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,248,243,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.ms-nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.ms-nav-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-brand {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.nav-links {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  overflow: hidden;
}
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.nav-sep { opacity: .4; }
.nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: italic;
}

/* ── Article ── */
.ms-article {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem;
}

/* ── Hero header ── */
.ms-hero { margin-bottom: 2rem; }

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.hero-labels { display: flex; gap: .5rem; flex-wrap: wrap; }
.label-tag {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 2px;
  background: rgba(194,68,15,0.08);
  border: 1px solid rgba(194,68,15,0.2);
  color: var(--accent);
  text-decoration: none;
  transition: background .2s;
}
.label-tag:hover { background: rgba(194,68,15,0.15); }
.hero-date {
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
}

.ms-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.ms-lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.hero-location {
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Featured image ── */
.ms-featured-img {
  margin: 0 -1.5rem 2rem;
  position: relative;
}
.ms-featured-img a { display: block; }
.ms-featured-img img {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.event-hero { cursor: zoom-in; }

/* ── Body ── */
.ms-body { max-width: 680px; margin: 0 auto; }

.event-body {
  font-size: 1.1rem;
  line-height: 1.82;
  color: var(--text);
}
.event-body p { margin-bottom: 1.3rem; }
.event-body blockquote {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
  padding: .8rem 0 .8rem 1.5rem;
}
.event-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.event-body em { color: #5a5040; }
.event-body strong { font-weight: 600; }

/* ── Gallery in content ── */
.event-body [itemtype*="ImageGallery"] {
  margin: 2rem 0;
}
.event-body [itemtype*="ImageGallery"] > div {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .75rem;
}
.event-body figure {
  flex: 0 0 auto;
}
.event-body figure img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
  transition: transform .25s, box-shadow .25s;
  display: block;
}
.event-body figure img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.event-body figcaption {
  font-size: .72rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-top: .3rem;
  max-width: 160px;
  line-height: 1.3;
}

/* ── Article footer ── */
.ms-article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.back-link {
  font-family: 'Raleway', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.back-link:hover { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .ms-featured-img { margin: 0 0 1.5rem; }
  .ms-featured-img img { max-height: 300px; }
  .event-body [itemtype*="ImageGallery"] > div { gap: .5rem; }
  .event-body figure img { width: 120px; height: 90px; }
  .event-body figcaption { max-width: 120px; }
}
@media (max-width: 480px) {
  .ms-article { padding-top: calc(var(--nav-h) + 1.5rem); padding-left: 1rem; padding-right: 1rem; }
  .event-body { font-size: 1rem; }
  .ms-title { font-size: 2rem; }
  .ms-lead { font-size: 1.05rem; }
  .event-body figure img { width: 100px; height: 75px; }
  .event-body figcaption { max-width: 100px; font-size: .65rem; }
}

/* ── Lightbox ── */
#lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);
  z-index:9999;align-items:center;justify-content:center;
  flex-direction:column;gap:.5rem}
#lightbox img{max-width:90vw;max-height:80vh;object-fit:contain}
.lb-close{position:fixed;top:1rem;right:1.5rem;font-size:2.5rem;
  color:#fff;cursor:pointer;line-height:1;opacity:.8}
.lb-close:hover{opacity:1}
.lb-nav{position:fixed;top:50%;transform:translateY(-50%);font-size:3rem;
  color:#fff;cursor:pointer;padding:.5rem;user-select:none;opacity:.7}
.lb-nav:hover{opacity:1}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-caption{color:#ccc;font-size:.9rem;text-align:center;max-width:80vw}
