/* Ajustes de la copia local para pantallas pequeñas. */
@media (max-width: 767px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .homemain article.bottom { left: 0; right: 0; width: 100%; padding: 24px; box-sizing: border-box; }
  .homemain article.bottom h4 { font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
  .mg-sec-title h4, .mg-sec-title h6 { overflow-wrap: anywhere; }
  img { max-width: 100%; }
}

/* Identidad unveil y navegación persistente. */
.navbar-brand .custom-logo { width: 320px; height: auto; max-width: 100%; }
.mg-menu-full { position: sticky; top: 0; z-index: 1050; box-shadow: 0 4px 18px #15150d22; }
.unveil-hero > .overlay { padding: 0; }
.unveil-hero .container-fluid { padding: 0; max-width: none; }
.unveil-hero .row { margin: 0; }
.unveil-hero-column { padding: 0; }
.unveil-hero .homemain { margin: 0; }
.unveil-hero .mg-blog-post.lg { height: clamp(480px, 68vh, 760px); margin: 0; }
.unveil-hero .mg-blog-post article.bottom { padding: 100px max(5vw, 24px) 52px; background: linear-gradient(transparent, #000c); }
.unveil-hero .mg-blog-post h4 { max-width: 1000px; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.12; }
.unveil-hero .owl-controls { position: absolute; bottom: 24px; right: 5vw; margin: 0; }
.unveil-news-card { position: relative; isolation: isolate; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: transform .28s ease, box-shadow .28s ease, outline-color .28s ease; }
.unveil-news-card:hover, .unveil-news-card:focus-within { transform: scale(1.015); outline-color: #26442c; box-shadow: 0 12px 32px #29240d33; z-index: 2; }
.unveil-card-link { position: absolute !important; inset: 0; z-index: 5; }
.unveil-card-link:focus-visible { outline: 3px solid #26442c; outline-offset: -4px; }
.unveil-news-card .mg-post-thumb { transition: transform .45s ease; }
.unveil-news-card > .col-md-6:first-child { overflow: hidden; }
.unveil-news-card:hover .mg-post-thumb { transform: scale(1.055); }
.unveil-hero .unveil-news-card:hover { transform: none; }
.unveil-footer { margin-top: 56px; background: #172f20; color: #e3eadb; padding: 64px max(5vw,24px) 0; }
.unveil-footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1.1fr; gap: 48px; max-width: 1400px; margin: auto; padding-bottom: 52px; }
.unveil-footer h2 { font-size: 15px; font-weight: 700; color: #9ac63b; margin: 12px 0 22px; letter-spacing: .04em; }
.unveil-footer p { font-size: 14px; line-height: 1.8; margin: 8px 0 18px; }
.unveil-footer .footer-description { color: #a9bc9d; max-width: 280px; }
.unveil-footer a { color: #e3eadb; transition: color .2s; }
.unveil-footer a:hover { color: #b8d66d; }
.unveil-footer-grid > nav > a, .unveil-footer-grid > div:not(:first-child) > a { display: block; width: fit-content; margin: 0 0 12px; font-size: 14px; overflow-wrap: anywhere; }
.unveil-footer .footer-cta { border: 1px solid #73ab72; padding: 12px 16px; margin-top: 22px !important; }
.unveil-footer .footer-cta span { margin-left: 16px; }
.unveil-footer-brand img { width: 190px; height: auto; display: block; margin-left: -10px; }
.unveil-footer-bottom { border-top: 1px solid #ffffff20; max-width: 1400px; margin: auto; padding: 24px 0; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #a9bc9d; }
.unveil-footer .factory-link { color: #dce8dc; margin-left: 5px; }
@media (max-width: 991px) {
 .unveil-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media (max-width: 767px) {
 .navbar-brand .custom-logo { width: 265px; }
 .unveil-hero .mg-blog-post.lg { height: 540px; }
 .unveil-hero .mg-blog-post article.bottom { padding: 70px 24px 60px; }
 .unveil-hero .mg-blog-post article.bottom h4 { font-size: 29px; }
 .unveil-footer { padding-top: 40px; }
 .unveil-footer-grid { gap: 30px 20px; }
 .unveil-footer-brand, .footer-newsletter { grid-column: 1 / -1; }
 .unveil-footer-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
 .unveil-news-card, .unveil-news-card .mg-post-thumb { transition: none; }
 .unveil-news-card:hover, .unveil-news-card:hover .mg-post-thumb { transform: none; }
}
.mg-menu-full { background: #26442c; }
.mg-menu-full .navbar { min-height: 52px; margin: 0; padding: 0; }
.mg-menu-full .navbar-nav > li > a { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; padding: 16px 20px; }
.mg-menu-full .navbar-nav > li > a:hover, .mg-menu-full .navbar-nav > li > a:focus-visible { background: #ffffff1c; }
.mg-menu-full .mobilehomebtn, .mg-menu-full .msearch { color: white; }
.unveil-hero .mg-blog-post h4 { float: none; margin-bottom: 20px; }
.unveil-hero .mg-blog-meta { display: block; clear: both; }
.unveil-hero .owl-wrapper-outer { overflow: hidden; }
@media (max-width: 991px) {
 .mg-menu-full .navbar-nav > li > a { padding: 12px 20px; }
 .mg-menu-full .navbar-collapse { max-height: calc(100dvh - 60px); overflow-y: auto; }
}
html, body { overflow-x: clip; }
.unveil-hero .mg-blog-post h4.title { height: auto; max-height: none; overflow: visible; }
@media (max-width: 480px) {
 .unveil-footer-grid { grid-template-columns: minmax(0,1fr); }
 .unveil-footer-grid > * { grid-column: 1; }
}
/* Logotipo Agronline: montaña, energía y acento mineral. */
.navbar-brand .custom-logo { width: 360px; height: auto; }
.unveil-footer-brand img { width: 240px; max-width: 100%; height: auto; margin-left: 0; }
@media (max-width: 767px) {
 .navbar-brand .custom-logo { width: 310px; max-width: 100%; }
}
.footer-social-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; }
.unveil-footer .footer-social-links a { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.footer-social-links a:focus-visible { outline: 2px solid #9ac63b; outline-offset: 5px; }
/* La identidad permanece visible en la barra móvil durante el scroll. */
@media (max-width: 991px) {
 .mg-menu-full .m-header { width: 100%; padding-left: 0 !important; gap: 16px; min-height: 48px; }
 .mg-menu-full .mobilehomebtn { display: inline-flex; align-items: center; width: 140px; height: 43px; margin: 0; padding: 0; background: transparent; }
 .mg-menu-full .mobilehomebtn img { display: block; width: 140px; height: auto; }
 .mg-menu-full .navbar-toggler { margin-left: auto !important; margin-right: 0 !important; }
 .mg-menu-full .mg-search-box { margin-left: 0; }
}
@media (max-width: 767px) {
 .heacent:has([data-local-date]) { font-size: 12px; line-height: 1.6; padding: 0 10px; }
 article.mg-posts-sec-post h4.title { max-height: none; height: auto; overflow: visible; }
 .mg-posts-sec-post .mg-post-thumb.md { height: 230px; }
}
/* Hero a sangre, con selector editorial superpuesto. */
.unveil-hero > .overlay { position: relative; }
.unveil-hero .mg-blog-post.lg { height: 650px; }
.unveil-hero .mg-blog-post article.bottom { padding-bottom: 60px; background: linear-gradient(0deg,#000d,transparent); }
.unveil-hero .mg-blog-post h4.title { max-width: calc(100% - 420px); font-size: clamp(32px,3vw,48px); }
.unveil-hero .owl-controls { left: 5vw; right: auto; bottom: 12px; }
.hero-news-picker { position: absolute; top: 32px; bottom: 32px; right: 4vw; width: 350px; z-index: 6; padding: 20px; background: #ffffffed; border-top: 3px solid #26442c; box-shadow: 0 12px 48px #0003; display: flex; flex-direction: column; gap: 8px; }
.hero-picker-heading { padding-bottom: 8px; }
.hero-picker-heading > span { font-size: 10px; font-weight: 700; color: #3f813e; letter-spacing: .16em; }
.hero-picker-heading h2 { font-size: 24px; margin: 3px 0 0; color: #1a281a; }
.hero-pick { flex: 1; display: flex; align-items: center; gap: 12px; min-height: 0; padding: 8px; text-align: left; border: 1px solid #d1e1d1; background: white; color: #1a281a; cursor: pointer; transition: border-color .2s,background .2s; }
.hero-pick.is-active { background: #deeede; border-color: #26442c; box-shadow: inset 3px 0 #26442c; }
.hero-pick:hover { border-color: #26442c; background: #e7f5e7; }
.hero-pick:focus-visible { outline: 3px solid #3f813e; outline-offset: 2px; }
.hero-pick-image { display: block; width: 64px; height: 64px; flex-shrink: 0; background-size: cover; background-position: center; }
.hero-pick-title { font-size: 13px; line-height: 1.4; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Contacto con acciones directas. */
.dipromin-contact { background: #fff; padding: 28px 24px; border: 1px solid #d1e1d1; border-top: 4px solid #26442c; box-shadow: 0 8px 28px #25291c0a; }
.contact-eyebrow { color: #458b44; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.dipromin-contact h2 { font-size: 32px; line-height: 1.15; color: #1c2c1c; margin: 12px 0; letter-spacing: -1px; }
.dipromin-contact .contact-intro { color: #73796d; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.dipromin-contact .contact-channel { display: flex; align-items: center; gap: 12px; border-top: 1px solid #e0ebe0; padding: 17px 0; color: #1c2c1c; }
.contact-icon { width: 36px; height: 36px; flex-shrink: 0; background: #e1f1e1; display: grid; place-items: center; color: #458b44; font-size: 20px; }
.contact-channel small { display: block; color: #73796d; font-size: 11px; margin-bottom: 3px; }
.contact-channel strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.dipromin-contact .contact-channel:hover strong { color: #458b44; }
.dipromin-contact .contact-whatsapp { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; background: #223622; color: #fff; padding: 14px 10px; font-size: 12px; font-weight: 600; }
.dipromin-contact .contact-whatsapp:hover { background: #355235; }
@media (max-width: 991px) {
 .hero-news-picker { width: 310px; right: 24px; }
 .unveil-hero .mg-blog-post h4.title { max-width: calc(100% - 350px); font-size: 32px; }
 .mg-menu-full .mobilehomebtn { left: 16px; }
 .mg-menu-full .navbar-nav > li.home { display: none; }
}
@media (max-width: 767px) {
 .unveil-hero .mg-blog-post.lg { height: 500px; }
 .unveil-hero .mg-blog-post h4.title { max-width: 100%; font-size: 28px; }
 .hero-news-picker { position: relative; inset: auto; width: 100%; padding: 20px 16px; gap: 8px; box-shadow: none; }
 .hero-pick { flex: auto; min-height: 82px; }
 .hero-pick-title { font-size: 13px; }
 .unveil-hero .owl-controls { bottom: 10px; }
}
/* Hero editorial: fotografía continua y navegación con jerarquía. */
.unveil-hero { background: #101810; }
.unveil-hero .mg-blog-post.lg { height: 660px; background-position: center 42%; }
.unveil-hero .mg-blog-post article.bottom { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 70px 5vw 116px; background: linear-gradient(90deg,#0d2c0cd9 0%,#0d2c0c70 53%,#0d2c0c38 100%),linear-gradient(0deg,#0d2c0ca6,transparent 75%); }
.unveil-hero .mg-blog-category { margin-bottom: 18px; }
.unveil-hero .mg-blog-category a { background: #9ac63b; color: #182518; font-size: 11px; font-weight: 700; padding: 5px 10px; letter-spacing: .09em; }
.unveil-hero .mg-blog-post h4.title { width: calc(100% - 425px); max-width: 850px; font-size: clamp(34px,3.15vw,52px); line-height: 1.09; letter-spacing: -1.4px; margin: 0 0 20px; text-shadow: none; }
.unveil-hero .mg-blog-post h4.title a { color: #fff; }
.hero-lede { width: calc(100% - 440px); max-width: 650px; color: #d9e7d9; font-size: 15px; line-height: 1.7; margin: 0 0 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.unveil-hero .mg-blog-meta { color: #b5d0b5; font-size: 11px; opacity: .85; }
.hero-read-more { display: inline-block; margin-top: 20px; padding-bottom: 7px; border-bottom: 1px solid #9ac63b; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.hero-news-picker { top: 32px; bottom: 32px; right: 4vw; width: 360px; padding: 24px 22px; background: #111a14d9; backdrop-filter: blur(18px); border: 1px solid #ffffff24; border-top: 2px solid #9ac63b; box-shadow: 0 20px 50px #0002; gap: 0; }
.hero-picker-heading { padding: 0 0 18px; }
.hero-picker-heading > span { color: #9ac63b; font-size: 9px; letter-spacing: .18em; }
.hero-picker-heading h2 { font-size: 25px; color: white; margin-top: 7px; letter-spacing: -.5px; }
.hero-pick-list { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.hero-pick { flex: 1; gap: 12px; padding: 12px 0; border: 0; border-top: 1px solid #ffffff20; background: transparent; color: #dae7da; border-radius: 0; box-shadow: none; position: relative; }
.hero-pick.is-active { background: #ffffff0c; border-color: #ffffff20; box-shadow: none; }
.hero-pick.is-active::after { content: ''; position: absolute; left: -22px; top: 14px; bottom: 14px; width: 3px; background: #9ac63b; }
.hero-pick:hover { background: #ffffff12; border-color: #ffffff20; color: white; }
.hero-pick-number { color: #9ec79d; font-size: 10px; font-variant-numeric: tabular-nums; }
.hero-pick.is-active .hero-pick-number { color: #b8d66d; }
.hero-pick-image { width: 58px; height: 58px; opacity: .78; }
.hero-pick.is-active .hero-pick-image { opacity: 1; }
.hero-pick-title { font-size: 12px; line-height: 1.5; font-weight: 500; }
.hero-pick.is-active .hero-pick-title { color: #fff; font-weight: 700; }
.unveil-hero .owl-controls { display: none !important; }
.hero-navigation { position: absolute; left: 5vw; bottom: 30px; z-index: 8; display: flex; align-items: center; gap: 10px; color: #fff; }
.hero-slide-count { font-size: 12px; color: #9fa99a; font-variant-numeric: tabular-nums; }
[data-hero-current] { color: #b1e6b0; font-size: 18px; }
.hero-count-divider { padding: 0 9px; }
.hero-control-divider { width: 35px; height: 1px; background: #ffffff40; margin: 0 8px; }
.hero-navigation button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #ffffff40; background: transparent; color: white; font-size: 19px; cursor: pointer; border-radius: 50%; }
.hero-navigation button:hover, .hero-navigation button:focus-visible { background: #9ac63b; border-color: #9ac63b; color: #0f340f; }
.hero-navigation-label { font-size: 8px; letter-spacing: .12em; color: #b7d7b6; margin-left: 12px; }
@media (min-width: 768px) and (max-width: 1100px) {
 .hero-news-picker { width: 300px; right: 24px; padding: 20px 16px; }
 .unveil-hero .mg-blog-post h4.title { width: calc(100% - 330px); font-size: 36px; }
 .hero-lede { width: calc(100% - 330px); }
 .hero-pick-image { width: 46px; height: 46px; }
 .hero-pick-number { display: none; }
 .hero-pick.is-active::after { left: -16px; }
 .hero-navigation-label { display: none; }
}
@media (max-width: 767px) {
 .unveil-hero .mg-blog-post.lg { height: 560px; }
 .unveil-hero .mg-blog-post article.bottom { padding: 45px 24px 100px; background: linear-gradient(0deg,#0d2c0cf0,#0d2c0c9c 45%,#0d2c0c18); }
 .unveil-hero .mg-blog-post h4.title { width: 100%; max-width: 100%; font-size: 30px; line-height: 1.13; letter-spacing: -.7px; margin-bottom: 16px; }
 .hero-lede { width: 100%; font-size: 13px; line-height: 1.6; margin-bottom: 16px; -webkit-line-clamp: 2; }
 .unveil-hero .mg-blog-category { margin-bottom: 14px; }
 .hero-read-more { margin-top: 12px; }
 .hero-news-picker { inset: auto; position: relative; width: 100%; padding: 22px 0 20px; border: 0; background: #0f340f; backdrop-filter: none; }
 .hero-picker-heading { padding: 0 24px 16px; display: flex; align-items: baseline; justify-content: space-between; }
 .hero-picker-heading h2 { font-size: 18px; margin: 0; }
 .hero-pick-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 24px 6px; gap: 12px; scrollbar-width: thin; scrollbar-color: #26442c #1f311f; }
 .hero-pick { flex: 0 0 280px; min-height: 108px; padding: 14px; border: 1px solid #ffffff24; scroll-snap-align: center; gap: 10px; }
 .hero-pick.is-active { border-color: #9ac63b; }
 .hero-pick.is-active::after { display: none; }
 .hero-pick-number { display: none; }
 .hero-pick-image { width: 58px; height: 64px; }
 .hero-pick-title { font-size: 12px; }
 .hero-navigation { top: 492px; bottom: auto; left: 24px; }
 .hero-navigation-label { display: none; }
}
@media (max-width: 359px) {
 .unveil-hero .mg-blog-post h4.title { font-size: 27px; }
 .hero-lede { display: none; }
 .hero-pick { flex-basis: 255px; }
}
/* Contenido centrado y banners con márgenes equilibrados. */
#content.container-fluid { max-width: 1320px; padding-left: 32px; padding-right: 32px; margin-left: auto; margin-right: auto; }
#sidebar-right { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
#sidebar-right .mg-widget { width: 100%; }
#sidebar-right .textwidget img { display: block; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
#sidebar-right .textwidget > a { display: block; }
@media (max-width: 991px) {
 #sidebar-right { max-width: 420px; }
}
@media (max-width: 767px) {
 #content.container-fluid { padding-left: 24px; padding-right: 24px; }
 #sidebar-right { max-width: 380px; }
}
@media (max-width: 991px) {
 .mg-menu-full .mobilehomebtn { margin-left: 16px; }
}
/* Acciones de comunidad en las noticias. */
.article-community { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; max-width: 1160px; margin: 28px auto 36px; padding: 24px 28px; background: #eef5ee; border: 1px solid #d5e4d5; border-left: 3px solid #26442c; box-sizing: border-box; }
.article-community-copy > span { font-size: 9px; letter-spacing: .15em; font-weight: 700; color: #458644; }
.article-community .article-community-copy h2 { color: #1e301e; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.4px; margin: 7px 0 0; }
.article-community-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.article-community .article-community-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 18px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; box-sizing: border-box; transition: background .2s,box-shadow .2s,transform .2s; }
.article-community-button svg { width: 21px; height: 21px; flex-shrink: 0; }
.article-community .community-whatsapp { background: #263e26; color: white; }
.article-community .community-whatsapp:hover { background: #375636; color: white; }
.article-community .community-newsletter { background: #fff; color: #2b422b; border-color: #7cb97b; }
.article-community .community-newsletter:hover { background: #cfeccf; color: #1e301e; }
.article-community-button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #2632261a; }
.article-community-button:focus-visible { outline: 3px solid #26442c; outline-offset: 4px; }
.community-arrow { margin-left: 6px; font-size: 17px; }
@media (max-width: 767px) {
 .article-community { margin: 20px 16px 28px; padding: 22px 20px; gap: 20px; }
 .article-community-actions { width: 100%; flex-direction: column; gap: 10px; }
 .article-community .article-community-button { width: 100%; justify-content: flex-start; }
 .community-arrow { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
 .article-community-button { transition: none !important; }
 .article-community-button:hover { transform: none; }
}
/* Títulos de sección: una misma jerarquía editorial en todo el sitio. */
.dipromin-section-heading { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 20px !important; }
.dipromin-section-heading::before, .dipromin-section-heading::after { content: none !important; }
body .dipromin-section-title, body .mg-wid-title .dipromin-section-title, body .mg-sec-title .dipromin-section-title { display: flex; align-items: center; gap: 12px; float: none; width: 100%; padding: 0; margin: 28px 0 20px; color: #203320 !important; background: transparent !important; font-size: 20px !important; font-weight: 650; line-height: 1.35; letter-spacing: -.4px; text-transform: none !important; border: 0; box-shadow: none; }
body .dipromin-section-title::before { content: ''; display: block; flex: 0 0 3px; width: 3px; height: 22px; background: #26442c; position: static; transform: none; border: 0; }
body .dipromin-section-title::after { content: ''; display: block; flex: 1 1 20px; min-width: 16px; height: 1px; background: #ccdfcc; position: static; transform: none; border: 0; margin-left: 4px; }
.dipromin-section-heading .dipromin-section-title { margin: 0 !important; }
.dipromin-sidebar-sections { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
.dipromin-sidebar-sections .elementor-widget-container > .dipromin-section-title:first-child { margin-top: 4px; }
@media (max-width: 767px) {
 body .dipromin-section-title, body .mg-wid-title .dipromin-section-title, body .mg-sec-title .dipromin-section-title { font-size: 18px !important; gap: 10px; }
 .dipromin-sidebar-sections { padding-left: 8px; padding-right: 8px; }
}
/* Lectura centrada, con un ancho estable incluso en monitores grandes. */
body .dipromin-article-layout { max-width: 1280px; width: 100%; margin: 40px auto 0; padding: 0 28px; box-sizing: border-box; }
body .dipromin-article-layout > .elementor-section { width: 100%; }
body .dipromin-article-row { max-width: none !important; display: flex; align-items: flex-start; gap: 36px; }
body .dipromin-article-row > .dipromin-article-main { width: calc(100% - 356px) !important; min-width: 0; flex: 1 1 0; background: #fff; }
body .dipromin-article-row > .dipromin-article-aside { width: 320px !important; flex: 0 0 320px; }
body .dipromin-article-main > .elementor-widget-wrap { padding: 30px !important; }
body .dipromin-article-main .elementor-widget-theme-post-featured-image img { display: block; width: 100%; height: auto; margin: 0 auto; }
body .dipromin-article-main .elementor-widget-theme-post-content { max-width: none; width: 100%; margin-left: auto; margin-right: auto; }
body .dipromin-article-main .elementor-widget-theme-post-content p { font-size: 17px; line-height: 1.85; color: #50574d; }
body .dipromin-article-main .elementor-heading-title { font-size: clamp(29px,2.5vw,38px); line-height: 1.13; letter-spacing: -.9px; }
body .dipromin-article-aside .dipromin-contact { margin-top: 30px; }
body .dipromin-contact h2 { font-size: 30px; }
@media (max-width: 991px) {
 body .dipromin-article-layout { max-width: 820px; margin-top: 24px; padding: 0 24px; }
 body .dipromin-article-row { flex-direction: column; gap: 40px; }
 body .dipromin-article-row > .dipromin-article-main { width: 100% !important; flex: auto; }
 body .dipromin-article-row > .dipromin-article-aside { width: 100% !important; max-width: 420px; margin: 0 auto; flex: auto; }
}
@media (max-width: 767px) {
 body .dipromin-article-layout { padding: 0 16px; margin-top: 20px; }
 body .dipromin-article-main > .elementor-widget-wrap { padding: 22px 16px !important; }
 body .dipromin-article-main .elementor-heading-title { font-size: 29px; }
 body .dipromin-article-main .elementor-widget-theme-post-content p { font-size: 16px; line-height: 1.8; }
 .dipromin-article-main .article-community { margin-left: 0; margin-right: 0; }
}
.social-brand-icon { width: 18px; height: 18px; flex-shrink: 0; display: block; }
.footer-social-links a { min-height: 40px; }
.footer-social-links .social-brand-icon { color: #9ac63b; }
.mg-social a .social-brand-icon { width: 15px; height: 15px; margin: auto; }
.mg-social .icon-soci a { display: inline-flex; justify-content: center; align-items: center; }
/* Cabecera con el video proporcionado, conservando contraste y fondo alternativo. */
.mg-nav-widget-area-back { position: relative; isolation: isolate; overflow: hidden; }
.masthead-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; z-index: -2; pointer-events: none; }
.mg-nav-widget-area-back::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0a2209c9,#0a220970 50%,#0a2209b0); z-index: -1; pointer-events: none; }
.mg-nav-widget-area-back > .overlay, .mg-nav-widget-area-back .inner { background: transparent !important; }
.masthead-video-toggle { position: absolute; bottom: 10px; right: 16px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid #ffffff70; border-radius: 50%; background: #0004; color: #fff; font-size: 13px; cursor: pointer; }
.masthead-video-toggle:hover, .masthead-video-toggle:focus-visible { background: #9ac63b; color: #0f340f; outline-offset: 3px; }
.desktop-sticky-brand { display: none; }
@media (min-width: 992px) {
 .mg-menu-full.is-scrolled .navbar > .container-fluid { flex-direction: row !important; gap: 20px; }
 .mg-menu-full.is-scrolled .desktop-sticky-brand { display: flex; align-items: center; flex: 0 0 130px; }
 .desktop-sticky-brand img { width: 130px; height: auto; display: block; }
 .mg-menu-full.is-scrolled .navbar-collapse { order: 1; }
 .mg-menu-full.is-scrolled .m-header { order: 2; padding-left: 0 !important; }
 .mg-menu-full.is-scrolled .navbar-nav > li.home { display: none; }
 .mg-menu-full.is-scrolled .navbar-nav > li > a { padding-left: 12px; padding-right: 12px; font-size: 12px; }
}
/* Mayor presencia de Agronline en la navegación fija. */
@media (min-width: 992px) {
 .mg-menu-full.is-scrolled .desktop-sticky-brand { flex-basis: 175px; }
 .desktop-sticky-brand img { width: 175px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
 .mg-menu-full.is-scrolled .navbar > .container-fluid { gap: 14px; padding-left: 24px; padding-right: 24px; }
 .mg-menu-full.is-scrolled .navbar-nav > li > a { padding-left: 9px; padding-right: 9px; font-size: 11px; }
}
@media (max-width: 991px) {
 .mg-menu-full .mobilehomebtn { width: 170px; height: 52px; }
 .mg-menu-full .mobilehomebtn img { width: 170px; }
}
@media (max-width: 359px) {
 .mg-menu-full .mobilehomebtn { width: 150px; }
 .mg-menu-full .mobilehomebtn img { width: 150px; }
 .mg-menu-full .m-header { gap: 8px; }
}
/* Selector de portada más amplio, dentro de una composición centrada. */
@media (min-width: 1200px) {
 .unveil-hero { --hero-side-space: max(48px, calc((100vw - 1440px) / 2)); }
 .hero-news-picker { width: 420px; right: var(--hero-side-space); padding-left: 26px; padding-right: 26px; }
 .unveil-hero .mg-blog-post article.bottom { padding-left: var(--hero-side-space); padding-right: var(--hero-side-space); }
 .unveil-hero .mg-blog-post h4.title { width: calc(100% - 490px); max-width: 850px; }
 .unveil-hero .hero-lede { width: calc(100% - 490px); }
 .hero-pick { gap: 14px; }
 .hero-pick-image { width: 64px; height: 64px; }
 .hero-pick-title { font-size: 13px; }
 .hero-pick.is-active::after { left: -26px; }
 .unveil-hero .hero-navigation { left: var(--hero-side-space); }
}
/* Trama sobre la fotografía, por debajo de titulares y controles. */
.unveil-hero .mg-blog-post::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(#0a220966 1px,transparent 1px),linear-gradient(90deg,#0a220966 1px,transparent 1px); background-size: 4px 4px; opacity: .5; }
.unveil-hero .mg-blog-post article.bottom { z-index: 1; }
body .excerpt-read-more { color: #3a8b39; font-weight: 600; text-transform: none !important; white-space: nowrap; position: relative; z-index: 6; }
body .excerpt-read-more:hover { color: #20651f; text-decoration: underline; }
body .hero-read-more.excerpt-read-more { color: #84d883; border: 0; padding-bottom: 0; }
.publication-date-es, .mg-blog-date { text-transform: none !important; letter-spacing: 0 !important; }
.mg-blog-meta .publication-date-es { color: #73786e; }
.unveil-hero .mg-blog-meta .publication-date-es { color: #caddca; }
#content > .news-list-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 22px; margin-left: 0; margin-right: 0; }
#content > .news-list-layout > .news-list-main, #content > .news-list-layout > .news-list-sidebar { width: 100%; max-width: none; padding: 0; }
#content > .news-list-layout #sidebar-right { max-width: none; }
/* Sustituye los remates inclinados originales por un trazo limpio. */
.dipromin-section-heading .dipromin-section-title::before { width: 3px !important; height: 22px !important; border: 0 !important; transform: none !important; right: auto !important; top: auto !important; }
.dipromin-section-heading .dipromin-section-title::after { border: 0 !important; height: 1px !important; width: auto !important; transform: none !important; }
.archive-intro { max-width: 1320px; margin: 0 auto; padding: 36px 32px 30px; }
.archive-intro > div { padding: 0 0 24px; border-bottom: 1px solid #c8dcc8; }
.archive-intro nav { font-size: 12px; color: #7d8376; margin-bottom: 25px; }
.archive-intro nav a { color: #4d764c; }
.archive-intro nav > span { margin-left: 8px; }
.archive-eyebrow { font-size: 10px; font-weight: 700; color: #3a8b39; letter-spacing: .16em; }
.archive-intro h1 { font-size: clamp(36px,4vw,54px); line-height: 1.12; letter-spacing: -1.8px; color: #1d2e1d; margin: 9px 0 12px; }
.archive-intro p { font-size: 15px; color: #747a6d; margin: 0; }
@media (max-width: 991px) {
 #content > .news-list-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 18px; }
}
@media (max-width: 767px) {
 #content > .news-list-layout { display: block; }
 #content > .news-list-layout > .news-list-sidebar { max-width: 380px; margin: 30px auto 0; }
 .archive-intro { padding: 28px 24px 22px; }
 .unveil-hero .mg-blog-post::after { background-size: 3px 3px; opacity: .4; }
}
/* Redes modernas, con las tres plataformas presentes en cabecera. */
.mg-headwidget .mg-social { display: flex; justify-content: flex-end; gap: 9px; }
.mg-headwidget .mg-social li { margin: 0; }
.mg-headwidget .mg-social .header-social-link { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: #ffffff13; border: 1px solid #ffffff4a; border-radius: 50%; backdrop-filter: blur(8px); transition: background .2s,color .2s,transform .2s; }
.mg-headwidget .mg-social .header-social-link:hover { background: #9ac63b; border-color: #9ac63b; color: #152115; transform: translateY(-2px); }
.mg-headwidget .mg-social .header-social-link svg { width: 16px; height: 16px; }
.dipromin-widget-card { background: #fff; padding: 22px 20px; margin-bottom: 24px; }
.dipromin-widget-card .dipromin-section-title { margin: 0 0 22px !important; font-size: 19px !important; }
.dipromin-widget-card figure { margin: 0 0 16px; }
.dipromin-widget-card figure:last-child { margin-bottom: 0; }
.dipromin-widget-card img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.dipromin-sidebar-sections { padding: 0; }
@media (max-width: 767px) {
 .mg-headwidget .mg-social { justify-content: center; }
}
/* Publicidad: propuesta, canales y contacto en una sola lectura. */
.advertising-page { max-width: 1240px; margin: 0 auto; padding: 0 32px; color: #203120; }
.advertising-intro { padding: 34px 0 60px; }
.advertising-intro nav { font-size: 12px; color: #777e71; margin-bottom: 40px; }
.advertising-intro nav a { color: #4d784c; }
.ad-intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.ad-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .15em; color: #3a8b39; }
.advertising-page h1 { font-size: clamp(40px,4.4vw,66px); line-height: 1.04; letter-spacing: -2.6px; margin: 18px 0 24px; color: #1b2b1b; }
.advertising-intro p { font-size: 17px; line-height: 1.8; color: #6c7464; max-width: 530px; }
.advertising-page .ad-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; background: #243824; color: #fff; font-size: 13px; font-weight: 600; margin-top: 20px; border: 1px solid #243824; transition: background .2s; }
.advertising-page .ad-button:hover { background: #365435; }
.ad-intro-note { background: #d5e6d5; padding: 38px; border-top: 3px solid #26442c; }
.ad-intro-note > span { font-size: 9px; letter-spacing: .14em; color: #497d48; font-weight: 700; }
.ad-intro-note strong { display: block; font-size: clamp(27px,3vw,42px); line-height: 1.2; letter-spacing: -1.3px; margin: 22px 0; }
.ad-intro-note em { font-style: normal; color: #3a8b39; }
.ad-intro-note p { font-size: 13px; margin-bottom: 0; }
.ad-services { border-top: 1px solid #c6dbc6; padding: 44px 0 60px; }
.ad-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 30px; }
.ad-section-heading h2, .ad-contact h2 { font-size: clamp(30px,3vw,42px); letter-spacing: -1.2px; line-height: 1.1; margin: 12px 0 0; }
.ad-section-heading > p { font-size: 13px; color: #7b8273; max-width: 260px; margin: 0; line-height: 1.7; }
.ad-service-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; }
.ad-service { grid-column: span 2; background: #fff; border: 1px solid #d5e4d5; padding: 26px; }
.ad-service:nth-last-child(-n+2) { grid-column: span 3; }
.ad-service-number { font-size: 9px; letter-spacing: .1em; color: #5a9759; font-weight: 700; }
.ad-service img { display: block; width: 100%; height: 145px; object-fit: contain; margin: 24px 0; }
.ad-service h3 { font-size: 21px; letter-spacing: -.5px; margin-bottom: 12px; color: #203220; }
.ad-service p { font-size: 14px; line-height: 1.8; color: #727a6b; margin: 0; }
.ad-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: #182618; padding: 44px; color: #fff; scroll-margin-top: 90px; }
.ad-contact .ad-eyebrow { color: #9ac63b; }
.ad-contact h2 { color: #fff; margin: 18px 0; }
.ad-contact p { color: #a8c7a7; font-size: 14px; line-height: 1.8; max-width: 380px; }
.ad-contact-links a { display: block; color: #fff; padding: 16px 0; }
.ad-contact-links small { display: block; font-size: 9px; letter-spacing: .13em; color: #9cbf9b; margin-bottom: 8px; }
.ad-contact-links strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.ad-contact-links > a:first-child { border-bottom: 1px solid #ffffff26; }
.ad-phone-row { display: flex; flex-wrap: wrap; gap: 24px; }
.advertising-page .ad-button-light { background: #9ac63b; border-color: #9ac63b; color: #182618; padding: 14px 18px; display: flex; width: fit-content; }
.advertising-page .ad-button-light:hover { background: #a0df9f; }
@media (max-width: 991px) {
 .ad-intro-grid { gap: 32px; }
 .ad-service { grid-column: span 3; }
 .ad-service:last-child { grid-column: span 6; }
 .ad-contact { gap: 30px; padding: 30px; }
}
@media (max-width: 767px) {
 .advertising-page { padding: 0 24px; }
 .ad-intro-grid, .ad-contact { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .advertising-intro { padding-bottom: 36px; }
 .advertising-page h1 { font-size: 42px; letter-spacing: -1.8px; }
 .advertising-intro p { font-size: 15px; }
 .ad-intro-note { padding: 26px; }
 .ad-section-heading { display: block; }
 .ad-section-heading > p { margin-top: 18px; }
 .ad-service-grid { display: block; }
 .ad-service { margin-bottom: 18px; padding: 24px; }
 .ad-contact { padding: 28px 22px; }
 .ad-contact-links strong { font-size: 14px; }
 .advertising-page .ad-button { font-size: 12px; }
}
.dipromin-widget-card .dipromin-section-title { font-size: 18px !important; gap: 8px; }
.dipromin-widget-card .dipromin-section-title::after { min-width: 0; margin-left: 0; }
/* Sistema tipográfico local: titulares Manrope, lectura Source Sans 3. */
:root { --font-display: 'Manrope', sans-serif; --font-body: 'Source Sans 3', sans-serif; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-body) !important; font-size: 17px; line-height: 1.7; }
body h1, body h2, body h3, body h4, body h5, body h6, body .elementor-heading-title { font-family: var(--font-display) !important; font-weight: 700; }
body p, body input, body textarea, body select, body .elementor-widget-theme-post-content { font-family: var(--font-body) !important; }
body button, body .ad-button, body .article-community-button, body .mg-menu-full .navbar-nav > li > a { font-family: var(--font-display) !important; }
body .mg-posts-sec-post h4.title { font-size: 20px; font-weight: 750; line-height: 1.35; letter-spacing: -.6px; max-height: none; height: auto; overflow: visible; text-transform: none; }
body .mg-posts-sec-post .mg-content, body .mg-posts-sec-post .mg-content p { text-transform: none; font-size: 16px; line-height: 1.7; }
body .mg-blog-meta { font-size: 13px; line-height: 1.5; }
body .mg-blog-category a { font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: .06em; }
body .unveil-hero .mg-blog-post h4.title { font-family: var(--font-display) !important; font-weight: 750; font-size: clamp(34px,3vw,49px); line-height: 1.13; letter-spacing: -1.65px; }
body .hero-lede { font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
body .hero-pick-title { font-family: var(--font-display); font-weight: 550; letter-spacing: -.15px; }
body .hero-pick.is-active .hero-pick-title { font-weight: 750; }
body .dipromin-article-main .elementor-heading-title { font-weight: 750; font-size: clamp(30px,2.6vw,40px); line-height: 1.18; letter-spacing: -1.2px; }
body .dipromin-article-main .elementor-widget-theme-post-content p { font-size: 18px; line-height: 1.85; }
body .dipromin-section-title { letter-spacing: -.5px; font-weight: 750; }
body .publication-date-es { font-family: var(--font-body); font-size: 13px; }
body .site-description { font-size: 16px; letter-spacing: .01em; }
body .unveil-footer p { font-size: 15px; }
/* Navigation regroupée à droite, avec une seule recherche. */
@media (min-width: 992px) {
 .mg-menu-full .navbar > .container-fluid, .mg-menu-full.is-scrolled .navbar > .container-fluid { flex-direction: row !important; gap: 14px; }
 .mg-menu-full .navbar-collapse { order: 1; flex-grow: 0; margin-left: auto; justify-content: flex-end; }
 .mg-menu-full .m-header, .mg-menu-full.is-scrolled .m-header { order: 2; margin-left: 0 !important; padding-left: 0 !important; flex-shrink: 0; }
 .mg-menu-full .desktop-sticky-brand { order: 0; margin-right: auto; }
 .mg-menu-full .navbar-nav > li > a { font-size: 12px; font-weight: 700; letter-spacing: .025em; padding-left: 13px; padding-right: 13px; }
 .mg-menu-full.is-scrolled .navbar-nav > li > a { font-size: 11px; padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
 .mg-menu-full.is-scrolled .navbar > .container-fluid { gap: 10px; padding-left: 20px; padding-right: 20px; }
 .mg-menu-full.is-scrolled .navbar-nav > li > a { font-size: 10px; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 767px) {
 body .unveil-hero .mg-blog-post h4.title { font-size: 29px; line-height: 1.16; letter-spacing: -.85px; }
 body .hero-lede { font-size: 15px; }
 body .mg-posts-sec-post h4.title { font-size: 20px; line-height: 1.35; }
 body .dipromin-article-main .elementor-heading-title { font-size: 29px; line-height: 1.19; }
 body .dipromin-article-main .elementor-widget-theme-post-content p { font-size: 17px; line-height: 1.8; }
}
@media (max-width: 359px) {
 body .unveil-hero .mg-blog-post h4.title { font-size: 26px; }
}
@media (min-width: 1200px) {
 .mg-menu-full .navbar-nav > li > a { font-size: 13px; }
 .mg-menu-full.is-scrolled .navbar-nav > li > a { font-size: 12px; }
}
/* Alineación a la derecha únicamente en el estado fijo tras scroll. */
@media (min-width: 992px) {
 .mg-menu-full:not(.is-scrolled) .navbar-collapse { flex-grow: 1; margin-left: 0; justify-content: flex-start; }
 .mg-menu-full:not(.is-scrolled) .m-header { margin-left: auto !important; }
 .mg-menu-full.is-scrolled .navbar-collapse { flex-grow: 0; margin-left: auto; justify-content: flex-end; }
}
/* Compartir al terminar la lectura y separación de noticias relacionadas. */
.article-share { margin: 42px 0 0; padding: 28px 0 4px; border-top: 1px solid #cfe1cf; }
.article-share-heading > span { color: #3a8b39; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
body .article-share h2 { color: #203320; font-family: var(--font-display); font-size: 22px; letter-spacing: -.6px; margin: 10px 0 20px; line-height: 1.3; }
.article-share-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.article-share-actions a, .article-share-actions button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 13px; min-height: 44px; background: #f0f8f0; border: 1px solid #c6dbc6; color: #2b442b; font-family: var(--font-display); font-size: 11px; font-weight: 600; text-decoration: none; border-radius: 4px; cursor: pointer; transition: background .2s,border-color .2s; }
.article-share-actions a:hover, .article-share-actions button:hover { background: #d1ead1; border-color: #26442c; color: #1f301f; }
.article-share-actions a:focus-visible, .article-share-actions button:focus-visible { outline: 3px solid #26442c; outline-offset: 3px; }
.article-share-actions svg { width: 17px; height: 17px; }
body .article-share .article-share-status { font-size: 13px; color: #4b754a; min-height: 22px; margin: 12px 0 0; }
.more-sector-news { max-width: 1320px; margin: 64px auto 0 !important; padding: 0 32px; clear: both; }
.more-sector-news .missed-inner { padding: 24px; background: white; }
.dipromin-article-layout { padding-bottom: 20px !important; }
@media (max-width: 767px) {
 .more-sector-news { margin-top: 40px !important; padding-left: 24px; padding-right: 24px; }
 .more-sector-news .missed-inner { padding: 20px 16px; }
 .article-share { margin-top: 32px; padding-top: 24px; }
 .article-share-actions { display: grid; grid-template-columns: 1fr 1fr; }
 .article-share-actions button { grid-column: 1 / -1; }
}
.newsletter-dialog { width: min(600px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #bdd5bd; border-radius: 12px; color: #203120; background: white; box-shadow: 0 30px 100px #0005; overflow-y: auto; }
.newsletter-dialog::backdrop { background: #08110dcc; backdrop-filter: blur(5px); }
.newsletter-dialog-heading { padding: 26px 26px 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; background: #e8f5e8; border-top: 3px solid #26442c; }
.newsletter-dialog-heading span { color: #3a8b39; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
body .newsletter-dialog h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.7px; margin: 10px 0; }
.newsletter-dialog-heading p { font-size: 14px; color: #777d6f; line-height: 1.6; margin: 0; }
.newsletter-dialog-heading button { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #bdd5bd; border-radius: 50%; background: transparent; color: #203120; font-size: 26px; cursor: pointer; line-height: 1; }
.newsletter-frame-wrap { height: 470px; overflow: hidden; }
.newsletter-frame-wrap iframe { width: 100%; height: 560px; border: 0; position: relative; top: -72px; }
.newsletter-dialog-note { font-size: 12px; color: #818674; margin: 0; padding: 10px 24px 18px; text-align: center; }
body.newsletter-open { overflow: hidden; }
@media (max-width: 480px) {
 .newsletter-dialog-heading { padding: 22px 20px 18px; }
 .newsletter-dialog h2 { font-size: 22px; }
 .newsletter-frame-wrap { height: min(470px,55dvh); }
 .newsletter-frame-wrap iframe { height: 560px; }
}
.newsletter-dialog-heading button { min-width: 34px; max-width: 34px; padding: 0; box-shadow: none; }
.ad-service { display: flex; flex-direction: column; }
.ad-service > p { flex-grow: 1; }
.ad-service .ad-interest { display: inline-flex; align-self: center; justify-content: center; align-items: center; min-height: 46px; margin: 26px auto 0; padding: 13px 26px; color: #fff; background: #273e27; border: 1px solid #273e27; border-radius: 4px; font-family: var(--font-display); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-decoration: none; transition: background .2s,transform .2s; }
.ad-service .ad-interest:hover { background: #3a5a39; transform: translateY(-2px); }
.ad-service .ad-interest:focus-visible { outline: 3px solid #26442c; outline-offset: 4px; }
/* Cabeceras de archivo compactas, alineadas con su listado. */
.archive-intro { max-width: none; width: 100%; margin: 0; padding: 22px 0; background: #fff; border-bottom: 1px solid #d8e6d8; }
.archive-intro > div { max-width: 1320px; margin: 0 auto; padding: 0 32px; border: 0; }
.archive-intro nav { font-size: 11px; margin: 0 0 10px; }
.archive-intro h1 { font-size: 34px; line-height: 1.15; letter-spacing: -1.2px; margin: 0 0 8px; }
.archive-intro p { font-size: 14px; margin: 0; line-height: 1.6; }
.archive-list-container { width: 100% !important; max-width: 1320px !important; padding: 24px 32px 0 !important; margin: 0 auto; }
.archive-list-container > .news-list-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 22px; margin: 0; }
.archive-list-container > .news-list-layout > .news-list-main, .archive-list-container > .news-list-layout > .news-list-sidebar { width: 100%; max-width: none; padding: 0; }
.archive-list-container #sidebar-right { max-width: none; }
/* El acento se dibuja fuera del texto para mantener una separación constante. */
body .dipromin-section-title, body .mg-wid-title .dipromin-section-title, body .mg-sec-title .dipromin-section-title { padding-left: 16px !important; background-image: linear-gradient(#26442c,#26442c) !important; background-size: 3px 22px !important; background-repeat: no-repeat !important; background-position: left center !important; }
body .dipromin-section-title::before, .dipromin-section-heading .dipromin-section-title::before { display: none !important; content: none !important; }
body .dipromin-section-title::after, .dipromin-section-heading .dipromin-section-title::after { position: static !important; transform: none !important; border: 0 !important; margin-left: 12px !important; }
.desktop-sticky-description { display: none; }
@media (min-width: 1200px) {
 .mg-menu-full.is-scrolled .desktop-sticky-brand { flex-basis: 350px; gap: 16px; }
 .mg-menu-full.is-scrolled .desktop-sticky-description { display: block; width: 155px; padding-left: 16px; border-left: 1px solid #ffffff55; font-family: var(--font-body); color: #fff; font-size: 13px; line-height: 1.35; }
}
@media (min-width: 992px) and (max-width: 1199px) {
 .mg-menu-full.is-scrolled .desktop-sticky-brand { flex-basis: 266px; gap: 10px; }
 .mg-menu-full.is-scrolled .desktop-sticky-brand img { width: 145px; }
 .mg-menu-full.is-scrolled .desktop-sticky-description { display: block; width: 111px; padding-left: 10px; border-left: 1px solid #ffffff55; font-family: var(--font-body); color: #fff; font-size: 10px; line-height: 1.35; }
 .mg-menu-full.is-scrolled .navbar-nav > li > a { font-size: 9px; padding-left: 5px; padding-right: 5px; }
 .mg-menu-full.is-scrolled .navbar > .container-fluid { gap: 8px; }
}
@media (max-width: 991px) {
 .archive-list-container > .news-list-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 18px; }
}
@media (max-width: 767px) {
 .archive-intro { padding: 18px 0; }
 .archive-intro > div { padding: 0 24px; }
 .archive-intro h1 { font-size: 28px; margin-bottom: 6px; }
 .archive-intro p { font-size: 13px; }
 .archive-list-container { padding: 20px 24px 0 !important; }
 .archive-list-container > .news-list-layout { display: block; }
 .archive-list-container .news-list-sidebar { margin: 28px auto 0; max-width: 380px !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
 .mg-menu-full.is-scrolled .navbar-nav > li > a { font-size: 11px; }
}
#content.archive-list-content { padding-top: 0 !important; margin-top: 0 !important; }
@media (min-width: 992px) {
 .mg-menu-full.is-scrolled .desktop-sticky-brand { flex: 0 0 auto; }
 .mg-menu-full.is-scrolled .desktop-sticky-brand img { flex-shrink: 0; }
 .mg-menu-full.is-scrolled .desktop-sticky-description { width: auto; white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
 .mg-menu-full.is-scrolled .desktop-sticky-description { font-size: 11px; }
}
/* Buscador con espacio real, resultados inmediatos y foco visible. */
.mg-menu-full .search-trigger { display: grid; place-items: center; width: 40px; min-width: 40px; height: 40px; padding: 8px; border: 1px solid transparent; border-radius: 50%; color: #fff; background: transparent; box-shadow: none; cursor: pointer; }
.search-trigger svg { display: block; width: 22px; height: 22px; }
.mg-menu-full .search-trigger:hover, .mg-menu-full .search-trigger:focus-visible { background: #ffffff18; border-color: #ffffff6b; outline-offset: 3px; }
.site-search-dialog { width: min(760px,calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 30px; border: 1px solid #c4dac4; border-top: 3px solid #26442c; border-radius: 10px; background: #fff; color: #1f311f; box-shadow: 0 24px 90px #0005; overflow-y: auto; }
.site-search-dialog::backdrop { background: #08110dcc; backdrop-filter: blur(5px); }
.site-search-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.site-search-heading > div > span { color: #3a8b39; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
body .site-search-heading h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.8px; margin: 10px 0 0; }
.site-search-close { display: grid; place-items: center; width: 34px; min-width: 34px; height: 34px; padding: 0; border: 1px solid #cee0ce; border-radius: 50%; background: #eff7ef; color: #1f311f; font-size: 26px; box-shadow: none; cursor: pointer; }
.search-input-label { display: block; font-size: 13px; color: #6e7765; margin-bottom: 10px; }
.site-search-field { display: flex; width: 100%; border: 1px solid #90b88f; background: #f6faf6; border-radius: 6px; overflow: hidden; }
.site-search-field:focus-within { outline: 3px solid #26442c33; border-color: #3a8b39; }
.site-search-field input { flex: 1; min-width: 0; width: 100%; height: 54px; padding: 0 16px; border: 0; background: transparent; color: #1f311f; outline: none; box-shadow: none; font-size: 17px; }
.site-search-field button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 100px; padding: 0 18px; border: 0; border-radius: 0; background: #134012; color: #fff; font-size: 12px; cursor: pointer; box-shadow: none; }
.site-search-field button:hover { background: #375536; }
.site-search-status { margin: 20px 0 10px; font-size: 13px; color: #777e6e; }
.site-search-result { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid #d9e6d9; color: #213321; }
.site-search-result:hover { color: #3a8b39; }
.site-search-result strong { display: block; font-family: var(--font-display); font-weight: 650; font-size: 15px; line-height: 1.5; }
.site-search-excerpt { display: block; margin-top: 7px; color: #7a8172; font-size: 13px; line-height: 1.6; }
.site-search-arrow { margin-left: auto; color: #3a8b39; font-size: 22px; }
.site-search-all { display: block; width: fit-content; margin: 22px 0 0; color: #398838; font-size: 13px; font-weight: 650; }
.site-search-all[hidden] { display: none; }
body.search-open { overflow: hidden; }
@media (min-width: 992px) and (max-width: 1199px) {
 .mg-menu-full.is-scrolled .navbar-nav > li > a { padding-left: 4px; padding-right: 4px; font-size: 10.5px; }
}
@media (max-width: 767px) {
 .site-search-dialog { padding: 22px 20px; max-height: calc(100dvh - 32px); }
 body .site-search-heading h2 { font-size: 23px; }
 .site-search-heading { gap: 12px; margin-bottom: 20px; }
 .site-search-field input { font-size: 16px; padding-left: 12px; }
 .site-search-field button { min-width: 76px; padding: 0 12px; gap: 8px; }
 .site-search-result { gap: 12px; padding: 16px 0; }
 .site-search-result strong { font-size: 14px; }
 .site-search-excerpt { font-size: 12px; }
}
@media (min-width: 992px) { .mg-menu-full .navbar-nav { flex-wrap: nowrap; } }
.site-search-heading { position: sticky; top: 0; z-index: 2; background: #fff; padding-bottom: 12px; }
/* En móvil, una sola marca al entrar; menú persistente tras superar la cabecera. */
@media (max-width: 991px) {
 .mg-menu-full { position: fixed; top: 0; left: 0; right: 0; width: 100%; visibility: hidden; opacity: 0; transform: translateY(-110%); pointer-events: none; transition: transform .22s ease,opacity .22s ease,visibility .22s; }
 .mg-menu-full.is-mobile-sticky { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .mg-menu-full { transition: none; } }
/* Márgenes interiores simétricos y una columna de banners algo más amplia. */
body .dipromin-article-main > .elementor-widget-wrap { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
@media (min-width: 992px) {
 body .dipromin-article-layout { max-width: 1320px; padding-left: 32px; padding-right: 32px; }
 body .dipromin-article-row { gap: 24px; }
 body .dipromin-article-row > .dipromin-article-aside { width: 360px !important; flex-basis: 360px; }
 body .dipromin-article-row > .dipromin-article-main { width: calc(100% - 384px) !important; }
 #content > .news-list-layout, .archive-list-container > .news-list-layout { grid-template-columns: minmax(0,1fr) 360px; }
}
/* Banners de noticia sin el doble relleno de Elementor: alineación superior exacta. */
body .dipromin-article-aside > .elementor-widget-wrap { padding: 0 !important; margin: 0 !important; }
body .dipromin-article-aside .dipromin-sidebar-sections { width: 100% !important; max-width: none !important; margin: 0 !important; }
@media (min-width: 1200px) {
 body .dipromin-article-row > .dipromin-article-aside { width: 380px !important; flex-basis: 380px; }
 body .dipromin-article-row > .dipromin-article-main { width: calc(100% - 404px) !important; }
}
body .dipromin-article-aside .elementor-widget-wrap { padding: 0 !important; margin: 0 !important; }
/* Publicidad intercalada: una pieza por cada tres noticias. */
.home-inline-ad { height: auto; aspect-ratio: 7.5 / 1; min-height: 108px; margin: 0 0 20px; background: #203320; border: 1px solid #7ac179; border-radius: 5px; overflow: hidden; position: relative; isolation: isolate; }
.home-inline-ad::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg,#134012,#1b5a1a 50%,#0e300d); }
.home-inline-ad::after { content: ''; position: absolute; top: -80%; bottom: -80%; width: 30%; left: -45%; z-index: -1; background: linear-gradient(90deg,transparent,#9ac63b32,transparent); transform: skewX(-24deg); animation: ad-sheen 7s ease-in-out infinite; animation-play-state: paused; pointer-events: none; }
.home-inline-ad.is-visible::after { animation-play-state: running; }
.home-inline-ad-link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 26px; color: #fff; text-decoration: none; }
.home-inline-ad-link:hover { color: #fff; background: #ffffff05; }
.home-inline-ad-label { display: block; font-size: 9px; font-weight: 600; letter-spacing: .18em; color: #b1cdb1; margin-bottom: 7px; }
.home-inline-ad-copy strong { display: block; font-family: var(--font-display); font-size: clamp(22px,2.2vw,33px); font-weight: 800; letter-spacing: -.9px; line-height: 1.15; }
.home-inline-ad-copy strong > span { color: #8bdd8a; }
.home-inline-ad-copy p { color: #bdd4bd; font-size: 13px; line-height: 1.5; margin: 9px 0 0; }
.home-inline-ad-cta { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; font-family: var(--font-display); font-size: 11px; font-weight: 650; color: #bdecbc; border: 1px solid #75bd74; padding: 12px 15px; }
.home-inline-ad-cta > span { font-size: 18px; line-height: 1; }
.home-inline-ad-link:focus-visible { outline: 3px solid #8bdd8a; outline-offset: -5px; }
@keyframes ad-sheen { 0%,20% { left: -45%; } 70%,100% { left: 130%; } }
/* Formato horizontal tipo leaderboard, independiente de la altura de la noticia. */
.home-inline-ad-copy { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; }
.home-inline-ad-label { grid-column: 1 / -1; margin-bottom: 5px; }
.home-inline-ad-copy strong { white-space: nowrap; font-size: clamp(22px,2.4vw,36px); }
.home-inline-ad-copy p { margin: 0; max-width: 220px; padding-left: 22px; border-left: 1px solid #ffffff30; }
.home-wide-ad { margin-bottom: 28px; min-height: 120px; max-height: 180px; }
@media (max-width: 1100px) {
 .home-inline-ad:not(.home-wide-ad) .home-inline-ad-copy p { display: none; }
}
@media (max-width: 600px) {
 .home-inline-ad { aspect-ratio: auto; height: 96px; min-height: 96px; border-radius: 3px; }
 .home-inline-ad-link { padding: 12px 16px; flex-direction: row; gap: 12px; }
 .home-inline-ad-copy { display: block; }
 .home-inline-ad-copy strong { font-size: clamp(19px,5.5vw,28px); letter-spacing: -.6px; }
 .home-inline-ad-copy p { display: none; }
 .home-inline-ad-label { font-size: 8px; margin-bottom: 6px; }
 .home-inline-ad-cta { font-size: 9px; padding: 10px; gap: 8px; }
 .home-wide-ad { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .home-inline-ad::after { animation: none; } }
/* Noticias con mayor presencia en pantallas amplias. */
@media (min-width: 1200px) {
 body .dipromin-article-layout { width: calc(100% - 64px); max-width: 1800px; padding-left: 0; padding-right: 0; }
 body .dipromin-article-row { gap: 28px; }
 body .dipromin-article-row > .dipromin-article-aside { width: 420px !important; flex-basis: 420px; }
 body .dipromin-article-row > .dipromin-article-main { width: calc(100% - 448px) !important; }
}
.dipromin-article-aside .dipromin-widget-card img { width: 100%; }
.dipromin-article-aside .dipromin-widget-card figure > a { display: block; width: 100%; }
.home-inline-ad p { text-transform: none !important; }
.home-inline-ad-copy strong > span { animation: ad-accent-glow 3.5s ease-in-out infinite; animation-play-state: paused; }
.home-inline-ad.is-visible .home-inline-ad-copy strong > span { animation-play-state: running; }
@keyframes ad-accent-glow { 0%,100% { color: #8bdd8a; text-shadow: 0 0 0 transparent; } 50% { color: #bfecbe; text-shadow: 0 0 18px #e0ce8755; } }
@media (prefers-reduced-motion: reduce) { .home-inline-ad-copy strong > span { animation: none; } }

/* El contenido editorial aprovecha toda la caja, también en 3K y 4K. */
@media (min-width: 1920px) {
 body .dipromin-article-main .elementor-widget-theme-post-content p { font-size: clamp(18px, .7vw, 22px); line-height: 1.8; }
}
body .dipromin-widget-card > figure.wp-block-image { margin: 0 0 22px !important; }
body .dipromin-widget-card > figure.wp-block-image:last-child { margin-bottom: 0 !important; }
/* Pantallas 3K / 4K: proporción amplia con banners que crecen junto a la noticia. */
@media (min-width: 2200px) {
 body .dipromin-article-layout { width: 92%; max-width: none; --article-sidebar-width: clamp(480px, 23vw, 880px); }
 body .dipromin-article-row { gap: 36px; }
 body .dipromin-article-row > .dipromin-article-aside { width: var(--article-sidebar-width) !important; flex-basis: var(--article-sidebar-width); }
 body .dipromin-article-row > .dipromin-article-main { width: calc(100% - var(--article-sidebar-width) - 36px) !important; }
 body .dipromin-article-main .elementor-widget-theme-post-content p { font-size: clamp(20px, .75vw, 28px); }
 body .dipromin-article-main > .elementor-widget-wrap { padding: 40px !important; }
}
/* El banner de portada queda más cerca del hero. */
#content.container-fluid:has(> .home-wide-ad) { padding-top: 24px; }
@media (max-width: 600px) {
 #content.container-fluid:has(> .home-wide-ad) { padding-top: 18px; }
}
/* Zoom de imágenes sin mover títulos ni alterar el espacio entre banners. */
.more-sector-news .mg-blog-post-3 { isolation: isolate; overflow: hidden; }
.more-sector-news .sector-news-image { position: absolute; inset: 0; z-index: -1; background-image: inherit; background-size: cover; background-position: center; transition: transform .45s cubic-bezier(.2,.65,.3,1); pointer-events: none; }
.more-sector-news .mg-blog-post-3:hover .sector-news-image,
.more-sector-news .mg-blog-post-3:focus-within .sector-news-image { transform: scale(1.07); }
.dipromin-widget-card figure > a { display: block; overflow: hidden; }
.dipromin-widget-card figure > a img { transition: transform .4s cubic-bezier(.2,.65,.3,1); }
.dipromin-widget-card figure > a:hover img,
.dipromin-widget-card figure > a:focus-visible img { transform: scale(1.045); }
.dipromin-widget-card figure > a:focus-visible { outline: 2px solid #26442c; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
 .more-sector-news .sector-news-image,
 .dipromin-widget-card figure > a img { transition: none; transform: none !important; }
}
/* Misma interacción para banners en portada, widgets y dentro de las noticias. */
body .dipromin-banner-link { position: relative; display: block; overflow: hidden; transform-origin: center; transition: transform .3s ease, box-shadow .3s ease; }
body .dipromin-banner-link img { display: block; width: 100%; max-width: 100%; height: auto; transition: transform .4s ease; }
body .dipromin-banner-figure { overflow: visible; margin-bottom: 22px !important; }
body .dipromin-banner-figure:last-child { margin-bottom: 0 !important; }
.home-inline-ad { transition: transform .3s ease, box-shadow .3s ease; }
@media (hover: hover) and (pointer: fine) {
 body .dipromin-banner-link:hover { transform: scale(1.025); box-shadow: 0 12px 28px #0f340f40, 0 0 0 1px #26442c80; z-index: 2; }
 body .dipromin-banner-link:hover img { transform: scale(1.035); }
 .home-inline-ad:hover { transform: scale(1.015); box-shadow: 0 12px 28px #0f340f40, 0 0 0 1px #26442c80; z-index: 2; }
}
body .dipromin-banner-link:focus-visible { transform: scale(1.025); box-shadow: 0 10px 24px #0f340f40; outline: 2px solid #26442c; outline-offset: 3px; }
.home-inline-ad:focus-within { transform: scale(1.015); box-shadow: 0 10px 24px #0f340f40; }
@media (hover: none) {
 body .dipromin-banner-link:active, .home-inline-ad:active { box-shadow: 0 6px 18px #0f340f40; }
 body .dipromin-banner-link:hover img { transform: none; }
}
@media (max-width: 767px) {
 body .dipromin-banner-link { max-width: 100%; }
 body .dipromin-banner-figure { width: 100%; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 body .dipromin-banner-link, body .dipromin-banner-link img, .home-inline-ad { transition: none; transform: none !important; }
}
@media (max-width: 360px) {
 .home-inline-ad-link { padding: 12px; gap: 10px; }
 .home-inline-ad-copy strong { font-size: 18px; }
 .home-inline-ad-cta { padding: 9px; gap: 5px; }
}
/* Los banners se adaptan a su columna real, también en tablet con sidebar. */
.home-inline-ad { container-type: inline-size; }
@container (max-width: 650px) {
 .home-inline-ad-copy { display: block; min-width: 0; }
 .home-inline-ad-copy p { display: none; }
 .home-inline-ad-copy strong { font-size: 24px; letter-spacing: -.6px; }
 .home-inline-ad-link { padding: 16px 20px; gap: 16px; }
 .home-inline-ad-cta { font-size: 10px; padding: 11px 12px; gap: 10px; }
}
@container (max-width: 400px) {
 .home-inline-ad-link { padding: 12px 14px; gap: 12px; }
 .home-inline-ad-copy strong { font-size: 20px; letter-spacing: -.5px; }
 .home-inline-ad-label { font-size: 8px; margin-bottom: 6px; }
 .home-inline-ad-cta { font-size: 9px; padding: 10px; gap: 7px; }
}
@container (max-width: 300px) {
 .home-inline-ad-link { padding: 10px 12px; gap: 10px; }
 .home-inline-ad-copy strong { font-size: 18px; }
 .home-inline-ad-cta { font-size: 8px; padding: 9px; gap: 5px; }
}
@media (min-width: 601px) and (max-width: 1100px) {
 .home-inline-ad { height: 104px; min-height: 104px; aspect-ratio: auto; }
 .home-wide-ad { height: 112px; min-height: 112px; }
}
@media (max-width: 360px) {
 .home-inline-ad { height: 88px; min-height: 88px; }
}
/* Espacios editoriales administrados. */
.home-image-banner { margin: 0 0 28px; width: 100%; }
.home-image-banner picture, .dipromin-banner-figure picture { display: block; }
.home-image-banner img { display: block; width: 100%; height: auto; }
#content.container-fluid:has(> .home-image-banner) { padding-top: 24px; }
.cms-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0; font-size: 15px; }
.cms-pagination a { padding: 10px 15px; background: white; border: 1px solid #26442c; border-radius: 4px; }
.cms-source { margin-top: 28px; padding-top: 18px; border-top: 1px solid #cfe1cf; }
@media (max-width: 600px) { #content.container-fluid:has(> .home-image-banner) { padding-top: 18px; } }
/* Enlaces editoriales alineados con la paleta de Agronline. */
body a { color: #2d472d; }
body a:hover { color: #337e32; }
body .mg-posts-sec-post h4.title a,
body .mg-posts-sec-post h4.title a:visited { color: #1f301f; font-weight: 750; transition: color .2s ease; }
body .mg-posts-sec-post:hover h4.title a,
body .mg-posts-sec-post:focus-within h4.title a { color: #337e32; }
body .dipromin-article-main .elementor-widget-theme-post-content :is(p,li,blockquote,td,figcaption) a { color: #30712f; font-weight: 650; text-decoration: underline; text-decoration-color: #26442c80; text-underline-offset: 3px; }
body .dipromin-article-main .elementor-widget-theme-post-content :is(p,li,blockquote,td,figcaption) a:hover { color: #244723; text-decoration-color: currentColor; }
body .more-sector-news .mg-blog-post-3 h4.title a,
body .more-sector-news .mg-blog-post-3 h4.title a:visited { color: #fff; }
body .more-sector-news .mg-blog-post-3:hover h4.title a { color: #8bdd8a; }
