/*
Theme Name:     GeneratePress Child
Theme URI:      https://generatepress.com/
Description:    Child Theme for GeneratePress
Author:         VolMay
Author URI:     https://www.volmay.com/
Template:       generatepress
Version:        1.0.0
Text Domain:    generatepress-child
*/

/* Optional: eigene Styles hier */


.content-hero {
  position: relative;
  overflow: hidden;
}

.content-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 21, 43, 0.62) 0%,
    rgba(8, 21, 43, 0.42) 45%,
    rgba(8, 21, 43, 0.12) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.content-hero__inner {
  position: relative;
  z-index: 2;
}



.city-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 30px;
}

.city-section {
    margin: 80px 0;
}

.city-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.15;
}

.city-section p {
    font-size: 21px;
    line-height: 1.7;
    color: #444;
}

/* Grid: Desktop 3 statt 4 */
.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

/* Cards */
.city-card {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    transition: .25s ease;
    min-width: 0;
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

/* Card Titel */
.city-card h2,
.city-card h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 18px;
    color: #111;
    word-break: normal;
    overflow-wrap: normal;
}

/* Card Text */
.city-card p {
    font-size: 19px;
    line-height: 1.65;
    color: #444;
    margin-bottom: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

/* FAQ Details */
.city-section details {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    padding: 18px 22px;
    margin-bottom: 16px;
}

.city-section details summary {
    font-weight: 600;
    cursor: pointer;
}

/* Buttons allgemein auf Stadtseiten */
.city-page .wp-block-button__link {
    background: #565763;
    color: #fff;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 600;
    transition: all .25s ease;
    white-space: nowrap;
}

.city-page .wp-block-button__link:hover {
    background: #1d3557;
    color: #fff;
}

/* Tablet */
@media (max-width: 1024px) {
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-section h2 {
        font-size: 40px;
    }

    .city-card h2,
    .city-card h3 {
        font-size: 28px;
    }

    .city-card p {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .city-page {
        padding: 50px 20px;
    }

    .city-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .city-section {
        margin: 60px 0;
    }

    .city-section h2 {
        font-size: 32px;
    }

    .city-section p {
        font-size: 18px;
    }

    .city-card {
        padding: 22px;
    }

    .city-card h2,
    .city-card h3 {
        font-size: 24px;
    }

    .city-card p {
        font-size: 17px;
    }
}

.city-anchor-nav__link--active, .route-anchor-nav__link--active {
  color: #c96f3d;
  border-bottom-color: #c96f3d;
}

.route-summary-panel .wp-block-list,
.route-preparation-panel .wp-block-list {
  margin: 0;
  padding-left: 20px;
}

.route-summary-panel .wp-block-list li,
.route-preparation-panel .wp-block-list li {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 6px;
}

.route-summary-panel .wp-block-list li:last-child,
.route-preparation-panel .wp-block-list li:last-child {
  margin-bottom: 0;
}

.route-summary-panel .wp-block-list li::marker,
.route-preparation-panel .wp-block-list li::marker {
  color: #c96f3d;
}