/* ============================================================
   KY TRAK — Transportation Summary & Reports page
   ============================================================ */

.summary-page {
    padding-block: .5rem 3rem;
}

@media (max-width: 767.98px) {
    .summary-title { font-size: 2.25rem; }
    .summary-subtitle { font-size: 1.5rem; }
}

/* Heading block */
.summary-header {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}
.summary-title {
    color: var(--trak-navy);
    font-weight: 700;
    /* Fixed size from Figma measurement (53px ink ≈ 56px em); the design is a
       fixed 1440px frame, so type shouldn't scale with the viewport */
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.summary-subtitle {
    color: var(--trak-bright);
    font-weight: 700;
    font-size: 2.2rem;   /* Figma: 33px ink ≈ 35px em */
    line-height: 1.3;
    margin-bottom: 1rem;
}
.summary-intro {
    color: #000;           /* measured from Figma: pure black body text */
    font-size: 1rem;       /* measured: Figma body ≈ 16px (17px ink / 1.117 ink factor) */
    margin: 0;
}

/* Stats band — same bright blue token as buttons/home band */
.stats-band {
    background-color: var(--trak-bright);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}
/* max-width fits the longest label ("Number of days without lives lost")
   on one line; 220px wrapped it. */
.stats-band .stat { min-width: 150px; max-width: 280px; }
.stat-value {
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: .02em;
}
.stat-label {
    font-size: .95rem;
    color: rgba(255, 255, 255, .95);
    margin-top: .25rem;
}

/* Report links grid */
.report-links {
    margin-bottom: 3.5rem;
    font-family: var(--trak-font);
}
.report-link {
    display: block;
    height: 100%;
    color: inherit;
    font-family: var(--trak-font);
    text-decoration: none;
}
.report-link-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    color: var(--trak-navy);
    font-family: var(--trak-font);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    padding-bottom: .3125rem;
    margin-bottom: .4375rem;
    border-bottom: 1px solid var(--trak-blue);
}
.report-link-title i {
    flex: 0 0 auto;
    color: var(--trak-navy);
    font-size: .875rem;
    line-height: 1;
}
.report-link-desc {
    display: block;
    color: #35658A;
    font-family: var(--trak-font);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0;
}
.report-link:hover,
.report-link:focus,
.report-link:active {
    text-decoration: none;
}
.report-link:hover .report-link-title,
.report-link:focus .report-link-title {
    color: var(--trak-blue-deep);
    border-bottom-color: var(--trak-gold);
}

/* Featured Insights */
.insights { margin-bottom: 3.5rem; }
.insights-title {
    color: var(--trak-navy);
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}
.insight-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    height: 100%;
    min-height: 250px;   /* Figma card ratio ≈ 1.36:1 at ~340px columns */
    background: var(--trak-navy);
    box-shadow: var(--trak-shadow);
}
.insight-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}
.insight-card-caption {
    position: absolute;
    inset: auto 0 0 0;
    background: rgba(14, 45, 74, .88);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: .8rem 1rem;
}
.insight-card-caption i { font-size: .95rem; }
.insight-card:hover .insight-card-caption,
.insight-card:focus .insight-card-caption {
    background: rgba(14, 45, 74, .97);
}

/* CTA */
.summary-cta { padding-block: 1rem 2rem; }
.cta-title {
    color: var(--trak-navy);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    margin-bottom: 1.5rem;
}
.cta-btn { font-size: 1.05rem; padding: .75rem 1.75rem; }