.flex-akce {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
.flex-akce section > div {
    position: relative;
    background-color: burlywood;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    border-radius: 10px;
    height: 200px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.flex-akce section > div::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-zastineni);
    border-radius: 10px;
    z-index: -1;
}
.flex-akce section > div:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.flex-akce section > div > a {
    text-decoration: none;
}
.flex-akce section > div > a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.flex-akce h2 {
    margin: 0;
    font-weight: 800;
}
h1 {
    margin-bottom: 30px;
    font-style: italic;
}
p {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 5px;
}
@media (min-width: 768px) {
    .flex-akce {
        flex-direction: row;
    }
    .flex-akce section {
        flex: 1;
    }
}

.swiper.mySwiper {
  width: 100%;
  height: 60vh;
  border-radius: 10px;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  bottom: 30px;
  left: 20px;
  margin-right: 20px;
  background-color: rgba(0,0,0,0.5);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
}