/**
 * Theme Name: SmartLink AI
 * Theme URI: https://smartlink-ai.com
 * Author: SmartLink AI Team
 * Author URI: https://smartlink-ai.com
 * Description: A modern WordPress theme for SmartLink AI - Shopify SEO optimization platform
 * Version: 1.0.0
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: smartlink-ai
 * Domain Path: /languages
 * Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog
 */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */

:root {
    /* Colors */
    --color-primary: #1132d4;
    --color-primary-dark: #0e29b0;
    --color-primary-light: #3b5bf7;

    --color-bg-light: #f6f6f8;
    --color-bg-white: #ffffff;
    --color-bg-dark: #0d101b;

    --color-text-dark: #0d101b;
    --color-text-muted: #4c599a;
    --color-text-light: #6b7280;
    --color-text-white: #ffffff;

    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 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;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1rem;
}

/* ============================================
   GLOBAL RESETS & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

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

ul,
ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-black);
    line-height: var(--line-height-tight);
    letter-spacing: -0.025em;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.025em;
}

h3 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

h4 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

h5 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}

h6 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-5xl);
}

.section-sm {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.bg-white {
    background-color: var(--color-bg-white);
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* ============================================
   COMPONENT CLASSES
   ============================================ */

/* Section Label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: rgba(17, 50, 212, 0.1);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.section-label .icon {
    font-family: 'Material Symbols Outlined';
    font-size: var(--text-lg);
}

/* Background Utilities */
.bg-light {
    background-color: var(--color-bg-light);
}

.bg-white {
    background-color: var(--color-bg-white);
}

.text-muted {
    color: var(--color-text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
}

.btn .icon {
    font-family: 'Material Symbols Outlined';
    font-size: var(--text-xl);
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    min-width: 200px;
    height: 56px;
}

.btn-xl {
    padding: var(--space-xl) var(--space-2xl);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-black);
    min-width: 240px;
    height: 64px;
    box-shadow: var(--shadow-xl);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    box-shadow: 0 4px 14px rgba(17, 50, 212, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 50, 212, 0.4);
}

.btn-secondary {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    border: 1px solid #cfd3e7;
}

.btn-secondary:hover {
    background-color: var(--color-bg-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-white {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-xl);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

/* Cards */
.card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(17, 50, 212, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.card-icon .icon {
    font-family: 'Material Symbols Outlined';
    font-size: var(--text-2xl);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

/* Feature Card */
.feature-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border-radius: var(--radius-lg);
}

.feature-card-icon .icon {
    font-family: 'Material Symbols Outlined';
    font-size: var(--text-xl);
}

.feature-card-content h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xs);
}

.feature-card-content p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

/* Step Circle */
.step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e7e9f3;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text-dark);
}

.navbar-brand .brand-icon {
    color: var(--color-primary);
    font-size: 28px;
}

.navbar-brand .brand-text {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.02em;
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar-menu {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-dark);
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--color-primary);
}

.navbar-actions {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-dark);
    position: relative;
}

.menu-toggle .close-icon {
    display: none;
}

.site-header.nav-open .menu-toggle .menu-icon {
    display: none;
}

.site-header.nav-open .menu-toggle .close-icon {
    display: block;
}

/* Mobile Navigation (slide-down from menu) */
.site-header .nav-menu.is-active {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg-white);
    padding: var(--space-xl);
    overflow-y: auto;
    z-index: 999;
}

.site-header .nav-menu.is-active .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.site-header .nav-menu.is-active .nav-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.site-header .nav-menu.is-active .nav-link {
    font-size: var(--text-lg);
    display: block;
}

body.nav-open {
    overflow: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    overflow: hidden;
}

.hero.bg-white {
    background-color: var(--color-bg-white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 4px 12px;
    background-color: rgba(17, 50, 212, 0.1);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.hero-badge .material-symbols-outlined {
    font-size: 14px;
}

.hero h1 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

.hero h1 .highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-2xl);
}

.hero-text .btn-group {
    margin-bottom: var(--space-xl);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg-white);
    margin-left: -8px;
}

.trust-avatar:first-child {
    margin-left: 0;
}

.trust-avatar:nth-child(1) {
    background-color: #cbd5e1;
}

.trust-avatar:nth-child(2) {
    background-color: #94a3b8;
}

.trust-avatar:nth-child(3) {
    background-color: #64748b;
}

.trust-text {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.trust-text strong {
    color: var(--color-text-dark);
    font-weight: var(--font-weight-semibold);
}

/* Hero Visual / Dashboard Image */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--color-primary) 0%, #4e6aff 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: visible;
    padding: var(--space-xl);
}

.hero-image-inner {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stat-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background-color: var(--color-bg-white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid #e7e9f3;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    display: block;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.stat-value {
    display: block;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-black);
    color: var(--color-text-dark);
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

.section-eyebrow {
    display: block;
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.problem-card {
    border: 1px solid #cfd3e7;
}

.card-icon--red {
    background-color: #fee2e2;
    color: #dc2626;
}

.card-icon--orange {
    background-color: #ffedd5;
    color: #ea580c;
}

.card-icon--amber {
    background-color: #fef3c7;
    color: #d97706;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */

.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.solution-description {
    font-size: var(--text-lg);
    line-height: var(--line-height-relaxed);
}

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

.feature-tile {
    background-color: var(--color-bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid #e7e9f3;
    transition: all var(--transition-normal);
}

.feature-tile:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-tile .feature-icon {
    color: var(--color-primary);
    font-size: 36px;
    margin-bottom: var(--space-md);
}

.feature-tile h4 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.feature-tile p {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-2xl);
}

.step-card {
    text-align: center;
}

.step-card .step-circle {
    margin-left: auto;
    margin-right: auto;
    width: 80px;
    height: 80px;
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-black);
}

.step-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.step-card p {
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background-color: var(--color-primary);
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-5xl);
    position: relative;
    overflow: hidden;
}

.cta-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 80px;
    opacity: 0.1;
}

.cta-bg-icon .material-symbols-outlined {
    font-size: 300px;
    color: var(--color-text-white);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--color-text-white);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-black);
    max-width: 800px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.cta-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-white);
}

.cta-rating .star {
    font-size: 20px;
}

.cta-rating .rating-text {
    margin-left: var(--space-sm);
    font-weight: var(--font-weight-bold);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    border-top: 1px solid #e7e9f3;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-xl);
}

.footer-badge {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background-color: var(--color-bg-light);
    border: 1px solid #e7e9f3;
}

.footer-badge img {
    height: 32px;
    width: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .navbar-brand {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-relaxed);
}

.footer-column h4 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-lg);
    color: var(--color-text-dark);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    margin-top: var(--space-2xl);
    border-top: 1px solid #e7e9f3;
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-align: center;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-text-muted);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

/* ============================================
   ARCHIVE / BLOG INDEX STYLES
   ============================================ */

.archive-header,
.search-header {
    background-color: var(--color-bg-white);
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-2xl);
}

.archive-title,
.search-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.archive-description {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

.search-count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

.archive-content,
.search-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-3xl);
    align-items: start;
    padding-bottom: var(--space-3xl);
}

.content-area {
    min-width: 0;
}

.single-content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-3xl);
    align-items: start;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
}

/* Post Cards */
.post-thumbnail-link {
    display: block;
    overflow: hidden;
}

.post-thumbnail-link img,
.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-thumbnail-link img,
.post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.post-category {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
}

.post-category:hover {
    text-decoration: underline;
}

.post-date {
    color: var(--color-text-muted);
}

.post-type-label {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-sm);
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

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

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.read-more-link:hover {
    gap: var(--space-sm);
}

.read-more-link .material-symbols-outlined {
    font-size: 18px;
}

.no-posts {
    text-align: center;
    padding: var(--space-4xl) 0;
    color: var(--color-text-muted);
    font-size: var(--text-lg);
}

/* ============================================
   SINGLE POST STYLES
   ============================================ */

.single-hero {
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

.single-hero .hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.single-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(13, 16, 27, 0.8));
}

.single-hero .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3xl) 0;
    color: var(--color-text-white);
}

.single-header-no-image {
    background-color: var(--color-bg-white);
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.single-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: rgba(17, 50, 212, 0.1);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.single-category:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.single-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

.single-hero .single-title {
    color: var(--color-text-white);
}

.single-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.single-hero .single-meta {
    color: rgba(255, 255, 255, 0.8);
}

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

.meta-item .material-symbols-outlined {
    font-size: 18px;
}

.meta-separator {
    color: var(--color-text-light);
}

/* Entry Content (article body) */
.entry-content {
    font-size: var(--text-lg);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-dark);
}

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

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

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

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

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

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

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

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--color-text-muted);
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.entry-content img {
    border-radius: var(--radius-lg);
}

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

.tags-label {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
}

.tag-link {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-bg-light);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.tag-link:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: var(--color-bg-light);
    border-radius: var(--radius-xl);
    margin-top: var(--space-2xl);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar .avatar-img {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.author-name {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xs);
}

.author-name a {
    color: inherit;
    text-decoration: none;
}

.author-name a:hover {
    color: var(--color-primary);
}

.author-description {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

/* Post Navigation */
.post-navigation {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-decoration: none;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: background-color var(--transition-fast);
}

.nav-next {
    text-align: right;
}

.nav-previous:hover,
.nav-next:hover {
    background-color: var(--color-bg-light);
}

.nav-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.nav-next .nav-label {
    justify-content: flex-end;
}

.nav-label .material-symbols-outlined {
    font-size: 18px;
}

.nav-title {
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
    line-height: var(--line-height-tight);
}

/* ============================================
   PAGE STYLES
   ============================================ */

.page-main {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.page-header {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
}

.page-content {
    font-size: var(--text-lg);
    line-height: var(--line-height-relaxed);
}

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

.page-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

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

/* ============================================
   404 PAGE STYLES
   ============================================ */

.error-404 {
    padding: var(--space-5xl) 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.error-number {
    font-size: 8rem;
    font-weight: var(--font-weight-black);
    color: var(--color-primary);
    line-height: 1;
}

.error-icon {
    font-size: 7rem;
    color: var(--color-primary);
    opacity: 0.6;
}

.error-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-md);
}

.error-message {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    line-height: var(--line-height-relaxed);
}

.error-search {
    margin-bottom: var(--space-2xl);
}

.error-search p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.error-actions {
    display: flex;
    justify-content: center;
}

.error-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

/* ============================================
   SEARCH FORM STYLES
   ============================================ */

.search-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.search-field {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    background-color: var(--color-bg-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-field:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 50, 212, 0.1);
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
}

.search-submit .material-symbols-outlined {
    font-size: 20px;
}

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

.no-results-icon {
    margin-bottom: var(--space-xl);
}

.no-results-icon .material-symbols-outlined {
    font-size: 64px;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.no-results h2 {
    margin-bottom: var(--space-md);
}

.no-results p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

/* ============================================
   BLOG STYLES (cards, sidebar, comments)
   ============================================ */

.blog-section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-3xl);
    align-items: start;
}

/* Post Cards */
.posts-grid {
    display: grid;
    gap: var(--space-2xl);
}

.post-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-card-image {
    position: relative;
    overflow: hidden;
}

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

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

.post-card-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.post-category {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

.post-card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    line-height: var(--line-height-tight);
}

.post-card-title a:hover {
    color: var(--color-primary);
}

.post-excerpt {
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.read-more:hover {
    gap: var(--space-sm);
}

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

.pagination .nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-dark);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination .page-numbers:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

.pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    font-weight: var(--font-weight-bold);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 var(--space-md);
    gap: var(--space-xs);
    font-weight: var(--font-weight-semibold);
}

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

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
}

.widget ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.widget li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.widget a:hover {
    color: var(--color-primary);
}

/* Single Post */
.single-post {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.single-post-header {
    padding: var(--space-2xl);
    border-bottom: 1px solid var(--color-border);
}

.single-post-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

.single-post-content {
    padding: var(--space-2xl);
    font-size: var(--text-lg);
    line-height: var(--line-height-relaxed);
}

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

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

.single-post-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.single-post-content ul {
    list-style: disc;
}

.single-post-content ol {
    list-style: decimal;
}

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

.single-post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--color-text-muted);
}

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

/* Comments */
.comments-section {
    padding: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.comments-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xl);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.comment {
    display: flex;
    gap: var(--space-md);
}

.comment-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.comment-date {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.comment-text {
    color: var(--color-text-dark);
    line-height: var(--line-height-relaxed);
}

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

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

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
    margin-bottom: var(--space-md);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.page-numbers:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-numbers.current {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    background-color: var(--color-bg-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 50, 212, 0.1);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234c599a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 48px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    cursor: pointer;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (min-width: 768px) {
    :root {
        --container-padding: 2.5rem;
    }

    .menu-toggle {
        display: none;
    }

    .navbar-menu {
        display: flex;
    }

    .navbar-actions {
        display: flex;
    }

    /* Force mobile nav closed on desktop */
    .site-header .nav-menu.is-active {
        display: flex;
        position: static;
        padding: 0;
    }

    .hero {
        padding-top: var(--space-5xl);
        padding-bottom: var(--space-5xl);
    }

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

    .hero h1 {
        font-size: var(--text-6xl);
    }

    .hero-subtitle {
        font-size: var(--text-xl);
    }

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

    .cta-content h2 {
        font-size: var(--text-6xl);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-copyright {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 2rem;
    }

    .post-card {
        grid-template-columns: 320px 1fr;
    }
}

@media (max-width: 1023px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        order: -1;
    }

    .post-card {
        grid-template-columns: 240px 1fr;
    }

    .archive-content,
    .search-content,
    .single-content-area {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767px) {
    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    h3 {
        font-size: var(--text-2xl);
    }

    .hero h1 {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

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

    .post-card-image {
        height: 200px;
    }

    .single-post-title {
        font-size: var(--text-3xl);
    }

    .single-title {
        font-size: var(--text-3xl);
    }

    .cta-content h2 {
        font-size: var(--text-3xl);
    }

    .cta-bg-icon {
        display: none;
    }

    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-stat-card {
        display: none;
    }

    .search-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@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;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

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

/* ============================================
   WORDPRESS CORE
   ============================================ */

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

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

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-md);
}

.alignwide {
    max-width: 120%;
    margin-left: -10%;
    margin-right: -10%;
}

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

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

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    padding: var(--space-sm);
}

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

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    border-radius: var(--radius-md);
}

/* Sticky Post */
.sticky .post-card {
    border: 2px solid var(--color-primary);
}

/* Bypostauthor */
.bypostauthor .comment-content {
    background-color: rgba(17, 50, 212, 0.05);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
}