@import url('variables.css');

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

body {
    font-family: var(--font-primary, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
    line-height: 1.6;
    background: var(--gradient-body);
    color: var(--color-text);
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-md);
}

.container-mt-20 {
    margin-top: 80px;
}

.container-mt-40 {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .container-mt-20 {
        margin-top: 60px;
    }
}
@media (max-width: 480px) {
    .container-mt-20 {
        margin-top: 48px;
    }
}

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

/* Header & Navigation */
#site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 20px auto 20px auto !important;
    max-width: 1400px !important;
    padding: 0 20px !important;
}

.header {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.9), rgba(13, 27, 42, 0.9));
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 192, 240, 0.1);
    position: relative;
    overflow: hidden;
    display: block !important;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #40c0f0, transparent);
    opacity: 0.6;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.tagline {
    text-align: right;
    font-size: 0.9rem;
}

.tagline-main {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
}

.tagline-sub {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    background: 
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(64, 192, 240, 0.12) 0%, transparent 60%),
        transparent;
    border: none;
    border-radius: 0;
    padding: 100px 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64, 192, 240, 0.25), transparent);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #89cff0;
    margin-bottom: 35px;
    text-shadow: 0 0 15px rgba(137, 207, 240, 0.3);
}

.hero .description {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 900px;
    margin: 0 auto 70px;
    line-height: 1.7;
}

.hero.header {
    background: 
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(64, 192, 240, 0.12) 0%, transparent 60%),
        transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 80px 40px;
}

/* Brand Philosophy Section */
.philosophy-section {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8) 0%, rgba(13, 27, 42, 0.9) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 60px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(64, 192, 240, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #40c0f0, transparent);
    opacity: 0.6;
}

.brand-pillars {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pillar {
    font-size: 1.3rem;
    font-weight: 600;
    color: #40c0f0;
    text-shadow: 0 0 15px rgba(64, 192, 240, 0.3);
}

.ceo-quote {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(26, 40, 68, 0.3));
    border: 1px solid rgba(64, 192, 240, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    font-style: italic;
    color: #89cff0;
    font-size: 1.1rem;
    line-height: 1.7;
    backdrop-filter: blur(10px);
}

.dual-advantage {
    text-align: left;
    margin-top: 50px;
}

.dual-advantage h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.dual-advantage p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlight {
    color: #00b2a9;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 178, 169, 0.3);
}

.electric-highlight {
    color: #40c0f0;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(64, 192, 240, 0.3);
}

/* Search and Filter Section */
.search-filter-section {
    margin: 60px 0 40px;
    text-align: center;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid rgba(64, 192, 240, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8), rgba(13, 27, 42, 0.9));
    color: #ffffff;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #00b2a9;
    box-shadow: 0 0 20px rgba(0, 178, 169, 0.3);
}

.search-input::placeholder {
    color: #89cff0;
    opacity: 0.7;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #89cff0;
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-width: 100%;
    padding: 10px 20px;
    overflow-x: auto;
}

.filter-btn {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8), rgba(13, 27, 42, 0.9));
    color: #89cff0;
    border: 2px solid rgba(64, 192, 240, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    margin: 5px;
    white-space: nowrap;
    min-height: 44px;
}

.filter-btn:hover {
    border-color: #00b2a9;
    color: #00b2a9;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #00b2a9, #0291BA);
    color: white;
    border-color: #00b2a9;
}

.results-count {
    color: #89cff0;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.no-results {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.6), rgba(13, 27, 42, 0.8));
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    border: 2px dashed rgba(64, 192, 240, 0.3);
}

.no-results h3 {
    color: #40c0f0;
    margin-bottom: 15px;
}

.no-results p {
    color: #cccccc;
}
.articles-section {
    margin: 80px 0;
}

.articles-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 40px;
    margin: 60px 0;
}

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

.articles-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #a0c0e0;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.articles-loading::before {
    content: '⏳ ';
    display: inline-block;
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.article-card {
    background: rgba(20, 32, 55, 0.7);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(64, 192, 240, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(64, 192, 240, 0.15);
    background: rgba(26, 40, 68, 0.8);
}

.article-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 14px;
}

.article-date {
    color: #89cff0;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-category {
    background: rgba(64, 192, 240, 0.1);
    color: var(--accent-primary, #40c0f0);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    white-space: nowrap;
}

.article-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover h3 {
    color: var(--accent-primary, #40c0f0);
}

.article-excerpt {
    color: rgba(200, 210, 225, 0.85);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-stats {
    display: flex;
    gap: 12px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid rgba(64, 192, 240, 0.08);
    font-size: 0.75rem;
    color: rgba(160, 192, 224, 0.7);
}

.stat-item {
    display: flex;
    align-items: center;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 0;
    color: var(--accent-primary, #40c0f0);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-link:hover {
    color: #ffffff;
    gap: 10px;
}

/* ====== Highlights Section (Startseite) ====== */

.highlights-section {
    margin: 80px 0;
}

/* Featured Article Card */
.highlights-featured {
    margin-bottom: 32px;
}

.highlights-featured-card {
    display: block;
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.85) 0%, rgba(10, 22, 37, 0.9) 100%);
    border: 1px solid rgba(64, 192, 240, 0.18);
    border-radius: 16px;
    padding: 40px 48px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.highlights-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #40c0f0, #00b2a9);
    border-radius: 16px 16px 0 0;
}

.highlights-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(64, 192, 240, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.highlights-featured-card .article-category {
    margin-bottom: 16px;
    display: inline-block;
    font-size: 0.7rem;
}

.highlights-featured-card h3 {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.highlights-featured-card .article-excerpt {
    color: rgba(200, 215, 230, 0.88);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.highlights-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #40c0f0;
    font-size: 0.95rem;
    font-weight: 600;
    transition: gap 0.2s ease, color 0.2s ease;
}

.highlights-featured-card:hover .highlights-read-more {
    gap: 10px;
    color: #ffffff;
}

/* Recent grid: 5 Artikel in 3+2 Layout */
.highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0;
}

/* CTA Button */
.highlights-cta {
    text-align: center;
    margin: 40px 0 20px;
}

.highlights-cta-btn {
    background: linear-gradient(135deg, #40c0f0, #00b2a9);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(64, 192, 240, 0.3);
    letter-spacing: 0.01em;
}

.highlights-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(64, 192, 240, 0.45);
    background: linear-gradient(135deg, #5ccfff, #00c8b4);
}

@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-featured-card {
        padding: 32px 36px;
    }

    .highlights-featured-card h3 {
        font-size: 1.45rem;
    }
}

@media (max-width: 640px) {
    .highlights-featured-card {
        padding: 24px 22px;
    }

    .highlights-featured-card h3 {
        font-size: 1.2rem;
    }

    .highlights-featured-card .article-excerpt {
        font-size: 0.9rem;
    }

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

/* ====== End Highlights Section ====== */

/* Articles Grid Layout */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

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

    .article-card {
        padding: 22px;
    }
    
    .article-card h3 {
        font-size: 1.15rem;
    }
    
    .article-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
}

.article-link {
    background: linear-gradient(135deg, rgba(0, 178, 169, 0.2), rgba(64, 192, 240, 0.2));
    color: #40c0f0;
    padding: 12px 25px;
    border: 1px solid rgba(64, 192, 240, 0.3);
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-link:hover {
    background: linear-gradient(135deg, rgba(0, 178, 169, 0.3), rgba(64, 192, 240, 0.3));
    border-color: #00b2a9;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: #050d1a;
    border: 1px solid rgba(64, 192, 240, 0.15);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 80px 0;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.cta-section p {
    color: #cccccc;
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, #00b2a9, #0291BA);
    color: white;
    padding: 18px 40px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(0, 178, 169, 0.45), 0 0 0 0 rgba(0, 178, 169, 0);
    text-decoration: none;
    display: inline-block;
    margin: 0 10px 10px;
    letter-spacing: 0.02em;
    min-height: 54px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0291BA, #00b2a9);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 178, 169, 0.55), 0 0 0 4px rgba(0, 178, 169, 0.15);
}

.cta-secondary {
    background: transparent;
    border: 2px solid rgba(64, 192, 240, 0.6);
    color: #40c0f0;
    box-shadow: none;
}

.cta-secondary:hover {
    background: rgba(64, 192, 240, 0.1);
    border-color: #40c0f0;
    box-shadow: 0 8px 24px rgba(64, 192, 240, 0.2);
    color: #ffffff;
}

/* Trust micro-bar unterhalb der CTA-Buttons */
.cta-trust-signals {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(160, 192, 224, 0.7);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

.cta-trust-signals span {
    white-space: nowrap;
}

.cta-trust-signals .trust-dot {
    color: rgba(64, 192, 240, 0.4);
    font-weight: 300;
}

/* Future Articles Placeholder */
.coming-soon {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.6), rgba(13, 27, 42, 0.8));
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 2px dashed rgba(64, 192, 240, 0.3);
    backdrop-filter: blur(10px);
}

.coming-soon h3 {
    color: #40c0f0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.coming-soon p {
    color: #cccccc;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-card {
        padding: 30px 25px;
    }
    
    .brand-pillars {
        flex-direction: column;
        gap: 20px;
    }
    
    .philosophy-section {
        padding: 40px 25px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .tagline {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .hero {
        padding: 120px 25px 20px;
    }

    .article-card {
        padding: 25px 20px;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
        display: block;
        margin: 10px 0;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 14px 18px 14px 50px;
    }
    
    .search-icon {
        left: 20px;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 5px;
    padding: 0 12px;
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8), rgba(13, 27, 42, 0.9));
    color: #89cff0;
    border: 2px solid rgba(64, 192, 240, 0.3);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-button:hover {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.9), rgba(13, 27, 42, 1));
    border-color: rgba(64, 192, 240, 0.6);
    box-shadow: 0 0 15px rgba(64, 192, 240, 0.3);
    transform: translateY(-2px);
}

.pagination-button.active {
    background: linear-gradient(135deg, rgba(64, 192, 240, 0.8), rgba(30, 144, 255, 0.9));
    color: white;
    border-color: rgba(64, 192, 240, 0.8);
    box-shadow: 0 0 15px rgba(64, 192, 240, 0.5);
}

.pagination-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 5px;
    font-size: 14px;
    color: #89cff0;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-container {
        margin: 30px 0;
    }
    
    .pagination-button {
        min-width: 36px;
        height: 36px;
        margin: 0 3px;
        padding: 0 10px;
        font-size: 13px;
    }
    
    .pagination-ellipsis {
        min-width: 36px;
        height: 36px;
        margin: 0 3px;
        font-size: 13px;
    }
    
    .pagination-button.text-button {
        display: none;
    }
    
    .pagination-button.icon-button {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin: 20px 0;
    }
    
    .pagination-button {
        min-width: 32px;
        height: 32px;
        margin: 0 2px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    .pagination-ellipsis {
        min-width: 32px;
        height: 32px;
        margin: 0 2px;
        font-size: 12px;
    }
}

/* =============================
   Shared components (migrated)
   ============================= */

/* Hero image wrapper */
.hero-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  margin-bottom: 18px;
  background: #0a1625;
}
.hero-image img { width: 100%; height: auto; display: block; }

/* =============================
   Insights Page Redesign
   ============================= */

/* --- Hero --- */
.insights-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2.5rem 0 3.5rem;
}
.insights-hero-content {
    flex: 1;
    min-width: 0;
}
.insights-hero-subtitle {
    color: #40c0f0;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0.75rem 0 1rem;
    letter-spacing: 0.02em;
}
.insights-hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 560px;
    margin: 0;
}
.insights-hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}
.insights-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(26, 40, 68, 0.6);
    border: 1px solid rgba(64, 192, 240, 0.12);
    border-radius: 12px;
    min-width: 90px;
}
.insights-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
.insights-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}
@media (max-width: 768px) {
    .insights-hero {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 0 2rem;
    }
    .insights-hero-desc { max-width: 100%; }
    .insights-hero-stats { justify-content: center; }
    .insights-stat { padding: 1rem 1.25rem; min-width: 80px; }
    .insights-stat-number { font-size: 1.4rem; }
}

/* --- Toolbar --- */
.insights-toolbar {
    margin-bottom: 2.5rem;
}
.insights-toolbar .search-container {
    position: relative;
    max-width: 540px;
    margin: 0 auto 1.5rem;
}
.insights-toolbar .search-input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: 1px solid rgba(64, 192, 240, 0.2);
    border-radius: 10px;
    background: rgba(26, 40, 68, 0.5);
    color: #ffffff;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.insights-toolbar .search-input:focus {
    outline: none;
    border-color: #00b2a9;
    box-shadow: 0 0 0 3px rgba(0, 178, 169, 0.15);
}
.insights-toolbar .search-input::placeholder {
    color: rgba(137, 207, 240, 0.6);
}
.search-icon-svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(137, 207, 240, 0.6);
    pointer-events: none;
}
.insights-toolbar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.insights-toolbar-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

/* --- Filter Chips --- */
.filter-chips {
    display: flex;
    gap: 0.625rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    flex: 1;
    min-width: 0;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(64, 192, 240, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 36px;
    line-height: 1.4;
}
.filter-chip:hover {
    color: #40c0f0;
    border-color: rgba(64, 192, 240, 0.35);
    background: rgba(64, 192, 240, 0.06);
}
.filter-chip.active {
    background: rgba(0, 178, 169, 0.15);
    color: #00b2a9;
    border-color: rgba(0, 178, 169, 0.4);
    font-weight: 600;
}
@media (max-width: 768px) {
    .insights-toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-chips {
        padding-bottom: 8px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- Sort Dropdown --- */
.insights-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.sort-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    white-space: nowrap;
}
.sort-select {
    background: rgba(26, 40, 68, 0.6);
    color: #ffffff;
    border: 1px solid rgba(64, 192, 240, 0.2);
    border-radius: 8px;
    padding: 6px 28px 6px 10px;
    font-size: 0.82rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2389cff0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color 0.2s;
}
.sort-select:hover,
.sort-select:focus {
    border-color: rgba(64, 192, 240, 0.4);
    outline: none;
}

/* --- Redesigned Article Cards --- */
.article-card {
    background: rgba(20, 32, 55, 0.7);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(64, 192, 240, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    border-color: rgba(64, 192, 240, 0.2);
}
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 8px;
}
.article-category {
    background: rgba(64, 192, 240, 0.1);
    color: #40c0f0;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.article-date {
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
    white-space: nowrap;
}
.article-card h3 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-excerpt {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 18px;
}
.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(64, 192, 240, 0.08);
    margin-top: auto;
}
.article-reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
}
.article-reading-time svg {
    opacity: 0.6;
}
.article-card-footer .article-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #40c0f0;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
    margin-top: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}
.article-card-footer .article-link:hover {
    color: #00b2a9;
    gap: 8px;
    background: none;
    border: none;
    transform: none;
}
.article-card-footer .article-link svg {
    transition: transform 0.2s;
}
.article-card-footer .article-link:hover svg {
    transform: translateX(2px);
}

/* Mobile overrides for redesigned article cards */
@media (max-width: 640px) {
    .article-card {
        padding: 22px;
    }
    .article-card h3 {
        font-size: 1rem;
    }
    .article-excerpt {
        -webkit-line-clamp: 3;
        line-height: 1.55;
        padding-bottom: 14px;
    }
    .article-meta {
        margin-bottom: 10px;
    }
    .article-card-footer {
        padding-top: 12px;
    }
}
@media (max-width: 480px) {
    .article-card {
        padding: 20px 18px;
    }
    .article-excerpt {
        -webkit-line-clamp: 2;
        font-size: 0.84rem;
    }
}

/* Links and tools grids */
.links-grid, .tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}
@media (max-width: 1024px) {
  .links-grid, .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .links-grid, .tools-grid { grid-template-columns: 1fr; }
}
.link-card, .tool-card {
  border: 1px solid rgba(93,109,126,0.6);
  border-radius: 12px;
  padding: 16px;
  background: rgba(44,62,80,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.link-card:hover, .tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0,178,169,0.2);
}

/* FAQ */
.faq-item {
  border: 1px solid #34495e;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #2c3e50;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item:hover { box-shadow: 0 4px 12px rgba(0,178,169,0.2); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #34495e;
  cursor: pointer;
  font-weight: 600;
  color: #ecf0f1;
  user-select: none;
}
.faq-toggle { font-weight: 700; color: var(--primary-color); transition: transform 0.2s ease; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background: #2c3e50;
  color: #bdc3c7;
  transition: all 0.25s ease;
}
.faq-item.active .faq-answer { max-height: 480px; padding: 16px 18px 18px; }

/* Solution matrix */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1024px) { .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .solution-grid { grid-template-columns: 1fr; } }
.solution-card {
  border: 1px solid #4a627a;
  border-radius: 12px;
  padding: 16px;
  background: #2c3e50;
  color: #ecf0f1;
}

.high-tech-card {
  border: 1px solid #4a627a;
  border-radius: 12px;
  padding: 18px;
  background: #2c3e50;
  color: #ecf0f1;
  margin: 16px 0;
}

.feature-list { list-style: none; padding-left: 0; margin: 0; }
.feature-list li { margin: 8px 0; }

.playbook-steps { display: grid; gap: 14px; }
.playbook-step {
  border-radius: 12px;
  border: 1px solid #5d6d7e;
  background: #34495e;
  color: #ecf0f1;
  padding: 14px 16px;
}

.layer-stack { display: grid; gap: 12px; }
.layer-card {
  border: 1px solid #4a627a;
  border-radius: 10px;
  padding: 14px;
  background: #2c3e50;
  color: #ecf0f1;
}

/* Charts grid and cards */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px 0;
}
@media (min-width: 900px) {
  .charts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.chart-card {
  border: 1px solid #4a627a;
  border-radius: 12px;
  padding: 14px;
  background: #2c3e50;
  color: #ecf0f1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.chart-card canvas {
  width: 100% !important;
  height: 320px !important;
}

/* ============================================================================
   CCM19 COOKIE WIDGET & MOBILE FIXES
   Note: CCM19 styling is best configured in the CCM19 Dashboard.
   These CSS overrides provide fallback styling.
   ============================================================================ */

/* Prevent horizontal overflow on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Global Mobile Overflow Fix */
@media (max-width: 768px) {
  .container, main, section {
    max-width: 100vw;
    overflow-x: hidden;
  }
}
