
/* Best-of owns only its own spacing; no changes to unrelated page sections. */
.degercy-review-wrap.degercy-latest-wrap.dgr-best-of-section{
    display:flow-root;box-sizing:border-box;block-size:auto!important;min-block-size:0!important;
    margin-block:80px 0!important;margin-inline:auto!important;padding-block:0!important;
}
.degercy-review-wrap.degercy-latest-wrap.dgr-best-of-section .dgr-best-of-heading{
    margin-block:0 30px!important;padding-block:0!important;min-height:0!important;
}
.degercy-review-wrap.degercy-latest-wrap.dgr-best-of-section .dgr-best-cards{
    margin-block:0!important;padding-block:0!important;min-height:0!important;height:auto!important;
}
.dgr-best-of-section .dgr-best-cards .cards,
.dgr-best-of-section .dgr-best-cards .cards.dgr-masonry-ready{
    display:grid!important;position:static!important;height:auto!important;min-height:0!important;
    grid-auto-rows:auto;align-items:start;
}
.dgr-best-of-section .dgr-best-cards .cards>.review-card{
    position:static!important;transform:none!important;height:auto!important;min-height:0!important;
    margin-block:0!important;width:100%!important;
}
.degercy-review-wrap.degercy-latest-wrap.dgr-best-of-section .dgr-best-of-cta{
    display:flex;justify-content:center;align-items:center;
    margin:var(--dgr-best-cta-gap,28px) 0 0!important;padding:0!important;min-height:0!important;
}
.dgr-best-of-section .dgr-best-of-cta>.wp-block-button{margin:0!important}
.dgr-best-of-section[hidden],.dgr-best-of-section:empty{display:none!important;margin:0!important;padding:0!important}
@media(max-width:767px){
    .degercy-review-wrap.degercy-latest-wrap.dgr-best-of-section{margin-block:56px 0!important}
    .degercy-review-wrap.degercy-latest-wrap.dgr-best-of-section .dgr-best-of-heading{margin-bottom:24px!important}
}


/* Compact Best-of cards; full review photos remain unchanged elsewhere. */
.dgr-best-of-section .dgr-best-cards .cards{display:flex!important;flex-wrap:wrap;justify-content:center;gap:20px;columns:auto}
.dgr-best-of-section .dgr-best-cards .cards>.review-card{flex:0 1 calc((100% - 40px)/3);max-width:380px;min-width:0}
.dgr-best-of-section .dgr-best-cards .review-card .picture{width:auto!important;max-width:100%!important;height:auto!important;max-height:180px!important;object-fit:contain;margin:15px auto 0}
@media(max-width:900px){.dgr-best-of-section .dgr-best-cards .cards>.review-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:600px){.dgr-best-of-section .dgr-best-cards .cards>.review-card{flex-basis:100%;max-width:none}}
