/* =============================================================================
 * Homepage component: Kunstmessen / art fairs (.km-sektion, .km-grid, .km-item, .km-*)
 * Split from homepage.css (Issue #5). Homepage-only; enqueued after km-global.
 * ========================================================================== */

/* -----------------------------------------
   12. Kunstmessen section
   ----------------------------------------- */
.km-sektion {
  margin: 40px 0;
  clear: both;
  width: 100%;
}
.km-sektion h3.mh-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
  background: transparent;
  padding: 0 0 12px 0;
  margin: 0 0 25px 0;
  border-bottom: 2px solid var(--km-accent);
}
.km-sektion h3.mh-section-title a {
  color: #333;
  text-decoration: none;
}
.km-sektion h3.mh-section-title a:hover {
  color: var(--km-accent);
}
.km-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.km-item {
  display: flex;
  flex-direction: column;
}
.km-thumb {
  margin-bottom: 15px;
}
.km-thumb a {
  display: block;
}
.km-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.km-titel {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px 0;
}
.km-titel a {
  color: #333;
  text-decoration: none;
}
.km-titel a:hover {
  color: var(--km-accent);
}
.km-datum {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
  display: block;
}
.km-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  .km-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media screen and (max-width: 767px) {
  .km-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
