/**
 * Hub - Modern 2025 Design System
 * Clean, minimal, user-focused design with excellent readability
 */

/* Fix WordPress wrapping headings in P tags */
p h2, p h3 {
    display: block;
    margin: 0;
}

p:has(> h2), p:has(> h3) {
    margin: 0;
    padding: 0;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: var(--accent-primary, #667eea);
    width: 0%;
    transition: width 0.2s ease-out;
}

/* ===========================================
   MODERN HUB INDEX STYLES
   =========================================== */

/* Container */
.hub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .hub-container {
        padding: 0 1rem;
    }
}

/* Hero Section - Using site's hero styling (overrides if needed) */
.hub-hero-modern {
    /* Removed - now using .hero from main.css */
}

.hero-content-modern {
    /* Removed - now using .hero-content from main.css */
}

.hero-content-modern h1 {
    /* Removed - now using .hero h1 from main.css */
}

.hero-subtitle-modern {
    /* Removed - now using .hero-subtitle from main.css */
}

.search-modern {
    max-width: 500px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
    z-index: 3;
    transition: all 0.2s ease;
}

.search-input-modern {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    color: var(--primary);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-input-modern::placeholder {
    color: var(--text-secondary);
}

.search-input-modern:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15);
    background: white;
}

.search-input-modern:focus + .search-input-wrapper svg {
    color: var(--accent);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-content-modern h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle-modern {
        font-size: 1.125rem;
    }
}

/* Category Filter Bar - Using site design language */
.category-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.category-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-filter-btn:hover {
    background: var(--surface);
    color: var(--primary);
    border-color: var(--accent);
}

.category-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

@media (max-width: 768px) {
    .category-filter-bar {
        gap: 0.375rem;
        padding: 1rem 0;
    }

    .category-filter-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Stats Banner - Using site's glass card styling */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--surface-raised);
    border-radius: var(--radius-l);
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-banner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Articles Grid - Refined Card Design */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: 4rem;
}

.article-card {
    background: var(--surface-raised);
    border-radius: var(--radius-l);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--border-strong);
}

/* Featured card now uses same styling as regular cards, just larger */
.article-card.featured {
    /* Removed - no longer using dark background */
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-tag {
    /* Removed - no longer using tags on cards */
}

.article-date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: color 0.2s ease;
}

.article-card:hover .article-title {
    color: var(--accent);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-card.featured .article-title {
        font-size: 1.75rem;
    }
}

/* Newsletter CTA - Using site's CTA styling */
.newsletter-cta-modern {
    background: var(--surface-raised);
    padding: 3rem 2rem;
    border-radius: var(--radius-l);
    text-align: center;
    color: var(--primary);
    margin: 3rem 0;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.newsletter-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.newsletter-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.newsletter-form-modern {
    display: flex;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.newsletter-input-modern {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    font-size: 1rem;
    background: white;
    color: var(--primary);
    transition: all 0.2s ease;
}

.newsletter-input-modern::placeholder {
    color: var(--text-secondary);
}

.newsletter-input-modern:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.15);
    transform: translateY(-1px);
}

.newsletter-button-modern {
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-m);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-button-modern:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.3);
}

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
}

@media (max-width: 768px) {
    .newsletter-form-modern {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* No Content State */
.no-content-modern {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-content-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-content-modern h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.no-content-modern p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ===========================================
   MODERN ARTICLE/POST STYLES
   =========================================== */

/* Breadcrumb - Using site styling */
.breadcrumb-modern {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.breadcrumb-modern-content {
    display: flex;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.back-link svg {
    transition: transform 0.2s ease;
}

.back-link:hover svg {
    transform: translateX(-2px);
}

/* Article Container */
.article-modern {
    padding: 3rem 0 4rem;
}

/* Article Header */
.article-header-modern {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.article-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border-radius: 2px;
}

.article-meta-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-tag-modern {
    background: var(--accent-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date-modern {
    color: var(--text-tertiary);
}

.reading-time {
    color: var(--text-tertiary);
}

.article-title-modern {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.article-excerpt-modern {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Floating Action Button */
.floating-nav {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid #334155;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-main:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.125rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
}

.fab-option:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fab-option::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
}

.fab-option:hover::before {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-nav {
        bottom: 1rem;
        right: 1rem;
    }

    .fab-main {
        width: 56px;
        height: 56px;
    }

    .fab-option {
        width: 46px;
        height: 46px;
        font-size: 1.125rem;
    }
}

/* Category and Tag Pills */
.article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 1.5rem 0;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.category-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: center;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #6b7280;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #374151;
}

/* Smaller pills for index page */
.article-categories-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.category-pill-small {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
    border-radius: 20px;
    text-transform: capitalize;
}

.article-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.share-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #e2e8f0;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-button:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .article-title-modern {
        font-size: 2.25rem;
    }

    .article-excerpt-modern {
        font-size: 1.125rem;
    }

    .article-meta-modern {
        flex-wrap: wrap;
    }
}

/* Article Content */
.article-content-modern {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-primary);
    position: relative;
}

.article-content-modern h1,
.article-content-modern h2,
.article-content-modern h3,
.article-content-modern h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    scroll-margin-top: 2rem; /* For smooth anchor links */
}

.article-content-modern h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.article-content-modern h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.article-content-modern h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.article-content-modern h3 {
    font-size: 1.5rem;
    position: relative;
    padding: 1rem 1.5rem;
    margin: 2.5rem -1.5rem 2rem -1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.article-content-modern h4 {
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.article-content-modern p {
    margin-bottom: 1.75rem;
    text-align: left;
}

.article-content-modern p:first-of-type {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-content-modern a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid #93c5fd;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
}

.article-content-modern a::before {
    content: '🔗';
    font-size: 0.8em;
    margin-right: 0.25em;
    opacity: 0.6;
}

.article-content-modern a:hover {
    border-bottom-color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 3px;
    padding: 0 4px;
    margin: 0 -4px;
}

.article-content-modern a:hover::before {
    opacity: 1;
}

.article-content-modern strong {
    font-weight: 600;
    color: var(--text-primary);
}

.article-content-modern em {
    font-style: italic;
}

.article-content-modern ul,
.article-content-modern ol {
    margin: 2rem 0;
    padding-left: 0;
}

.article-content-modern ul li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2rem;
    list-style: none;
}

.article-content-modern ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1.1em;
}

.article-content-modern ol li {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

/* Special styling for dash lists in content */
.article-content-modern p {
    position: relative;
}

/* Style for paragraphs that start with –  */
.article-content-modern p:has-text("–") {
    padding-left: 1.5rem;
}

/* Better handling of strong text in lists */
.article-content-modern strong {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    padding: 0.125rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.article-content-modern hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
    margin: 3.5rem 0;
    position: relative;
    border-radius: 1px;
}

.article-content-modern hr::after {
    content: '●●●';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #0ea5e9;
    font-size: 0.75rem;
    letter-spacing: 0.5rem;
    padding: 0 1rem;
}

.article-content-modern blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Content Enhancement Elements */
.article-content-modern .highlight-box {
    background: rgba(var(--accent-primary-rgb), 0.05);
    border: 2px solid rgba(var(--accent-primary-rgb), 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.article-content-modern .highlight-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 1.5rem;
    background: white;
    padding: 0 0.5rem;
    font-size: 1.25rem;
}

/* What to know callouts */
.article-content-modern p:has-text("*What to know:*") {
    background: #fef3cd;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Newsletter CTA in Article */
.article-newsletter-cta {
    max-width: 600px;
    margin: 3rem auto;
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    border: 1px solid #334155;
}

.newsletter-cta-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.newsletter-cta-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletter-form-inline {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.newsletter-input-inline {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: var(--text-primary);
}

.newsletter-input-inline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-btn-inline {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-btn-inline:hover {
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-privacy {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 768px) {
    .newsletter-form-inline {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Related Articles */
.related-articles-modern {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.related-articles-modern h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}

.related-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.related-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.related-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

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

    .related-card {
        padding: 1.25rem;
    }

    /* Article Content Mobile Styles */
    .article-content-modern {
        font-size: 1rem;
        line-height: 1.7;
    }

    .article-content-modern h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .article-content-modern h2 {
        font-size: 1.75rem;
        margin-top: 2.5rem;
    }

    .article-content-modern h3 {
        font-size: 1.375rem;
        margin-left: 0;
        padding-left: 0.75rem;
    }

    .article-content-modern p:first-of-type {
        font-size: 1.125rem;
    }

    .article-content-modern .highlight-box {
        margin: 2rem -1rem;
        padding: 1.5rem 1rem;
        border-radius: 0;
        border-left: 4px solid var(--accent-primary);
        border-right: none;
        border-top: none;
        border-bottom: none;
    }

    .article-newsletter-cta {
        margin: 3rem -1rem;
        border-radius: 0;
        padding: 2rem 1.5rem;
    }
}

/* ===========================================
   BRAND CALLOUT ENHANCEMENTS
   =========================================== */

/* Mini PPA Indicators - Shows 5-dot ratings for People/Planet/Animals scores */
.article-content-modern .brand-link-enhanced {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.ppa-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.25rem;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.ppa-category-dots {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.ppa-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.3;
    transition: all 0.2s ease;
    border: 1px solid currentColor;
}

.ppa-dot.filled {
    opacity: 1;
    box-shadow: 0 0 4px currentColor;
}

.ppa-category-dots.people .ppa-dot {
    color: #FF6B6B;
}

.ppa-category-dots.planet .ppa-dot {
    color: #4ECDC4;
}

.ppa-category-dots.animals .ppa-dot {
    color: #A78BFA;
}

.ppa-category-dots.people .ppa-dot.filled {
    background: #FF6B6B;
}

.ppa-category-dots.planet .ppa-dot.filled {
    background: #4ECDC4;
}

.ppa-category-dots.animals .ppa-dot.filled {
    background: #A78BFA;
}

.ppa-category-dots.people .ppa-dot.half-filled {
    background: linear-gradient(90deg, #FF6B6B 50%, transparent 50%);
    opacity: 1;
}

.ppa-category-dots.planet .ppa-dot.half-filled {
    background: linear-gradient(90deg, #4ECDC4 50%, transparent 50%);
    opacity: 1;
}

.ppa-category-dots.animals .ppa-dot.half-filled {
    background: linear-gradient(90deg, #A78BFA 50%, transparent 50%);
    opacity: 1;
}

/* Enhanced on hover */
.article-content-modern a.brand-link-enhanced:hover .ppa-indicator {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.article-content-modern a.brand-link-enhanced:hover .ppa-dot.filled {
    transform: scale(1.15);
}

/* Inline Score Badge - Optional for high-scoring brands */
.brand-score-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    margin-left: 0.35rem;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4F46E5;
    font-family: var(--font-mono, monospace);
}

/* Featured Brand Callout Section - Two column layout */
.featured-brand-callout {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Hide br tags that WordPress adds */
.featured-brand-callout br {
    display: none;
}

.featured-brand-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    row-gap: 0.5rem !important;
}

.featured-brand-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.featured-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, #4F46E5 0%, #9333EA 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 0 !important;
}

.featured-brand-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.featured-brand-logo-container {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.featured-brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 !important;
}

.featured-brand-logo-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4F46E5 0%, #9333EA 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 8px;
}

.featured-brand-name-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-brand-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 !important;
    line-height: 1.2;
}

.featured-brand-link {
    color: inherit;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.featured-brand-link:hover {
    color: var(--accent);
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.featured-brand-link::before {
    content: none;
    display: none;
}

.featured-brand-score-dots {
    display: flex;
    gap: 3px;
}

.featured-brand-score-dots .rating-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.2);
    transition: all 0.3s ease;
}

.featured-brand-score-dots .rating-dot.filled {
    background: var(--accent);
    animation: dotFill 0.4s ease forwards;
}

.featured-brand-score-dots .rating-dot.half-filled {
    background: linear-gradient(90deg, var(--accent) 50%, rgba(107, 114, 128, 0.2) 50%);
    animation: dotFill 0.4s ease forwards;
}

/* Retailer list - text links like Babylist */
.featured-brand-retailers {
    display: block;
}

.featured-retailer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0 !important;
    margin: 0 !important;
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0 !important;
    background: none !important;
}

.featured-retailer-link:last-child {
    border-bottom: none;
}

.featured-retailer-link::before {
    content: none !important;
    display: none !important;
}

.featured-retailer-link:hover {
    background: none !important;
    border-bottom-color: #e5e7eb !important;
    padding: 0.625rem 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.featured-retailer-link:hover .featured-retailer-name {
    color: var(--accent);
}

.featured-retailer-link:hover .featured-retailer-arrow {
    color: var(--accent);
}

.featured-retailer-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.featured-retailer-arrow {
    color: #9ca3af;
    font-size: 1.25rem;
    margin-left: 1rem;
}

.featured-brand-ppa {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.ppa-score-item {
    flex: 1;
    text-align: center;
}

.ppa-score-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.ppa-score-label--people { color: #FF6B6B; }
.ppa-score-label--planet { color: #4ECDC4; }
.ppa-score-label--animals { color: #A78BFA; }

.ppa-score-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    line-height: 1;
}

.ppa-score-item--people .ppa-score-value { color: #FF6B6B; }
.ppa-score-item--planet .ppa-score-value { color: #4ECDC4; }
.ppa-score-item--animals .ppa-score-value { color: #A78BFA; }

.ppa-score-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.ppa-score-dots .ppa-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0.3;
    transition: all 0.2s ease;
}

.ppa-score-dots .ppa-dot.filled {
    opacity: 1;
    box-shadow: 0 0 8px currentColor;
}

.ppa-score-item--people .ppa-score-dots .ppa-dot {
    color: #FF6B6B;
}

.ppa-score-item--planet .ppa-score-dots .ppa-dot {
    color: #4ECDC4;
}

.ppa-score-item--animals .ppa-score-dots .ppa-dot {
    color: #A78BFA;
}

.ppa-score-item--people .ppa-score-dots .ppa-dot.filled {
    background: #FF6B6B;
}

.ppa-score-item--people .ppa-score-dots .ppa-dot.half-filled {
    background: linear-gradient(90deg, #FF6B6B 50%, transparent 50%);
    opacity: 1;
}

.ppa-score-item--planet .ppa-score-dots .ppa-dot.filled {
    background: #4ECDC4;
}

.ppa-score-item--planet .ppa-score-dots .ppa-dot.half-filled {
    background: linear-gradient(90deg, #4ECDC4 50%, transparent 50%);
    opacity: 1;
}

.ppa-score-item--animals .ppa-score-dots .ppa-dot.filled {
    background: #A78BFA;
}

.ppa-score-item--animals .ppa-score-dots .ppa-dot.half-filled {
    background: linear-gradient(90deg, #A78BFA 50%, transparent 50%);
    opacity: 1;
}

.featured-brand-content {
    font-size: 1.125rem;
    line-height: 1.75;
}

.featured-brand-content p {
    margin-bottom: 1rem;
}

/* Pull-out Stat Highlight - For key claims */
.stat-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.stat-highlight__icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: grayscale(0.2);
}

.stat-highlight__content {
    flex: 1;
}

.stat-highlight__number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0369a1;
    font-family: var(--font-display);
    line-height: 1.2;
}

.stat-highlight__label {
    display: block;
    font-size: 0.875rem;
    color: #0c4a6e;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Brand Comparison Mini Table */
.brand-comparison-table {
    margin: 2.5rem 0;
    overflow-x: auto;
}

.brand-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.brand-comparison-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1rem;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 2px solid #cbd5e1;
}

.brand-comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.brand-comparison-table tr:last-child td {
    border-bottom: none;
}

.brand-comparison-table tr:hover {
    background: #f8fafc;
}

/* Mobile Responsiveness for Brand Callouts */
@media (max-width: 768px) {
    .featured-brand-callout {
        padding: 1.5rem;
        margin: 2rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .featured-brand-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .featured-brand-score-dots {
        margin-left: 0;
    }

    .featured-brand-buttons {
        flex-direction: column;
        width: 100%;
    }

    .featured-shop-button {
        width: 100%;
        justify-content: center;
    }

    .featured-brand-ppa {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ppa-score-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .ppa-score-label {
        margin-bottom: 0;
    }

    .stat-highlight {
        flex-direction: column;
        text-align: center;
        margin: 2rem -1rem;
        border-radius: 0;
    }

    .brand-comparison-table {
        margin: 2rem -1rem;
    }
}