.impact-page {
    margin: 0 auto;
    max-width: 1440px;
    padding: clamp(1.2rem, 3vw, 3rem) 1rem 4rem;
}

.impact-hero {
    margin: 0 auto 1.5rem;
    max-width: 900px;
    text-align: center;
}

.impact-hero h1 {
    margin-bottom: 0.6rem;
}

.impact-summary {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    margin: 1.5rem 0 2.5rem;
}

.impact-summary > div {
    background: rgb(255 253 240 / 72%);
    border: 1px solid rgb(184 126 15 / 38%);
    border-radius: 0.8rem;
    padding: 0.9rem;
    text-align: center;
}

.impact-summary strong {
    color: #214f97;
    display: block;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.impact-summary span {
    display: block;
    font-weight: 700;
    margin-top: 0.2rem;
}

.impact-section-heading {
    margin-bottom: 1rem;
}

.impact-section-heading h2,
.impact-section-heading p {
    margin: 0.25rem 0;
}

.impact-trend-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.impact-trend-panel {
    background: rgb(255 253 240 / 70%);
    border: 1px solid rgb(33 79 151 / 22%);
    border-radius: 0.9rem;
    padding: 1rem;
}

.impact-trend-panel h3 {
    margin-top: 0;
}

.impact-bar-row {
    align-items: center;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(90px, 1fr) minmax(90px, 2fr) 2.5rem;
    margin: 0.55rem 0;
}

.impact-bar-track {
    background: rgb(33 79 151 / 13%);
    border-radius: 999px;
    height: 0.7rem;
    overflow: hidden;
}

.impact-bar-track i {
    background: #e0ad31;
    display: block;
    height: 100%;
}

.impact-directory {
    margin-top: 2.5rem;
}

.impact-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.impact-tabs a {
    background: #fffdf0;
    border: 1px solid #b87e0f;
    border-radius: 999px;
    color: #214f97;
    font-weight: 800;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
}

.impact-tabs a.is-active,
.impact-tabs a:hover,
.impact-tabs a:focus-visible {
    background: #214f97;
    border-color: #214f97;
    color: #fff;
}

.impact-filter-form {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.impact-filter-form label {
    font-weight: 800;
}

.impact-filter-form select {
    min-height: 2.5rem;
    min-width: 220px;
}

.impact-result-count {
    font-weight: 700;
}

.impact-animal-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
}

.impact-animal-card {
    background: rgb(255 253 240 / 74%);
    border: 1px solid rgb(184 126 15 / 42%);
    border-radius: 0.9rem;
    box-shadow: 0 0.7rem 1.7rem rgb(73 48 18 / 10%);
    overflow: hidden;
}

.impact-animal-card__photo {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: #ebd9b2;
    color: #214f97;
    display: flex;
    font-size: 4rem;
    justify-content: center;
}

.impact-animal-card__photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.impact-animal-card__body {
    padding: 1rem;
}

.impact-animal-card__status {
    color: #b87e0f;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin: 0;
    text-transform: uppercase;
}

.impact-animal-card h3 {
    margin: 0.2rem 0 0.75rem;
}

.impact-animal-card dl {
    display: grid;
    gap: 0.38rem;
    margin: 0;
}

.impact-animal-card dl > div {
    display: grid;
    gap: 0.4rem;
    grid-template-columns: 5.4rem 1fr;
}

.impact-animal-card dt {
    font-weight: 800;
}

.impact-animal-card dd {
    margin: 0;
}

.impact-animal-card__story {
    border-top: 1px solid rgb(184 126 15 / 30%);
    margin: 0.8rem 0 0;
    padding-top: 0.8rem;
}

.impact-pagination {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.impact-pagination a {
    font-weight: 800;
}

.impact-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
}

.impact-about-summary {
    text-align: center;
    width: 100%;
}

.impact-about-summary__numbers {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    margin: 1rem 0;
}

.impact-about-summary__numbers div {
    border-bottom: 3px solid #e0ad31;
    padding: 0.65rem;
}

.impact-about-summary__numbers dt {
    font-weight: 700;
}

.impact-about-summary__numbers dd {
    color: #214f97;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0.2rem 0 0;
}

.impact-about-summary__button {
    display: inline-flex;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .impact-bar-row {
        grid-template-columns: 1fr 2.5rem;
    }

    .impact-bar-track {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .impact-filter-form {
        align-items: stretch;
        flex-direction: column;
    }

    .impact-filter-form select {
        width: 100%;
    }
}

/* Financial stewardship entry added by financial impact release. */
.impact-finance-actions {
    margin: 1.5rem 0 0;
    text-align: center;
}
