body.medapotheek-structure {
  --meda-blue: #23658c;
  --meda-ice: #dcecf4;
  --meda-paper: #fff;
  --meda-on: #1d3546;
  --meda-muted: #495e70;
  --meda-line: #b7cbd9;
  --meda-wide: min(calc(100% - clamp(32px,8vw,104px)),1200px);
  --ink: var(--meda-on);
  background: var(--meda-paper);
  color: var(--meda-on);
  font-family: system-ui, sans-serif;
}
body.medapotheek-structure > .meda-header { width: 100%; max-width: none; background: #fff; color: var(--meda-on); border-color: var(--meda-line); }
.medapotheek-structure .meda-header .meda-header__inner { width: var(--meda-wide); max-width: none; min-height: 70px; display: flex; align-items: center; gap: 12px clamp(15px,3vw,40px); }
.medapotheek-structure .meda-header .meda-brand { color: var(--meda-on); font-size: clamp(1.2rem,2.4vw,2.2rem); }
.medapotheek-structure .meda-header .meda-brand__mark { background: var(--meda-blue); color: #fff; }
.medapotheek-structure .meda-header .meda-header__inner > p { margin-right: auto; color: var(--meda-muted); }
.medapotheek-structure .meda-header nav { gap: 9px 16px; }
.medapotheek-structure .meda-header nav a { color: var(--meda-on); }
.medapotheek-structure .medapotheek-search-nav,
.medapotheek-structure .medapotheek-search-home {
  appearance: none;
  min-height: 44px;
  background: var(--meda-blue);
  color: #fff;
  padding: 8px 14px;
  border: 1px solid var(--meda-blue);
  border-radius: 5px;
  cursor: pointer;
  font: 700 .94rem system-ui, sans-serif;
}
.medapotheek-structure .medapotheek-search-nav { margin-left: 0; }
.medapotheek-structure .medapotheek-search-home { margin-left: 10px; min-width: 13rem; background: #fff; color: var(--meda-blue); }
.medapotheek-structure .medapotheek-search-home:hover { background: var(--meda-blue); color: #fff; }
.medapotheek-structure .medapotheek-orientation { background: var(--meda-ice); padding: clamp(18px,3vw,38px) 0 0; }
.medapotheek-structure .medapotheek-orientation .meda-hero {
  display: block;
  width: var(--meda-wide);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
}
.medapotheek-structure .medapotheek-opening .meda-hero__copy { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(22px,4vw,52px) 12px 28px; }
.medapotheek-structure .medapotheek-opening .meda-hero__copy h1 {
  color: var(--meda-on);
  font: 790 clamp(2.3rem,5.6vw,5.4rem)/1.04 system-ui,sans-serif !important;
  letter-spacing: -.047em !important;
  margin: .15em auto .22em;
  text-wrap: balance;
}
.medapotheek-structure .medapotheek-opening .meda-hero__copy h1 br { display: none; }
.medapotheek-structure .medapotheek-opening .meda-hero__copy h1 em { color: var(--meda-blue); }
.medapotheek-structure .medapotheek-opening .meda-hero__copy > p:not(.meda-eyebrow) { color: var(--meda-muted); max-width: 56ch; margin: 15px auto 23px; }
.medapotheek-structure .medapotheek-opening .meda-hero__action { display: inline-flex; min-height: 44px; align-items: center; background: var(--meda-blue); color: white; padding: 8px 14px; border-radius: 5px; }
.medapotheek-structure .medapotheek-opening .meda-hero__feature {
  display: grid;
  grid-template-columns: minmax(0,.62fr) minmax(0,1fr);
  align-items: stretch;
  width: 100%;
  background: #fff;
  color: var(--meda-on);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.medapotheek-structure .medapotheek-opening .meda-hero__feature img { display: block; width: 100%; height: auto; aspect-ratio: 1.9; min-height: 0; max-height: 340px; object-fit: cover; }
.medapotheek-structure .medapotheek-opening .meda-hero__feature > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  font-size: clamp(1.3rem,2.8vw,2.65rem);
  line-height: 1.15;
  padding: clamp(14px,5vw,66px);
  color: var(--meda-on);
  background: #fff;
}
.medapotheek-structure .medapotheek-opening .meda-hero__feature b { color: var(--meda-blue); }
.medapotheek-structure .medapotheek-orientation .meda-trust { width: var(--meda-wide); max-width: none; margin: 0 auto; padding: 13px 18px; background: #f2f8fc; border: 0; }
.medapotheek-structure .medapotheek-orientation .meda-trust :is(p,span) { color: var(--meda-muted); }
.medapotheek-structure .meda-archive { width: var(--meda-wide); max-width: none; margin: 34px auto 60px; padding: 0; }
.medapotheek-structure .meda-archive__head { background: #f2f8fc; border: 0; padding: 18px clamp(14px,4vw,42px); }
.medapotheek-structure .meda-archive__head h2 { font-size: clamp(1.7rem,3.8vw,3.4rem); color: var(--meda-on); }
.medapotheek-structure #leesroutes { scroll-margin-top: 15px; }
.medapotheek-structure .meda-route { width: 100%; max-width: none; display: block; padding: 22px 0 34px; border-color: var(--meda-line); }
.medapotheek-structure .medapotheek-topics { display: grid; grid-template-columns: minmax(0,.38fr) minmax(0,1fr); gap: clamp(16px,4vw,45px); align-items: start; }
.medapotheek-structure .medapotheek-topics .meda-route__intro { padding: 15px; background: var(--meda-ice); border: 0; border-radius: 5px; }
.medapotheek-structure .medapotheek-topics .meda-route__intro h2 { color: var(--meda-on); font-size: clamp(1.45rem,3vw,2.75rem); line-height: 1.1; }
.medapotheek-structure .medapotheek-topics .meda-route__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.medapotheek-structure .medapotheek-topics .meda-card { background: #fff; border-color: var(--meda-line); }
.medapotheek-structure .medapotheek-topics .meda-card img { aspect-ratio: 1.55; object-fit: cover; max-height: none; }
.medapotheek-structure .safe-live-publications { width: 100%; max-width: none; margin-block: 28px 55px; }
.medapotheek-structure .medapotheek-category { width: var(--meda-wide); margin: 22px auto 60px; }
.medapotheek-structure .medapotheek-category .category-hero { background: none; }
.medapotheek-structure .medapotheek-category :is(.category-hero .wrap,.category-stories) { width: 100%; max-width: none; }
.medapotheek-structure .medapotheek-category-intro { padding: clamp(16px,4vw,53px); background: var(--meda-ice); border-top: 5px solid var(--meda-blue); }
.medapotheek-structure .medapotheek-category-intro :is(h1,p,span) { color: var(--meda-on); }
.medapotheek-structure .medapotheek-category-intro h1 { font-size: clamp(2.02rem,4.7vw,4.25rem) !important; line-height: 1.1; }
.medapotheek-structure .medapotheek-category .story-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: 24px; }
.medapotheek-structure .medapotheek-category .story-card { display: flex; flex-direction: column; background: #fff; border-color: var(--meda-line); }
.medapotheek-structure .medapotheek-category .story-card img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; }
.medapotheek-structure .medapotheek-reader { max-width: none; padding: 0; }
.medapotheek-structure .medapotheek-reader-cover {
  width: var(--meda-wide);
  margin: clamp(15px,4vw,52px) auto 0;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.94fr);
  align-items: center;
  gap: clamp(16px,4vw,53px);
  padding: clamp(16px,4vw,52px);
  background: var(--meda-ice);
  border-top: 5px solid var(--meda-blue);
}
.medapotheek-structure .medapotheek-reader-cover > :is(header,figure,img) { width: 100%; max-width: none; margin: 0; padding: 0; background: none; border: 0; text-align: left; }
.medapotheek-structure .medapotheek-reader-cover h1 { font-size: clamp(1.8rem,3.65vw,3.78rem) !important; line-height: 1.09 !important; margin-block: .2em .47em; hyphens: auto !important; }
.medapotheek-structure .medapotheek-reader-cover figure img, .medapotheek-structure .medapotheek-reader-cover > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.medapotheek-structure .medapotheek-reader-cover figcaption { margin-top: 8px; }
.medapotheek-structure main.article > .medapotheek-reader-cover { width: 100%; }
.medapotheek-structure .medapotheek-reader :is(.article-layout,.safe-live-article__layout) {
  width: var(--meda-wide);
  max-width: 1050px;
  display: grid;
  grid-template-columns: minmax(0,.29fr) minmax(0,1fr);
  gap: clamp(16px,4vw,54px);
  padding: 0;
  margin: clamp(23px,5vw,65px) auto;
}
.medapotheek-structure .medapotheek-reader :is(.article-body,.article-content,.prose,.safe-live-article__content) { min-width: 0; overflow-wrap: anywhere; }
.medapotheek-structure .medapotheek-field-body { max-width: 755px; margin: 30px auto 65px; }
.medapotheek-structure .medapotheek-table { max-width: 100%; overflow-x: auto; }
.medapotheek-structure .medapotheek-error { padding: 26px; background: var(--meda-ice); border-top: 5px solid var(--meda-blue); }
.medapotheek-structure .medapotheek-search-dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  display: block;
  width: min(calc(100% - 30px),750px);
  height: fit-content;
  max-height: calc(100% - 30px);
  padding: 0;
  background: #fff;
  color: var(--meda-on);
  border: 1px solid var(--meda-line);
  border-radius: 9px;
  overflow: auto;
}
.medapotheek-structure .medapotheek-search-dialog::backdrop { background: rgb(14 48 70 / .75); }
.medapotheek-structure .medapotheek-search-dialog .search-inner { width: 100%; margin: 0; padding: clamp(14px,4vw,38px); background: #fff; color: var(--meda-on); }
.medapotheek-structure .medapotheek-search-dialog .search-heading h2 { color: var(--meda-on); font-size: clamp(1.55rem,4vw,2.7rem); }
.medapotheek-structure .medapotheek-search-dialog .search-close, .medapotheek-structure .medapotheek-search-dialog .search-control button { background: var(--meda-blue); color: #fff; }
.medapotheek-structure .medapotheek-search-dialog .search-control input { min-width: 0; color: var(--meda-on); }
.medapotheek-structure .medapotheek-search-dialog .search-results :is(span,h3,p,small) { color: var(--meda-on); }
.medapotheek-structure .medapotheek-search-dialog .search-result { grid-template-columns: 90px minmax(0,1fr); gap: 12px; overflow-wrap: anywhere; border-color: var(--meda-line); }
.medapotheek-structure .medapotheek-search-dialog .search-result:not(:has(> img)) { grid-template-columns: minmax(0,1fr); }
.medapotheek-structure .medapotheek-search-dialog .search-result img { width: 90px; height: auto; aspect-ratio: 1.15; object-fit: cover; }
@media (max-width: 760px) {
  .medapotheek-structure .meda-header .meda-header__inner { flex-wrap: wrap; }
  .medapotheek-structure .meda-header .meda-header__inner > p { display: none; }
  .medapotheek-structure .meda-header nav { margin-left: auto; }
  .medapotheek-structure .medapotheek-topics, .medapotheek-structure .medapotheek-reader :is(.article-layout,.safe-live-article__layout) { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 570px) {
  .medapotheek-structure .meda-header .meda-header__inner { padding: 8px 0; gap: 4px 11px; }
  .medapotheek-structure .meda-header .medapotheek-search-nav { margin-left: auto; }
  .medapotheek-structure .meda-header nav { order: 3; width: 100%; margin: 0; }
  .medapotheek-structure .medapotheek-opening .meda-hero__copy { padding-inline: 0; }
  .medapotheek-structure .medapotheek-opening .meda-hero__feature, .medapotheek-structure .medapotheek-reader-cover,
  .medapotheek-structure .medapotheek-topics .meda-route__grid { grid-template-columns: minmax(0,1fr); }
  .medapotheek-structure .medapotheek-search-home { display: block; width: 100%; margin: 7px auto 0; }
}

.medapotheek-structure .medapotheek-opening .meda-hero__feature > span { position: static; inset: auto; min-height: 0; }
.medapotheek-structure .medapotheek-opening .meda-hero__feature img { height: 100%; max-height: none; }
.medapotheek-structure .meda-archive { background: transparent; color: var(--meda-on); }
.medapotheek-structure .meda-archive__head > p { color: var(--meda-muted); }
.medapotheek-structure .medapotheek-search-dialog .search-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.medapotheek-structure .medapotheek-search-dialog .search-heading h2 { margin: 0 0 16px; line-height: 1.15; }
.medapotheek-structure .medapotheek-search-dialog .search-close { flex: 0 0 41px; min-height: 42px; border: 0; border-radius: 4px; font-size: 1.35rem; }
.medapotheek-structure .medapotheek-search-dialog .search-control { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.medapotheek-structure .medapotheek-search-dialog .search-control :is(input,button) { padding: 8px 10px; min-height: 42px; border: 1px solid var(--meda-blue); font: inherit; }
.medapotheek-structure .medapotheek-search-dialog .search-result { display: grid; padding-block: 10px; align-items: center; }
.medapotheek-structure .medapotheek-search-dialog .search-result h3 { margin: 3px 0; font-size: .98rem; line-height: 1.25; }
.medapotheek-structure .medapotheek-search-dialog .search-result :is(span,small) { color: var(--meda-muted); font-size: .76rem; }
@media (max-width: 570px) {
  .medapotheek-structure .medapotheek-opening .meda-hero__feature img { height: auto; }
  .medapotheek-structure .medapotheek-search-dialog .search-result { grid-template-columns: 65px minmax(0,1fr); }
  .medapotheek-structure .medapotheek-search-dialog .search-result img { width: 65px; }
}
