/*
Theme Name: Callbot Blog
Theme URI: https://callbot-ia.com
Author: Callbot IA
Author URI: https://callbot-ia.com
Description: A modern blog theme matching the Lovable design system. Features a floating glassmorphism header, 3-column blog grid, and dark footer with theme options.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: callbot-blog
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options
*/

/* ============================================
   CSS VARIABLES - Design System
   ============================================ */
:root {
    /* Colors */
    --color-bg-primary: #F8FAFC;
    --color-navy: #0F4E76;
    --color-teal: #3CAA9D;
    --color-teal-light: rgba(60, 170, 157, 0.1);
    --color-anthracite: #1A272E;
    --color-white: #FFFFFF;
    --color-muted: rgba(26, 39, 46, 0.7);
    --color-border: rgba(26, 39, 46, 0.15);
    --color-light-blue: #E3F2FD;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 2rem;
    /* 32px */
    --text-4xl: 2.5rem;
    /* 40px */

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(60, 170, 157, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Container */
    --container-max: 1000px;
    --container-padding: var(--space-6);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-anthracite);
    background-color: var(--color-bg-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-teal);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-anthracite);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-4);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.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;
}

/* ============================================
   HEADER - Sticky Full-Width (Lovable Style)
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(218, 226, 231, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 32px;
}
.footer-container{
   max-width: 1200px; 
}
.blog-section{
        background: #fff;
    padding: 50px 0px !important;
}
/* Logo with Gradient Icon */
.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: #1A2B3D;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo:hover {
    color: #1A2B3D;
}

.site-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0F4E76 0%, #3CAA9D 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-logo .logo-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.site-logo .logo-text {
    color: #1A2B3D;
}

.site-logo .logo-teal {
    color: var(--color-teal);
}

/* Navigation with Pill Container */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(237, 241, 243, 0.5);
    border-radius: 9999px;
    padding: 6px 8px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    color: var(--color-anthracite);
    border-radius: 8px;
    transition: all 150ms ease;
    white-space: nowrap;
    background: transparent;
}

.main-navigation a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-anthracite);
}

/* Blog menu item with dropdown chevron */
.main-navigation .menu-item-has-children>a::after,
.main-navigation .nav-blog>a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 4px;
}

/* Active menu item - navy pill background */
.main-navigation .current-menu-item>a,
.main-navigation .current-menu-ancestor>a,
.main-navigation .active>a,
.main-navigation a.active {
    background: #0F4E76;
    color: var(--color-white);
}

.main-navigation .current-menu-item>a:hover,
.main-navigation .active>a:hover {
    background: #0F4E76;
    color: var(--color-white);
}

.main-navigation .current-menu-item>a::after,
.main-navigation .active>a::after {
    border-top-color: var(--color-white);
}

/* Dropdown submenu */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-navigation li:hover>ul {
    display: flex;
}

.main-navigation ul ul a {
    padding: 10px 16px;
    border-radius: 8px;
    width: 100%;
    background: transparent;
    color: var(--color-anthracite);
    font-size: 13px;
}

.main-navigation ul ul a::after {
    display: none !important;
}

.main-navigation ul ul a:hover {
    background: var(--color-bg-primary);
    color: var(--color-teal);
}

/* CTA Button */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    height: 36px;
    background: var(--color-teal);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    border-radius: 12px;
    transition: all 300ms ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-cta:hover {
    color: var(--color-white);
    box-shadow: 0 10px 25px -5px rgba(60, 170, 157, 0.4);
    transform: translateY(-2px);
}

.header-cta svg {
    width: 14px;
    height: 14px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-anthracite);
    margin: 5px 0;
    transition: 150ms ease;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.site-main {
    min-height: calc(100vh - 400px);
}

/* ============================================
   BLOG HERO SECTION
   ============================================ */
.blog-hero {
    padding: 48px 0 32px;
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1;
}

.blog-hero h1 .text-black {
    color: #1A272E;
}

.blog-hero h1 .text-teal {
    color: #3CA99D;
}

.blog-hero .subtitle {
    font-size: 20px;
    color: #627884;
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Category Filter Pills - Teal Background Style (Lovable) */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.category-filter-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(60, 170, 157, 0.1);
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: #3CA99D;
    transition: all 150ms ease;
}

.category-filter-pill:hover {
    background: rgba(60, 170, 157, 0.2);
    color: #3CA99D;
}

.category-filter-pill.active {
    background: #0F4E76;
    color: #FFFFFF;
}

/* ============================================
   FEATURED POST SECTION (Article à la une)
   ============================================ */
.featured-section {
    padding: 0 0 48px;
}

.featured-section h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #1A272E;
    margin-bottom: 16px;
}

/* Featured Post Card - Light background, NO image */
.featured-post-card {
    display: block;
    background: rgba(237, 241, 243, 0.3);
    border-radius: 16px;
    padding: 32px;
    max-width: 100%;
    transition: all 300ms ease;
}

.featured-post-card:hover {
    background: rgba(237, 241, 243, 0.5);
}

/* Featured card category tag - FILLED teal */
.featured-post-card .category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #3CA99D;
    border: none;
    border-radius: 9999px;
    color: #F9FAFB;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.featured-post-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #1A272E;
}

.featured-post-card:hover h3 {
    color: #1A272E;
}

.featured-post-card .excerpt {
    color: #627884;
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.featured-post-card .post-meta {
    border-top: none;
    padding-top: 0;
    justify-content: flex-start;
    gap: 16px;
    font-size: 14px;
}

.featured-post-card .post-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ============================================
   BLOG GRID SECTION (Tous les articles)
   ============================================ */
.blog-section {
    padding: 0 0 48px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #1A272E;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Blog Card - Lovable Style */
.blog-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 200ms ease;
    border: 0.8px solid #DAE2E7;
}

.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card-content {
    padding: 24px;
}

/* Category Tag - Teal Background Style (Lovable) */
.category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(60, 170, 157, 0.1);
    border: none;
    color: #3CA99D;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.category-tag:hover {
    background: rgba(60, 170, 157, 0.2);
    color: #3CA99D;
}

/* Category Tag - FILLED STYLE (for featured card) */
.category-tag.filled {
    background: #3CA99D;
    color: #FFFFFF;
}

.blog-card-content h3 {
    margin: 12px 0;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1A272E;
}

.blog-card-content h3 a {
    color: #1A272E;
}

.blog-card-content h3 a:hover {
    color: #3CA99D;
}

.blog-card-content .excerpt {
    color: #627884;
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #627884;
    padding-top: 12px;
    border-top: 1px solid #EDF1F3;
}

.post-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-meta-left span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-meta-left svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.read-more-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    transition: transform var(--transition-fast);
}

.blog-card:hover .read-more-arrow {
    transform: translateX(3px);
}

.read-more-arrow svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   CATEGORY/ARCHIVE PAGE
   ============================================ */
.category-hero {
    padding: var(--space-12) 0 var(--space-6);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-muted);
    margin-bottom: var(--space-4);
}

.breadcrumbs a {
    color: var(--color-muted);
}

.breadcrumbs a:hover {
    color: var(--color-teal);
}

.breadcrumbs .separator {
    color: var(--color-muted);
}

.breadcrumbs .current {
    color: var(--color-muted);
}

/* Category Tag in Hero - Bordered */
.category-hero .category-tag {
    margin-bottom: var(--space-4);
}

.category-hero h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
}

.category-hero .description {
    font-size: var(--text-base);
    color: var(--color-muted);
    max-width: 550px;
    line-height: 1.6;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-header {
    padding: 48px 0 24px;
}

.single-post-header .container {
    max-width: 850px;
}

/* Breadcrumbs - specific for single */
.single-post-header .breadcrumbs {
    margin-bottom: 24px;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-anthracite);
    transition: all 150ms ease;
    text-decoration: none;
}

.back-button:hover {
    color: var(--color-teal);
}

.back-button svg {
    width: 16px;
    height: 16px;
}

/* Header with back button and category tag */
.single-header-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* Category tag in single header - bordered style */
.single-header-top .category-tag {
    background: transparent;
    color: var(--color-teal);
    border: 1px solid var(--color-teal);
}

.single-header-top .category-tag:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

/* Post Title */
.single-post-header h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 100%;
    margin-bottom: 16px;
    color: var(--color-anthracite);
}

/* Excerpt/Description */
.single-excerpt {
    font-size: 16px;
    color: var(--color-muted);
    margin-bottom: 20px;
    max-width: 700px;
    line-height: 1.6;
}

/* Author Meta */
.author-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--color-muted);
}

.author-meta .author-info,
.author-meta .date-info,
.author-meta .reading-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-meta .author-info {
    color: var(--color-anthracite);
}

.author-meta .author-name {
    font-weight: 500;
}

.author-meta svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Featured Image */
.single-featured-image {
    margin: 32px 0;
}

.single-featured-image .container {
    max-width: 850px;
}

.single-featured-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* Post Content */
.single-post-content {
    padding: var(--space-6) 0 var(--space-10);
}

.post-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: var(--text-base);
    line-height: 1.8;
}

.post-content h2 {
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    font-size: var(--text-xl);
}

.post-content h3 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.post-content p {
    margin-bottom: var(--space-5);
}

.post-content ul,
.post-content ol {
    margin: var(--space-5) 0;
    padding-left: var(--space-6);
}

.post-content li {
    margin-bottom: var(--space-2);
    list-style: disc;
}

.post-content ol li {
    list-style: decimal;
}

.post-content blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-5) var(--space-6);
    background: var(--color-teal-light);
    border-left: 4px solid var(--color-teal);
    border-radius: var(--radius-lg);
    font-style: italic;
}

.post-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}

.post-content a {
    color: var(--color-teal);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--color-navy);
}

/* Table of Contents Box */
.toc-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    margin: var(--space-6) 0;
}

.toc-box h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}

.toc-box ol {
    padding-left: var(--space-4);
}

.toc-box li {
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-muted);
}

.toc-box a {
    color: var(--color-muted);
    text-decoration: none;
}

.toc-box a:hover {
    color: var(--color-teal);
}

/* ============================================
   CTA BLOCK (Single Post Bottom)
   ============================================ */
.post-cta-block {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F9FF 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    margin: var(--space-10) 0;
}

.post-cta-block h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-5);
    color: var(--color-anthracite);
}

.post-cta-block .cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 24px;
    background: var(--color-teal);
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.post-cta-block .cta-button:hover {
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.post-cta-block .cta-button svg {
    width: 16px;
    height: 16px;
}

/* Related Posts */
.related-posts {
    padding: var(--space-10) 0;
    background: var(--color-white);
}

.related-posts h2 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

/* ============================================
   FOOTER CTA SECTION (Restez informé)
   ============================================ */
.footer-cta {
    padding: 48px 0;
    background: rgba(237, 241, 243, 0.3);
}

.footer-cta-inner {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-cta h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #1A272E;
    margin-bottom: 12px;
}

.footer-cta p {
    color: #627884;
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer-cta .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #3CA99D;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    box-shadow: 0 4px 12px rgba(60, 170, 157, 0.25);
}

.footer-cta .cta-button:hover {
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(60, 170, 157, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   MAIN FOOTER
   ============================================ */
.site-footer {
    background: var(--color-anthracite);
    color: var(--color-white);
    padding: var(--space-12) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-8);
}

.footer-brand .site-logo {
    color: var(--color-white);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

.footer-brand .site-logo .logo-icon {
    background: var(--color-teal);
}

.footer-brand .site-logo .logo-teal {
    color: var(--color-teal);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.7;
    max-width: 250px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer-column ul li {
    margin-bottom: var(--space-2);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-teal);
}

/* Contact column special styling */
.footer-column.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.footer-column .contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-teal);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.footer-column .contact-link:hover {
    color: var(--color-white);
}

.footer-column .contact-link svg {
    width: 14px;
    height: 14px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: var(--space-10);
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.footer-bottom-left {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-right {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-3);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
}

.pagination .current {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
/* Hide Mobile Elements Globally */
.mobile-menu-overlay,
.menu-toggle,
.mobile-menu-close {
    display: none;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    :root {
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
    }

    .site-header {
        width: calc(100% - var(--space-6));
        top: var(--space-3);
    }

    .header-container {
        padding: 0 16px;
        height: 60px;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Hide Desktop Menu */
    .desktop-menu {
        display: none !important;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #FFFFFF;
        z-index: 2000;
        display: none;
        flex-direction: column;
        overflow-y: auto;
        padding: 24px;
        animation: fadeIn 200ms ease;
    }

    .mobile-menu-overlay.active {
        display: flex;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Mobile Menu Header (Logo + Close) */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        padding-bottom: 16px;
        border-bottom: 1px solid #F1F5F9;
    }

    .mobile-menu-close {
        display: block;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        color: #64748B;
    }

    /* Mobile Nav List */
    .mobile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
        padding: 0;
        list-style: none;
    }

    .mobile-nav-list li a {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #1A272E;
        padding: 8px 0;
        text-decoration: none;
    }

    /* Active Item Style */
    .mobile-nav-list .current-menu-item>a {
        background: #0F4E76;
        color: #FFFFFF;
        padding: 12px 16px;
        border-radius: 12px;
        display: inline-block;
        width: 100%;
    }

    /* Submenu handling */
    .mobile-nav-list ul.sub-menu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;
        margin-left: 0;
        padding-left: 0;
    }

    .mobile-nav-list ul.sub-menu a {
        font-size: 15px;
        color: #64748B;
        font-weight: 500;
        padding: 4px 0;
    }

    /* Mobile CTA Button */
    .mobile-menu-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 16px;
        background: #3CA99D;
        color: #FFFFFF;
        font-weight: 600;
        font-size: 16px;
        border-radius: 12px;
        margin-top: auto;
        /* Push to bottom if content is short */
        text-align: center;
        box-shadow: 0 4px 12px rgba(60, 170, 157, 0.25);
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .category-filters {
        gap: var(--space-2);
    }

    .category-filter-pill {
        padding: 6px 12px;
        font-size: var(--text-xs);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    .single-post-header h1 {
        font-size: var(--text-2xl);
    }

    .post-cta-block {
        padding: var(--space-6);
    }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-gallery {
    margin: var(--space-6) 0;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: var(--text-sm);
    color: var(--color-muted);
    text-align: center;
    margin-top: var(--space-2);
}

.alignleft {
    float: left;
    margin-right: var(--space-6);
    margin-bottom: var(--space-4);
}

.alignright {
    float: right;
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.aligncenter {
    display: block;
    margin: var(--space-6) auto;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Elementor Compatibility */
.elementor-page .site-main {
    padding-top: 0;
}