/* swiper */
.mobile-swiper {
  width: 80%;
  margin: 0 auto;
  opacity: 1;
  height: auto;
}

.swiper-slide {
  overflow: hidden;
  transform-origin: top center;
  position: relative;
}

.swiper-slide.swiper-slide-active {
  z-index: 2;
}

.swiperPrev,
.swiperNext {
  display: flex;
  align-items: center;
  justify-content: center;
  stroke: black;
  transition: stroke 0.15s linear;
  cursor: pointer;
}

/* grid */
#grid {
  display: grid;
  grid-template-columns: 1fr;
}

#zitat {
  font-family: "BoogyBrut";
  color: white;
  background-color: var(--clr-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
}

#magnet {
  background-color: var(--clr-violet);
  color: white;
}

.hero-text-container {
  z-index: 5;
}

.hero-text-container-inner {
  padding: 2rem 1rem 2rem 2rem;
}

.hero-text {
  font-size: clamp(24px, 3vw, 50px);
  font-weight: normal;
  line-height: 1;
}

.arrow-down {
  transform: translateY(0px);
  transition: transform var(--trs) ease-in-out;
}

.arrow-down:hover {
  transform: translateY(5px);
  transition: transform var(--trs) ease-in-out;
}

.single-news {
  border-right: 1px solid black;
  padding: 0 1rem;
}

.single-news p a {
  word-break: break-all;
}

.single-news:first-child {
  padding: 0 1rem 0 0;
}

.single-news:nth-child(4),
.single-news:last-child {
  border-right: none;
  padding: 0 0 0 1rem;
}

.news-display {
  width: 100%;
  aspect-ratio: 16/9;
}

.news-video {
  background-color: black;
}

.magnet-button {
  border-bottom: 1px solid white;
  padding: 0;
  margin: 0;
  line-height: normal;
}

.magnet-link {
  border-bottom: 1px solid white;
}

/* amtswochen banner */
#amtswochen {
  background-color: var(--clr-yellow-light);
}

.amtswochen-titel {
  line-height: 0.9;
}

.amtswochen-text {
  line-height: 1.1;
}

@media screen and (min-width: 860px) {
  #grid {
    grid-template-rows: auto 1fr;
    grid-template-columns: 2fr 1fr;
  }

  #publikationen {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  #zitat {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  #magnet {
    color: white;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
}

@media screen and (min-width: 1024px) {
  #grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 2fr max-content;
  }
}

/* swiper modal */
[data-swiper] {
  min-height: 300px;
  overflow: hidden;
  aspect-ratio: 16/9;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

[data-swiper] .swiper-slide {
  background-color: cadetblue;
  width: 100% !important;
  overflow: hidden !important;
}

.swiper-modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  stroke: black;
  transition: stroke 0.15s linear;
  cursor: pointer;
}

.swiper-modal-button>svg path {
  stroke: var(--clr-beige);
}

.swiper-button-disabled {
  cursor: auto;
  opacity: .5;
}

.swiper-button-disabled>svg path {
  stroke: rgb(181, 181, 181);
}