/* Compact German desktop navigation while keeping all translated text visible. */
@media (min-width: 1100px) {
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-mega__inner {
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
  }
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-mega__routes {
    grid-template-columns: repeat(var(--dbc-nav-route-count, 4), minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
  }
}
@media (min-width: 861px) and (max-width: 1099px) {
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-mega__inner {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-mega__routes {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
  }
}
@media (min-width: 861px) {
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-route {
    grid-template-rows: 76px auto !important;
    min-height: 0 !important;
    height: auto !important;
  }
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-route__copy {
    min-height: 0 !important;
    height: auto !important;
    padding: 11px 12px !important;
  }
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-route__copy > strong,
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-route__copy > .dbc-desktop-route__desc {
    line-height: 1.4 !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    max-height: none !important;
  }
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-route__copy > .dbc-desktop-route__desc {
    font-size: 12px !important;
    margin-top: 7px !important;
  }
}
@media (min-width: 861px) {
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-route__copy {
    min-height: 0 !important;
    padding: 11px 12px !important;
  }
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active .dbc-desktop-mega--direct .dbc-desktop-mega__intro > p:not(.dbc-desktop-mega__eyebrow) {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
}
/* The two Observer cards use the taller image format of the reference menu. */
@media (min-width: 861px) {
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active #dbc-desktop-mega-news .dbc-desktop-route {
    grid-template-rows: 106px auto !important;
    min-height: 0 !important;
    height: auto !important;
  }
  html[lang="ko"][data-site-language="ko"] body.dbc-global-nav-active.dbc-global-nav-active #dbc-desktop-mega-news .dbc-desktop-route__copy {
    min-height: 0 !important;
    padding: 11px 12px !important;
  }
}

/* Keep the full 2:1 cover and the same content-sized copy padding as CN/EN. */
html[lang="ko"] body.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > [data-home-release-featured] {
  grid-template-rows:auto auto !important;
  align-items:start !important;
  align-self:start !important;
  min-height:0 !important;
}
html[lang="ko"] body.dbc-home-page #main-content #collaboration [data-home-release-featured] .basf-release-entry__media {
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:2 / 1;
  align-self:start !important;
}
html[lang="ko"] body.dbc-home-page #main-content #collaboration [data-home-release-featured] img {
  height:auto !important;
  max-height:none !important;
  aspect-ratio:2 / 1;
}
html[lang="ko"] body.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > [data-home-release-featured] .bp7140-release-mini__copy {
  align-self:start !important;
  justify-content:flex-start !important;
  padding:14px 16px !important;
}
html[lang="ko"] body.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > [data-home-release-featured] .bp7140-release-mini__copy strong {
  margin-top:0 !important;
}

/* German homepage: align the two modules and compact the release cards. */
@media (min-width: 1101px) {
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration .home7202-packaging-entries__inner {
    align-items: stretch !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration .bp7160-sample-card {
    align-self: stretch !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration .bp7160-sample-card__foot {
    margin-top: auto !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration .bp7140-release-rail {
    align-self: stretch !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration .bp7140-release-rail__inner {
    height: 100% !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    min-height: 0 !important;
    gap: 8px !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > .bp7140-release-mini:not([data-home-release-featured]) {
    min-height: 0 !important;
    grid-template-columns: minmax(64px, 22%) minmax(0, 1fr) !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > .bp7140-release-mini:not([data-home-release-featured]) img {
    min-height: 0 !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > .bp7140-release-mini:not([data-home-release-featured]) .bp7140-release-mini__copy {
    padding: 7px 9px !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > .bp7140-release-mini:not([data-home-release-featured]) .bp7140-release-mini__copy > span {
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > .bp7140-release-mini:not([data-home-release-featured]) .bp7140-release-mini__copy strong {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration [data-basf-dbc-release-grid] > [data-home-release-featured] {
    align-self: stretch !important;
    height: 100% !important;
  }
}

/* Fill both BIOTEN and DBC business-card image areas without letterboxing. */
html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #platform :is(.v704-route,.v704-brand-card) .v709-card-media > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
@media (min-width: 1101px) {
  html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #collaboration .bp7160-sample-card__products {
    flex: 1 1 auto !important;
    align-content: space-evenly !important;
  }
}
/* Keep the BIOTEN brand name intact when the tile heading wraps. */
html[lang="ko"] body.dbc-home-page.dbc-home-page #main-content #platform .v704-route--packaging .v704-route__copy h3 {
  hyphens: manual !important;
}


@media (min-width: 1041px) {
  html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content#main-content .bp7140-home-hero > .bp7160-sample-card {
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content#main-content .bp7140-home-hero > .bp7160-sample-card .bp7160-sample-card__foot {
    margin-top: auto !important;
  }
}


/* Stack the three sample routes and place the materials guide below them. */
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content .bp7160-sample-card #packaging-material-dock {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-content: stretch !important;
  flex: 1 1 auto !important;
  width: 100% !important;
}
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content .bp7160-sample-card #packaging-sample-choices {
  grid-column: 1 !important;
  grid-row: 1 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: repeat(3, minmax(76px, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content .bp7160-sample-card #packaging-sample-choices .bp7160-sample-card__product {
  min-height: 76px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(45, 101, 86, .15) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, .55) !important;
}
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content .bp7160-sample-card #materials-guide {
  grid-column: 1 !important;
  grid-row: 2 !important;
  padding: 0 !important;
  border: 0 !important;
  width: 100% !important;
}
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content .bp7160-sample-card #materials-guide .dbc-material-guide-teaser__link {
  display: block !important;
  height: auto !important;
}
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content .bp7160-sample-card #materials-guide .dbc-material-guide-teaser__image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 27 / 10 !important;
  object-fit: cover !important;
}
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content .bp7160-sample-card #materials-guide .dbc-material-guide-teaser__copy {
  padding-top: 10px !important;
}


/* Match the Chinese page: the image fills the existing 16:10 media frame. */
html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content #domains .bp7140-route-card__media > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

html[lang="ko"] body#bioten-packaging-home-r15 main#main-content #domains .bp7140-route-card__media {
 aspect-ratio:16/10 !important; min-height:0 !important;
}
html[lang="ko"] :is(.ko-language-options,.module-language-options) a[aria-disabled="true"] {
 opacity:.48; cursor:default; text-decoration:none;
}
html[lang="ko"] .ko-archive-note {padding:16px 20px;border-left:3px solid #608b7c;background:#f2f7f4;line-height:1.7;}

/* Equal outer boxes also at the 1041px desktop breakpoint. */
@media (min-width:1041px){
 html[lang="ko"] body#bioten-packaging-home-r15#bioten-packaging-home-r15#bioten-packaging-home-r15 main#main-content#main-content#main-content .bp7140-home-hero > :is(.bp7160-sample-card,.bp7140-release-rail){
  margin-top:0 !important;margin-bottom:0 !important;height:auto !important;align-self:stretch !important;
 }
}
