/* Shared editorial pages — scoped to About and Submit only. */
html body:is(.ngs-about,.ngs-submit-page){--gold:#e5c478;--gold2:#f0d69a;background:radial-gradient(ellipse at 5% 10%,#59442542,transparent 45%),#090909;color:#f5f0e7;min-height:100dvh;display:flex;flex-direction:column}
html body:is(.ngs-about,.ngs-submit-page) .editorial-page{box-sizing:border-box;width:calc(100% - 40px);max-width:1600px;margin:0 auto;padding:10px 0;display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.editorial-page :is(.editorial-hero,.editorial-panel,.dm-card){min-width:0;border:1px solid #aa8b514f;border-radius:12px;background:linear-gradient(125deg,#282219,#141414 75%);padding:14px 18px;box-sizing:border-box}
.editorial-page .editorial-hero{position:relative;isolation:isolate;overflow:hidden;flex:none}
.editorial-page .about-hero{display:flex;align-items:center;justify-content:space-between;gap:20px}
.editorial-page .about-brand{width:clamp(150px,22vw,320px);height:auto;object-fit:contain;flex:none}
.editorial-page h1{font-size:clamp(28px,3vw,44px)!important;letter-spacing:-.04em;line-height:1.08!important;margin:3px 0!important;text-transform:none}
.editorial-page :is(h2,h3){font-size:20px!important;line-height:1.15!important;margin:3px 0!important;text-transform:none}
.editorial-page p,.editorial-page li{font-size:13px;line-height:1.4!important;color:#c9bda9;margin:3px 0}
.editorial-page .eyebrow{font-size:10px!important;letter-spacing:.13em;color:#e5c478;margin:0!important}
.editorial-page :is(.editorial-actions,.submit-actions){display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
html body:is(.ngs-about,.ngs-submit-page) .editorial-page .button{display:inline-flex;align-items:center;justify-content:center;min-height:34px!important;padding:7px 12px!important;font:700 12px/1.2 system-ui!important;text-transform:none!important;letter-spacing:0!important;border:1px solid #aa8b5166;border-radius:7px;background:#282116;color:#e5c478;text-decoration:none;cursor:pointer}
html body:is(.ngs-about,.ngs-submit-page) .editorial-page .button-primary{background:linear-gradient(145deg,#f3dba7,#d1aa60);color:#17120b}
.editorial-page .about-workspace{display:grid;grid-template-columns:1fr 1.15fr;gap:8px;flex:1;min-height:0}
.editorial-page .about-story,.editorial-page .about-discover{display:flex;flex-direction:column;gap:7px;min-height:0}
.editorial-page .about-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0}
.editorial-page .about-stat-grid a{display:flex;flex-direction:column;gap:3px;padding:8px;border:1px solid #aa8b514f;border-radius:8px;background:#16130f;color:#e5c478;text-decoration:none}
.editorial-page .about-stat-grid strong{font-size:26px;line-height:1.1}.editorial-page .about-stat-grid span{font-size:11px;color:#c9bda9}
.editorial-page .about-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px;flex:1;min-height:0}
.editorial-page .about-tiles a{display:flex;flex-direction:column;justify-content:flex-end;min-height:80px;padding:12px;border:1px solid #aa8b514f;border-radius:8px;background:linear-gradient(90deg,#14110dee,#14110d66),var(--tile-art,linear-gradient(145deg,#594425,#151515)) center/cover;color:#f4f0e6;text-decoration:none}
.editorial-page .about-tiles a:hover{border-color:#e5c478}.editorial-page .about-tiles strong{font-size:18px}.editorial-page .about-tiles span{font-size:12px;color:#e5c478}
.editorial-page .about-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
.editorial-page .submit-intro::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#16120efc,#16120edb 48%,#16120e55),url('/assets/editorial-studio-2027.svg') right center/auto 115% no-repeat}
.editorial-page .dm-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px;flex:1;min-height:0;align-items:stretch}
.editorial-page .sidebar-stack{display:grid;grid-template-rows:1fr auto;gap:8px;min-height:0}
.editorial-page .dm-handle,.editorial-page .email-link{color:#e5c478;overflow-wrap:anywhere;font-weight:650;font-size:13px}
.editorial-page .dm-template{border:1px solid #aa8b514f;background:#101010;border-radius:8px;padding:10px;margin-top:8px}
.editorial-page .template-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.editorial-page .template-heading p,.editorial-page .dm-template strong{color:#e5c478;font-weight:700}
.editorial-page .dm-template ol{display:grid;grid-template-columns:1fr 1fr;gap:5px 16px;padding-left:22px;margin:6px 0}
.editorial-page .dm-template li:nth-last-child(-n+2){grid-column:1/-1}
.editorial-page .copy-status:empty{display:none}.editorial-page .copy-status{font-size:11px;color:#e5c478}
.editorial-page .notice{border-left:2px solid #e5c478;padding:8px 10px;margin-top:8px;background:#e5c4780c;font-size:12px;line-height:1.35;color:#c9bda9}
.editorial-page .dm-card ul{margin:5px 0;padding-left:18px}
html body:is(.ngs-about,.ngs-submit-page) .site-header .header-inner,html body:is(.ngs-about,.ngs-submit-page) .footer-inner{width:calc(100% - 40px);max-width:1920px;margin:auto}
html body:is(.ngs-about,.ngs-submit-page) .site-header .ngs-header-actions{display:flex;align-items:center;gap:6px;flex:none}
html body:is(.ngs-about,.ngs-submit-page) .site-header .ngs-header-actions :is(.dash-search,.ngs-library-access){display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #aa8b5166;border-radius:8px;color:#e5c478;background:#211a11;font-size:12px;text-decoration:none;white-space:nowrap}
html body:is(.ngs-about,.ngs-submit-page) .site-header .ngs-header-actions svg{width:18px!important;height:18px!important;flex:none}
html body:is(.ngs-about,.ngs-submit-page) .site-header .dash-search>span{display:none!important}
html body:is(.ngs-about,.ngs-submit-page) .site-footer{padding:3px 0!important;margin:0!important;min-height:0}
html body:is(.ngs-about,.ngs-submit-page) .footer-inner{height:auto;min-height:0;padding:4px 0;gap:5px;flex-wrap:wrap;font-size:11px;line-height:1.3}
@media(min-width:1200px){html body:is(.ngs-about,.ngs-submit-page) .site-header .header-inner{height:68px;min-height:68px;gap:10px;flex-wrap:nowrap}html body:is(.ngs-about,.ngs-submit-page) .site-header .brand{width:125px;flex:none}html body:is(.ngs-about,.ngs-submit-page) .site-header .brand img{width:100%;height:auto}html body:is(.ngs-about,.ngs-submit-page) .site-header .nav{gap:clamp(7px,.8vw,15px);font-size:12px}html body:is(.ngs-about,.ngs-submit-page) .site-header .nav-cta{display:none}}
@media(min-width:1000px) and (min-height:650px){html body:is(.ngs-about,.ngs-submit-page){height:100dvh;min-height:0}html body:is(.ngs-about,.ngs-submit-page)>.site-header,html body:is(.ngs-about,.ngs-submit-page)>.site-footer{flex:none}html body:is(.ngs-about,.ngs-submit-page) main#main-content{flex:1 1 0;min-height:0;margin:0 auto;overflow:auto}.editorial-page .editorial-hero{padding:12px 18px}.editorial-page .about-story{justify-content:center}.editorial-page .dm-card{padding:12px 16px}}
@media(max-width:999px){.editorial-page .about-workspace,.editorial-page .dm-grid{grid-template-columns:1fr}.editorial-page .sidebar-stack{grid-template-rows:auto}.editorial-page .about-tiles{grid-template-rows:auto}.editorial-page .about-tiles a{min-height:100px}}
@media(max-width:640px){html body:is(.ngs-about,.ngs-submit-page) .editorial-page,html body:is(.ngs-about,.ngs-submit-page) .header-inner,html body:is(.ngs-about,.ngs-submit-page) .footer-inner{width:calc(100% - 24px)}.editorial-page .about-hero,.editorial-page .about-submit{align-items:flex-start;flex-direction:column}.editorial-page .about-brand{width:140px;order:-1}.editorial-page .about-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-page .dm-template ol{grid-template-columns:1fr}.editorial-page .dm-template li:nth-last-child(-n+2){grid-column:auto}.editorial-page :is(.editorial-hero,.editorial-panel,.dm-card){padding:12px}.editorial-page .button{min-height:40px!important}html body:is(.ngs-about,.ngs-submit-page) .ngs-library-access>span{display:none!important}html body:is(.ngs-about,.ngs-submit-page) .site-header .brand{width:90px;min-width:0}html body:is(.ngs-about,.ngs-submit-page) .site-header .brand img{width:100%;height:auto}}

.editorial-page .sidebar-stack .dm-card:first-child{display:flex;flex-direction:column;justify-content:center}.editorial-page .sidebar-stack .dm-card:first-child ul{display:grid;gap:8px;margin:9px 0}.editorial-page .sidebar-stack .dm-card:first-child li{padding-left:3px}.editorial-page .about-tiles [data-about-tile=artists]{background-position:center 37%}

/* QA 3.7: keep the editorial workspace fitted on unfolded/tablet screens.
   Allow the main panel to scroll internally if accessibility zoom or text growth requires it. */
@media (min-width:680px) and (max-width:999px) and (min-height:480px){
 html body:is(.ngs-about,.ngs-submit-page){height:100dvh;min-height:0}
 html body:is(.ngs-about,.ngs-submit-page)>:is(.site-header,.site-footer){flex:none}
 html body:is(.ngs-about,.ngs-submit-page) main#main-content{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain}
 body.ngs-about .editorial-page .about-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);flex:1 0 auto}
 body.ngs-about .editorial-page .about-tiles{grid-template-rows:repeat(2,minmax(0,1fr))}
 body.ngs-about .editorial-page .about-tiles a{min-height:80px}
 body.ngs-about .editorial-page .about-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ngs-about .editorial-page .about-story{justify-content:center}
 body.ngs-about .editorial-page :is(.editorial-hero,.editorial-panel){padding:12px 14px}
 body.ngs-submit-page .editorial-page .dm-grid{flex:1 0 auto;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
 body.ngs-submit-page .editorial-page .sidebar-stack{grid-template-rows:1fr auto}
}
