/* =============================================
   DiWidu Reisen - Single Reise Styles
   Version: 3.1.0
   ============================================= */

/* BASIS-STYLES */
.diwidu-single-reise {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

.reise-header {
    margin-bottom: 30px;
    text-align: center;
}

.reise-title {
    font-size: 2.5rem;
    color: #2271b1;
    margin-bottom: 10px;
}

/* BILD & INFOBEREICH */
.reise-upper-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.reise-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reise-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.reise-meta-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* META-ROWS */
.meta-row {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.meta-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.meta-label {
    font-weight: 600;
    min-width: 120px;
    color: #555;
}

.meta-value {
    flex: 1;
}

/* STATUS-STYLES */
.status-available {
    color: #2a9134;
    font-weight: 600;
}

.status-sold-out {
    color: #d63638;
    font-weight: 600;
}

/* KATEGORIEN & TAGS (OHNE LINKS) */
.reise-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f9ff;
    border: 1px solid #d6e4ff;
    border-radius: 12px;
    margin: 0 5px 5px 0;
    color: #1a73e8;
    font-size: 0.85rem;
}

.reise-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 12px;
    margin: 0 5px 5px 0;
    color: #555;
    font-size: 0.85rem;
}

/* PREIS-DARSTELLUNG (OPTIMIERT) */
.price-details .meta-value {
    width: 100%;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.price-row {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.price-label {
    min-width: 80px;
    white-space: nowrap;
}

.price-icons {
    margin-right: auto;
    padding: 0 10px;
}

.price-value {
    margin-left: auto;
    font-weight: 600;
    color: #2a9134;
    white-space: nowrap;
}

/* WEITERE TERMINE (NEUE STRUKTUR) */
.weitere-termine {
    display: block;
}

.weitere-termine .meta-label {
    display: block;
    margin-bottom: 8px;
    width: 100%;
    padding-bottom: 0;
    border-bottom: none;
}

.weitere-termine .meta-value {
    width: 100%;
    padding-top: 0;
}

.weitere-termine .termine-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weitere-termine .termine-liste li {
    margin-bottom: 8px;
    padding-left: 0;
}

.weitere-termine .termine-liste a {
    color: #2271b1;
    text-decoration: none;
    transition: color 0.2s;
}

.weitere-termine .termine-liste a:hover {
    color: #135e96;
    text-decoration: underline;
}

/* BESCHREIBUNGSBEREICH */
.reise-lower-section {
    margin-top: 40px;
}

.reise-lower-section section {
    margin-bottom: 30px;
}

.reise-lower-section h2 {
    font-size: 1.8rem;
    color: #2271b1;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.reise-lower-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #2271b1;
    position: absolute;
    bottom: -1px;
    left: 0;
}

/* REISEBESCHREIBUNG AUS VORLAGE */
.reise-beschreibung {
    line-height: 1.7;
}

.reise-beschreibung p {
    margin-bottom: 1.2em;
}

.reise-beschreibung ul,
.reise-beschreibung ol {
    margin-left: 1.5em;
    margin-bottom: 1.2em;
}

.reise-beschreibung li {
    margin-bottom: 0.5em;
}

/* PROGRAMM-STYLES */
.programm-items {
    list-style-type: none;
    padding: 0;
}

.programm-items li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.programm-items li:before {
    content: "•";
    color: #2271b1;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 5px;
}

/* VERANSTALTER-INFO */
.veranstalter-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.zusatzinfo {
    margin-top: 15px;
}

/* RESPONSIVE ANPASSUNGEN */
@media (max-width: 768px) {
    .reise-upper-section {
        grid-template-columns: 1fr;
    }
    
    .reise-title {
        font-size: 2rem;
    }
    
    .meta-row {
        flex-direction: column;
    }
    
    .meta-label {
        margin-bottom: 5px;
        min-width: 100%;
    }
    
    .reise-lower-section h2 {
        font-size: 1.5rem;
    }
    
    .price-container {
        gap: 6px;
    }
    
    .price-row {
        font-size: 0.9rem;
    }
    
    .price-label {
        min-width: 70px;
    }
    
    .weitere-termine .meta-label,
    .weitere-termine .meta-value {
        width: 100%;
    }
}

/* DRUCKOPTIMIERUNGEN */
@media print {
    .diwidu-single-reise {
        max-width: 100%;
        padding: 0;
        font-size: 12pt;
    }
    
    .reise-meta-box {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .reise-lower-section section {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .reise-category-tag,
    .reise-tag {
        background: transparent;
        border: 1px solid #000;
        color: #000;
    }
}