/* Shared agriculture page layout. Footer markup follows each language's home page. */
body footer.footer[data-mos-unified-footer] {
  color:rgba(255,255,255,.78); background:#165921; padding:86px 0 0;
  font-family:Inter,Arial,sans-serif; font-size:16px; line-height:1.65;
}
html[lang^="zh"] body footer.footer[data-mos-unified-footer] {
  font-family:"Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif;
}
body footer[data-mos-unified-footer] .footer-grid {
  display:grid; width:100%; max-width:1660px; margin:0 auto 58px;
  padding:0 clamp(28px,3vw,54px);
  grid-template-columns:minmax(0,1.8fr) repeat(3,minmax(0,1fr)) minmax(0,1.4fr);
  gap:28px clamp(22px,3vw,54px); align-items:start;
}
body footer[data-mos-unified-footer] .footer-grid > * {min-width:0;}
body footer[data-mos-unified-footer] .footer-brand {grid-column:auto;}
body footer[data-mos-unified-footer] .footer-brand .logo {
  display:inline-flex; flex-direction:row; align-items:center; justify-content:flex-start;
  width:auto; max-width:100%; gap:14px; margin:0;
}
body footer[data-mos-unified-footer] .footer-brand .logo-icon {width:112px; height:46px; flex:0 0 auto;}
body footer[data-mos-unified-footer] .logo-icon img {display:block; width:100%; height:100%; object-fit:contain;}
body footer[data-mos-unified-footer] .logo-text {display:flex; flex-direction:column; justify-content:center; gap:4px; min-width:0; line-height:1.08; text-align:left;}
body footer[data-mos-unified-footer] .logo-name {color:#fff; font-size:24px; font-weight:800; letter-spacing:0; white-space:nowrap;}
body footer[data-mos-unified-footer] .logo-tagline {color:#fff; font-size:15.04px; letter-spacing:.08em; white-space:nowrap;}
body footer[data-mos-unified-footer] .footer-brand > p {font-size:15.68px; margin:34px 0 0; line-height:1.72; max-width:360px; color:rgba(255,255,255,.86);}
body footer[data-mos-unified-footer] .footer-socials {display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 0;}
body footer[data-mos-unified-footer] .footer-socials > a {display:flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; min-height:44px; border-radius:50%; background:rgba(255,255,255,.12); color:rgba(255,255,255,.86);}
body footer[data-mos-unified-footer] .footer-col h3 {font-family:inherit; color:#fff; font-size:15.2px; font-weight:600; line-height:1.65; margin:0 0 26px; letter-spacing:.01em; text-transform:none;}
body footer[data-mos-unified-footer] .footer-col ul {padding:0; margin:0; list-style:none;}
body footer[data-mos-unified-footer] .footer-col ul li {margin:0 0 16px; padding:0; line-height:1.35; letter-spacing:normal;}
body footer[data-mos-unified-footer] .footer-col ul li a {color:#bdd0c0; font-size:15.36px; line-height:1.35; letter-spacing:normal; padding:0;}
body footer[data-mos-unified-footer] .footer-col a:hover {color:#fff;}
body footer[data-mos-unified-footer] .footer-contacts {display:flex; flex-direction:column; gap:18px;}
body footer[data-mos-unified-footer] .footer-contacts p {display:grid; grid-template-columns:18px minmax(0,1fr); align-items:start; gap:14px; font-size:14.08px; line-height:1.8; color:rgba(255,255,255,.82); margin:0;}
body footer[data-mos-unified-footer] .footer-contacts a {color:inherit; overflow-wrap:anywhere;}
body footer[data-mos-unified-footer] .home-icon {display:inline-block; width:1em; height:1em; fill:currentColor; vertical-align:-.125em; flex-shrink:0;}
body footer[data-mos-unified-footer] .footer-socials .home-icon {width:23px; height:23px;}
body footer[data-mos-unified-footer] .footer-contacts .home-icon {color:#57c05c; margin-top:4px;}
body footer[data-mos-unified-footer] .footer-bottom {border-top:1px solid rgba(255,255,255,.08); padding:22px 0;}
body footer[data-mos-unified-footer] .footer-bottom-inner {display:flex; width:100%; max-width:1660px; margin:0 auto; padding:0 clamp(28px,3vw,54px); justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;}
body footer[data-mos-unified-footer] .footer-bottom p {color:#bdd0c0; font-size:13.12px; line-height:1.65; letter-spacing:normal; margin:0;}
body footer[data-mos-unified-footer] .footer-bottom p a {color:#fff; text-decoration:underline; text-underline-offset:.18em;}
body footer[data-mos-unified-footer] .footer-bottom-links {display:flex; gap:20px;}
body footer[data-mos-unified-footer] .footer-bottom-links a {color:#bdd0c0; font-size:13.12px;}
@media(max-width:1279px) {
  body footer[data-mos-unified-footer] .footer-brand > p {max-width:320px; font-size:14.72px;}
}
@media(max-width:1100px) {
  body footer[data-mos-unified-footer] .footer-grid {grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 22px;}
  body footer[data-mos-unified-footer] .footer-brand {grid-column:1 / -1;}
}
@media(max-width:768px) {
  body footer[data-mos-unified-footer] .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:480px) {
  body footer[data-mos-unified-footer] .footer-grid {gap:28px 16px; padding-inline:24px;}
  body footer[data-mos-unified-footer] .footer-brand .logo {gap:10px;}
  body footer[data-mos-unified-footer] .footer-brand .logo-icon {width:94px;}
  body footer[data-mos-unified-footer] .logo-name {font-size:22px;}
  body footer[data-mos-unified-footer] .logo-tagline {font-size:12px;}
  body footer[data-mos-unified-footer] .footer-col ul li a {font-size:14px;}
  body footer[data-mos-unified-footer] .footer-bottom {padding:18px 0 78px;}
  body footer[data-mos-unified-footer] .footer-bottom-inner {align-items:flex-start; padding-inline:24px;}
}

/* The homepage bundle and inner pages share the same three visible social links. */
body .top-bar .top-bar-right > a.top-social {display:inline-flex;}
body .top-bar-right .top-social-icon {display:block; width:18px; height:18px;}

/* Category banners align with the About page's full-width content container. */
body .news-hero.mos-agro-list-banner {
  color:#fff; background:#1a4a1f; min-height:280px; padding:72px 0 56px;
}
body .news-hero.mos-agro-list-banner > .mos-agro-list-banner__bg {
  inset:0; width:100%; opacity:1; z-index:0;
  background:linear-gradient(105deg,rgba(16,59,29,.94) 0%,rgba(29,91,41,.75) 55%,rgba(15,60,27,.35) 100%),url('/assets/images/aerial-field.jpg') center 55% / cover no-repeat;
}
body .news-hero.mos-agro-list-banner > .container.mos-agro-list-banner__inner {
  width:100%; max-width:2560px; padding-inline:24px; margin-inline:auto;
  text-align:left; position:relative; z-index:1;
}
body .news-hero.mos-agro-list-banner .mos-agro-list-banner__title {color:#fff; text-align:left; margin-inline:0;}
body .news-hero.mos-agro-list-banner .mos-agro-list-banner__description {color:rgba(255,255,255,.88); text-align:left; margin-inline:0;}
body .news-hero.mos-agro-list-banner .mos-agro-list-banner__breadcrumb,
body .news-hero.mos-agro-list-banner .mos-agro-list-banner__breadcrumb a,
body .news-hero.mos-agro-list-banner .mos-agro-list-banner__breadcrumb [aria-current] {color:rgba(255,255,255,.88);}
body .news-hero.mos-agro-list-banner .bc-sep {color:#a5d6a7;}
@media(max-width:768px) {
  body .news-hero.mos-agro-list-banner {min-height:240px; padding:44px 0 40px;}
}

/* Match square sample images to a square frame so the whole labeled vessel fills it. */
.b2b-product-gallery:has(.thumb-btn[data-generated-sample]) {min-width:0; max-width:100%;}
.b2b-product-gallery:has(.thumb-btn[data-generated-sample]) .gallery-thumbs {min-width:0; max-width:100%;}
.b2b-product-gallery:has(.thumb-btn[data-generated-sample]) .gallery-main-img {
  width:100%; height:auto; aspect-ratio:1 / 1; object-fit:contain;
}
.b2b-product-gallery:has(.thumb-btn[data-generated-sample]) .gallery-main-img[data-generated-sample] {object-fit:cover;}
@media(max-width:1100px) {
  .b2b-hero-layout:has(.thumb-btn[data-generated-sample]) {grid-template-columns:minmax(0,1fr);}
  .b2b-hero-layout:has(.thumb-btn[data-generated-sample]) > .b2b-product-info {min-width:0;}
}
