@import url("https://fonts.googleapis.com/css?family=Raleway:300,500,600&display=swap");

/* =========================================================
   BREATH MATTERS HOME PAGE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #575b72;
  color: rgba(67, 75, 86, 0.82);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14pt;
  font-weight: 300;
  line-height: 1.65;
  -webkit-text-size-adjust: none;
}

body.is-menu-visible {
  overflow: hidden;
}

a {
  color: #434b56;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #f1c9c9;
  outline-offset: 3px;
}

h1,
h2,
h3 {
  color: #434b56;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p {
  margin: 0 0 1.5em;
}

hr {
  margin: 2.5em 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#page-wrapper {
  width: 100%;
  overflow-x: hidden;
}

.wrapper {
  width: 100%;
}

.site-shell {
  padding: 2em;
  background: #4e5266;
}

.wrapper > .inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25em;
  margin: 0 0 2em;
}

.site-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #ffffff;
}

.site-logo:hover,
.site-logo:focus-visible {
  text-decoration: none;
}

.site-logo img {
  width: clamp(130px, 20vw, 220px);
  max-height: 104px;
  object-fit: contain;
}

.site-logo span {
  margin-left: 1em;
  padding-left: 1em;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75em;
  flex-shrink: 0;
}

.header-donate,
.menu-toggle {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0.72em 1.2em;
  font: inherit;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.header-donate {
  background: #8f3342;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.header-donate:hover,
.header-donate:focus-visible {
  background: #a53d4e;
  text-decoration: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

/* =========================================================
   SLIDE-OUT MENU
   ========================================================= */

#menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10002;
  width: min(22em, 88vw);
  height: 100dvh;
  padding: 4em 2em 2em;
  overflow-y: auto;
  background: #4cabb1;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s ease, box-shadow 0.35s ease;
}

body.is-menu-visible #menu {
  transform: translateX(0);
  visibility: visible;
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.28);
}

.menu-close {
  position: absolute;
  top: 0.55em;
  right: 0.65em;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 2em;
  line-height: 1;
  cursor: pointer;
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu-notice {
  margin-bottom: 1.25em;
  padding: 1em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1.5;
}

#menu .links {
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu .links li {
  margin: 0;
  padding: 0;
}

#menu .links a {
  display: block;
  padding: 0.9em 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 500;
  line-height: 1.35;
}

#menu .links li:first-child a {
  border-top: 0;
}

#menu .links a:hover,
#menu .links a:focus-visible {
  color: #ffffff;
  text-decoration: none;
}

#menu .links .donate-menu-item {
  margin: 0.65em 0 0.85em;
  padding: 0.9em 1.15em;
  border: 0;
  border-radius: 999px;
  background: #8f3342;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 14px rgba(42, 9, 15, 0.24);
}

#menu .links .donate-menu-item:hover,
#menu .links .donate-menu-item:focus-visible {
  background: #a53d4e;
}

.menu-social {
  display: flex;
  gap: 0.75em;
  margin: 1.5em 0;
}

.menu-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.menu-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.menu-hotline {
  color: #ffffff;
  font-weight: 500;
}

.menu-hotline a {
  color: #ffffff;
  font-weight: 600;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(31, 34, 45, 0.62);
}



/* =========================================================
   NEXT MEETING FEATURE
   ========================================================= */

main {
  display: block;
  width: 100%;
}

.meeting-feature {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(280px, 35fr);
  align-items: stretch;
  gap: 1.5em;
  width: 100%;
  margin: 0;
}

.meeting-flyer {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
  line-height: 0;
}

.meeting-flyer:hover,
.meeting-flyer:focus-visible {
  text-decoration: none;
}

.meeting-flyer img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border: 0;
}

.meeting-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5em, 3vw, 2.6em);
  border-radius: 6px;
  background: #eef8fb;
  color: #434b56;
  box-shadow: inset 0 0 0 1px rgba(35, 92, 124, 0.14);
}

.meeting-summary h1 {
  margin: 0 0 0.75em;
  color: #174e72;
  font-size: clamp(1.55em, 2.7vw, 2.25em);
  line-height: 1.2;
}

.meeting-summary p {
  margin: 0 0 1.25em;
}

.meeting-kicker {
  margin-bottom: 0.55em !important;
  color: #8f3342;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meeting-details-button {
  align-self: flex-start;
  display: inline-block;
  margin-top: 0.25em;
  padding: 0.85em 1.35em;
  border-radius: 999px;
  background: #8f3342;
  color: #ffffff;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(67, 20, 29, 0.2);
}

.meeting-details-button:hover,
.meeting-details-button:focus-visible {
  background: #a53d4e;
  color: #ffffff;
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .meeting-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 1em;
  }

  .meeting-flyer,
  .meeting-flyer img {
    width: 100%;
  }

  .meeting-summary {
    padding: 1.5em;
  }
}

@media screen and (max-width: 480px) {
  .meeting-feature {
    display: block;
  }

  .meeting-flyer,
  .meeting-flyer img {
    width: 100%;
    border-radius: 0;
  }

  .meeting-summary {
    margin: 0;
    border-radius: 0;
  }
}

/* =========================================================
   HERO AND VIDEOS
   ========================================================= */

.bm-static-hero {
  display: block;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  line-height: 0;
}

.bm-static-hero picture,
.bm-static-hero img {
  display: block;
  width: 100%;
}

.video-section {
  display: grid;
  gap: 2em;
  margin-top: 2em;
}

.videomark2 {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 4px;
  background: #000000;
}

.videomark2 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

#footer {
  margin-top: 4em;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

#footer h2,
#footer h3,
#footer strong {
  color: #ffffff;
}

.support-message {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1em;
  font-weight: 500;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: min(460px, 82vw);
  margin: 0 auto;
}

.footer-tagline {
  margin: 1.5em 0 0.75em;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#bottommenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 1em;
}

#bottommenu a {
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
}

#bottommenu a:hover,
#bottommenu a:focus-visible {
  color: #d7eef2;
}

.copyright {
  color: rgba(255, 255, 255, 0.55);
}

.disclaimer {
  max-width: 940px;
  margin-right: auto;
  margin-left: auto;
  font-size: 0.83em;
  line-height: 1.65;
}

#footer a {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 980px) {
  body {
    font-size: 12pt;
  }

  .site-shell {
    padding: 1.5em;
  }

  .site-logo span {
    max-width: 260px;
  }
}

@media screen and (max-width: 736px) {
  .site-shell {
    padding: 1em;
  }

  #header {
    gap: 0.75em;
    margin-bottom: 1em;
  }

  .site-logo img {
    width: clamp(115px, 32vw, 165px);
  }

  .site-logo span {
    display: none;
  }

  .header-donate {
    display: none;
  }

  .menu-toggle {
    padding-right: 1em;
    padding-left: 1em;
  }

  #menu {
    padding-right: 1.5em;
    padding-left: 1.5em;
  }

  #footer {
    margin-top: 3em;
  }
}

@media screen and (max-width: 480px) {
  .site-shell {
    padding: 0;
  }

  #header {
    min-height: 64px;
    margin: 0;
    padding: 0.55em 0.85em;
  }

  .site-logo img {
    width: 116px;
    max-height: 54px;
  }

  .menu-toggle {
    min-height: 40px;
    padding: 0.65em 0.85em;
  }

  .menu-toggle span:last-child {
    display: none;
  }

  .bm-static-hero,
  .videomark2 {
    border-radius: 0;
  }

  .video-section {
    gap: 1em;
    margin-top: 1em;
  }

  #footer {
    padding: 0 1.25em 2em;
  }
}
