.dfp-after-header {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}
.dfp-after-header .dfp-after-header--left,
.dfp-after-header .dfp-after-header--right {
    display: flex;
    flex-direction: column;
}
.dfp-agro-body {
    margin-bottom: 20px;
    text-align: center;
}
/*experimental*/
.dfp-agro-body iframe {
    border: 2px solid rgba(204, 34, 0, 0.05)!important;
}

.dfp-top-home-728 .dfp-agro-body,
.agro-firmas-wrapper .dfp-agro-body {
    margin-bottom: 10px;
}
#agrofirmas_02.dfp-agro-body {
    margin-bottom: 20px;
}

/*front page zonas*/
/* TopHome728 */
.dfp-top-home-728 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 20px;
    overflow: hidden;
}
.dfp-top-home-728 .content,
.dfp-top-home-728 .sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/*banners publicidad into loop*/
/*.agro-tax-column .dfp-agro-body {
    margin-top: 40px;
}*/
#clone_of_200x200_home_news_4 {
    margin-top: 20px;
}
.agro-ad-full {
    grid-column: 1 / -1;
    margin-bottom: 0;
}
.agro-ad-full .dfp-agro-body {
    margin-bottom: 0;
}

#dfp-sky-scraper-left,
#dfp-sky-scraper-right {
    position: absolute;
}
#dfp-sky-scraper-left {
    left: 0;
}
#dfp-sky-scraper-right {
    right: 0;
}

@media (max-width:1034px) {
    .dfp-after-header {
        flex-direction:column;
        gap:0;
    }
    .dfp-agro-body {
        width: calc( 100% - 40px)!important;
        min-width: calc( 100% - 40px)!important;
        min-height: 0;
        margin: 0 auto 20px;
    }
    .dfp-top-home-728 .dfp-agro-body {
        width: calc( 100% - 20px)!important;
        min-width: calc( 100% - 20px)!important;
    }
}
@media (max-width:960px) {
    .agro-destacados-wrapper {
        display:flex;
        flex-direction:column;
        gap:25px;
    }
    .agro-destacados-wrapper .agro-destacados {
        display:flex;
        flex-direction:column;
    }
    .agro-destacados-wrapper .agro-destacados {
        order:1;
    }
    .agro-destacados-wrapper .agro-dfp {
        order:3;
    }
    .agro-destacados-wrapper .agro-agenda {
        display:flex!important;
        flex-direction:column;
        order: 2;
    }
    .agro-destacados-wrapper .agro-agenda .agro-agenda-title {
        order:2;
    }
    .agro-destacados-wrapper .agro-agenda .agro-agenda-wrapper {
        order:3;
        margin-bottom:0;
    }
    .agro-destacados-wrapper .agro-agenda .agro-agenda-dfp {
        display:flex;
        justify-content: center;
        order:1;
        gap:20px;
    }
    .agro-destacados-wrapper .agro-agenda .agro-agenda-dfp .dfp-agro-body {
        width:50%!important;
        min-width:50%!important;
    }
    .agro-destacados-wrapper .agro-agenda .agro-agenda-dfp .dfp-agro-body:last-child {
        text-align:left;
    }
    .agro-destacados-wrapper .agro-agenda .agro-agenda-dfp .dfp-agro-body:first-child {
        text-align: right;
    }
    .sidebar-dfp {
        display:flex;
        flex-wrap:wrap;
        gap:10px;
        justify-content:center;
    }
    .sidebar-dfp .dfp-agro-body {
        width:200px!important;
        min-width:200px!important;
    }
}
@media (max-width:768px) {
    .dfp-top-home-728 {
        display:flex;
        flex-direction: column;
    }
    .dfp-top-home-728 .dfp-agro-body {
        width: 100%!important;
        min-width: 100%!important;
    }
    .dfp-top-home-728 .sidebar .agro-contenedor-suscribete-youtube {
        width:100%;
    }
}
@media (max-width:460px) {
    .agro-destacados-wrapper .agro-agenda .agro-agenda-dfp {
        display:flex;
        flex-direction:column;
        gap:0;
    }
    .agro-destacados-wrapper .agro-agenda .agro-agenda-dfp .dfp-agro-body {
        width:200px!important;
        min-width:200px!important;
        text-align:center;
    }
    
}


