/* Basis-Styles für MIW Busreisen Plugin
========================================== */

:root {
    --roth-red: #c60e16;
    --roth-blue: #667eea;
    --roth-purple: #764ba2;
    --roth-green: #3d9b15;
    --roth-yellow: #edf000;
    --roth-gray: #666;
    --roth-light-gray: #f0f0f0;
}


/* Theme-Element Verstecken */
.single-miw_busreise .entry-header,
.single-miw_busreise .post-thumbnail:not(.miw-bustravel--hero-image .post-thumbnail),
.single-miw_busreise .entry-title,
.single-miw_busreise .entry-meta,
.single-miw_busreise .wp-post-image:not(.miw-bustravel--hero-image .wp-post-image),
.single-miw_busreise .featured-image:not(.miw-bustravel--hero-image),
.single-miw_busreise .post-meta,
.single-miw_busreise .entry-date,
.single-miw_busreise .post-date,
.single-miw_busreise .byline,
.single-miw_busreise .author,
.single-miw_busreise .posted-on,
.single-miw_busreise .entry-footer,
.single-miw_busreise .post-info,
.single-miw_busreise .entry-meta-above,
.single-miw_busreise .entry-meta-below,
.single-miw_busreise .post-navigation,
.single-miw_busreise .nav-single {
    display: none;
}

/* Standard Busreise-Karten */
.miw-bustravel--card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
    padding: 0;
    font-family: inherit;
    line-height: 1.6;
}

.miw-bustravel--card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header der Busreise-Karte */
.miw-bustravel--card-header {
    background: linear-gradient(135deg, var(--roth-blue) 0%, var(--roth-purple) 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    border: none;
}

.miw-bustravel--card-title {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    text-decoration: none;
}

.miw-bustravel--card-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Inhalt der Busreise-Karte */
.miw-bustravel--card-content {
    padding: 20px;
    margin: 0;
    background: #fff;
}

.miw-bustravel--card-destination,
.miw-bustravel--card-dates,
.miw-bustravel--card-departure,
.miw-bustravel--card-return,
.miw-bustravel--card-availability {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.miw-bustravel--card-destination:last-child,
.miw-bustravel--card-dates:last-child,
.miw-bustravel--card-departure:last-child,
.miw-bustravel--card-return:last-child,
.miw-bustravel--card-availability:last-child {
    border-bottom: none;
}

.miw-bustravel--card-destination strong,
.miw-bustravel--card-dates strong,
.miw-bustravel--card-departure strong,
.miw-bustravel--card-return strong,
.miw-bustravel--card-availability strong {
    color: #333;
    font-weight: 600;
    font-size: inherit;
}

.miw-bustravel--card-places {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
}

.miw-bustravel--card-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-style: italic;
    color: #666;
    line-height: 1.5;
    display: block;
}

.miw-bustravel--card-excerpt {
    margin-top: 15px;
    color: #555;
    line-height: 1.6;
    display: block;
}

/* Footer der Busreise-Karte */
.miw-bustravel--card-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e1e5e9;
    margin: 0;
    text-align: center;
}

.miw-bustravel--card-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--roth-blue) 0%, var(--roth-purple) 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.miw-bustravel--card-button:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.miw-bustravel--card-button:focus {
    outline: 2px solid var(--roth-blue);
    outline-offset: 2px;
}

/* No Results */
.miw-bustravel--no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* Error und Success Messages */
.miw-bustravel--error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 20px 0;
    display: block;
}

.miw-bustravel--success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin: 20px 0;
    display: block;
}

/* Box-Sizing für alle Plugin-Elemente */
.miw-bustravel--container *,
.miw-bustravel--card *,
.miw-bustravel--grid *,
.miw-bustravel--single * {
    box-sizing: border-box;
}

/* Bild-Optimierungen */
.miw-bustravel--card img,
.miw-bustravel--daytrip-card img,
.miw-bustravel--single img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Link-Styles für Plugin-Bereiche */
.miw-bustravel--card a:not(.miw-bustravel--card-button),
.miw-bustravel--daytrip-card a:not(.miw-bustravel--btn-more),
.miw-bustravel--single a:not(.miw-bustravel--booking-button) {
    color: inherit;
    text-decoration: none;
}

.miw-bustravel--card a:not(.miw-bustravel--card-button):hover,
.miw-bustravel--daytrip-card a:not(.miw-bustravel--btn-more):hover,
.miw-bustravel--single a:not(.miw-bustravel--booking-button):hover {
    text-decoration: underline;
}

/* Card Status Badge */
.miw-bustravel--card-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.miw-bustravel--status-ausgebucht {
    background: #dc3545;
    color: white;
}

.miw-bustravel--status-abgesagt {
    background: #6c757d;
    color: white;
}

.miw-bustravel--status-limited {
    background: #f29a0e;
    color: white;
}

/* Card Unavailable */
.miw-bustravel--card-unavailable {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: not-allowed;
    opacity: 0.7;
    display: inline-block;
}
