
/* ==========================================================================
   RC5.1 – overlap fix for services grid
   Scope: page 1054, content element 10204 only.
   Neutralizes legacy nth-of-type and responsive margins.
   ========================================================================== */

#p1054 .migrated-dce-10 .taxexpert-services-grid > article,
#p1054 .migrated-dce-10 .taxexpert-services-grid > article:nth-of-type(1),
#p1054 .migrated-dce-10 .taxexpert-services-grid > article:nth-of-type(2),
#p1054 .migrated-dce-10 .taxexpert-services-grid > article:nth-of-type(3),
#p1054 .migrated-dce-10 .taxexpert-services-grid > article:nth-of-type(4),
#p1054 .migrated-dce-10 .taxexpert-services-grid > article:nth-of-type(5) {
    display: block;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    align-self: start;
    justify-self: stretch;
}

#p1054 .migrated-dce-10 .taxexpert-services-grid > article:nth-of-type(5) {
    grid-column: 1 / 2;
}

@media (max-width: 767px) {
    #p1054 .migrated-dce-10 .taxexpert-services-grid > article:nth-of-type(5) {
        grid-column: auto;
    }
}
