/* Meddelande: Non Parlo Italiano har slagit ihop sig med Cucina Povera */

/* Mörka ner bildspelet så texten går att läsa */
.main-wrapper .section:first-child {
  position: relative;
}

.main-wrapper .section:first-child::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 1;
}

.main-wrapper .section:first-child .padding-global {
  position: relative;
  z-index: 2;
}

.announcement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 5rem;
  padding-bottom: 3rem;
  color: var(--base-color-neutral--white);
  text-align: center;
}

.announcement p {
  margin: 0;
}


.announcement_heading {
  font-family: Syne, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.announcement_logo-link {
  display: block;
  margin-top: .25rem;
  margin-bottom: .25rem;
  transition: opacity 0.2s ease;
}

.announcement_logo-link:hover {
  opacity: .7;
}

.announcement_logo {
  display: block;
  height: 3.25rem;
  width: auto;
}

.announcement_text {
  font-size: 1.125rem;
  line-height: 1.5;
}

.announcement_text a {
  color: var(--base-color-neutral--white);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.announcement_button {
  margin-top: .75rem;
  padding: .25rem 1.5rem;
  font-size: 1rem;
}

.announcement_button:hover {
  background-color: var(--base-color-neutral--black);
  border-color: var(--base-color-neutral--white);
  color: var(--base-color-neutral--white);
}


/* Gubben ligger ovanför mörkläggningen */
.main-wrapper .section:first-child .image-6 {
  z-index: 2;
}

/* Gubben krockar inte med texten på mellanstora skärmar */
@media screen and (max-width: 1200px) and (min-width: 900px) {
  .main-wrapper .section:first-child .image-6 {
    width: 14vw;
  }
}

/* Mobil: logga överst, gubbe, sedan meddelandet */
@media screen and (max-width: 899px) {
  .main-wrapper .section:first-child {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .hero_grid {
    justify-content: center;
    padding-top: 4.5rem;
  }

  .image-6 {
    max-width: 32vw;
    max-height: 18svh;
    margin-top: 0;
    margin-bottom: 0;
  }

  .announcement {
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .announcement_heading {
    font-size: 1.5rem;
  }

  .announcement_logo {
    height: 2.6rem;
  }

  .announcement_text {
    font-size: 1rem;
  }
}
