/* Editorial entrances for individual demos and sector pages. */
.db-editorial {
  --editorial-night: #14283d;
  --editorial-accent: #f9d88f;
  display: grid;
  isolation: isolate;
  position: relative;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  align-items: stretch;
  width: min(1340px,calc(100% - 48px));
  margin: clamp(15px,3vw,44px) auto clamp(22px,4vw,60px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb,var(--editorial-accent) 34%,transparent);
  background: radial-gradient(ellipse at 15% 4%, color-mix(in srgb,var(--editorial-night) 65%,#8baab1),var(--editorial-night) 71%);
  color: #fff8ec;
  box-shadow: 0 22px 66px #07101a32;
  font: 400 16px/1.55 Inter,system-ui,sans-serif;
}
.db-editorial-copy { align-self: center; min-width: 0; padding: clamp(26px,5.8vw,83px); }
.db-editorial .db-editorial-brand { margin: 0 0 15px; color: var(--editorial-accent); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.db-editorial .db-editorial-title { margin: 0; max-width: 15ch; color: #fffaf3; font: 750 clamp(38px,5.7vw,86px)/.98 Manrope,Inter,system-ui,sans-serif; letter-spacing: -.073em; text-wrap: balance; }
.db-editorial .db-editorial-title em { color: var(--editorial-accent); font-style: normal; }
.db-editorial .db-editorial-description { max-width: 46ch; margin: 19px 0 0; color: #e0e9ee; }
.db-editorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 17px; margin-top: 23px; }
.db-editorial .db-editorial-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid color-mix(in srgb,var(--editorial-accent) 56%,transparent); border-radius: 5px; color: #fff6e6; font-size: 13px; font-weight: 750; text-decoration: none; }
.db-editorial .db-editorial-actions a:first-child { background: var(--editorial-accent); color: #172334; }
.db-editorial .db-editorial-actions a:hover { filter: brightness(1.14); }
.db-editorial .db-editorial-actions a:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.db-editorial figure { position: relative; min-width: 0; min-height: 300px; margin: 0; overflow: hidden; }
.db-editorial figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.db-editorial figure figcaption { position: absolute; inset: auto 0 0; padding: 25px 14px 11px; background: linear-gradient(transparent,#081321d9); color: #fff6e7; font-size: 12px; }
.db-editorial[data-layout="atelier"] { grid-template-columns: minmax(0, .91fr) minmax(0,1.09fr); }
.db-editorial[data-layout="atelier"] figure { order: -1; }
.db-editorial[data-layout="atelier"] .db-editorial-title { font-family: Georgia,serif; font-weight: 500; letter-spacing: -.058em; }
.db-editorial[data-layout="panorama"] { display: block; min-height: clamp(340px,42vw,600px); }
.db-editorial[data-layout="panorama"] .db-editorial-copy { position: relative; z-index: 1; width: min(100%,730px); }
.db-editorial[data-layout="panorama"] figure { position: absolute; inset: 0; }
.db-editorial[data-layout="panorama"] figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--editorial-night),color-mix(in srgb,var(--editorial-night) 87%,transparent) 38%,#0713221a 90%); }
.db-editorial[data-layout="panorama"] figcaption { z-index: 1; text-align: right; }
.db-editorial[data-layout="studio"] figure { display: grid; min-height: 0; place-items: center; padding: clamp(15px,4vw,53px); background: #07132136; }
.db-editorial[data-layout="studio"] figure img { height: auto; aspect-ratio: 1.65; border: 1px solid #ffffff4d; border-radius: 7px; object-position: top; box-shadow: 0 15px 37px #0007; }
.db-editorial[data-layout="studio"] figcaption { position: static; padding: 9px 0 0; background: none; }
.db-editorial-secondary { scroll-margin-top: 90px; }
@media (max-width: 720px) {
  .db-editorial, .db-editorial[data-layout="atelier"] { grid-template-columns: minmax(0,1fr); width: calc(100% - 28px); }
  .db-editorial .db-editorial-title { font-size: clamp(36px,10vw,55px); }
  .db-editorial figure { min-height: 0; }
  .db-editorial figure img { height: auto; aspect-ratio: 1.55; }
  .db-editorial[data-layout="atelier"] figure { order: 0; }
  .db-editorial[data-layout="panorama"] { width: calc(100% - 28px); }
  .db-editorial[data-layout="panorama"] figure img { height: 100%; aspect-ratio: auto; }
  .db-editorial[data-layout="panorama"] figure::after { background: linear-gradient(90deg,var(--editorial-night),color-mix(in srgb,var(--editorial-night) 68%,transparent)); }
}


.db-public-refresh .db-editorial { width: 100%; }
.db-public-refresh .db-editorial-title { color: #fff8eb; }
.db-public-refresh .db-editorial-description { color: #e0e9ee; }
.db-public-refresh .db-editorial-brand { color: var(--editorial-accent); }
.db-public-refresh .db-editorial h1 { text-align: left; }
.db-public-refresh .db-editorial + section { margin-top: clamp(20px,5vw,56px); }
.db-public-refresh :is(.models-grid,.benefits-grid,.grid) .card { padding: clamp(15px,2vw,25px); }
.db-public-refresh :is(.models-grid,.benefits-grid,.grid) .card h3 { line-height: 1.17; }
.db-public-refresh :is(.models-grid,.benefits-grid,.grid) .card p { line-height: 1.55; }
.db-public-refresh .pc .db-editorial { margin-top: 0; }
.db-public-refresh .pc .db-editorial-copy { grid-column: 1 / -1; }
.db-public-refresh .db-editorial[data-layout="text"] { grid-template-columns: minmax(0,1fr); }
.db-public-refresh .db-editorial[data-layout="text"] .db-editorial-title { max-width: 21ch; }

body .db-editorial-page-title {
  padding-bottom: .35em;
  border-bottom: 2px solid color-mix(in srgb,var(--editorial-night) 55%,var(--editorial-accent));
  font-size: clamp(30px,5vw,62px);
  line-height: 1.05;
  letter-spacing: -.06em;
  text-wrap: balance;
}
body .db-editorial-secondary + :is(.hero,.hero-wrap,.intro) h2.db-demo-secondary-title { font-size: clamp(26px,3.4vw,46px); line-height: 1.12; }
