/* Animated category illustrations used instead of hero photos. */
.category-art {
  --art-glow: rgba(235,200,117,.18);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  isolation: isolate;
  transform: translateY(-48px);
}
.category-art::before,.category-art::after { position:absolute; z-index:-1; border-radius:50%; content:""; pointer-events:none; }
.category-art::before { width:310px; height:310px; top:-100px; right:-75px; background:radial-gradient(circle,var(--art-glow),transparent 68%); }
.category-art::after { width:240px; height:240px; bottom:0; left:-120px; background:radial-gradient(circle,rgba(0,133,74,.24),transparent 70%); }
.category-art__scene { position:relative; display:grid; width:100%; place-items:center; min-height:0; padding:0; }
.category-art__scene svg { position:relative; z-index:1; display:block; width:min(100%,470px); height:auto; overflow:visible; filter:drop-shadow(0 24px 32px rgba(0,0,0,.3)); animation:artFloat 6s ease-in-out infinite; }
.category-art__caption { display:flex; width:100%; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:12px 8px 0; border:0; background:transparent; text-align:center; }
.category-art__title { margin:0; color:#fff; font-size:clamp(1.1rem,2vw,1.4rem); font-weight:850; line-height:1.2; letter-spacing:-.02em; }
.category-art__subtitle { margin:5px 0 0; color:rgba(255,255,255,.85); font-size:.9rem; line-height:1.45; }
.category-art__badge { flex:0 0 auto; padding:8px 12px; border:1px solid rgba(235,200,117,.5); border-radius:999px; background:rgba(212,161,59,.14); color:#F5D990; font-size:.72rem; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.category-art__caption > div { max-width:38ch; }
.category-art .scene-sun { transform-box:fill-box; transform-origin:center; animation:artSun 4.5s ease-in-out infinite; }
.category-art .scene-field-back { animation:artField 7s ease-in-out infinite alternate; }
.category-art .scene-crop { transform-box:fill-box; transform-origin:bottom center; animation:artSway 3.8s ease-in-out infinite alternate; }
.category-art .scene-crop:nth-of-type(2n) { animation-delay:-1.7s; }
.category-art .scene-earth { transform-box:fill-box; transform-origin:center; animation:artEarth 24s linear infinite; }
.category-art .scene-orbit { transform-box:fill-box; transform-origin:center; animation:artOrbit 18s linear infinite; }
.category-art .scene-leaf { transform-box:fill-box; transform-origin:bottom center; animation:artSway 4s ease-in-out infinite alternate; }
.category-art .scene-leaf:nth-of-type(2n) { animation-delay:-2s; }
@keyframes artSun { 50% { transform:scale(1.09); filter:drop-shadow(0 0 18px rgba(235,200,117,.7)); } }
@keyframes artField { to { transform:translateY(5px); } }
@keyframes artSway { to { transform:rotate(5deg); } }
@keyframes artEarth { to { transform:rotate(360deg); } }
@keyframes artOrbit { to { transform:rotate(-360deg); } }
@keyframes artFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }

.ag-page .category-art { align-self:stretch; min-height:0; }
.rare-page .category-art { min-height:0; transform:translateY(-150px); }
.coco-page .hero .category-art { min-height:0; transform:translateY(-150px); }
.coco-page .hero .grid { align-items:center; }

.art-agriculture .category-art__scene{isolation:isolate}
.art-agriculture .category-art__scene::before{position:absolute;z-index:0;top:50%;left:50%;width:min(88%,390px);height:78%;border:1px dashed rgba(235,200,117,.38);border-radius:50%;box-shadow:0 0 0 20px rgba(235,200,117,.035),0 0 0 48px rgba(245,240,223,.025),inset 0 0 38px rgba(235,200,117,.04);content:"";pointer-events:none;transform:translate(-50%,-50%) rotate(-28deg);animation:artHalo 18s linear infinite}
.art-agriculture .category-art__scene::after{position:absolute;z-index:2;top:17%;right:13%;width:11px;height:11px;border:2px solid rgba(255,241,197,.9);border-radius:50%;background:var(--gold-light,#ebc875);box-shadow:0 0 20px 7px rgba(235,200,117,.28),-245px 218px 0 -3px rgba(235,200,117,.9),-24px 235px 0 -4px rgba(255,255,255,.8);content:"";pointer-events:none;animation:artSpark 4.8s ease-in-out infinite}
.art-agriculture .category-art__title{font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.15;text-wrap:balance}
.ag-page .ag-shell>section:first-of-type .category-art__title{font-size:clamp(1.25rem,2vw,1.6rem)!important;line-height:1.15!important;letter-spacing:-.02em!important}
@keyframes artHalo{to{transform:translate(-50%,-50%) rotate(342deg)}}
@keyframes artSpark{0%,100%{transform:translate3d(0,0,0) scale(.85);opacity:.7}50%{transform:translate3d(-9px,10px,0) scale(1.18);opacity:1}}

@media(max-width:860px) {
  .category-art,.ag-page .category-art,.rare-page .category-art,.coco-page .hero .category-art { min-height:0; transform:translateY(-12px); }
  .category-art__scene { padding-inline:0; }
}
@media(max-width:560px) {
  .category-art,.ag-page .category-art,.rare-page .category-art,.coco-page .hero .category-art { min-height:0; transform:none; }
  .category-art__caption { align-items:center; padding:8px; }
  .category-art__badge { font-size:.65rem; }
}
@media(prefers-reduced-motion:reduce) {
  .category-art *, .category-art *::before,.category-art *::after { animation:none!important; transition:none!important; }
}
