/* Final HOME polish. Category hierarchy and downstream page styles are unchanged. */
.mg-home{--card:#f6f7f3;--card-line:#e0e4db}
.mg-card{border-radius:6px;background:var(--card);box-shadow:0 1px 2px #24321f04}
.mg-featured{background:#f2f4ec}
.mg-title{gap:10px}
.mg-title strong{letter-spacing:-.2px}
.mg-card-main{padding-top:18px;padding-bottom:12px}
.mg-art{height:152px;margin-top:12px}
.mg-featured .mg-art{min-height:290px}
.mg-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-bottom:8px;border-color:#d8ded0}
.mg-shortcuts a{white-space:normal;line-height:1.4;font-size:.875rem;min-width:0;min-height:44px;padding-block:9px;gap:7px}
.mg-featured .mg-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px}
.mg-shortcuts a:focus-visible,.mg-more a:focus-visible,.mg-more button:focus-visible{outline:3px solid #52772a;outline-offset:3px;border-radius:2px}
.mg-support .mg-card-main{padding:17px 16px 10px}
.mg-support .mg-art{height:152px;margin-top:10px}
.mg-support .mg-shortcuts{display:flex;flex-direction:column;gap:0;margin:0 16px 8px}
.mg-support .mg-shortcuts a{flex:auto}
.mg-more{gap:24px}
.mg-more>div{gap:4px 24px}
@media(min-width:1101px){
 .mg-primary .mg-art{height:164px}
 .mg-primary .mg-card-main{padding-inline:23px}
 .mg-featured .mg-card-main{padding-bottom:20px}
}
@media(min-width:761px) and (max-width:1100px){
 .mg-primary .mg-shortcuts{grid-template-columns:1fr;margin-inline:16px}
 .mg-featured .mg-shortcuts{display:flex;flex-direction:column;gap:0}
 .mg-featured .mg-art{min-height:260px}
 .mg-support .mg-card-main{padding-inline:16px}
}
@media(max-width:760px){
 .mg-card-main{padding:15px 14px 10px}
 .mg-title strong{font-size:1rem;line-height:1.4}
 .mg-art{height:124px;margin:12px 0 0}
 .mg-primary .mg-title{padding-right:0}
 .mg-primary .mg-action{display:none}
 .mg-primary .mg-shortcuts{grid-template-columns:1fr;gap:0;margin:0 14px 8px}
 .mg-primary .mg-shortcuts a{font-size:.875rem;min-height:44px;display:flex}
 .mg-primary .mg-shortcuts svg{display:none}
 .mg-featured .mg-art{height:132px;min-height:0;margin:0}
 .mg-featured .mg-shortcuts{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:0 18px}
 .mg-support .mg-card-main{grid-template-columns:112px minmax(0,1fr);padding:10px 16px;gap:16px}
 .mg-support .mg-art{height:96px;margin:0}
 .mg-support .mg-title strong{font-size:1rem;line-height:1.4}
 .mg-support .mg-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:0 16px 5px}
 .mg-support .mg-shortcuts a{font-size:.875rem;min-height:44px}
 .mg-support .mg-shortcuts svg{width:14px}
 .mg-more{margin-top:16px}
 .mg-more>div{gap:2px 20px}
}
@media(max-width:360px){
 .mg-primary .mg-title strong{font-size:1rem}
 .mg-primary .mg-art{margin-bottom:0}
 .mg-card-main{padding:14px 12px 10px}
 .mg-primary .mg-shortcuts{margin-inline:12px}
 .mg-support .mg-card-main{grid-template-columns:96px minmax(0,1fr);gap:12px;padding-inline:13px}
 .mg-support .mg-shortcuts{margin-inline:13px;gap:12px}
 .mg-support .mg-shortcuts svg{display:none}
}
@container(max-width:16rem){
 .mg-featured .mg-art{min-height:0;height:160px}
 .mg-support .mg-card-main{display:flex;gap:0}
 .mg-support .mg-art{height:152px;margin-top:10px}
 .mg-support .mg-shortcuts{display:flex;flex-direction:column}
}

/* Source-index fallback for the newly exposed categories without photo samples. */
.nv-catalog-preview{grid-column:1/-1}
.nv-catalog-preview .nv-full-index{margin-top:20px}
.nv-catalog-preview .nv-full-index>a{background:white}
