/* ==========================================================================
   TEAM & AUTOREN PROFILSEITE (team.css)
   ========================================================================== */

/* --- 1. Autoren-Header / Steckbrief --- */
.author-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 800px;
}

@media (min-width: 640px) {
  .author-profile-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #3b82f6; /* Hauptfarbe Akzent */
  flex-shrink: 0;
}

.author-info {
  text-align: center;
}

@media (min-width: 640px) {
  .author-info {
    text-align: left;
  }
}

.author-info h1 {
  margin: 0 0 0.25rem 0;
  font-size: 1.75rem;
  color: #1e293b;
}

.author-role {
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-bio {
  color: #475569;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* --- 2. Filter-Bar für Städte --- */
.author-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: #f8fafc;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.city-select-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.city-select-group label {
  font-weight: 600;
  color: #334155;
  font-size: 0.9rem;
}

.city-select-group select {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  font-size: 0.9rem;
  color: #1e293b;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.city-select-group select:focus {
  border-color: #3b82f6;
}

.author-counter {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.author-counter span {
  font-weight: 700;
  color: #0f172a;
}

/* --- 3. Badges auf den Karten --- */
.city-badge {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* Verlinkung des Badges auf der Hauptseite */
.author-badge-link {
  text-decoration: none;
  transition: transform 0.15s ease;
  display: inline-block;
}

.author-badge-link:hover {
  transform: translateY(-1px);
}
/* --- 4. Grid & Äußere Karte --- */
.activities-grid,
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.activity-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
}

/* Abstand zwischen Stadt-Badge (oben) und der gestrichelten Karte (unten) */
.activity-card-header {
  padding: 1rem 1rem 0.75rem 1rem; /* Erhöht den Abstand nach unten */
  margin-bottom: 0.75rem;
}

.activity-card-body {
  padding: 0 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* --- 5. Innere Karten (GYG-Frame & Nachbau) --- */
.gyg-card-frame {
  border: 1px dashed #000000;
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Eigener Tipp: GYG-Nachbildung Styles */
.custom-gyg-card {
  gap: 10px;
}

/* Bild-Container exakt an GYG-Größe anpassen */
.gyg-card-img {
  width: 100%;
  height: 190px; /* Gleiche Höhe wie das GetYourGuide-Widget */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  flex-shrink: 0; /* Verhindert Stauchen des Bildes */
}

.gyg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Schneidet das Bild sauber zu, ohne es zu verzerrren */
  object-position: center;
  display: block;
}

.gyg-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.gyg-card-title {
font-size: 1.15rem; /* Größer für perfekte Übereinstimmung mit GYG */
  font-weight: 700;
  color: #0d1b2a; /* Dunkelblau/Anthrazit von GetYourGuide statt Reinschwarz */
  line-height: 1.25;
  margin: 4px 0 8px 0;
}


.gyg-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.gyg-card-duration {
  color: #4a5568;
}

.gyg-card-rating {
  color: #ffb400;
  font-weight: 700;
}

.gyg-card-rating .rating-count {
  color: #718096;
  font-weight: 400;
}

.gyg-card-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #4a5568;
  margin: 4px 0 0 0;
}

.gyg-card-footer {
  border-top: 1px solid #edf2f7;
  padding-top: 8px;
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
}

.gyg-card-price-label {
  font-size: 0.72rem;
  color: #a0aec0;
}

.gyg-card-price-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2b6cb0;
}

.is-hidden {
  display: none !important;
}
.gyg-card-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px; /* Abstand zwischen Icon und Text */
}

.duration-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}
.gyg-card-rating {
  font-size: 0.8rem;
  font-weight: 500;
  color: #718096; /* Gleiches dezentes Grau wie im Screenshot */
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.star-icon {
  color: #FFD938; /* Die gewünschte gelbe Sternfarbe */
  font-size: 1.1rem;
  line-height: 1;
}
.city-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px; /* Abstand zwischen Icon und Städtename */
}

.city-marker-icon {
  width: 18px;  /* Höhe & Breite nach Wunsch anpassen */
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}
/* ==========================================================================
   ZUSÄTZE FÜR FILTER & VERLINKUNG
   ========================================================================== */

/* Fehlende Klasse: Blendet gefilterte Elemente aus */
.is-hidden {
  display: none !important;
}

/* Styling für verlinkte Stadt-Badges */
.city-badge-link {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px; /* Zusätzlicher Abstand nach unten */
  transition: transform 0.15s ease;
}

.city-badge-link:hover {
  transform: translateY(-1px);
}

.city-badge-link:hover .city-badge {
  background-color: #bae6fd;
  color: #0369a1;
}

