/* Insights web translation of design preset: compact_reference_guide.
   Named overrides: responsive web geometry, Terahealth brand colors, editorial media. */

body.page-insights {
    --insights-ink: #0b2545;
    --insights-heading: #2e74b5;
    --insights-heading-dark: #1f4d78;
    --insights-border: #d6e0ea;
    --insights-fill: #e8eef5;
    --insights-surface: #f4f6f9;
    color: var(--insights-ink);
}

body.page-insights .insights-hero {
    min-height: 420px;
    padding: 88px 0 76px;
    text-align: left;
}

body.page-insights .insights-hero .container { max-width: 1180px; }

body.page-insights .insights-hero .hero-title {
    max-width: 720px;
    margin: 0 0 10px;
    font-size: clamp(40px, 4vw, 54px);
    line-height: 1.12;
}

body.page-insights .insights-hero .hero-subtitle {
    max-width: 720px;
    margin: 0;
    line-height: 1.55;
}

body.page-insights .filter-section {
    padding: 24px 0 18px;
    border-bottom: 1px solid var(--insights-border);
}

body.page-insights .filter-tabs {
    justify-content: flex-start;
    max-width: 1180px;
    margin: 0 auto;
    gap: 8px;
}

body.page-insights .filter-btn {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--insights-border);
    border-radius: 6px;
    box-shadow: none;
    font-size: 14px;
}

body.page-insights .filter-btn:focus-visible {
    outline: 3px solid rgba(46, 116, 181, 0.28);
    outline-offset: 2px;
}

body.page-insights .filter-status {
    max-width: 1180px;
    margin: 12px auto 0;
    color: #52697f;
    font-size: 13px;
    line-height: 1.25;
}

body.page-insights .insights-grid-section {
    padding: 54px 0 68px;
    background: var(--insights-surface);
}

body.page-insights .insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.page-insights .insight-card {
    border: 1px solid var(--insights-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.06);
    animation: none;
}

body.page-insights .insight-card[hidden] { display: none; }

body.page-insights .insight-card:hover {
    transform: translateY(-3px);
    border-color: #9bbbd7;
    box-shadow: 0 14px 30px rgba(11, 37, 69, 0.11);
}

body.page-insights .insight-image {
    height: 196px;
    background: var(--insights-fill);
}

body.page-insights .insight-image img { object-position: center; }

body.page-insights .insight-category {
    top: 12px;
    right: 12px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

body.page-insights .insight-content { padding: 20px; }

body.page-insights .insight-meta {
    margin-bottom: 10px;
    color: #60758a;
}

body.page-insights .insight-content h3 {
    margin: 0 0 10px;
    color: var(--insights-heading-dark);
    font-size: 19px;
    line-height: 1.35;
}

body.page-insights .insight-content p {
    margin: 0 0 14px;
    color: #435d74;
    font-size: 14px;
    line-height: 1.55;
}

body.page-insights .btn-link { min-height: 28px; }

body.page-insights .no-results {
    margin: 48px auto;
    border: 1px solid var(--insights-border);
    box-shadow: none;
}

body.page-insights .no-results[hidden] { display: none; }

body.page-insights .newsletter-section { padding: 58px 0; }

@media (prefers-reduced-motion: reduce) {
    body.page-insights .insight-card,
    body.page-insights .insight-image img,
    body.page-insights .filter-btn { transition: none; }
}

@media (max-width: 992px) {
    body.page-insights .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    body.page-insights .insights-hero {
        min-height: 350px;
        padding: 66px 0 52px;
    }

    body.page-insights .insights-hero .hero-title { font-size: 36px; }
    body.page-insights .filter-section { padding: 18px 0 14px; }

    body.page-insights .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    body.page-insights .filter-btn { flex: 0 0 auto; }
    body.page-insights .insights-grid { grid-template-columns: 1fr; }
    body.page-insights .insights-grid-section { padding: 38px 0 48px; }
}
