/* Aligns the brand microsites with the rest of mpw-lichttechnik.com.
   Loaded AFTER the scoped site.css of each brand.

   1. Width: content edges = header edges. The header container is
      max-width var(--mpw-content-max) with var(--mpw-gutter) inside
      (public/assets/css/layout.css), so every microsite wrapper does the same.
      Full-width bars (NewLux brand bar) inset their content to that line.
   2. Titles: the site's title system (public/assets/css/titles.css) –
      plain part Manrope 600, emphasised part 300 italic in the same colour. */

.bs-root {
  --bs-max: var(--mpw-content-max, 1600px);
  --bs-gutter: var(--mpw-gutter, 1.25rem);
  /* Inset for full-bleed bars so their content lines up with the container. */
  --bs-inset: max(var(--bs-gutter), calc((100% - var(--bs-max)) / 2 + var(--bs-gutter)));
}

/* ---- 1. Width ------------------------------------------------------------ */

.bs-lightlineled .ll-wrap,
.bs-newluxled .wrap {
  width: 100%;
  max-width: var(--bs-max);
  margin-inline: auto;
  padding-inline: var(--bs-gutter);
}
/* Nested wrappers keep no extra inset (draft: technical pages). */
.bs-lightlineled .ll-technical-content > .ll-section > .ll-wrap,
.bs-lightlineled .ll-wrap .ll-wrap,
.bs-newluxled .wrap .wrap {
  padding-inline: 0;
}
.bs-lightlineled .ll-system-hero-copy {
  width: 100%;
  max-width: var(--bs-max);
  margin-inline: auto;
  padding-inline: var(--bs-gutter);
}
.bs-newluxled .brandbar {
  padding-inline: var(--bs-inset);
}

/* ---- 2. Titles ----------------------------------------------------------- */

.bs-root :is(h1, h2) {
  font-weight: var(--mpw-title-weight, 600);
  letter-spacing: var(--mpw-title-tracking, -0.02em);
}
.bs-root :is(h1, h2) :is(em, i, span:not([class])) {
  font-weight: var(--mpw-title-light, 300);
  font-style: italic;
  color: inherit;
  letter-spacing: var(--mpw-title-tracking, -0.02em);
}
.bs-root :is(h1, h2) :is(strong, b) {
  font-weight: var(--mpw-title-weight, 600);
  font-style: normal;
}

/* LightLineLed application pages: short film in the hero (scripts/brand-sites/hero_videos.py),
   as in MPW's draft – portrait player, "Die Lösung im Film", chips for several films. */
.bs-lightlineled .ll-hero-video{justify-self:start;width:clamp(210px,17vw,250px)}
.bs-lightlineled .ll-hero-video video{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;background:#1e211d;border-radius:12px;box-shadow:0 14px 40px #0002}
.bs-lightlineled .ll-hero-video figcaption{margin-top:16px;font-size:12px;color:var(--ink,#242824)}
.bs-lightlineled .ll-hero-video .ll-hero-video-kicker{display:block;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#747873;margin-bottom:4px}
.bs-lightlineled .ll-hero-video strong{font-weight:650}
.bs-lightlineled .ll-hero-video-chips{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:14px}
.bs-lightlineled .ll-site .ll-video-chip{font:inherit;font-size:12px;line-height:1.3;text-align:left;padding:8px 14px;border:1px solid #d6d9d0;border-radius:999px;background:#fff;color:#2b302a;cursor:pointer;transition:background .15s,border-color .15s}
.bs-lightlineled .ll-site .ll-video-chip:hover{border-color:#b2a16b}
.bs-lightlineled .ll-site .ll-video-chip[aria-pressed=true]{background:var(--yellow,#f1c95a);border-color:var(--yellow,#f1c95a)}
.bs-lightlineled .ll-site .ll-video-chip:focus-visible{outline:2px solid #20251e;outline-offset:2px}
@media(max-width:760px){.bs-lightlineled .ll-hero-video{justify-self:center;width:min(300px,78vw)}.bs-lightlineled .ll-hero-video-chips{flex-direction:row;flex-wrap:wrap}}
