/* L1359: collapsible Brand category directory within Home, not a wall jump.
 * Eight owner-approved category thumbnails and the single Brand source retained. */
body.ama-site .ama-brand-editorial-categories .ama-brand-editorial-category--trigger{
 cursor:pointer!important;background:transparent;
 font-family:inherit!important;appearance:none;-webkit-appearance:none;
 outline-offset:3px!important;
}
body.ama-site .ama-brand-editorial-categories .ama-brand-editorial-category--trigger:hover,
body.ama-site .ama-brand-editorial-categories .ama-brand-editorial-category--trigger.is-open,
body.ama-site .ama-brand-editorial-categories .ama-brand-editorial-category--trigger:focus-visible{
 background:#ecf4eb!important;border-color:#8cb397!important;
 box-shadow:0 5px 19px rgba(37,81,51,.09)!important;
}
body.ama-site .ama-brand-editorial-category-count{
 font-size:.7rem;font-weight:650;color:#516a56;line-height:1.25;
}
body.ama-site .ama-brand-editorial-category--trigger[aria-expanded="true"] .ama-brand-editorial-category-count{
 color:#2a6b48;
}
body.ama-site .ama-brand-category-disclosures{min-width:0;width:100%}
body.ama-site .ama-brand-category-panel{
 margin:0 0 21px!important;padding:clamp(17px,2.2vw,28px)!important;
 border:1px solid #a9c2af!important;border-radius:20px!important;
 background:linear-gradient(145deg,#f3f8ef,#f9fbf9 46%,#f0f6f3)!important;
 box-shadow:0 14px 34px rgba(44,72,53,.095)!important;
}
body.ama-site .ama-brand-category-panel[hidden]{display:none!important}
body.ama-site .ama-brand-category-panel__header{
 display:flex;align-items:start;justify-content:space-between;gap:12px;
}
body.ama-site .ama-brand-category-panel__header h3{
 font-size:clamp(1.4rem,2vw,2.15rem)!important;
 margin:3px 0 12px!important;color:#2a4838!important;
}
body.ama-site .ama-brand-category-close{
 flex:0 0 44px;display:grid;place-items:center;
 min-height:44px;width:44px;background:#fff;color:#304b3b;
 border:1px solid #bacdbf;border-radius:999px;font-size:27px;cursor:pointer;
}
body.ama-site .ama-brand-category-brand-list{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 list-style:none!important;gap:9px!important;padding:0!important;margin:0!important;
}
body.ama-site .ama-brand-category-brand-list li{margin:0!important;min-width:0!important}
body.ama-site .ama-brand-category-brand-list li a{
 box-sizing:border-box!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:7px!important;min-height:52px!important;
 padding:10px 13px!important;border:1px solid #d9e6d9!important;
 border-radius:12px!important;color:#284536!important;
 background:#fff!important;font-size:.94rem!important;font-weight:750!important;
 text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
body.ama-site .ama-brand-category-brand-list li a:hover,
body.ama-site .ama-brand-category-brand-list li a:focus-visible{
 border-color:#81a489!important;background:#e5f2e8!important;
}
body.ama-site .ama-brand-category-brand-list li a span{flex:0 0 auto}
body.ama-site .ama-brand-category-note{
 font-size:.83rem!important;color:#516658!important;margin:15px 0 0!important;
}
@media(max-width:1000px){
 body.ama-site .ama-brand-category-brand-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
 body.ama-site .ama-brand-category-brand-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:415px){
 body.ama-site .ama-brand-category-brand-list{grid-template-columns:1fr!important}
}

/* L1366 unified responsive category taxonomy, same physical PHP component in
   Home and Brand directory; all original photo tiles retained. */
body.ama-site .ama-brand-category-directory{
 width:100%!important;max-width:none!important;min-width:0!important;
 margin:clamp(12px,1.8vw,20px) 0 clamp(24px,3.4vw,36px)!important;
}
body.ama-site .ama-brand-category-directory__intro{
 display:flex!important;justify-content:space-between!important;
 align-items:end!important;gap:12px clamp(18px,2.2vw,40px)!important;
 margin:0 0 20px!important;flex-wrap:wrap!important;
}
body.ama-site .ama-brand-category-directory__intro h3{
 font-size:clamp(1.45rem,2.2vw,2.2rem)!important;
 line-height:1.15!important;margin:2px 0 7px!important;color:#304d3b!important;
}
body.ama-site .ama-brand-category-directory__intro p{
 line-height:1.45!important;color:#53645a!important;
 margin:0!important;max-width:930px!important;
}
body.ama-site .ama-brand-category-directory__summary{
 flex:0 0 auto!important;padding:8px 13px!important;
 border:1px solid #b9d2bc!important;border-radius:999px!important;
 background:#eaf3e8!important;font-size:.85rem!important;color:#3d5f4a!important;
}
body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]{
 display:grid!important;
 grid-template-columns:repeat(7,minmax(0,1fr))!important;
 grid-auto-rows:1fr!important;
 gap:11px!important;width:100%!important;max-width:none!important;
 align-items:stretch!important;overflow:visible!important;
 padding:0!important;margin:0 0 15px!important;
}
body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]>.ama-brand-editorial-category{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:flex-start!important;
 box-sizing:border-box!important;flex:none!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 min-height:148px!important;height:100%!important;
 padding:11px 6px!important;gap:4px!important;margin:0!important;
 border:1px solid #c8dec9!important;border-radius:16px!important;
 color:#274832!important;background:#f6faf4!important;
 transition:border-color .18s,background-color .18s,box-shadow .18s!important;
}
body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]>.ama-brand-editorial-category img,
body.ama-site .ama-brand-category-icon{
 box-sizing:border-box!important;display:block!important;
 width:100%!important;height:79px!important;max-width:none!important;
 border-radius:12px!important;object-fit:cover!important;
}
body.ama-site .ama-brand-category-icon{
 display:grid!important;place-items:center!important;
 font-size:clamp(1.8rem,2.4vw,2.55rem)!important;line-height:1!important;
 background:linear-gradient(145deg,#dfece5,#eff2e9)!important;
 border:1px solid rgba(96,139,108,.18)!important;
}
body.ama-site .ama-brand-category-tile-label{
 font-size:clamp(.73rem,.82vw,.88rem)!important;line-height:1.18!important;
 font-weight:800!important;min-height:32px!important;text-align:center!important;
 overflow-wrap:break-word!important;
}
body.ama-site .ama-brand-editorial-category-count{
 font-size:.71rem!important;margin-top:auto!important;text-align:center!important;
}
body.ama-site .ama-brand-category-directory .ama-brand-category-panel{
 scroll-margin-top:95px!important;
}
body.ama-site .ama-brand-category-panel__header h3 small{
 font-size:.72em!important;color:#698372!important;
}
body.ama-site .ama-brand-category-section{
 padding-block:clamp(18px,2.4vw,36px)!important;
 background:linear-gradient(160deg,#f2f7ef,#edf4f0)!important;
}
body.ama-site .ama-brand-category-section .ama-shell{
 width:min(1550px,calc(100% - 40px))!important;max-width:1550px!important;
}
body.ama-site .ama-brand-category-section .ama-brand-category-directory{
 margin:0!important;
}
@media(max-width:1023px){
 body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
 }
}
@media(max-width:740px){
 body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 body.ama-site .ama-brand-category-directory__summary{font-size:.76rem!important}
}
@media(max-width:480px){
 body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
 }
 body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]>.ama-brand-editorial-category{
  min-height:138px!important;
 }
 body.ama-site .ama-brand-category-section .ama-shell{
  width:calc(100% - 26px)!important;
 }
 body.ama-site .ama-brand-category-panel__header h3{
  font-size:clamp(1.15rem,5.8vw,1.6rem)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]>.ama-brand-editorial-category{
  transition:none!important;
 }
}

/* L1369: the 14 CURRENT category tiles fill the entire width as 7 + 7 on
   desktop; 4/3/2 columns at narrower widths. No public category counts. */
body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]{
 grid-auto-flow:row!important;
 grid-auto-rows:1fr!important;
 align-items:stretch!important;
 width:100%!important;max-width:100%!important;
 gap:clamp(9px,1vw,16px)!important;
}
body.ama-site .ama-brand-editorial-categories[data-ama-brand-categories]>.ama-brand-editorial-category{
 padding:10px 7px 9px!important;min-height:143px!important;
}
body.ama-site .ama-brand-category-tile-label{
 min-height:0!important;max-width:100%!important;
 font-size:clamp(.79rem,.85vw,.94rem)!important;
 line-height:1.2!important;
}
body.ama-site .ama-brand-category-disclosure-caret{
 margin-top:auto!important;display:block!important;
 color:#416e54!important;font-size:1.2rem!important;
 line-height:1!important;transform:translateY(-2px)!important;
}
body.ama-site .ama-brand-editorial-category--trigger[aria-expanded="true"] .ama-brand-category-disclosure-caret{
 transform:rotate(180deg) translateY(2px)!important;
}
body.ama-site .ama-editorial-brand .ama-brand-category-directory,
body.ama-site .ama-brand-category-section .ama-brand-category-directory{
 box-sizing:border-box!important;
 width:100%!important;max-width:none!important;
}
body.ama-site .ama-editorial-brand .ama-brand-category-directory__intro{
 margin-bottom:14px!important;
}


