/* Public-only refinement 2. Preserve workbench, PDFs, case data and handlers. */
.public-site-page.editorial-portal {
  --ed-blue: #002fa7;
  --ed-ink: #111;
  --ed-muted: #5c5c5c;
  --ed-line: #dedede;
  --green: #002fa7;
  --ink: #111;
  --muted: #5c5c5c;
  --line: #dedede;
}
.editorial-portal :is(a,button,summary):focus-visible { outline-color: var(--ed-blue); }
.editorial-portal :is(h2,h3) { color: var(--ed-blue); }
.editorial-portal .section-heading h2 { color: var(--ed-blue); }
.editorial-portal .site-brand-logo { border: 0; outline: 0; background: transparent; filter: none; }
.editorial-portal .site-brand { text-decoration: none; border: 0; }
.editorial-portal .editorial-location {
  font-size: 20px; font-weight: 600; letter-spacing: .065em; margin-bottom: 24px;
}
.editorial-portal .editorial-location span { font-size: .88em; font-weight: 500; }
.editorial-portal .editorial-hero-top {
  display: block;
}
.editorial-portal .editorial-hero-sketch { color: var(--ed-blue); width: min(100%,280px); }
.editorial-portal .editorial-hero-sketch svg { width: 100%; height: auto; display: block; }
.editorial-portal .editorial-hero-sketch figcaption { padding-left: 28px; margin-top: 12px; }
.editorial-portal .editorial-hero-sketch span { display: block; font-size: 17px; letter-spacing: .08em; }
.editorial-portal .editorial-hero-sketch small { display: block; font-size: 10px; letter-spacing: .08em; margin-top: 4px; }
.editorial-portal .sketch-detail { stroke-width: 1; }
.editorial-portal .editorial-hero h1 { font-size: clamp(44px,6.4vw,88px); }
.editorial-portal .business-section { padding-top: 64px; padding-bottom: 0; }
.editorial-portal .editorial-business-list article {
  grid-template-columns: 86px minmax(220px,1fr) minmax(0,1.15fr) auto;
  gap: 28px; padding: 27px 0;
}
.editorial-portal .editorial-service-mark { display: grid; justify-items: center; gap: 4px; color: var(--ed-blue); }
.editorial-portal .editorial-service-sketch { width: 64px; height: 64px; overflow: visible; }
.editorial-portal .editorial-number { line-height: 1.4; }
.editorial-portal .editorial-business-list h3 { color: var(--ed-blue); }
.editorial-portal .editorial-about-copy h3 { color: var(--ed-blue); }
.editorial-portal .editorial-kicker { color: var(--ed-blue); }
.editorial-portal .editorial-ai { background: var(--ed-blue); color: #fff; margin-top: 76px; }
.editorial-portal .editorial-ai :is(h2,h3,.editorial-kicker) { color: #fff; }
.editorial-portal .editorial-ai-type span { color: #fff; }
.editorial-portal .editorial-ai-copy>p { color: #fff; }
.editorial-portal .editorial-ai-copy small { color: #fff; }
.editorial-portal .editorial-ai-copy li { border-color: rgba(255,255,255,.38); }
.editorial-portal .capability-grid article:hover { background: #f5f5f5; }
.editorial-portal .capability-grid span { color: var(--ed-muted); }
.editorial-portal .contact-panel>div>p,
.editorial-portal .contact-list span { color: #fff; }
.editorial-portal .contact-list article,
.editorial-portal .contact-list article:hover { border-color: #fff; }
.editorial-portal .contact-list button { border-color: #fff; color: #fff; }
.editorial-portal .contact-section :is(h2,h3) { color: #fff; }
.editorial-portal :is(.public-cases-toolbar input,.login-dialog input) { border-color: #a8a8a8; }
.editorial-portal .public-case-card>img,
.editorial-portal .public-case-placeholder { background: #f3f3f3; }
.editorial-portal .public-case-gallery>button { background: #f5f5f5; }
.editorial-portal .public-case-lightbox { background: rgba(8,8,8,.96); }
.editorial-portal .dialog-backdrop { background: rgba(12,12,12,.58); }
.editorial-portal :is(.detail-list li,.detail-note,.dialog-close) { background: #f5f5f5; }
.editorial-portal .login-dialog input:focus { outline-color: var(--ed-blue); box-shadow: none; }
.editorial-portal [data-feedback-pause] { border-color: var(--ed-line); }
.editorial-portal .editorial-team-more { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.editorial-portal .editorial-team-window { position: relative; overflow: hidden; aspect-ratio: 350 / 258; background: #f5f5f5; }
.editorial-portal .editorial-team-window img { position: absolute; width: 428.572%; height: auto; max-width: none; }
.editorial-portal .editorial-team-window.together img { left: -322%; top: -73.644%; }
.editorial-portal .editorial-team-window.daily img { left: -4.571%; top: -175.582%; }
.editorial-portal .editorial-team-window.entry img { left: -4.571%; top: -74.418%; }
.editorial-portal .editorial-team-extra figcaption { display: block; }
.editorial-portal .editorial-team-extra figcaption>span { display: block; }
.editorial-portal .editorial-team-extra figcaption>span:first-child { font-size: 16px; color: var(--ed-blue); margin-bottom: 4px; font-weight: 600; }
.editorial-portal :is(.editorial-meeting-section,.editorial-honor-section) { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ed-line); }
.editorial-portal :is(.editorial-meeting-section,.editorial-honor-section)>h3 { font-size: 25px; margin-bottom: 24px; }
.editorial-portal .editorial-meeting-section figure { max-width: 1000px; }
.editorial-portal .editorial-meeting-section img { width: 100%; height: auto; }
.editorial-portal .editorial-honor { max-width: 740px; }
.editorial-portal .editorial-honor img { width: 100%; height: auto; aspect-ratio: 996 / 681; object-fit: contain; background: #f5f5f5; }
.editorial-portal .editorial-certificate-status { margin-top: 12px; color: var(--ed-muted); font-size: 14px; }
.editorial-portal [data-certificate-retry] { color: var(--ed-blue); border: 1px solid var(--ed-blue); background: #fff; font: inherit; min-height: 40px; margin-left: 12px; padding: 5px 14px; cursor: pointer; }
/* Opt-in company photographs only. Preserve original pixels and all case colors. */
.editorial-portal img[data-company-photo="true"] { filter: saturate(.62) contrast(1.04) brightness(1.025); }
.editorial-portal .editorial-architecture figcaption span:only-child { max-width: none; }
.editorial-portal .editorial-workplace figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--ed-muted); font-size: 11px; }
.editorial-portal .site-header { background: var(--ed-blue); border-bottom-color: var(--ed-blue); color: #fff; }
.editorial-portal .site-header .site-brand-logo { filter: brightness(0) invert(1); }
.editorial-portal .site-header :is(.site-brand,.site-brand strong,.site-brand small,.site-nav nav a,.mobile-login-link,.nav-toggle) { color: #fff; }
.editorial-portal .site-header .site-nav nav { background: var(--ed-blue); border-color: rgba(255,255,255,.35); }
.editorial-portal .site-header :is(.login-link,.nav-toggle) { background: transparent; border-color: #fff; color: #fff; }
.editorial-portal .site-header .site-nav nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.editorial-portal .site-header .site-nav .login-link:hover { color: #fff; background: transparent; border-color: #fff; }
.editorial-portal .site-header :is(a,button):focus-visible { outline-color: #fff; }
.editorial-portal .customer-section { margin-top: 76px; padding: 76px 0; background: var(--ed-blue); color: #fff; }
.editorial-portal .customer-section :is(h2,.section-heading>p,.customer-grid>div>p,.customer-grid li,.customer-grid li i,.customer-grid li span) { color: #fff; }
.editorial-portal .customer-grid li { border-color: rgba(255,255,255,.38); }
.editorial-portal .editorial-honor-section.site-section { margin-top: 0; padding: 76px 0; border: 0; }
.editorial-portal .editorial-honor-section>.site-container { border: 0; padding-top: 0; }
.editorial-portal .editorial-honor figcaption { color: var(--ed-muted); font-size: 12px; margin-top: 12px; }

@media(max-width:1199px) {
  .editorial-portal .editorial-hero-top { gap: 28px; }
  .editorial-portal .editorial-hero-sketch { max-width: 235px; }
  .editorial-portal .editorial-hero-sketch span { font-size: 15px; }
  .editorial-portal .editorial-business-list article { grid-template-columns: 72px minmax(180px,1fr) minmax(0,1.05fr) auto; gap: 20px; }
  .editorial-portal .editorial-service-sketch { width: 58px; height: 58px; }
}
@media(max-width:980px) {
  .editorial-portal .editorial-location { font-size: 18px; }
  .editorial-portal .editorial-hero-top { grid-template-columns: minmax(150px,.55fr) minmax(0,1.45fr); gap: 20px; }
  .editorial-portal .editorial-hero h1 { font-size: clamp(35px,6.3vw,62px); }
  .editorial-portal .editorial-hero-sketch figcaption { padding-left: 20px; }
  .editorial-portal .editorial-hero-sketch small { max-width: 170px; font-size: 9px; }
  .editorial-portal .editorial-business-list article { grid-template-columns: 70px 1fr auto; gap: 9px 22px; }
  .editorial-portal .editorial-service-mark { grid-row: 1 / 3; }
  .editorial-portal .editorial-business-list article>p { grid-column: 2; }
  .editorial-portal .editorial-business-list article>a { grid-column: 3; grid-row: 1 / 3; }
}
@media(max-width:640px) {
  .editorial-portal .customer-section { margin-top: 42px; padding: 42px 0; }
  .editorial-portal .customer-section>.site-container { padding-top: 0; }
  .editorial-portal .editorial-honor-section.site-section { padding: 48px 0; }
  .editorial-portal .editorial-ai { margin-top: 42px; }
  .editorial-portal .editorial-team-more { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .editorial-portal :is(.editorial-meeting-section,.editorial-honor-section) { margin-top: 28px; padding-top: 22px; }
  .editorial-portal :is(.editorial-meeting-section,.editorial-honor-section)>h3 { font-size: 23px; margin-bottom: 18px; }
  .editorial-portal .editorial-location { font-size: 15px; letter-spacing: .02em; margin-bottom: 22px; }
  .editorial-portal .editorial-hero-top { display: block; }
  .editorial-portal .editorial-hero h1 { font-size: clamp(30px,8.6vw,51px); }
  .editorial-portal .editorial-hero-sketch { display: flex; align-items: center; gap: 16px; max-width: none; width: 100%; }
  .editorial-portal .editorial-hero-sketch svg { width: 98px; flex: 0 0 98px; }
  .editorial-portal .editorial-hero-sketch figcaption { padding: 0; margin: 0; }
  .editorial-portal .editorial-hero-sketch span { font-size: 14px; }
  .editorial-portal .editorial-hero-sketch small { font-size: 9px; }
  .editorial-portal .editorial-hero-bottom { display: block; padding: 14px 0 23px; }
  .editorial-portal .editorial-hero-bottom>p { display: none; }
  .editorial-portal .editorial-hero-bottom span { max-width: none; font-size: 13px; text-wrap: balance; }
  .editorial-portal .business-section { padding-top: 42px; padding-bottom: 0; }
  .editorial-portal .editorial-business-list article { grid-template-columns: 54px minmax(0,1fr); gap: 9px 16px; padding: 23px 0; }
  .editorial-portal .editorial-service-mark { grid-column: 1; grid-row: 1 / 4; align-self: start; }
  .editorial-portal .editorial-service-sketch { width: 50px; height: 50px; }
  .editorial-portal .editorial-business-list h3 { font-size: 21px; }
  .editorial-portal .editorial-business-list article>a { grid-column: 2; grid-row: auto; min-height: 36px; display: flex; align-items: center; }
}
