/* Styles for src/pages/ourPrograms.html. */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  line-height: 1.7;

  background:
    linear-gradient(rgba(255, 245, 220, 0.78), rgba(210, 235, 210, 0.9)),
    url("../../../assets/forest-sunlit-meadow.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

#ourProgramsContent {
  width: 100%;
  max-width: 1000px;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-radius: 18px;
  padding: 2.5rem 2rem 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  color: #1a1a1a;
}

h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2.1rem;
  letter-spacing: 0.06em;
  color: #204321;
}

h2 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #234422;
}

h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: #234422;
}

span {
  display: block;
  margin-bottom: 1rem;
}

a {
  color: #b3362d;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  text-decoration-color: #b3362d;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: #7f241f;
  border-bottom-color: #7f241f;
}

@media (max-width: 640px) {
  body {
    padding: 1.75rem 1rem;
  }

  #ourProgramsContent {
    padding: 1.9rem 1.25rem 2.25rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}

.normal-whitespace {
  white-space: normal;
}

.calendar-link {
  color: #b3362d;
  text-decoration: underline;
  text-decoration-color: #b3362d;
}

.calendar-link-inline {
  display: inline;
  color: #b3362d;
  text-decoration: underline;
  text-decoration-color: #b3362d;
}
