/* =========================================================
   MECHLEAN INSIGHTS PAGE
   Clear article index layout
========================================================= */

.insights-page {
    --insight-ink: #1c1917;
    --insight-text: #57534e;
    --insight-muted: #78716c;
    --insight-bg: #fafaf9;
    --insight-border: #e7e5e4;
    --insight-blue: #143E88;
    --insight-blue-dark: #0f2f68;
    --insight-green: #166534;
    background: var(--insight-bg);
}

.insights-page .header-gradient-border {
    height: 1px;
    background: linear-gradient(to right, #00B87C, #0076B9);
}

.insights-page main {
    background: var(--insight-bg);
}

.insights-kicker {
    color: var(--insight-green);
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.insights-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--insight-border);
    padding: 54px 0 44px;
}

.insights-hero-inner {
    max-width: 900px;
}

.insights-hero h1 {
    color: var(--insight-ink);
    font-family: Georgia, serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.14;
    margin: 10px 0 14px;
    max-width: 820px;
}

.insights-hero p {
    color: var(--insight-text);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 780px;
}

.insights-series {
    padding: 58px 0 74px;
}

.insights-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 28px;
}

.insights-section-head h2 {
    color: var(--insight-ink);
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
    margin: 8px 0 0;
}

.insights-section-head p {
    color: var(--insight-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    max-width: 460px;
}

.insights-article-list {
    display: grid;
    gap: 22px;
}

.insight-row {
    background: #ffffff;
    border: 1px solid var(--insight-border);
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 235px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.insight-row-media {
    background: #f8fafc;
    display: block;
    min-height: 235px;
    overflow: hidden;
}

.insight-row-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.insight-row:hover .insight-row-media img {
    transform: scale(1.025);
}

.insight-row-body {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 22px;
    padding: 28px 30px;
}

.insight-number {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--insight-border);
    color: var(--insight-blue);
    display: inline-flex;
    font-family: Georgia, serif;
    font-size: 26px;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.insight-meta {
    color: var(--insight-green);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.insight-row h3 {
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.25;
    margin: 8px 0 10px;
}

.insight-row h3 a {
    color: var(--insight-ink);
    text-decoration: none;
}

.insight-row h3 a:hover {
    color: var(--insight-blue);
}

.insight-row p {
    color: var(--insight-text);
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 16px;
}

.insight-read-link {
    color: var(--insight-blue);
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.insight-read-link:hover {
    color: var(--insight-blue-dark);
    text-decoration: none;
}

.insights-cta {
    background: #ffffff;
    border-top: 1px solid var(--insight-border);
    padding: 46px 0;
}

.insights-cta-inner {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
}

.insights-cta h2 {
    color: var(--insight-ink);
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin: 8px 0 0;
}

@media (max-width: 991px) {
    .insights-section-head,
    .insight-row,
    .insights-cta-inner {
        grid-template-columns: 1fr;
    }

    .insights-section-head,
    .insights-cta-inner {
        align-items: start;
        display: grid;
    }
}

@media (max-width: 767px) {
    .insights-hero {
        padding: 42px 0 36px;
    }

    .insights-hero h1 {
        font-size: 34px;
    }

    .insights-series {
        padding: 42px 0 54px;
    }

    .insight-row-body {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px;
    }

    .insight-row h3 {
        font-size: 24px;
    }

    .insight-row-media {
        min-height: 210px;
    }
}
