* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sky: #dceafa;
  --blue: #a9d0fb;
  --ink: #303032;
  --muted: #4f5d6b;
}

body {
  background: var(--sky);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 270px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #b9cce2 url("../images/hero.jpg") center / cover;
}

.brand {
  position: absolute;
  top: 25px;
  left: clamp(22px, 8vw, 130px);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: contain;
}

.brand span {
  font-size: 20px;
  line-height: 0.95;
}

.brand b {
  display: block;
}

.hero-title {
  color: var(--ink);
  font-family: "Bungee Shade", fantasy;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.15;
  letter-spacing: 3px;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(25px, 8vw, 115px);
  padding: 25px 20px;
  background: var(--blue);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  display: none;
  min-width: 220px;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 4px 12px rgba(48, 48, 50, 0.2);
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

nav a:hover,
nav a.active {
  color: #59636d;
}

.news-intro {
  min-height: 360px;
  padding: 45px 8vw;
  background: var(--sky);
  text-align: left;
}

.news-intro h2 {
  margin-bottom: 18px;
  font-family: "helvetica-w01-bold", Helvetica, Arial, sans-serif;
  font-size: clamp(38px, 5vw, 56px);
}

.news-intro p {
  max-width: 650px;
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.8;
}

footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  gap: 30px;
  padding: 45px 8vw 30px;
  background: #9fc8f6;
}

footer h4 {
  margin-bottom: 12px;
}

footer p {
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-self: end;
  gap: 10px;
  font-weight: 700;
}

.social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
}

.social img {
  width: 22px;
  height: 22px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(48, 48, 50, 0.18);
  font-size: 13px;
}

@media (max-width: 700px) {
  .hero {
    min-height: 330px;
    display: block;
    padding: 25px 22px;
  }

  .brand {
    top: 22px;
    left: 22px;
  }

  .hero-title {
    margin-top: 120px;
    font-size: 37px;
  }

  nav {
    justify-content: space-between;
    gap: 14px;
    padding: 22px 14px;
    font-size: 11px;
  }

  .news-intro {
    min-height: 300px;
    padding: 35px 22px;
  }

  footer {
    display: block;
    padding: 45px 25px 25px;
  }

  footer > * {
    margin-bottom: 30px;
  }

  .footer-links {
    align-items: flex-start;
  }
}
