/* Keep the new wide photos readable where page-specific theme rules apply. */
body.subpage-page:not(.legal-page) main :is(.section-head, .about-copy, .holiday-intro-panel) {
  background-image: linear-gradient(100deg, rgba(255,253,248,.88), rgba(255,253,248,.80)), var(--mn-hero-image) !important;
}
body.subpage-page:not(.legal-page) main :is(.section-head, .about-copy, .holiday-intro-panel) :is(h1, h2, h3, .rubric-title, .section-title) {
  color: #293d35 !important;
  text-shadow: none !important;
}
body.subpage-page:not(.legal-page) main :is(.section-head, .about-copy, .holiday-intro-panel) :is(p, .section-intro) {
  color: #52675b !important;
}

/* Return the hiking filters to the earlier compact dropdown layout. */
.subpage-page #wandern .hiking-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 18px;
}
.subpage-page #wandern .hiking-filter label { margin: 0; font-weight: 720; }
.subpage-page #wandern .hiking-filter select {
  min-height: 44px;
  width: min(100%, 270px);
  padding: 9px 36px 9px 12px;
  border: 1px solid #aabbb0;
  border-radius: 10px;
  background: #fffdf8;
  color: #293d35;
  font: inherit;
  cursor: pointer;
}
.subpage-page #wandern .hiking-filter select:focus-visible { outline: 3px solid #8aab8d; outline-offset: 3px; }
.subpage-page #wandern .hiking-filter #hiking-reset { min-height: 40px; margin: 0; padding: 8px 14px; }
.subpage-page #wandern .hiking-grid { gap: 12px; margin-top: 18px; }
.subpage-page #wandern .hiking-card { padding: 20px; border-radius: 16px; }
.subpage-page #wandern .hiking-card h3 { margin: 6px 0 9px; font-size: 1.2rem; line-height: 1.28; }
.subpage-page #wandern .hiking-card p { margin: 7px 0; line-height: 1.58; }
.subpage-page #wandern .hiking-meta { gap: 5px; }
.subpage-page #wandern .hiking-meta span { padding: 4px 8px; font-size: .77rem; }
.subpage-page #wandern .hiking-card .save-idea { min-height: 40px; margin-top: 10px; padding: 7px 12px; }

/* Keep the mobile beach cards quick to scan before visitors expand details. */
.subpage-page #strandpreise .beach-price-mobile { margin-top: 16px; }
.subpage-page #strandpreise .beach-price-place {
  border-color: #d5e0d7;
  border-radius: 15px;
  background: #fffdf8;
  box-shadow: 0 5px 16px rgba(35,57,45,.05);
}
.subpage-page #strandpreise .beach-price-place > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding: 12px 14px;
  color: #293d35;
}
.subpage-page #strandpreise .beach-price-place-title { font-weight: 720; }
.subpage-page #strandpreise .beach-price-place > summary small { grid-column: 1 / -1; color: #65776b; }
.subpage-page #strandpreise .beach-price-teaser {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  color: #426f59;
  font-size: .86rem;
  font-weight: 760;
  text-align: right;
}
.subpage-page #strandpreise .beach-price-detail { padding: 0 14px 12px; }
.subpage-page #strandpreise .beach-price-detail h3 { margin-top: 12px; }

/* Give content cards and practical notes one shared rhythm across subpages. */
body.subpage-page main :is(
  .hiking-card, .journey-card, .place-card, .service-card, .payment-card,
  .restaurant-card, .tourist-office, .update-card, .excursion-filter-card,
  .rain-steps, .kids-place-card, .beach-price-place, .news-card
) {
  border: 1px solid rgba(70, 101, 80, .22) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(35, 57, 45, .07) !important;
}
body.subpage-page main :is(
  .hiking-card, .journey-card, .place-card, .service-card, .payment-card,
  .restaurant-card, .tourist-office, .update-card, .excursion-filter-card
) {
  padding: 20px !important;
}
body.subpage-page main :is(.service-note, .hiking-note, .restaurant-note, .leisure-note, .update-note, .notice) {
  padding: 14px 18px;
  border: 1px solid rgba(70, 101, 80, .18);
  border-radius: 14px;
  background: rgba(216, 233, 219, .52);
  box-shadow: 0 4px 14px rgba(35, 57, 45, .045);
}

/* Existing place and activity captions become a consistent orientation cue. */
body.subpage-page main :is(
  .restaurant-area, .place-number, .season-tip-place, .tourist-office-label,
  .rain-tag, .update-label, .kids-label, .merch-kicker
) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid rgba(70, 101, 80, .18);
  border-radius: 999px;
  background: rgba(216, 233, 219, .72);
  color: #365b48 !important;
  font-size: .78rem !important;
  font-weight: 720;
  line-height: 1.4;
  letter-spacing: .025em;
}

@media (max-width: 700px) {
  body.subpage-page main #strandpreise .beach-price-place {
    background: rgba(255, 253, 248, .97) !important;
    color: #293c34 !important;
  }
  body.subpage-page main #strandpreise .beach-price-place :is(summary, h3, p, span, strong) {
    color: #293c34 !important;
  }
  body.subpage-page main #strandpreise .beach-price-place small {
    color: #586b60 !important;
    font-size: .92rem !important;
    line-height: 1.55 !important;
  }
  body.subpage-page main #strandpreise .beach-price-place a {
    color: #24583d !important;
    text-decoration-thickness: 1.5px;
  }
  body.subpage-page main #strandpreise .beach-price-place .beach-price-teaser {
    color: #24583d !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
  }
  body.subpage-page:not(.legal-page) main :is(.section-head, .about-copy, .holiday-intro-panel) {
    background-image: linear-gradient(100deg, rgba(255,253,248,.91), rgba(255,253,248,.84)), var(--mn-hero-mobile-image, var(--mn-hero-image)) !important;
  }
  .subpage-page #wandern .hiking-filter { gap: 8px; padding: 14px; }
  .subpage-page #wandern .hiking-filter label,
  .subpage-page #wandern .hiking-filter select { width: 100%; }
  .subpage-page #wandern .hiking-card { padding: 17px; border-radius: 14px; }
  .subpage-page #strandpreise .beach-price-mobile { gap: 8px; }
  .subpage-page #strandpreise .beach-price-place > summary { padding: 12px; }
  .subpage-page #strandpreise .beach-price-teaser { max-width: 150px; font-size: .8rem; }
  body.subpage-page main :is(
    .hiking-card, .journey-card, .place-card, .service-card, .payment-card,
    .restaurant-card, .tourist-office, .update-card, .excursion-filter-card
  ) { padding: 16px !important; border-radius: 14px !important; }
  body.subpage-page main :is(.service-note, .hiking-note, .restaurant-note, .leisure-note, .update-note, .notice) {
    padding: 12px 14px;
    border-radius: 12px;
  }
}

