/* ============================================================================
   MUSIKERLEBEN - Custom Styles
   ============================================================================ */

/* --- DIVI TABS STYLING --- */
/* Gesamtes Tab-Modul */
.et_pb_tabs {
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e0e0e0 !important;
}

.et_pb_tabs .et_pb_tabs_controls {
    background: #ebebeb;
    border: none !important;
    border-bottom: 3px solid #e0e0e0 !important;
    padding: 0;
    display: flex;
}

.et_pb_tabs .et_pb_tabs_controls li {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none;
    transition: all 0.3s ease;
}

.et_pb_tabs .et_pb_tabs_controls li a {
    display: block;
    padding: 14px 28px !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #666 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: transparent !important;
}

/* Hover */
.et_pb_tabs .et_pb_tabs_controls li:hover a {
    color: #D12A2F !important;
    background: rgba(209, 42, 47, 0.05) !important;
}

/* Aktiver Tab */
.et_pb_tabs .et_pb_tabs_controls li.et_pb_tab_active {
    background: #fff !important;
    position: relative;
}

.et_pb_tabs .et_pb_tabs_controls li.et_pb_tab_active a {
    color: #D12A2F !important;
    background: #fff !important;
}

.et_pb_tabs .et_pb_tabs_controls li.et_pb_tab_active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: #D12A2F;
    z-index: 1;
}

/* Tab-Inhalt */
.et_pb_tabs .et_pb_all_tabs {
    border: none !important;
    padding: 30px 20px !important;
}

.et_pb_tabs .et_pb_all_tabs .et_pb_tab {
    padding: 0 !important;
}

/* Einheitliche Typografie im Tab-Inhalt */
.et_pb_tabs .et_pb_tab_content,
.et_pb_tabs .et_pb_tab_content p,
.et_pb_tabs .et_pb_tab_content li,
.et_pb_tabs .et_pb_tab_content span,
.et_pb_tabs .et_pb_tab_content div {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #333 !important;
}

.et_pb_tabs .et_pb_tab_content h2 {
    font-size: 20px !important;
    line-height: 1.4 !important;
    color: #1a1a2e !important;
    margin-bottom: 15px !important;
}

.et_pb_tabs .et_pb_tab_content strong {
    color: #1a1a2e !important;
}

.et_pb_tabs .et_pb_tab_content ul {
    padding-left: 20px !important;
    margin: 15px 0 !important;
}

.et_pb_tabs .et_pb_tab_content li {
    margin-bottom: 8px !important;
}

.et_pb_gallery_image  :where(img[class*=wp-image-]) {
    height: auto;
    max-width: 100%;
    border-radius: 10px;
}
.et_pb_gallery_item.et_pb_grid_item{
    margin-bottom: 10px;
}
/* Responsive */
@media (max-width: 768px) {
    .et_pb_tabs .et_pb_tabs_controls li a {
        padding: 12px 18px !important;
        font-size: 13px;
    }
}
