/* =====================================================
   Facebook Chapter Page
===================================================== */

.fb-chapter-hero {
    background: linear-gradient(135deg, #0d5c63, #0f766e);
    color: #ffffff;
    padding: 48px 28px;
    border-radius: 22px;
    margin-bottom: 32px;
}

.fb-chapter-badge {
    display: inline-block;
    background: #f05454;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.fb-chapter-hero h1 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.fb-chapter-hero p {
    font-size: 1.12rem;
    max-width: 850px;
}

.fb-progress-wrap {
    margin-top: 22px;
    max-width: 420px;
}

.fb-progress-label {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.fb-progress-bar {
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.fb-progress-fill {
    background: #63E6BE;
    width: 8%;
    height: 100%;
}

.fb-chapter-section {
    margin-bottom: 28px;
}

.fb-chapter-section h2 {
    color: #0d5c63;
    font-size: 1.55rem;
    font-weight: 800;
    border-bottom: 3px solid #63E6BE;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.fb-info-box,
.fb-note-box,
.fb-warning-box,
.fb-checklist-box,
.fb-takeaway-box {
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 28px;
}

.fb-info-box {
    background: #eef9f7;
    border-left: 6px solid #0d5c63;
}

.fb-note-box {
    background: #fff8e6;
    border-left: 6px solid #f0b429;
}

.fb-warning-box {
    background: #fff1f1;
    border-left: 6px solid #f05454;
}

.fb-checklist-box {
    background: #f8f9fa;
    border-left: 6px solid #63E6BE;
}

.fb-takeaway-box {
    background: #0d5c63;
    color: #ffffff;
}

.fb-info-box h3,
.fb-note-box h3,
.fb-warning-box h3,
.fb-checklist-box h3 {
    color: #0d5c63;
    font-weight: 800;
    margin-bottom: 12px;
}

.fb-takeaway-box h3 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 12px;
}

.fb-info-box p,
.fb-note-box p,
.fb-warning-box p,
.fb-checklist-box p {
    font-size: 1.03rem;
    line-height: 1.65;
}

.fb-takeaway-box p,
.fb-takeaway-box li {
    color: #ffffff;
    font-size: 1.03rem;
    line-height: 1.65;
}

.fb-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.fb-content-card {
    background: #ffffff;
    border: 1px solid #d7e7e5;
    border-left: 5px solid #0d5c63;
    border-radius: 14px;
    padding: 18px;
}

.fb-content-card h3 {
    color: #0d5c63;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.fb-content-card p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.fb-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.fb-checklist li {
    font-size: 1.03rem;
    margin-bottom: 9px;
}

.fb-checkmark {
    color: #0f766e;
    font-weight: 900;
    margin-right: 8px;
}

.fb-chapter-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 36px;
}

.fb-chapter-nav a {
    background: #0d5c63;
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.fb-chapter-nav a:hover {
    background: #0f766e;
}

@media (max-width: 900px) {
    .fb-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .fb-card-grid {
        grid-template-columns: 1fr;
    }

    .fb-chapter-nav {
        flex-direction: column;
    }
}
