body {
  font-family: "Lato", sans-serif;
}

.est-bronze {
  background-color: #bf8970 !important;
}

.est-slides {
  display: none;
}

.est-blue,
.est-hover-blue:hover {
  color: #fff !important;
  background-color: #000044 !important;
}

.est-hover-text-blue:hover {
  color: #000044 !important;
}

.est-hover-text-black:hover {
  color: #000000 !important;
}

.est-margin-bottom-0 {
  margin-bottom: 0px;
}

.est-margin-top-0 {
  margin-top: 0px;
}

.w-footer-link,
.w-footer-link:focus,
.w-footer-link:visited {
  color: #999;
  text-decoration: none;
}

.w-footer-link:active,
.w-footer-link:hover {
  color: #00ccff;
  text-decoration: none;
}

ul.links {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

ul.links li {
  color: #aaa;
  padding-left: 0;
  margin-left: 0;
}

@media (max-width: 993px) and (min-width: 769px) {
  h1.brand {
    font-size: 30px;
  }
  img.brand {
    width: 83%;
    height: auto;
  }
}

@media (max-width: 768px) and (min-width: 601px) {
  h1.brand {
    font-size: 24px;
  }
  img.brand {
    width: 67%;
    height: auto;
  }
}

.est-img {
  width: 100%;
  height: auto;
  padding: 0 8px 8px 0;
}

article {
  margin-bottom: 50px;
}

.w3-padding-medium {
  padding: 12px 12px !important;
}

.ksc-grid-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(300px, 1fr)
  ); /* Automatische Spaltenanpassung */
  gap: 10px; /* Abstand zwischen den Bildern */
  width: 100%; /* Breite des Containers */
  max-width: 1200px; /* Maximalbreite des Containers */
}

.ksc-grid-container-mini {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(180px, 1fr)
  ); /* Automatische Spaltenanpassung */
  gap: 5px; /* Abstand zwischen den Bildern */
  width: 100%; /* Breite des Containers */
  max-width: 1200px; /* Maximalbreite des Containers */
  margin-bottom: 10px;
}

.ksc-image-container {
  width: 100%; /* Vollständige Breite des Containers */
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* Macht den Container quadratisch (100% Höhe von der Breite) */
}

.ksc-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Vollständige Höhe des Containers */
  object-fit: cover; /* Stelle sicher, dass das Bild das Container-Feld füllt */
}

.ksc-image-container img:hover {
  cursor: pointer; /* Ändert den Cursor in eine Hand (normalerweise für Links verwendet) */
}

.ksc-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.ksc-modal-content {
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
}
.ksc-modal img {
  width: 100%;
  height: auto;
}

.ksc-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
