/**
 * Core Styles
 * 
 * @package Flavor_starter
 * @version 1.0.0
 */

/* ============================================================================
   Design Tokens & Custom Properties
   ============================================================================ */

:root {
    /* Brand Colors - Defaults (Customizer overrides) */
    --fl-primary: #6366F1;
    --fl-secondary: #22C55E;
    --fl-dark: #0F172A;
    --fl-light: #F1F5F9;
    --fl-surface: #FFFFFF;
    --fl-topbar-bg: #FFFFFF;
    --fl-bottombar-bg: #0F172A;
    --fl-bottombar-text: #F8FAFC;
    
    /* Typography System */
    --fl-font-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --fl-font-body: 'Outfit', system-ui, -apple-system, sans-serif;
    --fl-text-base: 16px;
    --fl-text-scale: 1.25;
    
    /* Spacing Scale */
    --fl-space-xs: 0.25rem;
    --fl-space-sm: 0.5rem;
    --fl-space-md: 1rem;
    --fl-space-lg: 1.5rem;
    --fl-space-xl: 2rem;
    --fl-space-2xl: 3rem;
    --fl-space-3xl: 4rem;
    
    /* Layout */
    --fl-wrap-width: 1440px;
    --fl-wrap-gutter: 1.25rem;
    --fl-topbar-size: 76px;
    
    /* Motion */
    --fl-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --fl-ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --fl-ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --fl-duration-fast: 150ms;
    --fl-duration-normal: 300ms;
    --fl-duration-slow: 500ms;
    
    /* Corners */
    --fl-corner-xs: 6px;
    --fl-corner-sm: 10px;
    --fl-corner-md: 14px;
    --fl-corner-lg: 20px;
    --fl-corner-xl: 28px;
    --fl-corner-full: 9999px;
    
    /* Elevation */
    --fl-lift-1: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    --fl-lift-2: 0 4px 8px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
    --fl-lift-3: 0 12px 24px -4px rgb(0 0 0 / 0.1), 0 4px 8px -4px rgb(0 0 0 / 0.08);
    --fl-lift-4: 0 24px 48px -8px rgb(0 0 0 / 0.12), 0 8px 16px -6px rgb(0 0 0 / 0.08);
    --fl-lift-glow: 0 0 40px -8px var(--fl-primary);
}

/* ============================================================================
   CSS Reset & Normalization
   ============================================================================ */

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

html {
    font-size: var(--fl-text-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--fl-topbar-size) + var(--fl-space-lg));
}

body {
    font-family: var(--fl-font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--fl-dark);
    background-color: var(--fl-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ============================================================================
   Typography Scale
   ============================================================================ */

h1, h2, h3, h4, h5, h6,
.fl-h1, .fl-h2, .fl-h3, .fl-h4, .fl-h5, .fl-h6 {
    font-family: var(--fl-font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--fl-dark);
    margin-bottom: 0.6em;
    letter-spacing: -0.02em;
}

h1, .fl-h1 { 
    font-size: clamp(2.2rem, 6vw, 3.2rem); 
    font-weight: 800;
}
h2, .fl-h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3, .fl-h3 { font-size: clamp(1.35rem, 3.5vw, 1.85rem); }
h4, .fl-h4 { font-size: clamp(1.15rem, 2.8vw, 1.5rem); }
h5, .fl-h5 { font-size: 1.15rem; }
h6, .fl-h6 { font-size: 1rem; }

p {
    margin-bottom: 1.1rem;
}

/* ============================================================================
   Links & Interactions
   ============================================================================ */

a {
    color: var(--fl-primary);
    text-decoration: none;
    transition: color var(--fl-duration-fast) var(--fl-ease-smooth);
}

a:hover,
a:focus-visible {
    color: var(--fl-secondary);
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--fl-primary);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--fl-primary);
    outline-offset: 3px;
}

/* ============================================================================
   Layout Framework
   ============================================================================ */

.fl-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.fl-main {
    flex: 1 1 auto;
    padding-top: var(--fl-topbar-size);
}

.fl-wrap {
    width: 100%;
    max-width: var(--fl-wrap-width);
    margin-inline: auto;
    padding-inline: var(--fl-wrap-gutter);
}

/* Expanded wrap for homepage */
.fl-wrap--wide {
    max-width: 1680px;
}

@media screen and (max-width: 768px) {
    .fl-wrap {
        padding-inline: 1rem;
    }
}

/* ============================================================================
   Page Sections
   ============================================================================ */

.fl-section {
    padding-block: var(--fl-space-lg);
}

.fl-section--hero {
    padding-block: var(--fl-space-xl);
}

/* Front Page Section */
.fl-section--home {
    padding-block: 0 var(--fl-space-sm);
}

@media screen and (max-width: 768px) {
    .fl-section {
        padding-block: var(--fl-space-md);
    }
    
    .fl-section--home {
        padding-block: 0 var(--fl-space-xs);
    }
    
    .fl-section--home .fl-wrap {
        padding-inline: 0.625rem;
    }
}

/* ============================================================================
   Top Navigation Bar
   ============================================================================ */

.fl-topbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1000;
    height: var(--fl-topbar-size);
    background-color: var(--fl-topbar-bg);
    transition: 
        transform var(--fl-duration-normal) var(--fl-ease-smooth),
        box-shadow var(--fl-duration-normal) var(--fl-ease-smooth),
        background-color var(--fl-duration-normal) var(--fl-ease-smooth);
}

/* Scrolled State */
.fl-topbar.is-scrolled {
    box-shadow: var(--fl-lift-2);
}

/* Blur Effect */
.fl-topbar.has-glass.is-scrolled {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

/* Pinned (Sticky) */
.fl-topbar.is-pinned {
    position: fixed;
}

/* Inner Container */
.fl-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--fl-wrap-width);
    margin-inline: auto;
    padding-inline: var(--fl-wrap-gutter);
    gap: var(--fl-space-lg);
}

/* ============================================================================
   Site Branding
   ============================================================================ */

.fl-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.fl-brand__link {
    display: inline-flex;
    align-items: center;
    transition: opacity var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-brand__link:hover {
    opacity: 0.85;
}

.fl-brand__logo {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .fl-brand__logo {
        max-height: 42px;
    }
}

@media screen and (max-width: 480px) {
    .fl-brand__logo {
        max-height: 36px;
    }
}

.fl-brand__name {
    font-family: var(--fl-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fl-dark);
    letter-spacing: -0.02em;
    transition: color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-brand__name:hover {
    color: var(--fl-primary);
}

/* ============================================================================
   Primary Navigation
   ============================================================================ */

.fl-nav {
    display: none;
}

@media screen and (min-width: 769px) {
    .fl-nav {
        display: flex;
        align-items: center;
    }
}

.fl-nav__list {
    display: flex;
    align-items: center;
    gap: var(--fl-space-xl);
}

.fl-nav__link {
    position: relative;
    font-weight: 500;
    color: var(--fl-dark);
    padding-block: var(--fl-space-sm);
    transition: color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-nav__link::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--fl-primary), var(--fl-secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--fl-duration-normal) var(--fl-ease-smooth);
}

.fl-nav__link:hover::after,
.fl-nav__item--current .fl-nav__link::after {
    transform: scaleX(1);
    transform-origin: left;
}

.fl-nav__link:hover {
    color: var(--fl-primary);
}

/* ============================================================================
   Header Tools (Language, Menu Toggle)
   ============================================================================ */

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

/* ============================================================================
   Language Switcher
   ============================================================================ */

.fl-lang {
    position: relative;
}

.fl-lang__trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--fl-space-sm);
    padding: var(--fl-space-sm) var(--fl-space-md);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--fl-corner-sm);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fl-dark);
    cursor: pointer;
    transition: 
        border-color var(--fl-duration-fast) var(--fl-ease-smooth),
        color var(--fl-duration-fast) var(--fl-ease-smooth),
        background-color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-lang__trigger:hover {
    border-color: var(--fl-primary);
    color: var(--fl-primary);
}

.fl-lang__trigger svg {
    width: 16px;
    height: 16px;
    transition: transform var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-lang__trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.fl-lang__dropdown {
    position: absolute;
    top: calc(100% + var(--fl-space-sm));
    right: 0;
    min-width: 160px;
    background: var(--fl-surface);
    border-radius: var(--fl-corner-md);
    box-shadow: var(--fl-lift-3);
    padding: var(--fl-space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 
        opacity var(--fl-duration-normal) var(--fl-ease-smooth),
        visibility var(--fl-duration-normal) var(--fl-ease-smooth),
        transform var(--fl-duration-normal) var(--fl-ease-smooth);
    z-index: 100;
}

.fl-lang.is-open .fl-lang__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fl-lang__dropdown li {
    margin: 0;
}

.fl-lang__dropdown a {
    display: flex;
    align-items: center;
    gap: var(--fl-space-sm);
    padding: var(--fl-space-sm) var(--fl-space-md);
    font-size: 0.875rem;
    color: var(--fl-dark);
    border-radius: var(--fl-corner-xs);
    transition: background-color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-lang__dropdown a:hover {
    background-color: var(--fl-light);
    color: var(--fl-primary);
}

.fl-lang__dropdown img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.fl-lang__dropdown .active a {
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--fl-primary);
}

/* ============================================================================
   Mobile Menu Toggle
   ============================================================================ */

.fl-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media screen and (min-width: 769px) {
    .fl-burger {
        display: none;
    }
}

.fl-burger__icon {
    position: relative;
    width: 24px;
    height: 18px;
}

.fl-burger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--fl-dark);
    border-radius: var(--fl-corner-full);
    transition: 
        transform var(--fl-duration-normal) var(--fl-ease-bounce),
        opacity var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-burger__line:nth-child(1) { top: 0; }
.fl-burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.fl-burger__line:nth-child(3) { bottom: 0; }

/* Active State */
.fl-burger[aria-expanded="true"] .fl-burger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.fl-burger[aria-expanded="true"] .fl-burger__line:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}

.fl-burger[aria-expanded="true"] .fl-burger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================================
   Mobile Navigation Panel
   ============================================================================ */

.fl-mobile-nav {
    position: fixed;
    inset: var(--fl-topbar-size) 0 0 0;
    background: var(--fl-surface);
    padding: var(--fl-space-xl) var(--fl-wrap-gutter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: 
        opacity var(--fl-duration-normal) var(--fl-ease-smooth),
        visibility var(--fl-duration-normal) var(--fl-ease-smooth),
        transform var(--fl-duration-normal) var(--fl-ease-smooth);
    overflow-y: auto;
    z-index: 999;
}

.fl-mobile-nav.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fl-mobile-nav__list {
    margin-bottom: var(--fl-space-xl);
}

.fl-mobile-nav__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fl-mobile-nav__link {
    display: block;
    padding: var(--fl-space-md) 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--fl-dark);
    transition: color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-mobile-nav__link:hover {
    color: var(--fl-primary);
}

/* Mobile Language Switcher */
.fl-mobile-nav .fl-lang {
    width: 100%;
}

.fl-mobile-nav .fl-lang__trigger {
    width: 100%;
    justify-content: space-between;
}

.fl-mobile-nav .fl-lang__dropdown {
    position: static;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: var(--fl-space-sm);
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--fl-duration-normal) var(--fl-ease-smooth);
}

.fl-mobile-nav .fl-lang.is-open .fl-lang__dropdown {
    max-height: 300px;
}

/* Body scroll lock */
body.mobile-nav-active {
    overflow: hidden;
}

/* ============================================================================
   Bottom Bar (Footer)
   ============================================================================ */

.fl-bottombar {
    background-color: var(--fl-bottombar-bg);
    color: var(--fl-bottombar-text);
    padding-block: var(--fl-space-lg);
}

.fl-bottombar__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fl-space-md);
    max-width: var(--fl-wrap-width);
    margin-inline: auto;
    padding-inline: var(--fl-wrap-gutter);
}

@media screen and (min-width: 769px) {
    .fl-bottombar__inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.fl-bottombar__copy {
    font-size: 0.875rem;
    opacity: 0.8;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .fl-bottombar__copy {
        text-align: left;
    }
}

/* Footer Navigation */
.fl-bottombar__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--fl-space-sm);
}

@media screen and (min-width: 769px) {
    .fl-bottombar__nav {
        justify-content: flex-end;
        gap: var(--fl-space-sm);
    }
}

/* Remove bullets from footer menu - FORCE */
.fl-bottombar__menu,
.fl-bottombar__nav ul,
.fl-bottombar__nav .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--fl-space-sm);
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.fl-bottombar__menu li,
.fl-bottombar__nav li,
.fl-bottombar__nav .menu-item {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.fl-bottombar__menu li::before,
.fl-bottombar__nav li::before,
.fl-bottombar__menu li::marker,
.fl-bottombar__nav li::marker {
    content: none !important;
    display: none !important;
}

/* Footer links as buttons with border - works on any background */
.fl-bottombar__nav a,
.fl-bottombar__menu a,
.fl-bottombar__nav .menu-item a {
    display: inline-flex;
    align-items: center;
    padding: var(--fl-space-sm) var(--fl-space-md);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fl-bottombar-text);
    background: transparent;
    border: 1px solid currentColor;
    border-radius: var(--fl-corner-sm);
    opacity: 0.65;
    transition: 
        opacity var(--fl-duration-fast) var(--fl-ease-smooth),
        background-color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-bottombar__nav a:hover,
.fl-bottombar__menu a:hover,
.fl-bottombar__nav .menu-item a:hover {
    opacity: 1;
    background-color: rgba(128, 128, 128, 0.1);
}

/* ============================================================================
   Article & Entry Styles
   ============================================================================ */

.fl-article {
    max-width: 100%;
}

.fl-article__header {
    margin-bottom: var(--fl-space-xl);
}

.fl-article__title {
    margin-bottom: 0;
}

/* Center header on regular pages */
.fl-section--page .fl-article__header {
    max-width: 1200px;
    margin-inline: auto;
    text-align: center;
}

.fl-article__body {
    max-width: 1200px;
}

.fl-article__body p {
    margin-bottom: var(--fl-space-lg);
}

.fl-article__body ul,
.fl-article__body ol {
    margin-bottom: var(--fl-space-lg);
    padding-left: var(--fl-space-lg);
}

.fl-article__body li {
    margin-bottom: var(--fl-space-sm);
}

/* Hide title on front page */
.home .fl-article__header,
.fl-section--home .fl-article__header,
body.home .fl-article__title,
body.page-template-default.home .fl-article__header {
    display: none !important;
}

/* Front Page Content Full Width */
.fl-section--home .fl-article__body {
    max-width: 100%;
}

/* ============================================================================
   Entry Content Formatting (Integrated User Styles)
   ============================================================================ */

.entry-content,
.fl-article__body {
    max-width: 1200px;
}

/* Center content on regular pages (not home) */
.fl-section--page .fl-article__body {
    margin-inline: auto;
}

/* Paragraphs */
.entry-content > p {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    line-height: 1.75;
    margin-bottom: 1.35em;
    font-size: 17px;
    color: var(--fl-dark);
}

.entry-content > p:first-of-type {
    font-size: 1.12em;
    color: #3d4a5c;
}

/* Headings */
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6 {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    margin-top: 1.6em;
    margin-bottom: 0.75em;
}

/* Lists */
.entry-content > ul,
.entry-content > ol {
    max-width: 1200px;
    margin-inline: auto;
    padding-left: 44px;
    padding-right: 20px;
    line-height: 1.75;
    margin-bottom: 1.35em;
}

.entry-content > ul {
    list-style: disc;
}

.entry-content > ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.4em;
}

/* Images */
.entry-content > img,
.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content > p > img {
    max-width: 1200px;
    margin-inline: auto;
    display: block;
    padding-inline: 20px;
}

.entry-content > figure img,
.entry-content > .wp-block-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
    border-radius: var(--fl-corner-sm);
}

.entry-content > figure figcaption,
.entry-content > .wp-block-image figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 10px;
}

/* Tables */
.entry-content > table,
.entry-content > figure.wp-block-table,
.entry-content > .wp-block-table {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    margin-bottom: 1.6em;
}

.entry-content > figure.wp-block-table table,
.entry-content > .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.entry-content table th {
    background: #f3f4f6;
    font-weight: 600;
}

.entry-content table tr:nth-child(even) {
    background: #f9fafb;
}

/* Blockquotes */
.entry-content > blockquote,
.entry-content > .wp-block-quote {
    max-width: 1100px;
    margin-inline: auto;
    padding: 24px 44px;
    border-left: 4px solid var(--fl-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(34, 197, 94, 0.04) 100%);
    font-style: italic;
    margin-bottom: 1.6em;
    border-radius: 0 var(--fl-corner-sm) var(--fl-corner-sm) 0;
}

/* Links in content */
.entry-content > p a:not(.ag-box__btn):not(.fl-btn),
.entry-content > ul a:not(.ag-box__btn):not(.fl-btn),
.entry-content > ol a:not(.ag-box__btn):not(.fl-btn) {
    color: var(--fl-primary);
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-underline-offset: 3px;
    transition: 
        color var(--fl-duration-fast) var(--fl-ease-smooth),
        text-decoration-color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.entry-content > p a:not(.ag-box__btn):not(.fl-btn):hover,
.entry-content > ul a:not(.ag-box__btn):not(.fl-btn):hover,
.entry-content > ol a:not(.ag-box__btn):not(.fl-btn):hover {
    color: #4f46e5;
    text-decoration-color: #4f46e5;
}

/* Age Gate Box - Preserved */
.ag-box {
    max-width: 1100px !important;
    margin: 0 auto 2rem auto !important;
    padding: 0 !important;
}

@media screen and (max-width: 1200px) {
    .ag-box {
        max-width: 96% !important;
    }
}

/* Tablet Responsive */
@media screen and (max-width: 1200px) {
    .entry-content > p,
    .entry-content > h1,
    .entry-content > h2,
    .entry-content > h3,
    .entry-content > h4,
    .entry-content > h5,
    .entry-content > h6,
    .entry-content > ul,
    .entry-content > ol,
    .entry-content > img,
    .entry-content > figure,
    .entry-content > .wp-block-image,
    .entry-content > table,
    .entry-content > figure.wp-block-table,
    .entry-content > .wp-block-table,
    .entry-content > blockquote,
    .entry-content > .wp-block-quote {
        max-width: 100%;
        padding-inline: 20px;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .entry-content > p,
    .entry-content > h1,
    .entry-content > h2,
    .entry-content > h3,
    .entry-content > h4,
    .entry-content > h5,
    .entry-content > h6,
    .entry-content > ul,
    .entry-content > ol,
    .entry-content > img,
    .entry-content > figure,
    .entry-content > .wp-block-image,
    .entry-content > table,
    .entry-content > figure.wp-block-table,
    .entry-content > .wp-block-table,
    .entry-content > blockquote,
    .entry-content > .wp-block-quote {
        max-width: 100%;
        padding-inline: 16px;
    }
    
    .entry-content > ul,
    .entry-content > ol {
        padding-left: 36px;
    }
    
    .entry-content > figure.wp-block-table,
    .entry-content > .wp-block-table {
        overflow-x: auto;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .entry-content > p {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* Front Page - Full Width Content */
.fl-section--home .entry-content,
.fl-section--home .fl-article__body {
    max-width: 100%;
}

.fl-section--home .entry-content > *:first-child {
    margin-top: 0 !important;
}

/* WordPress Block Resets for Front Page */
.fl-section--home .wp-block-html,
.fl-section--home .entry-content > div:first-child {
    margin-top: 0;
    margin-bottom: 0;
}

/* ============================================================================
   Buttons
   ============================================================================ */

.fl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fl-space-sm);
    padding: 0.9rem 2.2rem;
    font-family: var(--fl-font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--fl-corner-md);
    cursor: pointer;
    transition: 
        transform var(--fl-duration-fast) var(--fl-ease-smooth),
        box-shadow var(--fl-duration-normal) var(--fl-ease-smooth),
        background var(--fl-duration-normal) var(--fl-ease-smooth);
}

.fl-btn--primary {
    background: linear-gradient(135deg, var(--fl-secondary) 0%, color-mix(in srgb, var(--fl-secondary) 65%, var(--fl-primary)) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

.fl-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
    color: white;
}

.fl-btn--primary:active {
    transform: translateY(0);
}

.fl-btn--outline {
    background: transparent;
    color: var(--fl-primary);
    border: 2px solid var(--fl-primary);
}

.fl-btn--outline:hover {
    background: var(--fl-primary);
    color: white;
    transform: translateY(-2px);
}

/* ============================================================================
   404 Error Page
   ============================================================================ */

.fl-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh;
    text-align: center;
}

.fl-error__content {
    max-width: 480px;
}

.fl-error__code {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: var(--fl-space-xl);
}

.fl-error__digit {
    font-family: var(--fl-font-display);
    font-size: clamp(4.5rem, 18vw, 9rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--fl-primary) 0%, var(--fl-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fl-error__digit--bounce {
    animation: fl-digit-bounce 2.2s var(--fl-ease-elastic) infinite;
}

@keyframes fl-digit-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.fl-error__title {
    margin-bottom: var(--fl-space-md);
}

.fl-error__desc {
    max-width: 36ch;
    margin-inline: auto;
    margin-bottom: var(--fl-space-xl);
    color: #64748b;
}

/* ============================================================================
   Accessibility Utilities
   ============================================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fl-skip {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fl-primary);
    color: white;
    padding: var(--fl-space-sm) var(--fl-space-md);
    border-radius: 0 0 var(--fl-corner-sm) var(--fl-corner-sm);
    z-index: 10001;
    transition: top var(--fl-duration-normal) var(--fl-ease-smooth);
}

.fl-skip:focus {
    top: 0;
    color: white;
}

/* ============================================================================
   Utility Classes
   ============================================================================ */

.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }

.u-hidden { display: none !important; }
.u-visible { display: block !important; }

.u-mt-0 { margin-top: 0 !important; }
.u-mb-0 { margin-bottom: 0 !important; }

/* ============================================================================
   Animations & Keyframes
   ============================================================================ */

/* Fade In Up */
@keyframes fl-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fl-animate-fade-up {
    animation: fl-fade-up 0.6s var(--fl-ease-smooth) forwards;
}

/* Fade In */
@keyframes fl-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fl-animate-fade-in {
    animation: fl-fade-in 0.4s var(--fl-ease-smooth) forwards;
}

/* Scale In */
@keyframes fl-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fl-animate-scale-in {
    animation: fl-scale-in 0.4s var(--fl-ease-bounce) forwards;
}

/* Slide In Right */
@keyframes fl-slide-right {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fl-animate-slide-right {
    animation: fl-slide-right 0.5s var(--fl-ease-smooth) forwards;
}

/* Pulse Glow */
@keyframes fl-pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(99, 102, 241, 0);
    }
}

.fl-animate-pulse {
    animation: fl-pulse-glow 2s var(--fl-ease-smooth) infinite;
}

/* Float */
@keyframes fl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fl-animate-float {
    animation: fl-float 3s var(--fl-ease-smooth) infinite;
}

/* Shimmer */
@keyframes fl-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fl-animate-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: fl-shimmer 2s linear infinite;
}

/* ============================================================================
   Scroll Reveal Animations
   ============================================================================ */

[data-fl-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.7s var(--fl-ease-smooth),
        transform 0.7s var(--fl-ease-smooth);
}

[data-fl-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-fl-reveal="fade"] {
    transform: none;
}

[data-fl-reveal="scale"] {
    transform: scale(0.92);
}

[data-fl-reveal="scale"].is-revealed {
    transform: scale(1);
}

[data-fl-reveal="left"] {
    transform: translateX(-40px);
}

[data-fl-reveal="left"].is-revealed {
    transform: translateX(0);
}

[data-fl-reveal="right"] {
    transform: translateX(40px);
}

[data-fl-reveal="right"].is-revealed {
    transform: translateX(0);
}

/* ============================================================================
   FAQ Accordion
   ============================================================================ */

/* Container — matches entry-content width constraints */
.fl-faq {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding-inline: 20px;
}

.fl-faq h2 {
    margin-bottom: 1.25rem;
}

.fl-faq__list {
    display: grid;
    gap: 0.625rem;
}

/* Individual FAQ item */
.fl-faq__item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--fl-corner-md);
    background: var(--fl-surface);
    overflow: hidden;
    transition:
        box-shadow 0.3s var(--fl-ease-smooth),
        border-color 0.3s var(--fl-ease-smooth);
}

@media (hover: hover) {
    .fl-faq__item:hover {
        border-color: rgba(99, 102, 241, 0.18);
    }
}

.fl-faq__item[open] {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border-left: 3px solid var(--fl-primary);
}

/* Question (summary) */
.fl-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    list-style: none;
    color: var(--fl-dark);
    user-select: none;
    -webkit-user-select: none;
    transition: color 0.2s var(--fl-ease-smooth);
}

/* Remove default markers */
.fl-faq__q::-webkit-details-marker { display: none; }
.fl-faq__q::marker { display: none; content: ''; }

/* Chevron arrow via CSS pseudo-element */
.fl-faq__q::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s var(--fl-ease-smooth);
}

.fl-faq__item[open] .fl-faq__q::after {
    transform: rotate(180deg);
}

.fl-faq__item[open] .fl-faq__q {
    color: var(--fl-dark);
}

/* Focus for keyboard navigation */
.fl-faq__q:focus-visible {
    outline: 2px solid var(--fl-primary);
    outline-offset: -2px;
    border-radius: var(--fl-corner-md);
}

/* Answer */
.fl-faq__a {
    padding: 0 1.25rem 1.15rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.fl-faq__a p { margin: 0; }

/* FAQ Mobile */
@media screen and (max-width: 768px) {
    .fl-faq {
        padding-inline: 16px;
        margin: 2rem auto;
    }
    .fl-faq__q {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    .fl-faq__a {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .fl-faq__item {
        border-radius: var(--fl-corner-sm);
    }
}

/* Front page — FAQ keeps same width as regular pages for consistency */

/* ============================================================================
   Print Styles
   ============================================================================ */

@media print {
    .fl-topbar,
    .fl-bottombar,
    .fl-consent,
    .fl-burger,
    .fl-mobile-nav,
    .fl-skip {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .fl-main {
        padding-top: 0;
    }
    
    a {
        text-decoration: underline;
    }
    
    /* FAQ: expand all items when printing */
    .fl-faq__item {
        border: 1px solid #ccc;
    }
    .fl-faq__item:not([open]) .fl-faq__a {
        display: block;
    }
    .fl-faq__q::after {
        display: none;
    }
}

/* ============================================================================
   Reduced Motion
   ============================================================================ */

@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;
    }
    
    [data-fl-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================================
   Mobile Layout Fixes (SINGLE source of truth for mobile topbar)
   ============================================================================ */

@media screen and (max-width: 768px) {
    :root {
        --fl-topbar-size: 64px;
    }
    
    .fl-main {
        padding-top: var(--fl-topbar-size);
    }
    
    .fl-section {
        padding-block: var(--fl-space-lg);
    }
    
    .fl-section--home {
        padding-block: 0 var(--fl-space-xs);
    }
    
    .entry-content > *:first-child,
    .fl-article__body > *:first-child {
        margin-top: 0;
    }
    
    /* Non-sticky header on mobile */
    .fl-topbar.no-mobile-sticky {
        position: absolute;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --fl-topbar-size: 58px;
    }
}

/* ============================================================================
   Advertising Slots
   ============================================================================ */

.fl-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.fl-ad-slot__inner {
    width: 100%;
    text-align: center;
}

/* Before/After Content Ads */
.fl-ad-slot--before-content,
.fl-ad-slot--after-content {
    margin-block: var(--fl-space-sm);
    padding: var(--fl-space-xs);
}

.fl-ad-slot--before-content {
    margin-top: 0;
}

/* Sidebar Ads */
.fl-ad-slot--sidebar-left,
.fl-ad-slot--sidebar-right {
    position: sticky;
    top: calc(var(--fl-topbar-size) + var(--fl-space-md));
}

/* Mobile Sticky Ad */
.fl-ad-slot--mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--fl-surface);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--fl-space-xs);
    padding-bottom: max(var(--fl-space-xs), env(safe-area-inset-bottom, 0));
}

@media screen and (max-width: 768px) {
    .fl-ad-slot--mobile-sticky {
        display: flex;
    }
    
    /* Add padding when mobile sticky ad is present (using body class, not :has) */
    body.has-mobile-sticky-ad .fl-main {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
    }
    
    body.has-mobile-sticky-ad .fl-bottombar {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
    }
}

/* Hide sidebar ads on tablet/mobile - handled in layout section */

/* ============================================================================
   Layout with Sidebars (flexible)
   ============================================================================ */

/* Both sidebars */
.fl-layout--both-sidebars {
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    gap: var(--fl-space-lg);
    align-items: start;
}

/* Left sidebar only */
.fl-layout--left-sidebar {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--fl-space-lg);
    align-items: start;
}

/* Right sidebar only */
.fl-layout--right-sidebar {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: var(--fl-space-lg);
    align-items: start;
}

.fl-layout__main {
    min-width: 0;
}

.fl-sidebar {
    position: relative;
}

/* Hide sidebars on smaller screens */
@media screen and (max-width: 1200px) {
    .fl-layout--both-sidebars,
    .fl-layout--left-sidebar,
    .fl-layout--right-sidebar {
        grid-template-columns: 1fr;
    }
    
    .fl-sidebar {
        display: none;
    }
}

/* ============================================================================
   Mobile Navigation - Footer Links
   ============================================================================ */

.fl-mobile-nav__footer {
    margin-top: var(--fl-space-xl);
    padding-top: var(--fl-space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.fl-mobile-nav__footer-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: var(--fl-space-md);
}

.fl-mobile-nav__footer-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fl-space-sm) var(--fl-space-lg);
}

.fl-mobile-nav__footer-list li {
    margin: 0;
}

.fl-mobile-nav__footer-list a {
    font-size: 0.875rem;
    color: var(--fl-dark);
    opacity: 0.7;
    transition: opacity var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-mobile-nav__footer-list a:hover {
    opacity: 1;
    color: var(--fl-primary);
}

/* ============================================================================
   Single Post Styles
   ============================================================================ */

.fl-article--single .fl-article__header {
    margin-bottom: var(--fl-space-lg);
}

.fl-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fl-space-sm) var(--fl-space-md);
    font-size: 0.875rem;
    color: #64748b;
    margin-top: var(--fl-space-sm);
}

.fl-article__meta > span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.fl-article__categories a {
    color: var(--fl-primary);
}

.fl-article__thumbnail {
    margin-bottom: var(--fl-space-lg);
    border-radius: var(--fl-corner-md);
    overflow: hidden;
}

.fl-article__image {
    width: 100%;
    height: auto;
}

.fl-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fl-space-sm);
    align-items: center;
}

.fl-tag-label {
    font-weight: 600;
    color: #64748b;
}

.fl-article__tags a {
    background: var(--fl-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--fl-corner-full);
    font-size: 0.875rem;
    transition: all var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-article__tags a:hover {
    background: var(--fl-primary);
    color: white;
}

/* Author Box */
.fl-author-box {
    display: flex;
    gap: var(--fl-space-md);
    padding: var(--fl-space-lg);
    background: var(--fl-surface);
    border-radius: var(--fl-corner-md);
    margin: var(--fl-space-xl) 0;
}

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

.fl-author-box__name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.fl-author-box__bio {
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0;
}

@media screen and (max-width: 480px) {
    .fl-author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .fl-author-box__avatar {
        display: flex;
        justify-content: center;
    }
}

/* Post Navigation */
.fl-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fl-space-md);
    margin: var(--fl-space-xl) 0;
}

.fl-post-nav__link {
    display: flex;
    flex-direction: column;
    padding: var(--fl-space-md);
    background: var(--fl-surface);
    border-radius: var(--fl-corner-md);
    transition: all var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-post-nav__link:hover {
    background: var(--fl-light);
    transform: translateY(-2px);
}

.fl-post-nav__link--next {
    text-align: right;
}

.fl-post-nav__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.fl-post-nav__title {
    font-weight: 600;
    color: var(--fl-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 480px) {
    .fl-post-nav {
        grid-template-columns: 1fr;
    }
    
    .fl-post-nav__link--next {
        text-align: left;
    }
}

/* Related Posts */
.fl-related {
    margin: var(--fl-space-xl) 0;
}

.fl-related__title {
    font-size: 1.25rem;
    margin-bottom: var(--fl-space-md);
}

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

.fl-related__item {
    display: block;
    background: var(--fl-surface);
    border-radius: var(--fl-corner-md);
    overflow: hidden;
    transition: all var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-related__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--fl-lift-2);
}

.fl-related__thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.fl-related__item-title {
    padding: var(--fl-space-sm) var(--fl-space-md);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .fl-related__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   Archive & Blog Styles
   ============================================================================ */

.fl-archive-header {
    margin-bottom: var(--fl-space-xl);
    text-align: center;
}

.fl-archive-header__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.fl-archive-header__desc {
    color: #64748b;
    max-width: 600px;
    margin: var(--fl-space-sm) auto 0;
}

/* Posts Grid */
.fl-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--fl-space-lg);
}

.fl-post-card {
    background: var(--fl-surface);
    border-radius: var(--fl-corner-md);
    overflow: hidden;
    transition: all var(--fl-duration-normal) var(--fl-ease-smooth);
}

.fl-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fl-lift-3);
}

.fl-post-card__thumb {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.fl-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fl-duration-slow) var(--fl-ease-smooth);
}

.fl-post-card:hover .fl-post-card__thumb img {
    transform: scale(1.05);
}

.fl-post-card__content {
    padding: var(--fl-space-md);
}

.fl-post-card__meta {
    display: flex;
    gap: var(--fl-space-sm);
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: var(--fl-space-sm);
}

.fl-post-card__category {
    color: var(--fl-primary);
    font-weight: 500;
}

.fl-post-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--fl-space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fl-post-card__title a {
    color: var(--fl-dark);
}

.fl-post-card__title a:hover {
    color: var(--fl-primary);
}

.fl-post-card__excerpt {
    font-size: 0.9375rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--fl-space-md);
}

.fl-post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fl-primary);
}

.fl-post-card__more svg {
    transition: transform var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-post-card__more:hover svg {
    transform: translateX(4px);
}

/* Pagination */
.fl-pagination {
    margin-top: var(--fl-space-xl);
    display: flex;
    justify-content: center;
}

.fl-pagination ul {
    display: flex;
    gap: var(--fl-space-xs);
    list-style: none;
}

.fl-pagination a,
.fl-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--fl-space-sm);
    background: var(--fl-surface);
    border-radius: var(--fl-corner-sm);
    font-weight: 500;
    transition: all var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-pagination a:hover {
    background: var(--fl-primary);
    color: white;
}

.fl-pagination .current {
    background: var(--fl-primary);
    color: white;
}

.fl-pagination .prev,
.fl-pagination .next {
    gap: 0.25rem;
}

/* ============================================================================
   Search Results Styles
   ============================================================================ */

.fl-search-header {
    text-align: center;
    margin-bottom: var(--fl-space-xl);
}

.fl-search-header__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.fl-search-header__title span {
    color: var(--fl-primary);
}

.fl-search-header__form {
    max-width: 500px;
    margin: var(--fl-space-md) auto;
}

.fl-search-header__count {
    color: #64748b;
    font-size: 0.9375rem;
}

/* Search Form */
.search-form {
    display: flex;
    gap: var(--fl-space-sm);
}

.search-form label {
    flex: 1;
}

.search-form .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--fl-light);
    border-radius: var(--fl-corner-sm);
    font-size: 1rem;
    transition: border-color var(--fl-duration-fast) var(--fl-ease-smooth);
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--fl-primary);
}

.search-form .search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--fl-primary);
    color: white;
    border: none;
    border-radius: var(--fl-corner-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fl-duration-fast) var(--fl-ease-smooth);
}

.search-form .search-submit:hover {
    background: var(--fl-secondary);
}

/* Search Results List */
.fl-search-results {
    display: flex;
    flex-direction: column;
    gap: var(--fl-space-md);
}

.fl-search-item {
    display: flex;
    gap: var(--fl-space-md);
    padding: var(--fl-space-md);
    background: var(--fl-surface);
    border-radius: var(--fl-corner-md);
    transition: all var(--fl-duration-fast) var(--fl-ease-smooth);
}

.fl-search-item:hover {
    box-shadow: var(--fl-lift-2);
}

.fl-search-item__thumb {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: var(--fl-corner-sm);
    overflow: hidden;
}

.fl-search-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fl-search-item__content {
    flex: 1;
    min-width: 0;
}

.fl-search-item__type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fl-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.fl-search-item__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.fl-search-item__title a {
    color: var(--fl-dark);
}

.fl-search-item__title a:hover {
    color: var(--fl-primary);
}

.fl-search-item__excerpt {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.fl-search-item__excerpt mark {
    background: rgba(99, 102, 241, 0.15);
    color: var(--fl-primary);
    padding: 0 0.25rem;
    border-radius: 2px;
}

.fl-search-item__meta {
    font-size: 0.8125rem;
    color: #94a3b8;
}

.fl-search-item__url {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* No Results */
.fl-no-results {
    text-align: center;
    padding: var(--fl-space-2xl);
}

.fl-no-results svg {
    color: #cbd5e1;
    margin-bottom: var(--fl-space-md);
}

.fl-no-results h2 {
    font-size: 1.5rem;
    margin-bottom: var(--fl-space-sm);
}

.fl-no-results p {
    color: #64748b;
}

.fl-no-results__suggestions {
    margin-top: var(--fl-space-lg);
    text-align: left;
    max-width: 300px;
    margin-inline: auto;
}

.fl-no-results__suggestions h3 {
    font-size: 1rem;
    margin-bottom: var(--fl-space-sm);
}

.fl-no-results__suggestions ul {
    padding-left: var(--fl-space-md);
    list-style: disc;
}

.fl-no-results__suggestions li {
    color: #64748b;
    margin-bottom: 0.25rem;
}

@media screen and (max-width: 480px) {
    .fl-search-item {
        flex-direction: column;
    }
    
    .fl-search-item__thumb {
        width: 100%;
        height: 180px;
    }
}
