
:root { --agro-primary:#26442c; --agro-lime:#91c53d; --agro-gold:#aa8751; }
.mg-nav-widget-area-back { background-position:center 60% !important; background-size:cover !important; }
.mg-nav-widget-area-back > .overlay { background:linear-gradient(90deg,rgba(247,250,237,.72),rgba(247,250,237,.89) 35%,rgba(247,250,237,.89) 65%,rgba(247,250,237,.72)) !important; }
.mg-headwidget .heacent,.mg-headwidget .site-description { color:#24402a !important; }
.mg-headwidget .mg-social a { color:#24402a !important; border-color:#24402a66 !important; background:#ffffff50; }
.mg-headwidget .mg-social a:hover { background:#26442c; color:white !important; }
.navbar-brand .custom-logo { width:390px; height:auto; }
.mg-menu-full,.mg-menu-full .navbar { background:#26442c; }
.mg-menu-full .navbar-nav > li > a { font-size:13px; padding-left:13px; padding-right:13px; }
.unveil-footer { background:#172f20; }
.unveil-footer-brand img,.mobilehomebtn img,.desktop-sticky-brand img { filter:brightness(0) invert(1); }
.desktop-sticky-description { color:#e3eadb; }
.home-inline-ad { background:linear-gradient(110deg,#2c4d2e,#17341e) !important; border-color:#88a667 !important; }
.home-inline-ad strong span,.home-inline-ad-copy strong span { color:#b8d66d !important; }
.hero-editorial-picker { background:#17341ef5 !important; border-color:#b3cd70 !important; }
.hero-picker-heading > span,.hero-pick-number { color:#c0d39b !important; }
.mg-blog-category a { background:#26442c !important; color:white !important; }
.unveil-hero .mg-blog-category a { background:#c0d786 !important; color:#203524 !important; }
.new-banner-slot a { display:flex; flex-direction:column; gap:12px; padding:30px 24px; background:#e9efdf; border:1px solid #aabc8d; color:#29422b; min-height:230px; }
.new-banner-slot a > span { font-size:11px; letter-spacing:.14em; }
.new-banner-slot strong { font-size:28px; line-height:1.1; }
.new-banner-slot small,.new-banner-slot b { font-size:14px; }
.agro-pagination { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; padding:24px 0 8px; }
.agro-pagination a { min-width:44px; min-height:44px; display:grid; place-items:center; background:white; border:1px solid #ccd4c4; color:#26442c; }
.agro-pagination a[aria-current] { background:#26442c; color:white; border-color:#26442c; }
.newsletter-note { margin-top:20px; font-size:14px; color:#64745d; }
.elementor-widget-theme-post-content table { display:block; width:100%; overflow:auto; }
.elementor-widget-theme-post-content img { max-width:100%; height:auto; }
@media(min-width:1025px) and (max-width:1350px) { .mg-menu-full .navbar-nav > li > a { padding-left:9px;padding-right:9px;font-size:12px; } }
@media(max-width:767px) { .navbar-brand .custom-logo { width:min(340px,86vw); } .mg-headwidget .mg-nav-widget-area-back > .overlay { background:#f4f8e2d9 !important; } .mg-menu-full .navbar-nav > li > a { font-size:15px; } }

body .unveil-hero .hero-news-picker { background:rgba(24,51,29,.96) !important; }
body .home-inline-ad .home-inline-ad-link { background:linear-gradient(110deg,#315532,#17341e) !important; color:#fff; }
body .home-inline-ad .home-inline-ad-copy strong span,body .home-inline-ad .home-inline-ad-copy p { color:#d2e3ac !important; }
body .bn_title { background:#26442c !important; }
body .bn_title span { border-left-color:#26442c !important; }
body .hero-read-more { color:#d2e3ac !important; }
body .mg-blog-date,body .publication-date-es { color:inherit; }
body .advertising-page .ad-intro-note { background:#edf2e4; }
body .advertising-page .ad-intro-note em { color:#688f34; }
body .site-search-heading { background:#eff3e8; }

.ad-service-visual { background:#f1f5e8; border:1px solid #d7dfcf; max-width:320px; padding:14px; margin:20px auto 28px; }
.ad-service-visual .ad-visual-top { padding:4px 0 14px; }
.ad-service-visual .ad-visual-top img { width:160px; height:36px; object-fit:contain; margin:0 auto; display:block; }
.ad-service-visual > span { display:block; background:#26442c; color:white; font-size:9px; letter-spacing:.12em; padding:7px; margin-bottom:12px; text-align:center; }
.ad-visual-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.ad-service-visual .ad-visual-grid img { width:100%; height:48px; object-fit:cover; margin:0 0 8px; }
.ad-visual-grid b { display:block; width:100%; height:4px; margin-bottom:4px; background:#bdcaaa; }
.ad-visual-grid b:last-child { width:65%; }

/* Video agrícola comprimido, con una capa clara que protege los colores originales del logo. */
body .mg-headwidget .mg-nav-widget-area-back::before { background:transparent; }
body .mg-headwidget .mg-nav-widget-area-back > .overlay { background:linear-gradient(90deg,rgba(245,249,233,.58),rgba(245,249,233,.85) 38%,rgba(245,249,233,.85) 62%,rgba(245,249,233,.58)) !important; }
body .masthead-video { object-position:center 50%; }
@media(max-width:767px) { body .mg-headwidget .mg-nav-widget-area-back > .overlay { background:rgba(245,249,233,.76) !important; } }

.cms-pagination { display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:24px 0 0; }
.cms-pagination a { min-height:44px;padding:10px 16px;background:#26442c;color:white; }

/* Los anuncios intercalados comparten el ancho de las tarjetas, incluido al pasar el cursor. */
body .news-list-main, body .news-list-main .mg-posts-sec, body .news-list-main .mg-posts-sec-inner { min-width:0; }
body .news-list-main :is(.home-inline-ad,.home-image-banner) {
  display:block; width:100%; max-width:100%; min-width:0; box-sizing:border-box;
  margin-left:0; margin-right:0; overflow:hidden; transform:none !important;
  justify-self:stretch; align-self:start;
}
body .news-list-main .home-inline-ad:hover,body .news-list-main .home-inline-ad:focus-within {
  transform:none !important; box-shadow:inset 0 0 0 1px #9ac63b66;
}
body .home-inline-ad .home-inline-ad-link {
  width:100%; max-width:100%; min-width:0; box-sizing:border-box;
}
body .news-list-main .home-inline-ad-copy { min-width:0; }
body .news-list-main .home-image-banner :is(a,picture,img) { display:block; width:100%; max-width:100%; box-sizing:border-box; }
