* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  font:
    1.1rem/1.65 Arial,
    sans-serif;
  color: #102f42;
  background: #fbfcfa;
}
a {
  color: inherit;
}
header,
main,
footer {
  width: min(1150px, 92%);
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  border-bottom: 1px solid #cbdadd;
  gap: 1rem;
}
header b {
  font-size: 1.35rem;
}
header b:before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    #f45b66 25%,
    #ffbd44 25% 45%,
    #48ba98 45% 65%,
    #4793bf 65% 80%,
    #9569b7 80%
  );
  margin-left: 0.55rem;
}
nav {
  display: flex;
  gap: 1.35rem;
}
nav a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.menu {
  display: none;
}
button,
.cta {
  font: inherit;
  cursor: pointer;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 5%;
  padding: 3rem 0;
}
.hero img {
  width: 100%;
  height: clamp(300px, 34vw, 450px);
  object-fit: cover;
  border-radius: 6rem 0.8rem 0.8rem 0.8rem;
  background: #008897;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin: 0;
}
h1 span {
  color: #007477;
}
p {
  max-width: 55ch;
}
.cta {
  display: inline-block;
  border: 0;
  text-decoration: none;
  background: #103c49;
  color: white;
  padding: 0.65rem 1.3rem;
  border-radius: 2rem;
  font-weight: bold;
}
.section {
  padding: 2rem 0;
  border-top: 1px solid #beced0;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0.2rem 0 1rem;
}
h3 {
  margin: 0.25rem 0;
}
small {
  font-size: 0.9rem;
  color: #47636b;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid #c9d7d6;
}
.row time {
  direction: ltr;
}
.archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.archive img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
}
figure {
  margin: 0;
}
details {
  border-bottom: 1px solid #c8d6d9;
  padding: 0.75rem 0;
}
summary {
  cursor: pointer;
  font-weight: bold;
}
.contact {
  background: #dff3ee;
  padding: 2rem;
  border-radius: 1.5rem;
  margin: 1rem 0 2rem;
}
label {
  display: block;
  font-weight: bold;
}
input,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.55rem;
  border: 1px solid #839c9e;
  border-radius: 0.4rem;
  background: white;
  margin-bottom: 0.65rem;
}
footer {
  padding: 1rem 0 2rem;
  color: #47636b;
}
@media (max-width: 750px) {
  header {
    flex-wrap: wrap;
  }
  .menu {
    display: block;
    border: 1px solid #aec2c3;
    background: white;
    border-radius: 2rem;
    padding: 0.25rem 1rem;
  }
  nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
  }
  nav.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding: 1.8rem 0;
  }
  .hero img {
    height: 210px;
    border-radius: 3rem 0.6rem 0.6rem 0.6rem;
  }
  .grid,
  .archive {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .section {
    padding: 1.5rem 0;
  }
  .contact {
    padding: 1.2rem;
  }
  .archive img {
    height: 190px;
  }
}
body {
  color: #10334e;
  background-color: #f5fbfc;
  background-image:
    radial-gradient(ellipse at 96% 4%, #c4eceb99, transparent 44%),
    radial-gradient(ellipse at 3% 68%, #ded7f280, transparent 48%),
    repeating-radial-gradient(
      ellipse at 0% 125%,
      transparent 0 42px,
      #147b8a0b 43px 44px,
      transparent 45px 64px
    );
  background-size:
    100% 100%,
    100% 100%,
    100% 42rem;
}
.past-events {
  align-self: start;
  background: #fffffff0;
  padding: 1rem 1.25rem;
  border: 1px solid #bdd9db;
  border-radius: 1rem;
}
.past-events > summary {
  font-size: 1.5rem;
}
.past-events > article {
  padding-block: 1rem;
}
.past-events > article + article {
  border-top: 1px solid #c8d6d9;
}
nav {
  flex-wrap: wrap;
}
.team-logo {
  width: 120px;
  height: 76px;
  object-fit: contain;
  display: block;
}
header {
  padding: 0.45rem 0;
}
h1 span {
  color: #075481;
}
.cta {
  background: #084d75;
}
.hero p {
  max-width: 36ch;
}
.section {
  padding-block: 2.2rem;
}
.hero-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.place {
  padding: 1rem 1.25rem;
  border-radius: 0.7rem;
  background: #eaf4f7;
}
.club {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #123954;
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
}
.club img {
  width: 155px;
  display: block;
}
.club a {
  color: white;
}
.club p {
  margin: 0;
}
footer small {
  display: block;
  margin-top: 1rem;
}
@media (max-width: 750px) {
  .team-logo {
    height: 64px;
    width: 100px;
  }
  .club {
    align-items: flex-start;
    flex-direction: column;
  }
  .section {
    padding-block: 1.4rem;
  }
}
.meeting-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}
.photo-tile {
  padding: 0;
  border: 0;
  background: transparent;
}
.photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.6rem;
}
#photo-view {
  max-width: 94vw;
  border: 0;
  border-radius: 1rem;
  padding: 0.8rem;
}
#photo-view::backdrop {
  background: #091c2de0;
}
#photo-view img {
  display: block;
  max-width: 85vw;
  max-height: 72vh;
  object-fit: contain;
  margin: auto;
}
#photo-view form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
}

