/* GDNM v1.0.9: scoped, non-destructive service-area responsive improvements. */
body.page .gdnm-brand-grid {grid-template-columns:repeat(5,minmax(0,1fr));}
body.page .gdnm-brand-item {min-width:0;box-sizing:border-box;}
body.page .gdnm-brand-item img {display:block;max-width:100%;width:auto;height:auto;max-height:65px;object-fit:contain;}
body.page .gdnm-city-gallery {min-width:0;max-width:100%;}
body.page .gdnm-city-gallery img {max-width:100%;}
body.page .gdnm-home-search,body.page .gdnm-brand-section {box-sizing:border-box;max-width:100%;}
body.page .gdnm-home-search input {box-sizing:border-box;min-width:0;}
body.page .gdnm-home-results a {overflow-wrap:anywhere;}
@media (min-width:768px) and (max-width:1024px) {
 body.page .gdnm-brand-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
 body.page .gdnm-brand-grid .gdnm-brand-item:nth-last-child(2):nth-child(4) {grid-column:1 / 2;}
}
@media (max-width:767px) {
 body.page .gdnm-brand-section {padding:22px 12px;margin:25px auto;}
 body.page .gdnm-brand-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 body.page .gdnm-brand-item {min-height:76px;padding:12px 8px;}
 body.page .gdnm-brand-item img {max-height:52px;}
 body.page .gdnm-brand-grid .gdnm-brand-item:last-child:nth-child(odd) {grid-column:1 / -1;justify-self:center;width:calc(50% - 5px);}
 body.page .gdnm-brand-section h2 {font-size:clamp(21px,6vw,28px);line-height:1.25;}
 body.page .gdnm-home-search {padding:20px 14px;}
 body.page .gdnm-city-gallery {gap:10px;}
 body.page .gdnm-city-gallery .gdnm-gallery-item:first-child img {height:220px;}
 body.page .gdnm-city-gallery .gdnm-gallery-item:not(:first-child) img {height:145px;}
}
@media (max-width:359px) {
 body.page .gdnm-brand-grid {gap:8px;}
 body.page .gdnm-brand-item {padding:8px 5px;}
 body.page .gdnm-city-gallery .gdnm-gallery-item:not(:first-child) img {height:115px;}
}
