/* Styling for Overall Statistics page */

/* === Hero === */
.overallstats-hero {
    background: var(--off-white);
    border-bottom: 3px solid lightgrey;
    padding: 32px 56px 30px;
    text-align: left;
}

.overallstats-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 8px;
}

.overallstats-hero h1 {
    font-family: "Poppins", "Inter", Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--heading);
    line-height: 1.3;
    margin: 0;
}

/* Hero stat strip — same pattern as the rest of the site */
.overallstats-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-value {
    font-family: "Inter", sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1;
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

@media (max-width: 700px) {
    .overallstats-hero-stats {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .hero-stat-divider {
        display: none;
    }
}

/* === Page body === */
.overallstats-container {
    max-width: 1800px;
    margin: 24px auto 0;
    padding: 0 56px 48px;
}

/* === Chart card === */
.insights-wrapper {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.insights-card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 22px 28px 28px;
}

.insights-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--green-light);
}

.insights-body {
    display: grid;
    grid-template-columns: 2fr 1px 1fr;
    gap: 28px;
    align-items: stretch;
}

.insights-divider {
    background: var(--green-light);
}

#overallprobdist,
#overallirishper {
    width: 100%;
    height: 380px;
}

@media (max-width: 800px) {
    .insights-body {
        grid-template-columns: 1fr;
    }

    .insights-divider {
        display: none;
    }
}

/* === Responsive === */
@media (max-width: 800px) {
    .overallstats-hero {
        padding: 24px 20px;
    }

    .overallstats-container {
        padding: 0 20px 32px;
    }
}