@charset "utf-8";
/* =============================================
   Stutter Truth Pages CSS
   Location: /static/truth/css/stutter_truth.css
   
   Depends on: static_common.css
   - Uses: .back-home, .scroll-top-btn (from static_common.css)
   - Page-specific styles only
   
   Mobile-first design
   Media Query: Mobile (default) + PC (min-width: 768px)
   ============================================= */

/* =============================================
   1. Page Header (Purple Theme)
   ============================================= */
.truth-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 16px;
    margin: 0 0 20px 0;
    text-align: center;
    border-radius: 10px;
}

.truth-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.truth-header .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* =============================================
   2. Tab Menu
   ============================================= */
.truth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.truth-tab-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    background: white;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.truth-tab-btn i {
    font-size: 1rem;
}

.truth-tab-btn:hover {
    background: #f8f9fa;
    color: #667eea;
}

.truth-tab-btn.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    border-bottom-color: #667eea;
}

/* Hide media tab if empty */
.truth-tab-btn[data-tab="media"].hidden {
    display: none;
}

/* =============================================
   3. Tab Content
   ============================================= */
.truth-content {
    display: none;
    animation: truthFadeIn 0.3s ease;
}

.truth-content.active {
    display: block;
}

@keyframes truthFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   4. Section
   ============================================= */
.truth-section {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.truth-section h2 {
    font-size: 1.15rem;
    color: #667eea;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0ff;
}

.truth-section h3 {
    font-size: 1rem;
    color: #764ba2;
    margin: 16px 0 10px 0;
}

.truth-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin: 0 0 14px 0;
    text-align: left;
}

.truth-section p:last-child {
    margin-bottom: 0;
}

/* =============================================
   5. Highlight Box (Yellow)
   ============================================= */
.highlight-box {
    background: linear-gradient(135deg, #fff9e6, #fffbf0);
    border-left: 4px solid #ffc107;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin: 16px 0;
    display: flex;
    gap: 12px;
}

.highlight-box i {
    font-size: 1.3rem;
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-box strong {
    color: #333;
    display: block;
    margin-bottom: 6px;
}

/* =============================================
   6. Warning Box (Orange)
   ============================================= */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin: 16px 0;
    display: flex;
    gap: 12px;
}

.warning-box i {
    font-size: 1.3rem;
    color: #ff9800;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-box strong {
    color: #333;
    display: block;
    margin-bottom: 6px;
}

/* =============================================
   7. Process Box (Purple Border)
   ============================================= */
.process-box {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 0 8px 8px 0;
    padding: 16px;
    margin: 16px 0;
}

.process-box h3 {
    font-size: 1rem;
    color: #667eea;
    margin: 0 0 12px 0;
}

.process-box ol {
    margin: 0;
    padding-left: 20px;
}

.process-box li {
    padding: 6px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.process-box strong {
    color: #667eea;
}

/* =============================================
   8. Key Point Box
   ============================================= */
.key-point {
    background: linear-gradient(135deg, #e8f4f8, #f0f0ff);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 18px;
    margin: 16px 0;
}

.key-point h3 {
    font-size: 1.05rem;
    color: #667eea;
    margin: 0 0 10px 0;
}

.key-point p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* =============================================
   9. Conclusion Box (Purple Gradient)
   ============================================= */
.conclusion-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    padding: 18px;
    margin: 16px 0;
}

.conclusion-box h3 {
    font-size: 1.05rem;
    color: white;
    margin: 0 0 10px 0;
}

.conclusion-box p {
    font-size: 0.95rem;
    color: white;
    margin: 0;
    line-height: 1.8;
}

/* =============================================
   10. Media Elements
   ============================================= */
.video-container {
    margin: 16px 0;
}

.image-container {
    text-align: center;
    margin: 16px 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.audio-container {
    margin: 16px 0;
}

.image-caption,
.video-caption,
.audio-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
}

/* =============================================
   PC / Desktop (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {

    /* Header */
    .truth-header {
        padding: 32px 24px;
        margin: 0 0 28px 0;
    }

    .truth-header h1 {
        font-size: 2rem;
    }

    .truth-header .subtitle {
        font-size: 1rem;
    }

    /* Tabs */
    .truth-tabs {
        margin-bottom: 28px;
    }

    .truth-tab-btn {
        padding: 16px 24px;
        font-size: 1rem;
        gap: 10px;
    }

    .truth-tab-btn i {
        font-size: 1.1rem;
    }

    /* Section */
    .truth-section {
        padding: 24px;
        margin-bottom: 20px;
    }

    .truth-section h2 {
        font-size: 1.3rem;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .truth-section h3 {
        font-size: 1.1rem;
        margin: 20px 0 12px 0;
    }

    .truth-section p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    /* Boxes */
    .highlight-box,
    .warning-box {
        padding: 18px 20px;
        margin: 20px 0;
    }

    .highlight-box i,
    .warning-box i {
        font-size: 1.5rem;
    }

    .process-box {
        padding: 20px;
        margin: 20px 0;
    }

    .process-box h3 {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .process-box li {
        padding: 8px 0;
        font-size: 0.95rem;
    }

    .key-point {
        padding: 24px;
        margin: 20px 0;
    }

    .key-point h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .key-point p {
        font-size: 1rem;
    }

    .conclusion-box {
        padding: 24px;
        margin: 20px 0;
    }

    .conclusion-box h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .conclusion-box p {
        font-size: 1rem;
    }

    /* Media */
    .image-caption,
    .video-caption,
    .audio-caption {
        font-size: 0.9rem;
        margin-top: 12px;
    }
}