.image-row {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 25px;
}

.image-row img {
  max-width: 300px;
  height: auto;
}

.image-left {
  flex-direction: row;
}

.image-right {
  flex-direction: row-reverse;
}

.image-center {
  flex-direction: column;
  text-align: center;
}

.image-center img {
  margin: 0 auto;
}

/* Mobil */
@media (max-width: 768px) {
  .image-row {
    flex-direction: column !important;
  }

  .image-row img {
    max-width: 100%;
  }
}

body {
  color: #000000;
}
.hero {
  color: #418040;
  font-weight: bold;
  font-size: 150%;
}

.oddil {
  color: #ffffff;
  font-weight: bold;
  font-size: 150%;
}
.oddil-font h1 {
  color: #ffffff;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}

.feature-card {
  flex: 1 1 200px;          /* Min šířka 300px, pak se roztahuje */
  max-width: 250px;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  display: block;
}

.feature-header {
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  color: #333;
}

.feature-text {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.feature-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    align-items: center;
  }
}

#start .logo img,
body .logo img {
  filter: unset !important;
}

.gallery-layout {
  display: flex;
  gap: 30px;
}

.gallery-content {
  flex: 3;
}

.gallery-sidebar {
  flex: 1;
  position: sticky;
  top: 120px;
  background: #f6f6f6;
  padding: 15px;
  border-radius: 6px;
}

.gallery-sidebar ul {
  list-style: none;
  padding: 0;
}

.gallery-sidebar li {
  margin-bottom: 10px;
}

.calendar-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.calendar-content {
  flex: 1; /* text vlevo */
}

#calendar {
  width: 500px;
  min-width: 350px;
  margin-left: auto;   /* tlačí kalendář doprava */
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responzivní */
@media (max-width: 768px) {
  .calendar-layout {
    flex-direction: column;
  }

  #calendar {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
  }
}

.fc-col-header-cell {
  color: #2a2a2a;           /* tmavý text pro všechny dny */
  font-weight: bold;
  background-color: #f9f9f9; /* světle šedé pozadí */
  text-align: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
}

/* === Hadron + SVG logo – MOBIL FIX === */
@media (max-width: 768px) {

  header,
  .site-header {
    min-height: 60px !important;
  }

  .site-logo {
    display: flex !important;
    align-items: center;
    height: 60px !important;
    overflow: visible !important;
  }

  .site-logo img,
  .site-logo svg {
    display: block !important;
    height: 40px !important;
    width: auto !important;
    max-height: none !important;
  }

  .site-title {
    display: none !important;
  }
}
