/* Tauchplatz-Masterseite – ergänzt die project-details- und courses-card-Styles aus main.css */

.dive-site-page .details-top-img {
  height: 420px;
  overflow: hidden;
}
.dive-site-page .details-top-img img {
  object-fit: cover;
}
@media (max-width: 991px) {
  .dive-site-page .details-top-img { height: 320px; }
}
@media (max-width: 575px) {
  .dive-site-page .details-top-img { height: 220px; }
}

.dive-site-page .project-details-content p {
  line-height: 1.75;
}

/* ---------- Box "Auf einen Blick" ---------- */
.dive-site-page .project-details-sidebar .sidebar-widget {
  margin-bottom: 0;
}
/* Jede Zeile: Bezeichnung links oben, Wert rechts daneben */
.dive-site-page .project-details-sidebar .sidebar-widget .project-infrom li {
  display: grid !important;
  grid-template-columns: 120px 1fr;
  align-items: start !important;
  column-gap: 14px;
  line-height: 1.6;
}
.dive-site-page .project-details-sidebar .sidebar-widget .project-infrom li span {
  text-align: left;
  align-self: start;
}
.dive-site-page .project-infrom li .value {
  text-align: right;
  font-weight: 400;
  color: var(--text);
}
.dive-site-page .project-infrom li.is-long .value {
  text-align: left;
}
.dive-site-page .project-details-sidebar .sidebar-widget .project-infrom li:not(:last-child) {
  margin-bottom: 14px;
}
@media (max-width: 1199px) {
  .dive-site-page .project-details-sidebar .sidebar-widget .project-infrom li {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .dive-site-page .project-infrom li .value { text-align: left; }
}

/* ---------- Buttons unter der Box, nebeneinander ---------- */
.dive-site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.dive-site-actions .dive-btn {
  flex: 1 1 170px;
}
a.dive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
a.dive-btn:hover {
  transform: translateY(-2px);
}
a.dive-btn--primary {
  background: #FFD60A;
  color: var(--header);
  border: 1px solid #FFD60A;
}
a.dive-btn--primary:hover {
  color: var(--header);
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.35);
}
a.dive-btn--ghost {
  background: #EEF9F8;
  color: var(--header);
  border: 1px solid #CDEDEA;
}
a.dive-btn--ghost i { color: #25D366; font-size: 19px; }
a.dive-btn--ghost:hover {
  color: var(--header);
  background: #E2F5F3;
}

/* ---------- Tauchplatzkarte ---------- */
.dive-map {
  margin-top: 30px;
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 6px 30px rgba(10, 37, 64, 0.08);
  border: 1px solid #EEF1F5;
}
.dive-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: zoom-in;
}
.dive-map figcaption {
  font-size: 14px;
  color: var(--text);
  padding: 12px 6px 2px;
}
.dive-map-placeholder {
  display: none;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 2px dashed #CBD5E1;
  background: var(--bg);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.dive-map-placeholder i { font-size: 36px; color: var(--theme); }
.dive-map.is-missing .dive-map-placeholder { display: flex; }
.dive-map.is-missing img { display: none; }

/* ---------- Vorheriger / nächster Tauchplatz (max. 400 x 100 px) ---------- */
.dive-sites-more {
  background: #F2F8F9;
  padding: 50px 0 90px;
}
.dive-site-pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 40px;
  margin-bottom: 50px;
  border-bottom: 1px solid #E2EBEE;
}
.pager-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 400px;
  height: 100px;
  padding: 10px 16px 10px 10px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pager-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.12);
}
/* Bild füllt die Feldhöhe (100 px minus Innenabstand) */
.pager-link img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.pager-link > span {
  min-width: 0;
}
.pager-link small {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}
.pager-link strong {
  display: block;
  color: var(--header);
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pager-link--next {
  text-align: right;
  justify-content: flex-end;
  padding: 10px 10px 10px 16px;
}
@media (max-width: 767px) {
  .dive-site-pager { flex-direction: column; align-items: stretch; }
  .pager-link { max-width: 100%; }
}

/* ---------- Weitere Tauchplätze (courses-card-item) ---------- */
.dive-sites-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--theme);
}
.dive-sites-head .eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--theme);
}
.dive-sites-head h2 {
  margin: 8px 0 6px;
  font-size: 40px;
}
@media (max-width: 767px) {
  .dive-sites-head h2 { font-size: 30px; }
}
.dive-sites-head p { margin-bottom: 30px; }

.dive-sites-more .courses-card-item {
  height: 100%;
  background-color: var(--white);
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
}
.dive-sites-more .courses-card-item .courses-image {
  aspect-ratio: 16 / 10;
}
.dive-sites-more .courses-card-item .courses-image img {
  object-fit: cover;
}
.dive-sites-more .courses-card-item .dive-card-meta > span:first-child {
  color: var(--text);
  font-weight: 400;
}
.dive-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text);
}
.level-badge,
.courses-card-item .courses-content span.level-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFF4D1;
  color: #8A6100;
}
.level-badge--easy,
.courses-card-item .courses-content span.level-badge--easy {
  background: #DFF7EE;
  color: #0B7A55;
}
