/* ============================================================
   FameFacts — Dark Tabloid Theme
   Celebrity Bios, Net Worth & Trending Facts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --bg-card-hover: #1c1c1c;
    --bg-elevated: #1e1e1e;
    --bg-input: #1a1a1a;
    --border: #2a2a2a;
    --border-light: #333;

    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --text-muted: #777;
    --text-inverse: #0a0a0a;

    --accent: #ff3366;
    --accent-dim: rgba(255, 51, 102, 0.15);
    --accent-hover: #ff1a53;
    --accent-gold: #ffd700;
    --accent-blue: #4da6ff;

    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;

    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 2px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);

    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.ff-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border);
}

.ff-navbar .container {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 2rem;
}

.ff-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ff-logo span { color: var(--accent); }

.ff-logo-img {
    height: 36px !important;
    width: auto !important;
    max-height: 36px;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

.ff-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.ff-nav::-webkit-scrollbar { display: none; }

.ff-nav li a {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
}

.ff-nav li a:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.ff-nav li a.ff-nav-active {
    color: var(--accent);
}

.ff-nav-sep { color: var(--border); font-size: 0.7rem; align-self: center; }

.ff-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-left: auto;
}

/* ============================================================
   AD ZONES
   ============================================================ */
.ad-zone { text-align: center; padding: 0.75rem 0; }

/* ============================================================
   HERO / FEATURED SECTION
   ============================================================ */
.ff-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    margin-bottom: 1.5rem;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
}

.ff-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.ff-hero:hover .ff-hero-img { transform: scale(1.03); }

.ff-hero-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, #1a1a2e 100%);
}

.ff-hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.95));
    width: 100%;
}

.ff-hero-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.ff-hero-content h2 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.ff-hero-content h2 a { color: #fff !important; }
.ff-hero-content h2 a:hover { color: var(--accent) !important; }

.ff-hero-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    max-width: 500px;
}

.ff-hero-meta { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.ff-section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

/* ============================================================
   TRENDING ENTITIES (People Cards)
   ============================================================ */
.ff-entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.ff-entity-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.25s;
    display: block;
    color: var(--text-primary) !important;
}

.ff-entity-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.ff-entity-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.ff-entity-avatar-img {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: top center;
    margin: 0 auto 0.75rem;
    display: block;
    border: 2px solid var(--border);
}

.ff-entity-card:hover .ff-entity-avatar-img { border-color: var(--accent); }

.ff-entity-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.ff-entity-card .ff-entity-type {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   TOP STORIES (Numbered List)
   ============================================================ */
.ff-top-stories {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.ff-story-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.ff-story-item:last-child { border-bottom: none; padding-bottom: 0; }
.ff-story-item:first-child { padding-top: 0; }

.ff-story-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    min-width: 28px;
    opacity: 0.6;
}

.ff-story-text { flex: 1; }

.ff-story-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.ff-story-text h4 a { color: var(--text-primary); }
.ff-story-text h4 a:hover { color: var(--accent); }

.ff-story-meta { font-size: 0.75rem; color: var(--text-muted); }

.ff-story-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

/* ============================================================
   STREAM / FEED ITEMS
   ============================================================ */
.ff-stream-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    border-top: 3px solid var(--accent);
    padding-top: 0.75rem;
    margin: 1.5rem 0 1.25rem;
}

.ff-stream-label span { color: var(--text-primary); }

.ff-stream-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.ff-stream-item:hover {
    background: var(--bg-card);
    margin: 0 -0.75rem;
    padding: 1.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.ff-stream-body { flex: 1; }

.ff-stream-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.ff-stream-body h3 a { color: var(--text-primary); }
.ff-stream-body h3 a:hover { color: var(--accent); }

.ff-stream-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.ff-stream-meta { font-size: 0.78rem; color: var(--text-muted); }
.ff-stream-meta .author { color: var(--accent); font-weight: 600; }
.ff-stream-meta .tag {
    background: var(--accent-dim);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 0.5rem;
}

.ff-stream-thumb {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.ff-stream-thumb-placeholder {
    width: 140px;
    height: 100px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.ff-popular-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.ff-popular-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
}

.ff-popular-item:last-child { border-bottom: none; }

.ff-popular-num {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.5;
    min-width: 22px;
    line-height: 1;
}

.ff-popular-text { flex: 1; }
.ff-popular-text h5 { font-size: 0.85rem; font-weight: 700; margin: 0 0 0.15rem; line-height: 1.35; }
.ff-popular-text h5 a { color: var(--text-primary); }
.ff-popular-text h5 a:hover { color: var(--accent); }
.ff-popular-text .meta { font-size: 0.72rem; color: var(--text-muted); }

.ff-sidebar-thumb {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: top center;
    flex-shrink: 0;
}

.ff-sidebar-section { margin-bottom: 1.5rem; }

.ff-sidebar-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ff-sidebar-cats a {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s;
}

.ff-sidebar-cats a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.sticky-sidebar-ad { position: sticky; top: 80px; }

/* ============================================================
   ENTITY BROWSE PAGE (/people)
   ============================================================ */
.ff-people-header {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.ff-people-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.ff-people-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.ff-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.ff-people-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s;
    display: block;
    color: var(--text-primary) !important;
}

.ff-people-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.ff-people-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
}

.ff-people-card .avatar-img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: top center;
    margin: 0 auto 1rem;
    display: block;
    border: 2px solid var(--border);
}

.ff-people-card:hover .avatar-img { border-color: var(--accent); }

.ff-people-card h3 { font-size: 1rem; font-weight: 800; margin: 0 0 0.3rem; }

.ff-people-card .bio {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ff-people-card .stats {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   ARTICLE / SINGLE PAGE
   ============================================================ */
.ff-article-header {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.ff-breadcrumb {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.ff-breadcrumb a { color: var(--text-muted); }
.ff-breadcrumb a:hover { color: var(--accent); }

.ff-article-header h1 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.ff-article-meta { font-size: 0.85rem; color: var(--text-muted); }
.ff-article-meta .author { color: var(--accent); font-weight: 600; }

/* Article Body */
.post-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    border-left: 4px solid var(--accent);
    padding-left: 0.75rem;
}

.post-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.post-content p { margin: 0 0 1.25rem; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: var(--accent-hover); }
.post-content ul, .post-content ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg-card);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-primary);
    font-style: italic;
}

.post-content img { border-radius: var(--radius); margin: 1rem 0; }

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.post-content th, .post-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}

.post-content th {
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* FAQ Section */
.ff-faq {
    max-width: 760px;
    margin: 2.5rem auto;
}

.ff-faq h2 {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--accent);
}

.ff-faq .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border) !important;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
}

.ff-faq .accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    box-shadow: none !important;
    border: none;
}

.ff-faq .accordion-button::after { filter: invert(1); }

.ff-faq .accordion-button:not(.collapsed) {
    background: var(--bg-elevated);
    color: var(--accent);
}

.ff-faq .accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem 1.25rem;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Entity Cluster Nav (view template) */
.ff-entity-cluster {
    max-width: 760px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.ff-entity-cluster h2 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: var(--accent);
}

.ff-entity-cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.ff-cluster-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary) !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s;
}

.ff-cluster-link:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent) !important;
}

.ff-cluster-link .badge-hub {
    font-size: 0.6rem;
    background: var(--accent);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Inline cluster nav injected by publisher cron */
.entity-cluster-nav {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.entity-cluster-nav h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

.entity-cluster-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem;
}

.entity-cluster-nav li a {
    display: block;
    padding: 0.6rem 0.85rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.entity-cluster-nav li a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Related Posts */
.ff-related {
    max-width: 760px;
    margin: 2rem auto;
}

.ff-related h2 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.ff-category-header {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--accent);
}

.ff-category-header h1 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 0.3rem;
}

.ff-category-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.ff-pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    padding: 2rem 0;
}

.ff-pagination a, .ff-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.ff-pagination a:hover { border-color: var(--accent); color: var(--accent); }

.ff-pagination span.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.ff-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.ff-empty h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ff-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.ff-footer h5 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.ff-footer a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.2rem 0;
    transition: color 0.2s;
}

.ff-footer a:hover { color: var(--accent); }

.ff-footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .ff-navbar .container { flex-wrap: wrap; height: auto; padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .ff-menu-toggle { display: block; }
    .ff-nav { display: none; width: 100%; padding: 0.5rem 0; }
    .ff-nav.open { display: flex; flex-wrap: wrap; }
    .ff-nav-sep { display: none; }
    .ff-hero-content h2 { font-size: 1.5rem; }
    .ff-hero { min-height: 300px; }
    .ff-article-header h1 { font-size: 1.75rem; }
    .post-content h2 { font-size: 1.3rem; }
    .ff-stream-thumb { width: 110px; height: 80px; }
}

@media (max-width: 768px) {
    .ff-hero { min-height: 250px; }
    .ff-hero-content { padding: 1.5rem; }
    .ff-hero-content h2 { font-size: 1.3rem; }
    .ff-article-header h1 { font-size: 1.5rem; }
    .post-content { font-size: 1rem; }
    .ff-entity-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .ff-people-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .ff-entity-cluster-grid { grid-template-columns: 1fr; }
    .ff-stream-item { gap: 0.75rem; }
    .ff-stream-body h3 { font-size: 0.95rem; }
    .ff-stream-excerpt { display: none; }
    .ff-stream-thumb { width: 90px; height: 70px; }
}

@media (max-width: 480px) {
    .ff-logo { font-size: 1.3rem; }
    .ff-hero-content h2 { font-size: 1.15rem; }
    .ff-article-header h1 { font-size: 1.3rem; }
    .ff-people-header h1 { font-size: 1.8rem; }
    .ff-stream-thumb, .ff-stream-thumb-placeholder { width: 72px; height: 56px; }
}
