/* CP06 · compact section headers, composed from the approved carousel artwork.
   Each SVG explicitly clips the image to its viewBox, including letterbox space.
   No photos are regenerated or stretched; carousel lettering stays outside the crop. */
.cp06 .cp-section-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 23%) minmax(0, 34%);
  align-items: center;
  min-height: 270px;
  margin: -2rem calc(-1 * var(--pad)) 1.5rem;
  padding: 26px var(--pad) 24px;
  color: #171715;
  background: #f0eee5 var(--scan) center / cover;
  border: 0;
  border-bottom: 6px solid var(--sheet, #f3f1e9);
}
.cp06 .cp-section-banner__art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 34%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 17%, #000 96%, #000d);
  mask-image: linear-gradient(90deg, transparent, #000 17%, #000 96%, #000d);
}
.cp06 .cp-section-banner__art svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: none;
  transform: none;
}
.cp06 .cp-section-banner__copy {
  grid-column: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.cp06 .cp-section-banner__index {
  display: block;
  margin: 0 0 12px;
  font: 700 calc(.75rem * var(--cp-text-scale, 1))/1.4 'Courier New', monospace;
  letter-spacing: .15em;
}
.cp06 .cp-section-banner__title {
  position: relative;
  display: table;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 0;
  color: #101110;
  font: 400 calc(clamp(3rem, 5.8vw, 5.6rem) * var(--cp-text-scale, 1))/1 Cartel, Impact, sans-serif;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-shadow: none;
  transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cp06 .cp-section-banner__title::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -9px;
  top: 9%;
  bottom: 0;
  width: 12px;
  background: #e12b25;
  clip-path: polygon(20% 0, 100% 3%, 80% 98%, 0 100%, 12% 67%, 0 25%);
}
.cp06 .cp-section-banner__description {
  max-width: 42ch;
  margin: 0;
  font: 700 calc(.93rem * var(--cp-text-scale, 1))/1.45 'Courier New', monospace;
  overflow-wrap: anywhere;
}
.cp06 .cp-section-banner__note {
  position: relative;
  display: table;
  grid-column: 2;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 21px 28px 19px;
  background: var(--organic-paper) center / 100% 100% no-repeat;
  font: italic 700 calc(1rem * var(--cp-text-scale, 1))/1.3 'Courier New', monospace;
  transform: rotate(-2deg);
  overflow-wrap: anywhere;
}
.cp06 .cp-section-banner__note span {
  text-decoration-line: underline;
  text-decoration-color: #cf2925;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
/* Compact phone layout: the artwork keeps its own column and the note wraps. */
@media (max-width: 760px) {
  .cp06 .cp-section-banner {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    min-height: 215px;
    padding: 20px var(--pad);
    margin-bottom: 1rem;
  }
  .cp06 .cp-section-banner__art { width: 43%; }
  .cp06 .cp-section-banner__index {
    font-size: calc(.62rem * var(--cp-text-scale, 1));
    letter-spacing: .06em;
    margin-bottom: 10px;
  }
  .cp06 .cp-section-banner__title {
    font-size: calc(clamp(1.85rem, 5.8vw, 3.5rem) * var(--cp-text-scale, 1));
    margin-bottom: 10px;
  }
  .cp06 .cp-section-banner__description { font-size: calc(.8rem * var(--cp-text-scale, 1)); }
  .cp06 .cp-section-banner__note {
    grid-column: 1;
    padding: 16px 17px;
    margin: 9px 0 0;
    font-size: calc(.8rem * var(--cp-text-scale, 1));
    transform: none;
  }
}
/* Large text reflows onto the full width; the picture becomes a short strip. */
:is(html[data-cp-text-size="150"], html[data-cp-text-size="200"]) .cp06 .cp-section-banner {
  display: block;
  padding-bottom: 0;
}
:is(html[data-cp-text-size="150"], html[data-cp-text-size="200"]) .cp06 .cp-section-banner__copy { width: 100%; }
:is(html[data-cp-text-size="150"], html[data-cp-text-size="200"]) .cp06 .cp-section-banner__note {
  max-width: 100%;
  margin-bottom: 18px;
  transform: none;
}
:is(html[data-cp-text-size="150"], html[data-cp-text-size="200"]) .cp06 .cp-section-banner__art {
  position: relative;
  inset: auto;
  z-index: 0;
  width: min(100%, 720px);
  height: 170px;
  margin-left: auto;
}
@media (forced-colors: active) {
  .cp06 .cp-section-banner { background: Canvas; color: CanvasText; }
  .cp06 .cp-section-banner__title { color: CanvasText; }
  .cp06 .cp-section-banner__note { background: Canvas; border: 1px solid CanvasText; }
  .cp06 .cp-section-banner__note span { text-decoration-color: CanvasText; }
  .cp06 .cp-section-banner__art, .cp06 .cp-section-banner__title::before { display: none; }
}
