/* ========================================= */
/* Kanalinfo Page - Spezielle Styles        */
/* ========================================= */

/* Karten Container */
.map-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Quellenangaben */
.source-credit {
  font-size: 13px;
  /* KORREKTUR: rgba(255, 255, 255, 0.7) ersetzt durch Variable */
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
  margin-left: 8px;
  text-align: left;
}

.source-credit a {
  /* KORREKTUR: #3da9f5 ersetzt durch Variable */
  color: var(--accent);
  text-decoration: none;
}

.source-credit a:hover {
  text-decoration: underline;
}

/* Faktenbox */
.facts-box {
  background: rgba(35, 138, 210, 0.15);
  /* KORREKTUR: #238ad2 ersetzt durch Variable */
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.facts-box h4 {
  /* KORREKTUR: #3da9f5 ersetzt durch Variable */
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 20px;
}

.facts-box ul {
  list-style: none;
  padding: 0;
}

.facts-box li {
  padding: 8px 0;
  /* KORREKTUR: rgba(255, 255, 255, 0.1) ersetzt durch Variable */
  border-bottom: 1px solid var(--glass-border);
}

.facts-box li:last-child {
  border-bottom: none;
}

.facts-box strong {
  /* KORREKTUR: #3da9f5 ersetzt durch Variable */
  color: var(--accent);
}

/* Vollbreite Content Block */
.content-block.full-width {
  grid-template-columns: 1fr;
  text-align: center;
}

.content-block.full-width .content-image {
  grid-column: 1;
  max-width: 100%;
  margin: 0 auto 30px auto;
}

.content-block.full-width .content-text {
  grid-column: 1;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

/* Nur Karte vollbreite, ohne Text darunter */
.content-block.full-width-map {
  grid-template-columns: 1fr;
  margin-bottom: 60px;
}

.content-block.full-width-map .content-image {
  grid-column: 1;
  max-width: 100%;
}

.quick-nav-container {
  width: 1200px; /* Fixe Breite wie gewünscht */
  max-width: 100%;
  margin: 0 auto 30px auto;
  padding: 0;
  box-sizing: border-box;
}

.quick-nav-inner {
  background: #1e293b;
  border: 1px solid #334155;
  border-left: 4px solid #38bdf8;
  padding: 8px 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  box-sizing: border-box;
}

.quick-nav-label {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.quick-nav-links {
  display: flex;
  gap: 10px;
}

.quick-link {
  background: #0f172a;
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s ease-in-out; /* Weicher Übergang für den Hover */
}

/* --- HOVER EFFEKT --- */
.quick-link:hover {
  border-color: #38bdf8;
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}

@media (max-width: 1200px) {
  .quick-nav-container {
    width: 100%;
    padding: 0 10px;
  }
  .quick-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Mobile Optimierung */
@media (max-width: 600px) {
  .quick-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive für Karten */
@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }

  .facts-box {
    padding: 15px;
  }

  .facts-box h4 {
    font-size: 18px;
  }

  .quick-nav-inner {
    flex-direction: column;
    align-items: stretch; /* Dehnt die Buttons auf volle Breite aus */
    gap: 12px;
    padding: 15px;
  }

  .quick-nav-label {
    text-align: center;
    white-space: normal; /* Erlaubt Zeilenumbruch beim Label falls nötig */
  }

  .quick-nav-links {
    flex-direction: column; /* Erzwingt das Stapeln der Buttons */
    width: 100%;
    gap: 10px;
  }

  .quick-link {
    width: 100%; /* Button nutzt volle Breite des Kastens */
    justify-content: center; /* Zentriert Icon und Text im Button */
    box-sizing: border-box;
    padding: 12px; /* Etwas mehr Klickfläche für Finger */
    font-size: 1rem; /* Bessere Lesbarkeit mobil */
  }
}

@media (max-width: 375px) {
  .map-container iframe {
    height: 250px;
  }

  .facts-box {
    padding: 12px;
  }

  .facts-box li {
    font-size: 14px;
  }

  .quick-nav-inner {
    padding: 10px;
  }

  .quick-link {
    font-size: 0.9rem;
  }
}
