/*
Theme Name: Flavor News
Theme URI: https://ai.ovexro.com
Author: Ovidiu
Author URI: https://ovexro.com
Description: A premium, modern news theme designed for AI-powered news sites. Features breaking news ticker, dark mode, AJAX infinite scroll, social sharing, reading progress bar, and more.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavor-news
Tags: news, magazine, blog, one-column, custom-menu, featured-images, translation-ready, custom-logo
*/

/* ==========================================================================
   TABLE OF CONTENTS
   1.  CSS Variables & Theming
   2.  Reset & Base
   3.  Typography
   4.  Layout & Container
   5.  Header & Navigation
   6.  Breaking News Ticker
   7.  Search Overlay
   8.  Hero Section
   9.  Post Cards
   10. Homepage Grid
   11. Pagination & Load More
   12. Single Post
   13. Article Typography
   14. Table of Contents
   15. Share Buttons
   16. Like Button
   17. Author Box
   18. Post Navigation (Prev/Next)
   19. Related Posts
   20. Comments
   21. Archive & Category Headers
   22. Search Results
   23. 404 Page
   24. Static Page
   25. Footer
   26. Newsletter Signup
   27. Reading Progress Bar
   28. Back to Top
   29. Dark Mode
   30. Animations
   31. Responsive
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Theming
   ========================================================================== */

:root {
    /* Colors - Light Mode */
    --fn-bg: #ffffff;
    --fn-bg-alt: #f8f9fa;
    --fn-bg-card: #ffffff;
    --fn-bg-dark: #0f1923;
    --fn-bg-dark-elevated: #1a2332;
    --fn-text: #1a1a2e;
    --fn-heading: #1a1a2e;
    --fn-text-secondary: #6c757d;
    --fn-text-light: #adb5bd;
    --fn-text-inverse: #ffffff;
    --fn-accent: #e63946;
    --fn-accent-hover: #c62d3a;
    --fn-accent-light: rgba(230, 57, 70, 0.1);
    --fn-classic-accent: #8b7355;
    --fn-link: #2563eb;
    --fn-link-hover: #1d4ed8;
    --fn-border: #e9ecef;
    --fn-border-dark: #dee2e6;
    --fn-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --fn-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --fn-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --fn-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --fn-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Typography */
    --fn-font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --fn-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --fn-font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;

    /* Font Sizes - Fluid */
    --fn-text-xs: 0.75rem;
    --fn-text-sm: 0.875rem;
    --fn-text-base: 1rem;
    --fn-text-lg: 1.125rem;
    --fn-text-xl: 1.25rem;
    --fn-text-2xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    --fn-text-3xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    --fn-text-4xl: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
    --fn-text-5xl: clamp(2rem, 1.5rem + 2vw, 3rem);

    /* Line Heights */
    --fn-lh-display: 1.08;
    --fn-lh-heading: 1.15;
    --fn-lh-subheading: 1.25;

    /* Section Spacing */
    --fn-section-gap: clamp(2.5rem, 2rem + 2vw, 4rem);

    /* Spacing */
    --fn-space-xs: 0.25rem;
    --fn-space-sm: 0.5rem;
    --fn-space-md: 1rem;
    --fn-space-lg: 1.5rem;
    --fn-space-xl: 2rem;
    --fn-space-2xl: 3rem;
    --fn-space-3xl: 4rem;
    --fn-space-4xl: 6rem;

    /* Layout */
    --fn-max-width: 1200px;
    --fn-content-width: 780px;
    --fn-header-height: 64px;
    --fn-header-height-shrunk: 52px;
    --fn-ticker-height: 36px;
    --fn-radius-sm: 4px;
    --fn-radius-md: 6px;
    --fn-radius: 8px;
    --fn-radius-lg: 12px;
    --fn-radius-xl: 16px;
    --fn-radius-full: 9999px;

    /* Transitions */
    --fn-transition: 0.2s ease;
    --fn-transition-slow: 0.3s ease;

    /* Z-index */
    --fn-z-ticker: 90;
    --fn-z-header: 100;
    --fn-z-search: 110;
    --fn-z-progress: 120;
    --fn-z-back-to-top: 80;
    --fn-z-mobile-menu: 105;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    scroll-padding-top: calc(var(--fn-header-height) + var(--fn-ticker-height) + 20px);
}

body {
    font-family: var(--fn-font-body);
    font-size: var(--fn-text-base);
    line-height: 1.6;
    color: var(--fn-text);
    background-color: var(--fn-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--fn-link);
    text-decoration: none;
    transition: color var(--fn-transition);
}

a:hover {
    color: var(--fn-link-hover);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background-color: var(--fn-accent);
    color: var(--fn-text-inverse);
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fn-font-heading);
    font-weight: 700;
    line-height: var(--fn-lh-heading);
    color: var(--fn-heading);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--fn-text-5xl); line-height: var(--fn-lh-display); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: var(--fn-text-4xl); }
h3 { font-size: var(--fn-text-3xl); }
h4 { font-size: var(--fn-text-2xl); line-height: var(--fn-lh-subheading); }
h5 { font-size: var(--fn-text-xl); line-height: var(--fn-lh-subheading); }
h6 { font-size: var(--fn-text-lg); line-height: var(--fn-lh-subheading); }

p {
    margin-bottom: var(--fn-space-md);
}

/* ==========================================================================
   4. Layout & Container
   ========================================================================== */

.fn-container {
    width: 100%;
    max-width: var(--fn-max-width);
    margin: 0 auto;
    padding: 0 var(--fn-space-lg);
}

.fn-main {
    padding-top: calc(var(--fn-header-height) + var(--fn-ticker-height));
    min-height: 60vh;
}

.fn-section {
    padding: var(--fn-space-3xl) 0;
}

.fn-grid {
    display: grid;
    gap: var(--fn-space-xl);
}

.fn-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.fn-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */

.fn-header {
    position: fixed;
    top: var(--fn-ticker-height);
    left: 0;
    right: 0;
    height: var(--fn-header-height);
    background: var(--fn-bg-dark);
    z-index: var(--fn-z-header);
    transition: all var(--fn-transition-slow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fn-header.is-shrunk {
    height: var(--fn-header-height-shrunk);
    box-shadow: var(--fn-shadow-lg);
}

.fn-header.is-shrunk .fn-header__inner {
    height: var(--fn-header-height-shrunk);
}

.fn-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--fn-header-height);
    transition: height var(--fn-transition-slow);
}

/* Logo */
.fn-logo {
    display: flex;
    align-items: center;
    gap: var(--fn-space-sm);
    color: var(--fn-text-inverse);
    font-family: var(--fn-font-heading);
    font-weight: 800;
    font-size: var(--fn-text-xl);
    letter-spacing: -0.03em;
    text-decoration: none;
    flex-shrink: 0;
}

.fn-logo:hover {
    color: var(--fn-text-inverse);
    opacity: 0.9;
}

.fn-logo img {
    max-height: 36px;
    width: auto;
}

.fn-logo__accent {
    color: var(--fn-accent);
}

/* Navigation */
.fn-nav {
    display: flex;
    align-items: center;
    gap: var(--fn-space-xs);
}

.fn-nav__menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.fn-nav__menu li {
    position: relative;
}

.fn-nav__menu > li > a {
    display: flex;
    align-items: center;
    padding: var(--fn-space-sm) var(--fn-space-md);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fn-text-sm);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    transition: color var(--fn-transition);
    white-space: nowrap;
}

.fn-nav__menu > li > a:hover,
.fn-nav__menu > li.current-menu-item > a,
.fn-nav__menu > li.current-menu-parent > a {
    color: var(--fn-accent);
}

/* Dropdown */
.fn-nav__menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--fn-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fn-radius);
    padding: var(--fn-space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--fn-transition);
    box-shadow: var(--fn-shadow-xl);
}

.fn-nav__menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fn-nav__menu li ul li a {
    display: block;
    padding: var(--fn-space-sm) var(--fn-space-lg);
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--fn-text-sm);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.fn-nav__menu li ul li a:hover {
    color: var(--fn-accent);
    background: rgba(255, 255, 255, 0.05);
}

/* --- Top Bar (Magazine layout) --- */
.fn-topbar {
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.65);
}

.fn-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.fn-topbar__left {
    display: flex;
    align-items: center;
    gap: var(--fn-space-md);
}

.fn-topbar__date {
    font-weight: 500;
}

.fn-topbar__menu {
    display: flex;
    list-style: none;
    gap: var(--fn-space-md);
    padding: 0;
    margin: 0;
}

.fn-topbar__menu a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fn-topbar__menu a:hover {
    color: var(--fn-accent);
}

.fn-topbar__right {
    display: flex;
    gap: var(--fn-space-sm);
}

.fn-topbar__social {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.fn-topbar__social:hover {
    color: var(--fn-accent);
}

@media (max-width: 768px) {
    .fn-topbar { display: none; }
}

/* --- Header: Centered Layout --- */
.fn-header--centered {
    position: relative;
    height: auto;
}

.fn-header__centered-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: var(--fn-space-md) 0;
}

.fn-header__actions--left {
    justify-self: start;
}

.fn-header__actions--right {
    justify-self: end;
    display: flex;
    gap: var(--fn-space-sm);
}

.fn-logo--centered {
    font-size: 2rem;
    text-align: center;
}

.fn-nav--centered {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--fn-space-xs) 0;
    justify-content: center;
}

.fn-nav__menu--centered {
    justify-content: center;
}

/* --- Header: Magazine Layout --- */
.fn-header--magazine {
    position: relative;
    height: auto;
}

.fn-header__magazine-logo {
    text-align: center;
    padding: var(--fn-space-lg) 0 var(--fn-space-sm);
}

.fn-logo--magazine {
    font-size: 2.2rem;
}

.fn-header__magazine-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--fn-space-xs) 0;
}

/* --- Header: Minimal Layout --- */
.fn-header--minimal {
    height: var(--fn-header-height);
}

.fn-header__inner--minimal {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--fn-space-md);
}

.fn-logo--minimal-center {
    text-align: center;
}

.fn-header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.fn-header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    transition: all 0.3s ease;
}

/* Minimal nav slide-out */
.fn-minimal-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fn-minimal-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.fn-minimal-nav__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--fn-bg-dark);
    padding: var(--fn-space-xl);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.fn-minimal-nav.is-open .fn-minimal-nav__inner {
    transform: translateX(0);
}

.fn-minimal-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    margin-bottom: var(--fn-space-lg);
}

.fn-minimal-nav__close:hover {
    color: var(--fn-accent);
}

.fn-minimal-nav__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fn-minimal-nav__menu li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fn-minimal-nav__menu a {
    display: block;
    padding: var(--fn-space-sm) 0;
    color: rgba(255,255,255,0.85);
    font-size: var(--fn-text-base);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fn-minimal-nav__menu a:hover {
    color: var(--fn-accent);
}

/* --- Header: Split Nav Layout --- */
.fn-header--split {
    height: var(--fn-header-height);
}

.fn-header__split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--fn-space-md);
}

.fn-nav--split-left,
.fn-nav--split-right {
    flex: 1;
}

.fn-nav--split-left {
    display: flex;
    justify-content: flex-end;
}

.fn-nav--split-right {
    display: flex;
    justify-content: flex-start;
}

.fn-nav__menu--split {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fn-nav__menu--split li a {
    display: flex;
    align-items: center;
    padding: var(--fn-space-sm) var(--fn-space-md);
    color: rgba(255,255,255,0.85);
    font-size: var(--fn-text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color var(--fn-transition);
    white-space: nowrap;
    text-decoration: none;
}

.fn-nav__menu--split li a:hover {
    color: var(--fn-accent);
}

.fn-logo--split-center {
    flex: 0 0 auto;
    font-size: 1.6rem;
    padding: 0 var(--fn-space-md);
}

.fn-nav__mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .fn-header__split .fn-nav--split-left,
    .fn-header__split .fn-nav--split-right {
        display: none;
    }
    .fn-header--centered .fn-nav--centered {
        display: none;
    }
    .fn-header--magazine .fn-header__magazine-nav .fn-nav {
        display: none;
    }
}

/* --- Dynamic: non-sticky headers --- */
.fn-header--centered,
.fn-header--magazine {
    padding-top: 0;
}

body:has(.fn-header--centered) .fn-main,
body:has(.fn-header--magazine) .fn-main {
    padding-top: 0;
}

/* Mega Menu */
.fn-nav__menu li.fn-nav__item--mega {
    position: static;
}

.fn-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--fn-bg-dark);
    border-top: 3px solid var(--fn-accent);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.fn-nav__item--mega.is-mega-open .fn-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fn-mega-menu__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--fn-space-lg) var(--fn-space-xl);
}

.fn-mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fn-space-md);
}

.fn-mega-menu__post {
    display: flex;
    flex-direction: column;
    gap: var(--fn-space-xs);
    text-decoration: none;
    border-radius: var(--fn-radius);
    padding: var(--fn-space-sm);
    transition: background 0.2s ease;
}

.fn-mega-menu__post:hover {
    background: rgba(255,255,255,0.05);
}

.fn-mega-menu__thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--fn-radius);
}

.fn-mega-menu__thumb--placeholder {
    display: block;
    background: rgba(255,255,255,0.08);
}

.fn-mega-menu__post-title {
    font-size: var(--fn-text-sm);
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.35;
}

.fn-mega-menu__post:hover .fn-mega-menu__post-title {
    color: var(--fn-accent);
}

.fn-mega-menu__post-date {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

.fn-mega-menu__view-all {
    display: inline-block;
    margin-top: var(--fn-space-md);
    padding: var(--fn-space-xs) var(--fn-space-md);
    font-size: var(--fn-text-sm);
    font-weight: 600;
    color: var(--fn-accent);
    text-decoration: none;
    border: 1px solid var(--fn-accent);
    border-radius: var(--fn-radius);
    transition: all 0.2s ease;
}

.fn-mega-menu__view-all:hover {
    background: var(--fn-accent);
    color: #fff;
}

@media (max-width: 1024px) {
    .fn-mega-menu {
        display: none;
    }
}

/* Header Actions */
.fn-header__actions {
    display: flex;
    align-items: center;
    gap: var(--fn-space-sm);
}

.fn-header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--fn-radius-full);
    color: #fff;
    transition: all var(--fn-transition);
}

.fn-header__btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--fn-text-inverse);
}

.fn-header__btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Dark Mode Toggle */
.fn-dark-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--fn-text-inverse);
    border-radius: var(--fn-radius);
    cursor: pointer;
    transition: background var(--fn-transition), color var(--fn-transition);
}

.fn-dark-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.fn-dark-toggle__sun,
.fn-dark-toggle__moon {
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.fn-dark-toggle__moon {
    display: none;
}

[data-theme="dark"] .fn-dark-toggle__sun {
    display: none;
}

[data-theme="dark"] .fn-dark-toggle__moon {
    display: block;
}

[data-theme="dark"] .fn-dark-toggle {
    color: #fbbf24;
}

[data-theme="dark"] .fn-dark-toggle:hover {
    background: rgba(251, 191, 36, 0.12);
}

/* Mobile Menu Toggle */
.fn-mobile-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.fn-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fn-text-inverse);
    border-radius: 2px;
    transition: all var(--fn-transition);
}

.fn-mobile-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.fn-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.fn-mobile-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   6. Breaking News Ticker
   ========================================================================== */

.fn-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--fn-ticker-height);
    background: var(--fn-accent);
    z-index: var(--fn-z-ticker);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.fn-ticker__label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--fn-space-xs);
    padding: 0 var(--fn-space-md);
    height: 100%;
    background: var(--fn-accent-hover);
    color: var(--fn-text-inverse);
    font-family: var(--fn-font-heading);
    font-size: var(--fn-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.fn-ticker__label-dot {
    width: 8px;
    height: 8px;
    background: var(--fn-text-inverse);
    border-radius: 50%;
    animation: fn-pulse 1.5s ease-in-out infinite;
}

.fn-ticker__track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.fn-ticker__items {
    display: flex;
    align-items: center;
    height: 100%;
    animation: fn-ticker-scroll var(--fn-ticker-duration, 30s) linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.fn-ticker__items:hover {
    animation-play-state: paused;
}

.fn-ticker__item {
    flex-shrink: 0;
    padding: 0 var(--fn-space-xl);
    position: relative;
}

.fn-ticker__item a {
    color: var(--fn-text-inverse);
    font-size: var(--fn-text-sm);
    font-weight: 500;
    opacity: 0.95;
}

.fn-ticker__item a:hover {
    color: var(--fn-text-inverse);
    opacity: 1;
    text-decoration: underline;
}

.fn-ticker__item::after {
    content: '\2022';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fn-text-xs);
}

.fn-ticker__item:last-child::after {
    display: none;
}

@keyframes fn-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fn-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ==========================================================================
   7. Search Overlay
   ========================================================================== */

.fn-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 35, 0.95);
    z-index: var(--fn-z-search);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--fn-transition-slow);
    backdrop-filter: blur(10px);
}

.fn-search-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.fn-search-overlay__inner {
    width: 100%;
    max-width: 640px;
    padding: 0 var(--fn-space-xl);
    transform: translateY(20px);
    transition: transform var(--fn-transition-slow);
}

.fn-search-overlay.is-active .fn-search-overlay__inner {
    transform: translateY(0);
}

.fn-search-overlay__form {
    position: relative;
}

.fn-search-overlay__input {
    width: 100%;
    padding: var(--fn-space-lg) var(--fn-space-xl);
    padding-right: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--fn-radius-lg);
    color: var(--fn-text-inverse);
    font-size: var(--fn-text-2xl);
    font-family: var(--fn-font-heading);
    outline: none;
    transition: border-color var(--fn-transition);
}

.fn-search-overlay__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.fn-search-overlay__input:focus {
    border-color: var(--fn-accent);
}

.fn-search-overlay__submit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--fn-space-sm);
}

.fn-search-overlay__submit svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.fn-search-overlay__close {
    position: absolute;
    top: var(--fn-space-xl);
    right: var(--fn-space-xl);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--fn-space-sm);
    transition: color var(--fn-transition);
}

.fn-search-overlay__close:hover {
    color: var(--fn-text-inverse);
}

.fn-search-overlay__close svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.fn-search-overlay__hint {
    text-align: center;
    margin-top: var(--fn-space-md);
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fn-text-sm);
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */

.fn-hero {
    padding: var(--fn-space-2xl) 0;
}

.fn-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--fn-space-lg);
    height: clamp(460px, 45vw, 600px);
}

/* Hero Large Card */
.fn-hero__main {
    position: relative;
    border-radius: var(--fn-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.fn-hero__main-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fn-hero__main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn-hero__main-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.fn-hero__main-content {
    position: relative;
    z-index: 1;
    padding: var(--fn-space-2xl);
}

.fn-hero__main-content .fn-category-badge {
    margin-bottom: var(--fn-space-md);
    /* Keep filled badge on hero overlay for readability */
    background: var(--fn-badge-color, var(--fn-accent));
    color: var(--fn-text-inverse);
    padding: 3px 10px;
    border-radius: var(--fn-radius-sm);
}

.fn-hero__main-title {
    font-size: var(--fn-text-5xl);
    color: var(--fn-text-inverse);
    margin-bottom: var(--fn-space-sm);
    line-height: var(--fn-lh-display);
    letter-spacing: -0.03em;
    font-weight: 800;
}

.fn-hero__main-title a {
    color: var(--fn-text-inverse);
}

.fn-hero__main-title a:hover {
    color: var(--fn-accent);
}

.fn-hero__main-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fn-text-base);
    margin-bottom: var(--fn-space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-hero__main-meta {
    display: flex;
    align-items: center;
    gap: var(--fn-space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fn-text-sm);
}

/* Hero Side Cards — 2×2 grid layout */
.fn-hero__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--fn-space-md);
}

.fn-hero__side-card {
    border-radius: var(--fn-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--fn-bg-card);
    border: 1px solid var(--fn-border);
    transition: border-color var(--fn-transition), box-shadow var(--fn-transition);
}

.fn-hero__side-card:hover {
    border-color: var(--fn-border-dark);
    box-shadow: var(--fn-shadow);
}

.fn-hero__side-img {
    aspect-ratio: 3/2;
    overflow: hidden;
    flex: 0 1 auto;
    min-height: 0;
}

.fn-hero__side-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.fn-hero__side-img img,
.fn-hero__side-img .fn-blur-wrap {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fn-transition-slow);
}

.fn-hero__side-card:hover .fn-hero__side-img img,
.fn-hero__side-card:hover .fn-hero__side-img .fn-blur-wrap {
    transform: scale(1.03);
}

.fn-hero__side-img::after {
    display: none;
}

.fn-hero__side-content {
    padding: var(--fn-space-sm) var(--fn-space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.fn-hero__side-content .fn-category-badge {
    margin-bottom: var(--fn-space-xs);
}

.fn-hero__side-title {
    font-size: var(--fn-text-sm);
    font-weight: 700;
    color: var(--fn-text);
    line-height: var(--fn-lh-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-hero__side-title a {
    color: var(--fn-text);
}

.fn-hero__side-title a:hover {
    color: var(--fn-accent);
}

.fn-hero__side-meta {
    margin-top: var(--fn-space-xs);
    color: var(--fn-text-secondary);
    font-size: var(--fn-text-xs);
}

/* ==========================================================================
   9. Post Cards
   ========================================================================== */

.fn-card {
    background: var(--fn-bg-card);
    border-radius: var(--fn-radius-lg);
    overflow: hidden;
    box-shadow: var(--fn-shadow-sm);
    transition: box-shadow var(--fn-transition-slow), transform var(--fn-transition-slow);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--fn-border);
}

.fn-card:hover {
    box-shadow: var(--fn-shadow-md);
    transform: translateY(-2px);
}

.fn-card__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--fn-bg-alt);
}

.fn-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fn-transition-slow);
}

.fn-card .fn-card__image img,
.fn-card .fn-card__image .fn-blur-wrap {
    filter: saturate(0.85);
}

.fn-card:hover .fn-card__image img,
.fn-card:hover .fn-card__image .fn-blur-wrap {
    transform: scale(1.05);
    filter: saturate(1);
}

.fn-card__image-badge {
    position: absolute;
    top: var(--fn-space-md);
    left: var(--fn-space-md);
    z-index: 2;
}

.fn-card__body {
    padding: var(--fn-space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fn-card__body > .fn-category-badge {
    margin-bottom: var(--fn-space-xs);
}

.fn-card__title {
    font-size: var(--fn-text-lg);
    margin-bottom: var(--fn-space-xs);
    line-height: var(--fn-lh-heading);
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-card__title a {
    color: var(--fn-text);
    text-decoration: none;
}

.fn-card__title a:hover {
    color: var(--fn-accent);
}

.fn-card__excerpt {
    color: var(--fn-text-secondary);
    font-size: var(--fn-text-sm);
    line-height: 1.6;
    margin-bottom: var(--fn-space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.fn-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fn-space-xs) var(--fn-space-md);
    font-size: var(--fn-text-xs);
    color: var(--fn-text-light);
    margin-top: auto;
    margin-top: auto;
    padding-top: var(--fn-space-sm);
}

.fn-card__meta-item {
    display: flex;
    align-items: center;
    gap: var(--fn-space-xs);
}

.fn-card__meta-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Small Post Card (horizontal) */
.fn-card-sm {
    display: flex;
    gap: var(--fn-space-md);
    padding: var(--fn-space-md);
    background: var(--fn-bg-card);
    border-radius: var(--fn-radius);
    transition: all var(--fn-transition);
}

.fn-card-sm:hover {
    background: var(--fn-bg-alt);
}

.fn-card-sm__image {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: var(--fn-radius-sm);
    overflow: hidden;
    background: var(--fn-bg-alt);
}

.fn-card-sm__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn-card-sm__body {
    flex: 1;
    min-width: 0;
}

.fn-card-sm__title {
    font-size: var(--fn-text-sm);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--fn-space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-card-sm__title a {
    color: var(--fn-text);
}

.fn-card-sm__title a:hover {
    color: var(--fn-accent);
}

.fn-card-sm__meta {
    font-size: var(--fn-text-xs);
    color: var(--fn-text-secondary);
}

/* Category Badge — text-only colored label */
.fn-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fn-badge-color, var(--fn-accent));
    background: transparent;
    line-height: 1.4;
    white-space: nowrap;
}

.fn-category-badge:hover {
    color: var(--fn-text-inverse);
    opacity: 0.9;
}

/* ==========================================================================
   10. Homepage Grid
   ========================================================================== */

.fn-home-section {
    padding: 0 0 var(--fn-section-gap);
}

.fn-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--fn-section-gap);
    padding-bottom: var(--fn-space-md);
    border-bottom: 1px solid var(--fn-border);
    position: relative;
}

.fn-section-header::after {
    display: none;
}

.fn-section-title {
    font-size: var(--fn-text-xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
}

.fn-section-link {
    font-size: var(--fn-text-sm);
    font-weight: 600;
    color: var(--fn-accent);
    display: flex;
    align-items: center;
    gap: var(--fn-space-xs);
}

.fn-section-link:hover {
    color: var(--fn-accent-hover);
}

.fn-posts-grid {
    display: grid;
    grid-template-columns: repeat(var(--fn-grid-cols, 3), 1fr);
    gap: var(--fn-space-xl);
}

/* ==========================================================================
   10a-1. Newspaper Grid Pattern — Featured Cards
   Uses nth-of-type to count only <article> cards (ignores <div> ad slots).
   5-card cycle: featured (span 2) + 1 normal = row, then 3 normals = row.
   Featured cards use horizontal layout (image left, text right) to avoid
   height mismatch with normal stacked cards.
   ========================================================================== */

.fn-posts-grid > article:nth-of-type(5n+1) {
    grid-column: span 2;
    flex-direction: row;
}

.fn-posts-grid > article:nth-of-type(5n+1) .fn-card__image {
    width: 45%;
    flex-shrink: 0;
    aspect-ratio: auto;
}

.fn-posts-grid > article:nth-of-type(5n+1) .fn-card__title {
    font-size: var(--fn-text-2xl);
    -webkit-line-clamp: 3;
}

.fn-posts-grid > article:nth-of-type(5n+1) .fn-card__excerpt {
    -webkit-line-clamp: 3;
}

.fn-posts-grid > article:nth-of-type(5n+1) .fn-card__body {
    border-left: 4px solid var(--fn-accent);
    padding-left: calc(var(--fn-space-lg) - 4px);
    justify-content: center;
}

/* --- Featured card style overrides --- */

/* Classic: gold accent, serif title */
[data-style="classic"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__body {
    border-left-color: #c8a96e;
}
[data-style="classic"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: var(--fn-text-3xl);
}

/* Bold: orange accent, uppercase Oswald */
[data-style="bold"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__body {
    border-left-color: #ff6b00;
    border-left-width: 5px;
}
[data-style="bold"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: var(--fn-text-3xl);
}

/* Tech: cyan glow accent border */
[data-style="tech"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__body {
    border-left-color: var(--fn-accent);
    box-shadow: inset 4px 0 12px -4px rgba(0, 212, 255, 0.15);
}
[data-style="tech"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__title {
    font-family: 'Space Grotesk', 'Space Mono', monospace;
}

/* Minimal: thin left line, subtle */
[data-style="minimal"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__body {
    border-left: 2px solid var(--fn-border);
}
[data-style="minimal"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    font-size: var(--fn-text-3xl);
}

/* Vibrant: gradient accent border */
[data-style="vibrant"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__body {
    border-left: 4px solid transparent;
    border-image: linear-gradient(to bottom, #ff6b6b, #a855f7) 1;
}
[data-style="vibrant"] .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__title {
    font-size: var(--fn-text-3xl);
}

/* No featured image placeholder */
.fn-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fn-bg-dark) 0%, #1a2a3a 100%);
    color: rgba(255, 255, 255, 0.15);
}

.fn-card__image--placeholder svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

/* ==========================================================================
   10b. Card Layout Variants
   ========================================================================== */

/* --- Grid modifier classes --- */
.fn-posts-grid--list {
    display: flex;
    flex-direction: column;
    gap: var(--fn-space-md);
}

.fn-posts-grid--overlay {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--fn-space-md);
}

.fn-posts-grid--tile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--fn-space-sm);
}

/* --- List Card --- */
.fn-card-list {
    display: flex;
    gap: var(--fn-space-lg);
    background: var(--fn-bg-card, var(--fn-bg));
    border-radius: var(--fn-radius-lg);
    overflow: hidden;
    border: 1px solid var(--fn-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.fn-card-list:hover {
    box-shadow: var(--fn-shadow-lg);
    transform: translateY(-2px);
}

.fn-card-list__image {
    flex: 0 0 300px;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.fn-card-list__image img,
.fn-card-list__image .fn-blur-wrap {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fn-card-list:hover .fn-card-list__image img,
.fn-card-list:hover .fn-card-list__image .fn-blur-wrap {
    transform: scale(1.05);
}

.fn-card-list__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fn-bg-dark) 0%, #1a2a3a 100%);
    color: rgba(255, 255, 255, 0.15);
}

.fn-card-list__badge {
    position: absolute;
    top: var(--fn-space-sm);
    left: var(--fn-space-sm);
}

.fn-card-list__body {
    flex: 1;
    padding: var(--fn-space-md) var(--fn-space-md) var(--fn-space-md) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fn-card-list__title {
    font-size: var(--fn-text-lg);
    line-height: 1.35;
    margin-bottom: var(--fn-space-xs);
}

.fn-card-list__title a {
    color: var(--fn-text);
    text-decoration: none;
}

.fn-card-list__title a:hover {
    color: var(--fn-accent);
}

.fn-card-list__excerpt {
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--fn-space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-card-list__meta {
    display: flex;
    gap: var(--fn-space-md);
    font-size: var(--fn-text-xs);
    color: var(--fn-text-secondary);
}

.fn-card-list__meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .fn-card-list {
        flex-direction: column;
    }
    .fn-card-list__image {
        flex: none;
        aspect-ratio: 16/9;
    }
    .fn-card-list__body {
        padding: var(--fn-space-md);
    }
}

/* --- Overlay Card --- */
.fn-card-overlay {
    position: relative;
    border-radius: var(--fn-radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--fn-bg-dark);
    min-height: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fn-card-overlay:hover {
    transform: translateY(-3px);
    box-shadow: var(--fn-shadow-lg);
}

.fn-card-overlay__link {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    min-height: 280px;
    text-decoration: none;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
    padding: var(--fn-space-lg);
    transition: background 0.3s ease;
}

.fn-card-overlay:hover .fn-card-overlay__link {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.fn-card-overlay__content {
    width: 100%;
}

.fn-card-overlay__badge {
    margin-bottom: var(--fn-space-xs);
}

/* Keep filled badge on overlay cards for readability */
.fn-card-overlay__badge .fn-category-badge {
    background: var(--fn-badge-color, var(--fn-accent));
    color: var(--fn-text-inverse);
    padding: 3px 10px;
    border-radius: var(--fn-radius-sm);
}

.fn-card-overlay__title {
    font-size: var(--fn-text-xl);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: var(--fn-space-xs);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.fn-card-overlay__meta {
    display: flex;
    gap: var(--fn-space-xs);
    font-size: var(--fn-text-xs);
    color: rgba(255,255,255,0.75);
}

/* --- Tile Card --- */
.fn-card-tile {
    background: var(--fn-bg-card, var(--fn-bg));
    border-radius: var(--fn-radius-md);
    overflow: hidden;
    border: 1px solid var(--fn-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.fn-card-tile:hover {
    box-shadow: var(--fn-shadow-md);
    transform: translateY(-2px);
}

.fn-card-tile__image {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.fn-card-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fn-card-tile:hover .fn-card-tile__image img {
    transform: scale(1.08);
}

.fn-card-tile__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fn-bg-dark) 0%, #1a2a3a 100%);
    color: rgba(255, 255, 255, 0.15);
}

.fn-card-tile__badge {
    position: absolute;
    top: var(--fn-space-xs);
    left: var(--fn-space-xs);
}

.fn-card-tile__badge .fn-category-badge {
    font-size: 12px;
    padding: 2px 6px;
}

.fn-card-tile__body {
    padding: var(--fn-space-sm);
}

.fn-card-tile__title {
    font-size: var(--fn-text-sm);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
}

.fn-card-tile__title a {
    color: var(--fn-text);
    text-decoration: none;
}

.fn-card-tile__title a:hover {
    color: var(--fn-accent);
}

.fn-card-tile__date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--fn-text-secondary);
}

/* ==========================================================================
   11. Pagination & Load More
   ========================================================================== */

.fn-load-more {
    text-align: center;
    padding: var(--fn-space-2xl) 0 var(--fn-space-lg);
}

.fn-load-more__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fn-space-sm);
    padding: var(--fn-space-md) var(--fn-space-2xl);
    background: var(--fn-bg-dark);
    color: var(--fn-text-inverse);
    font-family: var(--fn-font-heading);
    font-size: var(--fn-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--fn-radius-full);
    transition: all var(--fn-transition);
    cursor: pointer;
    border: none;
}

.fn-load-more__btn:hover {
    background: var(--fn-accent);
    transform: translateY(-2px);
    box-shadow: var(--fn-shadow-lg);
}

.fn-load-more__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.fn-load-more__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--fn-text-inverse);
    border-radius: 50%;
    animation: fn-spin 0.6s linear infinite;
}

.fn-load-more__btn.is-loading .fn-load-more__spinner {
    display: block;
}

.fn-load-more__btn.is-loading .fn-load-more__text {
    display: none;
}

@keyframes fn-spin {
    to { transform: rotate(360deg); }
}

/* Standard Pagination */
.fn-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fn-space-sm);
    padding: var(--fn-space-2xl) 0 var(--fn-space-3xl);
}

.fn-pagination a,
.fn-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 var(--fn-space-md);
    border-radius: var(--fn-radius);
    font-size: var(--fn-text-sm);
    font-weight: 600;
    transition: all var(--fn-transition);
}

.fn-pagination a {
    background: var(--fn-bg-card);
    color: var(--fn-text);
    box-shadow: var(--fn-shadow-sm);
}

.fn-pagination a:hover {
    background: var(--fn-bg-dark);
    color: var(--fn-text-inverse);
}

.fn-pagination .current {
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
}

.fn-pagination .dots {
    color: var(--fn-text-secondary);
}

/* ==========================================================================
   11b. Category Showcase
   ========================================================================== */

.fn-category-showcase {
    margin-top: var(--fn-space-md);
    border-top: 1px solid var(--fn-border);
    padding-top: var(--fn-space-lg);
}

.fn-showcase-section {
    margin-bottom: var(--fn-space-2xl);
}

.fn-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fn-space-lg);
}

.fn-showcase-title {
    display: flex;
    align-items: center;
    gap: var(--fn-space-sm);
    font-size: var(--fn-text-xl);
    font-weight: 700;
    margin: 0;
}

.fn-showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fn-showcase-viewall {
    font-size: var(--fn-text-sm);
    color: var(--fn-accent);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.fn-showcase-viewall:hover {
    text-decoration: underline;
}

.fn-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fn-space-md);
}

.fn-showcase-card {
    display: flex;
    gap: var(--fn-space-md);
    padding: var(--fn-space-md);
    border-radius: var(--fn-radius-md);
    border: 1px solid var(--fn-border);
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--fn-transition), border-color var(--fn-transition);
    align-items: flex-start;
}

.fn-showcase-card:hover {
    box-shadow: var(--fn-shadow-sm);
    border-color: var(--fn-border-dark);
}

.fn-showcase-card__thumb {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    border-radius: var(--fn-radius-sm);
    overflow: hidden;
}

.fn-showcase-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn-showcase-card__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fn-showcase-card__title {
    font-size: var(--fn-text-sm);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 var(--fn-space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--fn-text);
}

.fn-showcase-card__excerpt {
    font-size: var(--fn-text-xs);
    color: var(--fn-text-secondary);
    line-height: 1.5;
    margin: 0 0 var(--fn-space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-showcase-card__meta {
    font-size: 11px;
    color: var(--fn-text-light);
    margin-top: auto;
}

/* ==========================================================================
   12. Single Post
   ========================================================================== */

.fn-single {
    max-width: var(--fn-content-width);
    margin: 0 auto;
    padding: var(--fn-space-2xl) var(--fn-space-lg) var(--fn-space-3xl);
}

.fn-single__breadcrumbs {
    margin-bottom: var(--fn-space-lg);
}

/* Breadcrumbs */
.fn-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fn-space-xs);
    font-size: var(--fn-text-xs);
    color: var(--fn-text-light);
}

.fn-breadcrumbs a {
    color: var(--fn-text-secondary);
}

.fn-breadcrumbs a:hover {
    color: var(--fn-accent);
}

.fn-breadcrumbs__sep {
    color: var(--fn-text-light);
    margin: 0 2px;
}

.fn-breadcrumbs__current {
    color: var(--fn-text);
    font-weight: 500;
}

/* Single Header */
.fn-single__header {
    margin-bottom: var(--fn-space-xl);
}

.fn-single__categories {
    display: flex;
    gap: var(--fn-space-sm);
    margin-bottom: var(--fn-space-md);
}

.fn-single__title {
    font-size: var(--fn-text-5xl);
    line-height: var(--fn-lh-display);
    margin-bottom: var(--fn-space-sm);
    letter-spacing: -0.03em;
    font-weight: 800;
}

.fn-single__deck {
    font-size: var(--fn-text-xl);
    color: var(--fn-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--fn-space-lg);
    font-weight: 400;
}

.fn-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fn-space-md);
    padding: var(--fn-space-sm) 0;
    border-top: 1px solid var(--fn-border);
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
}

.fn-single__meta-item {
    display: flex;
    align-items: center;
    gap: var(--fn-space-xs);
}

.fn-single__meta-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.fn-single__author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.fn-single__author-name {
    font-weight: 600;
    color: var(--fn-text);
}

.fn-single__meta-date {
    color: var(--fn-text-light);
    font-size: var(--fn-text-xs);
}

/* Featured Image */
.fn-single__featured {
    margin: var(--fn-space-xl) calc(-1 * var(--fn-space-lg));
    position: relative;
}

.fn-single__featured img {
    width: 100%;
    border-radius: var(--fn-radius-lg);
    max-height: 520px;
    object-fit: cover;
}

.fn-single__featured figcaption {
    margin-top: var(--fn-space-sm);
    padding: var(--fn-space-sm) var(--fn-space-lg);
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
    font-style: italic;
    position: relative;
    padding-left: calc(var(--fn-space-lg) + 14px);
}

.fn-single__featured figcaption::before {
    content: '';
    position: absolute;
    left: var(--fn-space-lg);
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--fn-accent);
    opacity: 0.5;
    border-radius: 2px;
}

/* Like Button inline in meta */
.fn-single__like {
    margin-left: auto;
}

/* ==========================================================================
   13. Article Typography
   ========================================================================== */

.fn-content {
    font-size: var(--fn-article-font-size, var(--fn-text-lg));
    line-height: 1.8;
    color: var(--fn-text);
}

.fn-content p {
    margin-bottom: var(--fn-space-lg);
}

/* Drop Cap on first paragraph */
.fn-content > p:first-of-type::first-letter {
    float: left;
    font-family: var(--fn-font-heading);
    font-size: 3.5em;
    font-weight: 700;
    line-height: 0.8;
    padding-right: 10px;
    padding-top: 4px;
    color: var(--fn-accent);
}

.fn-content h2 {
    font-size: var(--fn-text-3xl);
    margin-top: var(--fn-space-2xl);
    margin-bottom: var(--fn-space-md);
    padding-bottom: var(--fn-space-sm);
    border-bottom: 2px solid var(--fn-border);
}

.fn-content h3 {
    font-size: var(--fn-text-2xl);
    margin-top: var(--fn-space-xl);
    margin-bottom: var(--fn-space-md);
}

.fn-content h4 {
    font-size: var(--fn-text-xl);
    margin-top: var(--fn-space-xl);
    margin-bottom: var(--fn-space-sm);
}

.fn-content a {
    color: var(--fn-accent);
    text-decoration: none;
    background-image: linear-gradient(var(--fn-accent), var(--fn-accent));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease, color var(--fn-transition);
    padding-bottom: 1px;
}

.fn-content a:hover {
    color: var(--fn-accent-hover);
    background-size: 100% 2px;
}

.fn-content img {
    border-radius: var(--fn-radius);
    margin: var(--fn-space-xl) 0;
}

.fn-content figure {
    margin: var(--fn-space-xl) 0;
}

.fn-content figcaption {
    margin-top: var(--fn-space-sm);
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
    font-style: italic;
    text-align: center;
    position: relative;
    padding-top: var(--fn-space-sm);
}

.fn-content figcaption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--fn-accent);
    opacity: 0.4;
}

.fn-content blockquote {
    position: relative;
    margin: var(--fn-space-xl) 0;
    padding: var(--fn-space-lg) var(--fn-space-xl);
    padding-left: calc(var(--fn-space-xl) + 8px);
    border-left: 4px solid var(--fn-accent);
    background: var(--fn-bg-alt);
    border-radius: 0 var(--fn-radius) var(--fn-radius) 0;
    font-style: italic;
    font-size: var(--fn-text-xl);
    color: var(--fn-text-secondary);
}

.fn-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 4rem;
    font-family: var(--fn-font-heading);
    color: var(--fn-accent);
    opacity: 0.2;
    line-height: 1;
}

.fn-content blockquote p:last-child {
    margin-bottom: 0;
}

.fn-content blockquote cite {
    display: block;
    margin-top: var(--fn-space-sm);
    font-size: var(--fn-text-sm);
    font-style: normal;
    font-weight: 600;
    color: var(--fn-text);
}

.fn-content ul,
.fn-content ol {
    margin: var(--fn-space-lg) 0;
    padding-left: var(--fn-space-xl);
}

.fn-content ul {
    list-style: disc;
}

.fn-content ol {
    list-style: decimal;
}

.fn-content li {
    margin-bottom: var(--fn-space-sm);
}

.fn-content pre {
    position: relative;
    margin: var(--fn-space-xl) 0;
    padding: var(--fn-space-lg);
    padding-top: calc(var(--fn-space-lg) + 8px);
    background: var(--fn-bg-dark);
    color: #e0e0e0;
    border-radius: var(--fn-radius);
    overflow-x: auto;
    font-family: var(--fn-font-mono);
    font-size: var(--fn-text-sm);
    line-height: 1.6;
}

.fn-content pre::before {
    content: 'CODE';
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 10px;
    font-size: 12px;
    font-family: var(--fn-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 0 var(--fn-radius-sm);
}

.fn-content code {
    padding: 2px 6px;
    background: var(--fn-bg-alt);
    border-radius: var(--fn-radius-sm);
    font-family: var(--fn-font-mono);
    font-size: 0.9em;
    color: var(--fn-accent);
}

.fn-content pre code {
    padding: 0;
    background: none;
    border-radius: 0;
    color: inherit;
}

.fn-content table {
    width: 100%;
    margin: var(--fn-space-xl) 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--fn-radius);
    overflow: hidden;
    border: 1px solid var(--fn-border);
    font-size: var(--fn-text-sm);
}

.fn-content th,
.fn-content td {
    padding: var(--fn-space-md);
    text-align: left;
}

.fn-content th {
    background: var(--fn-accent);
    color: #fff;
    font-weight: 700;
    border: none;
}

.fn-content td {
    border: none;
    border-top: 1px solid var(--fn-border);
}

.fn-content tr:nth-child(even) td {
    background: var(--fn-bg-alt);
}

.fn-content hr {
    margin: var(--fn-space-2xl) 0;
    border: none;
    border-top: 2px solid var(--fn-border);
}

/* Tags */
.fn-single__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fn-space-sm);
    margin: var(--fn-space-xl) 0;
    padding-top: var(--fn-space-xl);
    border-top: 1px solid var(--fn-border);
}

.fn-single__tags-label {
    font-size: var(--fn-text-sm);
    font-weight: 700;
    color: var(--fn-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fn-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: var(--fn-bg-alt);
    color: var(--fn-text-secondary);
    font-size: var(--fn-text-xs);
    font-weight: 500;
    border-radius: var(--fn-radius-full);
    transition: all var(--fn-transition);
}

.fn-tag:hover {
    background: var(--fn-bg-dark);
    color: var(--fn-text-inverse);
}

/* ==========================================================================
   14. Table of Contents
   ========================================================================== */

.fn-toc {
    margin: var(--fn-space-xl) 0;
    background: var(--fn-bg-alt);
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius-lg);
    overflow: hidden;
}

.fn-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--fn-space-md) var(--fn-space-lg);
    background: var(--fn-bg-card);
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--fn-border);
}

.fn-toc__title {
    font-size: var(--fn-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: var(--fn-space-sm);
}

.fn-toc__title svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.fn-toc__toggle svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform var(--fn-transition);
}

.fn-toc.is-collapsed .fn-toc__toggle svg {
    transform: rotate(180deg);
}

.fn-toc.is-collapsed .fn-toc__body {
    display: none;
}

.fn-toc__body {
    padding: var(--fn-space-md) var(--fn-space-lg);
}

.fn-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fn-toc__list li {
    margin-bottom: 0;
}

.fn-toc__list a {
    display: block;
    padding: 6px 0;
    color: var(--fn-text-secondary);
    font-size: var(--fn-text-sm);
    border-left: 2px solid transparent;
    padding-left: var(--fn-space-md);
    transition: all var(--fn-transition);
}

.fn-toc__list a:hover,
.fn-toc__list a.is-active {
    color: var(--fn-accent);
    border-left-color: var(--fn-accent);
}

.fn-toc__list .fn-toc__h3 {
    padding-left: var(--fn-space-xl);
}

/* ==========================================================================
   15. Share Buttons
   ========================================================================== */

.fn-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fn-space-sm);
    margin: var(--fn-space-xl) 0;
    padding: var(--fn-space-lg) 0;
    border-top: 1px solid var(--fn-border);
    border-bottom: 1px solid var(--fn-border);
}

.fn-share__label {
    font-size: var(--fn-text-sm);
    font-weight: 700;
    color: var(--fn-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: var(--fn-space-sm);
}

.fn-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--fn-radius);
    color: var(--fn-text-inverse);
    transition: all var(--fn-transition);
    cursor: pointer;
    border: none;
}

.fn-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fn-shadow);
}

.fn-share__btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.fn-share__btn--facebook { background: #1877f2; }
.fn-share__btn--twitter { background: #0f1419; }
.fn-share__btn--linkedin { background: #0a66c2; }
.fn-share__btn--whatsapp { background: #25d366; }
.fn-share__btn--telegram { background: #0088cc; }
.fn-share__btn--print { background: var(--fn-text-secondary); }
.fn-share__btn--copy {
    background: var(--fn-bg-alt);
    color: var(--fn-text);
    border: 1px solid var(--fn-border);
}

.fn-share__btn--copy.is-copied {
    background: #10b981;
    color: var(--fn-text-inverse);
    border-color: #10b981;
}

/* ==========================================================================
   16. Like Button
   ========================================================================== */

.fn-like {
    display: inline-flex;
    align-items: center;
    gap: var(--fn-space-xs);
    padding: 6px 14px;
    border-radius: var(--fn-radius-full);
    border: 1px solid var(--fn-border);
    background: var(--fn-bg-card);
    cursor: pointer;
    transition: all var(--fn-transition);
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
}

.fn-like:hover {
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

.fn-like.is-liked {
    background: var(--fn-accent-light);
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

.fn-like svg {
    width: 18px;
    height: 18px;
    transition: transform var(--fn-transition);
}

.fn-like.is-liked svg {
    fill: var(--fn-accent);
    transform: scale(1.1);
}

.fn-like:not(.is-liked) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.fn-like__count {
    font-weight: 600;
}

/* ==========================================================================
   17. Author Box
   ========================================================================== */

.fn-author-box {
    display: flex;
    gap: var(--fn-space-xl);
    padding: var(--fn-space-xl);
    margin: var(--fn-space-2xl) 0;
    background: linear-gradient(135deg, var(--fn-bg-alt), var(--fn-bg-card));
    border-radius: var(--fn-radius-lg);
    border: 1px solid var(--fn-border);
    border-left: 4px solid var(--fn-accent);
}

.fn-author-box__avatar {
    flex-shrink: 0;
}

.fn-author-box__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.fn-author-box__info {
    flex: 1;
}

.fn-author-box__label {
    font-size: var(--fn-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fn-text-secondary);
    font-weight: 600;
    margin-bottom: var(--fn-space-xs);
}

.fn-author-box__name {
    font-size: var(--fn-text-xl);
    font-weight: 700;
    margin-bottom: var(--fn-space-sm);
}

.fn-author-box__name a {
    color: var(--fn-text);
}

.fn-author-box__name a:hover {
    color: var(--fn-accent);
}

.fn-author-box__bio {
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--fn-space-sm);
}

.fn-author-box__posts {
    font-size: var(--fn-text-xs);
    color: var(--fn-accent);
    font-weight: 600;
}

/* ==========================================================================
   18. Post Navigation (Prev/Next)
   ========================================================================== */

.fn-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fn-space-lg);
    margin: var(--fn-space-2xl) 0;
    padding: var(--fn-space-xl) 0;
    border-top: 1px solid var(--fn-border);
    border-bottom: 1px solid var(--fn-border);
}

.fn-post-nav__item {
    display: flex;
    gap: var(--fn-space-md);
    align-items: center;
    padding: var(--fn-space-md);
    border-radius: var(--fn-radius);
    transition: background var(--fn-transition);
}

.fn-post-nav__item:hover {
    background: var(--fn-bg-alt);
}

.fn-post-nav__item--next {
    text-align: right;
    flex-direction: row-reverse;
}

.fn-post-nav__thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: var(--fn-radius);
    overflow: hidden;
    background: var(--fn-bg-alt);
}

.fn-post-nav__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn-post-nav__label {
    font-size: var(--fn-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fn-text-secondary);
    font-weight: 600;
    margin-bottom: var(--fn-space-xs);
}

.fn-post-nav__title {
    font-size: var(--fn-text-sm);
    font-weight: 600;
    color: var(--fn-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-post-nav__item:hover .fn-post-nav__title {
    color: var(--fn-accent);
}

/* ==========================================================================
   19. Related Posts
   ========================================================================== */

.fn-related {
    margin: var(--fn-space-2xl) 0;
}

.fn-related__title {
    font-size: var(--fn-text-2xl);
    margin-bottom: var(--fn-space-xl);
    padding-bottom: var(--fn-space-md);
    border-bottom: 3px solid var(--fn-text);
}

.fn-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fn-space-lg);
}

/* ==========================================================================
   20. Comments
   ========================================================================== */

.fn-comments {
    margin-top: var(--fn-space-2xl);
    padding-top: var(--fn-space-2xl);
    border-top: 1px solid var(--fn-border);
}

.fn-comments__title {
    font-size: var(--fn-text-2xl);
    margin-bottom: var(--fn-space-xl);
}

.fn-comments__count {
    color: var(--fn-text-secondary);
    font-weight: 400;
}

/* Comment List */
.fn-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fn-comment {
    padding: var(--fn-space-lg) 0;
    border-bottom: 1px solid var(--fn-border);
}

.fn-comment:last-child {
    border-bottom: none;
}

.fn-comment__header {
    display: flex;
    align-items: center;
    gap: var(--fn-space-md);
    margin-bottom: var(--fn-space-md);
}

.fn-comment__avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.fn-comment__author {
    font-weight: 700;
    font-size: var(--fn-text-sm);
    color: var(--fn-text);
}

.fn-comment__author--post-author {
    display: inline-flex;
    align-items: center;
    gap: var(--fn-space-xs);
}

.fn-comment__author--post-author::after {
    content: 'Author';
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
    border-radius: var(--fn-radius-sm);
}

.fn-comment__date {
    font-size: var(--fn-text-xs);
    color: var(--fn-text-secondary);
}

.fn-comment__body {
    font-size: var(--fn-text-sm);
    line-height: 1.7;
    color: var(--fn-text);
}

.fn-comment__body p {
    margin-bottom: var(--fn-space-sm);
}

.fn-comment__body p:last-child {
    margin-bottom: 0;
}

.fn-comment__reply {
    margin-top: var(--fn-space-sm);
}

.fn-comment__reply a {
    font-size: var(--fn-text-xs);
    font-weight: 600;
    color: var(--fn-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Nested comments */
.fn-comment .children {
    list-style: none;
    padding: 0;
    margin-left: var(--fn-space-2xl);
    border-left: 2px solid var(--fn-border);
    padding-left: var(--fn-space-lg);
}

/* Comment Form */
.fn-comment-form {
    margin-top: var(--fn-space-2xl);
}

.fn-comment-form__title {
    font-size: var(--fn-text-xl);
    margin-bottom: var(--fn-space-lg);
}

.fn-comment-form .comment-form-comment {
    margin-bottom: var(--fn-space-md);
}

.fn-comment-form textarea,
.fn-comment-form input[type="text"],
.fn-comment-form input[type="email"],
.fn-comment-form input[type="url"] {
    width: 100%;
    padding: var(--fn-space-md);
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius);
    background: var(--fn-bg-card);
    color: var(--fn-text);
    font-size: var(--fn-text-sm);
    transition: border-color var(--fn-transition);
    outline: none;
}

.fn-comment-form textarea:focus,
.fn-comment-form input:focus {
    border-color: var(--fn-accent);
}

.fn-comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.fn-comment-form .comment-form-author,
.fn-comment-form .comment-form-email,
.fn-comment-form .comment-form-url {
    margin-bottom: var(--fn-space-md);
}

.fn-comment-form label {
    display: block;
    font-size: var(--fn-text-sm);
    font-weight: 600;
    margin-bottom: var(--fn-space-xs);
    color: var(--fn-text);
}

.fn-comment-form .required {
    color: var(--fn-accent);
}

.fn-comment-form .form-submit {
    margin-top: var(--fn-space-lg);
}

.fn-comment-form .submit {
    display: inline-flex;
    align-items: center;
    padding: var(--fn-space-md) var(--fn-space-2xl);
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
    font-family: var(--fn-font-heading);
    font-size: var(--fn-text-sm);
    font-weight: 600;
    border: none;
    border-radius: var(--fn-radius);
    cursor: pointer;
    transition: all var(--fn-transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fn-comment-form .submit:hover {
    background: var(--fn-accent-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   21. Archive & Category Headers
   ========================================================================== */

.fn-archive-header {
    padding: var(--fn-space-2xl) 0 var(--fn-space-xl);
}

.fn-archive-header__inner {
    padding: var(--fn-space-xl) var(--fn-space-2xl);
    background: var(--fn-bg-alt);
    border-radius: var(--fn-radius-lg);
    border-left: 4px solid var(--fn-accent);
}

.fn-archive-header__label {
    font-size: var(--fn-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fn-text-secondary);
    font-weight: 600;
    margin-bottom: var(--fn-space-xs);
}

.fn-archive-header__title {
    font-size: var(--fn-text-4xl);
    margin-bottom: var(--fn-space-sm);
}

.fn-archive-header__desc {
    font-size: var(--fn-text-base);
    color: var(--fn-text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fn-archive-header__count {
    margin-top: var(--fn-space-sm);
    font-size: var(--fn-text-sm);
    color: var(--fn-text-light);
}

/* Category-specific colored border */
.fn-archive-header--category {
    border-left-color: var(--fn-cat-color, var(--fn-accent));
}

.fn-archive-header--category .fn-archive-header__label {
    color: var(--fn-cat-color, var(--fn-accent));
}

/* Author archive */
.fn-author-archive {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    padding-left: 0;
}

.fn-author-archive__avatar {
    margin-bottom: var(--fn-space-md);
}

.fn-author-archive__avatar img {
    width: 96px;
    height: 96px;
    border-radius: var(--fn-radius-full);
    border: 3px solid var(--fn-accent);
    object-fit: cover;
}

.fn-author-archive__url {
    display: inline-block;
    margin-top: var(--fn-space-xs);
    font-size: var(--fn-text-sm);
    color: var(--fn-link);
    text-decoration: none;
}

.fn-author-archive__url:hover {
    color: var(--fn-link-hover);
    text-decoration: underline;
}

/* ==========================================================================
   22. Search Results
   ========================================================================== */

.fn-search-header {
    padding: var(--fn-space-2xl) 0 var(--fn-space-xl);
}

.fn-search-header__inner {
    text-align: center;
}

.fn-search-header__label {
    font-size: var(--fn-text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fn-text-secondary);
    font-weight: 600;
    margin-bottom: var(--fn-space-sm);
}

.fn-search-header__query {
    font-size: var(--fn-text-4xl);
    margin-bottom: var(--fn-space-md);
}

.fn-search-header__query mark {
    background: var(--fn-accent-light);
    color: var(--fn-accent);
    padding: 0 4px;
    border-radius: var(--fn-radius-sm);
}

.fn-search-header__count {
    color: var(--fn-text-secondary);
    font-size: var(--fn-text-base);
}

.fn-search-form-inline {
    max-width: 500px;
    margin: var(--fn-space-lg) auto 0;
    position: relative;
}

.fn-search-form-inline input[type="search"] {
    width: 100%;
    padding: var(--fn-space-md) var(--fn-space-lg);
    padding-right: 50px;
    border: 2px solid var(--fn-border);
    border-radius: var(--fn-radius-full);
    font-size: var(--fn-text-base);
    background: var(--fn-bg-card);
    color: var(--fn-text);
    outline: none;
    transition: border-color var(--fn-transition);
}

.fn-search-form-inline input[type="search"]:focus {
    border-color: var(--fn-accent);
}

.fn-search-form-inline button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: var(--fn-space-sm);
    color: var(--fn-text-secondary);
}

.fn-search-form-inline button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ==========================================================================
   23. 404 Page
   ========================================================================== */

.fn-404 {
    text-align: center;
    padding: var(--fn-space-4xl) var(--fn-space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.fn-404__code {
    font-size: clamp(80px, 15vw, 160px);
    font-family: var(--fn-font-heading);
    font-weight: 900;
    color: var(--fn-bg-alt);
    line-height: 1;
    letter-spacing: -0.05em;
    position: relative;
}

.fn-404__code span {
    background: linear-gradient(135deg, var(--fn-accent) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fn-404__title {
    font-size: var(--fn-text-3xl);
    margin: var(--fn-space-lg) 0 var(--fn-space-md);
}

.fn-404__desc {
    color: var(--fn-text-secondary);
    font-size: var(--fn-text-lg);
    margin-bottom: var(--fn-space-2xl);
}

.fn-404__search {
    max-width: 400px;
    margin: 0 auto var(--fn-space-2xl);
}

.fn-404__home {
    display: inline-flex;
    align-items: center;
    gap: var(--fn-space-sm);
    padding: var(--fn-space-md) var(--fn-space-2xl);
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
    font-weight: 600;
    border-radius: var(--fn-radius-full);
    transition: all var(--fn-transition);
}

.fn-404__home:hover {
    background: var(--fn-accent-hover);
    color: var(--fn-text-inverse);
    transform: translateY(-2px);
}

.fn-404__popular {
    margin-top: var(--fn-space-3xl);
    text-align: left;
}

.fn-404__popular-title {
    font-size: var(--fn-text-xl);
    text-align: center;
    margin-bottom: var(--fn-space-xl);
}

/* ==========================================================================
   24. Static Page
   ========================================================================== */

.fn-page {
    max-width: var(--fn-content-width);
    margin: 0 auto;
    padding: var(--fn-space-2xl) var(--fn-space-lg) var(--fn-space-3xl);
}

.fn-page__title {
    font-size: var(--fn-text-5xl);
    margin-bottom: var(--fn-space-xl);
    line-height: 1.15;
}

/* ==========================================================================
   25. Footer
   ========================================================================== */

.fn-footer {
    background: var(--fn-bg-dark);
    color: rgba(255, 255, 255, 0.75);
}

.fn-footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--fn-transition);
}

.fn-footer a:hover {
    color: var(--fn-text-inverse);
}

.fn-footer__main {
    padding: var(--fn-space-3xl) 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--fn-space-2xl);
}

.fn-footer__heading {
    color: var(--fn-text-inverse);
    font-size: var(--fn-text-base);
    margin-bottom: var(--fn-space-lg);
    position: relative;
    padding-bottom: var(--fn-space-md);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fn-footer__heading::after {
    display: none;
}

.fn-footer__about-text {
    font-size: var(--fn-text-sm);
    line-height: 1.7;
    margin-bottom: var(--fn-space-lg);
}

.fn-footer__social {
    display: flex;
    gap: var(--fn-space-sm);
}

.fn-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--fn-radius);
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--fn-transition);
}

.fn-footer__social a:hover {
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
}

.fn-footer__social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.fn-footer__links ul {
    list-style: none;
    padding: 0;
}

.fn-footer__links li {
    margin-bottom: var(--fn-space-sm);
}

.fn-footer__links a {
    font-size: var(--fn-text-sm);
    display: flex;
    align-items: center;
    gap: var(--fn-space-sm);
    opacity: 0.75;
    transition: opacity var(--fn-transition);
}

.fn-footer__links a:hover {
    opacity: 1;
}

.fn-footer__links a::before {
    display: none;
}

.fn-footer__tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fn-space-sm);
}

.fn-footer__tag {
    display: inline-flex;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--fn-radius-sm);
    font-size: var(--fn-text-xs);
    transition: all var(--fn-transition);
}

.fn-footer__tag:hover {
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
}

.fn-footer__bottom {
    padding: var(--fn-space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.fn-footer__bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.fn-footer__bottom a:hover {
    color: var(--fn-accent);
}

/* ==========================================================================
   26. Newsletter Signup
   ========================================================================== */

.fn-newsletter {
    background: linear-gradient(135deg, var(--fn-bg-dark) 0%, #1a2a3a 100%);
    padding: var(--fn-space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fn-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.fn-newsletter__inner {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 0 auto;
}

.fn-newsletter__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.15);
    border-radius: var(--fn-radius-lg);
    margin-bottom: var(--fn-space-lg);
}

.fn-newsletter__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--fn-accent);
    fill: none;
    stroke-width: 2;
}

.fn-newsletter__title {
    color: var(--fn-text-inverse);
    font-size: var(--fn-text-3xl);
    margin-bottom: var(--fn-space-sm);
}

.fn-newsletter__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fn-text-base);
    margin-bottom: var(--fn-space-xl);
}

.fn-newsletter__form {
    display: flex;
    gap: var(--fn-space-sm);
    max-width: 440px;
    margin: 0 auto;
}

.fn-newsletter__input {
    flex: 1;
    padding: var(--fn-space-md) var(--fn-space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--fn-radius);
    color: var(--fn-text-inverse);
    font-size: var(--fn-text-sm);
    outline: none;
    transition: border-color var(--fn-transition);
}

.fn-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.fn-newsletter__input:focus {
    border-color: var(--fn-accent);
}

.fn-newsletter__btn {
    padding: var(--fn-space-md) var(--fn-space-xl);
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
    font-weight: 600;
    font-size: var(--fn-text-sm);
    border: none;
    border-radius: var(--fn-radius);
    cursor: pointer;
    transition: all var(--fn-transition);
    white-space: nowrap;
}

.fn-newsletter__btn:hover {
    background: var(--fn-accent-hover);
}

.fn-newsletter__success {
    display: none;
    color: #10b981;
    font-size: var(--fn-text-sm);
    margin-top: var(--fn-space-md);
}

.fn-newsletter.is-submitted .fn-newsletter__form {
    display: none;
}

.fn-newsletter.is-submitted .fn-newsletter__success {
    display: block;
}

.fn-newsletter__privacy {
    margin-top: var(--fn-space-md);
    font-size: var(--fn-text-xs);
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   26b. Stats Bar
   ========================================================================== */

.fn-stats-bar {
    padding: var(--fn-space-lg) 0;
    border-bottom: 1px solid var(--fn-border);
}

.fn-stats-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fn-space-xl);
    flex-wrap: wrap;
}

.fn-stats-bar__item {
    display: flex;
    align-items: baseline;
    gap: var(--fn-space-xs);
}

.fn-stats-bar__number {
    font-family: var(--fn-font-heading);
    font-weight: 800;
    font-size: var(--fn-text-xl);
    color: var(--fn-accent);
    letter-spacing: -0.02em;
}

.fn-stats-bar__label {
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.fn-stats-bar__divider {
    width: 1px;
    height: 24px;
    background: var(--fn-border);
}

/* ==========================================================================
   26c. Newsletter CTA (Homepage Banner)
   ========================================================================== */

.fn-newsletter-cta {
    padding: var(--fn-space-2xl) 0;
}

.fn-newsletter-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fn-space-2xl);
    padding: var(--fn-space-xl) var(--fn-space-2xl);
    background: linear-gradient(135deg, var(--fn-bg-dark) 0%, #1a2a3a 100%);
    border-radius: var(--fn-radius-lg);
    position: relative;
    overflow: hidden;
}

.fn-newsletter-cta__inner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fn-newsletter-cta__text {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.fn-newsletter-cta__title {
    color: var(--fn-text-inverse);
    font-size: var(--fn-text-2xl);
    font-weight: 800;
    margin: 0 0 var(--fn-space-xs);
    line-height: var(--fn-lh-heading);
}

.fn-newsletter-cta__desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--fn-text-sm);
    margin: 0;
    line-height: 1.5;
}

.fn-newsletter-cta__form {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--fn-space-sm);
    flex-shrink: 0;
}

.fn-newsletter-cta__input {
    padding: var(--fn-space-sm) var(--fn-space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--fn-radius);
    color: var(--fn-text-inverse);
    font-size: var(--fn-text-sm);
    outline: none;
    min-width: 200px;
    transition: border-color var(--fn-transition);
}

.fn-newsletter-cta__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.fn-newsletter-cta__input:focus {
    border-color: var(--fn-accent);
}

.fn-newsletter-cta__btn {
    padding: var(--fn-space-sm) var(--fn-space-xl);
    background: var(--fn-accent);
    color: var(--fn-text-inverse);
    font-weight: 600;
    font-size: var(--fn-text-sm);
    border: none;
    border-radius: var(--fn-radius);
    cursor: pointer;
    transition: all var(--fn-transition);
    white-space: nowrap;
}

.fn-newsletter-cta__btn:hover {
    background: var(--fn-accent-hover);
}

@media (max-width: 768px) {
    .fn-stats-bar__inner {
        gap: var(--fn-space-md);
    }
    .fn-stats-bar__number {
        font-size: var(--fn-text-lg);
    }
    .fn-stats-bar__divider {
        height: 18px;
    }
    .fn-newsletter-cta__inner {
        flex-direction: column;
        text-align: center;
        padding: var(--fn-space-xl) var(--fn-space-lg);
    }
    .fn-newsletter-cta__form {
        width: 100%;
        flex-direction: column;
    }
    .fn-newsletter-cta__input {
        min-width: 0;
        width: 100%;
    }
}

/* ==========================================================================
   27. Reading Progress Bar
   ========================================================================== */

.fn-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: var(--fn-z-progress);
    background: transparent;
    pointer-events: none;
}

.fn-progress__bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--fn-accent) 0%, #ff6b6b 100%);
    transition: width 0.1s linear;
    will-change: width;
}

/* ==========================================================================
   28. Back to Top
   ========================================================================== */

.fn-back-to-top {
    position: fixed;
    bottom: var(--fn-space-xl);
    right: var(--fn-space-xl);
    width: 44px;
    height: 44px;
    background: var(--fn-bg-dark);
    color: var(--fn-text-inverse);
    border: none;
    border-radius: var(--fn-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--fn-z-back-to-top);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--fn-transition-slow);
    box-shadow: var(--fn-shadow-lg);
}

.fn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fn-back-to-top:hover {
    background: var(--fn-accent);
    transform: translateY(-3px);
}

.fn-back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Back to Top - Style Variants */
.fn-back-to-top[data-style="circle"] {
    border-radius: var(--fn-radius-full);
}
.fn-back-to-top[data-style="rounded"] {
    border-radius: var(--fn-radius);
}
.fn-back-to-top[data-style="square"] {
    border-radius: 0;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.fn-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fn-bg);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fn-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.fn-preloader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--fn-border);
    border-top-color: var(--fn-accent);
    border-radius: 50%;
    animation: fn-preloader-spin 0.8s linear infinite;
}

@keyframes fn-preloader-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Header - Static (non-sticky) variant
   ========================================================================== */

.fn-header--static {
    position: relative;
    top: auto;
}

.fn-header--static.is-shrunk {
    height: var(--fn-header-height);
    box-shadow: none;
}

.fn-header--static.is-shrunk .fn-header__inner {
    height: var(--fn-header-height);
}

/* ==========================================================================
   Header - Transparent on Homepage
   ========================================================================== */

.fn-header--transparent {
    position: absolute;
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.fn-header--transparent.is-scrolled {
    position: fixed;
    background: var(--fn-bg-dark);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Infinite Scroll sentinel
   ========================================================================== */

.fn-load-more__sentinel {
    height: 1px;
    visibility: hidden;
}

.fn-load-more__spinner--infinite {
    width: 32px;
    height: 32px;
    border: 3px solid var(--fn-border);
    border-top-color: var(--fn-accent);
    border-radius: 50%;
    animation: fn-preloader-spin 0.8s linear infinite;
    margin: var(--fn-space-lg) auto;
}

/* ==========================================================================
   29. Ad Zones
   ========================================================================== */

.fn-ad {
    text-align: center;
    margin: var(--fn-space-md) 0;
    position: relative;
}

.fn-ad__label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fn-text-secondary);
    opacity: 0.6;
    margin-bottom: 4px;
}

.fn-ad--before-header,
.fn-ad--after-header,
.fn-ad--before-footer {
    padding: var(--fn-space-sm) var(--fn-space-md);
    background: var(--fn-bg-alt);
}

.fn-ad--header-banner {
    padding: var(--fn-space-sm) 0;
}

.fn-ad--in-article {
    margin: var(--fn-space-xl) auto;
    padding: var(--fn-space-md);
    background: var(--fn-bg-alt);
    border-radius: var(--fn-radius-md);
}

.fn-ad--after-content {
    margin: var(--fn-space-xl) 0;
    padding: var(--fn-space-md);
    background: var(--fn-bg-alt);
    border-radius: var(--fn-radius-md);
}

.fn-ad--between-posts {
    grid-column: 1 / -1;
    padding: var(--fn-space-md);
    background: var(--fn-bg-alt);
    border-radius: var(--fn-radius-md);
}

.fn-ad--sidebar-top,
.fn-ad--sidebar-bottom {
    padding: var(--fn-space-sm);
    margin-bottom: var(--fn-space-md);
}

@media (min-width: 1025px) {
    .fn-ad--hide-desktop { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .fn-ad--hide-tablet { display: none !important; }
}
@media (max-width: 768px) {
    .fn-ad--hide-mobile { display: none !important; }
}

/* ==========================================================================
   30. Dark Mode
   ========================================================================== */

[data-theme="dark"] {
    --fn-bg: #121212;
    --fn-bg-alt: #1e1e1e;
    --fn-bg-card: #1e1e1e;
    --fn-bg-dark: #0a0a0a;
    --fn-bg-dark-elevated: #1a2332;
    --fn-text: #e4e4e7;
    --fn-heading: #f4f4f5;
    --fn-text-secondary: #a1a1aa;
    --fn-text-light: #71717a;
    --fn-accent: #f87171;
    --fn-accent-hover: #ef4444;
    --fn-accent-light: rgba(248, 113, 113, 0.12);
    --fn-link: #60a5fa;
    --fn-link-hover: #93c5fd;
    --fn-border: #2e2e2e;
    --fn-border-dark: #3f3f46;
    --fn-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --fn-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    --fn-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --fn-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --fn-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .fn-header {
    background: #0a0a0a;
}

[data-theme="dark"] .fn-ticker {
    background: #991b1b;
}

[data-theme="dark"] .fn-ticker__label {
    background: #7f1d1d;
}

[data-theme="dark"] img {
    opacity: 0.9;
}

[data-theme="dark"] .fn-card__image--placeholder {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}

/* Dark mode: elevated surface gradients (not flat) */
[data-theme="dark"] .fn-card {
    background: linear-gradient(180deg, #1e1e1e, #1a1a1a);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fn-hero__side-card {
    background: linear-gradient(180deg, #1e1e1e, #1a1a1a);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fn-author-box {
    background: linear-gradient(135deg, #1a1a1a, #1e1e1e);
}

/* Dark mode: reduced image saturation */
[data-theme="dark"] .fn-card .fn-card__image img {
    filter: saturate(0.8);
}

[data-theme="dark"] .fn-card:hover .fn-card__image img {
    filter: saturate(0.95);
}

/* Dark mode: code blocks */
[data-theme="dark"] .fn-content pre {
    background: #0a0a0a;
    border: 1px solid var(--fn-border);
}

/* Dark mode: blockquote */
[data-theme="dark"] .fn-content blockquote {
    background: rgba(248, 113, 113, 0.03);
}

/* Dark mode: table headers */
[data-theme="dark"] .fn-content th {
    background: var(--fn-accent);
    color: #fff;
}

/* ==========================================================================
   30. Animations
   ========================================================================== */

@keyframes fn-fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fn-slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fn-animate-in {
    animation: fn-fadeIn 0.4s ease forwards;
}

/* Like button animation */
@keyframes fn-heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.fn-like.is-animating svg {
    animation: fn-heartBeat 0.4s ease;
}

/* ==========================================================================
   31. Responsive
   ========================================================================== */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .fn-hero__grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .fn-hero__side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .fn-hero__side-img {
        aspect-ratio: 16/9;
    }

    .fn-hero__side-card {
        min-height: 200px;
    }

    .fn-posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .fn-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fn-footer__main {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablets */
@media (max-width: 768px) {
    :root {
        --fn-header-height: 56px;
        --fn-ticker-height: 32px;
    }

    .fn-container {
        padding: 0 var(--fn-space-md);
    }

    .fn-mobile-toggle {
        display: flex;
    }

    .fn-nav__menu {
        display: none;
        position: fixed;
        top: calc(var(--fn-header-height) + var(--fn-ticker-height));
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--fn-bg-dark);
        flex-direction: column;
        padding: var(--fn-space-xl);
        z-index: var(--fn-z-mobile-menu);
        overflow-y: auto;
    }

    .fn-nav__menu.is-open {
        display: flex;
    }

    .fn-nav__menu > li > a {
        padding: var(--fn-space-md) 0;
        font-size: var(--fn-text-lg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fn-nav__menu li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding: 0;
        padding-left: var(--fn-space-lg);
        min-width: 0;
        box-shadow: none;
    }

    .fn-hero__side {
        grid-template-columns: 1fr;
    }

    .fn-hero__side-card {
        min-height: 180px;
    }

    .fn-posts-grid {
        grid-template-columns: 1fr !important;
        gap: var(--fn-space-lg);
    }

    /* Reset featured card pattern on mobile — all cards uniform */
    .fn-posts-grid > article:nth-of-type(5n+1) {
        grid-column: span 1;
        flex-direction: column;
    }

    .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__image {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__title {
        font-size: var(--fn-text-lg);
        -webkit-line-clamp: 3;
    }

    .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__excerpt {
        -webkit-line-clamp: 2;
    }

    .fn-posts-grid > article:nth-of-type(5n+1) .fn-card__body {
        border-left: none;
        padding-left: var(--fn-space-lg);
        justify-content: flex-start;
    }

    [data-style="classic"] .fn-posts-grid .fn-card {
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
    }

    /* Category Showcase: single column on mobile */
    .fn-showcase-grid {
        grid-template-columns: 1fr;
    }

    .fn-showcase-card__thumb {
        width: 100px;
        height: 75px;
    }

    .fn-single__featured {
        margin: var(--fn-space-md) 0;
    }

    .fn-single__title {
        font-size: var(--fn-text-3xl);
    }

    .fn-single__meta {
        gap: var(--fn-space-md);
    }

    .fn-post-nav {
        grid-template-columns: 1fr;
    }

    .fn-related__grid {
        grid-template-columns: 1fr;
    }

    .fn-author-box {
        flex-direction: column;
        text-align: center;
    }

    .fn-footer__main {
        grid-template-columns: 1fr;
        gap: var(--fn-space-xl);
    }

    .fn-footer__heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .fn-footer__bottom {
        flex-direction: column;
        gap: var(--fn-space-sm);
        text-align: center;
    }

    .fn-newsletter__form {
        flex-direction: column;
    }

    .fn-share {
        justify-content: center;
    }

    .fn-share__label {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: var(--fn-space-sm);
    }

    .fn-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--fn-space-sm);
    }

    .fn-ticker__label {
        font-size: 12px;
        padding: 0 var(--fn-space-sm);
    }
}

/* Small phones */
@media (max-width: 480px) {
    .fn-hero__main-content {
        padding: var(--fn-space-lg);
    }

    .fn-hero__main-title {
        font-size: var(--fn-text-2xl);
    }

    .fn-card__body {
        padding: var(--fn-space-md);
    }

    .fn-card__title {
        font-size: var(--fn-text-lg);
    }

    .fn-single {
        padding: var(--fn-space-lg) var(--fn-space-md) var(--fn-space-2xl);
    }

    .fn-single__title {
        font-size: var(--fn-text-2xl);
    }

    .fn-content {
        font-size: var(--fn-text-base);
    }

    .fn-comment .children {
        margin-left: var(--fn-space-md);
        padding-left: var(--fn-space-md);
    }

    .fn-back-to-top {
        bottom: var(--fn-space-md);
        right: var(--fn-space-md);
    }
}

/* Print styles */
@media print {
    .fn-header,
    .fn-ticker,
    .fn-progress,
    .fn-back-to-top,
    .fn-share,
    .fn-like,
    .fn-newsletter,
    .fn-related,
    .fn-post-nav,
    .fn-footer,
    .fn-toc,
    .fn-search-overlay,
    .fn-load-more,
    .fn-comments {
        display: none !important;
    }

    .fn-main {
        padding-top: 0;
    }

    .fn-single {
        max-width: 100%;
    }

    .fn-content a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #666;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* WordPress alignment classes */
.alignwide {
    max-width: var(--fn-max-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.alignleft {
    float: left;
    margin-right: var(--fn-space-lg);
    margin-bottom: var(--fn-space-md);
}

.alignright {
    float: right;
    margin-left: var(--fn-space-lg);
    margin-bottom: var(--fn-space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress caption */
.wp-caption {
    max-width: 100%;
    margin-bottom: var(--fn-space-lg);
}

.wp-caption img {
    border-radius: var(--fn-radius);
}

.wp-caption-text {
    margin-top: var(--fn-space-sm);
    font-size: var(--fn-text-sm);
    color: var(--fn-text-secondary);
    font-style: italic;
    text-align: center;
}

/* WordPress gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--fn-space-md);
    margin: var(--fn-space-xl) 0;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    border-radius: var(--fn-radius);
    width: 100%;
}

/* Sticky post badge */
.fn-sticky-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--fn-bg-dark);
    color: var(--fn-text-inverse);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--fn-radius-sm);
}

.fn-sticky-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Widgets default styling */
.widget {
    margin-bottom: var(--fn-space-xl);
}

.widget-title {
    font-size: var(--fn-text-lg);
    font-weight: 700;
    margin-bottom: var(--fn-space-md);
}

/* ---------- Modern Style Polish ---------- */

/* Hero: subtle gradient accent line below */
.fn-hero::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--fn-accent), transparent);
    margin-top: var(--fn-space-lg);
}

/* Cards: hover glow with accent-tinted shadow */
.fn-card:hover {
    box-shadow: var(--fn-shadow-lg), 0 4px 20px rgba(230, 57, 70, 0.08);
}

/* Section headers: gradient accent underline */
.fn-section-header::after {
    background: linear-gradient(90deg, var(--fn-accent), transparent);
    width: 80px;
}

/* Blockquote: subtle accent background tint */
.fn-content blockquote {
    background: linear-gradient(135deg, var(--fn-bg-alt), rgba(230, 57, 70, 0.03));
}

/* Footer top gradient line */
.fn-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--fn-accent), var(--fn-accent-hover), transparent);
}

/* ==========================================================================
   32. Theme Style: Classic Editorial
   ========================================================================== */

[data-style="classic"] {
    /* Colors — warm, muted, ink-on-paper */
    --fn-bg: #faf8f5;
    --fn-bg-alt: #f0ece4;
    --fn-bg-card: #ffffff;
    --fn-bg-dark: #1a1a1a;
    --fn-text: #2c2c2c;
    --fn-text-secondary: #6b6256;
    --fn-text-light: #9e9589;
    --fn-accent: #8b2500;
    --fn-accent-hover: #6d1d00;
    --fn-accent-light: rgba(139, 37, 0, 0.08);
    --fn-link: #8b2500;
    --fn-link-hover: #6d1d00;
    --fn-border: #d4cfc5;
    --fn-border-dark: #c2bdb3;
    --fn-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --fn-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    --fn-shadow-md: 0 3px 10px rgba(0, 0, 0, 0.07);
    --fn-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);

    /* Typography — serif-dominant */
    --fn-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --fn-font-body: 'Lora', Georgia, 'Times New Roman', serif;

    /* Layout — tighter, more newspapery */
    --fn-radius-sm: 0px;
    --fn-radius-md: 2px;
    --fn-radius: 2px;
    --fn-radius-lg: 2px;
    --fn-radius-xl: 4px;
    --fn-radius-full: 2px;
}

/* Header — masthead feel */
[data-style="classic"] .fn-header {
    border-bottom: 3px solid var(--fn-classic-accent);
}

[data-style="classic"] .fn-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: var(--fn-text-2xl);
}

[data-style="classic"] .fn-logo__accent {
    font-weight: 400;
    font-style: italic;
}

/* Nav — refined underlines */
[data-style="classic"] .fn-nav__menu a {
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Lora', Georgia, serif;
    font-size: var(--fn-text-sm);
}

[data-style="classic"] .fn-nav__menu a:hover,
[data-style="classic"] .fn-nav__menu .current-menu-item > a {
    border-bottom: 2px solid var(--fn-classic-accent);
    background: none;
}

/* Ticker — dignified, not alarming */
[data-style="classic"] .fn-ticker {
    background: #2c2c2c;
    border-bottom: 1px solid #444;
}

[data-style="classic"] .fn-ticker__label {
    background: var(--fn-accent);
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.02em;
}

[data-style="classic"] .fn-ticker__item a {
    font-family: 'Lora', Georgia, serif;
}

/* Hero — more editorial layout */
[data-style="classic"] .fn-hero {
    padding: var(--fn-space-xl) 0;
}

[data-style="classic"] .fn-hero__main-content {
    padding: var(--fn-space-xl);
}

[data-style="classic"] .fn-hero__main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

[data-style="classic"] .fn-hero__main-excerpt {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: var(--fn-text-base);
    line-height: 1.6;
}

[data-style="classic"] .fn-hero__side-card {
    border: none;
    background: transparent;
    border-bottom: 1px solid var(--fn-border);
    border-radius: 0;
}

[data-style="classic"] .fn-hero__side-card:last-child {
    border-bottom: none;
}

[data-style="classic"] .fn-hero__side-img {
    aspect-ratio: 3/2;
}

[data-style="classic"] .fn-hero__side-title {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Category badges — italic serif, sentence-case, understated */
[data-style="classic"] .fn-category-badge {
    border-radius: 0;
    text-transform: none;
    font-size: 10px;
    letter-spacing: 0.06em;
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    padding: 0;
}

/* Cards — no border-radius, thin borders, newspaper column feel */
[data-style="classic"] .fn-card {
    border: 1px solid var(--fn-border);
    box-shadow: none;
}

[data-style="classic"] .fn-card:hover {
    box-shadow: var(--fn-shadow);
    transform: none;
    border-color: var(--fn-border-dark);
}

[data-style="classic"] .fn-card:hover .fn-card__image img {
    transform: none;
}

[data-style="classic"] .fn-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
}

[data-style="classic"] .fn-card__excerpt {
    font-family: 'Lora', Georgia, serif;
    line-height: 1.6;
    color: var(--fn-text-secondary);
}

[data-style="classic"] .fn-card__meta {
    font-family: var(--fn-font-body);
    text-transform: none;
    letter-spacing: 0;
}

/* Posts grid — add column divider effect */
[data-style="classic"] .fn-posts-grid {
    column-gap: 0;
    row-gap: var(--fn-space-xl);
}

[data-style="classic"] .fn-posts-grid .fn-card {
    border-left: 1px solid var(--fn-border);
    border-top: none;
    border-bottom: none;
    border-right: none;
    padding-left: var(--fn-space-lg);
    padding-right: var(--fn-space-lg);
}

[data-style="classic"] .fn-posts-grid .fn-card:nth-child(3n+1) {
    border-left: none;
    padding-left: 0;
}

[data-style="classic"] .fn-posts-grid .fn-card:nth-child(3n) {
    padding-right: 0;
}

/* Section titles — decorative */
[data-style="classic"] .fn-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    text-align: center;
}

[data-style="classic"] .fn-section-header {
    border-bottom: 1px solid var(--fn-border);
    margin-bottom: var(--fn-space-xl);
    padding-bottom: var(--fn-space-md);
    text-align: center;
}

[data-style="classic"] .fn-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--fn-classic-accent);
    margin: var(--fn-space-sm) auto 0;
}

/* Single post — elegant reading experience */
[data-style="classic"] .fn-single__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

[data-style="classic"] .fn-single__meta {
    border-top: 1px solid var(--fn-border);
    border-bottom: 1px solid var(--fn-border);
    font-family: 'Lora', Georgia, serif;
    font-size: var(--fn-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Article content — book-like */
[data-style="classic"] .fn-content {
    font-family: 'Lora', Georgia, serif;
    font-size: var(--fn-article-font-size, var(--fn-text-lg));
    line-height: 1.85;
}

[data-style="classic"] .fn-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    border-bottom: 1px solid var(--fn-border);
    padding-bottom: var(--fn-space-sm);
}

[data-style="classic"] .fn-content h3,
[data-style="classic"] .fn-content h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

[data-style="classic"] .fn-content a {
    color: var(--fn-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

[data-style="classic"] .fn-content blockquote {
    border-left: 3px solid var(--fn-classic-accent);
    background: #f5f0e8;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: var(--fn-text-xl);
    font-style: italic;
    line-height: 1.5;
    border-radius: 0;
}

[data-style="classic"] .fn-content blockquote cite {
    font-family: 'Lora', Georgia, serif;
    font-style: normal;
    text-transform: uppercase;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.08em;
}

[data-style="classic"] .fn-content img {
    border-radius: 0;
}

/* Load more — classic button */
[data-style="classic"] .fn-load-more__btn {
    border: 2px solid var(--fn-bg-dark);
    background: transparent;
    color: var(--fn-text);
    font-family: 'Lora', Georgia, serif;
    text-transform: none;
    letter-spacing: 0.02em;
    border-radius: 0;
}

[data-style="classic"] .fn-load-more__btn:hover {
    background: var(--fn-bg-dark);
    color: var(--fn-text-inverse);
    transform: none;
    box-shadow: none;
}

/* Share buttons */
[data-style="classic"] .fn-share__btn {
    border-radius: 0;
}

[data-style="classic"] .fn-author-box__name {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Related posts */
[data-style="classic"] .fn-related__title {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
}

[data-style="classic"] .fn-related__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--fn-classic-accent);
    margin: var(--fn-space-sm) auto 0;
}

/* Post navigation */
[data-style="classic"] .fn-post-nav__card {
    border-radius: 0;
    border: 1px solid var(--fn-border);
}

[data-style="classic"] .fn-post-nav__title {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Newsletter — refined */
[data-style="classic"] .fn-newsletter {
    background: var(--fn-bg-dark);
}

[data-style="classic"] .fn-newsletter__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

[data-style="classic"] .fn-newsletter__desc {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
}

[data-style="classic"] .fn-newsletter__btn {
    border-radius: 0;
    font-family: 'Lora', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--fn-text-sm);
}

[data-style="classic"] .fn-newsletter__input {
    border-radius: 0;
}

/* Stats Bar — classic */
[data-style="classic"] .fn-stats-bar {
    border-bottom: 1px solid var(--fn-border);
    border-top: 1px solid var(--fn-border);
}
[data-style="classic"] .fn-stats-bar__number {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--fn-classic-accent);
}
[data-style="classic"] .fn-stats-bar__label {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

/* Newsletter CTA — classic */
[data-style="classic"] .fn-newsletter-cta__inner {
    background: var(--fn-bg-dark);
    border-radius: 0;
}
[data-style="classic"] .fn-newsletter-cta__title {
    font-family: 'Playfair Display', Georgia, serif;
}
[data-style="classic"] .fn-newsletter-cta__desc {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
}
[data-style="classic"] .fn-newsletter-cta__btn {
    border-radius: 0;
    font-family: 'Lora', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
[data-style="classic"] .fn-newsletter-cta__input {
    border-radius: 0;
}

/* Footer */
[data-style="classic"] .fn-footer {
    border-top: 3px solid var(--fn-classic-accent);
}

[data-style="classic"] .fn-footer__heading {
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

[data-style="classic"] .fn-footer__tag {
    border-radius: 0;
}

/* Comments */
[data-style="classic"] .fn-comment__author {
    font-family: 'Playfair Display', Georgia, serif;
}

[data-style="classic"] .fn-comment__body {
    font-family: 'Lora', Georgia, serif;
}

/* Archive headers */
[data-style="classic"] .fn-archive-header {
    border-radius: 0;
}

[data-style="classic"] .fn-archive-header__title {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Back to top */
[data-style="classic"] .fn-back-to-top {
    border-radius: 0;
    border: 1px solid var(--fn-border);
}

/* Pagination */
[data-style="classic"] .fn-pagination a,
[data-style="classic"] .fn-pagination span {
    border-radius: 0;
}

/* Breadcrumbs */
[data-style="classic"] .fn-single__breadcrumbs {
    font-family: 'Lora', Georgia, serif;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.05em;
}

/* TOC */
[data-style="classic"] .fn-toc {
    border-radius: 0;
    border: 1px solid var(--fn-border);
}

[data-style="classic"] .fn-toc__title {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Tags */
[data-style="classic"] .fn-tag {
    border-radius: 0;
    font-family: 'Lora', Georgia, serif;
}

/* Search overlay */
[data-style="classic"] .fn-search-overlay__input {
    font-family: 'Playfair Display', Georgia, serif;
    border-bottom: 2px solid var(--fn-classic-accent);
}

/* 404 */
[data-style="classic"] .fn-404__title {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Featured image */
[data-style="classic"] .fn-single__featured {
    border-radius: 0;
}

[data-style="classic"] .fn-single__featured img {
    border-radius: 0;
}

/* Dark mode overrides for Classic */
[data-style="classic"][data-theme="dark"] {
    --fn-bg: #1c1a17;
    --fn-bg-alt: #252320;
    --fn-bg-card: #252320;
    --fn-bg-dark: #0e0d0b;
    --fn-text: #e0ddd5;
    --fn-text-secondary: #a09888;
    --fn-accent: #c4623c;
    --fn-accent-hover: #a84e2d;
    --fn-accent-light: rgba(196, 98, 60, 0.1);
    --fn-link: #c4623c;
    --fn-link-hover: #a84e2d;
    --fn-classic-accent: #6b5a45;
    --fn-border: #3a3630;
    --fn-border-dark: #4a453e;
}

[data-style="classic"][data-theme="dark"] .fn-header {
    border-bottom-color: var(--fn-classic-accent);
}

[data-style="classic"][data-theme="dark"] .fn-footer {
    border-top-color: var(--fn-classic-accent);
}

/* ---------- Classic Polish ---------- */

/* Drop caps: Playfair Display, larger, decorative muted red */
[data-style="classic"] .fn-content > p:first-of-type::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4em;
    color: var(--fn-accent);
    font-weight: 700;
    padding-top: 6px;
}

/* Column dividers between grid cards */
[data-style="classic"] .fn-posts-grid {
    column-gap: 0;
}

[data-style="classic"] .fn-posts-grid .fn-card {
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    border-right: 1px solid var(--fn-border);
    padding: 0 var(--fn-space-lg);
}

[data-style="classic"] .fn-posts-grid .fn-card:last-child {
    border-right: none;
}

[data-style="classic"] .fn-posts-grid .fn-card:hover {
    box-shadow: none;
    transform: none;
}

[data-style="classic"] .fn-content blockquote::before {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    color: var(--fn-classic-accent);
    opacity: 0.15;
}

/* Section headers: centered, double-rule border, italic serif title */
[data-style="classic"] .fn-section-header {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: var(--fn-space-sm);
    border-bottom: 3px double var(--fn-border-dark);
    border-top: 3px double var(--fn-border-dark);
    padding: var(--fn-space-md) 0;
}

[data-style="classic"] .fn-section-header::after {
    display: none;
}

[data-style="classic"] .fn-section-link {
    color: var(--fn-classic-accent);
}

/* Hero: sepia-toned gradient overlay on images */
[data-style="classic"] .fn-hero__main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(44, 44, 44, 0.7));
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

/* Content links: thinner underline, more offset */
[data-style="classic"] .fn-content a {
    background-image: linear-gradient(var(--fn-accent), var(--fn-accent));
    background-size: 100% 1px;
}

[data-style="classic"] .fn-content a:hover {
    background-size: 100% 2px;
}

/* Tables: cream header instead of accent */
[data-style="classic"] .fn-content th {
    background: #f0ece4;
    color: var(--fn-text);
}

[data-style="classic"] .fn-content td {
    border-top-color: #d4cfc5;
}

/* Author box: no rounded corners, thin top/bottom rules */
[data-style="classic"] .fn-author-box {
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--fn-border);
    border-bottom: 1px solid var(--fn-border);
    border-left: none;
    background: transparent;
}

/* Footer: thin rule divider */
[data-style="classic"] .fn-footer::before {
    height: 1px;
    background: var(--fn-classic-accent);
}

/* Cards: no image saturation effect in classic */
[data-style="classic"] .fn-card .fn-card__image img {
    filter: none;
}

/* Dark mode classic polish */
[data-style="classic"][data-theme="dark"] .fn-content blockquote {
    background: #252320;
}

[data-style="classic"][data-theme="dark"] .fn-posts-grid .fn-card {
    border-right-color: #3a3630;
}

[data-style="classic"][data-theme="dark"] .fn-content th {
    background: #252320;
    color: var(--fn-text);
}

/* ==========================================================================
   33. Theme Style: Bold Magazine
   ========================================================================== */

[data-style="bold"] {
    /* Colors — high-contrast, vivid */
    --fn-bg: #fafafa;
    --fn-bg-alt: #f0f0f0;
    --fn-bg-card: #ffffff;
    --fn-bg-dark: #000000;
    --fn-text: #111111;
    --fn-text-secondary: #555555;
    --fn-text-light: #888888;
    --fn-accent: #ff3d00;
    --fn-accent-hover: #dd3500;
    --fn-accent-light: rgba(255, 61, 0, 0.08);
    --fn-link: #ff3d00;
    --fn-link-hover: #dd3500;
    --fn-border: #e0e0e0;
    --fn-border-dark: #cccccc;
    --fn-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --fn-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --fn-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
    --fn-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
    --fn-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.18);

    /* Typography — condensed, heavy */
    --fn-font-heading: 'Oswald', 'Arial Narrow', sans-serif;
    --fn-font-body: 'Barlow', system-ui, -apple-system, sans-serif;

    /* Layout — sharper edges, bolder shapes */
    --fn-radius-sm: 0px;
    --fn-radius-md: 0px;
    --fn-radius: 0px;
    --fn-radius-lg: 0px;
    --fn-radius-xl: 0px;
    --fn-radius-full: 0px;

    /* Transitions — snappier */
    --fn-transition: 0.15s ease;
    --fn-transition-slow: 0.25s ease;
}

/* Header — chunky, bold line */
[data-style="bold"] .fn-header {
    border-bottom: 4px solid var(--fn-accent);
}

[data-style="bold"] .fn-logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: var(--fn-text-2xl);
}

[data-style="bold"] .fn-logo__accent {
    color: var(--fn-accent);
}

/* Nav — uppercase, tight */
[data-style="bold"] .fn-nav__menu a {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-size: var(--fn-text-sm);
}

[data-style="bold"] .fn-nav__menu a:hover,
[data-style="bold"] .fn-nav__menu .current-menu-item > a {
    color: var(--fn-accent);
    background: none;
}

/* Ticker — loud */
[data-style="bold"] .fn-ticker {
    background: #111;
}

[data-style="bold"] .fn-ticker__label {
    background: var(--fn-accent);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
}

[data-style="bold"] .fn-ticker__item a {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--fn-text-sm);
    letter-spacing: 0.02em;
}

/* Hero — oversized, dramatic */
[data-style="bold"] .fn-hero__main-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
    font-size: var(--fn-text-5xl);
}

[data-style="bold"] .fn-hero__main-content {
    padding: var(--fn-space-xl);
}

[data-style="bold"] .fn-hero__main-excerpt {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: var(--fn-text-base);
}

[data-style="bold"] .fn-hero__main-meta {
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.06em;
    font-weight: 600;
}

[data-style="bold"] .fn-hero__side-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

/* Category badge — left border-accent stripe */
[data-style="bold"] .fn-category-badge {
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
    padding: 2px 0 2px 8px;
    border-left: 3px solid var(--fn-badge-color, var(--fn-accent));
}

/* Cards — left accent stripe, dramatic hover */
[data-style="bold"] .fn-card {
    border-left: 4px solid var(--fn-accent);
    box-shadow: var(--fn-shadow-sm);
    transition: all 0.2s ease;
}

[data-style="bold"] .fn-card:hover {
    box-shadow: var(--fn-shadow-xl);
    transform: translateY(-4px) scale(1.01);
}

[data-style="bold"] .fn-card:hover .fn-card__image img {
    transform: scale(1.08);
    filter: contrast(1.05);
}

[data-style="bold"] .fn-card__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.15;
    font-size: var(--fn-text-xl);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-style="bold"] .fn-card__excerpt {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}

[data-style="bold"] .fn-card__meta {
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    font-size: var(--fn-text-xs);
}

/* Section titles — bold, accent underline */
[data-style="bold"] .fn-section-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

[data-style="bold"] .fn-section-header {
    border-bottom: 4px solid var(--fn-accent);
    margin-bottom: var(--fn-space-xl);
    padding-bottom: var(--fn-space-sm);
}

/* Load more — bold CTA */
[data-style="bold"] .fn-load-more__btn {
    background: var(--fn-accent);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 0;
    padding: var(--fn-space-md) var(--fn-space-2xl);
}

[data-style="bold"] .fn-load-more__btn:hover {
    background: var(--fn-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 61, 0, 0.3);
}

/* Single post — oversized type */
[data-style="bold"] .fn-single__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.05;
    font-size: clamp(2.2rem, 2rem + 2.5vw, 3.5rem);
}

[data-style="bold"] .fn-single__meta {
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    font-size: var(--fn-text-xs);
    border-top: 3px solid var(--fn-accent);
    border-bottom: 1px solid var(--fn-border);
}

/* Article content */
[data-style="bold"] .fn-content {
    font-family: 'Barlow', sans-serif;
    font-size: var(--fn-article-font-size, var(--fn-text-lg));
    line-height: 1.75;
    font-weight: 400;
}

[data-style="bold"] .fn-content h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 3px solid var(--fn-accent);
    padding-bottom: var(--fn-space-sm);
}

[data-style="bold"] .fn-content h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

[data-style="bold"] .fn-content h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

[data-style="bold"] .fn-content a {
    color: var(--fn-accent);
    text-decoration: none;
    border-bottom: 2px solid var(--fn-accent);
    transition: background 0.15s ease;
}

[data-style="bold"] .fn-content a:hover {
    background: var(--fn-accent-light);
}

[data-style="bold"] .fn-content blockquote {
    border-left: 5px solid var(--fn-accent);
    background: #111;
    color: #fff;
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: var(--fn-text-2xl);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

[data-style="bold"] .fn-content blockquote cite {
    font-family: 'Barlow', sans-serif;
    color: var(--fn-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--fn-text-xs);
}

[data-style="bold"] .fn-content img {
    border-radius: 0;
}

/* Share buttons — chunky */
[data-style="bold"] .fn-share__label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
}

[data-style="bold"] .fn-share__btn {
    border-radius: 0;
    transition: transform 0.15s ease;
}

[data-style="bold"] .fn-share__btn:hover {
    transform: translateY(-3px) scale(1.1);
}

[data-style="bold"] .fn-author-box__name {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
}

[data-style="bold"] .fn-author-box__bio {
    font-family: 'Barlow', sans-serif;
}

/* Related posts */
[data-style="bold"] .fn-related__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Post navigation */
[data-style="bold"] .fn-post-nav__card {
    border-radius: 0;
    border-left: 4px solid var(--fn-accent);
}

[data-style="bold"] .fn-post-nav__card:hover {
    transform: translateX(4px);
}

[data-style="bold"] .fn-post-nav__label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

[data-style="bold"] .fn-post-nav__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

/* Newsletter — high-impact */
[data-style="bold"] .fn-newsletter {
    background: #111;
}

[data-style="bold"] .fn-newsletter__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: var(--fn-text-4xl);
}

[data-style="bold"] .fn-newsletter__desc {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}

[data-style="bold"] .fn-newsletter__btn {
    background: var(--fn-accent);
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
}

[data-style="bold"] .fn-newsletter__btn:hover {
    background: var(--fn-accent-hover);
    box-shadow: 0 8px 24px rgba(255, 61, 0, 0.3);
}

[data-style="bold"] .fn-newsletter__input {
    border-radius: 0;
    font-family: 'Barlow', sans-serif;
}

/* Stats Bar — bold */
[data-style="bold"] .fn-stats-bar {
    border-bottom: 3px solid var(--fn-accent);
    background: #111;
    padding: var(--fn-space-md) 0;
}
[data-style="bold"] .fn-stats-bar__number {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: var(--fn-text-2xl);
}
[data-style="bold"] .fn-stats-bar__label {
    font-family: 'Barlow', sans-serif;
    color: rgba(255, 255, 255, 0.6);
}
[data-style="bold"] .fn-stats-bar__divider {
    background: rgba(255, 255, 255, 0.15);
}

/* Newsletter CTA — bold */
[data-style="bold"] .fn-newsletter-cta__inner {
    background: #111;
    border-radius: 0;
    border-left: 4px solid var(--fn-accent);
}
[data-style="bold"] .fn-newsletter-cta__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
[data-style="bold"] .fn-newsletter-cta__desc {
    font-family: 'Barlow', sans-serif;
}
[data-style="bold"] .fn-newsletter-cta__btn {
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
[data-style="bold"] .fn-newsletter-cta__btn:hover {
    box-shadow: 0 8px 24px rgba(255, 61, 0, 0.3);
}
[data-style="bold"] .fn-newsletter-cta__input {
    border-radius: 0;
    font-family: 'Barlow', sans-serif;
}

/* Footer — dark, bold */
[data-style="bold"] .fn-footer {
    border-top: 4px solid var(--fn-accent);
}

[data-style="bold"] .fn-footer__heading {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

[data-style="bold"] .fn-footer__about-text {
    font-family: 'Barlow', sans-serif;
}

[data-style="bold"] .fn-footer__tag {
    border-radius: 0;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.03em;
}

/* Comments */
[data-style="bold"] .fn-comment__author {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

[data-style="bold"] .fn-comment__body {
    font-family: 'Barlow', sans-serif;
}

/* Archive headers */
[data-style="bold"] .fn-archive-header {
    border-radius: 0;
    border-left: 5px solid var(--fn-accent);
}

[data-style="bold"] .fn-archive-header__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

[data-style="bold"] .fn-archive-header__desc {
    font-family: 'Barlow', sans-serif;
}

/* Back to top */
[data-style="bold"] .fn-back-to-top {
    border-radius: 0;
    background: var(--fn-accent);
}

[data-style="bold"] .fn-back-to-top:hover {
    background: var(--fn-accent-hover);
    box-shadow: 0 4px 16px rgba(255, 61, 0, 0.3);
}

/* Pagination */
[data-style="bold"] .fn-pagination a,
[data-style="bold"] .fn-pagination span {
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

/* Breadcrumbs */
[data-style="bold"] .fn-single__breadcrumbs {
    font-family: 'Barlow', sans-serif;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* TOC */
[data-style="bold"] .fn-toc {
    border-radius: 0;
    border-left: 4px solid var(--fn-accent);
}

[data-style="bold"] .fn-toc__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Tags */
[data-style="bold"] .fn-tag {
    border-radius: 0;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.04em;
}

/* Search overlay */
[data-style="bold"] .fn-search-overlay__input {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 4px solid var(--fn-accent);
}

/* 404 */
[data-style="bold"] .fn-404__title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

[data-style="bold"] .fn-404__heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

/* Featured image */
[data-style="bold"] .fn-single__featured {
    border-radius: 0;
}

[data-style="bold"] .fn-single__featured img {
    border-radius: 0;
}

/* Progress bar — accent color */
[data-style="bold"] .fn-progress__bar {
    background: var(--fn-accent);
}

/* Dark mode overrides for Bold */
[data-style="bold"][data-theme="dark"] {
    --fn-bg: #0a0a0a;
    --fn-bg-alt: #151515;
    --fn-bg-card: #151515;
    --fn-bg-dark: #000000;
    --fn-text: #f0f0f0;
    --fn-text-secondary: #999;
    --fn-accent: #ff5722;
    --fn-accent-hover: #ff3d00;
    --fn-accent-light: rgba(255, 87, 34, 0.1);
    --fn-link: #ff5722;
    --fn-link-hover: #ff3d00;
    --fn-border: #2a2a2a;
    --fn-border-dark: #3a3a3a;
}

[data-style="bold"][data-theme="dark"] .fn-card {
    border-left-color: var(--fn-accent);
}

/* ---------- Bold Polish ---------- */

/* Drop caps: Oswald, uppercase feel, vivid orange */
[data-style="bold"] .fn-content > p:first-of-type::first-letter {
    font-family: 'Oswald', sans-serif;
    font-size: 3.8em;
    color: var(--fn-accent);
    font-weight: 700;
    text-transform: uppercase;
}

[data-style="bold"] .fn-content blockquote::before {
    color: var(--fn-accent);
    opacity: 0.3;
    font-family: 'Oswald', sans-serif;
}

/* Section headers: bold full-width accent underline */
[data-style="bold"] .fn-section-header::after {
    width: 100%;
    height: 4px;
    background: var(--fn-accent);
}

/* Content headings: reduce all-caps harshness on h3/h4 */
[data-style="bold"] .fn-content h3,
[data-style="bold"] .fn-content h4 {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Tables: accent header, strong borders */
[data-style="bold"] .fn-content table {
    border: 2px solid var(--fn-text);
    border-radius: 0;
}

[data-style="bold"] .fn-content th {
    background: var(--fn-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Oswald', sans-serif;
}

/* Author box: sharp edges, accent top stripe */
[data-style="bold"] .fn-author-box {
    border-radius: 0;
    border-left: none;
    border-top: 4px solid var(--fn-accent);
}

/* Footer: thick accent top line */
[data-style="bold"] .fn-footer::before {
    height: 4px;
    background: var(--fn-accent);
}

/* Code blocks */
[data-style="bold"] .fn-content pre {
    border-radius: 0;
    border-left: 4px solid var(--fn-accent);
}

/* Hero polish */
[data-style="bold"] .fn-hero::after {
    height: 4px;
    background: var(--fn-accent);
}

/* Dark mode bold polish */
[data-style="bold"][data-theme="dark"] .fn-content blockquote {
    background: #0a0a0a;
    border-left-color: var(--fn-accent);
}

/* ==========================================================================
   34. Theme Style: Tech / Futuristic
   ========================================================================== */

[data-style="tech"] {
    /* Colors — dark, neon-accented */
    --fn-bg: #0d1117;
    --fn-bg-alt: #161b22;
    --fn-bg-card: #161b22;
    --fn-bg-dark: #010409;
    --fn-text: #c9d1d9;
    --fn-text-secondary: #8b949e;
    --fn-text-light: #6e7681;
    --fn-text-inverse: #c9d1d9;
    --fn-accent: #00d4ff;
    --fn-accent-hover: #00b8e6;
    --fn-accent-light: rgba(0, 212, 255, 0.08);
    --fn-link: #00d4ff;
    --fn-link-hover: #58e6ff;
    --fn-border: #21262d;
    --fn-border-dark: #30363d;
    --fn-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --fn-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    --fn-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --fn-shadow-lg: 0 8px 24px rgba(0, 212, 255, 0.08);
    --fn-shadow-xl: 0 16px 48px rgba(0, 212, 255, 0.12);
    --fn-overlay: rgba(1, 4, 9, 0.85);

    /* Typography — geometric + monospace accents */
    --fn-font-heading: 'Space Grotesk', system-ui, sans-serif;
    --fn-font-body: 'Space Grotesk', system-ui, sans-serif;
    --fn-font-mono: 'Space Mono', 'SF Mono', Consolas, monospace;

    /* Layout */
    --fn-radius-sm: 4px;
    --fn-radius-md: 6px;
    --fn-radius: 6px;
    --fn-radius-lg: 8px;
    --fn-radius-xl: 12px;
    --fn-radius-full: 9999px;
}

/* Header — dark with neon accent line */
[data-style="tech"] .fn-header {
    background: rgba(1, 4, 9, 0.95);
    border-bottom: 1px solid #21262d;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-style="tech"] .fn-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fn-accent), transparent);
    opacity: 0.6;
}

[data-style="tech"] .fn-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

[data-style="tech"] .fn-logo__accent {
    color: var(--fn-accent);
}

/* Nav */
[data-style="tech"] .fn-nav__menu a {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.08em;
    font-weight: 500;
}

[data-style="tech"] .fn-nav__menu a:hover,
[data-style="tech"] .fn-nav__menu .current-menu-item > a {
    color: var(--fn-accent);
    background: rgba(0, 212, 255, 0.06);
}

/* Ticker — terminal feel */
[data-style="tech"] .fn-ticker {
    background: #010409;
    border-bottom: 1px solid #21262d;
}

[data-style="tech"] .fn-ticker__label {
    background: var(--fn-accent);
    color: #010409;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

[data-style="tech"] .fn-ticker__label-dot {
    background: #010409;
}

[data-style="tech"] .fn-ticker__item a {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    color: #8b949e;
}

[data-style="tech"] .fn-ticker__item a:hover {
    color: var(--fn-accent);
}

/* Hero — glassy overlay */
[data-style="tech"] .fn-hero__main {
    border: 1px solid #21262d;
}

[data-style="tech"] .fn-hero__main-content {
    background: linear-gradient(to top, rgba(1, 4, 9, 0.95) 0%, rgba(1, 4, 9, 0.7) 100%);
}

[data-style="tech"] .fn-hero__main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

[data-style="tech"] .fn-hero__main-excerpt {
    color: #8b949e;
    font-family: 'Space Grotesk', sans-serif;
}

[data-style="tech"] .fn-hero__main-meta {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

[data-style="tech"] .fn-hero__side-card {
    border: 1px solid #21262d;
}

[data-style="tech"] .fn-hero__side-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

[data-style="tech"] .fn-hero__side-meta {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    color: #6e7681;
}

/* Category badges — monospace, cyan outline pill */
[data-style="tech"] .fn-category-badge {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--fn-radius-full);
    border: 1px solid rgba(0, 212, 255, 0.15);
    background: rgba(0, 212, 255, 0.06);
    color: var(--fn-accent);
}

/* Cards — bordered, glow + scan-line on hover */
[data-style="tech"] .fn-card {
    border: 1px solid #21262d;
    box-shadow: none;
    background: var(--fn-bg-card);
    position: relative;
    overflow: hidden;
}

[data-style="tech"] .fn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fn-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

[data-style="tech"] .fn-card:hover::before {
    opacity: 1;
}

[data-style="tech"] .fn-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

[data-style="tech"] .fn-card:hover .fn-card__image img {
    transform: scale(1.03);
}

[data-style="tech"] .fn-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

[data-style="tech"] .fn-card__excerpt {
    color: #8b949e;
}

[data-style="tech"] .fn-card__meta {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6e7681;
}

/* Section header */
[data-style="tech"] .fn-section-title {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: var(--fn-text-base);
}

[data-style="tech"] .fn-section-header {
    border-bottom: 1px solid #21262d;
}

/* Load more — neon bordered */
[data-style="tech"] .fn-load-more__btn {
    background: transparent;
    color: var(--fn-accent);
    border: 1px solid var(--fn-accent);
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--fn-text-xs);
}

[data-style="tech"] .fn-load-more__btn:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

/* Single post */
[data-style="tech"] .fn-single__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

[data-style="tech"] .fn-single__meta {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6e7681;
    border-top: 1px solid #21262d;
    border-bottom: 1px solid #21262d;
}

[data-style="tech"] .fn-single__breadcrumbs {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.04em;
    color: #6e7681;
}

/* Article content */
[data-style="tech"] .fn-content {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.8;
    color: #c9d1d9;
}

[data-style="tech"] .fn-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    border-bottom: 1px solid #21262d;
}

[data-style="tech"] .fn-content h3,
[data-style="tech"] .fn-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

[data-style="tech"] .fn-content a {
    color: var(--fn-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

[data-style="tech"] .fn-content a:hover {
    border-bottom-color: var(--fn-accent);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

[data-style="tech"] .fn-content blockquote {
    border-left: 3px solid var(--fn-accent);
    background: #0d1117;
    border-radius: 0 var(--fn-radius) var(--fn-radius) 0;
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    color: #c9d1d9;
}

[data-style="tech"] .fn-content blockquote cite {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6e7681;
}

[data-style="tech"] .fn-content pre {
    background: #010409;
    border: 1px solid #21262d;
}

[data-style="tech"] .fn-content code {
    font-family: 'Space Mono', monospace;
    background: #161b22;
    color: var(--fn-accent);
    border: 1px solid #21262d;
}

/* Share buttons */
[data-style="tech"] .fn-share__label {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--fn-text-xs);
}

[data-style="tech"] .fn-share__btn {
    border: 1px solid #21262d;
    background: #161b22;
}

[data-style="tech"] .fn-share__btn:hover {
    border-color: var(--fn-accent);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

/* Author box */
[data-style="tech"] .fn-author-box {
    border: 1px solid #21262d;
    background: #161b22;
}

[data-style="tech"] .fn-author-box__name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* Related posts */
[data-style="tech"] .fn-related__title {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Post navigation */
[data-style="tech"] .fn-post-nav__card {
    border: 1px solid #21262d;
    background: #161b22;
}

[data-style="tech"] .fn-post-nav__card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.08);
}

[data-style="tech"] .fn-post-nav__label {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--fn-text-xs);
}

[data-style="tech"] .fn-post-nav__title {
    font-family: 'Space Grotesk', sans-serif;
}

/* Newsletter */
[data-style="tech"] .fn-newsletter {
    background: #010409;
    border-top: 1px solid #21262d;
    border-bottom: 1px solid #21262d;
}

[data-style="tech"] .fn-newsletter__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

[data-style="tech"] .fn-newsletter__desc {
    color: #8b949e;
}

[data-style="tech"] .fn-newsletter__input {
    background: #161b22;
    border: 1px solid #21262d;
    color: #c9d1d9;
}

[data-style="tech"] .fn-newsletter__input:focus {
    border-color: var(--fn-accent);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}

[data-style="tech"] .fn-newsletter__btn {
    background: var(--fn-accent);
    color: #010409;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--fn-text-xs);
}

[data-style="tech"] .fn-newsletter__btn:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Stats Bar — tech */
[data-style="tech"] .fn-stats-bar {
    background: #010409;
    border-bottom: 1px solid #21262d;
    border-top: 1px solid #21262d;
}
[data-style="tech"] .fn-stats-bar__number {
    font-family: 'Space Mono', monospace;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}
[data-style="tech"] .fn-stats-bar__label {
    font-family: 'Space Grotesk', sans-serif;
    color: #8b949e;
}
[data-style="tech"] .fn-stats-bar__divider {
    background: #21262d;
}

/* Newsletter CTA — tech */
[data-style="tech"] .fn-newsletter-cta__inner {
    background: #010409;
    border: 1px solid #21262d;
    border-radius: var(--fn-radius-sm);
}
[data-style="tech"] .fn-newsletter-cta__title {
    font-family: 'Space Grotesk', sans-serif;
}
[data-style="tech"] .fn-newsletter-cta__desc {
    color: #8b949e;
}
[data-style="tech"] .fn-newsletter-cta__input {
    background: #161b22;
    border: 1px solid #21262d;
    color: #c9d1d9;
}
[data-style="tech"] .fn-newsletter-cta__input:focus {
    border-color: var(--fn-accent);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}
[data-style="tech"] .fn-newsletter-cta__btn {
    background: var(--fn-accent);
    color: #010409;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--fn-text-xs);
}
[data-style="tech"] .fn-newsletter-cta__btn:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Footer */
[data-style="tech"] .fn-footer {
    background: #010409;
    border-top: 1px solid #21262d;
}

[data-style="tech"] .fn-footer::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fn-accent), transparent);
    opacity: 0.4;
}

[data-style="tech"] .fn-footer__heading {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

[data-style="tech"] .fn-footer__tag {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    border: 1px solid #21262d;
    background: #161b22;
}

[data-style="tech"] .fn-footer__tag:hover {
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

/* Archive headers */
[data-style="tech"] .fn-archive-header {
    border: 1px solid #21262d;
    background: #161b22;
}

[data-style="tech"] .fn-archive-header__title {
    font-family: 'Space Grotesk', sans-serif;
}

/* Back to top */
[data-style="tech"] .fn-back-to-top {
    background: #161b22;
    border: 1px solid #21262d;
}

[data-style="tech"] .fn-back-to-top:hover {
    border-color: var(--fn-accent);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}

/* Pagination */
[data-style="tech"] .fn-pagination a,
[data-style="tech"] .fn-pagination span {
    font-family: 'Space Mono', monospace;
    border: 1px solid #21262d;
    background: #161b22;
}

[data-style="tech"] .fn-pagination a:hover,
[data-style="tech"] .fn-pagination span.current {
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

/* TOC */
[data-style="tech"] .fn-toc {
    border: 1px solid #21262d;
    background: #161b22;
}

[data-style="tech"] .fn-toc__title {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Tags */
[data-style="tech"] .fn-tag {
    font-family: 'Space Mono', monospace;
    font-size: var(--fn-text-xs);
    border: 1px solid #21262d;
    background: #161b22;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

[data-style="tech"] .fn-tag:hover {
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

/* Search overlay */
[data-style="tech"] .fn-search-overlay {
    background: rgba(1, 4, 9, 0.95);
    backdrop-filter: blur(20px);
}

[data-style="tech"] .fn-search-overlay__input {
    font-family: 'Space Grotesk', sans-serif;
    color: #c9d1d9;
    border-bottom: 2px solid #21262d;
}

[data-style="tech"] .fn-search-overlay__input:focus {
    border-bottom-color: var(--fn-accent);
}

/* 404 */
[data-style="tech"] .fn-404__title {
    font-family: 'Space Mono', monospace;
    color: var(--fn-accent);
}

[data-style="tech"] .fn-404__heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* Comments */
[data-style="tech"] .fn-comment__author {
    font-family: 'Space Grotesk', sans-serif;
}

[data-style="tech"] .fn-comment__body {
    font-family: 'Space Grotesk', sans-serif;
}

/* Progress bar */
[data-style="tech"] .fn-progress__bar {
    background: linear-gradient(90deg, var(--fn-accent), #58e6ff);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

/* Dark mode overrides for Tech (already dark by default, just lighten for "light" alternative) */
[data-style="tech"][data-theme="dark"] {
    --fn-bg: #010409;
    --fn-bg-alt: #0d1117;
    --fn-bg-card: #0d1117;
}

/* ---------- Tech Polish ---------- */

/* Drop caps: Space Grotesk, cyan, subtle glow */
[data-style="tech"] .fn-content > p:first-of-type::first-letter {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--fn-accent);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Cards: border glow on hover */
[data-style="tech"] .fn-card {
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-top-color: rgba(0, 212, 255, 0.15);
}

[data-style="tech"] .fn-card:hover {
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.08), 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Blockquote: cyan glow border, darker bg */
[data-style="tech"] .fn-content blockquote {
    background: rgba(0, 212, 255, 0.03);
    border-left: 3px solid var(--fn-accent);
    border-radius: 0;
    box-shadow: -2px 0 12px rgba(0, 212, 255, 0.06);
}

[data-style="tech"] .fn-content blockquote::before {
    color: var(--fn-accent);
    opacity: 0.15;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Section headers: neon underline with glow */
[data-style="tech"] .fn-section-header {
    border-bottom-color: rgba(0, 212, 255, 0.1);
}

[data-style="tech"] .fn-section-header::after {
    background: var(--fn-accent);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
    width: 60px;
}

/* Content headings: cyan accent, glow on hover */
[data-style="tech"] .fn-content h2 {
    color: var(--fn-accent);
    border-bottom-color: rgba(0, 212, 255, 0.15);
}

[data-style="tech"] .fn-content h3 {
    color: #58e6ff;
}

/* Content links: glow on hover */
[data-style="tech"] .fn-content a {
    background-image: linear-gradient(var(--fn-accent), var(--fn-accent));
}

[data-style="tech"] .fn-content a:hover {
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

/* Code blocks: cyan border, terminal prompt */
[data-style="tech"] .fn-content pre {
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 4px;
    background: #010409;
}

[data-style="tech"] .fn-content pre::before {
    content: 'TERMINAL';
    color: var(--fn-accent);
    background: rgba(0, 212, 255, 0.05);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 0;
    right: auto;
    left: 0;
    top: 0;
    border-radius: 4px 0 4px 0;
}

/* Tables: dark header, cyan text */
[data-style="tech"] .fn-content th {
    background: #010409;
    color: var(--fn-accent);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

[data-style="tech"] .fn-content table {
    border-color: rgba(0, 212, 255, 0.1);
}

[data-style="tech"] .fn-content td {
    border-top-color: rgba(0, 212, 255, 0.06);
}

/* Author box: cyan accent border with glow */
[data-style="tech"] .fn-author-box {
    border-left-color: var(--fn-accent);
    border-color: rgba(0, 212, 255, 0.1);
    background: rgba(0, 212, 255, 0.02);
    box-shadow: -2px 0 12px rgba(0, 212, 255, 0.04);
}

/* Footer: neon gradient top line */
[data-style="tech"] .fn-footer::before {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fn-accent), transparent);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Hero: glow effect */
[data-style="tech"] .fn-hero::after {
    height: 2px;
    background: linear-gradient(90deg, var(--fn-accent), transparent);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

/* Image desaturation override (already dark aesthetic) */
[data-style="tech"] .fn-card .fn-card__image img {
    filter: saturate(0.8) brightness(0.95);
}

[data-style="tech"] .fn-card:hover .fn-card__image img {
    filter: saturate(1) brightness(1);
}

/* ==========================================================================
   35. Theme Style: Minimal / Editorial
   ========================================================================== */

[data-style="minimal"] {
    /* Colors — muted, lots of white, understated */
    --fn-bg: #fcfcfc;
    --fn-bg-alt: #f6f6f6;
    --fn-bg-card: #ffffff;
    --fn-bg-dark: #1a1a1a;
    --fn-text: #333333;
    --fn-text-secondary: #777777;
    --fn-text-light: #aaaaaa;
    --fn-accent: #0d7377;
    --fn-accent-hover: #0a5c5f;
    --fn-accent-light: rgba(13, 115, 119, 0.06);
    --fn-link: #0d7377;
    --fn-link-hover: #0a5c5f;
    --fn-border: #ebebeb;
    --fn-border-dark: #dddddd;
    --fn-shadow-sm: none;
    --fn-shadow: none;
    --fn-shadow-md: none;
    --fn-shadow-lg: 0 1px 4px rgba(0, 0, 0, 0.04);
    --fn-shadow-xl: 0 2px 8px rgba(0, 0, 0, 0.06);

    /* Typography — elegant serif + clean sans */
    --fn-font-heading: 'Cormorant Garamond', Georgia, serif;
    --fn-font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

    /* Layout — generous, airy */
    --fn-radius-sm: 0px;
    --fn-radius-md: 0px;
    --fn-radius: 0px;
    --fn-radius-lg: 0px;
    --fn-radius-xl: 0px;
    --fn-radius-full: 9999px;
    --fn-space-xl: 2.5rem;
    --fn-space-2xl: 4rem;
}

/* Header — clean, white, understated */
[data-style="minimal"] .fn-header {
    background: #ffffff;
    border-bottom: 1px solid var(--fn-border);
}

[data-style="minimal"] .fn-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-2xl);
    color: var(--fn-text);
    letter-spacing: 0;
}

[data-style="minimal"] .fn-logo__accent {
    font-weight: 400;
    font-style: italic;
}

[data-style="minimal"] .fn-header__btn,
[data-style="minimal"] .fn-dark-toggle {
    color: var(--fn-text);
}

[data-style="minimal"] .fn-mobile-toggle span {
    background: var(--fn-text);
}

/* Nav — minimal, lowercase */
[data-style="minimal"] .fn-nav__menu a {
    font-family: 'Source Sans 3', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: var(--fn-text-base);
    color: var(--fn-text);
}

[data-style="minimal"] .fn-nav__menu a:hover,
[data-style="minimal"] .fn-nav__menu .current-menu-item > a {
    color: var(--fn-accent);
    background: none;
}

/* Ticker — subtle, thin */
[data-style="minimal"] .fn-ticker {
    background: #f6f6f6;
    border-bottom: 1px solid var(--fn-border);
}

[data-style="minimal"] .fn-ticker__label {
    background: var(--fn-accent);
    font-family: 'Source Sans 3', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

[data-style="minimal"] .fn-ticker__item a {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--fn-text);
    font-weight: 400;
}

/* Hero — clean, typographic */
[data-style="minimal"] .fn-hero {
    padding: var(--fn-space-xl) 0 var(--fn-space-2xl);
}

[data-style="minimal"] .fn-hero__main-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-5xl);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

[data-style="minimal"] .fn-hero__main-excerpt {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    color: var(--fn-text-secondary);
    line-height: 1.7;
}

[data-style="minimal"] .fn-hero__main-meta {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: var(--fn-text-sm);
    color: var(--fn-text-light);
}

[data-style="minimal"] .fn-hero__side-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-lg);
}

[data-style="minimal"] .fn-hero__side-card {
    border-radius: 0;
}

/* Category badges — neutral gray, ignores category color */
[data-style="minimal"] .fn-category-badge {
    border-radius: 0;
    font-family: 'Source Sans 3', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.14em;
    font-weight: 600;
    padding: 0;
    color: var(--fn-text-light) !important;
}

/* Cards — borderless, typography-only, thin bottom rule */
[data-style="minimal"] .fn-card {
    border: none;
    box-shadow: none;
    background: transparent;
    border-bottom: 1px solid var(--fn-border);
    border-radius: 0;
    padding-bottom: var(--fn-space-lg);
}

[data-style="minimal"] .fn-card:hover {
    box-shadow: none;
    transform: none;
}

[data-style="minimal"] .fn-card:hover .fn-card__image img {
    transform: none;
    opacity: 0.9;
}

[data-style="minimal"] .fn-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-2xl);
    line-height: 1.25;
}

[data-style="minimal"] .fn-card__excerpt {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    color: var(--fn-text-secondary);
    line-height: 1.7;
}

[data-style="minimal"] .fn-card__meta {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--fn-text-light);
}

[data-style="minimal"] .fn-card__image {
    border-radius: 0;
    aspect-ratio: 2/1;
}

[data-style="minimal"] .fn-card:hover .fn-card__title a {
    color: var(--fn-accent);
}

/* Section header — just text, no decoration, italic serif */
[data-style="minimal"] .fn-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--fn-text-3xl);
}

[data-style="minimal"] .fn-section-header {
    border-bottom: 1px solid var(--fn-border);
    margin-bottom: var(--fn-space-2xl);
    padding-bottom: var(--fn-space-md);
}

/* Load more — ghost button */
[data-style="minimal"] .fn-load-more__btn {
    background: transparent;
    color: var(--fn-text);
    border: 1px solid var(--fn-border-dark);
    font-family: 'Source Sans 3', sans-serif;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
    border-radius: 0;
}

[data-style="minimal"] .fn-load-more__btn:hover {
    background: var(--fn-text);
    color: var(--fn-bg);
    transform: none;
    box-shadow: none;
}

/* Single post — maximum reading comfort */
[data-style="minimal"] .fn-single__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2rem, 1.8rem + 2vw, 3.2rem);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

[data-style="minimal"] .fn-single__meta {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: var(--fn-text-sm);
    border-top: 1px solid var(--fn-border);
    border-bottom: 1px solid var(--fn-border);
    color: var(--fn-text-light);
}

[data-style="minimal"] .fn-single__breadcrumbs {
    font-family: 'Source Sans 3', sans-serif;
    font-size: var(--fn-text-sm);
    color: var(--fn-text-light);
}

/* Content — clean, airy prose */
[data-style="minimal"] .fn-content {
    font-family: 'Source Sans 3', sans-serif;
    font-size: var(--fn-article-font-size, 1.15rem);
    line-height: 1.9;
    font-weight: 300;
}

[data-style="minimal"] .fn-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    border-bottom: none;
    margin-top: var(--fn-space-2xl);
}

[data-style="minimal"] .fn-content h3,
[data-style="minimal"] .fn-content h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
}

[data-style="minimal"] .fn-content a {
    color: var(--fn-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(13, 115, 119, 0.3);
}

[data-style="minimal"] .fn-content a:hover {
    text-decoration-color: var(--fn-accent);
}

[data-style="minimal"] .fn-content blockquote {
    border-left: 2px solid var(--fn-border-dark);
    background: transparent;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--fn-text-2xl);
    font-style: italic;
    color: var(--fn-text-secondary);
    padding: var(--fn-space-md) var(--fn-space-xl);
    border-radius: 0;
}

[data-style="minimal"] .fn-content blockquote cite {
    font-family: 'Source Sans 3', sans-serif;
    font-size: var(--fn-text-sm);
    font-weight: 400;
}

[data-style="minimal"] .fn-content img {
    border-radius: 0;
}

/* Share buttons — small, discrete */
[data-style="minimal"] .fn-share__label {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    text-transform: none;
}

[data-style="minimal"] .fn-share__btn {
    border-radius: var(--fn-radius-full);
    border: 1px solid var(--fn-border);
    background: transparent;
}

[data-style="minimal"] .fn-share__btn:hover {
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

/* Author box — subtle */
[data-style="minimal"] .fn-author-box {
    border: none;
    border-top: 1px solid var(--fn-border);
    border-bottom: 1px solid var(--fn-border);
    border-radius: 0;
    background: transparent;
}

[data-style="minimal"] .fn-author-box__name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-xl);
}

[data-style="minimal"] .fn-author-box__bio {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
}

/* Related posts */
[data-style="minimal"] .fn-related__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-2xl);
}

/* Post navigation */
[data-style="minimal"] .fn-post-nav__card {
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--fn-border);
    background: transparent;
}

[data-style="minimal"] .fn-post-nav__label {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    text-transform: none;
}

[data-style="minimal"] .fn-post-nav__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
}

/* Newsletter — soft, inviting */
[data-style="minimal"] .fn-newsletter {
    background: #f6f6f6;
    border-top: 1px solid var(--fn-border);
}

[data-style="minimal"] .fn-newsletter__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-3xl);
    color: var(--fn-text);
}

[data-style="minimal"] .fn-newsletter__desc {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    color: var(--fn-text-secondary);
}

[data-style="minimal"] .fn-newsletter__input {
    border: 1px solid var(--fn-border-dark);
    border-radius: 0;
    background: #fff;
}

[data-style="minimal"] .fn-newsletter__btn {
    background: var(--fn-text);
    color: #fff;
    border-radius: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
}

[data-style="minimal"] .fn-newsletter__btn:hover {
    background: var(--fn-accent);
}

/* Stats Bar — minimal */
[data-style="minimal"] .fn-stats-bar {
    border-bottom: 1px solid var(--fn-border);
    background: transparent;
}
[data-style="minimal"] .fn-stats-bar__number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    color: var(--fn-text);
}
[data-style="minimal"] .fn-stats-bar__label {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
}

/* Newsletter CTA — minimal */
[data-style="minimal"] .fn-newsletter-cta__inner {
    background: #f6f6f6;
    border: 1px solid var(--fn-border);
    border-radius: 0;
}
[data-style="minimal"] .fn-newsletter-cta__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    color: var(--fn-text);
}
[data-style="minimal"] .fn-newsletter-cta__desc {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    color: var(--fn-text-secondary);
}
[data-style="minimal"] .fn-newsletter-cta__input {
    border: 1px solid var(--fn-border-dark);
    border-radius: 0;
    background: #fff;
    color: var(--fn-text);
}
[data-style="minimal"] .fn-newsletter-cta__input::placeholder {
    color: var(--fn-text-light);
}
[data-style="minimal"] .fn-newsletter-cta__btn {
    background: var(--fn-text);
    color: #fff;
    border-radius: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
}
[data-style="minimal"] .fn-newsletter-cta__btn:hover {
    background: var(--fn-accent);
}

/* Footer */
[data-style="minimal"] .fn-footer {
    background: #ffffff;
    border-top: 1px solid var(--fn-border);
    color: var(--fn-text);
}

[data-style="minimal"] .fn-footer a {
    color: var(--fn-text-secondary);
}

[data-style="minimal"] .fn-footer a:hover {
    color: var(--fn-accent);
}

[data-style="minimal"] .fn-footer__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: var(--fn-text-xl);
    color: var(--fn-text);
}

[data-style="minimal"] .fn-footer__about-text {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    color: var(--fn-text-secondary);
}

[data-style="minimal"] .fn-footer__tag {
    border: 1px solid var(--fn-border);
    background: transparent;
    border-radius: var(--fn-radius-full);
    color: var(--fn-text-secondary);
}

[data-style="minimal"] .fn-footer__tag:hover {
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

[data-style="minimal"] .fn-footer__bottom {
    border-top: 1px solid var(--fn-border);
    color: var(--fn-text-light);
}

/* Comments */
[data-style="minimal"] .fn-comment__author {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
}

[data-style="minimal"] .fn-comment__body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
}

/* Archive headers */
[data-style="minimal"] .fn-archive-header {
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid var(--fn-border);
}

[data-style="minimal"] .fn-archive-header__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    color: var(--fn-text);
}

/* Back to top */
[data-style="minimal"] .fn-back-to-top {
    border-radius: var(--fn-radius-full);
    background: var(--fn-text);
    border: none;
}

/* Pagination */
[data-style="minimal"] .fn-pagination a,
[data-style="minimal"] .fn-pagination span {
    font-family: 'Source Sans 3', sans-serif;
    border-radius: 0;
}

/* TOC */
[data-style="minimal"] .fn-toc {
    border: 1px solid var(--fn-border);
    border-radius: 0;
    background: transparent;
}

[data-style="minimal"] .fn-toc__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
}

/* Tags */
[data-style="minimal"] .fn-tag {
    border: 1px solid var(--fn-border);
    background: transparent;
    border-radius: var(--fn-radius-full);
}

[data-style="minimal"] .fn-tag:hover {
    border-color: var(--fn-accent);
    color: var(--fn-accent);
}

/* Search overlay */
[data-style="minimal"] .fn-search-overlay__input {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: var(--fn-text-4xl);
}

/* 404 */
[data-style="minimal"] .fn-404__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
}

[data-style="minimal"] .fn-404__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
}

/* Dark mode overrides for Minimal */
[data-style="minimal"][data-theme="dark"] {
    --fn-bg: #1a1a1a;
    --fn-bg-alt: #222222;
    --fn-bg-card: #222222;
    --fn-bg-dark: #111111;
    --fn-text: #e0e0e0;
    --fn-text-secondary: #999999;
    --fn-text-light: #666666;
    --fn-accent: #2fa5a8;
    --fn-accent-hover: #1d8b8e;
    --fn-accent-light: rgba(47, 165, 168, 0.08);
    --fn-link: #2fa5a8;
    --fn-link-hover: #1d8b8e;
    --fn-border: #333333;
    --fn-border-dark: #444444;
}

[data-style="minimal"][data-theme="dark"] .fn-header {
    background: #1a1a1a;
}

[data-style="minimal"][data-theme="dark"] .fn-footer {
    background: #1a1a1a;
    color: #e0e0e0;
}

[data-style="minimal"][data-theme="dark"] .fn-newsletter {
    background: #222222;
}

[data-style="minimal"][data-theme="dark"] .fn-stats-bar {
    border-color: var(--fn-border);
}

[data-style="minimal"][data-theme="dark"] .fn-newsletter-cta__inner {
    background: #222222;
    border-color: var(--fn-border);
}
[data-style="minimal"][data-theme="dark"] .fn-newsletter-cta__input {
    background: #1a1a1a;
    border-color: var(--fn-border);
    color: var(--fn-text);
}

/* ---------- Minimal Polish ---------- */

/* Drop caps: Cormorant Garamond, large, thin weight, teal */
[data-style="minimal"] .fn-content > p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4.5em;
    font-weight: 300;
    color: var(--fn-accent);
    padding-top: 6px;
}

/* Cards: borderless, transparent bg, subtle bottom rule */
[data-style="minimal"] .fn-card {
    border-top: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--fn-border);
}

[data-style="minimal"] .fn-card:hover {
    box-shadow: none;
    transform: none;
}

[data-style="minimal"] .fn-card:hover .fn-card__title a {
    color: var(--fn-accent);
}

[data-style="minimal"] .fn-card__title {
    font-size: var(--fn-text-2xl);
}

[data-style="minimal"] .fn-card__excerpt {
    font-size: var(--fn-text-xs);
    opacity: 0.7;
}

/* Blockquote: no background, thin border, larger quote mark */
[data-style="minimal"] .fn-content blockquote {
    background: transparent;
    border-left: 1px solid var(--fn-accent);
    border-radius: 0;
    padding: var(--fn-space-lg) var(--fn-space-xl);
}

[data-style="minimal"] .fn-content blockquote::before {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 5rem;
    color: var(--fn-accent);
    opacity: 0.12;
}

/* Section headers: thin 1px rule, generous margin */
[data-style="minimal"] .fn-section-header {
    border-bottom: 1px solid var(--fn-border);
    margin-bottom: var(--fn-space-2xl);
    padding-bottom: var(--fn-space-lg);
}

[data-style="minimal"] .fn-section-header::after {
    display: none;
}

[data-style="minimal"] .fn-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: var(--fn-text-3xl);
    letter-spacing: -0.02em;
}

/* Content: increased line-height, lighter weight */
[data-style="minimal"] .fn-content {
    line-height: 2.0;
    font-weight: 300;
}

/* Content headings: Cormorant, larger, no borders */
[data-style="minimal"] .fn-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--fn-text-4xl);
    border-bottom: none;
    font-weight: 600;
}

[data-style="minimal"] .fn-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--fn-text-2xl);
    font-weight: 600;
}

/* Content links: teal with subtle underline */
[data-style="minimal"] .fn-content a {
    background-image: linear-gradient(var(--fn-accent), var(--fn-accent));
    background-size: 100% 1px;
    opacity: 1;
}

[data-style="minimal"] .fn-content a:hover {
    background-size: 100% 2px;
}

/* Tables: borderless, alternating rows only */
[data-style="minimal"] .fn-content table {
    border: none;
    border-radius: 0;
}

[data-style="minimal"] .fn-content th {
    background: transparent;
    color: var(--fn-text);
    font-weight: 600;
    border-bottom: 2px solid var(--fn-border);
    text-transform: uppercase;
    font-size: var(--fn-text-xs);
    letter-spacing: 0.06em;
}

[data-style="minimal"] .fn-content td {
    border-top-color: var(--fn-border);
}

/* Author box: no border, no bg, subtle top rule */
[data-style="minimal"] .fn-author-box {
    border: none;
    border-left: none;
    border-top: 1px solid var(--fn-border);
    background: transparent;
    border-radius: 0;
}

/* Newsletter: ghost-style (transparent bg, thin border) */
[data-style="minimal"] .fn-newsletter {
    background: transparent;
    border: 1px solid var(--fn-border);
}

/* Hero: increase title size, reduce excerpt */
[data-style="minimal"] .fn-hero__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

[data-style="minimal"] .fn-hero__main-excerpt {
    opacity: 0.6;
    font-size: var(--fn-text-sm);
}

/* Footer: clean, minimal top line */
[data-style="minimal"] .fn-footer::before {
    height: 1px;
    background: var(--fn-border);
}

/* Card image: no saturation effect */
[data-style="minimal"] .fn-card .fn-card__image img {
    filter: none;
}

/* Code blocks */
[data-style="minimal"] .fn-content pre {
    background: #f6f6f6;
    color: #333;
    border-radius: 0;
}

[data-style="minimal"] .fn-content pre::before {
    color: var(--fn-text-light);
}

/* Dark mode minimal polish */
[data-style="minimal"][data-theme="dark"] .fn-card {
    border-bottom-color: var(--fn-border);
}

[data-style="minimal"][data-theme="dark"] .fn-content pre {
    background: #111;
    color: #ccc;
}

/* ==========================================================================
   36. Theme Style: Vibrant / Playful
   ========================================================================== */

[data-style="vibrant"] {
    /* Colors — warm, colorful, cheerful */
    --fn-bg: #fffbf7;
    --fn-bg-alt: #fff5ed;
    --fn-bg-card: #ffffff;
    --fn-bg-dark: #2d1b69;
    --fn-text: #2d2d2d;
    --fn-text-secondary: #666666;
    --fn-text-light: #999999;
    --fn-accent: #ff6b6b;
    --fn-accent-hover: #ee5a5a;
    --fn-accent-light: rgba(255, 107, 107, 0.1);
    --fn-link: #845ef7;
    --fn-link-hover: #7048e8;
    --fn-border: #f0e6dc;
    --fn-border-dark: #e5d8cc;
    --fn-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --fn-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --fn-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.07);
    --fn-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --fn-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);

    /* Typography — rounded, friendly */
    --fn-font-heading: 'Nunito', system-ui, sans-serif;
    --fn-font-body: 'DM Sans', system-ui, sans-serif;

    /* Layout — extra rounded */
    --fn-radius-sm: 8px;
    --fn-radius-md: 10px;
    --fn-radius: 12px;
    --fn-radius-lg: 16px;
    --fn-radius-xl: 24px;
    --fn-radius-full: 9999px;

    /* Transitions — bouncy */
    --fn-transition: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    --fn-transition-slow: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Header — gradient, fun */
[data-style="vibrant"] .fn-header {
    background: linear-gradient(135deg, #2d1b69, #5b2d8e);
    border-bottom: none;
}

[data-style="vibrant"] .fn-logo {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: var(--fn-text-xl);
}

[data-style="vibrant"] .fn-logo__accent {
    color: #ffd43b;
}

/* Nav — rounded, playful */
[data-style="vibrant"] .fn-nav__menu a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: var(--fn-text-sm);
    text-transform: none;
    letter-spacing: 0;
    border-radius: var(--fn-radius-full);
}

[data-style="vibrant"] .fn-nav__menu a:hover,
[data-style="vibrant"] .fn-nav__menu .current-menu-item > a {
    background: rgba(255, 255, 255, 0.15);
}

/* Ticker — colorful gradient */
[data-style="vibrant"] .fn-ticker {
    background: linear-gradient(90deg, #ff6b6b, #845ef7);
}

[data-style="vibrant"] .fn-ticker__label {
    background: rgba(0, 0, 0, 0.2);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: var(--fn-radius-full);
    margin: 4px 8px;
    padding: 2px 12px;
}

[data-style="vibrant"] .fn-ticker__item a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

/* Hero */
[data-style="vibrant"] .fn-hero__main {
    border-radius: var(--fn-radius-xl);
    overflow: hidden;
}

[data-style="vibrant"] .fn-hero__main-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

[data-style="vibrant"] .fn-hero__main-excerpt {
    font-family: 'DM Sans', sans-serif;
}

[data-style="vibrant"] .fn-hero__side-card {
    border-radius: var(--fn-radius-lg);
}

[data-style="vibrant"] .fn-hero__side-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

/* Category badges — pill, vibrant */
[data-style="vibrant"] .fn-category-badge {
    border-radius: var(--fn-radius-full);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 4px 12px;
}

/* Cards — colored tints, bouncy hover, gradient top border */
[data-style="vibrant"] .fn-card {
    border-radius: var(--fn-radius-lg);
    border: none;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #a78bfa) 1;
    box-shadow: var(--fn-shadow-sm);
    overflow: hidden;
}

[data-style="vibrant"] .fn-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: var(--fn-shadow-xl);
}

[data-style="vibrant"] .fn-card:hover .fn-card__image img {
    transform: scale(1.06);
    filter: saturate(1.15);
}

[data-style="vibrant"] .fn-card__image {
    border-radius: var(--fn-radius-lg) var(--fn-radius-lg) 0 0;
}

[data-style="vibrant"] .fn-card__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

[data-style="vibrant"] .fn-card__excerpt {
    font-family: 'DM Sans', sans-serif;
}

[data-style="vibrant"] .fn-card__meta {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

/* Alternating card tints */
[data-style="vibrant"] .fn-posts-grid .fn-card:nth-child(4n+1) .fn-card__body {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.04), transparent);
}
[data-style="vibrant"] .fn-posts-grid .fn-card:nth-child(4n+2) .fn-card__body {
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.04), transparent);
}
[data-style="vibrant"] .fn-posts-grid .fn-card:nth-child(4n+3) .fn-card__body {
    background: linear-gradient(135deg, rgba(132, 94, 247, 0.04), transparent);
}
[data-style="vibrant"] .fn-posts-grid .fn-card:nth-child(4n) .fn-card__body {
    background: linear-gradient(135deg, rgba(255, 212, 59, 0.06), transparent);
}

/* Section header — gradient text */
[data-style="vibrant"] .fn-section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ff6b6b, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-style="vibrant"] .fn-section-header {
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #845ef7, #20c997) 1;
    padding-bottom: var(--fn-space-md);
}

/* Load more — gradient pill */
[data-style="vibrant"] .fn-load-more__btn {
    background: linear-gradient(135deg, #ff6b6b, #845ef7);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-radius: var(--fn-radius-full);
    padding: var(--fn-space-md) var(--fn-space-2xl);
    text-transform: none;
    letter-spacing: 0;
}

[data-style="vibrant"] .fn-load-more__btn:hover {
    background: linear-gradient(135deg, #ee5a5a, #7048e8);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(132, 94, 247, 0.25);
}

/* Single post */
[data-style="vibrant"] .fn-single__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

[data-style="vibrant"] .fn-single__meta {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #845ef7) 1;
}

[data-style="vibrant"] .fn-single__breadcrumbs {
    font-family: 'DM Sans', sans-serif;
}

/* Content */
[data-style="vibrant"] .fn-content {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.8;
}

[data-style="vibrant"] .fn-content h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    border-bottom: none;
    color: #845ef7;
}

[data-style="vibrant"] .fn-content h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #20c997;
}

[data-style="vibrant"] .fn-content h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

[data-style="vibrant"] .fn-content a {
    color: #845ef7;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: rgba(132, 94, 247, 0.3);
    text-underline-offset: 4px;
}

[data-style="vibrant"] .fn-content a:hover {
    color: #7048e8;
    text-decoration-color: #7048e8;
}

[data-style="vibrant"] .fn-content blockquote {
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #ff6b6b, #a78bfa) 1;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(167, 139, 250, 0.05));
    border-radius: 0 var(--fn-radius-xl) var(--fn-radius-xl) 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-style: normal;
}

[data-style="vibrant"] .fn-content blockquote cite {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

[data-style="vibrant"] .fn-content img {
    border-radius: var(--fn-radius-lg);
}

/* Share buttons — colorful pills */
[data-style="vibrant"] .fn-share__label {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

[data-style="vibrant"] .fn-share__btn {
    border-radius: var(--fn-radius-full);
}

[data-style="vibrant"] .fn-share__btn:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Author box — playful, gradient left border */
[data-style="vibrant"] .fn-author-box {
    border-radius: var(--fn-radius-xl);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.03), rgba(167, 139, 250, 0.03));
    border: none;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #ff6b6b, #a78bfa) 1;
}

[data-style="vibrant"] .fn-author-box__name {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

[data-style="vibrant"] .fn-author-box__bio {
    font-family: 'DM Sans', sans-serif;
}

/* Related posts */
[data-style="vibrant"] .fn-related__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/* Post navigation */
[data-style="vibrant"] .fn-post-nav__card {
    border-radius: var(--fn-radius-lg);
    border: 2px solid var(--fn-border);
}

[data-style="vibrant"] .fn-post-nav__card:hover {
    border-color: #845ef7;
    transform: translateX(4px);
}

[data-style="vibrant"] .fn-post-nav__label {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

[data-style="vibrant"] .fn-post-nav__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

/* Newsletter — gradient background */
[data-style="vibrant"] .fn-newsletter {
    background: linear-gradient(135deg, #2d1b69, #5b2d8e);
}

[data-style="vibrant"] .fn-newsletter__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

[data-style="vibrant"] .fn-newsletter__desc {
    font-family: 'DM Sans', sans-serif;
}

[data-style="vibrant"] .fn-newsletter__input {
    border-radius: var(--fn-radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

[data-style="vibrant"] .fn-newsletter__btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: var(--fn-radius-full);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

[data-style="vibrant"] .fn-newsletter__btn:hover {
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

/* Stats Bar — vibrant */
[data-style="vibrant"] .fn-stats-bar {
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.05), rgba(91, 45, 142, 0.05));
    border-bottom: none;
}
[data-style="vibrant"] .fn-stats-bar__number {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-style="vibrant"] .fn-stats-bar__label {
    font-family: 'DM Sans', sans-serif;
}
[data-style="vibrant"] .fn-stats-bar__divider {
    background: linear-gradient(to bottom, transparent, var(--fn-border), transparent);
}

/* Newsletter CTA — vibrant */
[data-style="vibrant"] .fn-newsletter-cta__inner {
    background: linear-gradient(135deg, #2d1b69, #5b2d8e);
    border-radius: var(--fn-radius-xl);
}
[data-style="vibrant"] .fn-newsletter-cta__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}
[data-style="vibrant"] .fn-newsletter-cta__desc {
    font-family: 'DM Sans', sans-serif;
}
[data-style="vibrant"] .fn-newsletter-cta__input {
    border-radius: var(--fn-radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
}
[data-style="vibrant"] .fn-newsletter-cta__btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: var(--fn-radius-full);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}
[data-style="vibrant"] .fn-newsletter-cta__btn:hover {
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

/* Footer — deep purple gradient */
[data-style="vibrant"] .fn-footer {
    background: linear-gradient(135deg, #1a0f42, #2d1b69);
}

[data-style="vibrant"] .fn-footer__heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

[data-style="vibrant"] .fn-footer__about-text {
    font-family: 'DM Sans', sans-serif;
}

[data-style="vibrant"] .fn-footer__tag {
    border-radius: var(--fn-radius-full);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

/* Comments */
[data-style="vibrant"] .fn-comment__author {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

[data-style="vibrant"] .fn-comment__body {
    font-family: 'DM Sans', sans-serif;
}

/* Archive headers */
[data-style="vibrant"] .fn-archive-header {
    border-radius: var(--fn-radius-xl);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(132, 94, 247, 0.1));
}

[data-style="vibrant"] .fn-archive-header__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/* Back to top — gradient circle */
[data-style="vibrant"] .fn-back-to-top {
    background: linear-gradient(135deg, #ff6b6b, #845ef7);
    border-radius: var(--fn-radius-full);
}

[data-style="vibrant"] .fn-back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(132, 94, 247, 0.3);
}

/* Pagination */
[data-style="vibrant"] .fn-pagination a,
[data-style="vibrant"] .fn-pagination span {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-radius: var(--fn-radius-full);
}

[data-style="vibrant"] .fn-pagination span.current {
    background: linear-gradient(135deg, #ff6b6b, #845ef7);
    border-color: transparent;
    color: #fff;
}

/* TOC */
[data-style="vibrant"] .fn-toc {
    border-radius: var(--fn-radius-xl);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.04), rgba(132, 94, 247, 0.04));
    border: 2px solid var(--fn-border);
}

[data-style="vibrant"] .fn-toc__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/* Tags */
[data-style="vibrant"] .fn-tag {
    border-radius: var(--fn-radius-full);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

/* Search overlay */
[data-style="vibrant"] .fn-search-overlay {
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.95), rgba(91, 45, 142, 0.95));
}

[data-style="vibrant"] .fn-search-overlay__input {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

[data-style="vibrant"] .fn-search-overlay__input:focus {
    border-bottom-color: #ffd43b;
}

/* 404 */
[data-style="vibrant"] .fn-404__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #845ef7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-style="vibrant"] .fn-404__heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/* Progress bar — gradient */
[data-style="vibrant"] .fn-progress__bar {
    background: linear-gradient(90deg, #ff6b6b, #845ef7, #20c997);
}

/* Featured image */
[data-style="vibrant"] .fn-single__featured {
    border-radius: var(--fn-radius-xl);
    overflow: hidden;
}

[data-style="vibrant"] .fn-single__featured img {
    border-radius: var(--fn-radius-xl);
}

/* Like button */
[data-style="vibrant"] .fn-like.is-liked svg {
    fill: #ff6b6b;
}

/* Dark mode overrides for Vibrant */
[data-style="vibrant"][data-theme="dark"] {
    --fn-bg: #1a1025;
    --fn-bg-alt: #231530;
    --fn-bg-card: #231530;
    --fn-bg-dark: #0f0a18;
    --fn-text: #e8e0f0;
    --fn-text-secondary: #a898bf;
    --fn-text-light: #7a6b94;
    --fn-accent: #ff8080;
    --fn-accent-hover: #ff6b6b;
    --fn-accent-light: rgba(255, 128, 128, 0.1);
    --fn-link: #a78bfa;
    --fn-link-hover: #c4b5fd;
    --fn-border: #2d2040;
    --fn-border-dark: #3d2d55;
}

[data-style="vibrant"][data-theme="dark"] .fn-header {
    background: linear-gradient(135deg, #0f0a18, #1a1025);
}

[data-style="vibrant"][data-theme="dark"] .fn-footer {
    background: linear-gradient(135deg, #080510, #0f0a18);
}

[data-style="vibrant"][data-theme="dark"] .fn-newsletter {
    background: linear-gradient(135deg, #0f0a18, #1a1025);
}

[data-style="vibrant"][data-theme="dark"] .fn-content h2 {
    color: #a78bfa;
}

[data-style="vibrant"][data-theme="dark"] .fn-content h3 {
    color: #6ee7b7;
}

/* ---------- Vibrant Polish ---------- */

/* Drop caps: Nunito, extra-bold, gradient color */
[data-style="vibrant"] .fn-content > p:first-of-type::first-letter {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 3.8em;
    color: #ff6b6b;
    background: linear-gradient(135deg, #ff6b6b, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards: alternating subtle background tints */
[data-style="vibrant"] .fn-card:nth-child(4n+1) {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.04), var(--fn-bg-card));
}

[data-style="vibrant"] .fn-card:nth-child(4n+2) {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.04), var(--fn-bg-card));
}

[data-style="vibrant"] .fn-card:nth-child(4n+3) {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.04), var(--fn-bg-card));
}

[data-style="vibrant"] .fn-card:nth-child(4n+4) {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.04), var(--fn-bg-card));
}

/* Cards: colored shadow matching tint on hover */
[data-style="vibrant"] .fn-card:nth-child(4n+1):hover {
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.12);
}

[data-style="vibrant"] .fn-card:nth-child(4n+2):hover {
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.12);
}

[data-style="vibrant"] .fn-card:nth-child(4n+3):hover {
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.12);
}

[data-style="vibrant"] .fn-card:nth-child(4n+4):hover {
    box-shadow: 0 8px 30px rgba(255, 209, 102, 0.12);
}

/* Card border: gradient top — merged with base rule above */

/* Blockquote: gradient left border — merged with base rule above */

[data-style="vibrant"] .fn-content blockquote::before {
    background: linear-gradient(135deg, #ff6b6b, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

/* Section headers: gradient text on title — merged with base rule above */

[data-style="vibrant"] .fn-section-header::after {
    background: linear-gradient(90deg, #ff6b6b, #a78bfa, #4ecdc4);
    width: 80px;
}

/* Tables: gradient header, rounded */
[data-style="vibrant"] .fn-content th {
    background: linear-gradient(135deg, #ff6b6b, #a78bfa);
}

[data-style="vibrant"] .fn-content table {
    border-radius: var(--fn-radius-xl);
    border: none;
}

/* Author box: gradient left border, bg tint — merged with base rule at .fn-author-box above */

/* Category badges: gradient text */
[data-style="vibrant"] .fn-category-badge {
    background: linear-gradient(135deg, #ff6b6b, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Footer: gradient top line */
[data-style="vibrant"] .fn-footer::before {
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #a78bfa, #4ecdc4);
}

/* Hero: gradient glow */
[data-style="vibrant"] .fn-hero::after {
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #a78bfa, #4ecdc4);
}

/* Code blocks */
[data-style="vibrant"] .fn-content pre {
    border-radius: var(--fn-radius-xl);
    border: 1px solid rgba(167, 139, 250, 0.15);
}

[data-style="vibrant"] .fn-content pre::before {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.08);
    border-radius: 0 var(--fn-radius-xl) 0 var(--fn-radius);
}

/* Dark mode vibrant polish */
[data-style="vibrant"][data-theme="dark"] .fn-card {
    border-image: linear-gradient(90deg, #ff8080, #c4b5fd) 1;
}

[data-style="vibrant"][data-theme="dark"] .fn-content blockquote {
    background: linear-gradient(135deg, rgba(255, 128, 128, 0.05), rgba(196, 181, 253, 0.05));
    border-image: linear-gradient(180deg, #ff8080, #c4b5fd) 1;
}

[data-style="vibrant"][data-theme="dark"] .fn-section-title {
    background: linear-gradient(135deg, #ff8080, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-style="vibrant"][data-theme="dark"] .fn-category-badge {
    background: linear-gradient(135deg, #ff8080, #c4b5fd);
}

/* ==========================================================================
   37. Accessibility
   ========================================================================== */

/* Skip Link */
.fn-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    padding: 12px 24px;
    background: var(--fn-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--fn-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: top 0.2s ease;
}

.fn-skip-link:focus {
    top: 12px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Focus Visible Rings — all interactive elements */
:focus-visible {
    outline: 2px solid var(--fn-accent);
    outline-offset: 2px;
}

/* Reset outline for mouse clicks */
:focus:not(:focus-visible) {
    outline: none;
}

/* Specific focus styles for buttons */
.fn-header__btn:focus-visible,
.fn-dark-toggle:focus-visible,
.fn-mobile-toggle:focus-visible,
.fn-back-to-top:focus-visible,
.fn-load-more__btn:focus-visible {
    outline: 2px solid var(--fn-accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--fn-accent-light);
}

/* Focus styles for cards */
.fn-card:focus-within {
    box-shadow: 0 0 0 2px var(--fn-accent), var(--fn-shadow-lg);
}

/* Focus styles for search overlay */
.fn-search-overlay__input:focus-visible {
    outline: 2px solid var(--fn-accent);
    outline-offset: 2px;
    border-color: var(--fn-accent);
}

/* Focus styles for nav links */
.fn-nav__menu a:focus-visible {
    outline: 2px solid var(--fn-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Focus styles for footer links */
.fn-footer a:focus-visible {
    outline: 2px solid var(--fn-accent);
    outline-offset: 2px;
}

/* Screen reader only text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    display: block;
    height: auto;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   38. Trending Posts Section
   ========================================================================== */

.fn-trending {
    padding: 24px 0;
    border-bottom: 1px solid var(--fn-border);
}

.fn-trending__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.fn-trending__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--fn-accent);
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.fn-trending__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    color: var(--fn-text-secondary);
}

.fn-trending__strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.fn-trending__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
}

.fn-trending__number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: var(--fn-accent);
    opacity: 0.3;
    flex-shrink: 0;
    font-feature-settings: 'tnum';
}

.fn-trending__content {
    flex: 1;
    min-width: 0;
}

.fn-trending__cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fn-trending__item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 4px 0 0;
}

.fn-trending__item-title a {
    color: var(--fn-text);
    text-decoration: none;
    transition: color var(--fn-transition);
}

.fn-trending__item-title a:hover {
    color: var(--fn-accent);
}

.fn-trending__meta {
    font-size: 12px;
    color: var(--fn-text-light);
    margin-top: 4px;
}

/* Dividers between items */
.fn-trending__item + .fn-trending__item {
    padding-left: 20px;
    border-left: 1px solid var(--fn-border);
}

/* Responsive */
@media (max-width: 1024px) {
    .fn-trending__strip {
        grid-template-columns: repeat(3, 1fr);
    }
    .fn-trending__item:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .fn-trending__strip {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding-bottom: 8px;
    }
    .fn-trending__item {
        min-width: 220px;
        flex-shrink: 0;
        scroll-snap-align: start;
        display: flex;
        padding: 0 16px;
    }
    .fn-trending__item:nth-child(n+4) {
        display: flex;
    }
    .fn-trending__item + .fn-trending__item {
        border-left: 1px solid var(--fn-border);
    }
    /* Scrollbar hide */
    .fn-trending__strip::-webkit-scrollbar {
        display: none;
    }
    .fn-trending__strip {
        scrollbar-width: none;
    }
}

/* ==========================================================================
   39. AJAX Live Search Results
   ========================================================================== */

.fn-search-results {
    max-width: 600px;
    margin: 0 auto;
    max-height: 400px;
    overflow-y: auto;
    border-radius: var(--fn-radius);
    background: var(--fn-bg-card);
    box-shadow: var(--fn-shadow-lg);
}

.fn-search-results:empty {
    display: none;
}

.fn-search-results__item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--fn-text);
    border-bottom: 1px solid var(--fn-border);
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.fn-search-results__item:last-child {
    border-bottom: none;
}

.fn-search-results__item:hover,
.fn-search-results__item.is-active {
    background: var(--fn-bg-alt);
}

.fn-search-results__item:focus-visible {
    outline: 2px solid var(--fn-accent);
    outline-offset: -2px;
}

.fn-search-results__thumb {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.fn-search-results__thumb--placeholder {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    flex-shrink: 0;
    background: var(--fn-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fn-text-light);
}

.fn-search-results__info {
    flex: 1;
    min-width: 0;
}

.fn-search-results__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fn-search-results__excerpt {
    font-size: 12px;
    color: var(--fn-text-secondary);
    line-height: 1.4;
    margin: 0;
}

.fn-search-results__meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--fn-text-light);
    margin-top: 4px;
}

.fn-search-results__cat {
    color: var(--fn-accent);
    font-weight: 600;
}

.fn-search-results__empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--fn-text-secondary);
    font-size: 14px;
}

.fn-search-results__view-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--fn-accent);
    text-decoration: none;
    border-top: 1px solid var(--fn-border);
    transition: background-color 0.15s ease;
}

.fn-search-results__view-all:hover {
    background: var(--fn-bg-alt);
}

/* ==========================================================================
   39. Blur-Up Progressive Image Loading
   ========================================================================== */

.fn-blur-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.fn-blur-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 0.4s ease;
}

.fn-blur-full {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fn-blur-wrap.fn-blur-loaded .fn-blur-full {
    opacity: 1;
}

.fn-blur-wrap.fn-blur-loaded .fn-blur-placeholder {
    opacity: 0;
}

/* ==========================================================================
   39. Skeleton Loading States
   ========================================================================== */

@keyframes fn-skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.fn-skeleton {
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.fn-card-skeleton {
    border-radius: var(--fn-radius);
    overflow: hidden;
    background: var(--fn-bg-card);
    box-shadow: var(--fn-shadow);
}

.fn-card-skeleton__image {
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
}

.fn-card-skeleton__body {
    padding: 20px;
}

.fn-card-skeleton__badge {
    width: 72px;
    height: 22px;
    margin-bottom: 12px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
}

.fn-card-skeleton__title {
    height: 18px;
    margin-bottom: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
}

.fn-card-skeleton__title:nth-child(2) {
    width: 70%;
}

.fn-card-skeleton__text {
    height: 14px;
    margin-bottom: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
}

.fn-card-skeleton__text:nth-child(2) {
    width: 85%;
}

.fn-card-skeleton__text:nth-child(3) {
    width: 60%;
}

.fn-card-skeleton__meta {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.fn-card-skeleton__meta-item {
    width: 60px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
}

/* Stagger skeleton animation delays */
.fn-card-skeleton:nth-child(2) .fn-skeleton,
.fn-card-skeleton:nth-child(2) .fn-card-skeleton__image,
.fn-card-skeleton:nth-child(2) .fn-card-skeleton__badge,
.fn-card-skeleton:nth-child(2) .fn-card-skeleton__title,
.fn-card-skeleton:nth-child(2) .fn-card-skeleton__text,
.fn-card-skeleton:nth-child(2) .fn-card-skeleton__meta-item {
    animation-delay: 0.1s;
}

.fn-card-skeleton:nth-child(3) .fn-skeleton,
.fn-card-skeleton:nth-child(3) .fn-card-skeleton__image,
.fn-card-skeleton:nth-child(3) .fn-card-skeleton__badge,
.fn-card-skeleton:nth-child(3) .fn-card-skeleton__title,
.fn-card-skeleton:nth-child(3) .fn-card-skeleton__text,
.fn-card-skeleton:nth-child(3) .fn-card-skeleton__meta-item {
    animation-delay: 0.2s;
}

/* Search results skeleton */
.fn-search-skeleton {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
}

.fn-search-skeleton__thumb {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
}

.fn-search-skeleton__lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fn-search-skeleton__line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--fn-bg-alt) 25%, var(--fn-border) 50%, var(--fn-bg-alt) 75%);
    background-size: 200% 100%;
    animation: fn-skeleton-pulse 1.5s ease-in-out infinite;
}

.fn-search-skeleton__line:last-child {
    width: 60%;
}

/* ==========================================================================
   40. Sticky Sidebar with Smart Widgets
   ========================================================================== */

/* Layout wrapper */
.fn-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fn-layout-sidebar__content {
    min-width: 0;
}

/* When sidebar is active, single post max-width changes */
.fn-layout-sidebar .fn-single {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* Sidebar */
.fn-sidebar {
    position: relative;
}

.fn-sidebar__inner-sticky {
    position: sticky;
    top: 80px;
}

.fn-sidebar__widget {
    background: var(--fn-bg-card);
    border-radius: var(--fn-radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--fn-border);
}

.fn-sidebar__widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fn-accent);
    color: var(--fn-text);
}

/* Popular posts numbered list */
.fn-sidebar__post {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--fn-border);
}

.fn-sidebar__post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fn-sidebar__post:first-child {
    padding-top: 0;
}

.fn-sidebar__post-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--fn-accent);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    font-feature-settings: 'tnum';
}

.fn-sidebar__post-info {
    flex: 1;
    min-width: 0;
}

.fn-sidebar__post-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fn-sidebar__post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 4px 0 0;
}

.fn-sidebar__post-title a {
    color: var(--fn-text);
    text-decoration: none;
}

.fn-sidebar__post-title a:hover {
    color: var(--fn-accent);
}

.fn-sidebar__post-date {
    font-size: 12px;
    color: var(--fn-text-light);
}

/* Recent posts with thumbnails */
.fn-sidebar__recent-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--fn-border);
}

.fn-sidebar__recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fn-sidebar__recent-item:first-child {
    padding-top: 0;
}

.fn-sidebar__recent-thumb {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.fn-sidebar__recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn-sidebar__recent-info {
    flex: 1;
    min-width: 0;
}

.fn-sidebar__recent-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.fn-sidebar__recent-title a {
    color: var(--fn-text);
    text-decoration: none;
}

.fn-sidebar__recent-title a:hover {
    color: var(--fn-accent);
}

.fn-sidebar__recent-date {
    font-size: 12px;
    color: var(--fn-text-light);
}

/* Mini newsletter */
.fn-sidebar__newsletter-desc {
    font-size: 13px;
    color: var(--fn-text-secondary);
    margin: 0 0 12px;
}

.fn-sidebar__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fn-sidebar__newsletter-form input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--fn-border);
    border-radius: 4px;
    font-size: 13px;
    background: var(--fn-bg);
    color: var(--fn-text);
}

.fn-sidebar__newsletter-form button {
    width: 100%;
    padding: 8px 12px;
    background: var(--fn-accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--fn-transition);
}

.fn-sidebar__newsletter-form button:hover {
    background: var(--fn-accent-hover);
}

/* Social follow links */
.fn-sidebar__social {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fn-sidebar__social-link {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fn-text-secondary);
    background: var(--fn-bg-alt);
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--fn-transition);
}

.fn-sidebar__social-link:hover {
    background: var(--fn-accent);
    color: #fff;
}

/* Ad slot */
.fn-sidebar__ad {
    padding: 0;
    border: none;
    background: none;
    text-align: center;
}

/* Responsive — sidebar below content on mobile */
@media (max-width: 1024px) {
    .fn-layout-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fn-sidebar {
        border-top: 1px solid var(--fn-border);
        padding-top: 30px;
    }
}

/* ==========================================================================
   41. Multi-Reaction System
   ========================================================================== */

.fn-reactions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fn-reactions__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: var(--fn-bg-alt);
    border: 2px solid transparent;
    border-radius: var(--fn-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 64px;
}

.fn-reactions__btn:hover {
    background: var(--fn-bg);
    border-color: var(--fn-border);
    transform: translateY(-2px);
}

.fn-reactions__btn.is-active {
    border-color: var(--fn-accent);
    background: var(--fn-accent-light);
}

.fn-reactions__btn.is-active .fn-reactions__icon {
    color: var(--fn-accent);
}

.fn-reactions__btn.is-animating .fn-reactions__icon {
    animation: fn-reaction-pop 0.4s ease;
}

@keyframes fn-reaction-pop {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.fn-reactions__icon {
    display: flex;
    color: var(--fn-text-secondary);
    transition: color 0.2s ease;
}

.fn-reactions__count {
    font-size: 13px;
    font-weight: 600;
    color: var(--fn-text);
    font-feature-settings: 'tnum';
}

.fn-reactions__count:empty {
    display: none;
}

.fn-reactions__label {
    font-size: 12px;
    color: var(--fn-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reaction colors when active */
.fn-reactions__btn[data-reaction="like"].is-active .fn-reactions__icon { color: #3b82f6; }
.fn-reactions__btn[data-reaction="love"].is-active .fn-reactions__icon { color: #ef4444; }
.fn-reactions__btn[data-reaction="fire"].is-active .fn-reactions__icon { color: #f97316; }
.fn-reactions__btn[data-reaction="wow"].is-active .fn-reactions__icon { color: #eab308; }
.fn-reactions__btn[data-reaction="sad"].is-active .fn-reactions__icon { color: #8b5cf6; }

.fn-reactions__btn[data-reaction="like"].is-active { border-color: #3b82f6; background: rgba(59,130,246,0.08); }
.fn-reactions__btn[data-reaction="love"].is-active { border-color: #ef4444; background: rgba(239,68,68,0.08); }
.fn-reactions__btn[data-reaction="fire"].is-active { border-color: #f97316; background: rgba(249,115,22,0.08); }
.fn-reactions__btn[data-reaction="wow"].is-active { border-color: #eab308; background: rgba(234,179,8,0.08); }
.fn-reactions__btn[data-reaction="sad"].is-active { border-color: #8b5cf6; background: rgba(139,92,246,0.08); }

@media (max-width: 480px) {
    .fn-reactions__btn {
        padding: 8px 10px;
        min-width: 56px;
    }
    .fn-reactions__label {
        display: none;
    }
}

/* ==========================================================================
   41. Reading Position Memory Toast
   ========================================================================== */

.fn-reading-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--fn-bg-card);
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius);
    box-shadow: var(--fn-shadow-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 340px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.fn-reading-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.fn-reading-toast__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fn-accent-light);
    color: var(--fn-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fn-reading-toast__text {
    flex: 1;
    font-size: 13px;
    color: var(--fn-text-secondary);
    line-height: 1.4;
}

.fn-reading-toast__text strong {
    display: block;
    font-size: 14px;
    color: var(--fn-text);
    margin-bottom: 2px;
}

.fn-reading-toast__btn {
    padding: 6px 14px;
    background: var(--fn-accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--fn-transition);
}

.fn-reading-toast__btn:hover {
    background: var(--fn-accent-hover);
}

.fn-reading-toast__close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: var(--fn-text-light);
    cursor: pointer;
    padding: 2px;
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 480px) {
    .fn-reading-toast {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

/* ==========================================================================
   41. Scroll-Triggered Animations
   ========================================================================== */

.fn-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fn-animate.fn-visible {
    opacity: 1;
    transform: translateY(0);
}

.fn-animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fn-animate-scale.fn-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for grid items */
.fn-animate-delay-1 { transition-delay: 0.1s; }
.fn-animate-delay-2 { transition-delay: 0.2s; }
.fn-animate-delay-3 { transition-delay: 0.3s; }
.fn-animate-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   46. Mobile Experience Polish
   ========================================================================== */

/* Bottom Sheet Menu */
.fn-bottom-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fn-bottom-sheet-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

.fn-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--fn-bg-card);
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: env(safe-area-inset-bottom, 16px);
}

.fn-bottom-sheet.is-active {
    transform: translateY(0);
}

.fn-bottom-sheet__handle {
    width: 36px;
    height: 4px;
    background: var(--fn-border-dark, #ccc);
    border-radius: 2px;
    margin: 10px auto 0;
}

.fn-bottom-sheet__nav {
    padding: 16px 0 8px;
}

.fn-bottom-sheet__nav a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--fn-text);
    text-decoration: none;
    border-bottom: 1px solid var(--fn-border);
    transition: background-color 0.15s ease;
}

.fn-bottom-sheet__nav a:last-child {
    border-bottom: none;
}

.fn-bottom-sheet__nav a:hover,
.fn-bottom-sheet__nav a:active {
    background: var(--fn-bg-alt);
}

.fn-bottom-sheet__nav .current-menu-item > a,
.fn-bottom-sheet__nav .current_page_item > a {
    color: var(--fn-accent);
    font-weight: 600;
}

/* Swipe indicators on single posts */
.fn-swipe-indicator {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    width: 28px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    color: var(--fn-text-light);
}

.fn-swipe-indicator--left {
    left: 0;
}

.fn-swipe-indicator--right {
    right: 0;
}

.fn-swipe-indicator.is-visible {
    opacity: 0.6;
}

/* Larger touch targets on mobile */
@media (max-width: 768px) {
    /* Minimum 44px tap targets */
    .fn-card__meta-item,
    .fn-breadcrumbs a,
    .fn-tag,
    .fn-nav__menu a,
    .fn-footer a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .fn-header__btn,
    .fn-dark-toggle,
    .fn-mobile-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .fn-share__btn {
        min-width: 44px;
        min-height: 44px;
    }

    /* Smooth momentum scrolling */
    .fn-ticker__track,
    .fn-trending__strip {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent pull-to-refresh interference */
    body {
        overscroll-behavior-y: contain;
    }
}

/* ==========================================================================
   30. Review / Rating System
   ========================================================================== */

.fn-review {
    margin: var(--fn-space-2xl) 0;
    border: 1px solid var(--fn-border);
    border-top: 4px solid var(--fn-accent);
    border-radius: var(--fn-radius);
    background: var(--fn-bg-alt);
    overflow: hidden;
}

.fn-review__header {
    padding: var(--fn-space-lg) var(--fn-space-xl);
    border-bottom: 1px solid var(--fn-border);
}

.fn-review__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fn-text);
}

/* Score displays */
.fn-review__score {
    padding: var(--fn-space-xl);
    text-align: center;
    border-bottom: 1px solid var(--fn-border);
}

.fn-review__stars--author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fn-space-xs);
}

.fn-review__star {
    position: relative;
    display: inline-flex;
    color: #d4d4d8;
}

.fn-review__star--full,
.fn-review__star--half {
    color: #f59e0b;
}

.fn-review__star-half {
    position: absolute;
    top: 0;
    left: 0;
    color: #f59e0b;
}

.fn-review__score-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fn-text);
    margin-left: var(--fn-space-md);
}

.fn-review__points {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.fn-review__points-value {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--fn-accent);
}

.fn-review__points-max {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fn-text-secondary);
}

.fn-review__percentage {
    display: flex;
    justify-content: center;
}

.fn-review__circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.fn-review__circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.fn-review__circle-bg {
    fill: none;
    stroke: var(--fn-border);
    stroke-width: 3;
}

.fn-review__circle-fill {
    fill: none;
    stroke: var(--fn-accent);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.fn-review__circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--fn-text);
}

/* Criteria bars */
.fn-review__criteria {
    padding: var(--fn-space-lg) var(--fn-space-xl);
    border-bottom: 1px solid var(--fn-border);
}

.fn-review__criterion {
    margin-bottom: var(--fn-space-md);
}

.fn-review__criterion:last-child {
    margin-bottom: 0;
}

.fn-review__criterion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--fn-space-xs);
}

.fn-review__criterion-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fn-text);
}

.fn-review__criterion-score {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--fn-accent);
}

.fn-review__criterion-bar {
    height: 8px;
    background: var(--fn-border);
    border-radius: 4px;
    overflow: hidden;
}

.fn-review__criterion-fill {
    height: 100%;
    background: var(--fn-accent);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Pros & Cons */
.fn-review__proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--fn-border);
}

.fn-review__pros,
.fn-review__cons {
    padding: var(--fn-space-lg) var(--fn-space-xl);
}

.fn-review__pros {
    border-right: 1px solid var(--fn-border);
}

.fn-review__proscons-title {
    display: flex;
    align-items: center;
    gap: var(--fn-space-xs);
    margin: 0 0 var(--fn-space-md);
    font-size: 0.9375rem;
    font-weight: 700;
}

.fn-review__proscons-title--pro {
    color: #059669;
}

.fn-review__proscons-title--con {
    color: #dc2626;
}

.fn-review__pros ul,
.fn-review__cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fn-review__pros li,
.fn-review__cons li {
    padding: var(--fn-space-xs) 0;
    padding-left: var(--fn-space-lg);
    position: relative;
    font-size: 0.875rem;
    color: var(--fn-text);
}

.fn-review__pros li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

.fn-review__cons li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

/* Summary */
.fn-review__summary {
    padding: var(--fn-space-lg) var(--fn-space-xl);
    border-bottom: 1px solid var(--fn-border);
}

.fn-review__summary p {
    margin: 0;
    color: var(--fn-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* CTA Button */
.fn-review__cta {
    padding: var(--fn-space-lg) var(--fn-space-xl);
    text-align: center;
    border-bottom: 1px solid var(--fn-border);
}

.fn-review__button {
    display: inline-flex;
    align-items: center;
    gap: var(--fn-space-sm);
    padding: var(--fn-space-md) var(--fn-space-2xl);
    background: var(--fn-accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--fn-radius);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fn-review__button:hover {
    background: var(--fn-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* User Rating */
.fn-review__user-rating {
    padding: var(--fn-space-lg) var(--fn-space-xl);
    text-align: center;
}

.fn-review__user-title {
    margin: 0 0 var(--fn-space-md);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--fn-text-secondary);
}

.fn-review__user-stars {
    display: inline-flex;
    gap: var(--fn-space-xs);
}

.fn-review__user-star {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #d4d4d8;
    transition: color 0.15s ease, transform 0.15s ease;
}

.fn-review__user-star:hover,
.fn-review__user-star.is-hover {
    color: #f59e0b;
    transform: scale(1.15);
}

.fn-review__user-star.is-active {
    color: #f59e0b;
}

.fn-review__user-rating.is-rated .fn-review__user-star {
    cursor: default;
}

.fn-review__user-info {
    margin-top: var(--fn-space-sm);
    font-size: 0.875rem;
    color: var(--fn-text-secondary);
}

.fn-review__user-avg {
    font-weight: 700;
    color: var(--fn-text);
}

/* Dark mode */
[data-theme="dark"] .fn-review {
    background: var(--fn-bg-dark-elevated, rgba(255,255,255,0.03));
    border-color: var(--fn-border);
}

[data-theme="dark"] .fn-review__star--full,
[data-theme="dark"] .fn-review__star--half,
[data-theme="dark"] .fn-review__star-half {
    color: #fbbf24;
}

[data-theme="dark"] .fn-review__user-star:hover,
[data-theme="dark"] .fn-review__user-star.is-hover,
[data-theme="dark"] .fn-review__user-star.is-active {
    color: #fbbf24;
}

/* Responsive */
@media (max-width: 640px) {
    .fn-review__proscons {
        grid-template-columns: 1fr;
    }

    .fn-review__pros {
        border-right: none;
        border-bottom: 1px solid var(--fn-border);
    }

    .fn-review__score-text {
        font-size: 1.25rem;
    }

    .fn-review__points-value {
        font-size: 2.5rem;
    }

    .fn-review__circle {
        width: 100px;
        height: 100px;
    }
}

/* ==========================================================================
   31. Post Format Templates (Video / Audio / Gallery)
   ========================================================================== */

/* Format Badge on Cards */
.fn-format-badge {
    position: absolute;
    bottom: var(--fn-space-sm);
    right: var(--fn-space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.fn-format-badge--video {
    background: rgba(220, 38, 38, 0.9);
}

.fn-format-badge--audio {
    background: rgba(124, 58, 237, 0.9);
}

.fn-format-badge--gallery {
    background: rgba(5, 150, 105, 0.9);
}

/* Video Format */
.fn-format-video {
    margin-bottom: var(--fn-space-xl);
}

.fn-format-video__wrapper {
    position: relative;
    border-radius: var(--fn-radius);
    overflow: hidden;
    background: #000;
}

.fn-format-video__embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.fn-format-video__embed iframe,
.fn-format-video__embed video,
.fn-format-video__embed object,
.fn-format-video__embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fn-format-video__source {
    margin: var(--fn-space-sm) 0 0;
    font-size: 0.8125rem;
    color: var(--fn-text-secondary);
}

.fn-format-video__source a {
    color: var(--fn-accent);
    text-decoration: none;
}

.fn-format-video__source a:hover {
    text-decoration: underline;
}

.fn-format-video__poster {
    position: relative;
    border-radius: var(--fn-radius);
    overflow: hidden;
    margin: 0;
}

.fn-format-video__poster img {
    width: 100%;
    height: auto;
    display: block;
}

.fn-format-video__play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    pointer-events: none;
}

/* Audio Format */
.fn-format-audio {
    display: flex;
    gap: var(--fn-space-lg);
    align-items: flex-start;
    margin-bottom: var(--fn-space-xl);
    padding: var(--fn-space-lg);
    background: var(--fn-bg-alt);
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius);
}

.fn-format-audio__art {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: var(--fn-radius-sm);
    overflow: hidden;
}

.fn-format-audio__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn-format-audio__content {
    flex: 1;
    min-width: 0;
}

.fn-format-audio__player {
    width: 100%;
    margin-top: var(--fn-space-sm);
}

.fn-format-audio__embed iframe {
    max-width: 100%;
}

/* Gallery Format */
.fn-format-gallery {
    margin-bottom: var(--fn-space-xl);
}

.fn-format-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--fn-space-sm);
}

.fn-format-gallery__item {
    margin: 0;
    border-radius: var(--fn-radius-sm);
    overflow: hidden;
}

.fn-format-gallery__link {
    display: block;
    cursor: zoom-in;
}

.fn-format-gallery__link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.fn-format-gallery__link:hover img {
    transform: scale(1.05);
}

.fn-format-gallery__caption {
    padding: var(--fn-space-xs) var(--fn-space-sm);
    font-size: 0.75rem;
    color: var(--fn-text-secondary);
    background: var(--fn-bg-alt);
}

.fn-format-gallery__count {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--fn-text-secondary);
    margin: var(--fn-space-sm) 0 0;
}

/* Lightbox */
.fn-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fn-lightbox[hidden] {
    display: none;
}

.fn-lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
}

.fn-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    z-index: 1;
    text-align: center;
}

.fn-lightbox__image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--fn-radius-sm);
}

.fn-lightbox__caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-top: var(--fn-space-sm);
}

.fn-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.fn-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.fn-lightbox__prev,
.fn-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.fn-lightbox__prev {
    left: 16px;
}

.fn-lightbox__next {
    right: 16px;
}

.fn-lightbox__prev:hover,
.fn-lightbox__next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.fn-lightbox__counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    z-index: 2;
}

/* Dark mode */
[data-theme="dark"] .fn-format-audio {
    background: var(--fn-bg-dark-elevated, rgba(255,255,255,0.03));
}

/* Responsive */
@media (max-width: 640px) {
    .fn-format-audio {
        flex-direction: column;
    }

    .fn-format-audio__art {
        width: 80px;
        height: 80px;
    }

    .fn-format-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fn-format-gallery__link img {
        height: 150px;
    }

    .fn-lightbox__prev,
    .fn-lightbox__next {
        width: 36px;
        height: 36px;
    }

    .fn-lightbox__prev {
        left: 8px;
    }

    .fn-lightbox__next {
        right: 8px;
    }
}

/* ==========================================================================
   32. Font Size Adjustment (A-/A+)
   ========================================================================== */

.fn-font-size {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 90;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.fn-font-size.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fn-font-size__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fn-bg);
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius-sm);
    color: var(--fn-text);
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
    box-shadow: var(--fn-shadow);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fn-font-size__btn:hover {
    background: var(--fn-accent);
    color: #fff;
    border-color: var(--fn-accent);
}

.fn-font-size__btn.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

[data-theme="dark"] .fn-font-size__btn {
    background: var(--fn-bg-dark-elevated, #1a2332);
    border-color: var(--fn-border);
}

@media (max-width: 480px) {
    .fn-font-size {
        bottom: 80px;
        right: 12px;
    }

    .fn-font-size__btn {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   33. Floating Share Bar
   ========================================================================== */

.fn-share-floating {
    position: fixed;
    left: max(12px, calc((100vw - 780px) / 2 - 60px));
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fn-share-floating.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.fn-share-floating__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fn-share-floating__btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.fn-share-floating__btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.fn-share-floating__btn--facebook  { background: #1877f2; }
.fn-share-floating__btn--twitter   { background: #0f1419; }
.fn-share-floating__btn--linkedin  { background: #0a66c2; }
.fn-share-floating__btn--whatsapp  { background: #25d366; }
.fn-share-floating__btn--telegram  { background: #26a5e4; }
.fn-share-floating__btn--copy      { background: var(--fn-text-secondary); }

[data-theme="dark"] .fn-share-floating__btn--twitter {
    background: #e7e9ea;
    color: #0f1419;
}

/* Hide on large screens where there's no space beside article */
@media (max-width: 1100px) {
    .fn-share-floating {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 0;
        background: var(--fn-bg);
        border-top: 1px solid var(--fn-border);
        padding: 8px 12px;
        opacity: 0;
        transform: translateY(100%);
    }

    .fn-share-floating.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .fn-share-floating__btn {
        width: 36px;
        height: 36px;
        margin: 0 3px;
    }

    .fn-share-floating__btn svg {
        width: 16px;
        height: 16px;
    }

    [data-theme="dark"] .fn-share-floating {
        background: var(--fn-bg-dark, #0f1923);
        border-color: var(--fn-border);
    }
}

/* Reduced Motion — disable all animations and transitions */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fn-ticker__items {
        animation: none !important;
        overflow-x: auto;
    }

    .fn-progress__bar {
        transition: none !important;
    }

    .fn-card:hover {
        transform: none !important;
    }

    .fn-back-to-top {
        transition: none !important;
    }

    .fn-search-overlay {
        transition: none !important;
    }

    .fn-animate-in {
        animation: none !important;
        opacity: 1 !important;
    }

    .fn-animate,
    .fn-animate-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .fn-bottom-sheet {
        transition: none !important;
    }
}


/* ==========================================================================
   34. Gutenberg Blocks — Frontend
   ========================================================================== */

/* Block wrapper */
.fn-block {
    margin: var(--fn-space-2xl) 0;
}

/* Block header */
.fn-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fn-space-lg);
    padding-bottom: var(--fn-space-sm);
    border-bottom: 2px solid var(--fn-accent);
}

.fn-block__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    padding-left: 0.5em;
    border-left: 3px solid var(--fn-accent);
}

.fn-block__more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fn-accent);
    text-decoration: none;
    white-space: nowrap;
}

.fn-block__more:hover {
    text-decoration: underline;
}

/* Grid columns override via inline custom property */
.fn-block-post-grid .fn-posts-grid {
    grid-template-columns: repeat(var(--fn-grid-columns, 3), 1fr);
}

/* Post list block */
.fn-block-post-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fn-block-post-list .fn-trending__item {
    border-bottom: 1px solid var(--fn-border);
}

.fn-block-post-list .fn-trending__item:last-child {
    border-bottom: none;
}

/* Featured Slider */
.fn-block-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--fn-radius-md);
    background: var(--fn-bg-dark);
}

.fn-block-slider__track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
}

.fn-block-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fn-block-slider__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.fn-block-slider__image {
    width: 100%;
    height: 100%;
}

.fn-block-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fn-block-slider__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--fn-bg-dark) 0%, #1a2a3a 100%);
}

.fn-block-slider__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--fn-space-xl);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
    z-index: 2;
}

.fn-block-slider__content .fn-badge {
    display: inline-block;
    padding: 0.2em 0.7em;
    border-radius: var(--fn-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: var(--fn-space-xs);
}

.fn-block-slider__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 var(--fn-space-xs);
    line-height: 1.3;
}

.fn-block-slider__title a {
    color: #fff;
    text-decoration: none;
}

.fn-block-slider__excerpt {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.85;
    line-height: 1.5;
}

.fn-block-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: var(--fn-space-sm);
    background: rgba(0,0,0,0.3);
}

.fn-block-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}

.fn-block-slider__dot:hover,
.fn-block-slider__dot.is-active {
    background: #fff;
    border-color: #fff;
}

/* Placeholder messages (frontend) */
.fn-block-placeholder {
    padding: var(--fn-space-lg);
    text-align: center;
    color: var(--fn-text-secondary);
    font-style: italic;
}

/* Dark mode */
[data-theme="dark"] .fn-block__header {
    border-bottom-color: var(--fn-accent);
}

[data-theme="dark"] .fn-block-post-list .fn-trending__item {
    border-bottom-color: var(--fn-border);
}

/* Responsive */
@media (max-width: 768px) {
    .fn-block-slider__track {
        aspect-ratio: 16 / 9;
    }

    .fn-block-slider__title {
        font-size: 1.15rem;
    }

    .fn-block-slider__excerpt {
        display: none;
    }

    .fn-block-slider__content {
        padding: var(--fn-space-md);
    }

    .fn-block-post-grid .fn-posts-grid {
        grid-template-columns: repeat(min(var(--fn-grid-columns, 3), 2), 1fr);
    }
}

@media (max-width: 480px) {
    .fn-block-post-grid .fn-posts-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   35. WooCommerce Integration
   ========================================================================== */

/* Cart icon in header */
.fn-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--fn-text);
    text-decoration: none;
    border-radius: var(--fn-radius-sm);
    transition: color 0.2s, background-color 0.2s;
}

.fn-cart-icon:hover {
    color: var(--fn-accent);
    background: var(--fn-bg-alt);
}

.fn-cart-icon svg {
    display: block;
}

.fn-cart-icon__count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--fn-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    pointer-events: none;
}

/* WooCommerce page wrapper */
.fn-woocommerce-wrap {
    padding-top: var(--fn-space-xl);
    padding-bottom: var(--fn-space-2xl);
}

/* Product grid — match theme card styling */
.woocommerce ul.products li.product {
    background: var(--fn-bg-card);
    border-radius: var(--fn-radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.woocommerce ul.products li.product a img {
    border-radius: 0;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 600;
    padding: var(--fn-space-sm) var(--fn-space-md) 0;
    color: var(--fn-text);
}

.woocommerce ul.products li.product .price {
    padding: var(--fn-space-xs) var(--fn-space-md);
    color: var(--fn-accent);
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: var(--fn-text-secondary);
    font-weight: 400;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--fn-accent);
    color: #fff;
    border: none;
    border-radius: var(--fn-radius-sm);
    padding: 0.6em 1.2em;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--fn-accent-hover, color-mix(in srgb, var(--fn-accent), #000 15%));
    transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    background: var(--fn-accent);
    color: #fff;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
    background: var(--fn-accent-hover, color-mix(in srgb, var(--fn-accent), #000 15%));
}

/* Form inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: var(--fn-bg);
    color: var(--fn-text);
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius-sm);
    padding: 0.6em 0.8em;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--fn-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.15);
}

/* Star rating */
.woocommerce .star-rating {
    color: #f5a623;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
    font-size: 0.85rem;
    color: var(--fn-text-secondary);
    margin-bottom: var(--fn-space-lg);
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--fn-accent);
    text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* Notices / messages */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    border-top-color: var(--fn-accent);
    background: var(--fn-bg-card);
    color: var(--fn-text);
}

/* Tabs on single product */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--fn-bg-alt);
    border-color: var(--fn-border);
    border-radius: var(--fn-radius-sm) var(--fn-radius-sm) 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--fn-bg-card);
    border-bottom-color: var(--fn-bg-card);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--fn-text);
    font-weight: 600;
}

/* Cart table */
.woocommerce table.shop_table {
    border-color: var(--fn-border);
    background: var(--fn-bg-card);
    border-radius: var(--fn-radius-md);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--fn-bg-alt);
    color: var(--fn-text);
    font-weight: 700;
}

.woocommerce table.shop_table td {
    border-color: var(--fn-border);
    color: var(--fn-text);
}

/* Sale badge */
.woocommerce span.onsale {
    background: var(--fn-accent);
    color: #fff;
    font-weight: 700;
    border-radius: var(--fn-radius-sm);
}

/* Dark mode */
[data-theme="dark"] .fn-cart-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .woocommerce .woocommerce-message,
[data-theme="dark"] .woocommerce .woocommerce-info,
[data-theme="dark"] .woocommerce .woocommerce-error {
    background: var(--fn-bg-card);
}

/* ==========================================================================
   36. Weather Widget
   ========================================================================== */

.fn-weather {
    background: var(--fn-bg-card);
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.fn-weather__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fn-weather__icon img {
    width: 50px;
    height: 50px;
}

.fn-weather__info {
    flex: 1;
}

.fn-weather__temp {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--fn-heading);
}

.fn-weather__desc {
    font-size: 13px;
    color: var(--fn-text-light);
    text-transform: capitalize;
    margin-top: 2px;
}

.fn-weather__city {
    font-size: 12px;
    color: var(--fn-text-light);
    opacity: 0.7;
    margin-top: 2px;
}

/* Topbar compact variant */
.fn-topbar__weather {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: inherit;
    margin-right: 12px;
}

.fn-topbar__weather img {
    width: 20px;
    height: 20px;
}

.fn-topbar__weather-temp {
    font-weight: 700;
}

.fn-topbar__weather-city {
    opacity: 0.7;
}

[data-theme="dark"] .fn-weather {
    background: var(--fn-bg-card);
    border-color: var(--fn-border);
}

/* ==========================================================================
   37. Social Counter Widget
   ========================================================================== */

.fn-social-counter {
    margin-bottom: 1.5rem;
}

.fn-social-counter__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fn-heading);
    margin-bottom: 0.75rem;
}

.fn-social-counter__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fn-social-counter__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: var(--fn-bg-alt);
    border-radius: var(--fn-radius-sm);
    text-decoration: none;
    color: var(--fn-text);
    transition: background 0.2s, color 0.2s;
    --fn-sc-color: var(--fn-accent);
}

.fn-social-counter__item:hover {
    background: var(--fn-sc-color);
    color: #fff;
}

.fn-social-counter__icon {
    width: 20px;
    height: 20px;
    margin-bottom: 6px;
}

.fn-social-counter__icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.fn-social-counter__count {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.fn-social-counter__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.fn-social-counter__item:hover .fn-social-counter__label {
    opacity: 1;
}

/* Footer variant */
.fn-footer .fn-social-counter {
    margin-top: 1.5rem;
}

.fn-footer .fn-social-counter__grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

[data-theme="dark"] .fn-social-counter__item {
    background: var(--fn-bg-card);
}

/* ==========================================================================
   38. Bookmarks / Reading List
   ========================================================================== */

/* Card bookmark button */
.fn-bookmark-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 3;
    padding: 0;
}

.fn-card:hover .fn-bookmark-btn,
.fn-card-list:hover .fn-bookmark-btn,
.fn-card-overlay:hover .fn-bookmark-btn,
.fn-card-tile:hover .fn-bookmark-btn,
.fn-bookmark-btn:focus-visible {
    opacity: 1;
}

.fn-bookmark-btn.is-bookmarked {
    opacity: 1;
    background: var(--fn-accent);
    color: #fff;
}

.fn-bookmark-btn svg {
    width: 16px;
    height: 16px;
}

.fn-bookmark-btn.is-bookmarked svg {
    fill: currentColor;
}

/* Single post bookmark */
.fn-bookmark-single {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--fn-bg-alt);
    border: 1px solid var(--fn-border);
    border-radius: 50px;
    color: var(--fn-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    margin: 1rem 0;
}

.fn-bookmark-single:hover {
    background: var(--fn-accent);
    color: #fff;
    border-color: var(--fn-accent);
}

.fn-bookmark-single.is-bookmarked {
    background: var(--fn-accent);
    color: #fff;
    border-color: var(--fn-accent);
}

.fn-bookmark-single svg {
    width: 18px;
    height: 18px;
}

.fn-bookmark-single.is-bookmarked svg {
    fill: currentColor;
}

/* Header bookmark icon */
.fn-bookmark-icon {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.fn-bookmark-icon__count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: var(--fn-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
}

/* Bookmarks page */
.fn-bookmarks {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}

.fn-bookmarks__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.fn-bookmarks__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--fn-heading);
    margin: 0;
}

.fn-bookmarks__count {
    font-size: 16px;
    color: var(--fn-text-light);
    font-weight: 600;
}

.fn-bookmarks__clear {
    margin-left: auto;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius-sm);
    color: var(--fn-text-light);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.fn-bookmarks__clear:hover {
    color: var(--fn-accent);
    border-color: var(--fn-accent);
}

.fn-bookmarks__empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--fn-text-light);
}

.fn-bookmarks__empty svg {
    opacity: 0.3;
    margin-bottom: 1rem;
}

.fn-bookmarks__empty p {
    font-size: 18px;
    margin: 0.5rem 0;
}

.fn-bookmarks__empty-sub {
    font-size: 14px !important;
    opacity: 0.7;
}

.fn-bookmarks__browse {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 10px 24px;
    background: var(--fn-accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--fn-radius-sm);
    font-weight: 600;
    transition: opacity 0.2s;
}

.fn-bookmarks__browse:hover {
    opacity: 0.9;
}

.fn-bookmarks__loading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fn-grid-gap, 24px);
}

@media (max-width: 768px) {
    .fn-bookmarks__loading {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   39. For You Feed
   ========================================================================== */

.fn-foryou {
    padding: 2rem 0;
    background: var(--fn-bg-alt);
    margin-bottom: 2rem;
}

.fn-foryou .fn-section-header {
    margin-bottom: 1.25rem;
}

.fn-foryou .fn-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fn-foryou .fn-section-title svg {
    color: var(--fn-accent);
}

.fn-foryou__subtitle {
    font-size: 13px;
    color: var(--fn-text-light);
    margin: 4px 0 0;
}

.fn-foryou__grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .fn-foryou__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fn-foryou__grid {
        grid-template-columns: 1fr;
    }
}

[data-theme="dark"] .fn-foryou {
    background: var(--fn-bg-card);
}

/* ==========================================================================
   40. Text-to-Speech Player
   ========================================================================== */

.fn-tts {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--fn-bg-alt);
    border: 1px solid var(--fn-border);
    border-left: 3px solid var(--fn-accent);
    border-radius: var(--fn-radius-sm);
}

.fn-tts__play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--fn-accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.fn-tts__play:hover {
    opacity: 0.9;
}

.fn-tts__player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fn-tts__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--fn-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.fn-tts__btn:hover {
    opacity: 0.85;
}

.fn-tts__btn--stop {
    background: var(--fn-bg-card);
    color: var(--fn-text-light);
    border: 1px solid var(--fn-border);
}

/* Play/pause icon toggle */
.fn-tts__icon-pause { display: none; }
.fn-tts.is-playing .fn-tts__icon-play { display: none; }
.fn-tts.is-playing .fn-tts__icon-pause { display: block; }

.fn-tts__progress {
    flex: 1;
    height: 6px;
    background: var(--fn-border);
    border-radius: 3px;
    overflow: hidden;
}

.fn-tts__progress-bar {
    height: 100%;
    background: var(--fn-accent);
    border-radius: 3px;
    width: 0;
    transition: width 0.3s;
}

.fn-tts__progress-text {
    font-size: 12px;
    color: var(--fn-text-light);
    white-space: nowrap;
    min-width: 32px;
}

.fn-tts__speed {
    padding: 4px 6px;
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius-sm);
    background: var(--fn-bg-card);
    color: var(--fn-text);
    font-size: 12px;
    cursor: pointer;
}

/* Paragraph highlight */
.fn-tts-highlight {
    background: rgba(230, 57, 70, 0.08);
    border-left: 3px solid var(--fn-accent);
    padding-left: 12px;
    transition: background 0.3s, border-color 0.3s;
}

[data-theme="dark"] .fn-tts-highlight {
    background: rgba(230, 57, 70, 0.12);
}

@media (max-width: 480px) {
    .fn-tts__player {
        flex-wrap: wrap;
        gap: 8px;
    }

    .fn-tts__progress {
        order: 3;
        width: 100%;
        flex: none;
    }
}

/* ==========================================================================
   41. Live Blog
   ========================================================================== */

/* LIVE badge (cards + single) */
.fn-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: var(--fn-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 3px;
    z-index: 3;
}

.fn-card .fn-live-badge,
.fn-card-list .fn-live-badge,
.fn-card-overlay .fn-live-badge,
.fn-card-tile .fn-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
}

.fn-live-badge--large {
    font-size: 12px;
    padding: 4px 14px;
    margin-bottom: 12px;
}

.fn-live-badge__dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: fn-live-pulse 1.5s ease-in-out infinite;
}

@keyframes fn-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Live blog container */
.fn-live-blog {
    margin: 1.5rem 0 2rem;
    background: var(--fn-bg-card);
    border: 1px solid var(--fn-border);
    border-top: 3px solid var(--fn-accent);
    border-radius: var(--fn-radius-md);
    overflow: hidden;
}

.fn-live-blog__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--fn-border);
}

.fn-live-blog__count {
    font-size: 13px;
    color: var(--fn-text-light);
}

.fn-live-blog__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--fn-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 3px;
}

.fn-live-blog__dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: fn-live-pulse 1.5s ease-in-out infinite;
}

/* Timeline */
.fn-live-blog__timeline {
    max-height: 600px;
    overflow-y: auto;
}

.fn-live-blog__entry {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--fn-border);
    transition: background 0.3s;
}

.fn-live-blog__entry:last-child {
    border-bottom: none;
}

.fn-live-blog__entry--new {
    animation: fn-live-slide-in 0.4s ease-out;
    background: rgba(230, 57, 70, 0.04);
}

@keyframes fn-live-slide-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fn-live-blog__entry-time {
    flex-shrink: 0;
    width: 70px;
    text-align: right;
}

.fn-live-blog__entry-clock {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--fn-heading);
}

.fn-live-blog__entry-date {
    display: block;
    font-size: 12px;
    color: var(--fn-text-light);
}

.fn-live-blog__entry-body {
    flex: 1;
    border-left: 2px solid var(--fn-border);
    padding-left: 1rem;
}

.fn-live-blog__entry-author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fn-text-light);
}

.fn-live-blog__entry-avatar {
    border-radius: 50%;
}

.fn-live-blog__entry-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fn-text);
}

.fn-live-blog__entry-content p {
    margin: 0 0 0.5em;
}

.fn-live-blog__entry-content p:last-child {
    margin-bottom: 0;
}

/* Dark mode */
[data-theme="dark"] .fn-live-blog {
    background: var(--fn-bg-card);
}

[data-theme="dark"] .fn-live-blog__entry--new {
    background: rgba(230, 57, 70, 0.08);
}

/* Responsive */
@media (max-width: 480px) {
    .fn-live-blog__entry {
        flex-direction: column;
        gap: 4px;
    }

    .fn-live-blog__entry-time {
        width: auto;
        text-align: left;
        display: flex;
        gap: 6px;
    }

    .fn-live-blog__entry-body {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--fn-border);
        padding-top: 8px;
    }
}
