
/* Overrides the original six-column :has(> .dg-footer-tools) stylesheet,
   preserving its other styles while allowing the new seven-column layout. */
html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) {
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(0,.78fr) minmax(0,1.20fr) minmax(0,1.15fr)
                        minmax(0,.90fr) minmax(0,.90fr) minmax(0,.60fr)!important;
  grid-auto-flow:row!important;
  column-gap:18px!important;row-gap:24px!important;
  width:100%!important;max-width:1240px!important;
  padding:24px 0!important;
  margin-left:auto!important;margin-right:auto!important;
}
html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column{
  grid-column:auto!important;grid-row:auto!important;
  flex:none!important;width:100%!important;max-width:none!important;min-width:0!important;
}
@media(max-width:1199px){
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools){
   grid-template-columns:minmax(0,1.25fr) minmax(0,.77fr) minmax(0,1.13fr) minmax(0,1.10fr)!important;
   column-gap:24px!important;row-gap:32px!important;
   padding:24px 32px!important;
 }
}
@media(max-width:850px){
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools){
   grid-template-columns:minmax(0,1.16fr) minmax(0,.9fr) minmax(0,1.05fr)!important;
   column-gap:22px!important;row-gap:29px!important;
 }
}
@media(max-width:620px){
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools){
   grid-template-areas:"brand brand" "news categories" "tools categories"
                       "about categories" "privacy social"!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   padding:14px 20px!important;column-gap:17px!important;row-gap:23px!important;
 }
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column:nth-child(1){
   grid-area:brand!important;grid-column:1/-1!important;grid-row:1!important;
 }
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column:nth-child(2){
   grid-area:news!important;grid-column:1/2!important;grid-row:2!important;
 }
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column:nth-child(3){
   grid-area:categories!important;grid-column:2/3!important;grid-row:2/5!important;
 }
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column:nth-child(4){
   grid-area:tools!important;grid-column:1/2!important;grid-row:3!important;
 }
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column:nth-child(5){
   grid-area:about!important;grid-column:1/2!important;grid-row:4!important;
 }
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column:nth-child(6){
   grid-area:privacy!important;grid-column:1/2!important;grid-row:5!important;
 }
 html body footer.wp-block-template-part .wp-block-columns.alignfull.dg-footer-main-grid-v3:has(> .dg-footer-tools) > .wp-block-column:nth-child(7){
   grid-area:social!important;grid-column:2/3!important;grid-row:5!important;
 }
}
