/* ═══════════════════════════════════════════════
   INSIGHTS PAGE — Index + Single Article
   ═══════════════════════════════════════════════ */

/* ─── Index page ─── */
.section-insights-page {
    padding: var(--section-pad) 0;
    padding-top: clamp(100px, 12vw, 160px);
    background: var(--bg-primary);
}

.section-insights-page .section-intro {
    max-width: 720px;
    margin-bottom: 48px;
}

/* ─── Card Grid ─── */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ─── Card ─── */
.insight-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--speed) var(--ease-out),
                border-color var(--speed) var(--ease-out),
                box-shadow var(--speed) var(--ease-out);
}

.insight-card:hover {
    transform: translateY(-4px);
    border-color: var(--lime);
    box-shadow: 0 12px 36px rgba(194, 213, 48, 0.12);
}

/* ─── Card Image ─── */
.insight-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.insight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.insight-card:hover .insight-card-image img {
    transform: scale(1.03);
}

/* ─── Card Body ─── */
.insight-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 28px;
}

/* ─── Date ─── */
.insight-card-date {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 8px;
}

/* ─── Title ─── */
.insight-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.3;
}

/* ─── Excerpt ─── */
.insight-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0 0 auto;
    padding-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Read more ─── */
.insight-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    transition: color var(--speed) var(--ease-out);
}

.insight-card:hover .insight-card-link {
    color: var(--lime);
}

.insight-card-link i,
.insight-card-link svg {
    width: 16px;
    height: 16px;
}

/* ─── Stagger animation ─── */
.insights-grid [data-animate]:nth-child(1)  { transition-delay: 0.05s; }
.insights-grid [data-animate]:nth-child(2)  { transition-delay: 0.1s; }
.insights-grid [data-animate]:nth-child(3)  { transition-delay: 0.15s; }
.insights-grid [data-animate]:nth-child(4)  { transition-delay: 0.2s; }
.insights-grid [data-animate]:nth-child(5)  { transition-delay: 0.25s; }
.insights-grid [data-animate]:nth-child(6)  { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════
   SINGLE ARTICLE
   ═══════════════════════════════════════════════ */

.section-insight-single {
    padding: var(--section-pad) 0;
    padding-top: clamp(100px, 12vw, 160px);
    background: var(--bg-primary);
}

/* ─── Two-column layout ─── */
.insight-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

/* ─── Sidebar ─── */
.insight-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: 20px;
    padding: 28px 24px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--lime);
    margin: 0 0 20px;
    letter-spacing: 0.02em;
}

.sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-posts li {
    border-bottom: 1px solid var(--grey-100);
}

.sidebar-posts li:last-child {
    border-bottom: none;
}

.sidebar-posts a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--navy);
    text-decoration: none;
    transition: color var(--speed) var(--ease-out);
}

.sidebar-posts a:hover {
    color: var(--lime);
}

.sidebar-posts a i,
.sidebar-posts a svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    margin-top: 2px;
    opacity: 0.5;
}

/* ─── Back link ─── */
.insight-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--grey-400);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color var(--speed) var(--ease-out);
}

.insight-back:hover {
    color: var(--lime);
}

.insight-back i,
.insight-back svg {
    width: 16px;
    height: 16px;
}

/* ─── Header ─── */
.insight-header {
    max-width: 800px;
    margin-bottom: 32px;
}

.insight-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    color: var(--navy);
    margin: 8px 0 16px;
    line-height: 1.2;
}

.insight-date {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--grey-400);
}

/* ─── Hero image ─── */
.insight-hero {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.insight-hero img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

/* ─── Body content ─── */
.insight-body {
    margin-bottom: 56px;
}

.insight-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0 0 16px;
}

.insight-body h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.article-chart {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--grey-100);
    padding: 24px;
    text-align: center;
}

.article-chart img {
    max-width: 480px;
    width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 8px;
}

.insight-body ul,
.insight-body ol {
    margin: 0 0 16px;
    padding-left: 20px;
}

.insight-body li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 6px;
}

/* ─── Post navigation ─── */
.insight-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--grey-100);
}

.insight-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color var(--speed) var(--ease-out),
                box-shadow var(--speed) var(--ease-out);
}

.insight-nav-link:hover {
    border-color: var(--lime);
    box-shadow: 0 8px 24px rgba(194, 213, 48, 0.1);
}

.insight-nav-next {
    text-align: right;
    align-items: flex-end;
}

.insight-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey-400);
}

.insight-nav-label i,
.insight-nav-label svg {
    width: 14px;
    height: 14px;
}

.insight-nav-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .insight-layout {
        grid-template-columns: 1fr 240px;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .insight-layout {
        grid-template-columns: 1fr;
    }

    .insight-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .insight-nav {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .insight-nav-next {
        text-align: left;
        align-items: flex-start;
    }

    .insight-hero img {
        aspect-ratio: 16 / 9;
    }
}
