/* =====================================================
   Alerfo SEO Premium CSS
   Design system mirrors React UI (Tailwind token parity)
   ===================================================== */

:root {
    --primary:      #4F46E5;   /* indigo-600  */
    --primary-dark: #3730A3;   /* indigo-800  */
    --primary-light:#EEF2FF;   /* indigo-50   */
    --secondary:    #0F172A;   /* slate-900   */
    --accent:       #10B981;   /* emerald-500 */
    --background:   #F8FAFC;   /* slate-50    */
    --surface:      #FFFFFF;
    --text-main:    #1E293B;   /* slate-800   */
    --text-muted:   #64748B;   /* slate-500   */
    --text-light:   #94A3B8;   /* slate-400   */
    --border:       #E2E8F0;   /* slate-200   */
    --shadow-sm:    0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow:       0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md:    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm:    8px;
    --radius:       12px;
    --radius-lg:    16px;
    --radius-xl:    24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

/* ==================== HEADER ==================== */
/* Scope sticky nav to .site-header only — prevents any nested <header> inside
   article/section from also becoming sticky and overlapping the nav. */
header.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

/* Reset any nested <header> inside article content so it stays in flow */
article header,
.blog-article-wrap header {
    position: static;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    z-index: auto;
    display: block;
}

.header-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.logo-section:hover { opacity: 0.85; }

/* Logo image — matches React's w-10 h-10 object-contain */
.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
    line-height: 1;
}
.logo-text small {
    display: none; /* hidden to keep header clean like React */
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    list-style: none;
}
.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
    padding: 6px 0;
    position: relative;
}
.nav-menu a:hover { color: var(--secondary); }
.nav-menu a.active {
    color: var(--secondary);
}
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* CTA button in header */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile menu dropdown */
.mobile-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.mobile-nav ul li:last-child { border-bottom: none; }
.mobile-nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}
.mobile-nav .header-cta { margin-top: 12px; width: 100%; justify-content: center; }

/* ==================== MAIN CONTAINER ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

.page-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    min-height: calc(100vh - 400px);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* ==================== BREADCRUMB ==================== */
/* Light theme breadcrumb — matches React's inline arrow-link style */
.breadcrumb-container {
    padding: 14px 0 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.breadcrumb-container a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-container a:hover { color: var(--primary); }
.breadcrumb-separator { opacity: 0.4; }

/* Breadcrumb wrapper when placed inside a padded section */
.breadcrumb-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ==================== HERO SECTIONS ==================== */
/* Main hero — matches React's bg-slate-900 */
.page-hero {
    background: #0F172A;
    color: white;
    padding: 56px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: rgba(79, 70, 229, 0.08);
    filter: blur(80px);
    border-radius: 50%;
}
.page-hero h1 {
    color: white;
    position: relative;
    z-index: 1;
}
.page-hero p {
    position: relative;
    z-index: 1;
    color: #CBD5E1; /* slate-300 */
}
.hero-accent { color: #818CF8; } /* indigo-400 — same as React's text-indigo-400 */

/* ==================== BLOG LIST PAGE ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 28px;
}

/* Blog card — mirrors React's article.bg-white.rounded-2xl.shadow-sm */
.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 36px;
    color: rgba(255,255,255,0.12);
    letter-spacing: 2px;
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Date + reading time row — mirrors React's flex items-center gap-4 */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 14px;
}
.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.blog-card-meta svg { opacity: 0.7; }

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.2s;
}
.blog-card-title:hover { color: var(--primary); }

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.65;
}

/* Card footer: author + read link */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    flex-shrink: 0;
}
.blog-author-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
}

/* "Read Story →" link */
.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s;
}
.blog-read-link:hover { gap: 8px; }
.blog-read-link svg { transition: transform 0.2s; }
.blog-read-link:hover svg { transform: translateX(3px); }

/* ==================== BLOG DETAIL PAGE ==================== */
/* Clean single-column, max-w-3xl like React */
.blog-article-wrap {
    max-width: 768px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

/* Back link */
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color 0.2s;
}
.blog-back-link:hover { color: var(--primary); }
.blog-back-link svg { transition: transform 0.2s; }
.blog-back-link:hover svg { transform: translateX(-3px); }

/* Post header */
.blog-post-title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.blog-post-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog-post-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    flex-shrink: 0;
}
.blog-post-author-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 15px;
}
.blog-post-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}
.blog-post-author-info .dot {
    width: 4px;
    height: 4px;
    background: var(--border);
    border-radius: 50%;
    display: inline-block;
}

/* Share buttons */
.blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s;
    background: white;
}
.share-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

/* Featured image — sits ABOVE the title */
.blog-featured-image {
    width: 100%;
    border-radius: var(--radius-xl);
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    line-height: 0; /* eliminates gap below image */
}
.blog-featured-image img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: cover; }

/* Excerpt — matches React's border-l-4 border-indigo-200 pl-6 */
.blog-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.65;
    border-left: 4px solid #C7D2FE; /* indigo-200 */
    padding: 8px 0 8px 20px;
    margin-bottom: 28px;
}

/* ==================== BLOG PROSE CONTENT ==================== */
/* Mirrors @tailwindcss/typography prose-lg */
.blog-content {
    font-size: 15px;
    line-height: 1.75;
    color: #334155; /* slate-700 */
}
.blog-content h1,
.blog-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    margin: 36px 0 14px;
    letter-spacing: -0.3px;
}
.blog-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin: 28px 0 10px;
}
.blog-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0 8px;
}
.blog-content p { margin-bottom: 22px; }
.blog-content a { color: var(--primary); font-weight: 600; text-decoration: none; }
.blog-content a:hover { text-decoration: underline; }
.blog-content strong { color: var(--secondary); font-weight: 700; }
.blog-content em { font-style: italic; }
.blog-content ul,
.blog-content ol {
    padding-left: 28px;
    margin-bottom: 24px;
}
.blog-content li { margin-bottom: 8px; }
.blog-content blockquote {
    border-left: 4px solid #C7D2FE;
    padding: 8px 0 8px 24px;
    color: var(--text-muted);
    font-style: italic;
    margin: 32px 0;
    font-size: 18px;
}
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 32px 0;
    box-shadow: var(--shadow);
}
.blog-content code {
    background: #F1F5F9;
    color: #BE123C;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}
.blog-content pre {
    background: #0F172A;
    color: #E2E8F0;
    padding: 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 32px 0;
    font-size: 14px;
    line-height: 1.7;
}
.blog-content pre code { background: none; color: inherit; padding: 0; }
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
}
.blog-content th {
    background: #F8FAFC;
    border: 1px solid var(--border);
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--secondary);
}
.blog-content td {
    border: 1px solid var(--border);
    padding: 12px 16px;
}
.blog-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 48px 0;
}

/* ==================== BLOG POST CTA (matches React) ==================== */
.blog-post-cta {
    background: #F8FAFC;  /* slate-50 */
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    margin-top: 48px;
}
.blog-post-cta h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
.blog-post-cta p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 480px;
    margin: 0 auto 24px;
}
.blog-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ==================== NEWSLETTER SECTION ==================== */
/* Matches React's bg-indigo-600 section */
.newsletter-section {
    background: var(--primary);
    padding: 48px 32px;
    text-align: center;
    color: white;
    margin-top: 0;
}
.newsletter-section h2 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}
.newsletter-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
}
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 15px;
    outline: none;
    color: var(--secondary);
}
.newsletter-btn {
    background: #0F172A;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.newsletter-btn:hover { background: #1E293B; }

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 32px 80px;
}
.pagination-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.pagination-link:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.pagination-link.active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination-link.disabled { opacity: 0.4; pointer-events: none; }

/* ==================== PREMIUM PROMOTION ==================== */
.premium-promo {
    background: var(--secondary);
    color: white;
    padding: 64px 24px;
    position: relative;
    z-index: 1;
}
.premium-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
    z-index: -1;
}
.promo-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: center;
}
.promo-content h2 { font-size: 30px; color: white; margin-bottom: 16px; letter-spacing: -0.5px; }
.promo-content p { font-size: 15px; color: #94A3B8; margin-bottom: 28px; max-width: 520px; }
.promo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.promo-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: var(--radius);
    transition: border-color 0.3s;
}
.promo-stat-card:hover { border-color: rgba(79,70,229,0.4); }
.promo-stat-card strong { display: block; font-family: 'Outfit', sans-serif; font-size: 22px; color: var(--accent); margin-bottom: 4px; }
.promo-stat-card span { font-size: 13px; color: #94A3B8; }

/* Buttons */
.btn-premium {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.4);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}
.btn-premium:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 14px 28px -6px rgba(79,70,229,0.5); }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--primary);
    transition: all 0.25s;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}
.btn-outline:hover { background: var(--primary); color: white; }

/* ==================== SHARED COMPONENTS ==================== */
.sentiment-tag {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sentiment-tag.positive { background: #DCFCE7; color: #166534; }
.sentiment-tag.negative { background: #FEE2E2; color: #991B1B; }
.sentiment-tag.neutral  { background: #F1F5F9; color: #475569; }

.promo-box-inline {
    background: var(--primary-light);
    border: 1px dashed var(--primary);
    padding: 28px 32px;
    border-radius: var(--radius);
    text-align: center;
    margin: 24px 0;
}
.promo-box-inline h4 { color: var(--primary); margin-bottom: 8px; font-size: 17px; }
.promo-box-inline p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.link-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.link-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card span { display: block; font-weight: 700; color: var(--secondary); font-size: 14px; }

/* ==================== FOOTER — dark like React ==================== */
footer {
    background: #0F172A; /* slate-900 — matches React footer exactly */
    padding: 48px 24px 28px;
    margin-top: 0;
    border-top: none;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
}
/* Footer logo image — matches React's w-8 h-8 object-contain */
.footer-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.footer-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 48px;
}

.footer-section p {
    color: #94A3B8; /* slate-400 */
    font-size: 14px;
    line-height: 1.7;
    margin-top: 4px;
}
.footer-section h3 {
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 12px; }
.footer-section a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-section a:hover { color: white; }

.footer-links-inline {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.footer-links-inline a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-links-inline a:hover { color: white; }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    color: #475569; /* slate-600 */
    padding-top: 32px;
    border-top: 1px solid #1E293B; /* slate-800 */
    font-size: 13px;
}

/* ==================== NEWS CARDS ==================== */
.news-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: var(--shadow); }

/* ==================== SIDEBAR ==================== */
.sidebar-widget {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}
.sidebar-widget h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .promo-container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .promo-content p { margin-left: auto; margin-right: auto; }
    .promo-stats { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .header-container { padding: 0 16px; }
    .nav-menu, .header-cta { display: none; }
    .hamburger { display: flex; }
    .container { padding: 16px; }
    .blog-grid { padding: 32px 16px; grid-template-columns: 1fr; gap: 20px; }
    .blog-article-wrap { padding: 32px 16px 60px; }
    .blog-post-meta-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
    .blog-share-buttons { display: none; } /* hidden on mobile to match React */
    .blog-post-cta { padding: 32px 24px; }
    .newsletter-section { padding: 48px 16px; }
    .footer-content { grid-template-columns: 1fr; gap: 36px; }
    .footer-links-inline { gap: 20px; }
    .promo-content h2 { font-size: 24px; }
    .page-hero { padding: 40px 20px; }
    .quick-links-grid { grid-template-columns: 1fr 1fr; padding: 0 16px; }
    .pagination { padding: 0 16px 60px; }
    .blog-post-cta h2 { font-size: 20px; }
}

@media (max-width: 480px) {
    .blog-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input, .newsletter-btn { width: 100%; }
    .blog-cta-buttons { flex-direction: column; align-items: stretch; }
    .blog-cta-buttons .btn-premium,
    .blog-cta-buttons .btn-outline { text-align: center; }
}
