/* =========================
   MP HERO (Header section)
   ========================= */

.mp-hero {
  background: var(--clr-4);
  /* padding: 48px 16px 64px; */
  overflow: hidden;
  min-height: 520px;
}

.mp-hero__inner {
  max-width: 1136px;
  margin: 0 auto;
  min-height: inherit; /* “header” tunne */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  position: relative;
}

/* logo üleval */
.mp-hero__logo {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  pointer-events: none;

  padding: 20px;
  /* background: #fff; */
}

.mp-hero__logo img {
  width: clamp(200px, 18vw, 250px);
  height: auto;
  display: block;
}

/* suur kuupäev */
.mp-hero__date {
  font-family: var(--font-secontary);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  color: #000;
  margin-top: clamp(300px, 26vw, 280px); /* jätab logo alla ruumi */
}

/* pealkiri */
.mp-hero__headline {
  margin: 0;
  font-family:
    "Oswald",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-weight: 400;
  color: var(--clr-6);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
}

/* all caps rida */
.mp-hero__sub {
  font-family:
    "Oswald",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--clr-6);
  font-size: clamp(32px, 5vw, 64px);
}

/* käed overlay teksti peal */
.mp-hero__hands {
  position: absolute;
  left: 50%;
  bottom: -10px; /* natuke alla */
  transform: translateX(-50%);
  width: min(500px, 86vw);
  pointer-events: none;
  z-index: 99;
  display: none;
}

.mp-hero__hands img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tõsta tekst overlay’st “üle” */
.mp-hero__date,
.mp-hero__headline,
.mp-hero__sub {
  position: relative;
  z-index: 6;
}

/* responsive */
@media (max-width: 980px) {
  .mp-hero {
    padding: 42px 14px 10px;
    min-height: 475px;
  }

  .mp-hero__inner {
    min-height: 50vh;
  }

  .mp-hero__logo {
    top: 80px;
    padding: 0;
  }

  .mp-hero__hands {
    width: min(720px, 96vw);
    bottom: -16px;
  }

  .mp-cards__grid {
    gap: 25px;
  }
}
