:root {
    --tfsl-primary: #0f766e;
    --tfsl-primary-dark: #0b5f59;
    --tfsl-accent: #f1b155;
    --tfsl-ink: #0f172a;
    --tfsl-muted: #5b6779;
    --tfsl-bg: #f7f5ef;
    --tfsl-card: #ffffff;
    --tfsl-hero: linear-gradient(120deg, #0b5f59 0%, #0f8f7b 50%, #19b08c 100%);
    --tfsl-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --tfsl-radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--tfsl-bg);
    color: var(--tfsl-ink);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(241, 177, 85, 0.16), transparent 45%),
        radial-gradient(circle at 90% 0%, rgba(15, 118, 110, 0.16), transparent 40%);
    min-height: 100vh;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', 'Times New Roman', serif;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
}

.tfsl-site-body {
    background-color: var(--tfsl-bg);
}

.tfsl-embed-block {
    padding: 1rem;
    border: 1px dashed rgba(20, 30, 50, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    color: #1f2a37;
}

@media (hover: hover) and (pointer: fine) {
    .tfsl-site-nav .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        transition: opacity 0.18s ease, visibility 0.18s ease;
    }
    .tfsl-site-nav .dropdown:hover > .dropdown-menu,
    .tfsl-site-nav .dropdown.show > .dropdown-menu,
    .tfsl-site-nav .dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
}

.tfsl-site-nav {
    background: rgba(8, 47, 43, 0.2);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1100;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    padding: 0.2rem 0;
}

.tfsl-site-nav .navbar-collapse {
    overflow: visible;
}

.tfsl-site-nav .dropdown-menu {
    z-index: 1200;
}

.tfsl-site-nav .portal-menu .dropdown-menu {
    min-width: 200px;
    right: 0;
    left: auto;
}

.tfsl-site-nav.is-scrolled {
    background: rgba(7, 41, 38, 0.95);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.tfsl-site-nav .navbar-brand {
    font-family: 'Fraunces', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.tfsl-site-logo {
    height: 36px;
    width: auto;
}

.tfsl-site-nav .nav-link {
    color: #e6f3f1;
    font-weight: 600;
    margin-left: 0.5rem;
    position: relative;
}

.tfsl-site-utility {
    background: rgba(6, 24, 30, 0.92);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    padding: 0.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.2;
}

.tfsl-site-utility .container {
    padding-top: 0;
    padding-bottom: 0;
}

.tfsl-site-utility .d-flex {
    min-height: 32px;
}

.tfsl-site-utility a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.tfsl-site-utility a:hover {
    color: #ffffff;
}

.tfsl-utility-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tfsl-utility-left i {
    color: var(--tfsl-accent);
    margin-right: 0.35rem;
}

.tfsl-utility-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tfsl-nav-link {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tfsl-nav-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.tfsl-nav-cta {
    padding: 0.4rem 1rem !important;
    border-radius: 999px;
    background: var(--tfsl-accent);
    color: #0f172a !important;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(241, 177, 85, 0.35);
}

.tfsl-nav-cta:hover {
    background: #ffd18f;
    color: #0f172a !important;
}

.tfsl-site-nav .nav-link.active::after,
.tfsl-site-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -6px;
    height: 3px;
    background: var(--tfsl-accent);
    border-radius: 999px;
}

.tfsl-site-hero {
    background: var(--tfsl-hero);
    position: relative;
    overflow: visible;
    z-index: 1100;
}

.tfsl-site-hero .container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2.4rem !important;
}

.tfsl-hero-slider {
    background: #0b5f59;
    position: relative;
    z-index: 0;
}

.tfsl-hero-slide {
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tfsl-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(3, 44, 40, 0.85), rgba(6, 80, 72, 0.45));
    pointer-events: none;
}

.tfsl-hero-slide .container {
    position: relative;
    z-index: 1;
}


.tfsl-apply-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.tfsl-video-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--tfsl-shadow);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #000000;
}

.tfsl-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tfsl-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tfsl-social-link:hover {
    background: var(--tfsl-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.tfsl-social-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.tfsl-site-footer .tfsl-social-link {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.tfsl-site-footer .tfsl-social-link:hover {
    background: var(--tfsl-accent);
    color: #0f172a;
}

.tfsl-map-embed iframe {
    width: 100%;
    height: 100%;
}

.tfsl-map-embed {
    min-height: 240px;
}

.tfsl-map-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: var(--tfsl-shadow);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.tfsl-map-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.tfsl-map-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--tfsl-primary);
}

.tfsl-map-title {
    margin: 0;
}

.tfsl-map-figure {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfsl-map-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.tfsl-map-visual {
    position: relative;
    width: 100%;
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: linear-gradient(135deg, #f8fafc, #eef7f4);
}

.tfsl-map-visual::before,
.tfsl-map-visual::after {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: 0;
}

.tfsl-map-visual::before {
    background:
        radial-gradient(circle at 12% 18%, rgba(22, 163, 74, 0.22), transparent 55%),
        radial-gradient(circle at 88% 22%, rgba(37, 99, 235, 0.22), transparent 55%);
}

.tfsl-map-visual::after {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.08) 0%, rgba(255, 255, 255, 0.0) 40%, rgba(37, 99, 235, 0.08) 78%, transparent 100%);
}

.tfsl-map-svg {
    width: 100%;
    height: auto;
    max-width: 520px;
    display: block;
    position: relative;
    z-index: 1;
}

.map-outline {
    stroke: #1f2937;
    stroke-width: 2;
}

.map-boundary {
    stroke: rgba(137, 74, 92, 0.6);
    stroke-width: 1.2;
    fill: none;
}

.map-outline,
.map-boundary {
    vector-effect: non-scaling-stroke;
}

.map-label {
    font-size: 14px;
    font-weight: 600;
    fill: #0f172a;
}

.map-label--muted {
    fill: #6b7280;
    font-weight: 500;
}

.map-flag .flag-pole {
    fill: #1f2937;
}

.map-flag .flag-body {
    fill: #2563eb;
}

.map-flag .flag-text {
    fill: #ffffff;
    font-size: 9px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}

.tfsl-map-shape {
    position: absolute;
    inset: 18px;
    border-radius: 48% 52% 45% 55% / 45% 55% 45% 55%;
    border: 2px dashed rgba(15, 118, 110, 0.25);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.tfsl-map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #0f172a;
    border: 1px solid rgba(15, 118, 110, 0.25);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    max-width: 120px;
    white-space: normal;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tfsl-map-pin::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tfsl-accent);
    flex-shrink: 0;
}

.pin-western-rural { left: 18%; top: 62%; }
.pin-port-loko { left: 25%; top: 50%; }
.pin-bombali { left: 42%; top: 38%; }
.pin-karene { left: 33%; top: 45%; }
.pin-falaba { left: 70%; top: 22%; }
.pin-koinadugu { left: 52%; top: 25%; }
.pin-bo { left: 50%; top: 65%; }
.pin-moyamba { left: 36%; top: 72%; }
.pin-pujehun { left: 50%; top: 82%; }

.tfsl-map-legend {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tfsl-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 600;
}

.tfsl-map-placeholder {
    padding: 2rem;
    text-align: center;
    color: var(--tfsl-muted);
    font-size: 0.9rem;
}

.tfsl-map-meta {
    margin-top: 1rem;
    color: var(--tfsl-muted);
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .tfsl-map-visual {
        min-height: 240px;
    }
    .tfsl-map-pin {
        font-size: 0.65rem;
        padding: 3px 6px;
        max-width: 95px;
    }
}

@media (max-width: 575px) {
    .tfsl-map-svg {
        max-width: 420px;
    }
    .map-label {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .tfsl-map-pin {
        display: none;
    }
    .tfsl-map-shape {
        inset: 24px;
    }
}

.tfsl-footer-map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(2, 6, 23, 0.55);
}

.tfsl-counter {
    font-variant-numeric: tabular-nums;
}

.tfsl-site-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.tfsl-site-hero--compact .tfsl-page-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.tfsl-site-hero > * {
    position: relative;
    z-index: 1;
}

.tfsl-site-hero > .tfsl-site-nav {
    z-index: 1200;
}

.tfsl-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tfsl-hero-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--tfsl-radius);
    box-shadow: var(--tfsl-shadow);
    color: #0f172a;
}

.tfsl-hero-image-wrap {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tfsl-hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.35));
    pointer-events: none;
}

.tfsl-hero-image-placeholder {
    min-height: clamp(210px, 34vw, 340px);
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.18), rgba(241, 177, 85, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    color: #0f172a;
}

.tfsl-hero-image-placeholder h2 {
    font-family: 'Fraunces', 'Times New Roman', serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tfsl-hero-image-placeholder p {
    margin: 0;
    color: rgba(15, 23, 42, 0.75);
}

.tfsl-hero-image-wrap img {
    width: 100%;
    height: clamp(210px, 34vw, 340px);
    object-fit: cover;
    display: block;
}

.tfsl-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 32px;
    background: linear-gradient(110deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0));
    color: #fff;
}

.tfsl-hero-overlay-card {
    max-width: 520px;
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    display: grid;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tfsl-hero-overlay-card h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    margin: 0;
    text-shadow: 0 6px 14px rgba(15, 23, 42, 0.35);
}

.tfsl-hero-overlay-card p {
    margin: 0;
    max-width: 520px;
    color: rgba(248, 250, 252, 0.95);
}

.tfsl-page-hero {
    padding: 2rem 0 2.4rem;
    color: #f8fafc;
}

.tfsl-page-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.tfsl-page-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    color: #1f2937;
    line-height: 1.8;
}

.tfsl-page-content h2,
.tfsl-page-content h3,
.tfsl-page-content h4 {
    font-family: 'Fraunces', serif;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #0f172a;
}

.tfsl-page-content p {
    margin-bottom: 16px;
}

.tfsl-page-content img,
.tfsl-page-content iframe {
    max-width: 100%;
    border-radius: 14px;
    margin: 12px 0;
}

.tfsl-page-content::after,
.tfsl-post-body::after {
    content: '';
    display: block;
    clear: both;
}

.tfsl-post-body img {
    max-width: 100%;
    height: auto;
}

.tfsl-page-content blockquote {
    border-left: 4px solid #0f766e;
    padding: 12px 16px;
    background: #f0fdfa;
    border-radius: 10px;
    color: #0f172a;
    margin: 18px 0;
}

.tfsl-page-content ul,
.tfsl-page-content ol {
    padding-left: 1.4rem;
    margin-bottom: 16px;
}

.tfsl-page-section {
    margin-bottom: 2rem;
}

.tfsl-page-grid {
    margin-top: 0.5rem;
}

.tfsl-page-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.tfsl-page-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.tfsl-values-intro {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    align-items: start;
}

.tfsl-values-showcase {
    background: linear-gradient(135deg, #0f766e, #0b4f5b);
    border-radius: 18px;
    padding: 18px;
    color: #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    text-align: center;
}

.tfsl-values-showcase img {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    padding: 8px;
}

.tfsl-values-caption {
    margin-top: 12px;
    font-weight: 700;
    color: #f8fafc;
}

.tfsl-values-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tfsl-value-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.tfsl-value-card--wide {
    grid-column: 1 / -1;
    background: #ecfeff;
    border-color: #99f6e4;
}

.tfsl-value-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0f766e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.tfsl-value-card h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.tfsl-page-cta-band {
    margin-top: 2rem;
    background: linear-gradient(135deg, #0f766e, #0b4f5b);
    border-radius: 18px;
    padding: 24px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tfsl-page-cta-band h3 {
    margin: 0 0 6px;
    color: #ffffff;
}

.tfsl-page-cta-band p {
    margin: 0;
    color: rgba(248, 250, 252, 0.85);
}

.tfsl-page-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tfsl-page-cta-actions .btn {
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
}

.tfsl-empty-state {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    background: #f8fafc;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.tfsl-empty-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.tfsl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #0f766e;
    color: #ffffff;
    font-weight: 600;
}

.tfsl-checklist {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.tfsl-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
}

.tfsl-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0f766e;
    font-weight: 700;
}

@media (max-width: 991px) {
    .tfsl-values-intro {
        grid-template-columns: 1fr;
    }

    .tfsl-page-cta-band {
        align-items: flex-start;
    }

    .tfsl-empty-state {
        grid-template-columns: 1fr;
    }
}

.tfsl-report-section {
    margin-top: 2rem;
}

.tfsl-report-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tfsl-report-card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.tfsl-report-card h4 {
    margin: 0;
    font-size: 1.05rem;
}

.tfsl-report-card p {
    color: #4b5563;
    margin: 0;
}

.tfsl-report-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.tfsl-page-kpi {
    background: #0f766e;
    color: #fff;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.3);
}

.tfsl-page-kpi h3 {
    font-size: 1.6rem;
    margin: 0 0 4px;
}

.tfsl-team-photo {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.tfsl-partner-logo {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.tfsl-partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.tfsl-timeline {
    display: grid;
    gap: 16px;
    border-left: 3px solid #0f766e;
    padding-left: 18px;
}

.tfsl-timeline-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.tfsl-timeline-item span {
    font-weight: 700;
    color: #0f766e;
}

.tfsl-video-embed {
    position: relative;
    padding-top: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.tfsl-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tfsl-video-direct {
    width: 100%;
    max-height: 520px;
    border-radius: 16px;
    background: #000;
    display: block;
}

.tfsl-page-quote {
    background: #0f766e;
    color: #fff;
    padding: 24px;
    border-radius: 16px;
    font-size: 1.1rem;
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.35);
}

.tfsl-solution-card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.tfsl-solution-card h3,
.tfsl-solution-card h4 {
    margin-bottom: 0.6rem;
}

.tfsl-solution-card--vision {
    background: linear-gradient(135deg, #0f766e, #0b5f59);
    color: #fff;
}

.tfsl-solution-card--mission {
    background: linear-gradient(135deg, #0f4c81, #2563eb);
    color: #fff;
}

.tfsl-solution-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    margin-bottom: 10px;
}

.tfsl-solution-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #0f766e;
    color: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.28);
}

.tfsl-solution-band h4 {
    margin: 0 0 6px;
}

.tfsl-solution-figure {
    margin: 1.5rem 0 2rem;
    text-align: center;
}

.tfsl-solution-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.tfsl-solution-figure--full img {
    width: 100% !important;
    height: auto !important;
    max-height: none;
    object-fit: contain;
}

.tfsl-solution-stack {
    display: grid;
    gap: 16px;
}

.tfsl-solution-stack .tfsl-solution-card {
    position: relative;
    padding-left: 36px;
}

.tfsl-solution-stack .tfsl-solution-card::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #14b8a6, #2563eb);
    opacity: 0.85;
}

.tfsl-solution-figure figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #64748b;
}

.tfsl-roadmap-wrap {
    background: #f8fafc;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    margin: 24px 0;
}

.tfsl-roadmap-header h3 {
    margin-bottom: 6px;
}

.tfsl-roadmap-header p {
    color: #64748b;
    margin-bottom: 16px;
}

.tfsl-roadmap-figure {
    margin: 0;
    text-align: center;
}

.tfsl-roadmap-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.tfsl-roadmap-figure figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #64748b;
}

.tfsl-section-header h3 {
    margin-bottom: 4px;
}

.tfsl-section-header p {
    color: #64748b;
    margin-bottom: 18px;
}

.tfsl-team-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.tfsl-page-quote span {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.tfsl-impact-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tfsl-impact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tfsl-impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
}

.tfsl-impact-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.12);
}

.tfsl-impact-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}

.tfsl-impact-card h5 {
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.tfsl-impact-card p {
    margin-bottom: 0;
    color: #4b5563;
}

.tfsl-impact-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.tfsl-impact-chip {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-size: 0.8rem;
    font-weight: 600;
}

.tfsl-faq {
    display: grid;
    gap: 12px;
}

.tfsl-faq-item {
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.tfsl-faq-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.tfsl-page-hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.85rem;
}

.tfsl-site-main {
    position: relative;
    z-index: 2;
}

.tfsl-site-main--portal {
    padding-top: 1.5rem;
}

.tfsl-section {
    padding: 3.5rem 0;
}


.tfsl-card-lite {
    background: var(--tfsl-card);
    border-radius: var(--tfsl-radius);
    padding: 1.3rem;
    box-shadow: var(--tfsl-shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tfsl-card-lite:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.tfsl-stat-card {
    background: var(--tfsl-card);
    border-radius: var(--tfsl-radius);
    padding: 1.4rem;
    box-shadow: var(--tfsl-shadow);
}

.tfsl-partner-marquee {
    overflow: hidden;
    position: relative;
}

.tfsl-partner-track {
    display: flex;
    gap: 1.5rem;
    animation: tfsl-slide 18s linear infinite;
}

.tfsl-partner-marquee:hover .tfsl-partner-track {
    animation-play-state: paused;
}

.tfsl-partner-item img {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
}

@keyframes tfsl-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tfsl-site-footer {
    background: linear-gradient(135deg, #071a20 0%, #0c2a33 45%, #0d3b3a 100%);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.tfsl-site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(241, 177, 85, 0.14), transparent 45%),
        radial-gradient(circle at 90% 20%, rgba(15, 118, 110, 0.18), transparent 55%);
    pointer-events: none;
}

.tfsl-site-footer .container {
    position: relative;
    z-index: 1;
}

.tfsl-footer-top {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    margin-bottom: 2.2rem;
    box-shadow: 0 22px 44px rgba(5, 20, 26, 0.35);
}

.tfsl-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    max-width: 520px;
}

.tfsl-footer-brand img {
    height: 54px;
    width: 54px;
    background: #ffffff;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

.tfsl-footer-brand h5 {
    color: #ffffff;
}

.tfsl-footer-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tfsl-footer-social .tfsl-social-link {
    width: 38px;
    height: 38px;
}

.tfsl-footer-grid h6 {
    letter-spacing: 0.08em;
}

.tfsl-footer-grid ul li {
    margin-bottom: 0.35rem;
}

.tfsl-footer-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2rem;
}

.tfsl-footer-grid a {
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tfsl-footer-grid a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.tfsl-footer-map-row {
    margin-top: 2.2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tfsl-footer-map-row h6 {
    letter-spacing: 0.08em;
}

.tfsl-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .tfsl-footer-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .tfsl-footer-top {
        padding: 1.4rem;
        text-align: left;
    }
    .tfsl-footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }
    .tfsl-footer-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.tfsl-back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: var(--tfsl-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tfsl-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.tfsl-quick-actions {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 0.85rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.tfsl-quick-actions.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(16px);
}

.tfsl-quick-toggle {
    position: fixed;
    right: 24px;
    top: calc(50% - 78px);
    z-index: 1051;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #0f766e;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.tfsl-quick-toggle:hover {
    transform: translateY(-1px);
    background: #0e8c82;
}

.tfsl-quick-toggle.is-hidden {
    top: calc(50% - 20px);
    background: #111827;
}

.tfsl-quick-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

.tfsl-quick-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tfsl-quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}

.tfsl-quick-action i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.14);
    color: #0f766e;
}

.tfsl-quick-action--whatsapp i {
    background: rgba(37, 211, 102, 0.18);
    color: #16a34a;
}

.tfsl-quick-action--email i {
    background: rgba(241, 177, 85, 0.2);
    color: #b45309;
}

@media (max-width: 767px) {
    .tfsl-quick-actions {
        right: 16px;
        bottom: 76px;
        top: auto;
        transform: none;
    }
    .tfsl-quick-actions.is-hidden {
        transform: translateY(8px);
    }
    .tfsl-quick-toggle {
        right: 16px;
        bottom: 24px;
        top: auto;
    }
    .tfsl-quick-toggle.is-hidden {
        bottom: 24px;
        top: auto;
    }
    .tfsl-quick-action span {
        display: none;
    }
}

.btn-primary {
    background: var(--tfsl-primary);
    border-color: var(--tfsl-primary);
}

.btn-primary:hover {
    background: var(--tfsl-primary-dark);
    border-color: var(--tfsl-primary-dark);
}

.btn-warning {
    background: var(--tfsl-accent);
    border-color: var(--tfsl-accent);
}

/* Animations */
.tfsl-anim-up {
    animation: tfsl-rise 0.7s ease forwards;
    opacity: 0;
    transform: translateY(16px);
    animation-delay: var(--delay, 0s);
}

.tfsl-anim-fade {
    animation: tfsl-fade 0.7s ease forwards;
    opacity: 0;
    animation-delay: var(--delay, 0s);
}

@keyframes tfsl-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tfsl-fade {
    to { opacity: 1; }
}

@keyframes tfsl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Applicant portal */
.tfsl-portal-body {
    background: linear-gradient(135deg, #fdf6e8 0%, #f1f7f5 45%, #ffffff 100%);
}

.tfsl-portal-shell {
    padding: 2.5rem 0;
}

.tfsl-portal-topbar {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: var(--tfsl-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tfsl-portal-topbar h5 {
    margin: 0;
}

.tfsl-portal-auth {
    padding: 3.5rem 0;
}

.tfsl-portal-auth-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: center;
}

.tfsl-portal-card {
    background: #ffffff;
    border-radius: var(--tfsl-radius);
    box-shadow: var(--tfsl-shadow);
    padding: 2rem;
}

.tfsl-portal-panel {
    background: linear-gradient(135deg, rgba(31, 120, 180, 0.95), rgba(14, 165, 233, 0.9));
    color: #ffffff;
    border-radius: var(--tfsl-radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.tfsl-portal-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 50%);
}

.tfsl-portal-panel > * {
    position: relative;
    z-index: 1;
}

.tfsl-portal-kpi {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: var(--tfsl-shadow);
    height: 100%;
}

.tfsl-portal-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tfsl-portal-section {
    background: #ffffff;
    border-radius: var(--tfsl-radius);
    padding: 1.5rem;
    box-shadow: var(--tfsl-shadow);
}

.tfsl-portal-table thead {
    background: #f4f6f9;
}

.tfsl-form-section {
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fcfcfd;
}

.tfsl-form-section h6 {
    margin-bottom: 1rem;
}

/* Blog */
.tfsl-blog-hero {
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(241, 177, 85, 0.2));
    border-radius: var(--tfsl-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.tfsl-blog-search {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.tfsl-blog-search .form-control {
    min-width: 220px;
}

.tfsl-blog-card {
    background: #ffffff;
    border-radius: var(--tfsl-radius);
    overflow: hidden;
    box-shadow: var(--tfsl-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tfsl-blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tfsl-blog-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tfsl-blog-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
}

.tfsl-blog-feature-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.tfsl-blog-feature-card {
    background: #ffffff;
    border-radius: var(--tfsl-radius);
    overflow: hidden;
    box-shadow: var(--tfsl-shadow);
    display: flex;
    flex-direction: column;
}

.tfsl-blog-feature-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.tfsl-blog-feature-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tfsl-blog-mini {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.95rem;
    box-shadow: var(--tfsl-shadow);
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.tfsl-blog-mini img {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    object-fit: cover;
}

.tfsl-blog-mini-placeholder {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.tfsl-blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 600;
}

.tfsl-blog-chip small {
    font-size: 0.7rem;
    opacity: 0.72;
}

.tfsl-blog-chip-link {
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.tfsl-blog-chip-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    background: #d6dee9;
}

.tfsl-blog-chip-link.is-active {
    background: rgba(15, 118, 110, 0.14);
    border-color: rgba(15, 118, 110, 0.28);
    color: var(--tfsl-primary-dark);
}

.tfsl-blog-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.tfsl-blog-metric {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
    background: rgba(255, 255, 255, 0.72);
    display: grid;
    gap: 0.1rem;
}

.tfsl-blog-metric span {
    font-size: 0.72rem;
    color: #607086;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.tfsl-blog-metric strong {
    font-size: 0.9rem;
    color: #10213a;
}

.tfsl-trend-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.12);
    color: var(--tfsl-primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.tfsl-post-meta-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    text-decoration: none;
    color: #0f172a;
    background: #edf2f7;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.tfsl-post-meta-chip:hover {
    background: #dbe6f4;
    color: #0f172a;
}

.tfsl-post-meta-chip--tag {
    background: #f2f7f4;
    color: #0f766e;
}

.tfsl-post-meta-chip--tag:hover {
    background: #deefe6;
    color: #0b5f59;
}

.tfsl-blog-aside {
    background: #ffffff;
    border-radius: var(--tfsl-radius);
    padding: 1.5rem;
    box-shadow: var(--tfsl-shadow);
    display: grid;
    gap: 1.2rem;
}

.tfsl-blog-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tfsl-blog-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tfsl-article-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .tfsl-article-shell {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    }
}

@media (max-width: 991px) {
    .tfsl-blog-layout {
        grid-template-columns: 1fr;
    }
    .tfsl-blog-feature-grid {
        grid-template-columns: 1fr;
    }
    .tfsl-blog-metrics {
        grid-template-columns: 1fr;
    }
    .tfsl-blog-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tfsl-hero-slide {
        min-height: 340px;
        padding: 2.4rem 0;
    }
    .tfsl-apply-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .tfsl-site-nav .navbar-brand img {
        height: 32px;
    }
    .tfsl-site-nav .nav-link {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .tfsl-blog-search .form-control {
        min-width: 0;
        width: 100%;
    }
    .tfsl-blog-grid--four {
        grid-template-columns: 1fr;
    }
    .tfsl-hero-slide {
        min-height: 300px;
        text-align: center;
    }
    .tfsl-hero-slide .btn {
        width: 100%;
    }
    .tfsl-site-nav .navbar-collapse {
        background: rgba(9, 57, 52, 0.95);
        border-radius: 16px;
        margin-top: 1rem;
        padding: 1rem;
    }
    .tfsl-card-lite img {
        height: 160px;
    }
}

@media (max-width: 575px) {
    .tfsl-site-hero .container.py-5,
    .tfsl-site-hero--compact .tfsl-page-hero {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .tfsl-badge-pill {
        font-size: 0.75rem;
    }
    .tfsl-portal-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .tfsl-portal-topbar .btn {
        width: 100%;
    }
    .tfsl-portal-card,
    .tfsl-portal-section {
        padding: 1.4rem;
    }
}

.tfsl-article-card {
    background: #ffffff;
    border-radius: var(--tfsl-radius);
    padding: 2rem;
    box-shadow: var(--tfsl-shadow);
}

.tfsl-post-body {
    line-height: 1.7;
    color: #1f2937;
}

.tfsl-post-body p {
    margin-bottom: 1rem;
}

.tfsl-post-body p:first-of-type::first-letter {
    float: left;
    font-size: 3rem;
    line-height: 1;
    padding-right: 0.5rem;
    font-family: 'Fraunces', 'Times New Roman', serif;
    color: var(--tfsl-primary);
}

.tfsl-post-body h2,
.tfsl-post-body h3,
.tfsl-post-body h4 {
    margin: 1.6rem 0 0.8rem;
}

.tfsl-post-body ul,
.tfsl-post-body ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.tfsl-post-body blockquote {
    border-left: 4px solid var(--tfsl-primary);
    padding: 0.2rem 0 0.2rem 1rem;
    margin: 1rem 0;
    color: var(--tfsl-muted);
}

.tfsl-post-body a {
    color: var(--tfsl-primary);
    text-decoration: underline;
}

.tfsl-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--tfsl-muted);
}

.tfsl-article-share .btn {
    border-radius: 999px;
}

.tfsl-article-aside {
    background: #ffffff;
    border-radius: var(--tfsl-radius);
    padding: 1.5rem;
    box-shadow: var(--tfsl-shadow);
}

.tfsl-editor-toolbar {
    border: 1px solid #e6e9f2;
    border-radius: 12px 12px 0 0;
}

.tfsl-editor-body {
    border: 1px solid #e6e9f2;
    border-top: none;
    border-radius: 0 0 12px 12px;
    min-height: 220px;
}

/* Applicant portal layout */
.tfsl-app-portal-body {
    background: #eef2f6;
}

.tfsl-app-portal {
    display: flex;
    min-height: 100vh;
}

.tfsl-app-sidebar {
    width: 240px;
    background: #111827;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: width 0.2s ease, transform 0.2s ease;
    z-index: 1040;
}

.tfsl-app-sidebar.is-collapsed {
    width: 76px;
}

.tfsl-app-brand {
    background: #1f78b4;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tfsl-app-brand img {
    height: 34px;
    width: 34px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
}

.tfsl-app-user {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tfsl-app-user img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    object-fit: cover;
}

.tfsl-app-user small {
    color: rgba(255, 255, 255, 0.65);
}

.tfsl-app-nav {
    padding: 0.75rem 0;
    flex: 1 1 auto;
}

.tfsl-app-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: #e2e8f0;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tfsl-app-nav a i {
    width: 18px;
    text-align: center;
}

.tfsl-app-nav a:hover,
.tfsl-app-nav a.active {
    background: rgba(31, 120, 180, 0.18);
    color: #ffffff;
    border-left-color: #2dd4bf;
}

.tfsl-app-nav .tfsl-app-nav-title {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.6rem 1.25rem 0.3rem;
    color: rgba(255, 255, 255, 0.45);
}

.tfsl-app-sidebar.is-collapsed .tfsl-app-brand span,
.tfsl-app-sidebar.is-collapsed .tfsl-app-user .tfsl-app-user-text,
.tfsl-app-sidebar.is-collapsed .tfsl-app-nav span,
.tfsl-app-sidebar.is-collapsed .tfsl-app-nav-title {
    display: none;
}

.tfsl-app-sidebar.is-collapsed .tfsl-app-user {
    justify-content: center;
}

.tfsl-app-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tfsl-app-topbar {
    background: #1f78b4;
    color: #ffffff;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tfsl-app-topbar .tfsl-app-toggle {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tfsl-app-topbar .tfsl-app-userchip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.tfsl-app-topbar .tfsl-app-userchip img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.tfsl-app-content {
    padding: 1.75rem;
}

.tfsl-app-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tfsl-app-page-header h1 {
    margin: 0;
    font-size: 1.6rem;
}

.tfsl-app-breadcrumb {
    font-size: 0.85rem;
    color: #6b7280;
}

.tfsl-app-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 1.4rem;
}

.tfsl-app-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tfsl-app-stat {
    color: #ffffff;
    border-radius: 14px;
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
}

.tfsl-app-stat::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.tfsl-app-stat--blue {
    background: linear-gradient(135deg, #0891b2, #0ea5e9);
}

.tfsl-app-stat--amber {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.tfsl-app-stat--green {
    background: linear-gradient(135deg, #10b981, #16a34a);
}

.tfsl-app-stat a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
}

.tfsl-app-table thead th {
    background: #e2e8f0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tfsl-app-form-section {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.tfsl-app-stepper {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.tfsl-app-stepper li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.tfsl-app-stepper span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.tfsl-app-stepper li.active span {
    background: #0ea5e9;
    color: #ffffff;
}

.tfsl-app-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1030;
}

.tfsl-app-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .tfsl-app-sidebar {
        position: fixed;
        transform: translateX(-100%);
    }
    .tfsl-app-sidebar.is-open {
        transform: translateX(0);
    }
    .tfsl-app-topbar {
        position: sticky;
        top: 0;
        z-index: 1020;
    }
}
