@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background-color: black;
}
.hero {
  width: 100%;
  height: 85vh;
  position: relative;
  display: flex;
}
.hero__content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 8vh;
}
.hero__news {
  position: relative;
  height: 100%;
  overflow: hidden;
  background-color: #5f7493;
  padding-bottom: 64px;
}
.hero__news a {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  display: flex;
  opacity: 0.8;
}
.hero__news img {
  object-fit: contain;
  object-position: center;
  height: 110%;
  width: auto;
}
.hero__content img {
  min-width: 200px;
}
.hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__headline {
  padding: 1rem 2rem;
  margin: 0 auto;
  margin-bottom: 4rem;
  color: white;
  font-size: clamp(2rem, 1.3077rem + 2.3077vw, 5rem);
  text-align: center;
  line-height: 1.2;
  max-width: 24ch;
}
.button-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.button-wrapper a {
  background-color: white;
  padding: 1rem 2rem;
  width: fit-content;
  display: block;
}
.content {
  padding: 10vh 1rem;
  max-width: 96ch;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}
.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.content > div + div {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.207);
}
.content h2 {
  font-size: 2rem;
  color: white;
  margin: 0 auto;
  margin-bottom: 1rem;
}
.content p {
  color: white;
}
.content p + p {
  margin-top: 1rem;
}
.content a {
  color: white;
  width: fit-content;
  margin: 1rem auto;
  display: inline-flex;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.img-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

footer,
header {
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
  background-color: black;
  color: white;
  padding: 1rem;
}
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
  }
  .hero:has(.hero__news) {
    height: 100%;
  }
  footer,
  header {
    gap: 0.5rem;
    height: 5rem;
  }
  .news > div {
    grid-column: span 2;
  }
}
@media (max-width: 460px) {
  .hero {
    width: 100%;
    height: calc(100vh - 7rem);
    position: relative;
  }
  .hero:has(.hero__news) {
    height: 100%;
  }
  .hero__news a {
    bottom: 2.5rem;
  }
  .hero__content {
    padding: 2rem;
  }
  footer,
  header {
    gap: 0.5rem;
    height: 6rem;
  }
}
.text-wrapper h1,
.text-wrapper h2,
.text-wrapper h3,
.text-wrapper h4,
.text-wrapper h5,
.text-wrapper h6 {
  font-weight: 500;
}
.text-wrapper {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  font-weight: 300;
  max-width: 80ch;
  margin: 0 auto;
  padding: 10vh 0;
}
.text-wrapper h1 {
  margin-bottom: 5vh;
}
.text-wrapper p + h3,
.text-wrapper p + h4,
.text-wrapper p + h5,
.text-wrapper p + h6 {
  margin-top: 2.5rem;
}
.text-wrapper h1 + p,
.text-wrapper h2 + p,
.text-wrapper h3 + p,
.text-wrapper h4 + p,
.text-wrapper h5 + p,
.text-wrapper h6 + p {
  margin-top: 1rem;
}
.text-wrapper p + p {
  margin-top: 1rem;
}
.text-wrapper h2 + h3,
.text-wrapper h3 + h4 {
  margin-top: 1rem;
}
.text-wrapper p + h2 {
  margin-top: 4rem;
}
.text-wrapper ul {
  list-style: disc;
}
.text-wrapper ul li {
  padding-left: 0.25rem;
  margin-left: 1rem;
}
.text-wrapper ul li + li {
  margin-top: 0.5rem;
}
.text-wrapper p + ul,
.text-wrapper ul + p {
  margin-top: 1rem;
}
.text-wrapper a {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
