/* =========================================================
   WON Coaching-Kongress — Zusatz-Styles
   Farbschema: WON-Orange (#f28e00), Dunkelblau (#183b56)
   ========================================================= */

/* WON-Schriftart übernehmen, Fallback auf Template-Font */
.kongress-page,
.kongress-page body {
    font-family: 'Fustat', 'Circular Std', sans-serif;
}

/* -------------------------------------------------
   3-SPALTEN TIMETABLE (Freitagabend / Samstag / Sonntag)
   ------------------------------------------------- */
.schedule-3col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

@media (max-width: 991.98px) {
    .schedule-3col {
        grid-template-columns: 1fr;
    }
}

.schedule-day-col {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.schedule-day-col > h5 {
    background: #183b56;
    color: #fff;
    margin: 0;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

/* Uhrzeit-Block-Überschrift (steht über den parallelen Talks) */
.schedule-timeblock {
    background: #f28e00;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 20px;
    letter-spacing: 0.3px;
}

/* Pausen-Zeile innerhalb einer Spalte */
.schedule-break {
    background: #f5f5f5;
    color: #183b56;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

/* Parallele Talks untereinander innerhalb eines Zeitblocks */
.schedule-parallel-list {
    display: flex;
    flex-direction: column;
}

.schedule-parallel-list .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

.schedule-parallel-list .accordion-button {
    background: #fff;
    padding: 14px 20px;
    font-size: 14px;
}

.schedule-parallel-list .accordion-button:not(.collapsed) {
    background: #fff8eb;
    color: #183b56;
}

.schedule-parallel-list .accordion-button:focus {
    box-shadow: none;
}

.schedule-parallel-list .accor-thumb img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

/* Keep each talk title beside its portrait; wrap text inside its own column. */
.schedule-parallel-list .accor-header-inner {
    flex: 1 1 0%;
    min-width: 0;
    flex-wrap: nowrap !important; /* Override Bootstrap's flex-wrap utility. */
    gap: 10px;
}

.schedule-parallel-list .accor-thumb {
    flex: 0 0 50px;
}

.schedule-parallel-list .accor-thumb img {
    display: block;
    margin-right: 0;
}

.schedule-parallel-list .accor-header-inner .h7 {
    flex: 1 1 0%;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.schedule-parallel-list .accordion-button::after {
    flex-shrink: 0;
    margin-left: 10px;
}

.schedule-parallel-list .accordion-body {
    padding: 8px 20px 18px 66px;
    font-size: 14px;
    color: #555;
}

.schedule-parallel-list .ev-schedule-meta {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    gap: 16px;
    font-size: 13px;
    color: #183b56;
}

.schedule-parallel-list .ev-schedule-meta i {
    color: #f28e00;
    margin-right: 4px;
}

/* -------------------------------------------------
   REFERENTEN-ACCORDION (skaliert auf 50-100 Referenten)
   Feste Spalten (Flexbox) statt CSS-Columns: verhindert, dass
   Referenten beim Auf-/Zuklappen die Spalte wechseln.
   ------------------------------------------------- */
.speakers-accordion-wrap {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.speakers-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.speaker-accordion-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

@media (max-width: 991.98px) {
    .speakers-accordion-wrap {
        flex-wrap: wrap;
    }

    .speakers-col {
        flex: 1 1 45%;
    }
}

@media (max-width: 575.98px) {
    .speakers-accordion-wrap {
        flex-direction: column;
    }

    .speakers-col {
        flex: 1 1 auto;
        width: 100%;
    }
}

.speaker-accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}

.speaker-accordion-header:hover {
    background: #fff8eb;
}

.speaker-accordion-header img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.speaker-accordion-header .speaker-name {
    font-weight: 700;
    font-size: 14px;
    color: #183b56;
    flex-grow: 1;
}

.speaker-accordion-header .speaker-toggle-icon {
    font-size: 13px;
    color: #f28e00;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.speaker-accordion-header[aria-expanded="true"] .speaker-toggle-icon {
    transform: rotate(180deg);
}

.speaker-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.speaker-accordion-body.is-open {
    padding: 0 16px 16px 16px;
}

.speaker-accordion-body .speaker-role {
    display: block;
    color: #f28e00;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Suchfeld/Filter über der Referentenliste (optional nutzbar) */
.speakers-filter-bar {
    max-width: 420px;
    margin: 0 auto 30px;
}

.speakers-filter-bar input {
    width: 100%;
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.speakers-filter-bar input:focus {
    outline: none;
    border-color: #f28e00;
}

/* "Alle ausklappen / einklappen" Steuerung */
.speakers-toggle-all {
    text-align: center;
    margin-bottom: 20px;
}

.speakers-toggle-all button {
    background: #f28e00;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin: 0 6px;
}

.speakers-toggle-all button:hover {
    background: #d97800;
}

/* -------------------------------------------------
   TICKET-SCHNELLZUGRIFFS-BUTTON (schwebend, oben rechts)
   ------------------------------------------------- */
.kongress-ticket-fab {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 999;
    background: #f28e00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: background-color 0.2s, transform 0.2s;
}

.kongress-ticket-fab:hover {
    background: #d97800;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .kongress-ticket-fab {
        top: auto;
        bottom: 90px;
        right: 16px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* -------------------------------------------------
   BOOTSTRAP NAV-TABS (z.B. "Trainerteam" auf life-coach.php)
   Bootstrap-Standardblau durch WON-Orange ersetzen
   ------------------------------------------------- */
.nav-tabs .nav-link {
    color: #183b56;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #f28e00;
}

.nav-tabs .nav-link.active {
    color: #f28e00;
    background: transparent;
    border: none;
    border-bottom: 3px solid #f28e00;
}

.nav-tabs {
    border-bottom: 1px solid #eee;
}

/* -------------------------------------------------
   EINFACHE INFO-TABELLEN (z.B. "Fakten im Überblick")
   Rohe <table> ohne Klassen sauber stylen
   ------------------------------------------------- */
.table-container table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.table-container table tr {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.table-container table tr:last-child {
    border-bottom: none;
}

.table-container table td {
    padding: 14px 20px;
    color: #fff;
    font-size: 15px;
}

.table-container table td:first-child {
    font-weight: 700;
    white-space: nowrap;
    color: #ffb347;
}

/* -------------------------------------------------
   KONGRESS-INTERNES SUB-MENÜ (Kongress / Webinar-TV / Life Coach)
   Schnellzugriff zwischen den drei zusammengehörigen Kongress-Seiten
   ------------------------------------------------- */
.kongress-subnav {
    display: flex;
    justify-content: center;
    gap: 32px;
    background: #fff8eb;
    padding: 12px 20px;
    border-bottom: 1px solid #f0e0c0;
}

.kongress-subnav a {
    color: #183b56;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.kongress-subnav a:hover {
    color: #f28e00;
    border-color: #f28e00;
}

@media (max-width: 575.98px) {
    .kongress-subnav {
        gap: 16px;
        font-size: 13px;
        flex-wrap: wrap;
    }
}
.btn-primary {
    background-color: #f28e00 !important;
    border-color: #f28e00 !important;
}

.btn-primary:hover {
    background-color: #d97800 !important;
    border-color: #d97800 !important;
}

/* Speaker detail pages: shared centered name and qualification above the portrait/bio. */
.speaker-profile-header {
    padding: 36px 16px 20px;
    background: #fff;
    text-align: center;
}
.speaker-profile-header h1 {
    margin: 0 0 12px;
    color: #183b56;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.speaker-profile-header .speaker-profile-role {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.speaker-profile-header + .scholar-single-section {
    padding-top: 28px;
}
.scholar-single-section .section-wrapper .section-inner .scholar-right .scholar-intro > p:first-child {
    margin-top: 0;
}
.speaker-profile-link {
    display: inline-block;
    padding: 6px 0;
    color: #183b56;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.speaker-profile-link:hover, .speaker-profile-link:focus {
    color: #c66f00;
}
@media (max-width: 575.98px) {
    .speaker-profile-header { padding: 24px 12px 16px; }
    .speaker-profile-header .speaker-profile-role { font-size: 14px; }
}
