section.block-grid-prices{
    border: none;
    overflow-x: hidden;
    padding-bottom: 3.75rem;
    padding-top: 3.75rem;
}
.grid-prices-content{
    display: grid;
    grid-template-columns: repeat(3, minmax(auto, 1fr));
    grid-gap: 0.625rem;
    list-style: none;
    padding-inline-start: 0;
    margin-top: 2rem;
}
.grid-prices-content:has(:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(auto, 1fr)); /* sigue siendo 3 */
}

.grid-prices-content:has(> *:nth-child(2)):not(:has(> *:nth-child(3))) {
    grid-template-columns: repeat(2, minmax(auto, 33%));
    justify-content: center;
}

body.page-template-page-landing .grid-prices-content{
    grid-template-columns: repeat(2, minmax(auto, 1fr));
}
.header-title-grid-prices .title > h1,
.header-title-grid-prices .title > h2,
.header-title-grid-prices .title > h3,
.header-title-grid-prices .title > h4,
.header-title-grid-prices .title > h5,
.header-title-grid-prices .title > h6,
.header-title-grid-prices .title > p{
    font-family: var(--wp--preset--font-family--serif);
    font-weight: 700;
    font-size: var(--wp--preset--font-size-h2);
    margin-top: 0;
    margin-bottom: 0.875rem;
}

@media (max-width: 919px) {
    .grid-prices-content{
        grid-template-columns: repeat(1, minmax(auto, 1fr));
    }
    section.block-tabs {
        padding-bottom: 2.5rem;
        padding-top: 2.5rem;
    }
    .grid-prices-content:has(> *:nth-child(2)):not(:has(> *:nth-child(3))),
    .grid-prices-content:has(:nth-child(3)){
        grid-template-columns: repeat(1, minmax(auto, 100%));
    }
}