/* NIC.GM Index feature cards - scoped to the public home page only. */
body.nicgm-home .home-feature-grid {
    width: 100%;
    max-width: 835px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 26px;
}

body.nicgm-home .home-feature-card {
    min-height: 170px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    padding: 24px 26px;
    border: 1px solid #c4d8c8;
    border-radius: 11px;
    background: rgba(248, 251, 247, 0.62);
    box-shadow: 0 1px 2px rgba(35, 52, 45, 0.04);
}

body.nicgm-home .home-feature-icon {
    width: 84px;
    height: 84px;
    color: #3f7655;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.nicgm-home .home-feature-icon .accent {
    stroke: #426d8b;
}

body.nicgm-home .home-feature-copy h3 {
    margin: 0 0 8px;
    color: #173f33;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: none;
    text-shadow: none;
}

body.nicgm-home .home-feature-copy p {
    margin: 0;
    color: #43504f;
    font-size: 17px;
    line-height: 1.42;
}

@media (max-width: 900px) {
    body.nicgm-home .home-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body.nicgm-home .home-feature-card {
        min-height: 0;
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 18px;
    }

    body.nicgm-home .home-feature-icon {
        width: 60px;
        height: 60px;
    }

    body.nicgm-home .home-feature-copy h3 {
        font-size: 19px;
    }

    body.nicgm-home .home-feature-copy p {
        font-size: 15px;
    }
}

/* NICGM HOMECARDS v4 HOME ACTION RESTORE */
body.nicgm-home #dns075-actions {
    width: 100%;
    max-width: 835px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 12px;
    margin-bottom: 12px;
}

body.nicgm-home #dns075-actions > .cta-button {
    float: none !important;
    margin: 0 !important;
}

body.nicgm-home #dns075-actions > a.cta-button {
    order: 1;
}

body.nicgm-home #dns075-actions > #dns074-toggle {
    order: 2;
    margin-left: auto !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}
/* NICGM HOMECARDS v5.2 COMPACT SPACING */
body.nicgm-home .home-feature-grid {
    margin-bottom: 0 !important;
}