/**
 * Speaker FAQ Screen CSS
 *
 * Screen-spezifische Klassen: speaker-faq-* (nur dieser Screen).
 * Eine Klasse pro Selektor, keine Nachfahren-Selektoren (011-ui-css-general.mdc).
 * Mobile-First: Basis-Styles für kleine Viewports, größere Breakpoints per min-width.
 */

.speaker-faq-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 28px 16px;
    background-color: var(--color-background);
    box-sizing: border-box;
}

.speaker-faq-headline-area {
    margin: 0 0 1.25rem 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.speaker-faq-hero-section {
    margin-bottom: 40px;
    padding: 0;
    min-height: 220px;
    position: relative;
    border-radius: 18px;
    border: 1.5px solid var(--glass-border-edge);
    box-shadow: var(--surface-shadow-glass);
    overflow: hidden;
    box-sizing: border-box;
}

.speaker-faq-hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.speaker-faq-guideline-section {
    margin: 0 0 24px 0;
    padding: 28px 20px 32px;
    background: var(--glass-surface-bg);
    backdrop-filter: blur(var(--glass-blur-surface));
    -webkit-backdrop-filter: blur(var(--glass-blur-surface));
    border-radius: 18px;
    border: 1.5px solid var(--glass-border-edge);
    border-left: 4px solid var(--color-teal);
    box-shadow: var(--surface-shadow-glass);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.speaker-faq-guideline-section-alt {
    margin: 0 0 24px 0;
    padding: 28px 20px 32px;
    background: var(--glass-surface-bg);
    backdrop-filter: blur(var(--glass-blur-surface));
    -webkit-backdrop-filter: blur(var(--glass-blur-surface));
    border-radius: 18px;
    border: 1.5px solid var(--glass-border-edge);
    border-left: 4px solid var(--color-orange);
    box-shadow: var(--surface-shadow-glass);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.speaker-faq-guideline-section::before,
.speaker-faq-guideline-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--color-orange) 0%,
        var(--color-teal) 55%,
        color-mix(in srgb, var(--color-teal) 40%, transparent) 100%
    );
    opacity: 0.85;
    pointer-events: none;
}

.speaker-faq-guideline-section:hover,
.speaker-faq-guideline-section-alt:hover {
    transform: translateY(-3px);
    box-shadow: var(--surface-shadow-glass-hover);
    border-color: color-mix(in srgb, var(--color-orange) 22%, var(--glass-border-edge));
}

.speaker-faq-section-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    position: relative;
    border-bottom: none;
}

.speaker-faq-section-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        var(--color-orange) 0%,
        var(--color-teal) 70%,
        transparent 100%
    );
}

.speaker-faq-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 0.35rem;
    border-radius: 12px;
    color: var(--color-orange);
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-orange) 14%, transparent) 0%,
        color-mix(in srgb, var(--color-teal) 8%, transparent) 100%
    );
    border: 1px solid color-mix(in srgb, var(--color-orange) 28%, var(--glass-border-edge));
    box-shadow: inset 0 1px 0 var(--glass-border-highlight);
}

.speaker-faq-section-headline-wrap {
    flex: 1;
    min-width: 0;
}

.speaker-faq-content-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.speaker-faq-content-item {
    margin: 0;
    padding: 0;
    line-height: 1.85;
    font-size: 1rem;
    color: var(--color-text-dark);
    text-align: left;
    text-align-last: left;
    hyphens: auto;
}

.speaker-faq-content-item-separated {
    margin: 1.15rem 0 0 0;
    padding: 1.15rem 0 0 0;
    line-height: 1.85;
    font-size: 1rem;
    color: var(--color-text-dark);
    text-align: left;
    text-align-last: left;
    hyphens: auto;
    border-top: 1px solid var(--color-border-light-mode-lighter);
}

.speaker-faq-inline-link {
    color: var(--color-teal);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--color-teal) 35%, transparent);
    text-underline-offset: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.speaker-faq-inline-link:hover {
    color: var(--color-orange);
    border-bottom-color: color-mix(in srgb, var(--color-orange) 45%, transparent);
}

@media (min-width: 600px) {
    .speaker-faq-container {
        padding: 40px 32px;
    }

    .speaker-faq-headline-area {
        margin-bottom: 1.5rem;
    }

    .speaker-faq-hero-section {
        min-height: 280px;
        margin-bottom: 56px;
        border-radius: 25px;
    }

    .speaker-faq-guideline-section {
        padding: 36px 28px 40px;
        margin-bottom: 32px;
        border-radius: 22px;
    }

    .speaker-faq-guideline-section-alt {
        padding: 36px 28px 40px;
        margin-bottom: 32px;
        border-radius: 22px;
    }
}

@media (min-width: 1025px) {
    .speaker-faq-container {
        padding: 60px 60px;
    }

    .speaker-faq-headline-area {
        margin-bottom: 2rem;
    }

    .speaker-faq-hero-section {
        min-height: 320px;
        margin-bottom: 80px;
    }

    .speaker-faq-guideline-section {
        padding: 44px 52px 48px;
        margin-bottom: 40px;
    }

    .speaker-faq-guideline-section-alt {
        padding: 44px 52px 48px;
        margin-bottom: 40px;
    }

    .speaker-faq-section-header {
        gap: 0.85rem;
        padding-bottom: 1rem;
    }

    .speaker-faq-section-number {
        min-width: 2.65rem;
        height: 2.65rem;
        font-size: 1.15rem;
        border-radius: 14px;
    }

    .speaker-faq-content-item {
        font-size: 1.08rem;
    }

    .speaker-faq-content-item-separated {
        font-size: 1.08rem;
    }
}
