/* Reference proportions at 2048px. Stories4 changes only the reader palette. */
body:has([data-s3-detail]) { --s3-unit: calc(100vw / 2048); }
.v6-story-article[data-s3-detail] { padding: calc(294 * var(--s3-unit)) 0 calc(80 * var(--s3-unit)); }
[data-s3-detail] .story3-detail-heading { width: calc(900 * var(--s3-unit)); margin: 0 auto calc(95 * var(--s3-unit)); }
[data-s3-detail] h1 { margin: 0; font: 300 clamp(48px,4.6875vw,150px)/.96875 var(--v6-serif); letter-spacing: -.065em; text-align: center; text-transform: none; overflow-wrap: normal; }
[data-s3-detail] .story3-detail-layout { display: grid; grid-template-columns: minmax(0,661fr) minmax(0,587fr); gap: calc(110 * var(--s3-unit)); width: calc(1358 * var(--s3-unit)); max-width: none; margin: 0 0 0 calc(319 * var(--s3-unit)); }
[data-s3-detail] .v6-story-article-photo { grid-column: 1; grid-row: auto; position: static; inset: auto; margin: 0; }
[data-s3-detail] .story3-detail-content { grid-column: 2; min-width: 0; }
[data-s3-detail] .v6-story-article-lead,
[data-s3-detail] .story3-detail-content:not(:has(> .v6-story-article-lead)) > .v6-story-article-copy > p:first-of-type { margin: 0 0 calc(36 * var(--s3-unit)); max-width: none; font: 400 var(--story-lead-size,clamp(18px,1.171875vw,30px))/1.375 'Inter Tight',Arial,sans-serif; text-align: left; letter-spacing: -.0125em; }
[data-s3-detail] .v6-story-article-copy { margin: 0; font: 400 max(12px,calc(12 * var(--s3-unit)))/max(20px,calc(23.3 * var(--s3-unit))) var(--v6-mono); text-align: justify; hyphens: auto; }
[data-s3-detail] .v6-story-article-copy :is(p,ul,ol,blockquote) { margin: 0 0 1.95em; }
[data-s3-detail] .v6-story-article-copy :is(h2,h3) { margin: 1.8em 0 .7em; font: 400 clamp(24px,1.5vw,40px)/1.15 Anton,Impact,sans-serif; text-transform: uppercase; letter-spacing: 0; }
[data-s3-detail] .v6-story-article-actions { margin: 22px 0 0; }
[data-s3-detail] .v6-story-article-actions:empty { display: none; }
[data-s3-detail] .v6-story-article-tags { width: 100%; max-width: none; min-height: 0; margin: calc(76 * var(--s3-unit)) 0 0; color: #a69b99; font: 400 clamp(18px,1.171875vw,30px)/1.375 'Inter Tight',Arial,sans-serif; letter-spacing: -.0125em; }
[data-s3-detail] .v6-story-article-tags > span { margin-right: 12px; font: 400 max(12px,calc(14 * var(--s3-unit)))/1.375 'Inter Tight',Arial,sans-serif; }
[data-s3-detail] .story3-tag { color: #a69b99; }
[data-s3-detail] .story3-tag.is-relevant { color: #fff4ee; }
[data-s3-detail] .story3-tag:is(:hover,:focus-visible) { color: var(--v6-accent); opacity: 1; }
[data-s3-detail] .v6-story-article-meta { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 12px 20px; margin: calc(34 * var(--s3-unit)) 0 0; padding-top: calc(28 * var(--s3-unit)); text-align: left; font: 400 max(10px,calc(10 * var(--s3-unit)))/1.4 var(--v6-mono); }
[data-s3-detail] .v6-story-article-meta::before { content: ''; position: absolute; top: 0; left: 0; width: min(100%,calc(255 * var(--s3-unit))); border-top: 3px solid currentColor; }
[data-s3-detail] .v6-story-article-category { font: 400 max(22px,calc(28 * var(--s3-unit)))/1.15 Anton,Impact,sans-serif; text-transform: uppercase; letter-spacing: 0; color: #fff4ee; }
[data-s3-detail] .v6-story-article-neighbors { width: calc(1358 * var(--s3-unit)); max-width: none; margin: calc(30 * var(--s3-unit)) 0 0 calc(319 * var(--s3-unit)); padding-top: calc(35 * var(--s3-unit)); }
[data-s3-detail] .v6-story-article-neighbors small { font: 400 max(10px,calc(10 * var(--s3-unit)))/1.4 var(--v6-mono); gap: 7px; margin-bottom: 10px; }
[data-s3-detail] .v6-story-article-neighbors strong { font: 400 max(20px,calc(28 * var(--s3-unit)))/1.15 Anton,Impact,sans-serif; text-transform: uppercase; letter-spacing: 0; color: #fff4ee; }
body:has([data-s3-detail]) .story3-close { top: calc(80 * var(--s3-unit)); width: max(44px,calc(64 * var(--s3-unit))); height: max(48px,calc(72 * var(--s3-unit))); }
body:has([data-s3-detail]) .story3-close::before,body:has([data-s3-detail]) .story3-close::after { inset: 50% auto auto 50%; width: max(50px,calc(68 * var(--s3-unit))); height: 1.8px; transform: translate(-50%,-50%) rotate(55deg); }
body:has([data-s3-detail]) .story3-close::after { transform: translate(-50%,-50%) rotate(-55deg); }
body:has([data-s3-detail]) :is(.story3-close-before,.story3-close-after) { position: absolute; top: 50%; translate: 0 -50%; font: 400 max(10px,calc(10 * var(--s3-unit)))/1.4 var(--v6-mono); text-transform: uppercase; white-space: nowrap; }
body:has([data-s3-detail]) .story3-close-before { right: calc(100% + 9px); }
body:has([data-s3-detail]) .story3-close-after { left: calc(100% + 9px); }
@media (max-width: 1100px) {
  .v6-story-article[data-s3-detail] { padding: 190px 0 65px; }
  [data-s3-detail] .story3-detail-heading { width: 78%; margin-bottom: 65px; }
  [data-s3-detail] .story3-detail-layout { width: 82%; margin-inline: auto; gap: 6%; }
  [data-s3-detail] .v6-story-article-neighbors { width: 82%; margin: 40px auto 0; padding-top: 25px; }
  [data-s3-detail] .v6-story-article-copy { font-size: 13px; line-height: 1.85; }
  [data-s3-detail] .v6-story-article-tags { margin-top: 45px; }
  [data-s3-detail] .v6-story-article-meta { margin-top: 28px; padding-top: 24px; }
  body:has([data-s3-detail]) .story3-close { top: 26px; }
}
@media (max-width: 760px) {
  body:has([data-s3-detail]) .v6-hero-brand-back { display: none; }
  .v6-story-article[data-s3-detail] { padding-top: 160px; }
  [data-s3-detail] .story3-detail-heading { width: 86%; margin-bottom: 42px; }
  [data-s3-detail] h1 { font-size: clamp(36px,8.8vw,62px); line-height: 1.02; }
  [data-s3-detail] .story3-detail-layout { width: 86%; grid-template-columns: minmax(0,1fr); gap: 32px; }
  [data-s3-detail] .v6-story-article-photo { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  [data-s3-detail] .story3-detail-content { grid-column: 1; grid-row: 2; }
  [data-s3-detail] .v6-story-article-lead,
  [data-s3-detail] .story3-detail-content:not(:has(> .v6-story-article-lead)) > .v6-story-article-copy > p:first-of-type { margin-bottom: 28px; --story-lead-size: 21px; }
  [data-s3-detail] .v6-story-article-copy { font-size: 14px; line-height: 1.85; text-align: left; }
  [data-s3-detail] .v6-story-article-tags { font-size: 21px; margin-top: 40px; }
  [data-s3-detail] .v6-story-article-neighbors { width: 86%; gap: 24px; }
  [data-s3-detail] .v6-story-article-neighbors strong { font-size: 23px; }
  body:has([data-s3-detail]) :is(.story3-close-before,.story3-close-after) { font-size: 8px; }
  body:has([data-s3-detail]) .story3-close-before { right: 100%; }
  body:has([data-s3-detail]) .story3-close-after { left: 100%; }
}

/* Match Collab's "Die Idee" stage without changing reader proportions or type. */
html[data-story-theme="light"] { background: #e6ded0; }
html[data-story-theme="light"] body.v6-final:has([data-s3-detail]) {
  --v6-dark: #e6ded0; --v6-ink: #282121; --v6-accent: #7d302b;
  color: var(--v6-ink); background: var(--v6-dark);
}
html[data-story-theme="light"] body:has([data-s3-detail])::before { display: none; }
html[data-story-theme="light"] .v6-story-article[data-s3-detail] {
  --v6-dark: #e6ded0; --v6-ink: #282121; --v6-accent: #7d302b;
  color: var(--v6-ink);
}
html[data-story-theme="light"] body:has([data-s3-detail]):not(.v6-locked) :is(.v6-brand-area,.v6-header) {
  --v6-ink: #282121; --v6-accent: #282121; color: #282121;
}
html[data-story-theme="light"] [data-s3-detail] :is(h1,.story2-close,.v6-story-article-category,.v6-story-article-neighbors strong) { color: #282121; }
html[data-story-theme="light"] [data-s3-detail] .v6-story-article-copy :is(h2,h3) { color: #282121; }
html[data-story-theme="light"] [data-s3-detail] .v6-story-article-neighbors { border-color: #28212140; }
html[data-story-theme="light"] [data-s3-detail] :is(.v6-story-article-tags,.story3-tag) { color: #9a9087; }
html[data-story-theme="light"] [data-s3-detail] .story3-tag.is-relevant { color: #282121; }
html[data-story-theme="light"] [data-s3-detail] .story3-tag:is(:hover,:focus-visible) { color: #7d302b; }

html[data-story-theme="light"] body:has([data-s3-detail])>.story2-close { color:#282121; }

[data-s3-detail] :is(.story-slideshow, .press-pdf-preview) { position: relative; }
[data-s3-detail] :is(.story-slideshow-controls, .press-pdf-controls) {
  position: absolute;
  inset: auto auto 8px 50%;
  translate: -50% 0;
  width: max-content;
  z-index: 1;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
[data-s3-detail] .press-pdf-controls > div { display: flex; gap: 4px; }
[data-s3-detail] :is(.story-slideshow-controls, .press-pdf-controls) button.v6-outline {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #edf3bdb8;
  border-radius: 0;
  color: #edf3bd;
  background: #1c1c1c70;
  font: 400 15px/1 Arial, sans-serif;
}
[data-s3-detail] :is(.story-slideshow-controls, .press-pdf-controls) button.v6-outline:is(:hover, :focus-visible) {
  color: #1c1c1c;
  background: #edf3bd;
}
[data-s3-detail] :is(.story-slideshow-controls button:disabled, .press-pdf-controls button[aria-pressed="true"]) { opacity: .45; }
[data-s3-detail] .story-slideshow-controls [data-slide-status] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[data-s3-detail] .v6-story-article-copy .hossa-quote {
  padding: clamp(24px, 4vw, 70px) clamp(18px, 2.4vw, 42px);
  background: linear-gradient(90deg, #170d08e8, #170d0866), url('/thisismicha/fileadmin/stories/hossa/quote-micha.webp') 57% center / cover;
  color: #fff4ee;
  text-align: left;
}

@media (min-width: 761px) {
  [data-s3-detail] .story3-detail-layout > :is(.v6-story-article-photo, .story3-detail-content) {
    grid-row: 1;
    align-self: start;
  }
}

[data-s3-detail] .v6-story-article-photo > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

@media (min-width: 801px) and (pointer: fine) {
  [data-s3-detail] .v6-story-article-photo:has(> img:only-child) {
    --story-photo-top: calc(var(--story-header-height, clamp(145px, 12.1vw, 246px)) + 12px);
    position: sticky;
    top: var(--story-photo-top);
  }

  [data-s3-detail] .v6-story-article-photo.is-smoothed:has(> img:only-child) {
    position: relative;
    top: auto;
    translate: 0 var(--story-photo-offset, 0px);
  }

  [data-s3-detail] .v6-story-article-photo:has(> img:only-child) > img {
    max-height: calc(100dvh - var(--story-photo-top) - 24px);
    object-fit: contain;
    object-position: left top;
  }
}
