/* Insights article template (Views/Home/InsightArticle.cshtml).
   Only styles the blocks the existing blog CSS doesn't already cover — headings,
   paragraphs and the container come from styles.css so data-driven articles match
   the six hand-built ones. */

.zia-eyebrow {
    margin: 0;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #10A6D6;
}

.zia-standfirst {
    max-width: 46rem;
    margin: 0 auto;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1rem, 0.95rem + 0.28vw, 1.15rem);
    line-height: 1.6;
    color: #5b6b82;
}

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

.zia-dot {
    margin: 0 0.5rem;
}

.zia-hero {
    border-radius: 18px;
}

/* Comfortable measure. Long-form text in a full-width container is unreadable. */
.zia-body {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

/* The shared .livestreaming-head is sized for the older article layouts, where it sits
   in a wider column. At this measure it lands too close to body text to read as a
   section break, so it is scaled up and given real space above it. */
.zia-body .livestreaming-head,
.zia-split-copy .livestreaming-head {
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.2rem, 1.05rem + 0.65vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #14233b;
}

.zia-body > .livestreaming-head {
    margin-top: 2.6rem;
    margin-bottom: 0;
}

/* Justified text at a 46rem measure opens rivers; the older articles justify because
   they run wider. Left-align inside the article body only. */
.zia-body .blog-para {
    text-align: left !important;
}

.zia-list {
    padding-left: 1.15rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #35435a;
}

.zia-list li {
    margin-bottom: 0.6rem;
}

.zia-quote {
    margin: 0;
    padding: 0.35rem 0 0.35rem 1.35rem;
    border-left: 3px solid #10A6D6;
}

.zia-quote p {
    margin: 0;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
    font-weight: 600;
    line-height: 1.5;
    color: #14233b;
}

.zia-quote cite {
    display: block;
    margin-top: 0.6rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 700;
    color: #8595a8;
}

.zia-figure {
    margin: 0;
}

.zia-figure img {
    width: 100%;
    border-radius: 16px;
}

.zia-figure figcaption {
    margin-top: 0.65rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #8595a8;
}

.zia-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
}

.zia-split-media img {
    width: 100%;
    border-radius: 16px;
}

.zia-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
}

.zia-stat {
    padding: 1.15rem 1rem;
    border: 1px solid #e4ecf6;
    border-radius: 14px;
    background: #f7fbff;
    text-align: center;
}

.zia-stat-figure {
    display: block;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
    font-weight: 800;
    line-height: 1.1;
    color: #223A9E;
}

.zia-stat-label {
    display: block;
    margin-top: 0.35rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #5b6b82;
}

.zia-callout {
    padding: 1.6rem 1.75rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #223A9E 0%, #0CA7D5 100%);
    color: #fff;
}

.zia-callout-head {
    margin: 0 0 0.5rem;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.zia-callout p {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.zia-callout-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #223A9E;
    text-decoration: none;
}

.zia-callout-cta:hover,
.zia-callout-cta:focus-visible {
    background: #eaf7ff;
    color: #16276e;
}

/* ---- Related articles ---- */

.zia-related-head {
    margin-bottom: 1.35rem;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
    font-weight: 800;
    color: #14233b;
}

.zia-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.35rem;
}

.zia-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.1rem;
    border: 1px solid #e4ecf6;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.zia-card:hover,
.zia-card:focus-visible {
    border-color: #10A6D6;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(34, 58, 158, .10);
}

.zia-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 0.9rem;
}

.zia-card-cat,
.zia-card-title,
.zia-card-meta {
    padding: 0 1.1rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.zia-card-cat {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #10A6D6;
}

.zia-card-title {
    margin-top: 0.4rem;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #14233b;
}

.zia-card-meta {
    margin-top: auto;
    padding-top: 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #8595a8;
}

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

    .zia-callout {
        padding: 1.3rem 1.25rem;
    }
}
