  .switch-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
  }

.switch-banner {
  border-radius: 24px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  color: #000;
  background: #fff;
  justify-content: flex-start; /* místo space-between */
  height: auto; 
}
  
  .switch-banner h2 {
    font-size: 32px;
    font-weight: 300;
  }
  .switch-banner strong {
    font-weight: 600;
  }
  .switch-banner a {
    font-weight: 300;
    text-decoration: none;
    color: #5B42FF;
  }
  .switch-banner a:hover {
    text-decoration: underline;
  }
    
  .switch-banner img {
    width: 100%;
    margin: 0;
    object-fit: cover;
  }

.banner-images-switch {
  display: flex;
  gap: 16px;
}

.banner-images-switch img {
  width: 22%;
  object-fit: cover;
}
  .switch-banner p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 300;
    line-height: 1.4;
  }

  .switch-buttons {
    display: flex;
    gap: 10px;
  }

  .switch-buttons button {
    padding: 10px 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.8s;
    margin-top: 20px;
  }
  .switch-buttons button:hover {
    background: #404040;
  }
  .switch-buttons-white {
    display: flex;
    gap: 10px;
  }

  .switch-buttons-white button {
    padding: 10px 16px;
    background: #f1f1f1;
    color: black;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.8s;
  }
  .switch-buttons-white button:hover {
    background: #ccc;
  }  
    
.subtitle {
  font-size: 13px;
  color: #5b42ff;
  margin-top: 0px;    /* mezera pod h3 */
  margin-bottom: 0px; /* mezera nad obrázkem */
  display: block;
}
.subtitle-2 {
  font-size: 13px;
  color: #fff;
  margin-top: 0px;    /* mezera pod h3 */
  margin-bottom: 0px; /* mezera nad obrázkem */
  display: block;
}

.switch-banner.image-bg {
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  padding: 24px;
}

.switch-banner.image-bg img.bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.switch-banner.image-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0,0,0,0.1) 50%);
  z-index: 1;
  pointer-events: none;
}

.switch-banner.image-bg .banner-top,
.switch-banner.image-bg .banner-bottom {
  position: relative;
  z-index: 2;
}
.banner-bottom {
  max-width: 300px;
}

.switch-banner.image-bg .banner-top {
  margin-bottom: auto;
}

.switch-banner.image-bg .banner-bottom {
  margin-top: auto;
}

.switch-banner.image-bg .switch-buttons button {
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.switch-banner.image-bg .switch-buttons button:hover {
  background: rgba(255, 255, 255, 0.3);
}
.span-2 img {
width: 50%;
margin: 0!important;
}

  /* Barvy pozadí */
  .bg-yellow { background-color: #f9f0d8; }
  .bg-purple { background-color: #867bff; color: white; }
  .bg-purple-light { background-color: #F3F3FF; color: black; }
  .bg-black { background-color: #1a1a1a; color: white; }
  .bg-blue { background-color: #e5f0ff; }
  .bg-white { background-color: #ffffff; color: black; }
  .bg-gray { background-color: #f5f5f7; color: black; }
  .bg-orange { background-color: #FFD1A5; color: black; }
  .bg-dark-gray { background-color: #9BA3AF; color: white; }

  /* Velikosti jako z obrázku */
  .span-1 { grid-column: span 1; }
  .span-2 { grid-column: span 2; }

  @media (max-width: 1200px) {
    .switch-banners {
      grid-template-columns: repeat(2, 1fr);
    }

    .span-2 {
      grid-column: span 2;
    }
  }

  @media (max-width: 768px) {
    .switch-banners {
      grid-template-columns: 1fr;
    }

    .span-1, .span-2 {
      grid-column: span 1;
    }
  }
  
/*  .switch-image {
  flex: 1 1 40%;
  background: #f1f1f1;
  padding: 40px;
  border-radius: 24px;
}

.switch-image img {
  width: 21%;
  padding: 5px;
} */

/* --- Úprava responzivity switch-banners --- */
@media (max-width: 1024px) {
  .switch-banners {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .switch-banners {
    grid-template-columns: 1fr;
  }

  .switch-banner img {
    width: 100%;
    margin-top: 16px;
  }

  .banner-images-switch {
    flex-wrap: wrap;
    justify-content: center;
  }

  .banner-images-switch img {
    width: 45%;
  }
}

/* --- Vylepšení vzhledu jednotlivých bannerů --- */
.switch-banner {
  align-items: flex-start;
  text-align: left;
}

.switch-banner img {
  margin: 0 auto;
}


/* Nové rozvržení obrázků – více vedle sebe i na mobilech */
.banner-images-switch {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 10px;
}

.banner-images-switch img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Zmenšení mezery pod h2 */
.switch-banner h2 {
  margin-bottom: 20px;
}


@media (max-width: 600px) {
  .banner-images-switch {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }

  .banner-images-switch img {
    width: 100%;
    height: auto;
  }
}


/* Výchozí rozvržení .switch-image */
.switch-image {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  max-height: 300px;          /* ✅ Nové omezení výšky */
  overflow-y: auto;           /* ✅ Nový svislý scroll */
}


.switch-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 90px;
}
@media (max-width: 600px) {
  .switch-image {
    grid-template-columns: repeat(3, 1fr);
  }

  .switch-image img {
    max-width: 120px; /* nebo třeba 100px podle potřeby */
  }
}

.switch-banners ul,
.switch-banners ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
    font-size: 14px;
    font-weight: 300;
}

.switch-banners ul {
  list-style-type: disc;
}

.switch-banners ol {
  list-style-type: decimal;
}

.switch-banners li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}