﻿/* -----------------------------------------------------
   GLOBAL TFA LABS STYLE — WHO BLUE THEME
----------------------------------------------------- */

:root {
    --who-blue: #0B4F6C;
    --who-blue-light: #1A76A3;
    --who-grey: #444;
    --who-bg: #F5F8FA;
}

body {
    background: var(--who-bg);
}

/* -----------------------------------------------------
   HERO SECTION
----------------------------------------------------- */
.hero-section-tfa {
    position: relative;
    min-height: 380px;
    padding: 60px 40px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--who-blue), var(--who-blue-light));
    color: white;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-content-tfa {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-title-tfa {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-subtext-tfa {
    margin-top: 16px;
    font-size: 1.15rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons .btn {
    padding: 12px 24px;
    font-size: 1.05rem;
}

.hero-bg-tfa {
    position: absolute;
    right: -60px;
    top: -40px;
    width: 520px;
    height: 520px;
    background: url('/images/health-illustration.png') center/contain no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

/* -----------------------------------------------------
   SECTIONS
----------------------------------------------------- */

.section-title-tfa {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--who-blue);
    margin-bottom: 18px;
}

.section-text-tfa {
    font-size: 1rem;
    color: var(--who-grey);
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 18px;
}

/* -----------------------------------------------------
   BULLET LIST
----------------------------------------------------- */
.tfa-list {
    list-style: none;
    padding-left: 0;
}

    .tfa-list li {
        padding-left: 26px;
        margin-bottom: 10px;
        font-size: 1rem;
        position: relative;
    }

        .tfa-list li::before {
            content: "•";
            font-size: 1.4rem;
            color: var(--who-blue);
            position: absolute;
            left: 0;
            top: -2px;
        }

/* -----------------------------------------------------
   WEBINAR CARD
----------------------------------------------------- */
.webinar-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 700px;
}

/* -----------------------------------------------------
   LOGGED-IN WORKSPACES
----------------------------------------------------- */
.workspace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.workspace-card {
    background: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .workspace-card h4 {
        color: var(--who-blue);
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

/* -----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */
@media (max-width: 900px) {
    .hero-section-tfa {
        padding: 40px 24px;
        min-height: 320px;
    }

    .hero-title-tfa {
        font-size: 1.9rem;
    }
}
/* TIMELINE */
.timeline {
    margin-top: 30px;
    border-left: 4px solid #0B4F6C;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 25px;
    position: relative;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: #0B4F6C;
    border-radius: 50%;
    position: absolute;
    left: -32px;
    top: 4px;
}

/* PARTNERS */
.partners-section {
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
}

    .partner-logos img {
        height: 60px;
        opacity: 0.9;
    }

/* LOGGED-IN FEATURE GRID */
.features-section {
    margin-top: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: #0B4F6C;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    }
/* HERO (Small) */
.hero-small {
    background: linear-gradient(135deg, #0B4F6C, #1A76A3);
    padding: 40px 30px;
    color: white;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero-title-sm {
    font-size: 2rem;
    font-weight: 700;
}

.hero-subtext-sm {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* THREAD CARDS */
.discussion-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s ease;
}

    .discussion-card:hover {
        box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    }

    .discussion-card.pinned {
        border-left: 4px solid #1A76A3;
        background: #f4faff;
    }

/* TAGS */
.tag {
    background: #0B4F6C;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* FILTERS */
.discussion-filters input,
.discussion-filters select {
    font-size: 0.95rem;
}
.create-discussion {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

    .create-discussion .form-label {
        font-weight: 600;
        color: #0B4F6C;
    }
.thread-detail {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.thread-header {
    margin-bottom: 20px;
}

.thread-title {
    color: #0B4F6C;
    font-size: 1.8rem;
    font-weight: 700;
}

.thread-category {
    background: #e7f4ff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #0B4F6C;
    display: inline-block;
    margin-top: 8px;
}

.main-post {
    background: #f8fbff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.reply-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #0B4F6C;
    margin-bottom: 15px;
}

.reply-author {
    font-size: 0.9rem;
    color: #0B4F6C;
}

.reply-text {
    margin-top: 6px;
    margin-bottom: 6px;
}

.reply-time {
    font-size: 0.8rem;
    color: #666;
}

.reply-form {
    margin-top: 40px;
}
.page-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.thread-title {
    font-size: 1.8rem;
    color: #0B4F6C;
    font-weight: 700;
}

.thread-meta {
    color: #666;
    margin-bottom: 16px;
}

.thread-body {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reply-card {
    margin-bottom: 16px;
    padding: 18px;
    background: #f7fafd;
    border-left: 4px solid #0B4F6C;
    border-radius: 6px;
}

.reply-meta {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #444;
}

.reply-body {
    font-size: 1rem;
    line-height: 1.5;
}
