/* Small, intentional overrides kept separate from the base theme stylesheet. */
.news-card .card-image {
  display: block;
  flex: 0 0 170px;
  background: linear-gradient(135deg, #2a4653, #b89853) center / cover;
}

.news-card .card-content h3,
.news-card .card-content h3 a {
  font-family: "DM Serif Display", serif !important;
  font-size: 1.65rem !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
}

/* Give the descender in “Klang” and the umlaut in “München” breathing room. */
.hero-copy h1 {
  line-height: 1.04;
}

.hero-copy h1 em {
  display: inline-block;
  margin-top: .06em;
}

.calendar-note {
  max-width: 700px;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.calendar-note h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  margin-bottom: 1rem;
}

.calendar-note > p:not(.eyebrow) {
  max-width: 38rem;
  color: #52615f;
  line-height: 1.65;
}

.calendar-fineprint {
  margin-top: 1.25rem;
  font-size: .8rem;
  color: #73807d !important;
}

.calendar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand-wordmark{font-family:"DM Sans",sans-serif!important;font-weight:700;line-height:1.02!important;}
.brand{gap:.7rem;}
.brand-title{display:block;}
.brand-tagline{display:block;color:#7c6b46;font-size:.56rem;font-weight:600;letter-spacing:.08em;line-height:1.2;text-transform:none;max-width:18rem;margin-top:.22rem;}
.main-nav .sub-menu{top:100%;}
@media (max-width:720px){.news .desktop-only{display:inline-block;}}
.news .split-heading .text-link{margin-left:auto;white-space:nowrap;}

/* Long page and event names must fit without widening the mobile viewport. */
.page-content > h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.main-nav .nav-social {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-shrink: 0;
}
.main-nav .nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  opacity: 1;
}
.main-nav .nav-social a:hover { color: #8d6d2e; }
.main-nav .nav-social a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (min-width: 1001px) {
  .site-header .main-nav { display: flex; align-items: center; gap: 1rem; }
  .main-nav > .menu { align-items: center; gap: clamp(.65rem, 1.5vw, 2rem); }
}
/* Open the compact menu before branding, menu labels and icons collide. */
@media (max-width: 1000px) {
  .site-header .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
  }
  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1.25rem;
    background: var(--paper);
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }
  .site-header .main-nav.open { display: block; }
  .main-nav > .menu { flex-direction: column; gap: 1rem; }
  .site-header .main-nav .sub-menu {
    display: block;
    position: static;
    width: auto !important;
    margin: .5rem 0 0;
    padding: 0 0 0 1rem;
    box-shadow: none;
  }
  .main-nav .nav-social {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header .main-nav { top: 68px; max-height: calc(100dvh - 68px); }
  .page-content > h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.1;
  }
}
