/* DBC / BIOTEN newsroom V2.3.3
   Preserve the V2.3.1 editorial structure; only refine hierarchy and add a
   reliable article-to-PDF path. */

:root {
  --news-v233-blue: #004a96;
  --news-v233-green: #008a5a;
  --news-v233-ink: #111820;
  --news-v233-muted: #66727c;
  --news-v233-line: rgba(15, 35, 50, .12);
}

/* News index: same sections, order, cards and pagination as V2.3.1. */
html body.newsroom-index-v233 {
  background: #f6f8f9 !important;
}

html body.newsroom-index-v233 #main-content .news-business-panel {
  padding-top: clamp(64px, 7vw, 92px) !important;
  padding-bottom: clamp(64px, 7vw, 92px) !important;
}

html body.newsroom-index-v233 #main-content .news-list-heading h2 {
  color: var(--news-v233-ink) !important;
  font-weight: 590 !important;
  letter-spacing: -.035em !important;
}

html body.newsroom-index-v233 #main-content .news-list-heading > p:last-child {
  max-width: 760px !important;
  color: var(--news-v233-muted) !important;
  line-height: 1.7 !important;
}

html body.newsroom-index-v233 #main-content .news-business-anchor-wrap {
  border-bottom-color: rgba(15, 35, 50, .1) !important;
  background: rgba(255, 255, 255, .92) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%) !important;
  backdrop-filter: blur(16px) saturate(135%) !important;
}

html body.newsroom-index-v233 #main-content .news-business-anchor a {
  color: #5c6973 !important;
  font-weight: 560 !important;
}

html body.newsroom-index-v233 #main-content .news-business-anchor a:hover,
html body.newsroom-index-v233 #main-content .news-business-anchor a:focus-visible,
html body.newsroom-index-v233 #main-content .news-business-anchor a.is-active {
  color: var(--news-v233-blue) !important;
}

html body.newsroom-index-v233 #main-content :is(
  #bioten-news,
  #casu-news,
  #antux-news,
  #dpu-news,
  #ecoten-news
) .news-card-grid[data-view="grid"] .news-event-card {
  border-radius: 12px !important;
  border-color: rgba(15, 35, 50, .11) !important;
  box-shadow: 0 12px 32px rgba(15, 35, 50, .055) !important;
  transition: border-color .22s ease, box-shadow .22s ease !important;
}

html body.newsroom-index-v233 #main-content :is(
  #bioten-news,
  #casu-news,
  #antux-news,
  #dpu-news,
  #ecoten-news
) .news-card-grid[data-view="grid"] .news-event-card:hover {
  border-color: rgba(0, 74, 150, .25) !important;
  box-shadow: 0 18px 42px rgba(15, 35, 50, .09) !important;
}

html body.newsroom-index-v233 #main-content :is(
  #bioten-news,
  #casu-news,
  #antux-news,
  #dpu-news,
  #ecoten-news
) .news-card-grid[data-view="grid"] .openai-news-image {
  transition: transform .35s ease, filter .35s ease !important;
}

html body.newsroom-index-v233 #main-content img.openai-news-image[src*="bpi-home-compostable-certification"] {
  object-fit: contain !important;
  background: #eef1f3 !important;
}

html body.newsroom-index-v233 #main-content :is(
  #bioten-news,
  #casu-news,
  #antux-news,
  #dpu-news,
  #ecoten-news
) .news-card-grid[data-view="list"] .news-event-card {
  border-bottom-color: var(--news-v233-line) !important;
}

/* News detail: restore the real article title, but retain the original layout. */
html body.newsroom-article-v233 {
  background: #fff !important;
}

html body.newsroom-article-v233 #main-content .news-original-hero {
  padding-top: clamp(68px, 6.5vw, 88px) !important;
  padding-bottom: clamp(44px, 5vw, 60px) !important;
}

html body.newsroom-article-v233 #main-content .news-article-heading {
  width: min(980px, 100%) !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  row-gap: 0 !important;
}

html body.newsroom-article-v233 #main-content .news-hero-meta {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  color: #74808a !important;
  font-size: 13px !important;
}

html body.newsroom-article-v233 #main-content .news-article-actions {
  grid-column: 2 !important;
  grid-row: 1 !important;
  gap: 9px !important;
}

html body.newsroom-article-v233.newsroom-article-v233.newsroom-article-v233 #main-content .news-original-hero h1 {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: block !important;
  width: 100% !important;
  max-width: 920px !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--news-v233-ink) !important;
  -webkit-text-fill-color: var(--news-v233-ink) !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  font-weight: 590 !important;
  letter-spacing: -.045em !important;
  line-height: 1.09 !important;
  text-align: center !important;
  text-wrap: balance !important;
}

html body.newsroom-article-v233.newsroom-article-v233.newsroom-article-v233 #main-content .news-original-hero h1::before,
html body.newsroom-article-v233.newsroom-article-v233.newsroom-article-v233 #main-content .news-original-hero h1::after {
  content: none !important;
  display: none !important;
}

html body.newsroom-article-v233 #main-content .news-hero-deck {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  max-width: 760px !important;
  margin: 18px auto 0 !important;
  color: #5c6872 !important;
  font-size: clamp(15px, 1.25vw, 17px) !important;
  line-height: 1.75 !important;
  text-align: center !important;
}

html body.newsroom-article-v233 #main-content .news-article-actions .news-article-action {
  text-decoration: none !important;
}

html body.newsroom-article-v233 #main-content .news-article-actions .news-article-action-pdf {
  width: auto !important;
  min-width: 78px !important;
  height: 34px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 1px solid rgba(0, 74, 150, .22) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--news-v233-blue) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

html body.newsroom-article-v233 #main-content .news-article-actions .news-article-action-pdf:hover,
html body.newsroom-article-v233 #main-content .news-article-actions .news-article-action-pdf:focus-visible {
  border-color: rgba(0, 74, 150, .42) !important;
  background: rgba(0, 74, 150, .035) !important;
}

html body.newsroom-article-v233 #main-content .news-article-action-pdf svg {
  width: 20px !important;
  height: 20px !important;
}

html body.newsroom-article-v233 #main-content .news-article-action-pdf svg path {
  fill: none !important;
  stroke: currentColor !important;
}

html body.newsroom-article-v233 #main-content .news-article-action-pdf svg text {
  fill: currentColor !important;
  font-size: 6px !important;
}

html body.newsroom-article-v233 #main-content .news-article-action-pdf > span {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: inline !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

html body.newsroom-article-v233 #main-content .formal-archive-notice {
  width: min(780px, calc(100% - 44px)) !important;
  margin: 0 auto clamp(46px, 6vw, 68px) !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-left: 2px solid var(--news-v233-blue) !important;
  border-radius: 0 !important;
  background: #f6f8fa !important;
  color: #69747d !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

html body.newsroom-article-v233 #main-content .news-content-original > p {
  color: #303c45 !important;
  font-size: 17px !important;
  line-height: 1.9 !important;
}

html body.newsroom-article-v233 #main-content .news-original-figure img {
  border-radius: 10px !important;
  box-shadow: 0 16px 44px rgba(15, 35, 50, .075) !important;
}

@media (max-width: 760px) {
  html body.newsroom-index-v233 #main-content .news-business-panel {
    padding-top: 54px !important;
    padding-bottom: 58px !important;
  }

  html body.newsroom-article-v233 #main-content .news-original-hero {
    padding: 68px 22px 48px !important;
  }

  html body.newsroom-article-v233 #main-content .news-article-heading {
    grid-template-columns: 1fr !important;
  }

  html body.newsroom-article-v233 #main-content .news-hero-meta,
  html body.newsroom-article-v233 #main-content .news-article-actions,
  html body.newsroom-article-v233.newsroom-article-v233.newsroom-article-v233 #main-content .news-original-hero h1,
  html body.newsroom-article-v233 #main-content .news-hero-deck {
    grid-column: 1 !important;
  }

  html body.newsroom-article-v233 #main-content .news-hero-meta {
    grid-row: 1 !important;
    justify-self: center !important;
    flex-wrap: wrap !important;
  }

  html body.newsroom-article-v233 #main-content .news-article-actions {
    grid-row: 4 !important;
    justify-self: center !important;
    justify-content: center !important;
    margin-top: 22px !important;
  }

  html body.newsroom-article-v233.newsroom-article-v233.newsroom-article-v233 #main-content .news-original-hero h1 {
    grid-row: 2 !important;
    margin-top: 24px !important;
    font-size: clamp(32px, 9.5vw, 44px) !important;
    line-height: 1.12 !important;
  }

  html body.newsroom-article-v233 #main-content .news-hero-deck {
    grid-row: 3 !important;
    margin-top: 18px !important;
  }

  html body.newsroom-article-v233 #main-content .news-content-original > p {
    font-size: 16px !important;
    line-height: 1.82 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.newsroom-index-v233 *,
  html body.newsroom-article-v233 * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Clean A4 export used to build the direct article PDF files. */
@media print {
  @page {
    size: A4;
    margin: 16mm 16mm 18mm;
    background: #fff;
  }

  html,
  body.newsroom-article-v233,
  body.newsroom-article-v233 #main-content,
  body.newsroom-article-v233 .news-article,
  body.newsroom-article-v233 .news-body-original,
  body.newsroom-article-v233 .news-content-original {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111820 !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.newsroom-article-v233 {
    position: relative !important;
    isolation: isolate !important;
  }

  body.newsroom-article-v233::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    background: #fff !important;
  }

  body.newsroom-article-v233 > #main-content {
    position: relative !important;
    z-index: 1 !important;
  }

  html body.newsroom-article-v233 .site-header,
  html body.newsroom-article-v233 .skip-link,
  html body.newsroom-article-v233 .site-back-to-top,
  html body.newsroom-article-v233 .news-article-actions,
  html body.newsroom-article-v233 .news-continue,
  html body.newsroom-article-v233 .news-continue-return {
    display: none !important;
  }

  /* formal-v2 intentionally locks the shared footer with a very specific
     !important selector. Beat that lock only in print so article PDFs contain
     the article itself, never the website CTA/navigation/footer. */
  html body.newsroom-article-v233[class][class][class][class][class][class][class] footer.formal-site-footer.formal-site-footer {
    display: none !important;
  }

  html body.newsroom-article-v233 #main-content .news-original-hero {
    margin: 0 0 8mm !important;
    padding: 0 0 8mm !important;
    border-bottom: 1px solid rgba(0, 74, 150, .22) !important;
    background: #fff !important;
  }

  html body.newsroom-article-v233 #main-content .news-article-heading {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }

  html body.newsroom-article-v233 #main-content .news-article-heading::before {
    content: "DBC BIOTEN NEWS" !important;
    display: block !important;
    margin: 0 0 6mm !important;
    color: var(--news-v233-blue) !important;
    font-size: 8pt !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
  }

  html body.newsroom-article-v233 #main-content .news-hero-meta {
    display: flex !important;
    justify-content: flex-start !important;
    margin: 0 0 5mm !important;
    color: #5d6871 !important;
    font-size: 8.5pt !important;
    text-align: left !important;
  }

  html body.newsroom-article-v233.newsroom-article-v233.newsroom-article-v233 #main-content .news-original-hero h1 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    color: #111820 !important;
    -webkit-text-fill-color: #111820 !important;
    font-size: 24pt !important;
    font-weight: 650 !important;
    letter-spacing: -.025em !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  html body.newsroom-article-v233 #main-content .news-hero-deck {
    max-width: none !important;
    margin: 5mm 0 0 !important;
    color: #47535d !important;
    font-size: 10pt !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  html body.newsroom-article-v233 #main-content .formal-archive-notice {
    width: 100% !important;
    margin: 0 0 8mm !important;
    padding: 3.5mm 4mm !important;
    border-left: 1.5pt solid var(--news-v233-blue) !important;
    background: #f4f7f9 !important;
    color: #5e6870 !important;
    font-size: 7.6pt !important;
    line-height: 1.55 !important;
  }

  html body.newsroom-article-v233 #main-content .news-content-original > p {
    max-width: none !important;
    margin: 0 0 4.2mm !important;
    color: #303c45 !important;
    font-size: 10.2pt !important;
    line-height: 1.72 !important;
    orphans: 3 !important;
    widows: 3 !important;
  }

  html body.newsroom-article-v233 #main-content .news-original-figure {
    width: 100% !important;
    max-width: none !important;
    margin: 7mm 0 !important;
    transform: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  html body.newsroom-article-v233 #main-content .news-original-figure img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 225mm !important;
    object-fit: contain !important;
    border-radius: 2mm !important;
    background: #fff !important;
    box-shadow: none !important;
  }
}
