:root {
  --bg-primary: #fff;
  --bg-secondary: rgb(248, 248, 248);
  --bg-tertiary: rgb(232, 232, 232);
  --bg-white: #fff;
  --text-color: #000;
  --text-color-inverted: #fff;
  --text-color-inverted-darker: #dfdfdf;
  --text-footer: #313131;
  --border-color: rgb(198, 200, 202);
  --border-radius: 0.125rem;
  --border-radius-strong: 0.25rem;
  --accent-color: #457731;
  --accent-color-darker: #335924;
  --bg-warn: #fdf1c9;
  --fg-warn: #423e33;
  --card-shadow: 0 3px 8px rgba(0, 0, 0, .25);
  --card-shadow-hover: 0 0 3px rgba(0, 0, 0, .1); }

.theme-dark {
  --bg-primary: #191919;
  --bg-secondary: #292929;
  --bg-tertiary: #393939;
  --text-color: #fff;
  --text-color-inverted: #fff;
  --text-color-inverted-darker: #efefef;
  --text-footer: #afafaf;
  --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.65),
  0 0 12px rgba(255, 255, 255, 0.05);
  --card-shadow-hover:
  0 6px 12px rgba(0, 0, 0, 0.7),
  0 0 8px rgba(255, 255, 255, 0.08); }

/*
//  map holding breakpoint values
$breakpoints: (
  mobile : 0px,
  tablet : 680px,
  desktop: 980px
);
//  mixin to print out media queries (based on map keys passed)
@mixin media($keys...){
  @each $key in $keys {
    @media (min-width: map-get($breakpoints, $key)){
      @content
    }
  }
}*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; }

html, body {
  height: 100%; }

body {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  color: var(--text-color);
  font-size: 110%; }

.theme-button .moon {
  display: none; }

.theme-button svg {
  stroke: white; }

.theme-dark .theme-button .moon {
  display: block; }

.theme-dark .theme-button .sun {
  display: none; }

a {
  display: inline-block;
  color: var(--accent-color);
  text-decoration: underline;
  transition: color ease-out 250ms; }

a:hover {
  color: var(--accent-color-darker); }

.uppercase {
  text-transform: uppercase; }

.mgt-15 {
  margin-top: 15px; }

.mgb-15 {
  margin-bottom: 15px; }

.flex {
  display: flex; }

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center; }

.flex-column {
  display: flex;
  flex-direction: column; }

.grid-center {
  display: grid;
  place-items: center; }

iframe {
  height: 650px;
  width: 100%; }

.page-wrapper {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 10px; }

.content-container {
  margin: 30px 0; }

a[role=button], button {
  height: fit-content;
  width: fit-content;
  font-size: 16px;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 0px;
  color: var(--text-color-inverted);
  background-color: var(--accent-color);
  transition: 200ms ease-out background-color; }
  a[role=button]:hover, button:hover {
    background-color: var(--accent-color-darker); }

div[role=img][class=card-img] {
  width: 100%;
  background-size: cover;
  padding-top: 50%; }

.text-center {
  text-align: center; }

.box {
  border-radius: var(--border-radius);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65); }

.md-text {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto; }
  .md-text h2 {
    margin-top: 15px;
    margin-bottom: 15px; }
  .md-text h3, .md-text h4 {
    margin-bottom: 15px; }
  .md-text ul {
    list-style-position: inside;
    margin-bottom: 1rem; }
  .md-text p {
    margin-bottom: 15px; }

.page-section {
  margin: 30px 0; }

.section-title {
  margin-bottom: 15px; }

.poster {
  max-width: 100%; }

/* HEADER */
.page-header {
  height: 6rem;
  padding: 10px;
  background: var(--accent-color);
  color: var(--text-color-inverted);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); }

.page-header-bar {
  display: flex;
  justify-content: space-between; }

.page-logo {
  height: 100%;
  justify-content: flex-start;
  gap: 15px; }
  .page-logo .logo-text {
    color: var(--text-color-inverted);
    font-weight: bold;
    text-decoration: none; }
    .page-logo .logo-text:hover {
      color: var(--text-color-inverted-darker); }
  .page-logo img {
    background-color: var(--bg-white);
    border-radius: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }

/* Base styles for navigation */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  /* Ensure position context for the floating menu */ }

.page-nav-list {
  list-style-type: none; }

.page-nav-item {
  display: grid;
  place-items: center; }

.page-nav-item a {
  color: var(--text-color-inverted);
  border-bottom: 2px solid transparent; }
  .page-nav-item a:hover {
    color: var(--text-color-inverted-darker); }
  .page-nav-item a.active {
    border-bottom: 2px solid var(--text-color-inverted); }

.page-nav-button {
  background-color: var(--text-color-inverted);
  color: #000; }
  .page-nav-button:hover {
    background-color: var(--text-color-inverted-darker); }

/* Mobile styles */
@media (max-width: 900px) {
  .page-nav-container {
    display: none;
    /* Hidden by default */
    position: absolute;
    /* Position it relative to the parent (the button) */
    right: 0px;
    /* Add space from the right edge */
    top: 100%;
    /* Position it directly below the button */
    background-color: var(--bg-primary);
    /* Background color of the menu */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Optional: add shadow for better visibility */
    z-index: 1000;
    /* Ensure it appears above other content */
    border-radius: var(--border-radius-strong);
    /* Optional: rounded corners */ }
  #nav-button {
    display: block;
    /* Show the button */ }
  .page-nav-container.show {
    display: block;
    /* Show the menu when button is clicked */ }
  .page-nav-list {
    display: flex;
    flex-direction: column;
    /* Stack items vertically */
    padding: 0;
    /* Remove default padding */
    margin: 0;
    /* Remove default margin */
    justify-content: center;
    align-items: center; }
  .page-nav-item {
    margin: 0;
    /* Remove margins from items */
    min-width: 250px; }
  .page-nav-item a {
    width: 100%;
    display: block;
    /* Make the link fill the item */
    padding: 15px;
    /* Add padding for touch targets */
    text-decoration: none;
    /* Remove underline */
    color: var(--text-color);
    /* Link color */
    border-bottom: 1px solid var(--bg-tertiary);
    /* Optional: separator line between items */
    display: flex;
    justify-content: center;
    align-items: center; }
    .page-nav-item a.active {
      border-bottom: 1px solid var(--bg-tertiary); }
  .page-nav-item a:hover {
    color: var(--text-color);
    background-color: var(--bg-tertiary);
    /* Optional: hover effect */ }
  .page-nav-item:first-child a:hover {
    border-radius: var(--border-radius-strong);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0; }
  .theme-button {
    margin: 5px 0px; } }

/* Styles for desktop */
@media (min-width: 901px) {
  #nav-button {
    display: none;
    /* Hide the button */ }
  .page-nav-container {
    display: block;
    /* Show the menu on larger screens */
    position: static;
    /* Reset position */
    width: auto;
    /* Auto width */
    box-shadow: none;
    /* Remove shadow */
    background-color: transparent;
    /* Transparent background */
    border-radius: 0;
    /* Remove rounded corners */ }
  .page-nav-list {
    display: flex;
    flex-direction: row;
    /* Align items horizontally */
    gap: 10px;
    /* Space between items */ }
  .page-nav-item {
    margin: 0;
    /* Remove margins from items */ }
  .page-nav-item a {
    padding: 10px;
    /* Add padding for touch targets */
    text-decoration: none;
    /* Remove underline */ }
  .page-nav-item a:hover {
    background-color: transparent;
    /* Remove hover effect on desktop */ } }

/* LANDING */
/* The group photo is 3:2 with empty sky above and a little pavement below, so it can be
   cropped to about 2:1 without cutting anyone off. The hero is never flatter than 2:1 and
   never wider than 2000px; beyond that a blurred copy of the photo fills the sides.
   Small screens (<= 1100px): photo in full on top, banner below it. */
.main-hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: max(min(75vh, 66.667vw), min(50vw, 1000px));
  background-color: var(--accent-color-darker); }
  .main-hero-section::before {
    background: linear-gradient(180deg, rgba(157, 0, 255, 0.2), rgba(0, 0, 0, 0.8)), url("/images/laabfroesch-1200.webp") center / cover;
    content: '';
    position: absolute;
    z-index: -2;
    inset: -40px;
    filter: blur(24px); }
  .main-hero-section .hero-image {
    position: relative;
    height: inherit;
    max-width: 2000px;
    margin-inline: auto;
    isolation: isolate; }
  .main-hero-section .hero-image::after {
    background-image: linear-gradient(180deg, rgba(157, 0, 255, 0.2), rgba(0, 0, 0, 0.8)), url("/images/laabfroesch.webp");
    background-size: auto, cover;
    background-position: center, center 70%;
    background-repeat: no-repeat;
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0; }
  .main-hero-section .hero-banner {
    position: absolute;
    width: fit-content;
    max-width: 50%;
    bottom: clamp(20px, 7vh, 75px);
    left: 0;
    right: 0;
    margin-inline: auto;
    padding: 25px;
    color: var(--text-color-inverted);
    font-size: clamp(1.75rem, 2.4vw, 2.75rem);
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; }
    @media only screen and (min-width: 600px) and (max-width: 950px) {
      .main-hero-section .hero-banner {
        max-width: 100%; } }
    @media only screen and (max-width: 600px) {
      .main-hero-section .hero-banner {
        max-width: 100%;
        font-size: 2rem; } }
    .main-hero-section .hero-banner a, .main-hero-section .hero-banner button {
      margin-top: 1.25rem; }

@media only screen and (max-width: 1100px) {
  .main-hero-section {
    height: auto; }
    .main-hero-section::before {
      display: none; }
    .main-hero-section .hero-image {
      height: auto;
      padding-top: 66.667%; }
    .main-hero-section .hero-image::after {
      bottom: auto;
      aspect-ratio: 3 / 2;
      background-image: linear-gradient(180deg, rgba(157, 0, 255, 0.2), rgba(0, 0, 0, 0.8)), url("/images/laabfroesch-1200.webp");
      background-size: auto, 100% auto;
      background-position: center, center top; }
    .main-hero-section .hero-banner {
      position: static;
      max-width: 100%; } }

/* FOOTER */
.page-footer {
  padding: 2rem 10px;
  background: var(--bg-tertiary);
  color: var(--text-footer);
  display: flex;
  margin-top: auto; }

.footer-list {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 10px; }
  @media only screen and (max-width: 600px) {
    .footer-list {
      flex-direction: column;
      align-items: center; } }
  .footer-list li {
    display: flex;
    gap: 10px; }
    @media only screen and (max-width: 600px) {
      .footer-list li {
        gap: 0px; } }
    .footer-list li:not(:last-child)::after {
      content: '|'; }
      @media only screen and (max-width: 600px) {
        .footer-list li:not(:last-child)::after {
          content: ''; } }
.social {
  size: 24px; }
  .social li::after {
    content: "" !important; }
  .social li svg {
    height: 32px;
    width: 32px;
    background-color: #313131;
    fill: white;
    padding: 2px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center; }
  .social .instagram svg {
    background: #833ab4;
    background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045); }
  .social .facebook svg {
    background-color: #1877F2; }

/* LISTS AND CARDS */
.details-list {
  cursor: pointer; }
  .details-list summary {
    margin-bottom: 15px; }

.card-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 10px; }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  color: gray;
  font-size: 0.9rem;
  margin-bottom: 10px; }
  .card-meta span {
    display: flex;
    justify-content: flex-start;
    align-items: center; }
  .card-meta svg {
    stroke: currentColor;
    width: 16px;
    margin-right: 5px; }

.card {
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  padding: 10px;
  transition: 125ms ease-out box-shadow; }
  .card:hover {
    box-shadow: var(--card-shadow-hover); }
  .card a {
    color: var(--text-color);
    text-decoration: none;
    display: block; }
    .card a:hover {
      color: inherit; }
      .card a:hover h3 {
        color: var(--accent-color); }
  .card h3 {
    margin-bottom: 1rem;
    transition: 125ms ease-out color; }
  .card.no-pad {
    padding: 0; }
  .card.no-hover {
    transition: none; }
    .card.no-hover:hover {
      box-shadow: var(--card-shadow); }

.grid {
  display: grid;
  list-style: none;
  gap: 5px; }

.grid-2 {
  grid-template-columns: repeat(2, 1fr); }
  @media only screen and (max-width: 600px) {
    .grid-2 {
      grid-template-columns: repeat(1, 1fr); } }
  @media only screen and (min-width: 600px) and (max-width: 950px) {
    .grid-2 {
      grid-template-columns: repeat(1, 1fr); } }
.grid-4 {
  grid-template-columns: repeat(4, 1fr); }
  @media only screen and (max-width: 600px) {
    .grid-4 {
      grid-template-columns: repeat(1, 1fr); } }
  @media only screen and (min-width: 600px) and (max-width: 950px) {
    .grid-4 {
      grid-template-columns: repeat(1, 1fr); } }
.grid-75-25 {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 10px; }
  @media only screen and (min-width: 600px) and (max-width: 950px) {
    .grid-75-25 {
      grid-template-columns: 100%; }
      .grid-75-25 div:last-child {
        order: -1; } }
  @media only screen and (max-width: 600px) {
    .grid-75-25 {
      grid-template-columns: 100%; }
      .grid-75-25 div:last-child {
        order: -1; } }
.flex-grid-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; }
  .flex-grid-4 li {
    flex: 0 0 calc(25% - 15px);
    max-width: 400px;
    list-style: none; }
    @media only screen and (max-width: 600px) {
      .flex-grid-4 li {
        flex: 0 0 calc(50% - 15px); } }
    @media only screen and (min-width: 600px) and (max-width: 950px) {
      .flex-grid-4 li {
        flex: 0 0 calc(33% - 15px);
        list-style: none; } }
.portrait-card {
  width: 100%;
  text-align: center; }
  .portrait-card img {
    width: 100%;
    height: auto;
    border-radius: 100%; }

/* GALLERY */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; }
  @media only screen and (min-width: 600px) and (max-width: 950px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr); } }
  @media only screen and (max-width: 600px) {
    .gallery {
      grid-template-columns: repeat(1, 1fr); } }
  .gallery li {
    display: flex;
    justify-content: center;
    padding: inherit 0; }
    .gallery li a {
      text-decoration: none;
      height: 100%;
      width: 100%; }
      .gallery li a:hover {
        color: var(--accent-color); }
    .gallery li .card-footer {
      padding: 5px;
      margin-top: 15px;
      margin-bottom: 15px; }
      .gallery li .card-footer h3 {
        margin-bottom: 0; }

/* ALERTS */
.alert-banner {
  background-color: var(--bg-warn);
  border: 1px solid var(--fg-warn);
  color: var(--fg-warn);
  border-radius: var(--border-radius);
  padding: 5px;
  margin-bottom: 10px; }

/* EVENTS: CALENDAR VIEW */
.view-switch[hidden], #events-calendar[hidden], #events-list[hidden] {
  display: none; }

.view-switch {
  display: inline-flex;
  margin-bottom: 15px;
  border: 1px solid var(--accent-color);
  border-radius: var(--border-radius-strong);
  overflow: hidden; }
  .view-switch button {
    padding: 8px 18px;
    border: 0;
    background: transparent;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer; }
    .view-switch button[aria-pressed="true"] {
      background: var(--accent-color);
      color: #fff; }

.cal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px; }

.cal-month {
  flex: 1;
  text-align: center; }

.cal-nav-button {
  min-width: 40px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-strong);
  background: var(--bg-secondary);
  color: var(--text-color);
  font-size: 1.1rem;
  cursor: pointer; }
  .cal-nav-button:hover {
    background: var(--bg-tertiary); }

.cal-today-button {
  font-size: 0.9rem; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border-color);
  background: var(--border-color); }

.cal-weekday {
  padding: 6px 0;
  background: var(--bg-tertiary);
  text-align: center;
  font-size: 0.85rem;
  font-weight: bold; }

.cal-day {
  position: relative;
  min-height: 110px;
  padding: 4px;
  background: var(--bg-primary); }
  .cal-day.other-month {
    background: var(--bg-secondary); }
    .cal-day.other-month .cal-number {
      opacity: 0.45; }
  .cal-day.today .cal-number {
    background: var(--accent-color);
    color: #fff;
    border-radius: 100%; }

.cal-number {
  display: inline-block;
  min-width: 1.6rem;
  margin-bottom: 3px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6rem; }

.cal-event {
  display: block;
  margin-top: 3px;
  padding: 2px 5px;
  border-radius: var(--border-radius);
  background: var(--accent-color);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.3;
  text-decoration: none;
  overflow: hidden; }
  .cal-event:hover {
    background: var(--accent-color-darker);
    color: #fff; }
  .cal-event.past {
    opacity: 0.55; }
  .cal-event .cal-time {
    margin-right: 4px;
    font-weight: bold; }

.cal-agenda {
  display: none;
  list-style: none;
  margin-top: 15px; }

.cal-agenda-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color); }
  .cal-agenda-item.past {
    opacity: 0.55; }

.cal-agenda-date {
  min-width: 3.2rem;
  font-weight: bold; }

.cal-agenda-link {
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  text-decoration: none; }
  .cal-agenda-link .cal-time {
    font-size: 0.85rem;
    color: gray; }
  .cal-agenda-link .cal-title {
    font-weight: bold; }
  .cal-agenda-link .cal-location {
    font-size: 0.85rem;
    color: gray; }

/* Phones: no room for titles in the grid, show a marker and list the events below. */
@media only screen and (max-width: 700px) {
  .cal-day {
    min-height: 48px;
    text-align: center; }
  .cal-event {
    display: none; }
  .cal-day.has-events::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    margin: 0 auto;
    border-radius: 100%;
    background: var(--accent-color); }
  .cal-agenda {
    display: block; } }
