/* Insights archive index (Views/Home/Insights.cshtml).
   Extends InsightArticle.css — the card styles (.zia-card*) are shared so a card on the
   index and a related-article card on an article page are the same component. */

/* The carousel CTA is an <a> rather than a <button onclick>, so it is a real link a
   crawler can follow. .btn-read-blog only ever set type styles — the button look came
   from the browser's default <button> chrome — so the chrome is restated here. */
a.btn-read-blog {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    background: #FAFCFF;
    color: #1F1F1F;
    text-decoration: none;
    line-height: 1.2;
}

a.btn-read-blog:hover,
a.btn-read-blog:focus-visible {
    background: #fff;
    color: #223A9E;
}

.zix-featured {
    margin-top: 2rem;
}

.zix-featured-link {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    padding: 1.35rem;
    border: 1px solid #e4ecf6;
    border-radius: 20px;
    background: #fff;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.zix-featured-link:hover,
.zix-featured-link:focus-visible {
    border-color: #10A6D6;
    box-shadow: 0 14px 36px rgba(34, 58, 158, .10);
}

.zix-featured-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
}

.zix-featured-title {
    margin: 0.5rem 0 0;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.15rem, 1rem + 0.85vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
    color: #14233b;
}

.zix-featured-summary {
    margin: 0.7rem 0 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5b6b82;
}

.zix-featured-meta {
    margin: 0.85rem 0 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8595a8;
}

.zix-featured-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #223A9E, #0CA7D5);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
}

/* ---- Year sections ---- */

.zix-year {
    margin-top: 3rem;
}

.zix-year-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #14233b;
}

.zix-year-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e4ecf6;
}

.zix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.35rem;
}

.zix-card-summary {
    margin-top: 0.5rem;
    padding: 0 1.1rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #5b6b82;
}

/* ---- Pre-2025 articles, which keep their original root-level URLs ---- */

.zix-earlier {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.65rem 1.75rem;
}

.zix-earlier li {
    padding-left: 1rem;
    border-left: 2px solid #e4ecf6;
}

.zix-earlier a {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
    color: #223A9E;
    text-decoration: none;
}

.zix-earlier a:hover,
.zix-earlier a:focus-visible {
    color: #0CA7D5;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .zix-featured-link {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.1rem;
    }
}
