/* Optional editorial components. Enqueue after theme.css; no global overrides. */
.imp-editorial-model{max-width:1040px;margin-inline:auto;min-width:0}
.imp-editorial-breadcrumbs{margin-block-end:34px;color:var(--muted,#b0c1cd);font-size:14px;line-height:1.5}
.imp-editorial-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px 12px;list-style:none;margin:0;padding:0}
.imp-editorial-breadcrumbs li{min-width:0;overflow-wrap:anywhere}
.imp-editorial-breadcrumbs li+li::before{content:'/';margin-inline-end:12px;color:var(--muted,#b0c1cd)}
.imp-editorial-breadcrumbs a{text-decoration:underline;text-underline-offset:4px}
.imp-editorial-breadcrumbs [aria-current]{color:var(--paper,#f5f7f9)}
.imp-editorial-hero{padding-block:24px 48px;max-width:950px}
.imp-editorial-hero h1{margin:0;font-size:clamp(38px,6vw,88px);line-height:1.04;letter-spacing:-.045em;font-weight:800;overflow-wrap:anywhere;text-wrap:balance;color:var(--paper,#f5f7f9)}
.imp-editorial-intro{max-width:760px;margin:28px 0 0;font-size:clamp(19px,2vw,25px);line-height:1.55;color:var(--paper,#f5f7f9)}
.imp-editorial-meta{display:flex;flex-wrap:wrap;gap:6px 10px;margin:0 0 22px;font-size:14px;color:var(--muted,#b0c1cd)}
.imp-editorial-author{border-inline-start:1px solid var(--line,rgba(192,220,237,.25));padding-inline-start:10px}
.imp-editorial-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,4vw,60px);align-items:start}
.imp-editorial-layout--with-toc{grid-template-columns:minmax(180px,240px) minmax(0,1fr)}
.imp-editorial-layout>.article-content{min-width:0;margin:0}
.imp-editorial-toc{padding:22px;border:1px solid var(--line,rgba(192,220,237,.25));border-radius:12px;background:rgba(8,19,27,.82);position:sticky;top:36px;max-height:calc(100svh - 72px);overflow:auto;scrollbar-width:thin}
.imp-editorial-toc-label{margin:0 0 14px;font-size:15px;font-weight:700;line-height:1.4;color:var(--paper,#f5f7f9)}
.imp-editorial-toc ol{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.imp-editorial-toc a{display:block;padding:10px 0;font-size:14px;line-height:1.45;color:var(--paper,#f5f7f9);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--cyan,#039cca)}
.imp-editorial-categories ul{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0 0 32px;padding:0}
.imp-editorial-categories a{display:block;padding:8px 14px;border:1px solid var(--line,rgba(192,220,237,.25));border-radius:999px;font-size:14px;line-height:1.5;color:var(--paper,#f5f7f9);overflow-wrap:anywhere}
.imp-editorial-contact{margin-block-start:clamp(48px,7vw,90px);padding:clamp(24px,4vw,44px);border:1px solid var(--line,rgba(192,220,237,.25));border-radius:16px;background:rgba(8,19,27,.88)}
.imp-editorial-contact h2{margin:0 0 22px;font-size:clamp(25px,3vw,36px);font-weight:800;line-height:1.2;color:var(--paper,#f5f7f9)}
.imp-editorial-contact-actions{display:flex;flex-wrap:wrap;gap:14px 24px}
.imp-editorial-contact-actions a{display:inline-flex;align-items:center;min-height:44px;padding:9px 0;overflow-wrap:anywhere;color:var(--paper,#f5f7f9);text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--cyan,#039cca)}
.imp-editorial-model a:focus-visible{outline:3px solid #79ddff;outline-offset:5px}
@media(max-width:1100px){.imp-editorial-layout{grid-template-columns:minmax(0,1fr)}.imp-editorial-toc{position:static;max-height:none;overflow:visible}.imp-editorial-toc ol{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}}
@media(max-width:760px){.imp-editorial-breadcrumbs{margin-block-end:20px;font-size:13px}.imp-editorial-hero{padding-block:20px 34px}.imp-editorial-toc ol{grid-template-columns:minmax(0,1fr)}.imp-editorial-toc a{min-height:44px;padding-block:12px}.imp-editorial-categories a{min-height:44px}.imp-editorial-contact-actions{flex-direction:column;align-items:flex-start}}
@media(max-width:350px){.imp-editorial-hero h1{font-size:34px}.imp-editorial-contact{padding:22px}.imp-editorial-toc{padding:18px}}
@media print{.imp-editorial-hero h1,.imp-editorial-intro,.imp-editorial-meta,.imp-editorial-breadcrumbs,.imp-editorial-breadcrumbs [aria-current],.imp-editorial-categories a,.imp-editorial-contact h2,.imp-editorial-contact-actions a{color:#07131b}.imp-editorial-hero h1{font-size:34px}.imp-editorial-layout{display:block}.imp-editorial-toc{display:none}.imp-editorial-contact{background:#fff;border-color:#ddd;break-inside:avoid}}

/* Internal compositions share the live scene: no duplicated artwork or invented
   editorial blocks. Intrinsic media sizes and the rendered content stay native. */
@media screen{
  .editorial-main--expertise,.editorial-main--article{position:relative;background:linear-gradient(100deg,rgba(8,19,27,.97),rgba(8,19,27,.87) 65%,rgba(8,19,27,.62))}
  .imp-editorial-model--expertise,.imp-editorial-model--article{max-width:1080px}
  .imp-editorial-model--expertise .imp-editorial-hero,.imp-editorial-model--article .imp-editorial-hero{position:relative;padding-block:28px clamp(36px,5vw,64px);border-block-start:1px solid var(--line);isolation:isolate}
  .imp-editorial-model--expertise .imp-editorial-hero::before,.imp-editorial-model--article .imp-editorial-hero::before{content:'';position:absolute;inset:-1px auto auto 0;width:clamp(48px,7vw,96px);height:2px;background:var(--cyan);pointer-events:none}
  .imp-editorial-model--expertise .imp-editorial-hero h1{max-width:17ch}
  .imp-editorial-model--article .imp-editorial-hero h1{font-size:clamp(36px,4.5vw,72px);line-height:1.08;max-width:24ch}
  .imp-editorial-model .article-image{display:flex;align-items:center;justify-content:flex-start;margin:0 0 clamp(32px,4vw,56px);padding:clamp(18px,3vw,32px);border:1px solid var(--line);border-radius:2px 22px 2px 2px;background:linear-gradient(125deg,rgba(245,247,249,.07),rgba(3,156,202,.035));min-width:0}
  .imp-editorial-model .article-image img{width:auto;height:auto;max-width:100%;object-fit:contain}
  .imp-editorial-model .article-content{max-width:72ch;line-height:1.85;font-size:clamp(18px,1.4vw,20px);min-width:0}
  .imp-editorial-model .article-content>:last-child{margin-block-end:0}
  .imp-editorial-model .article-content :is(h2,h3,h4)[id]{scroll-margin-top:calc(var(--wp-admin--admin-bar--height,0px) + 136px)}
  .imp-editorial-model .article-content :is(h2,h3){text-wrap:balance}
  .imp-editorial-model .article-content h2{padding-block-start:30px;border-block-start:1px solid var(--line)}
  .imp-editorial-model .article-content :is(figure,.wp-caption){max-width:100%}
  .imp-editorial-model .article-content :is(pre,table){overscroll-behavior-inline:contain}
  .imp-editorial-model .article-content :is(a,td,th){overflow-wrap:anywhere}
  .imp-editorial-model--expertise .article-content{max-width:66ch;padding-inline-start:clamp(18px,2.5vw,32px);border-inline-start:1px solid var(--cyan)}
  .imp-editorial-model--expertise .article-content>p:first-child{font-size:clamp(20px,2vw,25px);line-height:1.65;color:var(--paper)}
  .imp-editorial-model .imp-editorial-toc{top:calc(var(--wp-admin--admin-bar--height,0px) + 132px);max-height:calc(100svh - var(--wp-admin--admin-bar--height,0px) - 164px);border-radius:2px 16px 2px 2px;scrollbar-width:none}
  .imp-editorial-model .imp-editorial-toc::-webkit-scrollbar{display:none}
  .imp-editorial-model .imp-editorial-toc a{min-height:44px;display:flex;align-items:center;border-block-end:1px solid var(--line);text-decoration:none}
  .imp-editorial-model .imp-editorial-toc li:last-child a{border-block-end:0}
  .imp-editorial-model .imp-editorial-toc a:hover{color:#8be6ff}
  .imp-editorial-model .imp-editorial-toc a:focus-visible{outline-offset:-3px}
  .imp-editorial-model .imp-editorial-contact{border-radius:2px 22px 2px 2px;border-inline-start:2px solid var(--cyan);background:linear-gradient(125deg,rgba(16,39,53,.9),rgba(8,19,27,.92));max-width:1080px}
  .editorial-main--article>.post-navigation{max-width:1080px;margin:clamp(40px,6vw,72px) auto 0;padding-block-start:28px;border-block-start:1px solid var(--line)}
  .editorial-main--article>.post-navigation .nav-links{gap:24px 40px}
  .editorial-main--article>.post-navigation .nav-links>div{flex:1 1 240px;max-width:calc(50% - 20px);min-width:0}
  .editorial-main--article>.post-navigation a{min-height:44px;font-size:clamp(18px,1.8vw,23px);line-height:1.4;text-decoration-color:var(--cyan);overflow-wrap:anywhere}
  .editorial-main--article>.post-navigation .nav-next{text-align:end}
}
@media screen and (max-width:1100px){
  .imp-editorial-model .imp-editorial-toc{position:static;max-height:none;overflow:visible}
}
@media screen and (max-width:800px){
  .imp-editorial-model--expertise .imp-editorial-hero,.imp-editorial-model--article .imp-editorial-hero{padding-block:24px 34px}
  .imp-editorial-model--article .imp-editorial-hero h1{font-size:clamp(34px,6.4vw,54px)}
  .imp-editorial-model .article-content :is(h2,h3,h4)[id]{scroll-margin-top:calc(var(--wp-admin--admin-bar--height,0px) + 124px)}
  .editorial-main--article>.post-navigation .nav-links>div{max-width:100%}
  .editorial-main--article>.post-navigation .nav-next{text-align:start}
}
@media screen and (max-width:350px){
  .imp-editorial-model--expertise .imp-editorial-hero h1,.imp-editorial-model--article .imp-editorial-hero h1{font-size:32px}
  .imp-editorial-model .article-image{padding:16px}
  .imp-editorial-model--expertise .article-content{padding-inline-start:16px}
}

/* The home rail already reserves this room for its longest chapter label.
   Internal pages use the same geometry; narrow menus may wrap instead of clip. */
@media screen{
  body:not(.home) .site-nav .nav-links>li>a[data-nav-chapter="2"]{white-space:normal;overflow-wrap:anywhere}
}
@media screen and (min-width:1101px){
  body:not(.home) .site-header{padding-inline-end:4px}
}

/* Native archive and qualified private review share the same composition. */
.editorial-main--news{position:relative;background:linear-gradient(100deg,rgba(8,19,27,.97),rgba(8,19,27,.87) 65%,rgba(8,19,27,.62))}
.imp-news{max-width:1120px;margin:0 auto;min-width:0}
.imp-news .editorial-header h1{font-size:clamp(42px,6vw,96px);line-height:1;letter-spacing:-.055em;margin:20px 0 26px;overflow-wrap:anywhere}
.imp-news-intro{max-width:720px;color:var(--muted);font-size:clamp(17px,1.4vw,20px);line-height:1.7}
.imp-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:48px}
.imp-news-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:4px 24px 4px 4px;background:linear-gradient(145deg,#152735,#0c1720);overflow:hidden}
.imp-news-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.05fr 1fr}
.imp-news-visual{min-width:0;background:#f3f6f8;display:flex;align-items:center;justify-content:center;aspect-ratio:16/10}
.imp-news-visual img{width:100%;height:100%;object-fit:contain;max-height:400px;display:block}
.imp-news-visual--story img{object-fit:cover}
.imp-news-copy{padding:clamp(24px,3vw,42px);display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.imp-news-copy h2{font-size:clamp(24px,2.1vw,36px);line-height:1.16;letter-spacing:-.035em;margin:20px 0}
.imp-news-copy h2 a{color:var(--paper);text-decoration:none;overflow-wrap:anywhere}
.imp-news-note{font-size:13px;line-height:1.5;color:#b5d3e6;border-bottom:1px solid var(--line);padding-bottom:14px}
.imp-news-copy .news-excerpt{line-height:1.65;color:#bfccd5;margin:0 0 26px;overflow-wrap:anywhere}
.imp-news-copy .news-excerpt p{margin:0}
.imp-news-copy .text-link{margin-top:auto;min-height:44px;display:inline-flex;align-items:center;gap:16px;color:#9be9ff;border-bottom:1px solid #9be9ff;padding:10px 0}
.imp-news-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:auto;width:100%}
.imp-news-actions .text-link{margin-top:0}
.imp-news-edit{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border:1px solid #9be9ff;border-radius:999px;color:#d6f5ff;background:rgba(66,166,204,.1);font-size:14px;text-decoration:none}
.imp-news-edit:hover{background:rgba(66,166,204,.24)}
.imp-news a:focus-visible{outline:3px solid #9be9ff;outline-offset:5px}
.imp-news-card:hover{border-color:#93d8f0}
.imp-news-card:hover h2 a{color:#a3e8ff}
.imp-news>.navigation{margin-top:40px}
@media(max-width:800px){.imp-news-grid{grid-template-columns:1fr;margin-top:32px;gap:20px}.imp-news-card:first-child{display:flex;grid-column:auto}.imp-news-copy{padding:24px}.imp-news-visual img{max-height:300px}.imp-news .editorial-header h1{font-size:clamp(40px,11vw,64px)}}
@media print{.editorial-main--news,.imp-news-card{background:#fff;color:#07131b}.imp-news-copy h2 a,.imp-news-note,.imp-news-copy .news-excerpt,.imp-news-copy .text-link{color:#07131b}.imp-news-grid,.imp-news-card:first-child{display:block}.imp-news-card{break-inside:avoid;margin-bottom:24px}.imp-news-visual img{max-height:200px}}
