/* AAA kategoriju vizuālais dizains v14.0 — visām 9 kategorijām */
.aaa-category-hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 79% 42%,rgba(161,222,168,.32),transparent 41%),linear-gradient(115deg,#f1f8f2 0%,#eaf5ec 100%);border-bottom:1px solid #dce9de;padding:clamp(52px,6vw,88px) 0 clamp(65px,7vw,102px)}
.aaa-category-hero:before{content:"";position:absolute;z-index:-1;left:-9%;right:-9%;bottom:-105px;height:205px;border-top:18px solid rgba(78,175,96,.17);border-radius:50% 50% 0 0;transform:rotate(-2deg)}
.aaa-category-hero .sub-hero-inner{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,5vw,74px)}
.aaa-category-copy{min-width:0;position:relative;z-index:2}
.aaa-category-hero .eyebrow.aaa-category-pill{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;border:1px solid #b9dbc2;border-radius:100px;padding:9px 16px;letter-spacing:.11em;font-size:11px;box-shadow:0 5px 18px rgba(15,82,45,.04)}
.aaa-category-pill .aaa-category-pill-icon{font-size:20px;line-height:1;letter-spacing:0}
.aaa-category-hero .breadcrumb{margin:0 0 19px;font-size:13px}
.aaa-category-hero h1{font-size:clamp(2.5rem,4.7vw,5rem);line-height:1.12;letter-spacing:-.06em;margin:0 0 22px;max-width:760px;color:#173c2b}
.aaa-category-hero h1:after{content:"";display:block;width:140px;height:5px;background:linear-gradient(90deg,#18894b,#8dd66b);border-radius:9px;margin-top:22px;transform:rotate(-2deg)}
.aaa-category-hero .aaa-category-copy>p:not(.breadcrumb){font-size:clamp(16px,1.45vw,19px);line-height:1.7;max-width:650px;color:#52685c}
.aaa-category-hero .hero-actions{gap:13px}
.aaa-category-hero .button{border-radius:11px;min-height:52px;box-shadow:0 8px 19px rgba(22,86,47,.08)}
.aaa-category-hero .button-primary{background:#c92332;box-shadow:0 10px 24px rgba(201,35,50,.17)}
.aaa-category-hero .button-primary:hover{background:#ad1d2a}
.aaa-category-hero .button-soft:hover{background:#d9e9dc}
.aaa-category-visual{position:relative;min-width:0;padding:14px 15px 22px 0}
.aaa-category-visual:before{content:"";position:absolute;inset:4% -3% 2% 3%;border-radius:38% 60% 44% 52%;background:linear-gradient(145deg,#c6ebca,#75c854);transform:rotate(-8deg);opacity:.8}
.aaa-category-hero .sub-hero-photo{position:relative;z-index:1;height:clamp(310px,30vw,440px);border:7px solid #fff;overflow:hidden;box-shadow:0 23px 52px rgba(24,74,42,.17);transform:rotate(1deg);transition:transform .3s ease,box-shadow .3s ease}
.aaa-category-hero .sub-hero-photo:hover{transform:rotate(0deg) translateY(-5px);box-shadow:0 29px 58px rgba(24,74,42,.2)}
.aaa-category-hero .sub-hero-photo img{transition:transform .45s ease}
.aaa-category-hero .sub-hero-photo:hover img{transform:scale(1.045)}
.aaa-category-photo-label{position:absolute;z-index:3;right:0;top:0;display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #cde5d1;border-radius:100px;padding:10px 16px;font-size:13px;font-weight:850;color:#155c35;box-shadow:0 9px 25px rgba(15,55,30,.12)}
.aaa-category-photo-label span{font-size:21px;line-height:1}
.aaa-category-photo-icons{position:absolute;z-index:3;bottom:0;left:50%;transform:translateX(-50%);display:flex}
.aaa-category-photo-icons span{display:grid;place-items:center;border-radius:15px;background:#fff;color:#145b36;border:1px solid #d6e9d8;box-shadow:0 12px 23px rgba(13,62,35,.12);font-size:25px}
.aaa-category-hero+.section{padding-top:clamp(16px,2vw,28px)}
.aaa-category-hero+.section .detail-section{box-shadow:0 10px 30px rgba(20,66,40,.045)}
@media(max-width:850px){.aaa-category-hero .sub-hero-inner{grid-template-columns:1fr}.aaa-category-visual{width:min(100%,680px);margin:auto}.aaa-category-hero .sub-hero-photo{height:clamp(260px,55vw,400px)}.aaa-category-hero{padding:45px 0 64px}}
@media(max-width:560px){.aaa-category-hero .eyebrow.aaa-category-pill{font-size:10px}.aaa-category-hero h1{font-size:clamp(2.3rem,10vw,3.7rem)}.aaa-category-visual{padding:15px 10px 20px 0}.aaa-category-hero .sub-hero-photo{height:265px;border-width:5px}.aaa-category-photo-label{font-size:11px;padding:8px 11px}.aaa-category-photo-icons span{font-size:21px}.aaa-category-hero .hero-actions .button{flex:1 1 170px}}
@media(prefers-reduced-motion:reduce){.aaa-category-hero .sub-hero-photo,.aaa-category-hero .sub-hero-photo img{transition:none}.aaa-category-hero .sub-hero-photo:hover,.aaa-category-hero .sub-hero-photo:hover img{transform:none}}

/* v14.1: tie paši kategoriju transporta attēli, kas izmantoti navigācijas izvēlnē */
.aaa-category-pill .aaa-category-pill-icon{display:inline-flex;align-items:center;justify-content:center;width:39px;height:29px;flex:0 0 39px}
.aaa-category-pill .aaa-category-pill-icon img{width:100%;height:100%;object-fit:contain;display:block}
.aaa-category-photo-label span{display:inline-flex;align-items:center;justify-content:center;width:52px;height:33px;flex:0 0 52px}
.aaa-category-photo-label span img{width:100%;height:100%;object-fit:contain;display:block}
.aaa-category-photo-icons span{width:88px;height:60px;padding:6px 8px}
.aaa-category-photo-icons span img{width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:560px){.aaa-category-photo-icons span{width:72px;height:51px}.aaa-category-photo-label span{width:43px;height:28px;flex-basis:43px}}

/* v14.2: trīs atšķirīgu kategoriju saīsnes zem katra attēla */
.aaa-category-photo-icons{gap:12px}
.aaa-category-photo-icons a{display:flex;align-items:center;justify-content:center;width:78px;height:59px;padding:8px;border-radius:15px;background:#fff;border:1px solid #d6e9d8;box-shadow:0 12px 23px rgba(13,62,35,.12);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.aaa-category-photo-icons a img{display:block;width:100%;height:100%;object-fit:contain}
.aaa-category-photo-icons a:hover,.aaa-category-photo-icons a:focus-visible{transform:translateY(-5px);box-shadow:0 17px 25px rgba(13,62,35,.18);outline:2px solid #267c48;outline-offset:2px}
@media(max-width:560px){.aaa-category-photo-icons a{width:63px;height:49px;padding:6px}}
@media(prefers-reduced-motion:reduce){.aaa-category-photo-icons a{transition:none}.aaa-category-photo-icons a:hover{transform:none}}

/* v14.3: kategoriju ievadkompozīcija nedaudz augstāk */
@media(min-width:851px){
  .aaa-category-hero{padding-top:clamp(30px,3.8vw,58px);padding-bottom:clamp(54px,5.6vw,80px)}
}

/* v14.4 — kategoriju sadaļas augšējā labā laukuma aizpildījums */
.aaa-related-heading-row{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(28px,5vw,75px);align-items:center;margin-bottom:38px}
.aaa-related-heading-row>.section-heading{margin-bottom:0;max-width:none}
.aaa-related-feature{position:relative;isolation:isolate;overflow:hidden;padding:25px 32px 26px;border-radius:26px;border:1px solid #c7dfce;background:linear-gradient(135deg,#fff 0%,#f4faf4 60%,#e0f0e2 100%);box-shadow:0 18px 40px rgba(18,66,39,.07)}
.aaa-related-feature:before{content:"";position:absolute;z-index:-1;width:210px;height:210px;border:30px solid rgba(107,190,91,.12);border-radius:50%;right:-92px;top:-125px}
.aaa-related-feature-top{display:flex;align-items:center;gap:10px;color:#1a653d;font-size:11px;font-weight:850;letter-spacing:.17em}
.aaa-related-feature-mark{display:grid;place-items:center;background:#17633c;color:white;border-radius:12px;width:33px;height:33px;font-size:20px}
.aaa-related-feature-icons{align-items:center}
.aaa-related-feature-icons img{width:68px;height:48px;object-fit:contain;padding:7px;background:#fff;border:1px solid #d7e8dc;border-radius:12px}
.aaa-related-feature h3{font-size:clamp(22px,2.3vw,32px);line-height:1.14;margin:0 0 9px;color:#143e29;letter-spacing:-.04em}
.aaa-related-feature p{font-size:14px;line-height:1.5;color:#52695b;margin:0 0 16px;max-width:460px}
.aaa-related-feature-link{display:inline-flex;align-items:center;gap:12px;padding:10px 16px;background:#17633c;color:#fff;border-radius:10px;font-size:13px;font-weight:800;transition:background .2s,transform .2s}
.aaa-related-feature-link:hover,.aaa-related-feature-link:focus-visible{background:#0d482a;transform:translateY(-2px)}
@media(max-width:800px){.aaa-related-heading-row{grid-template-columns:1fr;gap:24px}.aaa-related-feature{padding:22px 24px}}
@media(prefers-reduced-motion:reduce){.aaa-related-feature-link{transition:none}.aaa-related-feature-link:hover{transform:none}}

/* v14.5: sešas transporta kategorijas vienā rindā, klikšķināmas */
.aaa-related-feature-icons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:17px 0 13px}
.aaa-related-feature-icons a{min-width:0;display:flex;align-items:center;justify-content:center;aspect-ratio:1.28/1;padding:6px;background:#fff;border:1px solid #d7e8dc;border-radius:12px;transition:transform .18s ease,border-color .18s ease}
.aaa-related-feature-icons a img{display:block;width:100%;height:100%;max-height:45px;object-fit:contain;padding:0;background:transparent;border:0;border-radius:0}
.aaa-related-feature-icons a:hover,.aaa-related-feature-icons a:focus-visible{transform:translateY(-3px);border-color:#17633c;outline-offset:2px}
@media(max-width:480px){.aaa-related-feature-icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}}
@media(prefers-reduced-motion:reduce){.aaa-related-feature-icons a{transition:none}.aaa-related-feature-icons a:hover{transform:none}}

/* v16.4: kategoriju aicinājuma virsraksts vienā rindā lielajos ekrānos */
@media(min-width:1100px){.aaa-related-feature h3{font-size:clamp(19px,1.65vw,27px);letter-spacing:-.045em;white-space:nowrap;line-height:1.25}}
@media(max-width:1099px){.aaa-related-feature h3{white-space:normal;text-wrap:balance}}

/* v17.5 — vienots kategoriju ilustrāciju noformējums visās kategoriju lapās */
.aaa-category-hero .aaa-category-photo-label{gap:14px;min-height:66px;padding:9px 20px 9px 14px;background:#fff;border:1px solid #b9ddc3;color:#155c35;box-shadow:0 12px 27px rgba(13,70,40,.14);white-space:nowrap}
.aaa-category-hero .aaa-category-photo-label span{width:116px;height:47px;flex:0 0 116px}
.aaa-category-hero .aaa-category-photo-label span img{width:100%;height:100%;object-fit:contain;object-position:center;filter:none}
.aaa-category-hero .aaa-category-pill .aaa-category-pill-icon{width:66px;height:36px;flex-basis:66px}
.aaa-category-hero .aaa-category-photo-icons{gap:10px;max-width:calc(100% - 20px)}
.aaa-category-hero .aaa-category-photo-icons a{width:88px;height:69px;flex:0 0 88px;padding:9px 10px;background:#fff;border:1px solid #cce5d2;border-radius:17px;box-shadow:0 12px 24px rgba(12,62,33,.12)}
.aaa-category-hero .aaa-category-photo-icons a img{width:100%;height:100%;object-fit:contain;object-position:center;filter:none}
.aaa-category-hero .aaa-category-photo-icons a:hover,.aaa-category-hero .aaa-category-photo-icons a:focus-visible{background:#356b4c;border-color:#356b4c;box-shadow:0 16px 28px rgba(12,62,33,.22)}
.aaa-category-hero .aaa-category-photo-icons a:hover img,.aaa-category-hero .aaa-category-photo-icons a:focus-visible img{filter:brightness(0) invert(1)}
@media(max-width:560px){.aaa-category-hero .aaa-category-photo-label{gap:7px;padding:7px 11px;min-height:50px;font-size:11px}.aaa-category-hero .aaa-category-photo-label span{width:76px;height:35px;flex-basis:76px}.aaa-category-hero .aaa-category-pill .aaa-category-pill-icon{width:49px;height:29px;flex-basis:49px}.aaa-category-hero .aaa-category-photo-icons{gap:6px}.aaa-category-hero .aaa-category-photo-icons a{width:59px;height:52px;flex-basis:59px;padding:6px}}

/* v17.7 — illustrated PNG pairs are intrinsically very wide (238×40): give them horizontal room. */
.aaa-category-hero .aaa-category-pill .aaa-category-pill-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 126px!important;overflow:visible!important}
.aaa-category-hero .aaa-category-pill .aaa-category-pill-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.aaa-category-hero .aaa-category-photo-label{align-items:center!important}
.aaa-category-hero .aaa-category-photo-label span{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 184px!important}
.aaa-category-hero .aaa-category-photo-label span img{width:100%!important;height:100%!important;object-fit:contain!important}
.aaa-category-hero .aaa-category-photo-icons{align-items:stretch!important}
.aaa-category-hero .aaa-category-photo-icons a{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 145px!important}
.aaa-category-hero .aaa-category-photo-icons a img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:1100px){.aaa-category-hero .aaa-category-photo-icons a{width:118px!important;flex-basis:118px!important;height:67px!important}.aaa-category-hero .aaa-category-photo-label span{width:155px!important;min-width:155px!important;flex-basis:155px!important}}
@media(max-width:560px){.aaa-category-hero .aaa-category-photo-label{gap:7px!important}.aaa-category-hero .aaa-category-photo-icons a{width:calc(25% - 6px)!important;flex:1 1 calc(25% - 6px)!important;min-width:65px!important}}

/* v17.9: vizuālais bloks pacelts, centrēts, samērīgas ikonas */
@media(min-width:851px){
.aaa-category-hero .sub-hero-inner{align-items:start!important;gap:clamp(28px,4vw,64px)}
.aaa-category-visual{align-self:start!important;justify-self:center!important;width:100%;max-width:650px;padding:0 8px 34px!important;margin:0 auto!important;transform:translateY(-8px)}
.aaa-category-hero .sub-hero-photo{height:clamp(300px,31vw,435px)!important;transform:none!important}
.aaa-category-hero .sub-hero-photo:hover{transform:translateY(-3px)!important}
}
.aaa-category-hero .aaa-category-photo-label{position:absolute!important;z-index:3;top:14px!important;right:0!important;left:auto!important;bottom:auto!important;width:auto!important;max-width:min(78%,300px);min-height:51px!important;padding:7px 14px!important;gap:10px!important;border-radius:999px;font-size:12px;box-sizing:border-box}
.aaa-category-hero .aaa-category-photo-label span{width:94px!important;min-width:94px!important;flex:0 0 94px!important;height:32px!important}
.aaa-category-hero .aaa-category-photo-icons{position:relative;z-index:4;margin:-23px auto 0!important;flex-wrap:nowrap!important}
.aaa-category-hero .aaa-category-photo-icons a{width:83px!important;flex:0 1 83px!important;height:57px!important;min-width:0!important;padding:8px!important;border-radius:15px!important}
@media(max-width:850px){.aaa-category-visual{transform:none;margin:0 auto!important}.aaa-category-hero .aaa-category-photo-label{top:15px!important;right:8px!important}}
@media(max-width:560px){.aaa-category-hero .aaa-category-photo-label{max-width:75%;min-height:44px!important;padding:5px 9px!important}.aaa-category-hero .aaa-category-photo-label span{width:66px!important;min-width:66px!important;flex-basis:66px!important;height:28px!important}.aaa-category-hero .aaa-category-photo-icons a{width:calc(25% - 7px)!important;flex:1 1 calc(25% - 7px)!important;height:51px!important;padding:6px!important}}


/* v18.2 — vienota, kompakta kategorijas etiķete un viena kategorijas emblēma zem foto */
.aaa-category-hero .aaa-category-pill{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;padding:8px 13px!important;min-height:49px!important;
 text-align:center!important;line-height:1.2!important;letter-spacing:.1em!important;
}
.aaa-category-hero .aaa-category-pill .aaa-category-pill-icon{
 width:88px!important;min-width:88px!important;flex:0 0 88px!important;height:33px!important;
}
.aaa-category-hero .aaa-category-photo-label{display:none!important}
.aaa-category-hero .aaa-category-photo-icons{
 position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 max-width:100%!important;margin:-24px auto 0!important;gap:0!important;
}
.aaa-category-hero .aaa-category-photo-icons .aaa-category-current{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:calc(100% - 24px)!important;min-height:61px!important;
 padding:8px 20px!important;border:1px solid #c4dfcc!important;
 border-radius:18px!important;background:#fff!important;
 box-shadow:0 10px 25px rgba(15,65,36,.13)!important;
 font-size:13px!important;font-weight:800!important;
}
.aaa-category-hero .aaa-category-photo-icons .aaa-category-current img{
 width:112px!important;max-width:40vw!important;height:40px!important;object-fit:contain!important;
}
@media(max-width:560px){
 .aaa-category-hero .aaa-category-pill{gap:5px!important;padding:7px 10px!important;min-height:43px!important;font-size:10px!important}
 .aaa-category-hero .aaa-category-pill .aaa-category-pill-icon{width:65px!important;min-width:65px!important;flex-basis:65px!important;height:27px!important}
 .aaa-category-hero .aaa-category-photo-icons .aaa-category-current{min-height:51px!important;padding:6px 13px!important;gap:8px!important;font-size:11px!important}
 .aaa-category-hero .aaa-category-photo-icons .aaa-category-current img{width:85px!important;height:32px!important}
}

/* v18.3: noņem iepriekšējo atsevišķo ikonas/teksta span kartītes stilu */
.aaa-category-hero .aaa-category-photo-icons .aaa-category-current > span{
 display:block!important;place-items:unset!important;width:auto!important;height:auto!important;
 min-width:0!important;min-height:0!important;max-width:none!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;color:#155b35!important;
 font-size:15px!important;font-weight:800!important;line-height:1.25!important;
 white-space:nowrap!important;flex:0 0 auto!important;
}
.aaa-category-hero .aaa-category-photo-icons .aaa-category-current{
 box-sizing:border-box!important;width:max-content!important;max-width:calc(100% - 16px)!important;
 flex-wrap:nowrap!important;white-space:nowrap!important;gap:11px!important;
}
.aaa-category-hero .aaa-category-photo-icons .aaa-category-current > img{
 display:block!important;flex:0 0 112px!important;width:112px!important;min-width:112px!important;
 height:40px!important;object-fit:contain!important;
}
@media(max-width:560px){
 .aaa-category-hero .aaa-category-photo-icons .aaa-category-current > span{font-size:12px!important}
 .aaa-category-hero .aaa-category-photo-icons .aaa-category-current > img{
 flex-basis:78px!important;width:78px!important;min-width:78px!important;height:30px!important}
}

/* V22.82 — unified category hero, shared informational-page palette.
   Existing HTML, CMS identifiers, photo and actions remain unchanged. */
.aaa-category-hero.sub-hero {
  background: #eaf2e8 !important;
  border-bottom: 0;
  padding: clamp(24px, 4vh, 44px) 0 !important;
}
.aaa-category-hero.sub-hero::before { content: none; }
.aaa-category-hero .sub-hero-inner {
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  align-items: center;
  gap: clamp(30px,4vw,58px);
}
.aaa-category-hero .aaa-category-copy h1 {
  font-family: Manrope,'DM Sans',Arial,sans-serif;
  font-size: clamp(2.5rem,4.65vw,5rem);
  line-height: 1.12;
  letter-spacing: -.055em;
  color: #336749;
  margin: 24px 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.aaa-category-hero .aaa-category-copy h1::first-line { color: #203629; }
.aaa-category-hero .aaa-category-copy h1::after { content: none; }
.aaa-category-hero .aaa-category-copy > p:not(.breadcrumb) {
  color: #526c60; line-height: 1.6;
  font-size: clamp(1rem,1.5vw,1.2rem);
}
.aaa-category-hero .eyebrow.aaa-category-pill {
  background: transparent; border-color: #c4d9cb;
  box-shadow: none; color: #336749;
}
.aaa-category-hero .aaa-category-visual {
  align-self: center !important;
  justify-self: end !important;
  max-width: 560px;
  padding: 0 8px 72px !important;
  transform: none;
  isolation: isolate;
}
.aaa-category-hero .aaa-category-visual::before {
  inset: auto 0 0 0;
  height: 132px;
  border-radius: 0;
  background: url("aaa-category-road-v2282.svg") center bottom / 100% 100% no-repeat;
  transform: none;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}
.aaa-category-hero .sub-hero-photo {
  border: 4px solid #fff;
  border-radius: 24px 100px 24px 100px;
  box-shadow: 0 12px 30px rgba(32,54,41,.10);
  transition: none;
}
.aaa-category-hero .sub-hero-photo:hover { transform: none !important; box-shadow: 0 12px 30px rgba(32,54,41,.10); }
.aaa-category-hero .sub-hero-photo img { transition: none; }
.aaa-category-hero .sub-hero-photo:hover img { transform: none; }
.aaa-category-hero .aaa-category-photo-icons .aaa-category-current {
  box-shadow: 0 6px 16px rgba(32,54,41,.08) !important;
  border-color: #c4d9cb !important;
  color: #17643f !important;
}
@media(max-width:850px) {
  .aaa-category-hero.sub-hero { padding: 45px 0 30px !important; }
  .aaa-category-hero .sub-hero-inner { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 28px; }
  .aaa-category-hero .aaa-category-copy h1 { font-size: clamp(2.35rem,7vw,4.5rem); margin: 16px 0; }
  .aaa-category-hero .aaa-category-visual { justify-self: center !important; width: 100%; padding-bottom: 58px !important; }
  .aaa-category-hero .aaa-category-visual::before { height: 112px; }
}
@media(max-width:560px) {
  .aaa-category-hero .aaa-category-copy h1 { font-size: clamp(2rem,8.5vw,3.4rem); }
  .aaa-category-hero .sub-hero-photo { border-radius: 18px 55px 18px 55px; height: clamp(220px,65vw,300px) !important; }
  .aaa-category-hero .aaa-category-visual { padding-right: 0 !important; padding-bottom: 48px !important; }
  .aaa-category-hero .aaa-category-visual::before { height: 90px; }
  .aaa-category-hero .aaa-category-photo-icons .aaa-category-current { white-space: normal !important; flex-wrap: wrap !important; }
  .aaa-category-hero .aaa-category-photo-icons .aaa-category-current > span { white-space: normal !important; flex: 0 1 auto !important; text-align: center; }
}

/* V22.83 — balanced vertical spacing; natural height, no clipped actions. */
.aaa-category-hero .sub-hero-inner { align-items: center !important; min-height: 0; }
.aaa-category-hero .aaa-category-copy { align-self: center; }
.aaa-category-hero .hero-actions { flex-wrap: wrap; margin-top: 22px; }
@media (min-width: 851px) {
  .aaa-category-hero.sub-hero { min-height: min(646px, calc(100svh - 128px)); box-sizing: border-box; display: flex; align-items: center; }
  .aaa-category-hero .aaa-category-copy h1 { font-size: clamp(2.5rem, min(4.65vw, 8.2vh), 5rem); margin-block: 16px; }
  .aaa-category-hero .eyebrow.aaa-category-pill { margin-bottom: 12px; }
  .aaa-category-hero .breadcrumb { margin-bottom: 12px; }
  .aaa-category-hero .aaa-category-visual { padding-bottom: 58px !important; }
  .aaa-category-hero .sub-hero-photo { height: clamp(260px, min(31vw, 48vh), 435px) !important; }
  .aaa-category-hero .aaa-category-visual::before { height: 112px; }
}
@media (max-width: 850px) {
  .aaa-category-hero.sub-hero { padding-block: 18px !important; }
  .aaa-category-hero .aaa-category-copy { text-align:center; }
  .aaa-category-hero .aaa-category-copy h1 { font-size:clamp(1.65rem,6.8vw,3rem); margin:8px auto; text-wrap:balance; }
  .aaa-category-hero .aaa-category-copy > p:not(.breadcrumb) { margin:0 auto; font-size:1rem; line-height:1.4; color:#405e4e; }
  .aaa-category-hero .breadcrumb,
  .aaa-category-hero .hero-actions { display:none !important; }
  .aaa-category-hero .eyebrow.aaa-category-pill { margin-bottom:8px; }
  .aaa-category-hero .sub-hero-inner { gap:12px; }
  .aaa-category-hero .aaa-category-visual { max-width:440px; padding:0 0 34px!important; }
  .aaa-category-hero .aaa-category-visual::before { height:64px; }
  .aaa-category-hero .sub-hero-photo { height:auto!important; }
  .aaa-category-hero .sub-hero-photo img { display:block; width:100%; height:auto; max-height:min(38svh,280px); object-fit:contain; }
}

/* V22.99: avoid laying out distant footer contents during mobile hero paint. */
@media screen and (max-width:850px){
 body:has(#main > .aaa-category-hero) .site-footer .footer-grid > div {
   content-visibility:auto;contain-intrinsic-block-size:auto 220px;
 }
 body:has(#main > .aaa-category-hero) .site-header{backdrop-filter:none;}
}

/* V23.00: skip distant card body layout; keep grid, image ratio and card geometry. */
@media screen and (max-width:850px){
 @supports (content-visibility:auto){
  #main > .section-tint .mini-card .card-body{
   content-visibility:auto;
   contain-intrinsic-block-size:auto 136px;
  }
  @media (max-width:560px){
   #main > .section-tint .mini-card .card-body{contain-intrinsic-block-size:auto 120px;}
  }
 }
}
