/* Homepage-only SVG safety repair. No global SVG selectors are used here. */
.home-solution-card__icon,
.home-why__card .home-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 44px;
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #eaf5fd;
    color: #1687d9;
    line-height: 1;
}

.home-solution-card__icon > svg,
.home-why__card .home-why__icon > svg {
    display: block;
    width: 21px !important;
    height: 21px !important;
    min-width: 21px;
    min-height: 21px;
    max-width: 21px;
    max-height: 21px;
    flex: none;
    margin: 0;
    padding: 0;
    position: static;
    transform: none;
    fill: none;
    color: #1687d9;
    stroke: currentColor;
}

/* Why Choose Us: a fixed icon/title heading row, followed by the description. */
.home-why .home-why__card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: flex-start;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    column-gap: 14px;
    row-gap: 0;
}

.home-why .home-why__card .home-why__icon {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 44px;
    margin: 0;
}

.home-why .home-why__card h3 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
}

.home-why .home-why__card p {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 16px 0 0;
}

/* Solar Solutions: keep the existing icon and title in one stable heading row. */
.home-solutions-section .home-solution-card__body {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-items: center;
    align-content: stretch;
    column-gap: 14px;
    row-gap: 0;
}

.home-solutions-section .home-solution-card__icon {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 44px;
    margin: 0;
}

.home-solutions-section .home-solution-card__body h3 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
}

.home-solutions-section .home-solution-card__body > p {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 16px 0 0;
}

.home-solutions-section .home-solution-card__action {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: end;
    margin-top: 0;
}

/* Preserve the existing top rhythm while giving the section a cleaner exit. */
.home-page .home-why {
    padding-bottom: 88px;
}

/* Remove the recently introduced non-essential background decoration. */
.home-about__media::before,
.home-about__media::after,
.home-calculator__panel::before {
    display: none;
}

@media (max-width: 800px) {
    .home-page .home-why {
        padding-bottom: 68px;
    }

    .home-solution-card__icon,
    .home-why__card .home-why__icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        max-width: 42px;
        max-height: 42px;
        flex-basis: 42px;
    }

    .home-solution-card__icon > svg,
    .home-why__card .home-why__icon > svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px;
        min-height: 20px;
        max-width: 20px;
        max-height: 20px;
    }
}

@media (max-width: 520px) {
    .home-page .home-why {
        padding-bottom: 52px;
    }

    .home-solution-card__icon,
    .home-why__card .home-why__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
        flex-basis: 40px;
    }
}
