 body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort:hover, body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort:focus-within {
      border: 1px solid #B300AA !important;
      background: transparent !important;
  }
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort.active:hover {
    background: rgba(179, 0, 170, 0.30) !important;
    border: 0px solid transparent !important;
}

body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-cities #ortsearch::placeholder{
  color: #111 !important;
}
.ld-impuls.ld-hero h2,
.ld-hero.ld-per .h2-mt h2,
.single-dde_essay .ld-essay .row-persoenliche h2,
.ld-video-st.ld-hero h2 {
  margin-bottom: 0;
}
.blog-single .section-wrap-related-blog {
  display: none;
}

.wrap-infomation-wrap {
  gap: 6.25rem;
}

.single-studiengangs_pt span.title {
  min-width: 19.375rem;
}

.wrap-studiengangs .item .item-inner a.a-overlay {
  font-family: var(--font-mono);
}

.lightbox-partner .excerpt {
  margin-top: 0.938rem;
  margin-bottom: 2rem;
}

.lightbox-partner p {
  font-family: var(--font-body-monitor);
}

.menschen .wrap-partner p.short-desc {
  font-family: var(--font-body-monitor);
}

.wrap-partner .box {
  padding-top: 1.25rem;
}

.menschen .wrap-partner .blog-tags {
  margin-top: 0;
}

span.tag-item {
  font-family: var(--font-mono);
}

span.plus-icon {
  background: #909090 url(../images/icon-plus-or.svg) no-repeat center / 1rem;
}

.menschen .wrap-partner .item {
  margin-bottom: 2.5rem;
}


/* NETWORK FILTER - NEWS VISUAL SYSTEM */

@media (min-width: 800px) {

  body.page-netzwerk .network-filter-wrapper {
    position: relative;
    margin-bottom: 80px;
    isolation: auto;
    z-index: auto;
  }

  body.page-netzwerk .network-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    min-height: 55px;
    margin: 0 auto;
    padding: 7px 10px;


    overflow: visible;
    border-radius: 40px;
    background: #efefef;
  }

  body.page-netzwerk .network-filter-dropdown {
    position: relative;
    margin: 0;
    z-index: 1;
  }

  body.page-netzwerk .network-filter-dropdown:has(> h4.active) {
    z-index: 24;
  }

  body.page-netzwerk .network-filter-dropdown>h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    margin: 0;
    border-radius: 40px;
    background: transparent;
    color: #111;
    font-family: var(--font-body-medium);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
  }

  body.page-netzwerk .network-filter-dropdown>h4.active {
    background: #fff;
  }

  body.page-netzwerk .network-filter-dropdown>.list-taxonomy {
    position: absolute;
    top: calc(100% + 24px);
    left: 0;
    right: auto;
    width: max-content;
    min-width: 320px;
    max-width: min(440px, 90vw);
    padding: 25px;
    margin: 0;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
    z-index: 25;
  }

  body.page-netzwerk .network-filter-dropdown .list-taxonomy-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Icon at the right, from News */
  body.page-netzwerk .network-filter::after {
    content: "";
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-left: 4px;
    background: url("../images/Filter-Btn-filter-black.svg") center / contain no-repeat;
    order: 3;
    pointer-events: none;
  }

  /* Reset link matching News */
  body.page-netzwerk .network-filter .netzwerk-filter-reset {
    display: inline-block;
    width: auto;
    min-height: 0;
    height: auto;
    margin: 20px 0 0;
    padding: 0;
    background: transparent;
    color: #909090;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font-mono-bold);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.04em;
    text-align: left;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }

  body.page-netzwerk .network-filter .netzwerk-filter-reset:hover {
    color: #111;
    background: transparent;
  }
}

/* Netzwerk - Reset button matching News */

body.page-netzwerk .menschen button.netzwerk-filter-reset {
  display: inline-block;
  width: auto;
  min-height: 0;
  height: auto;
  margin: 1rem 0 0;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  color: #909090;
  font-family: var(--font-mono-bold);
  font-size: 13px;
  font-weight: normal;
  line-height: 20px;
  letter-spacing: -0.04em;

  text-align: left;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 2px;

  cursor: pointer;
}

body.page-netzwerk .menschen button.netzwerk-filter-reset:hover {
  color: #585858;
  background: transparent;
  box-shadow: none;
}

.ld-impuls ol li {
  font-family: var(--font-body-monitor);
}

.publikationen .row>.col {
  padding-left: 35px;
  padding-right: 35px;
}

.st-personen ul li {
  font-family: var(--font-body-monitor);
}

.st-personen .col-inner.personen-slider {
  padding-left: 35px;
  padding-right: 35px;
  padding-top: 3.75rem;
}

.st-personen .personen-track.flickity-enabled .col.medium-6.small-12.large-6:first-child {
  background: var(--i-fdf-grey-light-stiftung, #EFEFEF);
}

.section.st-personen {
  display: block;
  padding-bottom: 3.125rem;
}


/* STIFTUNGSZWECK - Slider navigation */

.st-personen .personen-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 0;
}

.st-personen .personen-navigation[hidden] {
  display: none !important;
}

.st-personen .personen-navigation button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #111;
  border: 1px solid #111;
  border-radius: 50%;
  box-shadow: none;

  cursor: pointer;
  transition: opacity 0.2s ease;
}

.st-personen .personen-navigation button svg {
  display: block;
  width: .7rem;
  height: .7rem;
  flex-shrink: 0;
}

.st-personen .personen-navigation button:hover:not(:disabled) {
  background: transparent;
  color: #111;
  opacity: 0.65;
}

.st-personen .personen-navigation button:disabled {
  opacity: 0.3;
  cursor: default;
}

.list-taxonomy-main>.icheckbox_square-blue {
  border: 2px solid #eeeeee;
}

#advanced.tab-content .svg-bold+span::before,
input.woof_checkbox_term+span:not(.svg):before {
  border-color: #999;
}

.list-taxonomy-main>.icheckbox_square-blue:hover {
  background: #f5f5f5;
  color: #111;
}

#advanced.tab-content input.woof_checkbox_term:checked+span+.svg-bold+span::before,
input.woof_checkbox_term:checked+span:not(.svg):before {
  background-color: #999;
}

.menschen .wrap-partner .box h4 {
  margin-top: 1rem;
}

body.page-netzwerk .menschen .network-filter .partner-button-icon:after {
  display: none;
}

.studiengangsfinder .wrap-partner-taxonomy h4 {
  margin-bottom: 0;
  margin-top: 0;
  padding: 0 1rem;
  height: 2.375rem;
}

.studiengangs-taxonomy {
  padding-left: 0.438rem;
  padding-right: 0.75rem;
  height: 54px;
}

.list-taxonomy {
  border-radius: 1.875rem;
}

.wrap-studiengangs-taxonomy {
  padding: 0;
}

.search-tabs {
  max-width: 15.313rem;
  border-radius: 6.25rem;
  height: 2.375rem;
  background: #F4E1F3;
  margin-bottom: 3rem;
}

.search-tabs .tab-btn.active {
  border-radius: 6.25rem;
  background: #fff;
}

.list-taxonomy.list-themenfeld {
  padding-bottom: 2.688rem;
}

.wrap-studiengangs-taxonomy .list-taxonomy-category .icheckbox_square-blue:hover {
  border-color: 1px solid #B300AA;
}

.wrap-studiengangs-taxonomy .list-taxonomy-category .icheckbox_square-blue {
  border-color: rgba(179, 0, 170, 0.30);
  border-radius: 0.938rem;
}

/* ==========================================
 NETWORK FILTER ACTION BUTTON
 Page ID 25
 ========================================== */

@media (min-width: 800px) {

  /* Remove old decorative icon */
  body.page-netzwerk .menschen .network-filter::after {
    content: none !important;
    display: none !important;
  }

  /* Real clickable filter button */
  body.page-netzwerk .menschen .network-filter .partner-button-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;

    margin: 0 0 0 4px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background-color: transparent;
    background-image:
      url("../images/Filter-Btn-filter-black.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    box-shadow: none;
    cursor: pointer;
    order: 3;
  }

  /* Active selection: grey check icon */
  body.page-netzwerk .menschen .network-filter.has_filter .partner-button-icon {
    background-image:
      url("../images/Filter-Btn-check-grey.svg");
  }

  /* Hover and keyboard focus */
  body.page-netzwerk .menschen .network-filter .partner-button-icon:hover {
    opacity: 0.75;
  }

  body.page-netzwerk .menschen .network-filter .partner-button-icon:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
  }
}

@media (max-width: 799px) {
  body.page-netzwerk .menschen .partner-button-icon {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .st-personen .personen-navigation {
    display: none;
  }
}

@media (min-width: 800px) {
  .st-personen .col_slider {
    box-sizing: border-box;
    width: 100%;
    max-width: 1770px;
    margin-inline: auto;
    padding-inline: 40px;
  }
}

@media (max-width: 799px) {
  .st-personen .col_slider {
    padding-inline: 20px;
  }
}

@media (min-width: 800px) {

  body.page-netzwerk .network-filter-wrapper::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 212, 212, 0.7);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    z-index: 2;
    display: none;
    pointer-events: none;
  }

  body.page-netzwerk .network-filter-wrapper.active::before {
    display: block;
  }

  body.page-netzwerk .network-filter {
    position: relative;
    z-index: 23;
  }
}

/* ==========================================
 NETWORK FILTER - NEWS STATE STYLES
 ========================================== */

@media (min-width: 800px) {

  /* Same base filter icon */
  body.page-netzwerk .menschen .studiengangs-taxonomy::after {
    content: "";
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-left: 4px;
    order: 3;
    background:
      url("../images/Filter-Btn-filter-black.svg") no-repeat center / contain;
    pointer-events: none;
  }

  /* Selected filter icon */
  body.page-netzwerk .menschen .studiengangs-taxonomy.has_filter::after {
    content: "";
    background:
      url("../images/Filter-Btn-check-grey.svg") no-repeat center / contain;
  }

  /* Highlight active filter tab */
  body.page-netzwerk .menschen .wrap-partner-taxonomy.is-open>h4 {
    background-color: #fff;
  }

  /* Keep dropdown above filter bar */
  body.page-netzwerk .menschen .wrap-partner-taxonomy.is-open {
    z-index: 30;
  }

  /* Reset link appearance */
  body.page-netzwerk .menschen .netzwerk-filter-reset {
    display: inline-block;
    width: auto;
    min-height: 0;
    height: auto;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: #909090;
    font-family: var(--font-mono-bold);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.04em;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: none;
    cursor: pointer;
  }
}

/* Studiengangsfinder > Themenfeld > Erweiterte Suche ONLY.
 Markup: #advanced .list-taxonomy-main > .list-taxonomy-icheckboxsquare
 No changes to #simple, Ort, filter bar, PHP or JavaScript. */

body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-category>.list-taxonomy-main {
  display: block !important;
  columns: 4 !important;
  column-gap: 2rem !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
}

/* Each parent + its children forms one indivisible vertical group. */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;

  justify-content: flex-start !important;

  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 0 1.5rem !important;

  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

/* Prevent the theme's flex sizing / margins from lining up options horizontally. */
body.page-studiengangsfinder #advanced.tab-content .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.icheckbox_square-blue.terms-category {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  height: auto !important;
  min-height: 1.5rem;
  line-height: 1.4 !important;
  white-space: normal;
}

/* The first option in each PHP parent group is its title. */
body.page-studiengangsfinder #advanced.tab-content .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.terms-category:first-child>span.parent {
  gap: 4px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-category>.list-taxonomy-main {
    columns: 2 !important;
  }
}

@media (max-width: 767px) {
  body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-category>.list-taxonomy-main {
    columns: 1 !important;
  }
}

/* Studiengangsfinder – Themenfeld > Erweiterte Suche ONLY
 Add AFTER the existing Advanced four-columns CSS.
 No changes to Einfache Suche, Ort, navigation or PHP. */

@media (min-width: 1024px) {
  body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-category>.list-taxonomy-main {
    column-gap: 1.5rem !important;
  }
}

body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare {
  gap: 0.5rem !important;
  align-items: flex-start !important;
  break-inside: avoid !important;
  margin-bottom: 1.5rem !important;
}

/* Chips follow label width, rather than filling or wrapping within the column. */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.icheckbox_square-blue.terms-category {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  width: max-content !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 1.5rem !important;
  padding: 0.125rem 0.625rem !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(179, 0, 170, 0.30) !important;
  border-radius: 999px !important;
  line-height: 1.35 !important;
}

/* Font and label: single line at desktop sizes, like Figma. */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.icheckbox_square-blue.terms-category>span:not(.svg):not(.svg-bold) {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

/* First item is the taxonomy parent / group heading. */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.icheckbox_square-blue.terms-category:first-child>span.parent {
  font-family: var(--font-body-semibold, inherit) !important;
}

/* Avoid forcing the one-line layout on narrow screens. */
@media (max-width: 1023px) {
  body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.icheckbox_square-blue.terms-category {
    width: fit-content !important;
    max-width: 100% !important;
  }

  body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.icheckbox_square-blue.terms-category>span:not(.svg):not(.svg-bold) {
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* ============================================================
 Studiengangsfinder / Themenfeld / Erweiterte Suche
 Scroll container: .wrap-studiengangs-taxonomy ONLY.
 Keep the original vertical multi-column group flow.
 ============================================================ */
body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy.list-themenfeld:has(> #advanced.tab-content.active) {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.page-studiengangsfinder #advanced.tab-content.active {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Scrolling belongs to this wrapper, NOT to .list-taxonomy-main. */
body.page-studiengangsfinder #advanced.tab-content.active>.wrap-studiengangs-taxonomy {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: min(620px, max(200px, calc(100dvh - 330px))) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d5b7d3 transparent;
  box-sizing: border-box !important;
  padding: 4px 12px 8px 0 !important;
}

body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy .list-taxonomy-category {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  min-width: 0 !important;
}

/* Multi-column flow must expand to its natural height, without an inner
 scroll or grid auto-row alignment (which broke the Figma grouping). */
body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy .list-taxonomy-category>.list-taxonomy-main {
  display: block !important;
  columns: 4 !important;
  column-gap: 24px !important;
  column-fill: balance !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 0 24px !important;
  break-inside: avoid !important;
  -webkit-column-break-inside: avoid;
}

/* Reset is in normal document flow AFTER the options.
   It should never overlay a selectable taxonomy term. */
body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy .list-taxonomy-category > .zurucksetzten-box {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin: 16px 0 0 !important;
  padding: 0 0 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy .list-taxonomy-category>.list-taxonomy-main {
    columns: 2 !important;
  }
}

@media (max-width: 767px) {
  body.page-studiengangsfinder #advanced.tab-content.active>.wrap-studiengangs-taxonomy {
    max-height: max(180px, calc(100dvh - 260px)) !important;
  }

  body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy .list-taxonomy-category>.list-taxonomy-main {
    columns: 1 !important;
  }
}

/* Studiengangsfinder – Themenfeld > Erweiterte Suche: selected pill only */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main .icheckbox_square-blue.terms-category.active,
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main .icheckbox_square-blue.terms-category:has(> input.woof_checkbox_term:checked) {
  background-color: #e5a4e2 !important;
  border-color: #e5a4e2 !important;
  color: #111 !important;
}

/* The selected circular indicator follows Figma's magenta accent. */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main .icheckbox_square-blue.terms-category.active>.svg-bold+span::before,
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main .icheckbox_square-blue.terms-category:has(> input.woof_checkbox_term:checked)>.svg-bold+span::before {
  background-color: #bd00b4 !important;
  border-color: #bd00b4 !important;
}

/* Erweiterte Suche - Fix duplicate checkbox icon */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .icheckbox_square-blue.terms-category .svg-bold {
  display: none !important;
}

/* Purple indicator for selected checkbox */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .icheckbox_square-blue.terms-category.active .svg {
  color: #bd00b4;
}

/* Selected chip background */
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .icheckbox_square-blue.terms-category.active {
  background-color: #e5a4e2 !important;
}

body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main>.list-taxonomy-icheckboxsquare>.icheckbox_square-blue.terms-category:hover {
  background: #B300AA4D;
}

/* ================================================================
 STUDIENGANGSFINDER / ORT ONLY — restore Figma two-panel layout
 Works with: .list-taxonomy-main.ort-layout > .ort-regions + .ort-cities
 Scoped to page 3857; does NOT modify #advanced or #simple.
 ================================================================ */
@media (min-width: 850px) {
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort {
    position: relative;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort>.list-taxonomy {
    box-sizing: border-box;
    width: min(53rem, calc(100vw - 60px)) !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 40px !important;
    left: 0;
    right: auto;
    border-radius: 30px;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100dvh - 120px);
    overscroll-behavior-y: contain;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .list-taxonomy-main.ort-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(220px, .85fr) !important;
    align-items: start !important;
    gap: 36px !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-layout>.ort-regions,
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-layout>.ort-cities {
    min-width: 0;
    width: 100%;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-layout h3 {
    font-family: var(--font-body-monitor, inherit);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin: 0 0 24px;
  }

  /* Six region image cards in three equal columns */
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 0 0 18px;
    width: 100%;
    height: auto !important;
    overflow: visible !important;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 10px;
    min-width: 0;
    width: 100% !important;
    height: auto !important;
    min-height: 190px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px 8px 16px !important;
    background: #fff;
    border: 1px solid #e6b1e4 !important;
    border-radius: 16px;
    cursor: pointer;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort:hover,
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort:focus-within {
    border-color: #b300aa !important;
    background: #fbf3fb;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort.active,
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort:has(> input:checked) {
    border-color: #b300aa !important;
    background: #f8e8f7;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort>span {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
  }

  /* Orte: text search and stacked checkbox list */
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-cities .ort-search {
    width: 100%;
    margin-bottom: 12px;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-cities #ortsearch {
    display: block;
    width: 100%;
    height: auto;
    min-height: 38px;
    padding: 6px 30px 6px 0;
    border: 0;
    border-bottom: 2px dotted #b300aa;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 8px;
    width: 100%;
    max-height: 400px;
    padding: 6px 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search>.terms-ort {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: fit-content !important;
    max-width: 100%;
    margin: 0 !important;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .zurucksetzten-box {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    text-align: right;
  }
}

@media (max-width: 849px) {
  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort>.list-taxonomy {
    width: min(680px, calc(100vw - 32px)) !important;
    max-width: none !important;
    box-sizing: border-box;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .list-taxonomy-main.ort-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    height: auto !important;
    max-height: none !important;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.page-studiengangsfinder .studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    max-height: 240px;
    overflow-y: auto;
  }
}

/* ==============================================================
 STUDIENGANGSFINDER / ORT — FIGMA LAYOUT (2026-10-28)
 Only page 3857 and the Ort dropdown; no effect on #advanced.
 The selector intentionally does NOT require .studiengangsfinder.
 ============================================================== */
@media (min-width: 850px) {
  body.page-studiengangsfinder .terms-taxonomy-ort {
    position: static !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort>.list-taxonomy {


    right: auto !important;


    margin: 0 !important;
    background: #fff !important;


    z-index: 35 !important;
    overscroll-behavior: contain;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-layout>.ort-regions,
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-layout>.ort-cities {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-layout h3 {
    font-family: var(--font-body-medium, inherit);
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    color: #111 !important;
  }

  /* Hide the legacy top-level region checkbox. Six image cards remain. */
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions>.terms-ort {
    display: none !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box {


    overflow: visible !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort {


    min-width: 0 !important;


    cursor: pointer;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort>span {


    text-align: center !important;

  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort:is(:hover, :focus-within, .active, :has(> input:checked)) {
    border-color: #b300aa !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .ort-search {
    position: relative !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities #ortsearch {


    outline-offset: 3px;


  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .search-icon {
    display: none !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;

    width: 100% !important;

    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search>.terms-ort {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: max-content !important;
    max-width: 100% !important;

    margin: 0 !important;

    border: 1px solid rgba(179, 0, 170, .3) !important;

    background: #fff;

  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search>.terms-ort.active {
    background-color: #e5a4e2 !important;
    border-color: #e5a4e2 !important;
  }
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search>.terms-ort input.woof_checkbox_term:checked + span:before {
    background-color: #B300AA;
}
  body.page-studiengangsfinder .terms-taxonomy-ort .zurucksetzten-box {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 24px !important;
    text-align: right !important;
  }
}

@media (min-width: 850px) and (max-width: 1150px) {
  body.page-studiengangsfinder .terms-taxonomy-ort .list-taxonomy-main.ort-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, .8fr) !important;
    gap: 28px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort {
    height: 200px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort img {
    height: 142px !important;
  }
}

@media (max-width: 849px) {
  body.page-studiengangsfinder .terms-taxonomy-ort>.list-taxonomy {
    width: min(680px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: calc(100dvh - 110px) !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .list-taxonomy-main.ort-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    height: auto !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions>.terms-ort {
    display: none !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 12px 6px !important;
    margin: 0 !important;
    border: 1px solid #e9aae5 !important;
    border-radius: 16px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort img {
    width: 100% !important;
    height: 130px !important;
    object-fit: contain !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .ort-search {
    display: block !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities #ortsearch {
    display: block !important;
    width: 100% !important;
    border: none !important;
    border-bottom: 2px dotted #b300aa !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    max-height: 220px !important;
    overflow-y: auto !important;
  }
}

/* ==============================================================
 ORT — Figma refinements (verified Regionen typography: 16px / 23px,
 Suisse Screen Semi Bold). Scoped to Studiengangsfinder Ort ONLY.
 Do not modify Themenfeld, Netzwerk or other dropdowns.
 ============================================================== */
@media (min-width: 850px) {

  body.page-studiengangsfinder .terms-taxonomy-ort .list-taxonomy-main.ort-layout {

    column-gap: 40px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box {
    gap: 20px !important;
  }


}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-layout h3 {
  font-family: "Suisse Screen", var(--font-body-medium, sans-serif) !important;
  font-size: 16px !important;
  line-height: 23px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #111 !important;
  text-transform: none !important;
  margin: 0 0 24px !important;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort>span {
  font-family: "Suisse Screen", var(--font-body-monitor, sans-serif) !important;
  font-size: 16px !important;
  line-height: 23px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  color: #111 !important;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort img,
body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort img:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities #ortsearch {
  font-family: "Suisse Screen", var(--font-body-monitor, sans-serif) !important;
  font-size: 16px !important;
  line-height: 23px !important;
  font-weight: 400 !important;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search>.terms-ort>span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.813rem;
  font-family: var(--font-body-monitor) !important;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions>.terms-ort.active {
  background-color: #e5a4e2 !important;
  border-color: #e5a4e2 !important;
}
body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions>.terms-ort.active span.parent:before {
  background-color: #B300AA;
}
/* Studiengangsfinder > Ort / Regionen — verified Figma frame 3725:8496
 Card component 3725:8803. Scoped only to Ort on page 3857. */
@media (min-width: 850px) {
  body.page-studiengangsfinder .terms-taxonomy-ort>.list-taxonomy {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 20px) !important;
    width: min(775px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 563px !important;
    height: auto !important;
    max-height: calc(100dvh - 110px) !important;
    padding: 40px 40px 38px !important;
    box-sizing: border-box !important;
    border-radius: 30px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .list-taxonomy-main.ort-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 455px) minmax(0, 200px) !important;
    gap: 40px !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions,
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions h3,
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities h3 {
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-family: "Suisse Screen", var(--font-body-medium), sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 23px !important;
    letter-spacing: 0 !important;
    color: #111 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    column-gap: 20px !important;
    row-gap: 20px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 13px !important;
    width: 100% !important;
    height: 189px !important;
    min-height: 189px !important;
    max-height: 189px !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(179, 0, 170, .30) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort img {
    display: block !important;
    flex: 0 0 130px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 130px !important;
    min-height: 130px !important;
    max-height: 130px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    object-fit: contain !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions .ort-box>.terms-ort>span {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Suisse Screen", var(--font-body-monitor), sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    color: #111 !important;
  }

  /* Figma row order: Deutschlandweit, Mitte, Norden / West, Süd, Ost.
   Attribute-based ordering does not alter WP term IDs or AJAX behaviour. */
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="deutschlandweit"]) {
    order: 1 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="mitte"]) {
    order: 2 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="norden"]) {
    order: 3 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="west"]),
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="westen"]),
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-name="Westen"]) {
    order: 4 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="sud"]),
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="sued"]),
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="suden"]),
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-name="Süden"]) {
    order: 5 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="ost"]),
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-slug="osten"]),
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-box>.terms-ort:has(input[data-name="Osten"]) {
    order: 6 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions>.terms-ort:has(+ .ort-box) {
    display: none !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-regions>.terms-ort:not(:has(+ .ort-box)) {
    /* Regular remote/online option is the only direct checkbox in this column. */
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    padding: 0 9px 0 8px !important;
    min-height: 24px !important;
    height: auto !important;
    margin: 0 !important;
    border: 1px solid rgba(179, 0, 170, .3) !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    line-height: 18px !important;
  }

  .terms-taxonomy-ort .icheckbox_square-blue.main-icheckbox span.parent {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.813rem;
    font-family: var(--font-body-monitor) !important;
  }

  /* Exact Figma right-side title, search and compact option chips. */
  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .ort-search {
    display: block !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities #ortsearch {
    display: block !important;
    width: 200px !important;
    max-width: 100% !important;
    height: 26px !important;
    min-height: 26px !important;
    margin: 0 0 20px !important;
    padding: 0 0 3px !important;
    border: 0 !important;
    border-bottom: 2px dotted #b300aa !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font-family: var(--font-mono), monospace !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    letter-spacing: -.52px !important;
    color: #111 !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search {
    gap: 5px !important;
    max-height: 310px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search>.terms-ort {
    min-height: 24px !important;
    padding: 0 9px 0 8px !important;
    line-height: 18px !important;
    border-radius: 13px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .zurucksetzten-box {
    margin: 0 !important;
    position: absolute !important;
    right: 40px !important;
    bottom: 38px !important;
  }

  body.page-studiengangsfinder .terms-taxonomy-ort .zurucksetzten-box .zurucksetzten {
    font-family: var(--font-mono-bold), monospace !important;
    font-size: 13px !important;
    line-height: 20px !important;
    letter-spacing: -.52px !important;
    color: #b300aa !important;
  }
}

.terms-taxonomy-ort .icheckbox_square-blue {
  position: relative;
}

/* ==========================================
 STUDIENGANGSFINDER – ORT SCROLLBAR
 Only .list_icheckbox_square_search
 ========================================== */

body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search {
  overflow-y: auto !important;
  overflow-x: hidden !important;

  scrollbar-width: thin;
  scrollbar-color: #d5b7d3 transparent;

  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;

  padding-right: 12px !important;
  box-sizing: border-box;
}

/* Chrome, Edge, Safari */
body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search::-webkit-scrollbar {
  width: 6px;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search::-webkit-scrollbar-track {
  background: transparent;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search::-webkit-scrollbar-thumb {
  background-color: #d5b7d3;
  border-radius: 999px;
}

body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities .list_icheckbox_square_search::-webkit-scrollbar-thumb:hover {
  background-color: #b300aa;
}

/* DDE: Impulse without carousel – retain the original card presentation. */
.ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses:not(.flickity-enabled) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  margin-left: -12px;
}

.ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses:not(.flickity-enabled) > .item {
  width: 33.3333%;
  max-width: 33.3333%;
  flex: 0 0 33.3333%;
}

.ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses.flickity-enabled {
  display: block;
}

.ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses.is-static .flickity-prev-next-button {
  display: none !important;
}

@media (max-width: 849px) {
  .ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses:not(.flickity-enabled) > .item {
      width: 100%;
      max-width: 100%;
      flex: 0 0 100%;
  }

  .ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses.flickity-enabled .item {
      width: 88%;
      max-width: 88%;
  }
}

/* Full-width Impulse container; override the old two-column taxonomy layout. */
.ifdf-dde-impulse-row > .row > .col:first-child {
  flex-basis: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 15px !important;
}

/* DDE Impulse: static row for <=3 desktop / <=1 mobile; legacy sliders unchanged. */
.ifdf-dde-impulses.ifdf-dde-static { display:flex; flex-wrap:nowrap; width:100%; max-width:100%; margin-left:-12px; }
.ifdf-dde-impulses.ifdf-dde-static > .item { position:relative!important; left:auto!important; flex:0 0 32%; width:32%; max-width:32%; }
.ifdf-dde-impulses.ifdf-dde-static .flickity-prev-next-button,
.ifdf-dde-impulses.ifdf-dde-static .flickity-page-dots { display:none!important; }
@media(max-width:849px){
  .ifdf-dde-impulses.ifdf-dde-static > .item { flex-basis:75%; width:75%; max-width:75%; }
}
@media(max-width:549px){
  .ifdf-dde-impulses.ifdf-dde-static > .item { flex-basis:88%; width:88%; max-width:88%; }
}


/* [dde_themen] one-card state: a larger card, without changing Flickity cell sizing.
   PHP adds .ifdf-dde-static for 1 item. Two or more stay Flickity slides. */
@media (min-width: 850px) {
  .ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-themen-carousel.ifdf-dde-static {
    display: grid !important;
    grid-template-columns: minmax(0, min(54%, 530px)) !important;
    justify-content: start;
  }
}
@media (max-width: 849px) {
  .ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-themen-carousel.ifdf-dde-static {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }
  .ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-themen-carousel.ifdf-dde-static > .item {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* [dde_themen] responsive cards. Keep these rules isolated from [themenfelder]
   and the Impuls detail sliders. The base stylesheet gives each Flickity
   cell a left padding and right margin; remove BOTH in desktop static grid. */
@media (min-width: 850px) {
  .ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-themen-carousel.ifdf-dde-static {
    display: grid !important;
    grid-template-columns: minmax(0, min(54%, 530px));
    column-gap: 30px;
    row-gap: 30px;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }
  .ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-themen-carousel.ifdf-dde-static > .item {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
}
/* The original slider cell spacing remains in effect for >=3 cards on
   desktop and >=2 on mobile. Never show controls on an empty or static row. */
.ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-static .flickity-prev-next-button,
.ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-static .flickity-page-dots,
.ifdf-dde-themen-overview-row .themenfelder-posts.ifdf-dde-themen-empty,
.ifdf-dde-themen-overview-row .no-slider .flickity-prev-next-button {
  display: none !important;
}


/* DDE Impuls cards — clickable label/arrow on Zusammenfassung, Essay,
   Video and Impuls detail. The legacy .row-prak rule rendered text as
   div pseudo-elements while zeroing the anchor font, leaving a tiny hit area.
   Keep the link itself responsible for both the label and arrow. */
.row-prak .themenfelder-posts .content-item .text-or::before,
.row-prak .themenfelder-posts .content-item .text-or::after {
  content: none !important;
  display: none !important;
}
.row-prak .themenfelder-posts .content-item .text-or > a,
.ifdf-dde-impulse-row .themenfelder-posts .content-item .text-or > a {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  position: relative;
  z-index: 2;
  width: auto;
  min-height: 28px;
  font-family: var(--font-mono-bold);
  font-size: .813rem !important;
  line-height: 1.5;
  color: #ff6e2f !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  cursor: pointer;
}
.row-prak .themenfelder-posts .content-item .text-or > a > b,
.ifdf-dde-impulse-row .themenfelder-posts .content-item .text-or > a > b {
  display: none !important;
}
.row-prak .themenfelder-posts .content-item .text-or > a::after,
.ifdf-dde-impulse-row .themenfelder-posts .content-item .text-or > a::after {
  content: '' !important;
  display: inline-block !important;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: url('../images/arrow-orange.svg') center / contain no-repeat;
  transition: transform .2s ease;
}
.row-prak .themenfelder-posts .content-item .text-or > a:hover::after,
.ifdf-dde-impulse-row .themenfelder-posts .content-item .text-or > a:hover::after {
  transform: translateX(3px);
}
.row-prak .themenfelder-posts .content-item .text-or > a:focus-visible,
.ifdf-dde-impulse-row .themenfelder-posts .content-item .text-or > a:focus-visible {
  outline: 2px solid #ff6e2f;
  outline-offset: 4px;
}

/* [dde_themen] Impuls links — match the legacy [themenfelder] card:
   keep the real clickable anchor and its original <b>+</b> markup.
   Hover changes label colour and slides the plus 5px right. */
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or::before,
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or::after {
  content: none !important;
  display: none !important;
}
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  position: relative;
  z-index: 3;
  width: fit-content;
  min-height: 28px;
  font-family: var(--font-mono-bold, monospace) !important;
  font-size: .813rem !important;
  line-height: 1.5 !important;
  color: #ff6e2f !important;
  text-decoration: none !important;
  cursor: pointer;
  pointer-events: auto !important;
  transition: color .5s ease;
}
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a > b {
  display: inline-block !important;
  position: relative;
  right: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  transition: right .5s ease;
}
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a::after {
  content: none !important;
  display: none !important;
}
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item:hover .text-or > a,
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a:hover {
  color: #000 !important;
}
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item:hover .text-or > a > b,
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a:hover > b {
  right: -5px;
}
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a:focus-visible {
  outline: 2px solid #ff6e2f;
  outline-offset: 3px;
}

/* Detail Impuls: a static row uses a real three-column layout even when
   only two related posts exist. Do not alter Flickity-enabled carousel cells. */
@media (min-width: 850px) {
  body.single-themenfelder .ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses:not(.flickity-enabled) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    align-items: stretch;
  }
  body.single-themenfelder .ifdf-dde-impulse-row .themenfelder-posts.ifdf-dde-impulses:not(.flickity-enabled) > .item {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: initial !important;
  }

}
body.single-themenfelder .ld-last .section-content > .row > .col:nth-child(2) > .col-inner > a.button.primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem;
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 30px;
  white-space: nowrap !important;
  text-align: left;
}
body.single-themenfelder .ld-last .section-content > .row > .col:nth-child(2) > .col-inner > a.button.primary > span {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
@media (max-width: 849px) {
  body.single-themenfelder .ld-last .section-content > .row {
    width: 100% !important;
    max-width: min(100%, 36rem) !important;
  }
  body.single-themenfelder .ld-last .section-content > .row > .col {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
  body.single-themenfelder .ld-last .section-content > .row > .col:nth-child(2) > .col-inner > a.button.primary {
    max-width: 100%;
  }
}

/* ================================================================
   Shared ld-last related THEMA navigation — Zusammenfassung, Essay,
   Video and single Impuls. Keep the fix in one stylesheet.
   The theme's _style.min.css otherwise caps .ld-last .row at 33rem.
   ================================================================ */
@media (min-width: 850px) {
  .ld-last .section-content > .row {
    width: 100% !important;
    max-width: 62rem !important;
    align-items: center;
  }
  .ld-last .section-content > .row > .col:first-child {
    flex: 0 0 40% !important;
    width: 40% !important;
    max-width: 40% !important;
  }
  .ld-last .section-content > .row > .col:nth-child(2) {
    flex: 0 0 60% !important;
    width: 60% !important;
    max-width: 60% !important;
    min-width: 0;
  }
}
@media (max-width: 849px) {
  .ld-last .section-content > .row {
    width: 100% !important;
    max-width: 100% !important;
  }
  .ld-last .section-content > .row > .col {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

/* [dde_themen] — the dynamic shortcode renders <a>Impuls</a> without
   the legacy <b>+</b>. Render the missing plus in CSS without changing
   the PHP/JS, keeping the entire label clickable. */
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a::after {
  content: "+" !important;
  display: inline-block !important;
  position: relative !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: inherit !important;
  font: inherit !important;
  font-weight: 700 !important;
  line-height: inherit !important;
  transform: translateX(0) !important;
  transition: transform .5s ease !important;
}
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item:hover .text-or > a::after,
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a:hover::after {
  transform: translateX(5px) !important;
}
/* Avoid a double plus if older markup with <b>+</b> is ever restored. */
.ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a:has(> b)::after {
  content: none !important;
  display: none !important;
}

/* [dde_themen] — Themenfeld tag, Figma 2869:411 / component 3566:12417.
   Scope exclusively to the assigned taxonomy terms above each THEMA title. */
.ifdf-dde-themen-overview-row .ifdf-dde-themen-overview-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
}
.ifdf-dde-themen-overview-row .ifdf-dde-themen-overview-field {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  padding: 2px 8px 1px 8px;
  border: 1px solid #909090;
  border-radius: 13px;
  background: transparent;
  color: #909090;
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 20.02px;
  letter-spacing: -0.52px;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
/* The legacy theme adds 1rem above every THEMA h2. Figma uses a 10px
   gap between the tag row and the heading, so remove that extra margin
   only when this shortcode has tags to display. */
.ifdf-dde-themen-overview-row .ifdf-dde-themen-overview-fields + h2 {
  margin-top: 0;
}

/* Studiengangsfinder / page 3857 only: use the purple filter chips from
   the Ort dropdown across ALL taxonomy filter inputs. The shared theme has
   broad grey rules; this page-scoped override intentionally wins them. */
body.page-studiengangsfinder .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main .icheckbox_square-blue:not(.inspire-me):not(.terms-ort),
body.page-studiengangsfinder .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main.terms-as > .icheckbox_square-blue {
  border: 1px solid rgba(179, 0, 170, 0.30) !important;
  background-color: #fff;
}

body.page-studiengangsfinder .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main .icheckbox_square-blue:not(.inspire-me):not(.terms-ort):hover,
body.page-studiengangsfinder .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main .icheckbox_square-blue:not(.inspire-me):not(.terms-ort):focus-within {
  border-color: #B300AA !important;
}

body.page-studiengangsfinder .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main .icheckbox_square-blue:not(.inspire-me):not(.terms-ort).active,
body.page-studiengangsfinder .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main .icheckbox_square-blue:not(.inspire-me):not(.terms-ort):has(> input.woof_checkbox_term:checked) {
  border-color: #ebbae7 !important;
  background-color: rgba(179, 0, 170, 0.30) !important;
}

/* The radio-style dot must also stay purple rather than grey. */
body.page-studiengangsfinder .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main .icheckbox_square-blue input.woof_checkbox_term:checked + span:not(.svg)::before {
  background-color: #B300AA !important;
  border-color: #B300AA !important;
}


/* Ausführliches Essay citations only: numbers without brackets and hover popovers. */
body.single-dde_essay .txt-strong strong.ifdf-essay-citation-number,
body.single-dde_essay .text-strong strong.ifdf-essay-citation-number {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 8px;
  background: #efefef;
  color: #ff6e2f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: super;
  cursor: pointer;
  font-family: var(--font-body-bold);
  font-size: .688rem;
  line-height: 1;
  text-decoration: none;
}
body.single-dde_essay .txt-strong strong.ifdf-essay-citation-number.is-active,
body.single-dde_essay .text-strong strong.ifdf-essay-citation-number.is-active {
  background: #ff6e2f;
  color: #fff;
}
body.single-dde_essay .ifdf-essay-citation-number:focus-visible {
  outline: 2px solid #ff6e2f;
  outline-offset: 2px;
}
body.single-dde_essay .ifdf-essay-citation-popover.text.text-box {
  position: fixed;
  z-index: 999999;
  width: 400px;
  max-width: calc(100vw - 30px);
  padding: 16px;
  background: #efefef;
  border-radius: 10px;
  color: #111;
  box-sizing: border-box;
  overflow-y: auto;
  box-shadow: none;
  border: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
body.single-dde_essay .ifdf-essay-citation-popover[hidden] { display: none !important; }
body.single-dde_essay .ifdf-essay-citation-popover p {
  color: #111;
  font-family: var(--font-body-monitor);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
body.single-dde_essay .ifdf-essay-citation-popover.text.text-box a,
body.single-dde_essay .ifdf-essay-citation-popover.text.text-box:hover a {
  color: #ff6e2f;
  font-family: var(--font-mono-bold);
  font-size: .688rem;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
body.single-dde_essay .ifdf-dde-essay-placeholder-references {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #efefef;
}
body.single-dde_essay .ifdf-dde-essay-placeholder-references p {
  font-size: 13px;
  margin: 0 0 8px;
}

/* Essay citation popover: align external-link icon with link text. */
body.single-dde_essay .ifdf-essay-citation-popover.text-box a::after {
  margin-top: 0;
}

/* News page 28 only: use a clickable filter control instead of ::after. */
body.page-news .blog-filter-wrapper .blog-filter::after {
  content: none !important;
  display: none !important;
}
body.page-news .blog-filter-wrapper .blog-filter > button.ifdf-news-filter-action {
  order: 3;
  flex: 0 0 32px;
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 0 0 .25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: url(../images/Filter-Btn-filter-black.svg) no-repeat center / contain;
  cursor: pointer;
}
body.page-news .blog-filter-wrapper .blog-filter.has_filter > button.ifdf-news-filter-action {
  background-image: url(../images/Filter-Btn-check-grey.svg);
}
body.page-news .blog-filter-wrapper .blog-filter > button.ifdf-news-filter-action:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}


/* News page 28: match the Studiengangsfinder white hover/active pill.
   The existing blog-hover-indicator JS measures these button dimensions. */
body.page-news .blog-filter-wrapper .blog-filter > .filter-dropdown > .filter-parent,
body.page-news .blog-filter-wrapper .blog-filter > .filter-dropdown > .year-filter-toggle,
body.page-news .blog-filter-wrapper .blog-filter > button.filter-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  margin: 0;
  border: 0;
  border-radius: 20px;
  line-height: 1;
  white-space: nowrap;
}

/* Keep the matching 20px radius while the indicator moves with hover/focus.
   Without JavaScript, expanded dropdowns still get a visible white pill. */
body.page-news .blog-filter-wrapper .blog-filter:not(.blog-hover-enabled)
  > .filter-dropdown > button[aria-expanded="true"] {
  background-color: #fff;
}

body.page-news .blog-filter-wrapper .blog-filter > .blog-hover-indicator {
  border-radius: 20px;
}

/* DDE Themenfelder: filter only taxonomy-linked THEMA rows (page 3634). */
body.page-themenfelder .ifdf-dde-themen-overview-row[hidden],
body.page-themenfelder .ifdf-dde-themen-overview-row.ifdf-dde-themen-filter-hidden {
  display: none !important;
}
body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 140px;
  height: 100%;
  margin: 0;
  padding: 16px 8px;
  border: 1px solid rgba(255,110,47,.4);
  border-radius: 14px;
  background: #fff;
  color: #222;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  white-space: normal;
  transition: background-color .2s ease, border-color .2s ease;
}
body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice:hover,
body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice:focus-visible {
  border-color: #ff6e2f;
  background: rgba(255,110,47,.12);
}
body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice[aria-pressed="true"] {
  border-color: #ff6e2f;
  background: rgba(255,110,47,.26);
}
body.page-themenfelder .ifdf-dde-themen-filter .ifdf-dde-themen-filter-media img {
  display: block;
  width: auto;
  max-width: 70px;
  max-height: 70px;
  height: auto;
  object-fit: contain;
}


/* Themen overview (3634): draw separators only above the second visible THEMA.
   The theme's :nth-child(1) rule counts hidden rows, so the first result
   after taxonomy filtering must explicitly suppress its pseudo-divider. */
body.page-themenfelder .st-themenfelder-2 .themenfelder-row.ifdf-dde-themen-first-visible::before {
  content: none !important;
  background: none !important;
}
body.page-themenfelder .st-themenfelder-2 .themenfelder-row.ifdf-dde-themen-first-visible {
  margin-top: 0;
  padding-top: 0;
}

/* DDE related sections (Summary, Essay, Video, Impuls): center the
   heading + links together as a single block, matching the Figma layout.
   Do not center the text inside either column. */
.ld-last.ifdf-dde-related > .section-content > .row {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 850px) {
  .ld-last.ifdf-dde-related > .section-content > .row {
    width: 100% !important;
    max-width: 62rem !important;
  }
}

@media (max-width: 849px) {
  .ld-last.ifdf-dde-related > .section-content > .row {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Center the real content group, rather than a fixed-width 40/60 row.
   Scope to related sections on desktop; mobile layout stays unchanged. */
@media screen and (min-width: 850px) {
  .ld-last.ifdf-dde-related > .section-content > .row {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }
  .ld-last.ifdf-dde-related > .section-content > .row > .col {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
  }
  .ld-last.ifdf-dde-related > .section-content > .row > .col:first-child {
    flex-shrink: 0 !important;
  }
}

/* Page 3634: original compact bar with the native three-line filter icon.
   No separate confirmation button and no icon substitution when selected.
   Leave the original .filter-toggle::before image in place. */
body.page-themenfelder .ifdf-dde-themen-filter .ifdf-dde-themen-filter-bar {
  display: contents;
}
body.page-themenfelder .ifdf-dde-themen-filter .filter-toggle {
  position: relative;
  left: 1rem;
  margin: 0 auto 1rem;
}
body.page-themenfelder .ifdf-dde-themen-filter .filter-toggle::before {
  content: url('../images/Filter-Btn-filter.png') !important;
  display: inline-block !important;
  width: 32px;
  height: 32px;
  order: 3;
}
/* Restore the theme's original orange check while the popup is expanded.
   The three-line icon remains in the closed state, independent of selection. */
body.page-themenfelder .st-themenfelder-3.popup-active
  .ifdf-dde-themen-filter .filter-toggle::before {
  content: url('../images/filter-btn-check.svg') !important;
}
body.page-themenfelder .ifdf-dde-themen-filter .ifdf-dde-themen-filter-apply {
  display: none !important;
}

/* ============================================================
   Studiengangsfinder / Ort: uniformly spaced dotted search line.
   Replace browser-native dotted border (Safari's endpoint spacing
   varies) with fixed repeat units fitted evenly across the field.
   Page 3857 only, desktop + mobile. Preserve existing typography,
   dimensions, placeholder and focus behavior.
   ============================================================ */
body.page-studiengangsfinder .terms-taxonomy-ort .ort-cities #ortsearch {
  border-bottom: 0 !important;
  background-image: radial-gradient(circle at center, #b300aa 1.5px, transparent 1.6px) !important;
  background-size: 8px 4px !important;
  background-position: left bottom !important;
  background-repeat: round no-repeat !important;
}

/* IFDF Studiengangsfinder search purple pills - V4 integrated */
/* iF DF – Studiengangsfinder autocomplete pills V4.
 * Append to the END of the theme's existing assets/css/custom.css,
 * or enqueue this file AFTER search-redesign.css and custom.css.
 * Scoped to page 3857; leaves other autocomplete menus unchanged.
 */
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-flow: row;
  gap: 0 32px;
  align-content: start;
  align-items: start;
  list-style: none;
  box-sizing: border-box;
  padding: 20px 22px 22px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 20px;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(60vh, 420px);
  z-index: 10003 !important;
}
/* Respect jQuery UI's display:none, otherwise an empty box lingers. */
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions[style*="display: none"],
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions[style*="display:none"],
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions:empty {
  display: none !important;
}
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li.finder-suggestion-heading {
  display: block;
  min-width: 0;
  margin: 0 0 15px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  color: #111;
  font-family: var(--font-mono-bold, monospace);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: normal;
}
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li.ui-menu-item {
  display: block !important;
  min-width: 0;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
  background: none !important;
}
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li.ui-menu-item > .ui-menu-item-wrapper {
  display: inline-block !important;
  box-sizing: border-box !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 3px 9px !important;
  border: 1px solid #e8a3e4 !important;
  border-radius: 999px !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  color: #111 !important;
  font-family: var(--font-body-monitor, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
@media (max-width: 600px) {
  body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions {
    gap: 0 12px;
    padding: 15px 12px !important;
  }
  body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li.ui-menu-item > .ui-menu-item-wrapper {
    font-size: 12px !important;
  }
}


/* ===============================================================
   Studiengangsfinder autocomplete markup compatibility (V5)
   The active jQuery UI implementation can produce plain li > div
   nodes. Style those directly as well as the enriched V5 classes.
   Scope to the actual text-search menu; preserve the original theme.
   =============================================================== */
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li:not(.finder-suggestion-heading) {
  display: block !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
}
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li:not(.finder-suggestion-heading) > div:first-child {
  display: inline-block !important;
  box-sizing: border-box !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 3px 9px !important;
  border: 1px solid #e8a3e4 !important;
  border-radius: 14px !important;
  outline: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font-family: var(--font-body-monitor, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li:not(.finder-suggestion-heading):hover > div:first-child,
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li:not(.finder-suggestion-heading) > div.ui-state-active,
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li:not(.finder-suggestion-heading).ui-state-focus > div:first-child,
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li:not(.finder-suggestion-heading) > div:focus-visible {
  border-color: #b300aa !important;
  color: #111 !important;
}
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions > li.finder-suggestion-heading {
  display: block !important;
  margin: 0 0 15px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}


/* Studiengangsfinder V6: expand the populated group when the other is empty. */
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions.finder-suggestions-single-column {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.page-studiengangsfinder ul.ui-menu.finder-search-suggestions.finder-suggestions-single-column > li {
  grid-column: 1 !important;
}


/* Studiengangsfinder / Themenfeld / Erweiterte Suche – V7
   Category columns begin at an identical top coordinate; all children stay
   inside their original parent group. Scoped to the advanced tab only. */
@media (min-width: 1024px) {
  body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy
  .list-taxonomy-category > .list-taxonomy-main.ifdf-advanced-four-columns {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    align-items: start !important;
    columns: auto !important;
    column-count: auto !important;
    column-fill: auto !important;
  }
}
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy
.list-taxonomy-category > .list-taxonomy-main.ifdf-advanced-four-columns
> .ifdf-advanced-term-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  width: 100% !important;
  gap: 24px !important;
}
body.page-studiengangsfinder #advanced.tab-content .wrap-studiengangs-taxonomy
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare {
  margin: 0 !important;
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy
  .list-taxonomy-category > .list-taxonomy-main.ifdf-advanced-four-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    columns: auto !important;
  }
}
@media (max-width: 767px) {
  body.page-studiengangsfinder #advanced.tab-content.active .wrap-studiengangs-taxonomy
  .list-taxonomy-category > .list-taxonomy-main.ifdf-advanced-four-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 24px !important;
    columns: auto !important;
  }
}

/* ===============================================================
   Studiengangsfinder V8 – Advanced Themenfeld groups (Figma layout)
   V7 introduced .ifdf-advanced-term-column wrappers. Earlier styles
   used direct-child selectors and no longer applied to the group chips.
   Keep the existing JS/taxonomy grouping and filter events untouched.
   =============================================================== */
@media (min-width: 1024px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .list-taxonomy-category > .list-taxonomy-main.ifdf-advanced-four-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 30px !important;
    align-items: start !important;
  }
}
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 24px !important;
  min-width: 0 !important;
}
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  position: static !important;
}
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .icheckbox_square-blue.terms-category {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  align-self: flex-start !important;
  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 24px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 2px 10px !important;
  border: 1px solid rgba(179, 0, 170, .30) !important;
  border-radius: 999px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .icheckbox_square-blue.terms-category
> span:not(.svg):not(.svg-bold) {
  display: inline !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}
/* The FIRST term in each original group is the parent.  Preserve the
   PHP-generated .parent marker; do not infer hierarchy from appearance. */
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .terms-category:first-child > span.parent,
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .terms-category > span.parent {
  font-family: var(--font-body-semibold, var(--font-body-monitor, inherit)) !important;
  line-height: 1.35 !important;
}
/* Reinstate visual feedback on parent and child chips without overriding
   the checkboxes or their delegated click handling. */
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .terms-category:hover,
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .terms-category:focus-within {
  background-color: #f4e1f3 !important;
  border-color: #bd00b4 !important;
}
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .terms-category.active,
body.page-studiengangsfinder #advanced.tab-content
.list-taxonomy-main.ifdf-advanced-four-columns > .ifdf-advanced-term-column
> .list-taxonomy-icheckboxsquare > .terms-category:has(> input.woof_checkbox_term:checked) {
  background-color: #e5a4e2 !important;
  border-color: #bd00b4 !important;
}

/* =============================================================
   Studiengangsfinder V10 – full-width popup ONLY in Erweiterte Suche.
   The parent filter item is narrow; its 100% width is NOT the
   width of the main filter area. Leave Einfache Suche untouched.
   ============================================================= */
@media (min-width: 850px) {
  body.page-studiengangsfinder .wrap-partner-taxonomy
  .list-taxonomy.list-themenfeld:has(> #advanced.tab-content.active) {
    box-sizing: border-box !important;
    width: calc(100vw - 64px) !important;
    min-width: 0 !important;
    max-width: 1425px !important;
    left: 0 !important;
    right: auto !important;
  }
}

/* V17 – Restore the 9px circular term marker in advanced Themenfeld.
   Replaces the old pseudo-element suppression (which also removed the dot).
   Only paints the label pseudo-element: no layout, JS, or scroll changes. */
body.page-studiengangsfinder #advanced.tab-content
.wrap-studiengangs-taxonomy .icheckbox_square-blue.terms-category
> span:not(.svg):not(.svg-bold)::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px !important;
  box-sizing: border-box !important;
  width: 9px !important;
  min-width: 9px !important;
  height: 9px !important;
  min-height: 9px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(179, 0, 170, 0.30) !important;
  border-radius: 50% !important;
  background: transparent !important;
  vertical-align: middle !important;
}
body.page-studiengangsfinder #advanced.tab-content
.wrap-studiengangs-taxonomy .icheckbox_square-blue.terms-category.active
> span:not(.svg):not(.svg-bold)::before,
body.page-studiengangsfinder #advanced.tab-content
.wrap-studiengangs-taxonomy .icheckbox_square-blue.terms-category:has(> input.woof_checkbox_term:checked)
> span:not(.svg):not(.svg-bold)::before {
  background: #b300aa !important;
  border-color: #b300aa !important;
}


/* ============================================================
   Studiengangsfinder V12 / Erweiterte Suche / Themenfeld
   Scroll ONLY the four-column term list. Keep reset visible
   below it as a sibling, like the Orte filter.
   Scoped exclusively to page 3857 and active advanced tab.
   ============================================================ */
body.page-studiengangsfinder #advanced.tab-content.active > .wrap-studiengangs-taxonomy {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 4px 0 0 !important;
}

body.page-studiengangsfinder #advanced.tab-content.active
.wrap-studiengangs-taxonomy > .list-taxonomy-category {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

body.page-studiengangsfinder #advanced.tab-content.active
.wrap-studiengangs-taxonomy .list-taxonomy-category
> .list-taxonomy-main.ifdf-advanced-four-columns {
  box-sizing: border-box !important;
  /* 100vh fallback for Safari versions with unreliable dvh + nested Grid sizing. */
  height: clamp(200px, calc(100vh - 330px), 620px) !important;
  height: clamp(200px, calc(100dvh - 330px), 620px) !important;
  max-height: 620px !important;
  min-height: 0 !important;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d5b7d3 transparent;
  padding: 4px 12px 8px 0 !important;
  align-content: start !important;
  -webkit-overflow-scrolling: touch;
}

body.page-studiengangsfinder #advanced.tab-content.active
.wrap-studiengangs-taxonomy .list-taxonomy-category
> .list-taxonomy-main.ifdf-advanced-four-columns::-webkit-scrollbar {
  width: 6px;
}
body.page-studiengangsfinder #advanced.tab-content.active
.wrap-studiengangs-taxonomy .list-taxonomy-category
> .list-taxonomy-main.ifdf-advanced-four-columns::-webkit-scrollbar-track {
  background: transparent;
}
body.page-studiengangsfinder #advanced.tab-content.active
.wrap-studiengangs-taxonomy .list-taxonomy-category
> .list-taxonomy-main.ifdf-advanced-four-columns::-webkit-scrollbar-thumb {
  background-color: #d5b7d3;
  border-radius: 999px;
}
body.page-studiengangsfinder #advanced.tab-content.active
.wrap-studiengangs-taxonomy .list-taxonomy-category
> .list-taxonomy-main.ifdf-advanced-four-columns::-webkit-scrollbar-thumb:hover {
  background-color: #b300aa;
}

/* Reset is a sibling of .list-taxonomy-main, never inside the scrollport. */
body.page-studiengangsfinder #advanced.tab-content.active
.wrap-studiengangs-taxonomy .list-taxonomy-category
> .zurucksetzten-box {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  margin: 12px 0 0 !important;
  padding: 0 12px 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .wrap-studiengangs-taxonomy .list-taxonomy-category
  > .list-taxonomy-main.ifdf-advanced-four-columns {
    height: max(180px, calc(100vh - 260px)) !important;
    height: max(180px, calc(100dvh - 260px)) !important;
    max-height: 620px !important;
  }
}

/* V13: Safari should keep its advanced term scrollport independently
   of the fixed-position reset row. macOS overlay scrollbar visibility
   remains controlled by System Settings > Appearance. */
@media (min-width: 768px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .wrap-studiengangs-taxonomy .list-taxonomy-category
  > .list-taxonomy-main.ifdf-advanced-four-columns {
    overscroll-behavior: contain;
  }
}

/* V14: Safari – independent scrollport around 4-column grid. */
body.page-studiengangsfinder #advanced.tab-content.active .list-taxonomy-category > .ifdf-advanced-scroll-viewport {
  display: block !important; width: 100% !important; min-width: 0 !important;
  box-sizing: border-box !important; position: relative !important;
  height: clamp(200px, calc(100vh - 330px), 620px) !important;
  height: clamp(200px, calc(100dvh - 330px), 620px) !important;
  max-height: 620px !important; overflow-x: hidden !important; overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  scrollbar-color: #d5b7d3 transparent; padding: 4px 12px 8px 0 !important;
}
body.page-studiengangsfinder #advanced.tab-content.active .ifdf-advanced-scroll-viewport > .list-taxonomy-main.ifdf-advanced-four-columns {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 30px !important; align-items: start !important; align-content: start !important;
  box-sizing: border-box !important; width: 100% !important;
  height: auto !important; max-height: none !important; min-height: 0 !important;
  overflow: visible !important; padding: 0 !important; margin: 0 !important;
}
body.page-studiengangsfinder #advanced.tab-content.active .ifdf-advanced-scroll-viewport::-webkit-scrollbar { width: 6px; }
body.page-studiengangsfinder #advanced.tab-content.active .ifdf-advanced-scroll-viewport::-webkit-scrollbar-thumb { background-color: #d5b7d3; border-radius: 999px; }
body.page-studiengangsfinder #advanced.tab-content.active .ifdf-advanced-scroll-viewport::-webkit-scrollbar-track { background: transparent; }
@media (min-width: 768px) and (max-width: 1023px) {
 body.page-studiengangsfinder #advanced.tab-content.active .ifdf-advanced-scroll-viewport > .list-taxonomy-main.ifdf-advanced-four-columns { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
 body.page-studiengangsfinder #advanced.tab-content.active .list-taxonomy-category > .ifdf-advanced-scroll-viewport { height: max(180px, calc(100dvh - 260px)) !important; max-height: 620px !important; }
 body.page-studiengangsfinder #advanced.tab-content.active .ifdf-advanced-scroll-viewport > .list-taxonomy-main.ifdf-advanced-four-columns { grid-template-columns: minmax(0, 1fr) !important; row-gap: 24px !important; }
}
/* Hover: border only; selected chips keep their selected background. */
body.page-studiengangsfinder #advanced.tab-content .ifdf-advanced-four-columns .ifdf-advanced-term-column .terms-category:hover:not(.active):not(:has(> input.woof_checkbox_term:checked)),
body.page-studiengangsfinder #advanced.tab-content .ifdf-advanced-four-columns .ifdf-advanced-term-column .terms-category:focus-within:not(.active):not(:has(> input.woof_checkbox_term:checked)) {
 background: transparent !important; background-color: transparent !important; border-color: #bd00b4 !important;
}
body.page-studiengangsfinder #advanced.tab-content .ifdf-advanced-four-columns .ifdf-advanced-term-column .terms-category.active:hover,
body.page-studiengangsfinder #advanced.tab-content .ifdf-advanced-four-columns .ifdf-advanced-term-column .terms-category:has(> input.woof_checkbox_term:checked):hover {
 background-color: #e5a4e2 !important; border-color: #bd00b4 !important;
}

/* Studiengangsfinder – advanced Themenfeld: responsive Figma-style unequal columns.
   Keep the existing Safari scroll viewport, reset placement and selection behavior.
   The third (Mediendesign) column has more room for long labels; gaps stay equal. */
@media (min-width: 1024px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .ifdf-advanced-scroll-viewport > .list-taxonomy-main.ifdf-advanced-four-columns,
  body.page-studiengangsfinder #advanced.tab-content.active
  .wrap-studiengangs-taxonomy .list-taxonomy-category
  > .list-taxonomy-main.ifdf-advanced-four-columns {
    grid-template-columns:
      minmax(0, 0.95fr)
      minmax(0, 1.05fr)
      minmax(0, 1.3fr)
      minmax(0, 1fr) !important;
    column-gap: 25px !important;
  }
}

/* V15 – Restore the independent scroll area for advanced Themenfeld.
   The former 620px max-size showed all terms without overflow on tall
   desktop windows. Constrain only the term viewport; leave the reset
   button outside and preserve the existing unequal grid columns. */
@media (min-width: 1024px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .list-taxonomy-category > .ifdf-advanced-scroll-viewport {
    height: min(320px, calc(100vh - 280px)) !important;
    height: min(320px, calc(100dvh - 280px)) !important;
    min-height: 180px !important;
    max-height: 320px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .list-taxonomy-category > .ifdf-advanced-scroll-viewport {
    height: min(300px, calc(100dvh - 270px)) !important;
    min-height: 180px !important;
    max-height: 300px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
  }
}
@media (max-width: 767px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .list-taxonomy-category > .ifdf-advanced-scroll-viewport {
    height: min(300px, calc(100dvh - 230px)) !important;
    min-height: 170px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

/* V16 – advanced only: reliable scrollport and Safari column baseline.
   Group order is normalized by JS before the scroll wrapper mounts. */
body.page-studiengangsfinder #advanced.tab-content.active
.list-taxonomy-category > .ifdf-advanced-scroll-viewport {
  display: block !important;
  width: 100% !important;
  height: 320px !important;
  min-height: 0 !important;
  max-height: 320px !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  overscroll-behavior-y: contain;
  padding: 4px 12px 8px 0 !important;
}
body.page-studiengangsfinder #advanced.tab-content.active
.ifdf-advanced-scroll-viewport > .list-taxonomy-main.ifdf-advanced-four-columns {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  align-items: start !important;
  align-content: start !important;
  margin-top: 0 !important;
}
body.page-studiengangsfinder #advanced.tab-content.active
.ifdf-advanced-scroll-viewport > .list-taxonomy-main.ifdf-advanced-four-columns
> .ifdf-advanced-term-column {
  align-self: start !important;
  justify-content: flex-start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.page-studiengangsfinder #advanced.tab-content.active
.ifdf-advanced-term-column > .list-taxonomy-icheckboxsquare:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
@media (max-width: 767px) {
  body.page-studiengangsfinder #advanced.tab-content.active
  .list-taxonomy-category > .ifdf-advanced-scroll-viewport {
    height: min(300px, 55vh) !important;
    max-height: 300px !important;
  }
}


/* V18 – Advanced Themenfeld popup: balanced viewport margins and
   equal internal side spacing; retain V17 term dots and scroll logic.
   Desktop only: Einfache Suche and other filter dropdowns unchanged. */
@media (min-width: 850px) {
  body.page-studiengangsfinder .wrap-partner-taxonomy
  .list-taxonomy.list-themenfeld:has(> #advanced.tab-content.active) {
    box-sizing: border-box !important;
    width: min(1355px, calc(100vw - 64px)) !important;
    max-width: 1355px !important;
    min-width: 0 !important;
    /* The filter begins about 3vw inside the viewport; account for
       that anchor before centering the absolutely positioned popup. */
    left: calc(50vw - 3vw) !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}


/* V19 – Mobile Zusammenfassung: native accessible "Inhalt" dropdown.
   Desktop sticky TOC unchanged. The select is inserted immediately after
   title/hashtags in the central column, not in the sidebar. */
.ifdf-dde-mobile-toc { display: none; }
@media screen and (max-width: 799px) {
  body.single-dde_zusammenfassung .cl-sticky .ifdf-dde-auto-toc {
    display: none !important;
  }
  body.single-dde_zusammenfassung .ifdf-dde-mobile-toc {
    display: block !important;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 32px 0 64px;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
  }
  body.single-dde_zusammenfassung .ifdf-dde-mobile-toc:after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }
  body.single-dde_zusammenfassung .ifdf-dde-mobile-toc select {
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #111 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    padding: 10px 30px 10px 0;
    margin: 0 !important;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    text-overflow: ellipsis;
  }
  body.single-dde_zusammenfassung .ifdf-dde-mobile-toc select:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
  }
}


/* Home (page 7), mobile only: Figma spacing for the network section.
   100px after publications; 13px between heading and description. */
@media screen and (max-width: 799px) {
  body.home.page-home .section.mitwirkende {
    margin-top: 36px;
  }
  body.home.page-home .section.mitwirkende .title-box-custom > h2 + p {
    margin-top: 0;
  }
}

/* Mobile menu only — Figma 4080:8144, 4193:10528 and subnav frames. */
.ifdf-mobile-nav { display: none; }
@media screen and (max-width: 799px) {
  .mfp-wrap.off-canvas:has(#main-menu.ifdf-mobile-menu) {
    position: fixed !important; inset: 0 !important; height: 100% !important;
    background: #fbfbfb;
  }
  .mfp-wrap.off-canvas:has(#main-menu.ifdf-mobile-menu) .mfp-container { padding: 0 !important; }
  .mfp-wrap.off-canvas:has(#main-menu.ifdf-mobile-menu) .mfp-content {
    width: 100% !important; max-width: none !important; height: 100% !important;
    background: #fbfbfb; box-shadow: none; transform: none !important;
  }
  #main-menu.ifdf-mobile-menu > .sidebar-menu { display: none !important; }
  #main-menu.ifdf-mobile-menu { height: 100%; padding: 0 !important; }
  #main-menu .ifdf-mobile-nav {
    display: flex; flex-direction: column; box-sizing: border-box;
    width: 100%; height: 100%; min-height: 100%; overflow-y: auto;
    padding: 98px 20px 30px; color: #111; background: #fbfbfb;
  }
  #main-menu .ifdf-mobile-nav [hidden] { display: none !important; }
  #main-menu .ifdf-menu-main { display: flex; flex-direction: column; gap: 25px; }
  #main-menu .ifdf-menu-primary {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 28px; height: auto; padding: 0; margin: 0;
    border: 0; border-radius: 0; background: none; box-shadow: none;
    color: #111; font-family: var(--font-body-medium), sans-serif;
    font-size: 24px; font-weight: 500; line-height: 28px;
    letter-spacing: 0; text-transform: none; text-align: left;
  }
  #main-menu .ifdf-menu-next::after, #main-menu .ifdf-menu-back::after {
    content: ''; display: block; width: 6px; height: 6px;
    border-right: 1px solid #111; border-top: 1px solid #111;
    transform: rotate(45deg); margin-right: 5px; flex-shrink: 0;
  }
  #main-menu .ifdf-menu-primary:last-child {
    margin-top: 55px; position: relative;
  }
  #main-menu .ifdf-menu-primary:last-child::before {
    content: ''; position: absolute; top: -40px; left: 0; right: 0;
    border-top: 1px solid #111;
  }
  .mfp-wrap.off-canvas:has(#main-menu.ifdf-mobile-menu) > .mfp-close {
    position: absolute; top: 20px !important; right: 20px !important; left: auto !important;
    width: 24px; height: 34px; min-height: 0; padding: 0 !important; margin: 0;
    color: #111; opacity: 1; line-height: 1; mix-blend-mode: normal;
  }
  .mfp-wrap.off-canvas:has(#main-menu.ifdf-mobile-menu) > .mfp-close svg {
    width: 24px; height: 24px; stroke-width: 1;
  }
  #main-menu .ifdf-menu-back {
    position: absolute; top: 20px; left: 20px; width: 24px; height: 34px;
    min-height: 0; padding: 0; margin: 0; border: 0; background: none; box-shadow: none;
    display: flex; align-items: center; justify-content: flex-start;
  }
  #main-menu .ifdf-menu-back::after { transform: rotate(-135deg); margin-left: 4px; }
  #main-menu .ifdf-menu-sub { display: flex; flex-direction: column; gap: 50px; }
  #main-menu .ifdf-menu-group { display: flex; flex-direction: column; gap: 10px; }
  #main-menu .ifdf-menu-label {
    margin: 0 0 5px; padding: 0; color: #909090;
    font-family: var(--font-mono), monospace; font-size: 13px;
    font-weight: 400; line-height: 18px; letter-spacing: -.52px;
  }
  #main-menu .ifdf-menu-group a, #main-menu .ifdf-menu-unlinked {
    display: block; padding: 0; margin: 0; color: #111;
    font-family: var(--font-body-monitor), sans-serif; font-size: 18px;
    font-weight: 375; line-height: 25px; letter-spacing: 0; text-transform: none;
  }
  #main-menu .ifdf-menu-group .ifdf-menu-resource { white-space: pre-line; }
  #main-menu .ifdf-menu-search {
    margin: auto 0 0; padding-top: 44px; width: 100%; flex-shrink: 0;
  }
  #main-menu .is-submenu .ifdf-menu-search { display: none; }
  #main-menu .ifdf-menu-search .flex-row { border-bottom: 1px dotted #111; align-items: center; }
  #main-menu .ifdf-menu-search input {
    width: 100%; height: 30px; min-height: 0; padding: 0 0 5px; margin: 0;
    border: 0 !important; background: transparent; box-shadow: none;
    color: #111; font-family: var(--font-body-monitor), sans-serif;
    font-size: 16px; font-weight: 375; line-height: 23px;
  }
  #main-menu .ifdf-menu-search input::placeholder { color: #909090; opacity: 1; }
  #main-menu .ifdf-menu-search button {
    display: block; width: 20px; min-width: 0; height: 30px; min-height: 0;
    margin: 0; padding: 0 0 5px; border: 0; border-radius: 0;
    background: none; box-shadow: none; color: #111; font-size: 20px; line-height: 23px;
  }
  #main-menu .ifdf-mobile-nav :is(a,button,input):focus-visible { outline: 2px solid #111; outline-offset: 4px; }
}


/* Task 1220572205478860: one word per line in the mobile hero, page 3533 only. */
@media screen and (max-width: 799px) {
  body.page-design-lehren .design_lehren_hero h1 {
    width: min-content;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: normal;
  }
}


/* Design lehren mobile spacing, verified Figma 4649:9477 and 4649:9483. */
@media screen and (max-width: 799px) {
 body.page-design-lehren #main .design_lehren_hero { padding-top: 92px !important; padding-bottom: 44px !important; }
 body.page-design-lehren .design_lehren_hero > .section-content > .row:not(.row-small) { margin-bottom: 74px; }
 body.page-design-lehren .design_lehren_hero > .section-content > .row:not(.row-small) > .col { padding-bottom: 0; }
 body.page-design-lehren .design_lehren_hero > .section-content > .row:not(.row-small) .gap-element { display: none !important; }
 body.page-design-lehren .design_lehren_hero > .section-content > .row:not(.row-small) .text > p { margin-bottom: 0; }
 body.page-design-lehren .design_lehren_hero h1 { margin-bottom: 60px; }
 body.page-design-lehren .design_lehren_hero .row-small { padding: 0 20px; gap: 23px; }
 body.page-design-lehren .design_lehren_hero .row-small > .col { padding: 0 !important; }
 body.page-design-lehren .design_lehren_hero .row-small > .col > .col-inner { padding: 25px 25px 30px; }
 body.page-design-lehren .design_lehren_hero .row-small::before, body.page-design-lehren .design_lehren_hero .row-small::after { display: none; }
}


/* Shared arrow buttons: Figma download labels use Mono Regular; mobile labels are 14px. */
body .btn-arrow a.button.primary.btn-download {
  font-family: var(--font-mono), monospace;
  font-weight: 400;
}
@media screen and (max-width: 799px) {
  body .btn-arrow a.button.primary {
    font-size: 14px;
    letter-spacing: -0.04em;
  }
}


/* Design lehren mobile: 44px section gap + 60px footer padding per Figma. */
@media screen and (max-width: 799px) {
  body.page-design-lehren #footer .newsletter-ft {
    padding-top: 60px !important;
  }
}


/* Themenfelder mobile: equal filter tiles and Figma Impuls rail (290px cards, 25px gap). */
@media screen and (max-width: 799px) {
  body.page-themenfelder .ifdf-dde-themen-filter .filter-list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }
  body.page-themenfelder .ifdf-dde-themen-filter .filter-list li {
    min-width: 0;
  }
  body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice {
    min-width: 0;
    height: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  body.page-themenfelder .ifdf-dde-themen-slides .themenfelder-posts {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: 0;
  }
  body.page-themenfelder .ifdf-dde-themen-slides .themenfelder-posts .item {
    width: 290px !important;
    min-width: 0;
    max-width: calc(100vw - 85px);
    padding: 0 !important;
    margin-right: 25px !important;
  }
}


/* Themenfelder mobile layout — Figma M (bis 799 px)/PAGE 3566:12908.
   Preserve all editorial content and limit changes to this page below 800px. */
@media screen and (max-width: 799px) {
  body.page-themenfelder #main .st-themenfelder { padding: 58px 0 0 !important; }
  body.page-themenfelder .st-themenfelder .col { padding-bottom: 0; }
  body.page-themenfelder .st-themenfelder h1 { font-size: 47px; line-height: 58px; letter-spacing: -.47px; margin-bottom: 60px; max-width: 335px; text-wrap: balance; }
  body.page-themenfelder .st-themenfelder .col-inner > p { font-size: 16px; line-height: 24px; margin: 0 !important; }
  body.page-themenfelder #main .st-themenfelder-2 { padding: 100px 0 63px !important; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row-sticky { padding-top: 32px; margin-bottom: 100px; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row-sticky > .col { padding-bottom: 0; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row-sticky .ifdf-dde-themen-filter { height: 56px; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row:nth-child(2) { width: calc(100% - 40px); margin: 0 20px 40px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 2px; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row:nth-child(2) > .col { flex: 0 0 auto; max-width: 100%; padding: 0; }
  body.page-themenfelder .st-themenfelder-2 .txt-first, body.page-themenfelder .st-themenfelder-2 .txt-first p { text-align: left; margin: 0; line-height: 24px; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .gap-element { display: none !important; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row:last-child { padding: 0; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row:last-child > .col { padding-bottom: 0; }
  body.page-themenfelder .ifdf-dde-themen-overview-row { margin-top: 60px; padding-top: 60px; }
  body.page-themenfelder .ifdf-dde-themen-overview-row:first-child, body.page-themenfelder .ifdf-dde-themen-overview-row.ifdf-dde-themen-first-visible { margin-top: 0; padding-top: 0; }
  body.page-themenfelder .ifdf-dde-themen-overview-row > .row { width: 100%; margin: 0; row-gap: 40px; }
  body.page-themenfelder .ifdf-dde-themen-overview-row > .row > .col { padding: 0; }
  body.page-themenfelder .ifdf-dde-themen-overview-row > .row > .col:last-child:not(:has(*)) { display: none; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row:nth-child(2)::before,
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row:nth-child(2)::after { display: none; }
  body.page-themenfelder .ifdf-dde-themen-overview-row > .row > .col:last-child:has(> .ifdf-dde-themen-empty) { display: none; }
  body.page-themenfelder .ifdf-dde-themen-overview-row h2 { font-size: 30px; line-height: 40px; letter-spacing: -.3px; }
  body.page-themenfelder .ifdf-dde-themen-overview-row .hashtags { margin-top: 8px; font-size: 13px; line-height: 21px; }
  body.page-themenfelder .ifdf-dde-themen-overview-row .desc { margin: 30px 0 0; }
  body.page-themenfelder .ifdf-dde-themen-overview-row .desc p { font-size: 13px; line-height: 18px; margin: 0; }
  body.page-themenfelder .ifdf-dde-themen-overview-row .buttons-gr { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 30px; }
  body.page-themenfelder .ifdf-dde-themen-overview-row .buttons-gr a.button { margin: 0; height: 31px; }
  body.page-themenfelder .ifdf-dde-themen-slides .themenfelder-posts { width: calc(100% + 20px) !important; max-width: calc(100% + 20px) !important; margin-bottom: 62px; }
  body.page-themenfelder .ifdf-dde-themen-slides .themenfelder-posts .inner { border: 0; transform: none !important; }
  body.page-themenfelder .ifdf-dde-themen-slides .content-item { height: 160px; min-height: 160px; padding: 20px; }
  body.page-themenfelder .ifdf-dde-themen-slides h3 { height: auto; min-height: 0; font-family: SuisseScreen-Semibold; font-size: 19px; line-height: 25px; letter-spacing: -.19px; margin: 0 0 16px; }
  body.page-themenfelder .ifdf-dde-themen-slides .text-or, body.page-themenfelder .ifdf-dde-themen-slides .text-or > a { font-size: 14px; line-height: 21px; color: #ff6e2f !important; }
  body.page-themenfelder .ifdf-dde-themen-slides .thumb, body.page-themenfelder .ifdf-dde-themen-slides .thumb img { height: 300px; width: 100%; object-fit: cover; }
  body.page-themenfelder .ifdf-dde-themen-slides .flickity-prev-next-button { width: 32px !important; height: 32px !important; min-height: 32px !important; max-height: 32px !important; top: auto !important; bottom: -62px !important; transform: none !important; right: auto !important; }
  body.page-themenfelder .ifdf-dde-themen-slides .flickity-prev-next-button.previous { left: calc((100% - 20px) / 2 - 37px) !important; }
  body.page-themenfelder .ifdf-dde-themen-slides .flickity-prev-next-button.next { left: calc((100% - 20px) / 2 + 5px) !important; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row-sticky { position: sticky; top: 0; z-index: 20; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row-sticky .ifdf-dde-themen-filter-bar { display: flex !important; justify-content: center; position: relative !important; left: auto; top: auto !important; bottom: auto; transform: none !important; width: 170px; margin: 0 auto; z-index: 20; }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row-sticky .filter-toggle { position: relative !important; left: 0 !important; top: auto !important; width: 170px; height: 54px; margin: 0; }
  body.page-themenfelder #footer .newsletter-ft { padding: 60px 0 30px !important; }
  body.page-themenfelder #footer .footer-bottom-row { padding-bottom: 30px; }
  body.page-themenfelder #footer .footer-bottom-row > .col:first-child { margin-bottom: 60px; }

  body.page-themenfelder #footer .footer-bottom-row { padding-bottom: 0; }
  body.page-themenfelder #footer .footer-bottom-row > .col:first-child > .col-inner > .text p { line-height: 16px !important; margin: 0 0 30px !important; }
  body.page-themenfelder #footer form .forminator-row { margin: 0 !important; }
  body.page-themenfelder #footer form .forminator-row:has(.forminator-field-email) { width: 300px; max-width: 100%; margin-bottom: 15px !important; }
  body.page-themenfelder #footer input[type=email] { display: block !important; height: 22px !important; min-height: 0; padding: 0 20px 6px 0 !important; font: 11px/16px SuisseScreen-Monitor !important; }
  body.page-themenfelder #footer .forminator-button-submit { top: 0; right: max(0px, calc(100% - 300px)); width: 14px; min-width: 14px; height: 16px; padding: 0; line-height: 16px; }
  body.page-themenfelder #footer .forminator-checkbox__wrapper { display: flex; align-items: flex-start; gap: 6px; }
  body.page-themenfelder #footer .forminator-consent { margin: 0 !important; width: 12px; min-width: 12px; }
  body.page-themenfelder #footer .forminator-checkbox-box { width: 12px !important; height: 12px !important; }
  body.page-themenfelder #footer .forminator-consent__label, body.page-themenfelder #footer .forminator-consent__label p { font-size: 11px !important; line-height: 16px !important; margin: 0 !important; }
  body.page-themenfelder #footer .col-social { flex: 0 0 calc((100% - 40px) * .7); max-width: calc((100% - 40px) * .7); }
  body.page-themenfelder #footer .footer-bottom-row > .col:last-child { flex: 1; max-width: none; }
  body.page-themenfelder #footer .col-social > .col-inner { display: flex; flex-direction: column; gap: 22px; }
  body.page-themenfelder #footer .col-social .text:not(.copyright) > p { line-height: 16px !important; margin: 0 0 20px !important; }
  body.page-themenfelder #footer .col-social ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; row-gap: 9px; margin: 0; }
  body.page-themenfelder #footer .col-social li { line-height: 16px !important; margin: 0; }
  body.page-themenfelder #footer .copyright { position: static; width: max-content; }
  body.page-themenfelder #footer .copyright p { line-height: 16px !important; margin: 0 !important; }
  body.page-themenfelder #footer .ux-menu { gap: 0; }
  body.page-themenfelder #footer .ux-menu-title { line-height: 16px; min-height: 0; padding: 0; margin-bottom: 19px; }
  body.page-themenfelder #footer .ux-menu-link, body.page-themenfelder #footer .ux-menu-link__link { min-height: 16px; line-height: 16px; padding: 0; margin: 0; }
}


/* Themenfelder Impuls images: preserve the complete artwork inside the card. */
body.page-themenfelder .ifdf-dde-themen-slides .thumb {
  background: #fff;
}
body.page-themenfelder .ifdf-dde-themen-slides .thumb img {
  object-fit: cover !important;
  object-position: center;
}
/* Keep diagrams and the card-set artwork complete; photos fill the frame. */
body.page-themenfelder .ifdf-dde-themen-slides .thumb img[src$="/1.png"],
body.page-themenfelder .ifdf-dde-themen-slides .thumb img[src$="/img.png"] {
  object-fit: contain !important;
}


/* Align Themenfeld icons independently of the number of label lines. */
@media screen and (max-width: 799px) {
  body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice {
    justify-content: flex-start;
  }
}


/* Shared Zusammenfassung post-type layout — Figma desktop/mobile. */
body.single-dde_zusammenfassung .ld-hero { padding: 0 !important; }
body.single-dde_zusammenfassung .ld-hero > .section-content { max-width: 1770px; margin: 0 auto; padding: 0 40px; }
body.single-dde_zusammenfassung .ld-hero > .section-content > .row { display: grid; grid-template-columns: 195px minmax(0,1fr); width: 100%; margin: 0; }
body.single-dde_zusammenfassung .cl-sticky { width: auto !important; max-width: none !important; padding: 40px 0 60px !important; align-self: start; position: sticky; top: 0; }
body.single-dde_zusammenfassung #main .cl-sticky .img-back { width: 32px !important; height: 32px; margin: 0 0 60px !important; }
body.single-dde_zusammenfassung #main .cl-sticky .img-back img { width: 32px; height: 32px; }
body.single-dde_zusammenfassung .cl-sticky .ifdf-dde-auto-toc { list-style: none; padding: 0; margin: 0; }
body.single-dde_zusammenfassung .cl-sticky .ifdf-dde-auto-toc li { margin: 0 0 15px; }
body.single-dde_zusammenfassung .cl-sticky .ifdf-dde-auto-toc a { font: 13px/18px SuisseScreen-Monitor; }
body.single-dde_zusammenfassung .cl-sticky .ifdf-dde-auto-toc a.active { font-family: SuisseScreen-Medium; color: #ff6e2f; }
body.single-dde_zusammenfassung .ld-hero .cl_person { width: auto !important; max-width: none !important; min-width: 0; margin: 0 !important; padding: 70px 40px 60px !important; }
body.single-dde_zusammenfassung .cl_person > .col-inner { width: 100%; }
body.single-dde_zusammenfassung .cl_person > .col-inner > .row.m-auto:not(.row-mehr):not(.row-prak) { width: 100%; max-width: 750px !important; margin: 0 auto !important; }
body.single-dde_zusammenfassung .cl_person > .col-inner > .row.m-auto > .col { padding: 0 !important; }
body.single-dde_zusammenfassung .cl_person .custom-h1 { padding-left: 80px; }
body.single-dde_zusammenfassung .cl_person .custom-h1 h1 { font: 70px/80px SuisseScreen-Medium; letter-spacing: -.7px; margin: 0 !important; width: 100%; max-width: none !important; }
body.single-dde_zusammenfassung .cl_person .text-hastag { padding-left: 80px; margin: 5px 0 80px; font: 13px/22px SuisseIntl-Mono; color: #ff6e2f; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content { width: 100%; margin: 0; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content h2,
body.single-dde_zusammenfassung .row-mehr h2,
body.single-dde_zusammenfassung .row-prak h2 { font: 17px/24px SuisseIntl-Mono-Bold; letter-spacing: -.765px; text-transform: uppercase; color: #ff6e2f; margin: 0 0 25px !important; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content p { font: 16px/23px SuisseScreen-Monitor; margin-top: 0; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-medium { padding: 0 80px !important; margin: 0 0 80px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-medium > :last-child { margin-bottom: 0 !important; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > p,
body.single-dde_zusammenfassung .ifdf-dde-blue-content > h2 { padding: 0 80px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > p { margin: 0 0 25px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > p:has(+ h2),
body.single-dde_zusammenfassung .ifdf-dde-blue-content > p:has(+ .txt-quote) { margin-bottom: 80px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > :last-child { margin-bottom: 0; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content .img_full { width: 100% !important; margin: 0 0 15px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content .img_full img { width: 100%; height: auto; object-fit: contain; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-caption { padding: 0 !important; margin: 0 0 80px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-caption p { font: 13px/21px SuisseScreen-Monitor; margin: 0 !important; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content .txt-quote { width: 100%; margin: 0 0 80px !important; padding: 40px 0; }
body.single-dde_zusammenfassung .txt-quote blockquote { padding: 0; margin: 0; border: 0; }
body.single-dde_zusammenfassung .txt-quote blockquote p { font: 700 68px/78px 'Suisse Works', serif; color: #ff6e2f; margin: 0 !important; }
body.single-dde_zusammenfassung .txt-quote > p { margin: 35px 0 0 !important; font: 11px/16px SuisseIntl-Mono; color: #ff6e2f; text-transform: uppercase; }
body.single-dde_zusammenfassung .cl_person .cl-btn { padding: 80px 0 0 !important; }
body.single-dde_zusammenfassung .cl_person .cl-btn > .col-inner { padding: 0 !important; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
body.single-dde_zusammenfassung .cl_person .cl-btn a.button { margin: 0; }
body.single-dde_zusammenfassung .cl_person .row-mehr { width: 100%; max-width: none !important; margin: 80px 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
body.single-dde_zusammenfassung .row-mehr::before, body.single-dde_zusammenfassung .row-mehr::after { display: none; }
body.single-dde_zusammenfassung .row-mehr > .col { width: 100%; max-width: 100%; padding: 0 !important; }
body.single-dde_zusammenfassung .row-mehr > .col:first-child { grid-column: 1 / -1; margin-bottom: 10px; }
body.single-dde_zusammenfassung .row-mehr h2 { margin: 0 !important; }
body.single-dde_zusammenfassung .row-mehr .ifdf-dde-resource-card { height: 100%; min-height: 140px; padding: 15px; margin: 0; border: 1px solid rgba(255,110,47,.3); }
body.single-dde_zusammenfassung .ifdf-dde-resource-card p { font: 13px/18px SuisseScreen-Monitor; margin: 0; }
body.single-dde_zusammenfassung .ifdf-dde-resource-card strong { font-family: SuisseScreen-Semibold; font-weight: normal; }
body.single-dde_zusammenfassung .cl_person .row-prak { width: 100%; max-width: none !important; margin: 0 !important; padding: 0; }
body.single-dde_zusammenfassung .row-prak > .col,
body.single-dde_zusammenfassung .row-prak .themenfelder-row > .row > .col { padding: 0 !important; }
body.single-dde_zusammenfassung .row-prak .themenfelder-row > .row { width: 100%; margin: 0; }
body.single-dde_zusammenfassung .row-prak .themenfelder-posts { margin-left: 0; margin-bottom: 62px; max-width: none; }
body.single-dde_zusammenfassung .row-prak .themenfelder-posts .item { width: 350px !important; max-width: 350px; min-width: 0; padding: 0 !important; margin-right: 25px !important; }
body.single-dde_zusammenfassung .row-prak .inner { border: 0; transform: none !important; }
body.single-dde_zusammenfassung .row-prak .content-item { height: 170px; padding: 25px; }
body.single-dde_zusammenfassung .row-prak h3 { font: 19px/25px SuisseScreen-Semibold; height: auto; margin: 0 0 16px; }
body.single-dde_zusammenfassung .row-prak .thumb, body.single-dde_zusammenfassung .row-prak .thumb img { width: 100%; height: 300px; object-fit: cover; }
body.single-dde_zusammenfassung .row-prak .thumb img[src$='/1.png'], body.single-dde_zusammenfassung .row-prak .thumb img[src$='/img.png'] { object-fit: contain; background: white; }
body.single-dde_zusammenfassung .row-prak .flickity-prev-next-button { width: 32px !important; height: 32px !important; min-height: 32px !important; max-height: 32px !important; top: auto !important; bottom: -62px !important; transform: none !important; }
body.single-dde_zusammenfassung .ld-hero + .section:not(:has(.text,.img,p,h1,h2,h3)) { display: none; }
body.single-dde_zusammenfassung #main .ld-last { width: calc(100% - 80px); max-width: 1690px; margin: 44px auto 0; padding: 50px 0 80px !important; border-top: 1px solid #111; }
body.single-dde_zusammenfassung .ld-last .row { width: 100%; margin: 0; }
body.single-dde_zusammenfassung .ld-last .col { padding: 0; }
body.single-dde_zusammenfassung .ld-last h2 { margin-top: 0; }
@media screen and (max-width: 1179px) and (min-width: 800px) {
  body.single-dde_zusammenfassung .ld-hero > .section-content > .row { grid-template-columns: 170px minmax(0,1fr); }
  body.single-dde_zusammenfassung .ld-hero .cl_person { padding-inline: 25px !important; }
  body.single-dde_zusammenfassung .cl_person .custom-h1, body.single-dde_zusammenfassung .cl_person .text-hastag { padding-left: 0; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-medium,
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > p,
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > h2 { padding-inline: 0 !important; }
}
@media screen and (max-width: 799px) {
  body.single-dde_zusammenfassung .ld-hero > .section-content { padding: 20px 20px 0; }
  body.single-dde_zusammenfassung .ld-hero > .section-content > .row { display: block; }
  body.single-dde_zusammenfassung .cl-sticky { position: static !important; padding: 0 !important; margin: 0 0 44px; }
  body.single-dde_zusammenfassung #main .cl-sticky .img-back { margin: 0 !important; height: 32px !important; }
  body.single-dde_zusammenfassung #main .cl-sticky .img-back > a { display: block; line-height: 0; }
  body.single-dde_zusammenfassung .ld-hero .cl_person { padding: 0 !important; }
  body.single-dde_zusammenfassung .cl_person .custom-h1 { padding-left: 0; }
  body.single-dde_zusammenfassung .cl_person .custom-h1 h1 { font-size: 47px; line-height: 58px; letter-spacing: -.47px; }
  body.single-dde_zusammenfassung .cl_person .text-hastag { padding-left: 0; margin: 5px 0 0; font: 13px/22px SuisseIntl-Mono; }
  body.single-dde_zusammenfassung #main .ifdf-dde-mobile-toc,
  body.single-dde_zusammenfassung #main .ifdf-dde-mobile-toc-v20 { margin: 60px 0 !important; }
  body.single-dde_zusammenfassung .ifdf-mobile-toc-spacer, body.single-dde_zusammenfassung .ifdf-mobile-toc-bar { height: 36px; }
  body.single-dde_zusammenfassung .ifdf-mobile-toc-trigger { min-height: 34px; padding: 0 !important; font: 16px/24px SuisseScreen-Medium; }
  body.single-dde_zusammenfassung .ifdf-mobile-toc-panel,
  body.single-dde_zusammenfassung .ifdf-dde-mobile-toc-v20.is-sticky .ifdf-mobile-toc-panel { top: 36px; }
  body.single-dde_zusammenfassung .ifdf-mobile-toc-shade { top: 36px; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-medium,
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > p,
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > h2 { padding: 0 !important; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content p { line-height: 24px; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-medium { margin-bottom: 60px; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > p:has(+ h2),
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > p:has(+ .txt-quote) { margin-bottom: 60px; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content .img_full img { height: 200px; object-fit: contain; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-caption { margin-bottom: 60px; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > .p-caption p { font: 11px/15px SuisseScreen-Monitor; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content .txt-quote { padding: 0; margin-bottom: 60px !important; }
  body.single-dde_zusammenfassung .txt-quote blockquote p { font-size: 48px; line-height: 55px; }
  body.single-dde_zusammenfassung .cl_person .cl-btn { padding-top: 60px !important; }
  body.single-dde_zusammenfassung .cl_person .cl-btn > .col-inner { flex-direction: column; align-items: center; }
  body.single-dde_zusammenfassung .cl_person .row-mehr { margin: 60px 0 !important; grid-template-columns: minmax(0,1fr); }
  body.single-dde_zusammenfassung .row-mehr > .col:first-child { grid-column: 1; }
  body.single-dde_zusammenfassung .row-prak .themenfelder-posts { width: calc(100% + 20px) !important; max-width: calc(100% + 20px) !important; }
  body.single-dde_zusammenfassung .row-prak .themenfelder-posts .item { width: 290px !important; max-width: calc(100vw - 85px); }
  body.single-dde_zusammenfassung .row-prak .content-item { height: 160px; padding: 20px; }
  body.single-dde_zusammenfassung .ld-last { width: calc(100% - 40px); padding: 50px 0 80px !important; }
  body.single-dde_zusammenfassung .ld-last .row { display: flex; flex-direction: column; gap: 40px; }
  body.single-dde_zusammenfassung .ld-last .col { max-width: 100%; flex-basis: auto; }
}

/* Scoped carousel controls and anchor clearance for Zusammenfassung. */
body.single-dde_zusammenfassung .row-prak .flickity-prev-next-button { right: auto !important; }
body.single-dde_zusammenfassung .row-prak .flickity-prev-next-button.previous { left: calc((100% - 80px) / 2 - 37px) !important; }
body.single-dde_zusammenfassung .row-prak .flickity-prev-next-button.next { left: calc((100% - 80px) / 2 + 5px) !important; }
body.single-dde_zusammenfassung .row-prak .text-or > a { font: 14px/21px SuisseIntl-Mono-Bold; color: #ff6e2f !important; }
body.single-dde_zusammenfassung .row-prak .text-or > a::after { content: '+' !important; display: inline-block; position: static; width: auto; height: auto; margin-left: 6px; background: none !important; mask: none; transform: none; }
@media (max-width:799px) {
  body.single-dde_zusammenfassung .row-prak .flickity-prev-next-button.previous { left: calc((100% - 20px) / 2 - 37px) !important; }
  body.single-dde_zusammenfassung .row-prak .flickity-prev-next-button.next { left: calc((100% - 20px) / 2 + 5px) !important; }
  body.single-dde_zusammenfassung .ifdf-dde-blue-content h2,
  body.single-dde_zusammenfassung .cl_person > .col-inner > span[id] { scroll-margin-top: 48px; }
}

/* Builder text blocks may contain one or several paragraphs. */
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .text:not(.txt-quote):not(.p-caption) { padding: 0 80px !important; margin: 0 0 80px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .text:not(.txt-quote):not(.p-caption) p { margin: 0 0 25px; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .text > :last-child { margin-bottom: 0 !important; }
body.single-dde_zusammenfassung .ifdf-dde-blue-content > .text:last-child { margin-bottom: 0; }
@media (max-width:799px) {
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > .text:not(.txt-quote):not(.p-caption) { padding: 0 !important; margin-bottom: 60px; }
}
@media (min-width:800px) and (max-width:1179px) {
  body.single-dde_zusammenfassung .ifdf-dde-blue-content > .text:not(.txt-quote):not(.p-caption) { padding-inline: 0 !important; }
}

/* Reserve the carousel geometry before lazy Flickity initialization. */
body.single-dde_zusammenfassung .row-prak .themenfelder-posts:not(.flickity-enabled) { display: flex; flex-wrap: nowrap; overflow: hidden; }
body.single-dde_zusammenfassung .row-prak .themenfelder-posts:not(.flickity-enabled) > .item { flex: 0 0 350px; }
@media (max-width:799px) {
  body.single-dde_zusammenfassung .row-prak .themenfelder-posts:not(.flickity-enabled) > .item { flex-basis: min(290px, calc(100vw - 85px)); }
}

@media (max-width:799px) {
  body.single-dde_zusammenfassung .cl_person > .col-inner > span[id] { position: relative; top: -48px; scroll-margin-top: 0; }
  body.single-dde_zusammenfassung .row-prak .item { transform: none !important; }
}

body.single-dde_zusammenfassung .ifdf-dde-blue-content { overflow-wrap: break-word; }
@media (max-width:799px) {
  body.single-dde_zusammenfassung .cl_person .custom-h1 h1 { line-height: 58px !important; }
}


/* Zusammenfassung: align the secondary link with the Figma component. */
body.single-dde_zusammenfassung .row-prak .themenfelder-posts .content-item .text-or > a {
 display:inline-flex; align-items:center; gap:8px; color:#ff6e2f !important;
 font-size:15px !important; line-height:22px !important; letter-spacing:-.6px;
 min-height:0 !important; height:auto !important; padding:0 0 2px !important;
}
body.single-dde_zusammenfassung .row-prak .themenfelder-posts .content-item .text-or > a > b { display:none; }
body.single-dde_zusammenfassung .row-prak .themenfelder-posts .content-item .text-or > a::after {
 content:'' !important; display:block !important; flex:0 0 14px;
 position:relative !important; top:0 !important; right:0; left:auto;
 width:14px !important; height:14px !important; margin:0 !important; padding:0;
 background:url('../images/arrow-orange.svg') center / 14px 14px no-repeat !important;
 mask:none !important; -webkit-mask:none !important; border:0;
 transform:none !important; transition:right .5s; line-height:1;
}
body.single-dde_zusammenfassung .row-prak .themenfelder-posts .content-item .text-or > a:hover::after,
body.single-dde_zusammenfassung .row-prak .themenfelder-posts .content-item .text-or > a:focus-visible::after { right:-5px; }
@media(prefers-reduced-motion:reduce) { body.single-dde_zusammenfassung .row-prak .themenfelder-posts .content-item .text-or > a::after { transition:none; } }

/* Themenfelder overview: exact Figma secondary plus icon. */
body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a,
body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item:hover .text-or > a {
 display:inline-flex !important; align-items:center !important; gap:8px !important;
 font-size:15px !important; line-height:22px !important; letter-spacing:-.6px;
 color:#ff6e2f !important; min-height:0; height:auto; padding:0 0 2px;
}
body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a > b { display:none !important; }
body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a::after,
body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a:has(> b)::after {
 content:'' !important; display:block !important; flex:0 0 14px;
 width:14px !important; height:14px !important; position:relative !important;
 top:0 !important; left:auto !important; right:0 !important; margin:0 !important; padding:0;
 background:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%207H13%22%20stroke%3D%22%23FF6E2F%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M7%201L7%2013%22%20stroke%3D%22%23FF6E2F%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E') center / 14px 14px no-repeat !important;
 mask:none !important; -webkit-mask:none !important; border:0;
 transform:translateX(0) !important; transition:transform .5s ease !important;
}
body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item:hover .text-or > a::after,
body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a:hover::after { right:0 !important; transform:translateX(5px) !important; color:#ff6e2f !important; }
@media(prefers-reduced-motion:reduce) { body.page-themenfelder .ifdf-dde-themen-overview-row .themenfelder-posts .content-item .text-or > a::after { transition:none !important; } }

/* Zusammenfassung mobile related topics: match the Figma container geometry. */
@media(max-width:799px) {
 body.single-dde_zusammenfassung #main .ld-last.ifdf-dde-related {
  width:calc(100% - 40px); margin:44px auto 0; border-top:0; padding:50px 0 80px !important;
 }
 body.single-dde_zusammenfassung #main .ld-last.ifdf-dde-related > .section-content > .row {
  width:100%; max-width:100% !important; margin:0 !important; padding:40px 0 0;
  border-top:1px solid #111; display:flex; flex-direction:column; align-items:stretch; gap:25px;
 }
 body.single-dde_zusammenfassung #main .ld-last.ifdf-dde-related > .section-content > .row > .col {
  width:100%; max-width:100%; flex:0 0 auto; padding:0 !important; margin:0;
 }
 body.single-dde_zusammenfassung #main .ld-last.ifdf-dde-related > .section-content > .row::after { content:none; display:none; }
 body.single-dde_zusammenfassung #main .ld-last.ifdf-dde-related h2 {
  max-width:none; width:100%; margin:0 !important; font-size:17px; line-height:24px;
  letter-spacing:-.765px; color:#909090;
 }
 body.single-dde_zusammenfassung #main .ld-last.ifdf-dde-related .col:nth-child(2) > .col-inner {
  display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:0;
 }
 body.single-dde_zusammenfassung #main .ld-last.ifdf-dde-related a.button.primary {
  width:max-content; max-width:100%; height:auto; min-height:31px; margin:0;
  flex-shrink:0; text-align:left;
 }
}

/* Shared dde_essay typography and spacing, measured against desktop/mobile Figma. */
body.single-dde_essay .ld-essay { padding:0 0 60px !important; }
body.single-dde_essay .ld-essay > .section-content { max-width:1770px; margin:auto; padding:0 40px; }
body.single-dde_essay .ld-essay > .section-content > .row { display:grid; grid-template-columns:195px minmax(0,1fr); width:100%; max-width:none; margin:0; }
body.single-dde_essay .ld-essay > .section-content > .row::after { display:none; }
body.single-dde_essay .ld-essay .cl-sticky { width:100% !important; max-width:none !important; padding:40px 0 60px !important; align-self:start; }
body.single-dde_essay .ld-essay .cl_person { width:100% !important; max-width:none !important; margin-top:0 !important; padding:70px 40px 0 !important; }
body.single-dde_essay .ld-essay .cl_person > .col-inner > .row.m-auto:not(.row-persoenliche) { width:100%; max-width:750px !important; margin:0 auto; }
body.single-dde_essay .ld-essay .cl_person > .col-inner > .row.m-auto:not(.row-persoenliche) > .col { padding:0 !important; }
body.single-dde_essay .ld-essay .cl_person .lead { font-size:17px !important; line-height:24px !important; letter-spacing:-.765px !important; margin:0 0 40px 80px; }
body.single-dde_essay .ld-essay .cl_person .custom-h1 { padding:0 0 0 80px; margin:0; }
body.single-dde_essay .ld-essay .cl_person .custom-h1 h1 { font-size:70px; line-height:80px !important; width:auto; max-width:none; margin:0; }
body.single-dde_essay .ld-essay .cl_person .text-hastag { margin:5px 0 0 80px; font:15px/22px SuisseIntl-Mono; letter-spacing:-.6px; word-spacing:11px; }
body.single-dde_essay .ifdf-dde-blue-content { padding:0 80px; margin-top:80px; overflow-wrap:break-word; }
body.single-dde_essay .ifdf-dde-blue-content :is(p,li) { font-size:16px; line-height:23px; }
body.single-dde_essay .ifdf-dde-blue-content p { margin:0 0 25px; }
body.single-dde_essay .ifdf-dde-blue-content :is(h2,h3) { line-height:normal; letter-spacing:-.01em; margin:80px 0 25px; }
body.single-dde_essay .ifdf-dde-blue-content h2 { font-size:26px; }
body.single-dde_essay .ifdf-dde-blue-content h3 { font-size:20px; margin-top:25px; }
body.single-dde_essay .ifdf-dde-blue-content > h2:first-of-type { margin-top:0; }
body.single-dde_essay .ifdf-dde-blue-content ul, body.single-dde_essay .ifdf-dde-blue-content ol { margin:0 0 25px; padding-left:20px; }
body.single-dde_essay .ifdf-dde-blue-content li { margin:0 0 10px; padding-left:0; }
body.single-dde_essay .ifdf-dde-blue-content > :last-child { margin-bottom:0; }
body.single-dde_essay .ld-essay .ifdf-dde-literatur { margin-top:80px !important; padding:0 80px; }
@media(min-width:800px) and (max-width:1179px) {
 body.single-dde_essay .ld-essay > .section-content > .row { grid-template-columns:195px minmax(0,1fr); }
 body.single-dde_essay .ld-essay .cl_person { padding-inline:20px !important; }
 body.single-dde_essay .ifdf-dde-blue-content, body.single-dde_essay .ld-essay .ifdf-dde-literatur { padding-inline:0; }
 body.single-dde_essay .ld-essay .cl_person .custom-h1 { padding-left:0; }
 body.single-dde_essay .ld-essay .cl_person :is(.lead,.text-hastag) { margin-left:0; }
}
@media(max-width:799px) {
 body.single-dde_essay .ld-essay > .section-content { padding:0 20px; }
 body.single-dde_essay .ld-essay > .section-content > .row { display:block; }
 body.single-dde_essay .ld-essay .cl-sticky { padding:20px 0 0 !important; height:52px; }
 body.single-dde_essay .ld-essay .cl-sticky .img-back { width:32px; height:32px; margin:0; }
 body.single-dde_essay .ld-essay .cl_person { padding:44px 0 0 !important; }
 body.single-dde_essay .ld-essay .cl_person .lead { margin-left:0; }
 body.single-dde_essay .ld-essay .cl_person .custom-h1 { padding:0; }
 body.single-dde_essay .ld-essay .cl_person .custom-h1 h1 { font-size:47px; line-height:58px !important; }
 body.single-dde_essay .ld-essay .cl_person .text-hastag { margin-left:0; }
 body.single-dde_essay #main .ifdf-dde-mobile-toc-v20 { margin:60px 0 !important; }
 body.single-dde_essay .ifdf-mobile-toc-spacer { height:36px; }
 body.single-dde_essay .ifdf-mobile-toc-panel, body.single-dde_essay .ifdf-mobile-toc-shade { top:36px; }
 body.single-dde_essay .ifdf-mobile-toc-bar, body.single-dde_essay .ifdf-mobile-toc-trigger { height:36px; min-height:36px; }
 body.single-dde_essay .ifdf-dde-blue-content { margin-top:0; padding:0; }
 body.single-dde_essay .ifdf-dde-blue-content :is(p,li) { line-height:24px; }
 body.single-dde_essay .ifdf-dde-blue-content h2 { font-size:25px; margin-top:60px; }
 body.single-dde_essay .ifdf-dde-blue-content h3 { font-size:19px; }
 body.single-dde_essay .ld-essay .ifdf-dde-literatur { margin-top:60px !important; padding:0; }
 body.single-dde_essay .ifdf-dde-blue-content :is(h2,h3) { scroll-margin-top:48px; }
}

body.single-dde_essay .ld-essay .ifdf-dde-literatur .col { padding:0 !important; }
body.single-dde_essay .ld-essay .ifdf-dde-literatur .h2-or h2,
body.single-dde_essay .ld-essay .row-persoenliche .h2-or h2 { font-size:17px !important; line-height:24px !important; letter-spacing:-.765px !important; margin:0 0 25px !important; }
body.single-dde_essay .ld-essay .ifdf-dde-literatur .text-box { margin-bottom:25px; }
body.single-dde_essay .ld-essay .ifdf-dde-literatur .text-box p { font-size:13px; line-height:18px; margin:0 0 10px; }
body.single-dde_essay .ld-essay .ifdf-dde-literatur .text-box p:last-child { margin-bottom:0; }
body.single-dde_essay .ld-essay .ifdf-dde-literatur .text-box:last-child { margin-bottom:0; }

body.single-dde_essay .ld-essay .row-persoenliche { width:100%; max-width:none !important; margin:80px 0 0; }
body.single-dde_essay .ld-essay .row-persoenliche > .col, body.single-dde_essay .row-persoenliche .themenfelder-row > .row > .col { padding:0 !important; }
body.single-dde_essay .ld-essay .row-persoenliche > .col > .col-inner > h2 { font-size:17px !important; line-height:24px !important; margin:0 0 30px !important; letter-spacing:-.765px; }
body.single-dde_essay .row-persoenliche .themenfelder-row > .row { margin:0; width:100%; max-width:none; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .item { width:350px !important; max-width:none; margin-right:25px !important; padding:0 !important; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .inner { border:0; }
body.single-dde_essay .row-persoenliche .content-item { height:170px !important; padding:20px !important; }
body.single-dde_essay .row-persoenliche .content-item h3 { font:26px/normal SuisseScreen-Medium; height:auto !important; margin:0 0 25px !important; }
body.single-dde_essay .row-persoenliche .thumb { height:300px !important; }
body.single-dde_essay .row-persoenliche .thumb img { width:100%; height:100%; object-fit:contain; }
body.single-dde_essay .row-persoenliche .themenfelder-posts:not(.flickity-enabled) { display:flex; flex-wrap:nowrap; overflow:hidden; }
body.single-dde_essay .row-persoenliche .themenfelder-posts:not(.flickity-enabled) > .item { flex:0 0 350px; }
body.single-dde_essay .row-persoenliche .flickity-prev-next-button { width:32px; height:32px; top:auto; bottom:0; transform:none; }
body.single-dde_essay .row-persoenliche .flickity-prev-next-button.previous { left:calc(50% - 37px) !important; }
body.single-dde_essay .row-persoenliche .flickity-prev-next-button.next { left:calc(50% + 5px) !important; }
body.single-dde_essay .row-persoenliche .themenfelder-posts { margin:0 !important; padding-bottom:62px !important; }
@media(max-width:799px) {
 body.single-dde_essay .ld-essay .row-persoenliche { margin-top:60px; }
 body.single-dde_essay .row-persoenliche .themenfelder-posts .item { width:min(290px,calc(100vw - 85px)) !important; transform:none !important; }
 body.single-dde_essay .row-persoenliche .themenfelder-posts:not(.flickity-enabled) > .item { flex-basis:min(290px,calc(100vw - 85px)); }
 body.single-dde_essay .row-persoenliche .content-item { height:160px !important; }
 body.single-dde_essay .row-persoenliche .content-item h3 { font-size:25px; }
}

/* Zusammenfassung mobile related topics: match the Figma container geometry. */
@media(max-width:799px) {
 body.single-dde_essay #main .ld-last.ifdf-dde-related {
  width:calc(100% - 40px); margin:44px auto 0; border-top:0; padding:50px 0 80px !important;
 }
 body.single-dde_essay #main .ld-last.ifdf-dde-related > .section-content > .row {
  width:100%; max-width:100% !important; margin:0 !important; padding:40px 0 0;
  border-top:1px solid #111; display:flex; flex-direction:column; align-items:stretch; gap:25px;
 }
 body.single-dde_essay #main .ld-last.ifdf-dde-related > .section-content > .row > .col {
  width:100%; max-width:100%; flex:0 0 auto; padding:0 !important; margin:0;
 }
 body.single-dde_essay #main .ld-last.ifdf-dde-related > .section-content > .row::after { content:none; display:none; }
 body.single-dde_essay #main .ld-last.ifdf-dde-related h2 {
  max-width:none; width:100%; margin:0 !important; font-size:17px; line-height:24px;
  letter-spacing:-.765px; color:#909090;
 }
 body.single-dde_essay #main .ld-last.ifdf-dde-related .col:nth-child(2) > .col-inner {
  display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:0;
 }
 body.single-dde_essay #main .ld-last.ifdf-dde-related a.button.primary {
  width:max-content; max-width:100%; height:auto; min-height:31px; margin:0;
  flex-shrink:0; text-align:left;
 }
}

@media(min-width:800px) {
 body.single-dde_essay .cl-sticky .ifdf-dde-auto-toc a { font-size:13px !important; line-height:18px !important; }
 body.single-dde_essay .cl-sticky .ifdf-dde-auto-toc li { line-height:18px; padding:8px 0 8px 20px; }
}

/* dde_essay lower layout: measured Impuls cards and related-topic footer. */
body.single-dde_essay .row-persoenliche .themenfelder-posts { width:100% !important; max-width:100% !important; margin:0 !important; padding:0 0 57px !important; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .item { width:calc((100% - 50px)/3) !important; min-width:0 !important; max-width:none !important; transform:none !important; }
body.single-dde_essay .row-persoenliche .themenfelder-posts:not(.flickity-enabled) > .item { flex-basis:calc((100% - 50px)/3); }
body.single-dde_essay .row-persoenliche .themenfelder-posts .item .inner { display:grid; grid-template-rows:170px 300px; height:470px; transform:none !important; border:0 !important; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .content-item { box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start; gap:16px; height:170px !important; min-height:170px; padding:27px !important; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .content-item h3 { font:20px/26px SuisseScreen-SemiBold !important; letter-spacing:-.2px; margin:0 !important; height:auto !important; min-height:0 !important; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .text-or { margin:0 !important; padding:0; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .text-or > a { font:15px/22px SuisseIntl-Mono-Bold !important; letter-spacing:-.6px; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .thumb { display:block; height:300px !important; min-height:0; overflow:hidden; background:#fff; }
body.single-dde_essay .row-persoenliche .themenfelder-posts .thumb img { display:block; width:100% !important; height:100% !important; max-height:none; margin:0; object-fit:contain; transform:none !important; background:#fff; }
body.single-dde_essay .row-persoenliche .flickity-prev-next-button { position:absolute !important; top:auto !important; bottom:0 !important; width:32px !important; height:32px !important; min-height:0 !important; line-height:1; margin:0 !important; transform:none !important; }
body.single-dde_essay .ld-essay .row-persoenliche > .col > .col-inner > h2 { margin-bottom:25px !important; }
body.single-dde_essay #main .ld-last.ifdf-dde-related { width:calc(100% - 80px); max-width:1690px; margin:44px auto 0 !important; border:0 !important; padding:50px 0 80px !important; }
body.single-dde_essay #main .ld-last.ifdf-dde-related > .section-content > .row { width:100% !important; max-width:none !important; margin:0 !important; padding:40px 0 0; border-top:1px solid #111; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:25px; }
body.single-dde_essay #main .ld-last.ifdf-dde-related > .section-content > .row::after { display:none; content:none; }
body.single-dde_essay #main .ld-last.ifdf-dde-related > .section-content > .row > .col { width:100% !important; max-width:none !important; flex:none; padding:0 !important; margin:0; }
body.single-dde_essay #main .ld-last.ifdf-dde-related .col:first-child > .col-inner { display:flex; justify-content:flex-end; }
body.single-dde_essay #main .ld-last.ifdf-dde-related h2 { width:250px; max-width:100%; font:15px/22px SuisseIntl-Mono-Bold; letter-spacing:-.6px; color:#909090; margin:0 !important; }
body.single-dde_essay #main .ld-last.ifdf-dde-related .col:nth-child(2) > .col-inner { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:0; }
@media(max-width:799px) {
 body.single-dde_essay .row-persoenliche .themenfelder-posts .item { width:min(290px,calc(100vw - 85px)) !important; }
 body.single-dde_essay .row-persoenliche .themenfelder-posts:not(.flickity-enabled) > .item { flex-basis:min(290px,calc(100vw - 85px)); }
 body.single-dde_essay .row-persoenliche .themenfelder-posts .item .inner { grid-template-rows:160px 300px; height:460px; }
 body.single-dde_essay .row-persoenliche .themenfelder-posts .content-item { height:160px !important; min-height:160px; padding:20px !important; }
 body.single-dde_essay #main .ld-last.ifdf-dde-related { width:calc(100% - 40px); }
 body.single-dde_essay #main .ld-last.ifdf-dde-related > .section-content > .row { display:flex !important; flex-direction:column; align-items:stretch; }
 body.single-dde_essay #main .ld-last.ifdf-dde-related .col:first-child > .col-inner { justify-content:flex-start; }
 body.single-dde_essay #main .ld-last.ifdf-dde-related h2 { width:100%; font-size:17px; line-height:24px; letter-spacing:-.765px; }
}

body.single-dde_essay #main .ld-essay + section:has(.is-divider) { display:none; }

/* Photos exported at the card ratio fill their frame without letterboxing. */
body.single-dde_essay .row-persoenliche .thumb img[width="350"][height="300"] { object-fit:cover; }

/* Themenfelder: label wrapping must not move the filter icons vertically. */
body.page-themenfelder .ifdf-dde-themen-filter-choice { justify-content:flex-start !important; }
body.page-themenfelder .ifdf-dde-themen-filter-media { flex-shrink:0; }

/* Video template shared by every dde_thema_id; preserve content and destinations. */
body.ifdf-dde-video-page #main .dde-video-template { width:100%; max-width:1770px; margin:0 auto; padding:45px 110px 60px !important; }
body.ifdf-dde-video-page .dde-video-template > .section-content > .row { width:100% !important; max-width:none !important; margin:0; }
body.ifdf-dde-video-page .dde-video-template > .section-content > .row > .col { padding:0 !important; }
body.ifdf-dde-video-page .dde-video-template > .section-content > .row > .col > .col-inner { position:relative; }
body.ifdf-dde-video-page #main .dde-video-template .img-back { position:absolute !important; top:-5px !important; left:-70px !important; width:32px !important; height:32px !important; margin:0 !important; }
body.ifdf-dde-video-page .dde-video-template .img-back img { width:32px; height:32px; }
body.ifdf-dde-video-page .dde-video-template > .section-content > .row > .col > .col-inner > h2 { font:17px/24px SuisseIntl-Mono-Bold !important; letter-spacing:-.765px !important; margin:0 0 25px !important; }
body.ifdf-dde-video-page .dde-video-template > .section-content > .row > .col > .col-inner > h2:first-of-type { margin-bottom:30px !important; }
body.ifdf-dde-video-page .dde-video-gap { display:none; }
body.ifdf-dde-video-page .dde-video-template .video-fit { width:100%; height:auto !important; padding:0 !important; aspect-ratio:76/45; margin:0 !important; }
body.ifdf-dde-video-page .dde-video-template .btn-arrow { width:100%; max-width:none; margin:80px 0 !important; }
body.ifdf-dde-video-page .dde-video-template .btn-arrow > .col { padding:0 !important; }
body.ifdf-dde-video-page .dde-video-template .btn-arrow > .col > .col-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; padding:0 !important; margin:0; }
body.ifdf-dde-video-page .dde-video-template .btn-arrow a.button { margin:0 !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-row > .row { width:100%; max-width:none; margin:0 !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-row > .row > .col { padding:0 !important; }
@media(max-width:799px) {
 body.ifdf-dde-video-page #main .dde-video-template { padding:96px 20px 60px !important; }
 body.ifdf-dde-video-page #main .dde-video-template .img-back { top:-76px !important; left:0 !important; }
 body.ifdf-dde-video-page .dde-video-template .video-fit { aspect-ratio:133/82; }
 body.ifdf-dde-video-page .dde-video-template .btn-arrow { margin:60px 0 !important; }
 body.ifdf-dde-video-page .dde-video-template .btn-arrow > .col > .col-inner { flex-direction:column; }
}

/* dde_essay lower layout: measured Impuls cards and related-topic footer. */
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts { width:100% !important; max-width:100% !important; margin:0 !important; padding:0 0 57px !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .item { width:calc((100% - 50px)/3) !important; min-width:0 !important; max-width:none !important; transform:none !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts:not(.flickity-enabled) > .item { flex-basis:calc((100% - 50px)/3); }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .item .inner { display:grid; grid-template-rows:170px 300px; height:470px; transform:none !important; border:0 !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .content-item { box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start; gap:16px; height:170px !important; min-height:170px; padding:27px !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .content-item h3 { font:20px/26px SuisseScreen-SemiBold !important; letter-spacing:-.2px; margin:0 !important; height:auto !important; min-height:0 !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .text-or { margin:0 !important; padding:0; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .text-or > a { font:15px/22px SuisseIntl-Mono-Bold !important; letter-spacing:-.6px; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .thumb { display:block; height:300px !important; min-height:0; overflow:hidden; background:#fff; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .thumb img { display:block; width:100% !important; height:100% !important; max-height:none; margin:0; object-fit:contain; transform:none !important; background:#fff; }
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button { position:absolute !important; top:auto !important; bottom:0 !important; width:32px !important; height:32px !important; min-height:0 !important; line-height:1; margin:0 !important; transform:none !important; }
body.ifdf-dde-video-page .dde-video-template .dde-video-template > .col > .col-inner > h2 { margin-bottom:25px !important; }
body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related { width:calc(100% - 80px); max-width:1690px; margin:44px auto 0 !important; border:0 !important; padding:50px 0 80px !important; }
body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related > .section-content > .row { width:100% !important; max-width:none !important; margin:0 !important; padding:40px 0 0; border-top:1px solid #111; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:25px; }
body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related > .section-content > .row::after { display:none; content:none; }
body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related > .section-content > .row > .col { width:100% !important; max-width:none !important; flex:none; padding:0 !important; margin:0; }
body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related .col:first-child > .col-inner { display:flex; justify-content:flex-end; }
body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related h2 { width:250px; max-width:100%; font:15px/22px SuisseIntl-Mono-Bold; letter-spacing:-.6px; color:#909090; margin:0 !important; }
body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related .col:nth-child(2) > .col-inner { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:0; }
@media(max-width:799px) {
 body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .item { width:min(290px,calc(100vw - 85px)) !important; }
 body.ifdf-dde-video-page .dde-video-template .themenfelder-posts:not(.flickity-enabled) > .item { flex-basis:min(290px,calc(100vw - 85px)); }
 body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .item .inner { grid-template-rows:160px 300px; height:460px; }
 body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .content-item { height:160px !important; min-height:160px; padding:20px !important; }
 body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related { width:calc(100% - 40px); }
 body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related > .section-content > .row { display:flex !important; flex-direction:column; align-items:stretch; }
 body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related .col:first-child > .col-inner { justify-content:flex-start; }
 body.ifdf-dde-video-page #main .ld-last.ifdf-dde-related h2 { width:100%; font-size:17px; line-height:24px; letter-spacing:-.765px; }
}

body.ifdf-dde-video-page #main .dde-video-template + section:has(.is-divider) { display:none; }

/* Photos exported at the card ratio fill their frame without letterboxing. */
body.ifdf-dde-video-page .dde-video-template .thumb img[width="350"][height="300"] { object-fit:cover; }

body.ifdf-dde-video-page #main .dde-video-template .img-back { transform:none !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts .item { margin-right:25px !important; padding:0 !important; }
body.ifdf-dde-video-page .dde-video-template .themenfelder-posts:not(.flickity-enabled) { display:flex; flex-wrap:nowrap; overflow:hidden; }
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button.previous { left:calc(50% - 37px) !important; right:auto !important; }
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button.next { left:calc(50% + 5px) !important; right:auto !important; }
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button { min-height:32px !important; max-height:32px !important; }
body.ifdf-dde-video-page .dde-video-template .text-or > a { display:inline-flex; align-items:center; gap:8px; }
body.ifdf-dde-video-page .dde-video-template .text-or > a > b { display:none !important; }
body.ifdf-dde-video-page .dde-video-template .text-or > a::after { content:'' !important; width:14px !important; height:14px !important; flex:0 0 14px; margin:0 !important; position:relative !important; top:0 !important; background:url('../images/arrow-orange.svg') center/14px 14px no-repeat !important; }
@media(max-width:799px) { body.ifdf-dde-video-page .dde-video-template .text-or > a::after { background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%207H13%22%20stroke%3D%22%23FF6E2F%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M7%201L7%2013%22%20stroke%3D%22%23FF6E2F%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E') !important; } }

/* Video template: use one circular navigation graphic, without a second border. */
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button,
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button:hover,
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button:focus {
 border:0 !important; box-shadow:none !important; background:transparent !important; padding:0 !important; border-radius:50%;
}
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button::before { display:block !important; width:32px !important; height:32px !important; position:static; margin:0; background-size:100% 100% !important; background-repeat:no-repeat; }
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button svg { display:none !important; }
body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button:focus:not(:focus-visible) { outline:none; }
@media(max-width:799px) {
 body.ifdf-dde-video-page .dde-video-template > .section-content > .row > .col > .col-inner > h2:not(:first-of-type) { max-width:280px; }
}

/* Video mobile carousel reaches the viewport edge; controls stay centred in the content. */
@media(max-width:799px) {
 body.ifdf-dde-video-page .dde-video-template .themenfelder-posts { width:calc(100% + 20px) !important; max-width:none !important; margin-right:-20px !important; }
 body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button.previous { left:calc((100% - 20px)/2 - 37px) !important; }
 body.ifdf-dde-video-page .dde-video-template .flickity-prev-next-button.next { left:calc((100% - 20px)/2 + 5px) !important; }
}

/* Public Value Studie 2023: isolated desktop/mobile reading layout. */
body.page-public-value-studie-2023 .ld-public-value { max-width:1770px; margin:auto; padding:71px 40px 80px !important; }
body.page-public-value-studie-2023 .ld-public-value > .section-content > .row { display:block; width:100%; max-width:none; margin:0; position:relative; }
body.page-public-value-studie-2023 .ld-public-value .cl-value.h2-mt { width:750px !important; max-width:100% !important; margin:0 auto 80px; padding:0 !important; }
body.page-public-value-studie-2023 .cl-value .custom-h1 { width:100%; max-width:none; padding:0 80px; }
body.page-public-value-studie-2023 .cl-value .custom-h1 h1 { width:100%; max-width:none; font-size:70px; line-height:80px !important; letter-spacing:-.7px; margin:0 !important; }
body.page-public-value-studie-2023 .cl-value .custom-h1 > p:first-of-type { font:15px/22px SuisseIntl-Mono; margin:25px 0 80px !important; }
body.page-public-value-studie-2023 .cl-value .custom-h1 > p:not(:first-of-type) { font-size:16px; line-height:23px; margin:0 0 25px !important; }
body.page-public-value-studie-2023 .cl-value .custom-h1 > p:last-child { margin-bottom:0 !important; }
body.page-public-value-studie-2023 .ld-public-value > .section-content > .row > .btn-arrow { position:absolute !important; top:0 !important; right:0 !important; left:auto !important; width:170px !important; max-width:170px !important; padding:0 !important; }
body.page-public-value-studie-2023 .ld-public-value .cl-value.row-pub { width:100% !important; max-width:none !important; padding:0 40px !important; margin:0; }
body.page-public-value-studie-2023 .row-pub > .col-inner > p,
body.page-public-value-studie-2023 .row-pub > .col-inner > .text:not(.txt-quote):not(.p-caption),
body.page-public-value-studie-2023 .row-pub > .col-inner > h3 { width:100%; max-width:590px; margin-left:auto; margin-right:auto; }
body.page-public-value-studie-2023 .row-pub p, body.page-public-value-studie-2023 .row-pub li { font-size:16px; line-height:23px; }
body.page-public-value-studie-2023 .row-pub > .col-inner > p,
body.page-public-value-studie-2023 .row-pub > .col-inner > .text p { margin-bottom:25px; }
body.page-public-value-studie-2023 .row-pub .banner { height:1000px; padding-top:0 !important; margin:80px 0 !important; }
body.page-public-value-studie-2023 .row-pub > .col-inner > .banner:first-of-type { margin-top:0 !important; }
body.page-public-value-studie-2023 .row-pub .banner .text-box { width:590px !important; max-width:calc(100% - 80px); }
body.page-public-value-studie-2023 .row-pub .banner h2 { font-size:250px; line-height:250px !important; letter-spacing:-2.5px; margin:0 !important; }
body.page-public-value-studie-2023 .row-pub .banner h3 { font-size:33px; line-height:42px !important; letter-spacing:-.33px; margin:25px 0 5px !important; }
body.page-public-value-studie-2023 .row-pub .banner p { font-size:20px; line-height:26px; margin:0; }
body.page-public-value-studie-2023 .row-pub .txt-quote { margin:80px auto !important; }
body.page-public-value-studie-2023 .row-pub .txt-quote blockquote p { font-size:68px; line-height:78px; }
body.page-public-value-studie-2023 .ifdf-public-value-toc { display:none; }
@media(min-width:800px) and (max-width:1179px) {
 body.page-public-value-studie-2023 .ld-public-value > .section-content > .row > .btn-arrow { display:none; }
 body.page-public-value-studie-2023 .ld-public-value .cl-value.h2-mt { margin-left:195px; width:calc(100% - 195px) !important; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 { padding:0 20px; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 h1 { font-size:52px; line-height:62px !important; }
}
@media(max-width:799px) {
 body.page-public-value-studie-2023 #main .ld-public-value { padding:112px 20px 60px !important; }
 body.page-public-value-studie-2023 .ld-public-value .cl-sticky { display:none !important; }
 body.page-public-value-studie-2023 .ld-public-value .cl-value.h2-mt { width:100% !important; margin:0 0 60px; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 { padding:0 !important; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 h1 { font-size:47px; line-height:58px !important; letter-spacing:-.47px; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 h1 strong { display:inline; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 > p:first-of-type { font-size:13px; line-height:21px; margin-bottom:0 !important; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 > p:not(:first-of-type) { line-height:24px; }
 body.page-public-value-studie-2023 .ld-public-value .cl-value.row-pub { padding:0 !important; }
 body.page-public-value-studie-2023 .row-pub .banner { width:calc(100% + 20px); max-width:none; height:600px; margin:60px -10px !important; }
 body.page-public-value-studie-2023 .row-pub .banner .text-box { width:255px !important; max-width:calc(100% - 100px); }
 body.page-public-value-studie-2023 .row-pub .banner h2 { font-size:150px; line-height:150px !important; letter-spacing:-1.5px; }
 body.page-public-value-studie-2023 .row-pub .banner h3 { font-size:30px; line-height:38px !important; letter-spacing:-.3px; margin-top:25px !important; }
 body.page-public-value-studie-2023 .row-pub .banner p { font-size:19px; line-height:25px; }
 body.page-public-value-studie-2023 .row-pub p, body.page-public-value-studie-2023 .row-pub li { line-height:24px; }
 body.page-public-value-studie-2023 .row-pub .txt-quote { margin:60px auto !important; }
 body.page-public-value-studie-2023 .row-pub .txt-quote blockquote p { font-size:48px; line-height:55px; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc { display:block; position:relative; height:36px; margin:60px 0; z-index:120; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc summary { display:flex; align-items:center; gap:8px; height:36px; padding:0; border-top:1px solid #d9d9d9; border-bottom:1px solid #d9d9d9; cursor:pointer; list-style:none; font:16px/24px SuisseScreen-Medium; background:#fff; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc summary::-webkit-details-marker { display:none; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc summary::after { content:''; width:7px; height:7px; border-right:1.5px solid #111; border-bottom:1.5px solid #111; transform:translateY(-2px) rotate(45deg); }
 body.page-public-value-studie-2023 .ifdf-public-value-toc[open] summary::after { transform:translateY(2px) rotate(225deg); }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav { position:absolute; top:36px; left:-20px; width:calc(100% + 40px); max-height:65vh; overflow:auto; padding:20px; background:#fff; box-shadow:0 15px 25px #0002; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav ul { list-style:none; padding:0; margin:0; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav ul ul { padding-left:16px; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav li { margin:0; padding:8px 0; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav a { display:block; color:#111; font:14px/20px SuisseScreen-Regular; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc.is-sticky summary { position:fixed; top:0; left:0; width:100%; padding:0 20px; z-index:122; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc.is-sticky nav { position:fixed; left:0; top:36px; width:100%; }
 body.page-public-value-studie-2023 .row-pub .scroll-to { scroll-margin-top:52px; }
}

body.page-public-value-studie-2023 .row-pub .banner .text-box-content { padding:0 !important; }

body.page-public-value-studie-2023 .row-pub > .col-inner > h3,
body.page-public-value-studie-2023 .row-pub .text:not(.banner .text) > h3 { font:26px/normal SuisseScreen-Medium; letter-spacing:-.26px; margin:80px 0 25px; }
@media(max-width:799px) {
 body.page-public-value-studie-2023 .row-pub > .col-inner > h3,
 body.page-public-value-studie-2023 .row-pub .text:not(.banner .text) > h3 { font-size:25px; letter-spacing:-.25px; margin-top:60px; }
}

/* Restore the original desktop sticky column; no nested scroll area. */
@media(min-width:800px) {
 body.page-public-value-studie-2023 .ld-public-value > .section-content > .row { display:grid; grid-template-columns:20% minmax(0,1fr) 15%; align-items:start; }
 body.page-public-value-studie-2023 .ld-public-value .cl-sticky { grid-column:1; grid-row:1 / 3; align-self:start; width:100% !important; max-width:none !important; height:auto; padding:15px 35px 30px; position:sticky !important; top:0; }
 body.page-public-value-studie-2023 .ld-public-value .cl-value.h2-mt { grid-column:1 / -1; grid-row:1; }
 body.page-public-value-studie-2023 .ld-public-value .row-pub { grid-column:1 / -1; grid-row:2; }
}

/* Public Value mobile contents: the same visual treatment as the essay menu. */
@media(max-width:799px) {
 body.page-public-value-studie-2023 .ifdf-public-value-toc summary { position:relative; z-index:122; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc summary::after { width:10px; height:10px; border-width:2px; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc[open]::before { content:''; position:fixed; inset:36px 0 0; background:rgba(210,210,210,.48); backdrop-filter:blur(13px); z-index:121; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav { z-index:123; padding:16px 24px 20px; max-height:min(65vh,560px); background:rgba(255,255,255,.96); backdrop-filter:blur(16px); box-shadow:0 10px 24px rgba(0,0,0,.04); }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav > ul { border-left:2px dotted #777; padding:0 0 0 18px !important; margin:10px 0 18px !important; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav li { position:relative; padding:0 !important; margin:0 0 10px !important; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav li::before { content:''; position:absolute; width:7px; height:7px; border-radius:50%; left:-23px; top:8px; background:#fff; border:1px solid #999; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav a { display:block; font:500 15px/22.5px SuisseScreen-Monitor; color:#222; text-decoration:none; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav a.active { color:#ff6e2f; font-weight:700; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav li.active::before { background:#ff6e2f; border-color:#ff6e2f; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav ul ul { border:0; padding:0 !important; margin:6px 0 0 12px !important; }
 body.page-public-value-studie-2023 .ifdf-public-value-toc nav ul ul li::before { width:5px; height:5px; left:-13px; top:9px; }
}

/* Design und Industrie: scoped Figma layout, 2026-11-17. */
body.page-design-und-industrie #main .hero_industrie { max-width:1770px; margin:0 auto; padding:35px 40px 80px !important; }
body.page-design-und-industrie .hero_industrie .section-content > .row { width:100%; max-width:none; margin:0; padding:0; }
body.page-design-und-industrie .hero_industrie .section-content > .row:first-child > .col { padding:0; }
body.page-design-und-industrie .hero_industrie .section-content > .row:first-child > .col > .col-inner { max-width:823px !important; margin:0; }
body.page-design-und-industrie .hero_industrie h1 { font-family:SuisseScreen-Medium; font-size:70px; line-height:80px !important; letter-spacing:-.7px; height:155px; margin:0 0 40px; }
body.page-design-und-industrie .hero_industrie .fs-20 { width:100%; max-width:none; padding-bottom:123px; }
body.page-design-und-industrie .hero_industrie .fs-20 p { max-width:731px; font-family:SuisseScreen-Monitor; font-size:16px !important; line-height:23px !important; margin:0 0 23px; }
body.page-design-und-industrie .hero_industrie .fs-20 p:last-child { margin-bottom:0 !important; }
body.page-design-und-industrie .hero_industrie .section-content > .row.row-small { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
body.page-design-und-industrie .hero_industrie .row.row-small > .col { width:100%; max-width:none; padding:0 !important; margin:0; }
body.page-design-und-industrie .hero_industrie .row.row-small > .col > .col-inner { display:flex; flex-direction:column; gap:11px; height:590px; width:100%; max-width:none; margin:0; padding:27px 27px 0; overflow:hidden; background:#efefef; }
body.page-design-und-industrie .hero_industrie h2 { font-family:SuisseScreen-Medium; font-size:26px; line-height:normal; letter-spacing:-.26px; margin:0; }
body.page-design-und-industrie .hero_industrie h2 + p { font-family:SuisseScreen-Monitor; font-size:16px; line-height:23px; margin:0; }
body.page-design-und-industrie .hero_industrie .button.btn-blue { display:inline-flex; align-items:center; align-self:flex-start; gap:8px; min-height:0; font-size:15px; line-height:22px !important; letter-spacing:-.6px; margin:0; padding:0 0 2px !important; background:transparent; border:0; box-shadow:none; }
body.page-design-und-industrie .hero_industrie .button.btn-blue::after { flex:0 0 14px; width:14px; height:14px; margin:0; top:0; }
body.page-design-und-industrie .hero_industrie .row.row-small .img_full { position:static; inset:auto; flex:0 0 327px; height:327px; width:calc(100% + 54px) !important; max-width:none; margin:auto -27px 0; }
body.page-design-und-industrie .hero_industrie .img_full .img-inner, body.page-design-und-industrie .hero_industrie .img_full img { width:100%; height:100%; object-fit:cover; }
@media(max-width:799px) {
 body.page-design-und-industrie #main .hero_industrie { padding:92px 20px 60px !important; }
 body.page-design-und-industrie .hero_industrie h1 { height:auto; font-size:47px; line-height:58px !important; letter-spacing:-.47px; margin:0 0 60px; }
 body.page-design-und-industrie .hero_industrie .fs-20 { padding-bottom:74px; }
 body.page-design-und-industrie .hero_industrie .fs-20 p { font-size:16px !important; line-height:24px !important; margin-bottom:24px; }
 body.page-design-und-industrie .hero_industrie .section-content > .row.row-small { grid-template-columns:minmax(0,1fr); gap:20px; }
 body.page-design-und-industrie .hero_industrie .row.row-small > .col > .col-inner { height:auto; min-height:591px; gap:0; padding:25px 20px 0; }
 body.page-design-und-industrie .hero_industrie h2 { font-size:25px; letter-spacing:-.25px; margin-bottom:20px; overflow-wrap:anywhere; }
 body.page-design-und-industrie .hero_industrie h2 + p { line-height:24px; margin-bottom:13px; }
 body.page-design-und-industrie .hero_industrie .row.row-small .img_full { flex:1 0 246px; min-height:246px; height:246px; width:calc(100% + 40px) !important; margin:30px -20px 0; }
}

body.page-design-und-industrie .hero_industrie .button.btn-blue > span { line-height:22px !important; }

body.page-design-und-industrie .hero_industrie .row-small p br { display:none; }

/* Keep the mobile title line breaks from the 335px Figma text frame. */
@media (max-width:799px) {
 body.page-design-und-industrie .hero_industrie h1 { width:100%; max-width:335px; }
}
@media (max-width:374px) {
 body.page-design-und-industrie .hero_industrie h1 { font-size:calc((100vw - 55px) * .14); line-height:1.234 !important; }
}

/* Blue card links: align SVG geometry with the visible text, independent of inline image baseline. */
body.page-design-und-industrie .hero_industrie .button.btn-blue::after { content:""; display:block; background:url("../images/right-blue.svg") center / 14px 14px no-repeat; line-height:0; top:-1px; }

/* Design studieren: page-name scope, Figma desktop and mobile layout. */
body.page-design-studieren #main > #content { max-width:1770px; margin:auto; }
body.page-design-studieren #main .section-was-erwa { padding:35px 40px 80px !important; }
body.page-design-studieren .section-was-erwa .row, body.page-design-studieren .st_scrolling .row-scroll { width:100%; max-width:none; margin:0; }
body.page-design-studieren .section-was-erwa .col { padding:0 !important; }
body.page-design-studieren .section-was-erwa h1 { font-family:SuisseScreen-Medium; font-size:70px; line-height:80px !important; letter-spacing:-.7px; height:155px; max-width:640px; margin:0; }
body.page-design-studieren #main .st_scrolling { padding:0 40px 100px !important; overflow:clip; }
body.page-design-studieren .st_scrolling .row-scroll { display:grid; grid-template-columns:460px minmax(0,1fr); column-gap:69px; align-items:start; }
body.page-design-studieren .st_scrolling .row-scroll > .col { width:100%; max-width:none; padding:0 !important; }
body.page-design-studieren .st_scrolling .row-scroll > .col:first-child > .col-inner { padding:0 !important; }
body.page-design-studieren .row-scroll h2 { font-family:SuisseScreen-Medium; font-size:26px; line-height:normal; letter-spacing:-.26px; margin:0 0 20px; }
body.page-design-studieren .row-scroll p { font-family:SuisseScreen-Monitor; font-size:16px; line-height:23px; max-width:none; margin:0 0 20px; }
body.page-design-studieren .row-scroll a.button.primary + h2, body.page-design-studieren .row-scroll .custom-h2 { margin-top:80px; }
body.page-design-studieren .row-scroll .custom-h2 h2 { font-family:SuisseScreen-SemiBold; font-size:33px; line-height:42px; letter-spacing:-.33px; margin:0 0 20px; }
body.page-design-studieren .st_scrolling .button.btn-purple { display:inline-flex; align-items:center; gap:8px; max-width:100%; height:auto !important; min-height:31px; margin:0; padding:4px 12px !important; border:1px solid #b300aa; border-radius:32px; font-size:14px; line-height:21px !important; letter-spacing:-.56px; white-space:normal; text-align:left; }
body.page-design-studieren .st_scrolling .button.btn-purple > span { min-width:0; line-height:21px !important; }
body.page-design-studieren .st_scrolling .button.btn-purple::after { content:""; display:block; background:url("../images/right-purple.svg") center / contain no-repeat; width:14px; height:14px; flex:0 0 14px; line-height:0; margin:0; top:-1px; }
body.page-design-studieren .row-scroll .button + .button { margin-top:10px; }
body.page-design-studieren .row-scroll > .col:nth-child(2) { position:sticky; top:0; margin-top:-73px; max-height:none; }
body.page-design-studieren .row-scroll > .col:nth-child(2) > .col-inner { padding:0 !important; width:calc(100% + 46px); max-width:949px; }
body.page-design-studieren .row-scroll > .col:nth-child(2) .img { width:100%; margin:0; }
@media (min-width:800px) and (max-width:1179px) {
 body.page-design-studieren .st_scrolling .row-scroll { grid-template-columns:minmax(0,460px) minmax(0,1fr); gap:30px; }
}
@media (max-width:799px) {
 body.page-design-studieren #main .section-was-erwa { padding:92px 20px 60px !important; }
 body.page-design-studieren .section-was-erwa h1 { height:auto; width:100%; max-width:335px; font-size:47px; line-height:58px !important; letter-spacing:-.47px; }
 body.page-design-studieren .study-title-top, body.page-design-studieren .study-title-word, body.page-design-studieren .study-title-word > span { display:block; }
 body.page-design-studieren .study-title-word > span { white-space:nowrap; }
 body.page-design-studieren #main .st_scrolling { padding:0 20px 78px !important; }
 body.page-design-studieren .st_scrolling .row-scroll { display:block; }
 body.page-design-studieren .row-scroll h2 { font-size:25px; letter-spacing:-.25px; margin:0 0 30px; }
 body.page-design-studieren .row-scroll p { line-height:24px; margin:0 0 30px; }
 body.page-design-studieren .row-scroll a.button.primary + h2, body.page-design-studieren .row-scroll .custom-h2 { margin-top:60px; }
 body.page-design-studieren .row-scroll .custom-h2 h2 { font-size:30px; line-height:38px; letter-spacing:-.3px; margin-bottom:30px; }
 body.page-design-studieren .row-scroll > .col:nth-child(2) { display:none; }
}

body.page-design-studieren .row-scroll > .col:nth-child(2) img { aspect-ratio:949 / 841; height:auto; object-fit:contain; }
@media (max-width:374px) { body.page-design-studieren .section-was-erwa h1 { font-size:calc((100vw - 55px) * .14); line-height:1.234 !important; } }

@media (min-width:800px) { body.page-design-studieren .row-scroll > .col:nth-child(2) { align-self:start; height:max-content !important; max-height:none !important; } }

/* Die Entstehung des Studiengangfinders: isolated Figma layout. */
body.page-die-entstehung-des-studiengangfinders #main > #content { max-width:1770px; margin:auto; }
body.page-die-entstehung-des-studiengangfinders #main .studiengangfinders_1 { padding:51px 40px 80px !important; }
body.page-die-entstehung-des-studiengangfinders .studiengangfinders_1 .row-scroll { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; width:100%; max-width:none; margin:0; }
body.page-die-entstehung-des-studiengangfinders .row-scroll > .col { width:100%; max-width:none; padding:0 !important; margin:0; }
body.page-die-entstehung-des-studiengangfinders .row-scroll > .col:first-child { grid-column:2; grid-row:1; position:relative; left:-36px; }
body.page-die-entstehung-des-studiengangfinders .row-scroll > .col:first-child > .col-inner { padding:0 !important; }
body.page-die-entstehung-des-studiengangfinders .row-scroll h1 { font-family:SuisseScreen-SemiBold; font-size:33px; line-height:42px !important; letter-spacing:-.33px; width:615px; max-width:100%; margin:0 0 80px; }
body.page-die-entstehung-des-studiengangfinders .row-scroll p { font-family:SuisseScreen-Monitor; font-size:16px; line-height:23px; width:590px; max-width:100%; margin:0 0 25px; }
body.page-die-entstehung-des-studiengangfinders .row-scroll .text p:last-child, body.page-die-entstehung-des-studiengangfinders .row-scroll > .col:first-child > .col-inner > p:last-child { margin-bottom:0; }
body.page-die-entstehung-des-studiengangfinders .row-scroll > .col:nth-child(2) { grid-column:1; grid-row:1; position:sticky; top:0; align-self:start; height:max-content !important; max-height:none !important; margin:0; }
body.page-die-entstehung-des-studiengangfinders .row-scroll > .col:nth-child(2) > .col-inner { padding:0 !important; }
body.page-die-entstehung-des-studiengangfinders .row-scroll .img { width:100%; max-width:704px; margin:0; }
body.page-die-entstehung-des-studiengangfinders .row-scroll .img img { width:100%; height:auto; aspect-ratio:44/39; object-fit:contain; }
body.page-die-entstehung-des-studiengangfinders .studiengangfinders_1 + section:has(.is-divider) { display:none; }
body.page-die-entstehung-des-studiengangfinders #main .ld-last2 { padding:42px 40px 80px !important; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .row-small { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; width:100%; max-width:none; margin:0; padding:40px 0 0; border-top:1px solid #111; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .col { padding:0 !important; width:100%; max-width:none; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .col-inner { padding:0 !important; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 h2 { font-size:15px; line-height:22px; width:250px; max-width:100%; margin:0 0 0 auto; color:#929292; text-align:right; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .col:last-child > .col-inner { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .button { display:inline-flex; align-items:center; gap:8px; height:auto !important; min-height:31px; max-width:100%; padding:4px 12px !important; margin:0; font-size:14px; line-height:21px !important; letter-spacing:-.56px; white-space:normal; border:1px solid #b300aa; border-radius:32px; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .button > span { line-height:21px !important; min-width:0; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .button::after { content:""; display:block; background:url("../images/right-purple.svg") center/contain no-repeat; width:14px; height:14px; flex:0 0 14px; margin:0; top:-1px; line-height:0; }
body.page-die-entstehung-des-studiengangfinders #footer .footer-section { padding-top:112px !important; }
@media (max-width:799px) {
 body.page-die-entstehung-des-studiengangfinders #main .studiengangfinders_1 { padding:92px 20px 44px !important; }
 body.page-die-entstehung-des-studiengangfinders .studiengangfinders_1 .row-scroll { display:flex; flex-direction:column; gap:60px; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll > .col:first-child { order:0; position:static; padding-top:0 !important; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll h1 { width:100%; max-width:335px; font-size:30px; line-height:38px !important; letter-spacing:-.3px; margin:0 0 60px; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll p { width:100%; line-height:24px; margin-bottom:25px; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll .hide-for-small { display:none !important; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll .show-for-small { display:block !important; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll > .col:nth-child(2) { position:static; order:1; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll .img { margin:0 0 60px; }
 body.page-die-entstehung-des-studiengangfinders #main .ld-last2 { padding:50px 20px 80px !important; }
 body.page-die-entstehung-des-studiengangfinders .ld-last2 .row-small { grid-template-columns:minmax(0,1fr); gap:25px; padding-top:40px; }
 body.page-die-entstehung-des-studiengangfinders .ld-last2 h2 { width:100%; margin:0; font-size:17px; line-height:24px; text-align:left; }
}

@media(max-width:799px) {
 body.page-die-entstehung-des-studiengangfinders .row-scroll::before, body.page-die-entstehung-des-studiengangfinders .row-scroll::after { display:none; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll >.col:first-child >.col-inner >p:last-of-type { margin-bottom:0; }
 body.page-die-entstehung-des-studiengangfinders .row-scroll .show-for-small { padding-top:0 !important; }
}

@media(min-width:800px) { body.page-die-entstehung-des-studiengangfinders .row-scroll >.col:nth-child(2) { margin-top:-128px; } body.page-die-entstehung-des-studiengangfinders .row-scroll .img { width:704px !important; max-width:calc(100% + 32px); } }

body.page-die-entstehung-des-studiengangfinders #main .ld-last2 .row-small > .col { padding:0 !important; }
body.page-die-entstehung-des-studiengangfinders .ld-last2 .button { text-align:left; }

/* Desktop resources: override inherited narrow row and 40/60 column caps. */
@media(min-width:800px) {
 body.page-die-entstehung-des-studiengangfinders #main .ld-last2 .row-small { width:100% !important; max-width:none !important; margin:0 !important; align-items:center; }
 body.page-die-entstehung-des-studiengangfinders #main .ld-last2 .row-small::before, body.page-die-entstehung-des-studiengangfinders #main .ld-last2 .row-small::after { display:none; }
 body.page-die-entstehung-des-studiengangfinders #main .ld-last2 .row-small >.col { width:100% !important; max-width:100% !important; flex-basis:auto !important; }
 body.page-die-entstehung-des-studiengangfinders #main .ld-last2 .row-small >.col >.col-inner { width:100%; }
}

/* Prevent legacy content:url from drawing a second, baseline-shifted arrow. */
body.page-die-entstehung-des-studiengangfinders #main .ld-last2 .button.btn-purple::after { content:"" !important; width:14px !important; height:14px !important; line-height:0 !important; top:-1px !important; background-size:14px 14px; }

/* Responsive study-map image popup; do not inherit its fixed desktop figure width. */
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-container { display:flex; align-items:center; justify-content:center; padding:20px; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-container::before { display:none; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-content { width:100%; max-width:1106px; height:min(810px,calc(100dvh - 40px)); margin:0; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-figure { position:relative; width:100% !important; max-width:100%; height:100%; overflow:hidden; border-radius:24px; background:#fff; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-figure figure { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100% !important; max-width:100%; height:100%; padding:72px 24px 24px; margin:0; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox img.mfp-img { display:block; box-sizing:border-box; width:100% !important; height:100% !important; max-width:100% !important; max-height:100% !important; margin:0; padding:0; object-fit:contain; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-close { position:absolute; top:16px; right:16px; z-index:5; }

/* Image popup dimensions measured from desktop/mobile Figma frames. */
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-container { padding:90px 40px 100px; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-content { width:min(1106px,calc((100dvh - 190px) * 79 / 70)); max-width:100%; height:auto; aspect-ratio:79 / 70; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-figure { border-radius:20px; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-figure figure { padding:0; }
body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-close { width:32px; height:32px; min-height:0; min-width:0; top:35px; right:35px; line-height:30px; }
@media(max-width:799px) {
 body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-container { padding:20px; }
 body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-content { width:335px; max-width:100%; height:auto; aspect-ratio:auto; max-height:calc(100dvh - 40px); }
 body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-figure { height:auto; border:1px solid transparent; }
 body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-figure figure { height:auto; padding:66px 20px 20px; }
 body.page-die-entstehung-des-studiengangfinders .if-design-lightbox img.mfp-img { height:auto !important; aspect-ratio:141 / 125; max-height:calc(100dvh - 128px) !important; }
 body.page-die-entstehung-des-studiengangfinders .if-design-lightbox .mfp-close { top:19px; right:20px; }
}

/* Pressekontakt: page-scoped Figma spacing and typography. */
body.page-pressekontakt #main >#content { max-width:1770px; margin:auto; }
body.page-pressekontakt #main .st-contact2 { padding:51px 40px 0 !important; }
body.page-pressekontakt #main .st-contact2 .row, body.page-pressekontakt #main .st_press2 .row { width:100% !important; max-width:none !important; margin:0 !important; padding:0; }
body.page-pressekontakt #main .row::before, body.page-pressekontakt #main .row::after { display:none; }
body.page-pressekontakt #main .row >.col { padding:0 !important; }
body.page-pressekontakt .st-contact2 h1 { font-family:SuisseScreen-Medium; font-size:70px; line-height:80px !important; letter-spacing:-.7px; height:72px; margin:0 0 100px; }
body.page-pressekontakt .cl-presscontact >.col-inner { display:grid; grid-template-columns:repeat(2,minmax(0,460px)); gap:40px 60px; }
body.page-pressekontakt .st-contact2 .icon-box { display:flex; align-items:flex-start; width:100%; max-width:none; margin:0; padding:0; gap:12px; }
body.page-pressekontakt .st-contact2 .icon-box-img { flex:0 0 18px; width:18px !important; height:22px; margin:0; padding:0; display:flex; align-items:center; }
body.page-pressekontakt .st-contact2 .icon-box-img img { display:block; width:18px; height:18px; object-fit:contain; padding:0; }
body.page-pressekontakt .st-contact2 .icon-box-text { padding:0; min-width:0; }
body.page-pressekontakt .st-contact2 .icon-box p { font-family:SuisseScreen-Monitor; font-size:16px; line-height:23px; margin:0; overflow-wrap:anywhere; }
body.page-pressekontakt .st-contact2 .icon-box p:first-child { margin-bottom:10px; }
body.page-pressekontakt .st-contact2 .icon-box p strong { display:block; font-family:SuisseIntl-Mono-Bold; font-size:15px; line-height:22px; letter-spacing:-.6px; font-weight:normal; margin:0; }
body.page-pressekontakt #main .st_press2 { padding:130px 40px 0 !important; }
body.page-pressekontakt .st_press2 h2 { font-family:SuisseScreen-SemiBold; font-size:33px; line-height:42px; letter-spacing:-.33px; margin:0 0 30px; }
body.page-pressekontakt #main .st_press2 .row.btn-arrow { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:80px; }
body.page-pressekontakt #main .st_press2 .row.btn-arrow >.col { width:100% !important; max-width:100% !important; margin:0; }
body.page-pressekontakt .st_press2 .row.btn-arrow >.col >.col-inner { display:flex; flex-direction:column; align-items:flex-start; gap:25px; height:auto; }
body.page-pressekontakt .st_press2 h3 { font-family:SuisseScreen-SemiBold; font-size:20px; line-height:26px; letter-spacing:-.2px; margin:0; }
body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(-n+2) h3 { min-height:52px; }
body.page-pressekontakt .st_press2 p, body.page-pressekontakt .st_press2 .col-inner >div:not(.text), body.page-pressekontakt .st_press2 .col-inner >div >div { font-family:SuisseScreen-Monitor; font-size:16px; line-height:23px; margin:0; }
body.page-pressekontakt .st_press2 .button.btn-download { display:inline-flex; align-items:center; gap:8px; height:auto !important; min-height:0; padding:4px 11px 4px 13px !important; border:0; border-radius:17px; margin:0; background:#585858 !important; color:#fbfbfb; font-family:SuisseIntl-Mono; font-size:13px; line-height:20px !important; letter-spacing:-.52px; font-weight:normal; }
body.page-pressekontakt .st_press2 .button.btn-download >span { line-height:inherit; }
body.page-pressekontakt .st_press2 .button.btn-download::before { display:none !important; }
body.page-pressekontakt .st_press2 .button.btn-download::after { content:"" !important; display:block; flex:0 0 22px; width:22px !important; height:23px !important; line-height:0; background:url("../images/arrow-download.svg") center / 12px 12px no-repeat; margin:0; top:-1px !important; }
body.page-pressekontakt .st_press2 .button.btn-download:hover::after { right:0 !important; transform:translateX(5px); }
body.page-pressekontakt #footer .footer-section { padding-top:120px !important; }
@media(max-width:799px) {
 body.page-pressekontakt #main .st-contact2 { padding:60px 20px 0 !important; }
 body.page-pressekontakt .st-contact2 h1 { height:auto; font-size:47px; line-height:58px !important; letter-spacing:-.47px; margin:0 0 80px; }
 body.page-pressekontakt .cl-presscontact >.col-inner { grid-template-columns:minmax(0,1fr); gap:20px; }
 body.page-pressekontakt .cl-presscontact .icon-box:nth-child(1) { order:0; }
 body.page-pressekontakt .cl-presscontact .icon-box:nth-child(3) { order:1; margin-bottom:40px; }
 body.page-pressekontakt .cl-presscontact .icon-box:nth-child(2) { order:2; }
 body.page-pressekontakt .cl-presscontact .icon-box:nth-child(4) { order:3; }
 body.page-pressekontakt .st-contact2 .icon-box p { font-size:16px !important; line-height:24px; }
 body.page-pressekontakt .st-contact2 .icon-box p strong { font-size:14px; line-height:21px; letter-spacing:-.56px; }
 body.page-pressekontakt #main .st_press2 { padding:100px 20px 0 !important; }
 body.page-pressekontakt .st_press2 h2 { max-width:335px; font-size:30px; line-height:38px; letter-spacing:-.3px; margin-bottom:60px; }
 body.page-pressekontakt #main .st_press2 .row.btn-arrow { grid-template-columns:minmax(0,1fr); gap:60px; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col >.col-inner { gap:20px; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col h3 { min-height:0; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(1) { order:0; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(3) { order:1; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(5) { order:2; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(7) { order:3; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(2) { order:4; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(4) { order:5; }
 body.page-pressekontakt .st_press2 .row.btn-arrow >.col:nth-child(6) { order:6; }
 body.page-pressekontakt .st_press2 .button.btn-download { font-size:14px; line-height:21px !important; letter-spacing:-.56px; }
 body.page-pressekontakt #footer .footer-section { padding-top:112px !important; }
}

body.page-pressekontakt .st-contact2 .icon-box-text { padding:0 !important; }
body.page-pressekontakt .st_press2 .button.btn-download { margin:0 !important; border:0 !important; }

@media(min-width:800px) { body.page-pressekontakt .cl-presscontact >.col-inner { gap:40px 60px !important; } }
body.page-pressekontakt .st_press2 .button.btn-download::after { right:0 !important; transition:transform .5s ease !important; }

body.page-pressekontakt #main .st_press2 .row .button.primary.btn-download { background:#585858 !important; }
body.page-pressekontakt #main .st_press2 .button.btn-download >span { letter-spacing:inherit !important; }

@media(max-width:374px) { body.page-pressekontakt .st-contact2 h1 { font-size:calc((100vw - 55px) * .14); line-height:1.234 !important; } body.page-pressekontakt .st_press2 h2, body.page-pressekontakt .st_press2 h3 { overflow-wrap:anywhere; } }

/* Project Timeline: mobile-only Figma list geometry. */
@media(max-width:799px) {
 body.page-project-timeline #main .pj-slider { padding:30px 20px 0 !important; width:100%; max-width:none; margin:0; }
 body.page-project-timeline .pj-slider .pj-stage, body.page-project-timeline .pj-slider .pj-main, body.page-project-timeline .pj-slider .pj-carousel { width:100%; max-width:none; margin:0 !important; padding:0 !important; }
 body.page-project-timeline .pj-slider .pj-cell { display:flex; flex-direction:column; position:relative; width:100%; margin:0 0 70px !important; padding:30px 0 40px !important; gap:0; }
 body.page-project-timeline .pj-slider .pj-cell::before { display:none !important; }
 body.page-project-timeline .pj-slider .pj-cell::after { content:""; display:block; position:absolute; left:calc(50% - 1px); top:100%; width:2px; height:70px; margin:0; background:radial-gradient(circle,#585858 1px,transparent 1.1px) center top / 2px 8px repeat-y; border:0; }
 body.page-project-timeline .pj-slider .pj-mobile-date { display:flex; flex-direction:column; align-items:flex-start; gap:10px; height:76px; margin:0 0 20px; padding:0; }
 body.page-project-timeline .pj-slider .pj-mobile-year { display:flex; align-items:center; height:42px; font-family:SuisseScreen-SemiBold; font-size:50px; line-height:42px; letter-spacing:-.5px; font-weight:normal; margin:0; }
 body.page-project-timeline .pj-slider .pj-mobile-month { display:flex; align-items:center; height:24px; font-family:SuisseIntl-Mono-Bold; font-size:25px; line-height:24px; letter-spacing:-1px; font-weight:normal; margin:0; }
 body.page-project-timeline .pj-slider .pj-image { order:1; width:100%; height:auto; margin:0; padding:0; aspect-ratio:332/212; }
 body.page-project-timeline .pj-slider .pj-image img { width:100%; height:100%; object-fit:cover; }
 body.page-project-timeline .pj-slider .pj-tags { order:2; display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin:20px 0 0; padding:0; }
 body.page-project-timeline .pj-slider .pj-tag { display:inline-flex; width:max-content; max-width:100%; min-height:21px; padding:0 6px; margin:0; border:1px solid #ff6e2f; border-radius:12px; color:#ff6e2f; font:13px/18px SuisseIntl-Mono; letter-spacing:-.52px; white-space:normal; }
 body.page-project-timeline .pj-slider .pj-content { order:3; display:flex; flex-direction:column; align-items:flex-start; gap:20px; padding:0; margin:20px 0 0; }
 body.page-project-timeline .pj-slider .pj-title { font-family:SuisseScreen-Medium; font-size:25px; font-weight:normal; line-height:normal; letter-spacing:-.25px; margin:0; }
 body.page-project-timeline .pj-slider .pj-excerpt { font-family:SuisseScreen-Monitor; font-size:16px; line-height:24px; margin:0; }
 body.page-project-timeline .pj-slider .pj-content >.btn-arrow { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0; }
 body.page-project-timeline .pj-slider .button { display:inline-flex; align-items:center; gap:8px; width:max-content; max-width:100%; min-height:0; height:auto !important; margin:0 !important; padding:4px 11px 4px 13px !important; font-size:14px; line-height:21px !important; letter-spacing:-.56px; border-radius:17px; }
 body.page-project-timeline .pj-slider .button >span { font-size:inherit; line-height:inherit; letter-spacing:inherit !important; }
 body.page-project-timeline .pj-slider .button.btn-black { color:#929292; border:1px solid #929292 !important; background:transparent !important; }
 body.page-project-timeline .pj-slider .button.btn-download { font-family:SuisseIntl-Mono; color:#fbfbfb; border:0 !important; background:#929292 !important; }
 body.page-project-timeline .pj-slider .button::before { display:none !important; }
 body.page-project-timeline .pj-slider .button::after { content:"" !important; display:block; flex:0 0 14px; width:14px !important; height:14px !important; margin:0; line-height:0; top:-1px !important; right:0 !important; background:url("../images/right-arrow.svg") center/14px 14px no-repeat; transition:transform .5s ease !important; }
 body.page-project-timeline .pj-slider .button.btn-black::after { opacity:.55; }
 body.page-project-timeline .pj-slider .button.btn-download::after { flex-basis:22px; width:22px !important; height:23px !important; background-image:url("../images/arrow-download.svg"); background-size:12px 12px; }
 body.page-project-timeline .pj-slider .button:hover::after { transform:translateX(5px); }
 body.page-project-timeline #footer .footer-section { padding-top:60px !important; }
}

@media(max-width:799px) { body.page-project-timeline #main .pj-slider .pj-content .button.primary.btn-download { background:#929292 !important; } }

/* Stiftungszweck und Story: isolated mobile Figma layout, 2026-11-17. */
@media(max-width:799px) {
 body.page-stiftungszweck-und-story #main .st-stiftungszweck { padding:60px 20px 60px !important; }
 body.page-stiftungszweck-und-story #main .st-stiftungszweck .row { width:100%; max-width:none; margin:0; }
 body.page-stiftungszweck-und-story #main .st-stiftungszweck .col { padding:0 !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .custom-h1 { margin:0 0 60px; padding:0 !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck h1 { font:47px/58px SuisseScreen-Medium; letter-spacing:-.47px; margin:0 0 20px !important; max-width:335px; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .custom-h1 p { font:14px/21px SuisseIntl-Mono; letter-spacing:-.56px; margin:0; width:347px; max-width:calc(100% + 12px); }
 body.page-stiftungszweck-und-story .st-stiftungszweck .m-auto >.col-inner { max-width:none !important; padding:0 !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .m-auto p { font:16px/24px SuisseScreen-Monitor; margin:0 0 25px; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .m-auto p:last-child { margin-bottom:0; }
 body.page-stiftungszweck-und-story #main .st-personen { padding:0 10px 40px !important; }
 body.page-stiftungszweck-und-story .st-personen .section-content >.row { width:100%; max-width:none; margin:0; }
 body.page-stiftungszweck-und-story .st-personen .col_slider, body.page-stiftungszweck-und-story .st-personen .personen-slider { padding:0 !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-track { display:flex; flex-direction:column; gap:20px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide { display:flex; flex-direction:column; width:100%; margin:0 !important; padding:0 !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide >.col { width:100%; max-width:none; flex:none; padding:0 !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide >.col:nth-child(2) { order:-1; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide >.col:first-child >.col-inner { display:block; padding:30px 20px 40px !important; background:#efefef; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide .lead { font:14px/21px SuisseIntl-Mono-Bold; letter-spacing:-.56px; color:#929292; text-transform:uppercase; margin:0 0 15px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide h2 { font:30px/38px SuisseScreen-SemiBold; letter-spacing:-.3px; margin:0 0 40px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide p:not(.lead) { font:19px/normal SuisseScreen-SemiBold; letter-spacing:-.19px; margin:0 0 15px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide p strong { font-weight:normal; }
 body.page-stiftungszweck-und-story .st-personen ul { margin:0; padding:0 0 0 24px; }
 body.page-stiftungszweck-und-story .st-personen ul li { font:16px/24px SuisseScreen-Monitor; padding:0; margin:0; }
 body.page-stiftungszweck-und-story .st-personen .img { width:100% !important; margin:0; }
 body.page-stiftungszweck-und-story .st-personen .img img { display:block; width:100%; height:auto; aspect-ratio:27/28; object-fit:cover; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) { padding:60px 20px 40px !important; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) >.section-content >.row { width:100%; max-width:none; margin:0; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) >.section-content >.row >.col { padding:0 !important; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) >.section-content >.row >.col +.col { margin-top:100px; }
 body.page-stiftungszweck-und-story .h2-33 h2 { font:47px/58px SuisseScreen-Medium; letter-spacing:-.47px; margin:0 0 40px; }
 body.page-stiftungszweck-und-story #main .wrap-partner_new { display:flex; flex-direction:column; gap:40px; width:100%; margin:0 !important; }
 body.page-stiftungszweck-und-story #main .wrap-partner_new >.item { width:100% !important; max-width:100%; margin:0 !important; padding:0; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .img-p { width:100%; height:auto; aspect-ratio:1; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .img-p img { display:block; width:100%; height:100%; object-fit:cover; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .box { padding:15px 0 0; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner h4 { font:25px/normal SuisseScreen-Medium; letter-spacing:-.25px; margin:0 0 5px; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .short-desc { font:16px/24px SuisseScreen-Monitor; margin:0; }
 body.page-stiftungszweck-und-story #footer .footer-section { padding-top:60px !important; }
}
@media(max-width:374px) { body.page-stiftungszweck-und-story .st-stiftungszweck h1, body.page-stiftungszweck-und-story .h2-33 h2 { font-size:calc((100vw - 40px) * .14); line-height:1.234 !important; } }

/* Mobile navigation search: remove pointer-focus rectangle, keep dotted form underline. */
@media(max-width:799px) {
 #main-menu.ifdf-mobile-menu .ifdf-menu-search input.search-field:focus { outline:none !important; box-shadow:none !important; border:0 !important; }
}

/* Stiftung mobile portraits: remove legacy 335px cap so square frames scale with screen width. */
@media(max-width:799px) {
 body.page-stiftungszweck-und-story #main .wrap-partner_new .item-inner .img-p { width:100%; height:auto !important; max-height:none !important; aspect-ratio:1 / 1; }
 body.page-stiftungszweck-und-story #main .wrap-partner_new .item-inner .img-p img { display:block; width:100%; height:100% !important; max-height:none !important; aspect-ratio:1 / 1; object-fit:cover; }
}

/* Stiftung: complete desktop geometry measured against 1512px Figma frame. */
@media(min-width:800px) {
 body.page-stiftungszweck-und-story #main >#content { max-width:1512px; margin:auto; }
 body.page-stiftungszweck-und-story #main .st-stiftungszweck { padding:51px 40px 135px !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .row { width:100%; max-width:none; margin:0; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .col { padding:0 !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .custom-h1 { position:relative; padding:0; margin:0 0 60px; }
 body.page-stiftungszweck-und-story .st-stiftungszweck h1 { width:480px; max-width:100%; height:170px; font:70px/80px SuisseScreen-Medium; letter-spacing:-.7px; margin:0 !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .custom-h1 >p { position:absolute; left:336px; top:100px; width:377px; font:15px/22px SuisseIntl-Mono; letter-spacing:-.6px; margin:0 !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .m-auto >.col-inner { width:590px; max-width:100% !important; padding:0 !important; margin:auto; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .m-auto p { font:16px/23px SuisseScreen-Monitor; margin:0 0 25px; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .m-auto p:last-child { margin-bottom:0; }
 body.page-stiftungszweck-und-story #main .st-personen { padding:0 51px 0 !important; }
 body.page-stiftungszweck-und-story .st-personen .section-content >.row { width:100%; max-width:none; margin:0; }
 body.page-stiftungszweck-und-story .st-personen .col_slider, body.page-stiftungszweck-und-story .st-personen .personen-slider { width:100%; max-width:none; padding:0 !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide { width:100%; height:775px; margin:0 !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide >.col { padding:0; height:775px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide >.col:first-child >.col-inner { display:flex; flex-direction:column; height:100%; padding:70px 60px 80px !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide .lead { flex:none; font:17px/24px SuisseIntl-Mono-Bold; letter-spacing:-.765px; color:#909090; text-transform:uppercase; margin:0 0 20px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide h2 { font:33px/42px SuisseScreen-SemiBold; letter-spacing:-.33px; margin:0; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide p:not(.lead) { font:20px/normal SuisseScreen-SemiBold; letter-spacing:-.2px; margin:auto 0 25px !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide p strong { font:inherit; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide ul { margin:0; padding:0 0 0 24px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide li { font:16px/23px SuisseScreen-Monitor; margin:0; padding:0; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide .img, body.page-stiftungszweck-und-story .st-personen .personen-slide .img-inner { width:100% !important; height:100%; margin:0; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide .img img { display:block; width:100%; height:100%; object-fit:cover; }
 body.page-stiftungszweck-und-story .st-personen .personen-navigation { margin:30px auto 0; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) { padding:100px 40px 0 !important; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) >.section-content >.row { width:100%; max-width:none; margin:0; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) >.section-content >.row >.col { width:100%; max-width:100%; padding:0 !important; }
 body.page-stiftungszweck-und-story #content >.section:has(.wrap-partner_new) >.section-content >.row >.col +.col { margin-top:100px; }
 body.page-stiftungszweck-und-story .h2-33 h2 { font:33px/42px SuisseScreen-SemiBold; letter-spacing:-.33px; margin:0 0 30px; }
 body.page-stiftungszweck-und-story #main .wrap-partner_new { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; width:100%; padding:0; margin:0 !important; }
 body.page-stiftungszweck-und-story #main .wrap-partner_new >.item { width:100% !important; margin:0 !important; padding:0; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .img-p { width:100%; height:auto !important; max-height:none; aspect-ratio:1; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .img-p img { display:block; width:100%; height:100%; max-height:none; object-fit:cover; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .box { padding:15px 0 0; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner h4 { font:26px/normal SuisseScreen-Medium; letter-spacing:-.26px; margin:0 0 5px; }
 body.page-stiftungszweck-und-story .wrap-partner_new .item-inner .short-desc { font:16px/23px SuisseScreen-Monitor; margin:0; }
}
@media(min-width:800px) and (max-width:1179px) {
 body.page-stiftungszweck-und-story .st-personen .personen-slide >.col:first-child >.col-inner { padding:40px 30px !important; }
 body.page-stiftungszweck-und-story .st-stiftungszweck .custom-h1 >p { left:336px; width:calc(100% - 336px); }
 body.page-stiftungszweck-und-story #main .wrap-partner_new { grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px 10px; }
}
@media(max-width:799px) {
 body.page-stiftungszweck-und-story .st-personen .personen-slide h2, body.page-stiftungszweck-und-story .st-personen .personen-slide p:not(.lead) { max-width:315px; }
 body.page-stiftungszweck-und-story .h2-33 h2 { max-width:335px; }
}

@media(min-width:800px){body.page-stiftungszweck-und-story .st-personen .personen-slide >.col:nth-child(2) >.col-inner{height:100% !important;}}

@media(min-width:800px){body.page-stiftungszweck-und-story .st-personen .personen-slide:nth-child(2) h2{max-width:500px;}}

/* Mobile menu search focus — Figma Main Nav overlay, task 1220572205478855. */
@media (max-width:799px) {
 #main-menu .ifdf-mobile-nav.is-search-active { overflow:hidden; }
 #main-menu .ifdf-menu-search-overlay { position:absolute; inset:0 0 125px; z-index:2; background:rgba(212,212,212,.7); -webkit-backdrop-filter:blur(12.5px); backdrop-filter:blur(12.5px); }
 #main-menu .is-search-active .ifdf-menu-search { position:absolute; left:0; right:0; bottom:0; z-index:3; width:100%; height:125px; box-sizing:border-box; padding:45px 20px 50px; margin:0; background:#fbfbfb; }
 #main-menu .ifdf-search-back { z-index:4; }
 #main-menu .ifdf-search-back:focus-visible { outline:2px solid #111; outline-offset:4px; }
}

/* Summary related impulses: mobile line break before the quoted topic. */
@media(max-width:799px){body.single-dde_zusammenfassung .row-prak h2 .ifdf-summary-impulse-topic{display:block;}}

/* Essay mobile: quoted topic on its own line and slider flush with viewport right. */
@media(max-width:799px){
 body.single-dde_essay .row-persoenliche h2 .ifdf-essay-impulse-topic { display:block; }
 body.single-dde_essay .row-persoenliche .themenfelder-posts { width:calc(100% + 20px) !important; max-width:none !important; }
 body.single-dde_essay .row-persoenliche .flickity-prev-next-button.previous { left:calc(50% - 47px) !important; }
 body.single-dde_essay .row-persoenliche .flickity-prev-next-button.next { left:calc(50% - 5px) !important; }
}

/* Shared Impuls detail layout. Figma desktop and M (below 800px).
   Keep editorial text, links and gallery content untouched. */
body.single-themenfelder .ld-hero.ld-impuls {
  max-width:1512px; margin:0 auto; padding:85px 110px 60px !important;
}
body.single-themenfelder .ld-impuls .row {
  width:100%; max-width:none; margin-left:0; margin-right:0;
}
body.single-themenfelder .ld-impuls .col { padding:0 !important; }
body.single-themenfelder .ld-impuls .row-1 {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:70px; align-items:start; margin:0;
}
body.single-themenfelder .ld-impuls .row-1 > .col {
  width:100% !important; max-width:none !important; min-width:0; flex:none;
}
body.single-themenfelder .ld-impuls .row-1 > .col > .col-inner { padding:0 !important; }
body.single-themenfelder .ld-impuls .row-1::before,
body.single-themenfelder .ld-impuls .row-1::after { content:none !important; display:none !important; }
body.single-themenfelder .ld-impuls .ifdf-dde-impulse-row > .row > .col { padding:0 !important; }
body.single-themenfelder .ld-impuls .img-back {
  position:absolute; left:-70px; top:-45px; width:32px !important;
  height:32px; margin:0; padding:0; transform:none !important;
}
body.single-themenfelder .ld-impuls .img-back :is(a,.img-inner,img) {
  display:block; width:32px; height:32px; margin:0;
}
body.single-themenfelder .ld-impuls .lead {
  font:17px/24px SuisseIntl-Mono-Bold !important; letter-spacing:-.765px;
  text-transform:uppercase; color:#ff6e2f; margin:0 0 5px !important;
}
body.single-themenfelder .ld-impuls h1 {
  font:33px/42px SuisseScreen-SemiBold; letter-spacing:-.33px;
  margin:0 0 50px; padding:0; color:#111;
}
body.single-themenfelder .themenfelder-single-content,
body.single-themenfelder .themenfelder-single-content :is(p,li) {
  font:16px/23px SuisseScreen-Monitor; color:#111;
}
body.single-themenfelder .themenfelder-single-content :is(ol,ul) {
  margin:0 0 25px; padding-left:24px;
}
body.single-themenfelder .themenfelder-single-content li { margin:0; padding:0; }
body.single-themenfelder .themenfelder-single-content p { margin:0 0 25px; }
body.single-themenfelder .themenfelder-single-content > :last-child { margin-bottom:0; }
body.single-themenfelder .ld-impuls .row-1 .btn-download {
  display:inline-flex; align-items:center; gap:8px; min-height:30px;
  font:13px/18px SuisseIntl-Mono; letter-spacing:-.52px;
  margin:50px 0 0 !important; padding:5px 12px !important;
  line-height:18px !important; height:30px !important; box-sizing:border-box;
}
body.single-themenfelder .ifdf-impuls-gallery { margin:0; width:100%; }
body.single-themenfelder .ifdf-impuls-gallery__slide { margin:0; }
body.single-themenfelder .themenfelder-featured-image,
body.single-themenfelder .themenfelder-featured-image .img-inner { width:100%; margin:0; }
body.single-themenfelder .themenfelder-featured-image img {
  display:block; width:100%; height:auto; max-height:none; object-fit:contain;
}
body.single-themenfelder .ifdf-impuls-gallery__caption,
body.single-themenfelder .ifdf-impuls-gallery__caption p {
  font:15px/22px SuisseIntl-Mono-Bold; letter-spacing:-.6px;
  color:#111; margin:0; padding:0; width:100% !important; max-width:100%;
}
body.single-themenfelder .ifdf-impuls-gallery__caption { margin-top:15px !important; }
body.single-themenfelder .ld-impuls .row.btn-arrow { margin:140px 0 80px; }
body.single-themenfelder .ld-impuls .cl-btn > .col-inner {
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px; padding:0 !important;
}
body.single-themenfelder .ld-impuls .cl-btn a.button {
  width:max-content; max-width:100%; min-height:30px; height:auto;
  margin:0; font:13px/18px SuisseIntl-Mono-Bold !important; letter-spacing:-.52px;
  padding:5px 12px; height:30px !important; box-sizing:border-box;
}
body.single-themenfelder .ld-impuls .cl-btn a.button::after,
body.single-themenfelder .ld-impuls .cl-btn a.button:hover::after {
  content:'' !important; display:block; position:relative !important; top:-1px !important;
  width:14px !important; height:14px !important; flex:0 0 14px;
  margin:0 0 0 8px !important; background:url('../images/arrow-orange.svg') center/14px 14px no-repeat;
  transition:transform .5s ease;
}
body.single-themenfelder .ld-impuls .cl-btn a.button:hover::after { transform:translateX(5px); }
body.single-themenfelder .ld-impuls .row-1 .btn-download::after,
body.single-themenfelder .ld-impuls .row-1 .btn-download:hover::after {
  content:'' !important; display:block; position:relative !important; top:-1px !important;
  width:14px !important; height:14px !important; flex:0 0 14px; margin:0 !important;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.5%2012L0.5%2012%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6.5%201L6.5%208%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9.5%206L6.5%208L3.5%206%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/12px 12px no-repeat;
}
body.single-themenfelder .ld-impuls .section-content > .row:last-child > .col > .col-inner > h2 {
  font:17px/24px SuisseIntl-Mono-Bold; letter-spacing:-.765px;
  color:#ff6e2f; text-transform:uppercase; margin:0 0 25px;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .item .inner { border:0; }
body.single-themenfelder .ld-impuls .themenfelder-posts .content-item {
  box-sizing:border-box; height:170px !important; min-height:170px;
  padding:27px !important; display:flex; flex-direction:column; gap:16px;
}
body.single-themenfelder .ld-impuls .themenfelder-posts h3 {
  font:20px/26px SuisseScreen-SemiBold; letter-spacing:-.2px;
  height:auto; min-height:0; margin:0;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .text-or { margin:0; }
body.single-themenfelder .ld-impuls .themenfelder-posts .text-or a {
  font:15px/22px SuisseIntl-Mono-Bold !important; letter-spacing:-.6px;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .content-item .text-or > a > b { display:none !important; }
body.single-themenfelder .ld-impuls .themenfelder-posts .content-item .text-or > a::after {
  content:'' !important; width:14px !important; height:14px !important;
  background:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"%3E%3Cpath d="M1 7H13M7 1V13" stroke="%23ff6e2f" stroke-width="1.5" stroke-linecap="round"/%3E%3C/svg%3E') center/14px 14px no-repeat !important;
  top:-1px !important; transition:transform .25s ease; transform:none;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .content-item .text-or > a:hover::after { transform:translateX(5px); }
@media(prefers-reduced-motion:reduce) {
  body.single-themenfelder .ld-impuls .themenfelder-posts .content-item .text-or > a::after { transition:none; }
}
body.single-themenfelder .ld-impuls .themenfelder-posts .thumb {
  height:300px; overflow:hidden; background:#fff;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .thumb img {
  display:block; width:100%; height:100%; object-fit:contain;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .thumb img[width="350"][height="300"] { object-fit:cover; }
body.single-themenfelder .ld-impuls .themenfelder-posts .flickity-prev-next-button {
  width:32px !important; height:32px !important; min-height:32px !important; max-height:none !important; padding:0;
  box-shadow:none; line-height:1;
}
@media(min-width:800px) {
  body.single-themenfelder .ld-impuls .themenfelder-posts:not(.flickity-enabled) { gap:25px !important; }
}
@media(min-width:800px) and (max-width:1179px) {
  body.single-themenfelder .ld-hero.ld-impuls { padding-left:60px !important; padding-right:60px !important; }
  body.single-themenfelder .ld-impuls .row-1 { gap:40px; }
  body.single-themenfelder .ld-impuls .img-back { left:-40px; }
}
@media(max-width:799px) {
  body.single-themenfelder .ld-hero.ld-impuls { padding:96px 20px 60px !important; }
  body.single-themenfelder .ld-impuls .row-1 { grid-template-columns:minmax(0,1fr); gap:70px; }
  body.single-themenfelder .ld-impuls .img-back { position:absolute !important; left:0 !important; top:-76px !important; }
  body.single-themenfelder .ld-impuls .lead { font-size:14px !important; line-height:21px !important; letter-spacing:-.63px; }
  body.single-themenfelder .ld-impuls h1 { font-size:30px; line-height:38px !important; letter-spacing:-.3px; }
  body.single-themenfelder .themenfelder-single-content,
  body.single-themenfelder .themenfelder-single-content :is(p,li) { line-height:24px; }
  body.single-themenfelder .ld-impuls .row-1 .btn-download,
  body.single-themenfelder .ld-impuls .cl-btn a.button {
    font-size:14px !important; line-height:21px !important; letter-spacing:-.56px; min-height:32px;
    height:32px !important; padding-top:4px !important; padding-bottom:5px !important;
  }
  body.single-themenfelder .ifdf-impuls-gallery__caption,
  body.single-themenfelder .ifdf-impuls-gallery__caption p { font-size:14px; line-height:21px; letter-spacing:-.56px; }
  body.single-themenfelder .ld-impuls .row.btn-arrow { margin:60px 0; }
  body.single-themenfelder .ld-impuls .cl-btn > .col-inner { flex-direction:column; }
  body.single-themenfelder .ifdf-impuls-related-topic { display:block; }
  body.single-themenfelder .ld-impuls .themenfelder-row { width:calc(100% + 20px); }
  body.single-themenfelder .ld-impuls .themenfelder-posts { width:100% !important; max-width:100% !important; margin:0 !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .item { width:min(290px,calc(100vw - 85px)) !important; padding:0 !important; margin-right:25px !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts:not(.flickity-enabled) { display:flex; flex-wrap:nowrap; gap:0; overflow:hidden; }
  body.single-themenfelder .ld-impuls .themenfelder-posts:not(.flickity-enabled) > .item { flex:0 0 min(290px,calc(100vw - 85px)); }
  body.single-themenfelder .ld-impuls .themenfelder-posts .content-item { height:160px !important; min-height:160px; padding:20px !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts h3 { font-size:19px; line-height:normal; letter-spacing:-.19px; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .text-or a { font-size:14px !important; line-height:21px !important; letter-spacing:-.56px; }
}

/* Impuls detail only: static desktop grid and measured mobile carousel. */
body.single-themenfelder .ld-impuls .themenfelder-posts {
  width:100% !important; max-width:100% !important; margin:0 !important; padding:0 !important;
}
body.single-themenfelder .ld-impuls .themenfelder-posts::after { content:none; display:none; }
body.single-themenfelder .ld-impuls .themenfelder-posts .item {
  padding:0 !important; margin:0 !important; min-width:0; max-width:none; transform:none !important;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .item .inner {
  display:grid; grid-template-rows:170px 300px; height:470px;
  margin:0 !important; transform:none !important; border:0 !important;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .content-item { align-items:flex-start; }
body.single-themenfelder .ld-impuls .themenfelder-posts h3 {
  font:20px/26px SuisseScreen-SemiBold !important; height:auto !important; min-height:0 !important; margin:0 !important;
}
body.single-themenfelder .ld-impuls .themenfelder-posts .text-or { margin:0 !important; padding:0; }
body.single-themenfelder .ld-impuls .themenfelder-posts .text-or > a { display:inline-flex; align-items:center; gap:8px; }
body.single-themenfelder .ld-impuls .themenfelder-posts .text-or > a::after { flex:0 0 14px; margin:0 !important; position:relative !important; }
body.single-themenfelder .ld-impuls .themenfelder-posts .thumb { display:block; height:300px !important; min-height:0; }
body.single-themenfelder .ld-impuls .themenfelder-posts .thumb img {
  width:100% !important; height:100% !important; max-height:none; margin:0; transform:none !important;
}
@media(min-width:800px) {
  body.single-themenfelder .ld-impuls .themenfelder-row .themenfelder-posts:not(.flickity-enabled) {
    display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px !important; overflow:visible;
  }
  body.single-themenfelder .ld-impuls .themenfelder-posts .item { width:100% !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .content-item .text-or > a::after {
    background:url('../images/arrow-orange.svg') center/14px 14px no-repeat !important;
  }
}
@media(max-width:799px) {
  body.single-themenfelder .ld-impuls .themenfelder-posts::after { content:'flickity'; display:none; }
  body.single-themenfelder .ld-impuls .themenfelder-posts { padding-bottom:62px !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .item {
    width:min(290px,calc(100vw - 85px)) !important; margin-right:25px !important;
  }
  body.single-themenfelder .ld-impuls .themenfelder-posts .item .inner { grid-template-rows:160px 300px; height:460px; }
  body.single-themenfelder .ld-impuls .themenfelder-posts h3 { font-size:19px !important; line-height:normal !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .flickity-prev-next-button {
    position:absolute !important; top:auto !important; bottom:0 !important;
    transform:none !important; margin:0 !important; padding:0 !important;
    border:0 !important; background:transparent !important; box-shadow:none !important;
    width:32px !important; height:32px !important; min-height:32px !important; max-height:32px !important;
  }
  body.single-themenfelder .ld-impuls .themenfelder-posts .flickity-prev-next-button.previous { left:calc((100% - 20px)/2 - 37px) !important; right:auto !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .flickity-prev-next-button.next { left:calc((100% - 20px)/2 + 5px) !important; right:auto !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .flickity-prev-next-button::before {
    display:block !important; width:32px !important; height:32px !important; position:static; margin:0; background-size:100% 100% !important; background-repeat:no-repeat;
  }
  body.single-themenfelder .ld-impuls .themenfelder-posts .flickity-prev-next-button svg { display:none !important; }
  body.single-themenfelder .ld-impuls .themenfelder-posts .flickity-prev-next-button:focus:not(:focus-visible) { outline:none; }
}

/* Public Value 2023 mobile: final chapter 80px + essay 60px = 140px. */
@media(max-width:799px) {
 body.page-public-value-studie-2023 .ld-public-value .row-pub .list-number { padding-bottom:80px !important; }
 body.page-public-value-studie-2023 .ld-public-value .row-pub .list-number > .col-inner > .text:last-child { margin-bottom:0 !important; }
}

/* The next-topics component adds 50px before its divider in Figma. */
@media(max-width:799px) {
 body.page-public-value-studie-2023 #main .ld-public-value { padding-bottom:110px !important; }
}

/* Public Value Studie 2023: measured mobile reading rhythm only. */
@media(max-width:799px) {
 body.page-public-value-studie-2023 .ld-public-value .cl-value.h2-mt { margin-bottom:120px !important; }
 body.page-public-value-studie-2023 .cl-value .custom-h1 > p:not(:first-of-type),
 body.page-public-value-studie-2023 .row-pub p,
 body.page-public-value-studie-2023 .row-pub li { font-size:16px; line-height:24px; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > p,
 body.page-public-value-studie-2023 .row-pub > .col-inner > .text:not(.txt-quote) p { margin-bottom:25px; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .text:not(.txt-quote) > p:last-child { margin-bottom:0 !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .banner { margin-top:120px !important; margin-bottom:60px !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .banner:first-of-type { margin-top:0 !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .img { margin:60px 0 0 !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .img + .txt-alt { margin:15px 0 60px !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .txt-alt p {
  font:14px/21px SuisseIntl-Mono-Bold !important; letter-spacing:-.56px; margin:0 !important;
 }
 body.page-public-value-studie-2023 .row-pub .txt-quote {
  display:flow-root; padding:20px 0 !important; margin:60px auto !important;
 }
 body.page-public-value-studie-2023 .row-pub .txt-quote blockquote { margin:0 !important; padding:0 !important; border:0; }
 body.page-public-value-studie-2023 .row-pub .txt-quote blockquote p {
  font-size:48px; line-height:55px !important; letter-spacing:-.48px; margin:0 !important;
 }
 body.page-public-value-studie-2023 .row-pub .txt-quote > p {
  font:16px/normal SuisseScreen-Monitor !important; letter-spacing:-.24px;
  margin:35px 0 0 !important; text-transform:uppercase;
 }
}

/* Public Value mobile results cards, isolated from other layouts. */
@media(max-width:799px) {
 body.page-public-value-studie-2023 .row-pub > .col-inner > .text:has(+ .row-or) { display:flow-root; margin-bottom:25px !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .text:has(+ .row-or) > h3:last-child { margin-bottom:0 !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > :is(.row-or,.row-green) {
  width:calc(100% + 20px); max-width:none; margin:0 -10px 10px !important;
  padding:45px 20px !important; box-sizing:border-box;
 }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .row-green { margin-bottom:60px !important; }
 body.page-public-value-studie-2023 .row-pub :is(.row-or,.row-green) > .col { padding:0 !important; }
 body.page-public-value-studie-2023 .row-pub :is(.row-or,.row-green) > .col > .col-inner {
  display:flex; flex-direction:column; align-items:stretch; gap:70px; padding:0; margin:0;
 }
 body.page-public-value-studie-2023 .row-pub :is(.row-or,.row-green) h3 {
  font:25px/normal SuisseScreen-Medium !important; letter-spacing:-.25px;
  margin:0 !important; padding:0 10px; text-align:left;
 }
 body.page-public-value-studie-2023 .row-pub :is(.row-or,.row-green) .img { margin:0 !important; padding:0 10px; width:100%; }
 body.page-public-value-studie-2023 .row-pub :is(.row-or,.row-green) .img img { display:block; width:100%; height:auto; }
 body.page-public-value-studie-2023 .row-pub :is(.row-or,.row-green) > .col > .col-inner > p {
  margin:0 !important; padding:0 10px; font:16px/24px SuisseScreen-Monitor;
 }
}

/* Public Value 2023, mobile chapter 06 only. */
@media(max-width:799px) {
 body.page-public-value-studie-2023 .row-pub > .col-inner > .banner_06 { margin-bottom:0 !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .row:has(.txt-bg-or) {
  width:calc(100% + 20px); max-width:none; margin:0 -10px !important;
 }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .row:has(.txt-bg-or) > .col { padding:0 !important; }
 body.page-public-value-studie-2023 .row-pub > .col-inner > .row:has(.txt-bg-or) > .col > .col-inner {
  padding:40px 20px 80px !important; background:rgba(255,110,47,.6) !important; display:flow-root;
 }
 body.page-public-value-studie-2023 .row-pub .txt-bg-or { padding:0 10px; margin:0 !important; }
 body.page-public-value-studie-2023 .row-pub .txt-bg-or p { margin:0 0 25px !important; font:16px/24px SuisseScreen-Monitor; }
 body.page-public-value-studie-2023 .row-pub .txt-bg-or p:last-child { margin-bottom:0 !important; }
 body.page-public-value-studie-2023 .row-pub .col-inner:has(> .txt-bg-or) > .img { margin:80px 0 0 !important; padding:0 10px; }
 body.page-public-value-studie-2023 .row-pub .col-inner:has(> .txt-bg-or) > .txt-alt { padding:0 10px; margin:15px 0 80px !important; }
 body.page-public-value-studie-2023 .row-pub .col-inner:has(> .txt-bg-or) > .txt-alt p { font:14px/21px SuisseIntl-Mono-Bold; letter-spacing:-.56px; margin:0 !important; }
 body.page-public-value-studie-2023 .row-pub .col-inner:has(> .txt-bg-or) > p { font:16px/24px SuisseScreen-Monitor; padding:0 10px; margin:0 0 25px !important; }
 body.page-public-value-studie-2023 .row-pub .col-inner:has(> .txt-bg-or) > p:last-of-type { margin-bottom:0 !important; }
}

/* Publikationen only: measured cards, download buttons and cover frames. */
body.page-publikationen .st-publikationen > .section-content > .row {
 margin:0 0 50px !important; width:100%; max-width:none; gap:50px; align-items:center;
}
body.page-publikationen .st-publikationen > .section-content > .row:last-child { margin-bottom:0 !important; }
body.page-publikationen .st-publikationen > .section-content > .row > .col {
 padding:0 !important; flex:0 0 calc((100% - 50px)/2); max-width:calc((100% - 50px)/2);
}
body.page-publikationen .st-publikationen h2 { font:26px/normal SuisseScreen-Medium; letter-spacing:-.26px; margin:10px 0 !important; }
body.page-publikationen .st-publikationen p { font:13px/18px SuisseScreen-Monitor; margin:0 !important; }
body.page-publikationen .st-publikationen ul { margin:0 !important; }
body.page-publikationen .st-publikationen .img { margin:0 !important; width:100%; }
body.page-publikationen .st-publikationen .img-inner { aspect-ratio:690/500; overflow:hidden; }
body.page-publikationen .st-publikationen .img img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
body.page-publikationen .st-publikationen a.button.btn-download {
 display:inline-flex; align-items:center; gap:8px; padding:4px 11px 4px 13px !important;
 font:13px/20.02px SuisseIntl-Mono; letter-spacing:-.52px; height:auto !important; min-height:31px;
 margin:25px 0 0 !important; border:0 !important; background:#585858 !important; color:#fbfbfb;
}
body.page-publikationen .st-publikationen a.button.btn-download > span { line-height:inherit; }
body.page-publikationen .st-publikationen a.button.btn-download::after,
body.page-publikationen .st-publikationen a.button.btn-download:hover::after {
 content:'' !important; display:block; width:22px !important; height:23px !important; flex:0 0 22px;
 margin:0 !important; position:relative !important; top:-1px !important; right:0 !important;
 transition:transform .5s ease; background-position:center; background-size:12px 12px; background-repeat:no-repeat;
}
body.page-publikationen .st-publikationen a.button.btn-download:hover::after { transform:translateX(5px); }
@media(max-width:799px) {
 body.page-publikationen .st-publikationen > .section-content > .row { display:flex; flex-direction:column; align-items:stretch; gap:15px; margin-bottom:44px !important; }
 body.page-publikationen .st-publikationen > .section-content > .row > .col { flex:0 0 auto; width:100%; max-width:100%; }
 body.page-publikationen .st-publikationen > .section-content > .row > .col:has(.img) { order:-1; }
 body.page-publikationen .st-publikationen .img-inner { aspect-ratio:1; }
 body.page-publikationen .st-publikationen h2 { font-size:25px; letter-spacing:-.25px; }
 body.page-publikationen .st-publikationen a.button.btn-download { font-size:14px; line-height:21px; letter-spacing:-.56px; min-height:32px; }
}

body.page-publikationen .st-publikationen a.button.btn-download::after { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.5%2012L0.5%2012%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6.5%201L6.5%208%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9.5%206L6.5%208L3.5%206%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"); }

body.page-publikationen .st-publikationen > .section-content { width:calc(100% - 80px); margin:0 auto; }
body.page-publikationen .st-publikationen a.button.btn-download { line-height:20.02px !important; }
@media(max-width:799px) {
 body.page-publikationen .st-publikationen > .section-content { width:calc(100% - 40px); }
 body.page-publikationen .st-publikationen a.button.btn-download { line-height:21px !important; }
}

body.page-publikationen .st-publikationen > .section-content > .row::before,
body.page-publikationen .st-publikationen > .section-content > .row::after { display:none !important; content:none !important; }
body.page-publikationen .st-publikationen > .section-content > .row > .col { margin:0 !important; }

/* Public Value: mobile chapter covers 01–06, matched to the 355px Figma cover. */
@media (max-width: 799px) {
 body.page-public-value-studie-2023 .row-pub .banner:not(.banner_07) .text-box {
  width:100% !important;
  max-width:none;
  padding:0 30px !important;
  box-sizing:border-box;
 }
 body.page-public-value-studie-2023 .row-pub .banner:not(.banner_07) .text-inner > .text {
  display:flex;
  flex-direction:column;
  align-items:stretch;
 }
 body.page-public-value-studie-2023 .row-pub .banner:not(.banner_07) h2 {
  font:150px/150px SuisseScreen-Thin !important;
  letter-spacing:-1.5px;
  margin:0 !important;
 }
 body.page-public-value-studie-2023 .row-pub .banner:not(.banner_07) h3 {
  width:calc(100% - 40px);
  max-width:none;
  font:30px/38px SuisseScreen-SemiBold !important;
  letter-spacing:-.3px;
  margin:5px 20px !important;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:none;
 }
 body.page-public-value-studie-2023 .row-pub .banner:not(.banner_07) p {
  font:19px/25px SuisseScreen-SemiBold !important;
  letter-spacing:-.19px;
  margin:0 20px !important;
 }
 body.page-public-value-studie-2023 .row-pub .banner:not(.banner_07) p + p {
  font:13px/19px SuisseIntl-Mono-Bold !important;
  letter-spacing:-.52px;
  margin-top:20px !important;
 }
 /* Chapter 04 retains Figma's D/Mono/small-bold leading on mobile. */
 body.page-public-value-studie-2023 .row-pub .banner:nth-child(1 of .banner:has(p + p)) p + p {
  line-height:20.02px !important;
 }
}

/* Netzwerk only: measured desktop/mobile spacing; page content stays untouched. */
body.page-netzwerk .st-netzwerk > .section-content > .row > .col {
 padding-inline:40px;
}
body.page-netzwerk .st-netzwerk p { margin-bottom:0; }
body.page-netzwerk .menschen .wrap-partner .box h4 { margin:20px 0 5px !important; }
body.page-netzwerk .menschen .wrap-partner p.short-desc { margin:0; }
@media (min-width:1180px) {
 body.page-netzwerk .st-netzwerk { padding-top:35px !important; padding-bottom:82px !important; }
 body.page-netzwerk .st-netzwerk p { font:16px/23px SuisseScreen-Monitor; }
 body.page-netzwerk .get_partner_st > .section-content > .row > .col { padding-inline:40px; }
 body.page-netzwerk .get_partner_st .wrap-taxonomy { margin-bottom:80px; }
 body.page-netzwerk .get_partner_st .network-filter { min-height:54px; height:54px; padding:7px 10px; }
 body.page-netzwerk .get_partner_st .network-filter-dropdown > h4 { padding-inline:10px; }
 body.page-netzwerk .get_partner_st .wrap-partner { width:calc(100% + 4px); padding:0; margin-inline:-2px; }
}
@media (max-width:799px) {
 /* Figma: navbar bottom 54 + outer gap 40 + hero padding 40 = title top 134. */
 body.page-netzwerk .st-netzwerk { padding-top:54px !important; padding-bottom:40px !important; }
 body.page-netzwerk .st-netzwerk > .section-content > .row > .col { padding-inline:20px; }
 body.page-netzwerk .st-netzwerk h1 { font:47px/58px SuisseScreen-Medium; letter-spacing:-.47px; margin-bottom:60px; }
 body.page-netzwerk .st-netzwerk p { font:16px/24px SuisseScreen-Monitor; }
 body.page-netzwerk .get_partner_st { padding-top:40px !important; }
 body.page-netzwerk .get_partner_st .wrap-taxonomy { min-height:54px; margin-top:0; margin-bottom:40px; }
 body.page-netzwerk #main .get_partner_st .wrap-taxonomy > .mobi { margin-bottom:0 !important; }
 body.page-netzwerk .get_partner_st .wrap-partner { row-gap:40px; }
 body.page-netzwerk .get_partner_st .wrap-partner > .item { margin-bottom:0; }
 body.page-netzwerk .menschen .wrap-partner .box h4 { font:25px/30px SuisseScreen-Medium; letter-spacing:-.25px; margin:15px 0 5px !important; }
 body.page-netzwerk .menschen .wrap-partner p.short-desc { font:16px/24px SuisseScreen-Monitor; }
}

/* Netzwerk mobile cards: keep the square cover responsive beyond 375px. */
@media (max-width:799px) {
 body.page-netzwerk #main .menschen .wrap-partner .item-inner .img-p {
  width:100%;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:1 / 1;
 }
 body.page-netzwerk #main .menschen .wrap-partner .item-inner .img-p img {
  display:block;
  width:100%;
  height:100% !important;
  max-height:none !important;
  aspect-ratio:1 / 1;
  object-fit:cover;
 }
}

/* Netzwerk profile popup: keep taxonomy pills intact on mobile. */
@media (max-width: 799px) {
 body.page-netzwerk .mfp-container:has(.lightbox-partner) {
  width: 100vw;
  padding-inline: 20px;
 }
 body.page-netzwerk .mfp-content .lightbox-partner .blog-tags .tag-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex: 0 0 auto;
 }
}
@media (max-width: 399px) {
 body.page-netzwerk .mfp-content .lightbox-partner .blog-tags .tag-item {
  font-size: 12px;
  padding-inline: 8px;
 }
}
@media (max-width: 359px) {
 body.page-netzwerk .mfp-content .lightbox-partner .blog-tags .tag-item {
  font-size: 10px;
  padding-inline: 6px;
 }
}

/* Netzwerk: pin the existing profile close icon; hide the library control. */
body.page-netzwerk .mfp-wrap:has(.lightbox-partner) > .mfp-close {
 display: none !important;
}
body.page-netzwerk .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) {
 position: fixed;
 top: 78px;
 right: max(78px, calc((100vw - 1120px) / 2 + 48px));
 z-index: 1047;
}
@media (max-width: 799px) {
 body.page-netzwerk .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) {
  top: 40px;
  right: 30px;
 }
}

body.page-netzwerk .mfp-ready .mfp-content:has(.lightbox-partner) {
 transform: none !important;
}

/* Netzwerk mobile popup: allow scrolling past its bottom edge. */
@media (max-width: 799px) {
 body.page-netzwerk .mfp-container:has(.lightbox-partner) {
  height: auto;
  min-height: 100%;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
 }
}

/* Publikationen PDF: SVG includes its own download baseline. */
body.page-publikationen .st-publikationen a.button.btn-download::before {
 content: none !important;
 display: none !important;
}

/* Project Timeline mobile: four-line excerpts and a single download icon. */
@media (max-width: 799px) {
 body.page-project-timeline .pj-content .pj-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
 }
 body.page-project-timeline .pj-content a.button.btn-download::before {
  content: none !important;
  display: none !important;
 }
 body.page-project-timeline .pj-content a.button.btn-download::after {
  content: "" !important;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2013H13M7%201V9M3.5%205.5L7%209L10.5%205.5%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / 14px 14px no-repeat !important;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  top: 0;
  bottom: auto;
  align-self: center;
 }
}

/* Netzwerk mobile profile: equal image column insets. */
@media (max-width: 799px) {
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-5 {
  padding-inline: 15px !important;
 }
}

/* Netzwerk profile mobile popup: measured Figma spacing and typography. */
@media (max-width: 799px) {
 body.page-netzwerk .mfp-container:has(.lightbox-partner) { padding-top:20px; }
 body.page-netzwerk .mfp-content .lightbox-content:has(.lightbox-partner) { padding:19px 20px 20px !important; border-radius:20px; }
 body.page-netzwerk .mfp-content .lightbox-partner { display:flex; flex-direction:column; width:100%; max-width:none; margin:0; }
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-5 { display:flex; flex-direction:column; gap:15px; top:0; order:0; width:100%; max-width:100%; flex-basis:auto; margin:0; padding:0 !important; min-height:32px; }
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-5:not(:has(.partner-linkedin)) { padding-top:47px !important; }
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-5 > img { display:block; width:100%; height:auto; margin:0; }
 body.page-netzwerk .mfp-content .lightbox-partner .partner-linkedin { position:static; order:-1; height:32px; margin:0; padding:0 42px 0 0; }
 body.page-netzwerk .mfp-content .lightbox-partner .partner-linkedin a { display:inline-flex; align-items:center; gap:8px; height:32px; margin:0; padding:4px 12px; font:14px/21px SuisseIntl-Mono-Bold; letter-spacing:-.56px; box-sizing:border-box; }
 body.page-netzwerk .mfp-content .lightbox-partner .partner-linkedin a svg { display:block; width:14px; height:14px; flex:0 0 14px; margin:0; transform:none; }
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-7 { display:flex; flex-direction:column; order:1; flex-basis:auto; width:100%; max-width:100%; margin:40px 0 0; padding:0; }
 body.page-netzwerk .mfp-content .lightbox-partner .blog-tags { order:0; display:flex; flex-wrap:wrap; gap:15px; margin:0 0 15px; }
 body.page-netzwerk .mfp-content .lightbox-partner .tag-item { line-height:19px; min-height:21px; margin:0; }
 body.page-netzwerk .mfp-content .lightbox-partner h4 { order:1; font:30px/38px SuisseScreen-SemiBold; letter-spacing:-.3px; margin:0 0 10px; }
 body.page-netzwerk .mfp-content .lightbox-partner p.excerpt { order:2; font:14px/21px SuisseIntl-Mono; letter-spacing:-.56px; margin:0 0 40px; }
 body.page-netzwerk .mfp-content .lightbox-partner .my-content { order:3; font:16px/24px SuisseScreen-Monitor; }
 body.page-netzwerk .mfp-content .lightbox-partner .my-content p { font:16px/24px SuisseScreen-Monitor; margin:0 0 24px; }
 body.page-netzwerk .mfp-content .lightbox-partner .my-content p:last-child { margin-bottom:0; }
 body.page-netzwerk .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) { top:39px; right:40px; width:32px; height:32px; min-height:32px; line-height:32px; }
 body.page-netzwerk .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) i { display:block; line-height:32px; }
}

@media (max-width: 799px) {
 body.page-netzwerk .mfp-content .lightbox-partner .tag-item:not(.ifdf-long-tag) { font-size:13px; padding-inline:10px; }
}

/* Video mobile: card wrapper adds 10px, then 20px gap; next module is 44px + 50px before divider. */
@media (max-width: 799px) {
 body.ifdf-dde-video-page #main section.section.ld-hero.ld-video.ld-video-st.dde-video-template {
  padding-bottom: 0 !important;
 }
 body.ifdf-dde-video-page .dde-video-template .themenfelder-posts.ifdf-dde-impulses {
  padding-bottom: 62px !important;
 }
}

/* Themenfelder mobile: align the filter with its Figma overlay position. */
@media (max-width: 799px) {
  body.page-themenfelder #main .st-themenfelder-2 {
    padding-top: 45px !important;
  }
  body.page-themenfelder .st-themenfelder-2 > .section-content > .row-sticky {
    margin-bottom: 155px;
  }
}

/* Design studieren: button dimensions and spacing from the desktop/mobile design. */
body.page-design-studieren .st_scrolling .button.btn-purple {
  padding: 4px 11px 4px 13px !important;
}
@media (min-width: 800px) {
  body.page-design-studieren .st_scrolling .button.btn-purple {
    font-size: 13px;
    line-height: 20px !important;
    letter-spacing: -.52px;
  }
  body.page-design-studieren .st_scrolling .button.btn-purple > span {
    line-height: 20px !important;
  }
  body.page-design-studieren .row-scroll .button + .button {
    margin-top: 15px;
  }
}
@media (max-width: 799px) {
  body.page-design-studieren .row-scroll h2 {
    line-height: 32px;
  }
  body.page-design-studieren .row-scroll .custom-h2 h2 {
    line-height: 38px;
  }
}

/* Story mobile: board-to-partners 100px; last person-to-newsletter 144px. */
@media (max-width: 799px) {
  body.page-stiftungszweck-und-story #content > .section:has(.wrap-partner_new) > .section-content > .row > .col + .col {
    margin-top: 50px;
  }
  body.page-stiftungszweck-und-story #content > .section:has(.wrap-partner_new) {
    padding-bottom: 84px !important;
  }
}

/* Header language links: replace the toggle graphic with a compact vertical separator. */
:is(#header, #main-menu) .gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
:is(#header, #main-menu) .gtranslate_wrapper::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: 1px !important;
  height: 13px !important;
  flex: 0 0 1px;
  order: 1;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: currentColor !important;
  transform: none !important;
}
:is(#header, #main-menu) .gtranslate_wrapper::after {
  content: none !important;
  display: none !important;
}
:is(#header, #main-menu) .gtranslate_wrapper > a[data-gt-lang="de"] { order: 0; }
:is(#header, #main-menu) .gtranslate_wrapper > a[data-gt-lang="en"] { order: 2; }

/* Story profile popup: share the measured mobile profile layout, keeping the original close control. */
@media (max-width: 799px) {
 body.page-stiftungszweck-und-story .mfp-container:has(.lightbox-partner) { width:100vw; height:auto; min-height:100%; padding:20px 20px calc(80px + env(safe-area-inset-bottom, 0px)); }
 body.page-stiftungszweck-und-story .mfp-container:has(.lightbox-partner)::before { display:none; }
 body.page-stiftungszweck-und-story .mfp-content:has(.lightbox-partner) { width:100%; vertical-align:top; transform:none !important; }
 body.page-stiftungszweck-und-story .mfp-wrap:has(.lightbox-partner) > .mfp-close { display:none !important; }
 body.page-stiftungszweck-und-story .lightbox-partner > .close-woof2 { display:none !important; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) { position:fixed; z-index:1047; }
}

/* Story profile mobile popup: measured Figma spacing and typography. */
@media (max-width: 799px) {
 body.page-stiftungszweck-und-story .mfp-container:has(.lightbox-partner) { padding-top:20px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-content:has(.lightbox-partner) { padding:19px 20px 20px !important; border-radius:20px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner { display:flex; flex-direction:column; width:100%; max-width:none; margin:0; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .col.large-5 { display:flex; flex-direction:column; gap:15px; top:0; order:0; width:100%; max-width:100%; flex-basis:auto; margin:0; padding:0 !important; min-height:32px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .col.large-5:not(:has(.partner-linkedin)) { padding-top:47px !important; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .col.large-5 > img { display:block; width:100%; height:auto; margin:0; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .partner-linkedin { position:static; order:-1; height:32px; margin:0; padding:0 42px 0 0; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .partner-linkedin a { display:inline-flex; align-items:center; gap:8px; height:32px; margin:0; padding:4px 12px; font:14px/21px SuisseIntl-Mono-Bold; letter-spacing:-.56px; box-sizing:border-box; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .partner-linkedin a svg { display:block; width:14px; height:14px; flex:0 0 14px; margin:0; transform:none; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .col.large-7 { display:flex; flex-direction:column; order:1; flex-basis:auto; width:100%; max-width:100%; margin:40px 0 0; padding:0; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .blog-tags { order:0; display:flex; flex-wrap:wrap; gap:15px; margin:0 0 15px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .tag-item { line-height:19px; min-height:21px; margin:0; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner h4 { order:1; font:30px/38px SuisseScreen-SemiBold; letter-spacing:-.3px; margin:0 0 10px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner p.excerpt { order:2; font:14px/21px SuisseIntl-Mono; letter-spacing:-.56px; margin:0 0 40px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .my-content { order:3; font:16px/24px SuisseScreen-Monitor; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .my-content p { font:16px/24px SuisseScreen-Monitor; margin:0 0 24px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .my-content p:last-child { margin-bottom:0; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) { top:39px; right:40px; width:32px; height:32px; min-height:32px; line-height:32px; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) i { display:block; line-height:32px; }
}

@media (max-width: 799px) {
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .tag-item:not(.ifdf-long-tag) { font-size:13px; padding-inline:10px; }
}

@media (max-width: 799px) {
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner .tag-item { display:inline-flex; align-items:center; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
 body.page-stiftungszweck-und-story .mfp-content .lightbox-partner > .col.large-7:has(> .my-content:empty) > p.excerpt { margin-bottom:0; }
}

/* Search results only: consistent cards, spacing, and one aligned reading arrow. */
body.search div#wrapper #main { padding-top: 0; background: #fbfbfb !important; }
body.search #main .blog-wrapper {
  background: #fbfbfb;
  padding: 60px 40px 100px;
}
body.search #main .archive-page-header { margin: 0 0 48px; padding: 0; }
body.search #main .archive-page-header > .row,
body.search #main .blog-wrapper > .row.align-center {
  width: 100%; max-width: 1200px !important; margin: 0 auto !important;
}
body.search #main .archive-page-header .col,
body.search #main .blog-wrapper > .row.align-center > .col {
  width: 100%; max-width: 100%; flex-basis: 100%; padding: 0;
}
body.search #main .archive-page-header .page-title {
  margin: 0; text-align: left; text-transform: none;
  font-family: 'SuisseScreen-Medium', sans-serif;
  font-size: 47px; line-height: 58px; letter-spacing: -.47px;
}
body.search #main #post-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; max-width: none; margin: 0;
}
body.search #main #post-list::before,
body.search #main #post-list::after { display: none; }
body.search #main #post-list > article {
  width: auto; max-width: none; min-width: 0; margin: 0; padding: 0;
  border: 1px solid #ddd; background: #fff;
}
body.search #main #post-list > article > .article-inner {
  padding: 28px 30px; height: 100%; display: flex;
  flex-flow: column nowrap; align-content: normal; gap: 24px;
}
body.search #main #post-list > article .entry-header,
body.search #main #post-list > article .entry-header-text { margin: 0; padding: 0; }
body.search #main #post-list > article h2.entry-title {
  font-family: 'SuisseScreen-Medium', sans-serif;
  font-size: 26px; line-height: 34px; letter-spacing: -.26px; margin: 0;
  overflow-wrap: anywhere;
}
body.search #main #post-list > article .entry-content { margin: auto 0 0; padding: 0; width: 100%; }
body.search #main #post-list > article .entry-summary > p {
  font-size: 16px; line-height: 24px; margin: 0 0 24px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
body.search #main #post-list > article .entry-summary > .text-left { margin: 0; }
body.search #main #post-list > article a.more-link.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; min-height: 32px; margin: 0; padding: 4px 12px;
  border: 1px solid currentColor; border-radius: 32px; box-shadow: none;
  background: transparent; color: #111;
  font-family: 'SuisseIntl-Mono-Bold', monospace;
  font-size: 13px; line-height: 20px; letter-spacing: 0; text-transform: none;
  transition: color .2s ease, background-color .2s ease;
}
body.search #main #post-list > article a.more-link.button::before,
body.search #main #post-list > article a.more-link.button::after,
body.search #main #post-list > article a.more-link.button > .meta-nav::before,
body.search #main #post-list > article a.more-link.button > .meta-nav::after { content: none !important; display: none !important; }
body.search #main #post-list > article a.more-link.button > .meta-nav {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; inset: auto; top: -1px;
  width: 18px; height: 18px; flex: 0 0 18px; margin: 0;
  font-family: Arial, sans-serif; font-size: 0; line-height: 18px;
  background: url(../images/right-arrow.svg) center / 18px 13px no-repeat;
  filter: brightness(0); transform: none; transition: transform .25s ease;
}
body.search #main #post-list > article a.more-link.button:hover,
body.search #main #post-list > article a.more-link.button:focus-visible { background: #111; color: #fff; }
body.search #main #post-list > article a.more-link.button:hover > .meta-nav { transform: translateX(3px); filter: brightness(0) invert(1); }
body.search #main #post-list > article a.more-link.button:focus-visible > .meta-nav { filter: brightness(0) invert(1); }
body.search #main #post-list > article > .article-inner > a.partner-button:has(> span:empty) { display: none !important; }
body.search #main #post-list > ul.nav-pagination {
  grid-column: 1 / -1; width: 100%; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 8px; margin: 24px 0 0; padding: 0;
}
body.search #main #post-list > ul.nav-pagination > li { margin: 0; padding: 0; }
body.search #main #post-list > ul.nav-pagination .page-number {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; min-width: 38px; margin: 0; padding: 0;
  border: 1px solid #111; border-radius: 50%; color: #111;
  font-size: 15px; line-height: 1; background: transparent;
}
body.search #main #post-list > ul.nav-pagination .current,
body.search #main #post-list > ul.nav-pagination a:hover { background: #111; color: #fff; }
body.search #main #post-list > ul.nav-pagination .dots { border-color: transparent; }
@media (max-width: 799px) {
  body.search #main .blog-wrapper { padding: 40px 20px 60px; }
  body.search #main .archive-page-header { margin-bottom: 30px; }
  body.search #main .archive-page-header .page-title { font-size: 30px; line-height: 38px; letter-spacing: -.3px; }
  body.search #main #post-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.search #main #post-list > article > .article-inner { padding: 24px 20px; }
  body.search #main #post-list > article h2.entry-title { font-size: 25px; line-height: 32px; }
  body.search #main #post-list > ul.nav-pagination { gap: 4px; margin-top: 16px; }
  body.search #main #post-list > ul.nav-pagination .page-number { width: 30px; min-width: 30px; height: 30px; }
}

/* Search actions: preserve readable click/focus states and the original preview. */
body.search #main #post-list > article .ifdf-search-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
body.search #main #post-list > article a.ifdf-search-popup-button.button {
  display: inline-flex !important; align-items: center; justify-content: center;
  position: relative; inset: auto; width: auto; height: auto !important;
  min-width: 0; min-height: 32px; margin: 0; padding: 4px 12px;
  border: 1px solid #111 !important; border-radius: 32px;
  box-shadow: none; background: transparent; color: #111;
  font-family: 'SuisseIntl-Mono-Bold', monospace;
  font-size: 13px; line-height: 20px; letter-spacing: 0; text-transform: none;
}
body.search #main #post-list > article a.ifdf-search-popup-button.button span {
  font: inherit; color: inherit; display: inline; background: none; margin: 0; padding: 0;
}
body.search #main #post-list > article a.ifdf-search-popup-button.button::before,
body.search #main #post-list > article a.ifdf-search-popup-button.button::after,
body.search #main #post-list > article a.ifdf-search-popup-button.button span::before,
body.search #main #post-list > article a.ifdf-search-popup-button.button span::after {
  content: none !important; display: none !important;
}
body.search #main #post-list > article :is(a.more-link.button, a.ifdf-search-popup-button.button):is(:hover, :focus, :active) {
  background: #111 !important; color: #fff !important; border-color: #111 !important; opacity: 1 !important;
}
body.search #main #post-list > article a.more-link.button:is(:hover, :focus, :active) > .meta-nav {
  filter: brightness(0) invert(1) !important;
}

/* Search previews only: balanced image gutters and room below the white panel. */
body.search .mfp-container:has(.lightbox-partner) {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: auto; min-height: 100%;
  padding: 40px 40px calc(80px + env(safe-area-inset-bottom, 0px));
}
body.search .mfp-container:has(.lightbox-partner)::before { display: none; }
body.search .mfp-content:has(.lightbox-partner) {
  width: 100%; max-width: 1120px; flex: none; transform: none !important;
}
body.search .mfp-content .lightbox-content:has(.lightbox-partner) {
  position: relative; padding: 40px !important; border-radius: 20px;
}
body.search .mfp-content .lightbox-partner {
  position: static; margin: 0; width: 100%; max-width: none; align-items: flex-start;
}
body.search .mfp-content .lightbox-partner > .col.large-5 { padding: 0 30px 0 0; }
body.search .mfp-content .lightbox-partner > .col.large-5 > img {
  display: block; width: 100%; height: auto; margin: 0;
}
body.search .mfp-content .lightbox-partner > .col.large-7 { padding: 0; }
body.search .mfp-content .lightbox-partner h4 { font: 30px/38px SuisseScreen-SemiBold; margin: 0 0 16px; }
body.search .mfp-content .lightbox-partner p.excerpt { font: 14px/21px SuisseIntl-Mono; margin: 0 0 40px; }
body.search .mfp-content .lightbox-partner .my-content { font: 18px/27px SuisseScreen-Monitor; }
body.search .mfp-content .lightbox-partner .my-content p { font: inherit; margin: 0 0 24px; }
body.search .mfp-content .lightbox-partner .my-content p:last-child { margin-bottom: 0; }
body.search .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  min-height: 32px; line-height: 32px; z-index: 1047;
}
body.search .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) i { display: block; line-height: 32px; }
body.search .mfp-content .lightbox-partner > .close-woof2,
body.search .mfp-wrap:has(.lightbox-partner) > .mfp-close { display: none !important; }
@media (max-width: 799px) {
  body.search .mfp-container:has(.lightbox-partner) {
    padding: 20px 20px calc(80px + env(safe-area-inset-bottom, 0px));
  }
  body.search .mfp-content .lightbox-content:has(.lightbox-partner) { padding: 19px 20px 20px !important; }
  body.search .mfp-content .lightbox-partner { display: flex; flex-direction: column; }
  body.search .mfp-content .lightbox-partner > .col.large-5 {
    display: flex; flex-direction: column; gap: 15px; top: 0; order: 0;
    width: 100%; max-width: 100%; flex-basis: auto; margin: 0; padding: 0 !important;
  }
  body.search .mfp-content .lightbox-partner > .col.large-5:not(:has(.partner-linkedin)) { padding-top: 47px !important; }
  body.search .mfp-content .lightbox-partner > .col.large-7 {
    display: flex; flex-direction: column; order: 1; flex-basis: auto;
    width: 100%; max-width: 100%; padding: 0; margin: 12px 0 0;
  }
  body.search .mfp-content .lightbox-partner h4 { order: 1; font: 18px/24px SuisseScreen-SemiBold; letter-spacing: -.18px; margin: 0 0 16px; }
  body.search .mfp-content .lightbox-partner p.excerpt { order: 2; font: 14px/21px SuisseIntl-Mono; letter-spacing: -.56px; margin: 0 0 40px; }
  body.search .mfp-content .lightbox-partner .my-content { order: 3; font: 16px/24px SuisseScreen-Monitor; }
  body.search .mfp-content .lightbox-partner .my-content:empty { display: none; }
  body.search .mfp-content .lightbox-partner > .col.large-7:has(> .my-content:empty) > p.excerpt { margin-bottom: 0; }
  body.search .mfp-content .ifdf-search-person-preview .lightbox-partner > .col.large-7 { margin-top: 40px; }
  body.search .mfp-content .ifdf-search-person-preview .lightbox-partner h4 { font: 30px/38px SuisseScreen-SemiBold; letter-spacing: -.3px; margin-bottom: 10px; }
  body.search .mfp-content .lightbox-partner .blog-tags { order: 0; display: flex; flex-wrap: wrap; gap: 15px; margin: 0 0 15px; }
  body.search .mfp-content .lightbox-partner .tag-item { font-size: 13px; line-height: 19px; min-height: 21px; margin: 0; }
  body.search .mfp-content .lightbox-partner .partner-linkedin { position: static; order: -1; height: 32px; margin: 0; padding: 0 42px 0 0; }
  body.search .mfp-content .ifdf-search-tall-preview .lightbox-partner > .close-woof:not(.close-woof2) { position: fixed; top: 30px; right: var(--ifdf-search-close-right, 30px); }
}
@media (min-width: 800px) {
  body.search .mfp-content .lightbox-partner { display: flex; flex-flow: row nowrap; gap: 30px; }
  body.search .mfp-content .lightbox-partner > .col.large-5 { order: 0; top: 0; flex: 0 0 42%; width: 42%; max-width: 42%; margin: 0; padding: 0; }
  body.search .mfp-content .lightbox-partner > .col.large-7 { order: 1; top: 0; flex: 1; width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; }
}

/* Embedded page-builder content must not inherit the search card/sidebar columns. */
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content .row {
  display: flex; flex-flow: column nowrap; gap: 0;
  width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important;
}
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content .col {
  position: static !important; top: auto !important; inset-inline: auto !important;
  flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important;
  margin: 0 !important; padding: 0 !important;
}
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content :is(.col-inner, .text, .section-content) {
  width: 100%; max-width: 100%; padding: 0 !important; margin-inline: 0 !important;
}
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content section.section {
  padding: 0 !important; min-height: 0 !important; margin: 0 0 24px;
}
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content :is(h1, h2) {
  font: 26px/34px SuisseScreen-SemiBold; letter-spacing: -.26px;
  width: auto !important; max-width: 100% !important; margin: 32px 0 16px;
  word-break: normal; overflow-wrap: break-word;
}
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content h3 {
  font: 22px/30px SuisseScreen-SemiBold; margin: 28px 0 12px;
}
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content :is(p, li) {
  font: 18px/27px SuisseScreen-Monitor; word-break: normal; overflow-wrap: break-word;
}
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content :is(ul, ol) { padding-left: 22px; margin: 0 0 24px; }
body.search .mfp-wrap .mfp-content .lightbox-partner .my-content li { margin-bottom: 8px; }
body.search .mfp-wrap .mfp-content .lightbox-partner > .col.large-5:has(> img[src*="/assets/images/placeholder.png"]) { display: none !important; }
body.search .mfp-wrap .mfp-content .lightbox-partner:has(> .col.large-5 > img[src*="/assets/images/placeholder.png"]) > .col.large-7 {
  flex: 1 1 100%; width: 100%; max-width: 100%; margin-top: 0;
}
@media (max-width: 799px) {
  body.search .mfp-wrap .mfp-content .lightbox-partner:has(> .col.large-5 > img[src*="/assets/images/placeholder.png"]) > .col.large-7 { padding-top: 47px !important; }
  body.search .mfp-wrap .mfp-content .lightbox-partner .my-content :is(h1, h2) { font-size: 24px; line-height: 32px; }
  body.search .mfp-wrap .mfp-content .lightbox-partner .my-content h3 { font-size: 20px; line-height: 28px; }
  body.search .mfp-wrap .mfp-content .lightbox-partner .my-content :is(p, li) { font-size: 16px; line-height: 24px; }
}

/* Netzwerk filter: reset stays in document flow, above results and the empty state. */
body.page-netzwerk .menschen .blog-filter-wrapper + .blog-filter-reset-all {
  position: static; inset: auto !important; transform: none;
  width: max-content; max-width: 100%; min-height: 0; height: auto;
  margin: 0 0 32px auto; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; color: #111;
  font: 14px/20px SuisseIntl-Mono; letter-spacing: 0; text-transform: none;
  text-decoration: underline; white-space: normal; cursor: pointer;
}
body.page-netzwerk .menschen .blog-filter-wrapper + .blog-filter-reset-all:not([hidden]) { display: block; }
body.page-netzwerk .menschen .blog-filter-wrapper + .blog-filter-reset-all[hidden] { display: none !important; }
body.page-netzwerk .menschen .wrap-partner > .blog-post-no-rs {
  grid-column: 1 / -1; width: 100%; padding: 24px 0 40px;
  margin: 0; text-align: center;
}
body.page-netzwerk .menschen .wrap-partner > .blog-post-no-rs h3 {
  font: 24px/32px SuisseScreen-SemiBold; margin: 0; overflow-wrap: normal;
}
body.page-netzwerk .menschen .wrap-partner:has(> .blog-post-no-rs) ~ .loadmore-partner { display: none !important; }
@media (max-width: 799px) {
  body.page-netzwerk .menschen .blog-filter-wrapper + .blog-filter-reset-all { margin: 0 auto 24px; }
  body.page-netzwerk .menschen .wrap-partner > .blog-post-no-rs h3 { font-size: 20px; line-height: 28px; }
}

/* News page only: measured desktop grid and intact source images. */
body.page-news #main .section.news { padding: 80px 0 80px !important; }
body.page-news #main .section.news > .section-content { max-width: 1770px; margin: 0 auto; padding: 0 40px; }
body.page-news #main .section.news > .section-content > .row { width: 100%; max-width: none !important; margin: 0; }
body.page-news #main .section.news > .section-content > .row > .col { width: 100%; max-width: 100%; flex-basis: 100%; padding: 0; }
body.page-news #main .section.news h1 { font: 70px/80px SuisseScreen-Medium; letter-spacing: -.7px; max-width: 930px; margin: 0 0 35px; }
body.page-news .news .blog-filter { margin-top: 40px; margin-bottom: 80px; }
body.page-news .news .blog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 100px 15px; }
body.page-news .news .blog-item { min-width: 0; margin: 0; padding: 0; }
body.page-news .news .blog-thumb { display: flex; align-items: center; justify-content: center; width: 100%; height: auto !important; aspect-ratio: 3 / 2; max-height: none; overflow: hidden; margin: 0; }
body.page-news .news .blog-thumb a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100% !important; }
body.page-news .news .blog-thumb img { display: block; width: 100%; height: 100% !important; max-height: 100% !important; aspect-ratio: auto !important; object-fit: contain !important; margin: 0; }
body.page-news .news .post-box { padding: 0; }
body.page-news .news .post-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 20px 0 10px; }
body.page-news .news .post-date > p { flex: 0 0 auto; margin: 0; font: 13px/18px SuisseIntl-Mono-Bold; }
body.page-news .news .blog-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
body.page-news .news .tag-item { display: inline-flex; align-items: center; min-height: 20px; margin: 0; padding: 0 10px; border: 1px solid #909090; border-radius: 20px; font: 13px/18px SuisseIntl-Mono; color: #909090; }
body.page-news .news .blog-item h3.post-title { margin: 0; font: 16px/20px SuisseScreen-Monitor; letter-spacing: 0; }
body.page-news .news .loadmore-wrap { margin-top: 100px; }
body.page-news .news .blog-grid > .no-posts { grid-column: 1 / -1; font: 20px/28px SuisseScreen-Medium; margin: 0; text-align: center; padding: 24px 0; }
html.ifdf-news-filter-open, html.ifdf-news-filter-open body.page-news { overflow: hidden !important; }
@media (min-width: 800px) {
  body.page-news .ifdf-news-mobile-footer { display: none !important; }
  body.page-news .news .blog-filter > .close-blog { display: none !important; }
  body.page-news .news .blog-filter .filter-dropdown-content { border-radius: 27px; padding: 25px; }
  body.page-news .news .blog-filter .filter-option { font: 13px/18px SuisseScreen-Monitor; }
  body.page-news .news .blog-filter .filter-reset { margin-top: 25px; font: 13px/18px SuisseIntl-Mono; }
}
@media (max-width: 799px) {
  body.page-news #main .section.news { padding: 40px 0 60px !important; }
  body.page-news #main .section.news > .section-content { padding: 0 20px; }
  body.page-news #main .section.news h1 { font-size: 47px; line-height: 58px; letter-spacing: -.47px; margin-bottom: 60px; }
  body.page-news .news .blog-grid { grid-template-columns: minmax(0,1fr); gap: 60px; }
  body.page-news .news .post-date { flex-direction: row; align-items: center; margin-top: 16px; }
  body.page-news .news .loadmore-wrap { margin-top: 60px; }
  body.page-news .news .blog-filter-wrapper > .blog-filter-reset-all { max-width: 100%; white-space: normal; }
}

/* News desktop: equal full-frame card images; mobile preserves entire image. */
@media (min-width: 800px) {
  body.page-news .news .blog-thumb img { object-fit: cover !important; object-position: center; }
}

/* News mobile: 38px load-more area and 100px gap to newsletter, matching design. */
@media (max-width: 799px) {
  body.page-news #main .section.news { padding-bottom: 100px !important; }
  body.page-news #loadmore-posts { height: 38px; min-height: 38px; line-height: 24px; border: 0; padding-top: 7px; padding-bottom: 7px; }
  body.page-news #footer > .newsletter-ft { padding-top: 0 !important; }
}

/* News mobile: equal card frames, flush with text edges. */
@media (max-width: 799px) {
  body.page-news .news .blog-thumb img { object-fit: cover !important; object-position: center; }
}

@media (max-width: 799px) {
  body.page-news .news .loadmore-wrap { margin-top: 40px; }
}

/* News mobile title-to-filter 80px (60px title + 20px wrapper); filter-to-card 40px. */
@media (max-width: 799px) {
  body.page-news .news .blog-filter-wrapper { margin-top: 20px !important; }
  body.page-news .news .filter-mobile-blog { margin-bottom: 40px !important; }
}
/* Blog detail only. Preserve authored content, images, and destinations. */
body.single-post #content.blog-single { padding: 0 0 100px; overflow: hidden; }
body.single-post #content.blog-single > .row.align-center { width:100%; max-width:1770px; margin:0 auto; }
body.single-post #content.blog-single > .row.align-center > .col { flex-basis:100%; max-width:100%; padding:0; }
body.single-post #content article { margin:0; }
body.single-post #content .entry-header { padding:0; margin:0 auto 80px; max-width:590px; }
body.single-post #content .entry-header-text { padding:0; }
body.single-post #content .entry-title { margin:0; font:33px/42px SuisseScreen-SemiBold; letter-spacing:-.33px; }
body.single-post #content .entry-content { padding:0; }
body.single-post #content .entry-content > .section { padding:0 !important; }
body.single-post #content .entry-content .row:not(.row-full-width) { max-width:590px; margin:0 auto; width:100%; }
body.single-post #content .entry-content .row > .col { padding:0; }
body.single-post #content .entry-content p { font:16px/23px SuisseScreen-Monitor; margin:0 0 23px; }
body.single-post #content .entry-content .row-full-width { max-width:700px; width:100%; margin:80px auto; }
body.single-post #content .entry-content .img { margin:0; }
body.single-post #content .entry-content .img img { width:100%; height:auto; display:block; }
body.single-post #content .rank-math-breadcrumbs { max-width:1770px; padding:30px 40px 0; margin:0 auto 0; height:50px; }
body.single-post #content .html-before-comments { margin:100px 0 0; }
body.single-post .related-news-wrapper { padding:0 40px; max-width:1770px; margin:0 auto; }
body.single-post .related-news-wrapper > .row { max-width:none; width:100%; margin:0; }
body.single-post .related-news-wrapper > .row > .col { padding:0; }
body.single-post .related-title { font:20px/28px SuisseIntl-Mono-Bold; text-transform:uppercase; margin:0 0 40px; }
body.single-post .related-news-list { display:flex; gap:26px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:0; margin:0; }
body.single-post .related-news-list::-webkit-scrollbar { display:none; }
body.single-post .related-item { flex:0 0 calc((100% - 52px)/3); min-width:0; margin:0; scroll-snap-align:start; }
body.single-post .related-item > a { display:flex; flex-direction:column; height:100%; color:#111; }
body.single-post .related-content { padding:25px; min-height:190px; height:auto; flex:1; background:#eee; display:flex; flex-direction:column; }
body.single-post .related-content h4 { font:20px/26px SuisseScreen-SemiBold; letter-spacing:-.2px; margin:0 0 24px; color:#111; }
body.single-post .related-content > span { display:inline-flex; align-items:center; align-self:flex-start; gap:10px; margin-top:auto; font:14px/20px SuisseIntl-Mono-Bold; color:#111; }
body.single-post .related-content > span b { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; font:20px/20px SuisseScreen-Monitor; }
body.single-post .related-thumb { width:100%; height:auto; aspect-ratio:3/2; overflow:hidden; flex:none; }
body.single-post .related-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
body.single-post .ifdf-related-controls { display:flex; justify-content:center; gap:12px; margin:30px 0 0; }
body.single-post .ifdf-related-controls button { display:flex; align-items:center; justify-content:center; width:40px; height:40px; min-height:0; border:1px solid #111; border-radius:50%; background:transparent; padding:0; margin:0; color:#111; box-shadow:none; }
body.single-post .ifdf-related-controls button:disabled { opacity:.45; }
body.single-post .ifdf-related-controls svg { width:16px; height:16px; }
@media(min-width:800px) { body.single-post #content .entry-header { padding-top:0; } }
@media(max-width:799px) {
 body.single-post #content.blog-single { padding-bottom:100px; }
 body.single-post #content .rank-math-breadcrumbs { padding:10px 20px 0; height:50px; margin-bottom:80px; }
 body.single-post #content .entry-header { margin:0 20px 60px; max-width:none; }
 body.single-post #content .entry-title { font:30px/38px SuisseScreen-SemiBold; letter-spacing:-.3px; }
 body.single-post #content .entry-content .row:not(.row-full-width), body.single-post #content .entry-content .row-full-width { width:calc(100% - 40px); max-width:none; margin-left:20px; margin-right:20px; }
 body.single-post #content .entry-content .row-full-width { margin-top:60px; margin-bottom:60px; }
 body.single-post #content .entry-content p { font-size:16px; line-height:23px; }
 body.single-post #content .html-before-comments { margin-top:80px; }
 body.single-post .related-news-wrapper { padding:0 20px; }
 body.single-post .related-title { font:17px/24px SuisseIntl-Mono-Bold; letter-spacing:-.765px; margin-bottom:25px; }
 body.single-post .related-news-list { gap:25px; overflow:visible; overflow-x:auto; width:calc(100% + 20px); padding-right:20px; }
 body.single-post .related-item { flex-basis:290px; max-width:calc(100vw - 85px); }
 body.single-post .related-content { padding:20px; min-height:160px; }
 body.single-post .related-content h4 { font:16px/20px SuisseScreen-SemiBold; letter-spacing:-.16px; margin-bottom:20px; }
 body.single-post .related-content > span { font-size:13px; line-height:18px; }
 body.single-post .ifdf-related-controls { margin-top:20px; }
 body.single-post .ifdf-related-controls button { width:32px; height:32px; }
}
/* Override legacy important single-post typography and spacing. */
body.single-post #content .entry-header { margin:0 auto 80px !important; max-width:590px !important; }
body.single-post #content .entry-title { font:33px/42px SuisseScreen-SemiBold !important; letter-spacing:-.33px !important; margin:0 !important; }
body.single-post #content .entry-content { margin-top:0 !important; }
body.single-post #content .rank-math-breadcrumb { margin:0 !important; padding:0 !important; }
body.single-post #content .rank-math-breadcrumb .history { width:32px; height:32px; margin:0 !important; }
@media(max-width:799px) {
 body.single-post #content .entry-header { margin:0 20px 60px !important; width:calc(100% - 40px); max-width:none !important; }
 body.single-post #content .entry-title { font:30px/38px SuisseScreen-SemiBold !important; letter-spacing:-.3px !important; }
}
body.single-post .related-news-list { display:flex !important; }
body.single-post .related-item { width:auto !important; min-width:0 !important; flex:0 0 calc((100% - 52px)/3) !important; }
body.single-post #footer > .newsletter-ft { padding-top:0 !important; }
@media(max-width:799px) {
 body.single-post .related-item { width:290px !important; flex:0 0 290px !important; max-width:calc(100vw - 85px) !important; }
}
body.single-post div#content.blog-single header.entry-header { margin:0 auto 80px !important; max-width:590px !important; width:590px; }
body.single-post div#content.blog-single h1.entry-title { font-size:33px !important; line-height:42px !important; margin:0 !important; }
@media(max-width:799px) {
 body.single-post div#content.blog-single header.entry-header { margin:0 20px 60px !important; max-width:none !important; width:calc(100% - 40px); }
 body.single-post div#content.blog-single h1.entry-title { font-size:30px !important; line-height:38px !important; }
 body.single-post div#content.blog-single .entry-content p { line-height:24px; }
}
body.single-post div#content.blog-single .entry-content .row .col-inner > p:last-child { margin-bottom:0 !important; }
body.single-post div#content.blog-single .entry-content .img { margin:0 !important; }
body.single-post div#content.blog-single .entry-content .row.row-full-width { margin-top:80px !important; margin-bottom:80px !important; }
@media(max-width:799px) { body.single-post div#content.blog-single .entry-content .row.row-full-width { margin-top:60px !important; margin-bottom:60px !important; } }
body.single-post div#content.blog-single .entry-content.single-page .col-inner > div.img { margin:0 !important; width:100% !important; }
body.single-post div#content.blog-single .entry-content.single-page .section-content > .row:not(.row-full-width) { max-width:590px !important; }

body.single-post .related-content > span { display:inline-flex; align-items:center; gap:10px; }
body.single-post .related-content .ifdf-blog-cta-arrow { display:inline-flex; flex:none; width:20px; height:20px; align-items:center; justify-content:center; transform:translateY(-1px); }
body.single-post .related-content .ifdf-blog-cta-arrow svg { display:block; width:20px; height:20px; }

/* Figma iFDF-anthrazit (Stiftung): shared CTA text and arrow. */
body.single-post .related-content > span, body.single-post .related-content .ifdf-blog-cta-arrow, body.single-post .related-content .ifdf-blog-cta-arrow svg { color:#585858 !important; }

/* Blog detail: centered 700px media, original back icon, related-card zoom. */
body.single-post div#content.blog-single .entry-content.single-page .section-content > .row.row-full-width { width:700px !important; max-width:700px !important; margin-left:auto !important; margin-right:auto !important; }
body.single-post div#content.blog-single .entry-content.single-page .row.row-full-width > .col { flex-basis:100% !important; width:100% !important; max-width:100% !important; padding:0 !important; }
body.single-post div#content.blog-single .rank-math-breadcrumb .history::before { display:block; width:32px !important; height:32px !important; background-position:center; background-size:contain; }
body.single-post div#content.blog-single .rank-math-breadcrumb .history::after { display:none !important; }
@media(min-width:800px) { body.single-post div#content.blog-single .rank-math-breadcrumbs { padding-top:55px; } }
@media(max-width:799px) { body.single-post div#content.blog-single .entry-content.single-page .section-content > .row.row-full-width { width:calc(100% - 40px) !important; max-width:none !important; margin-left:20px !important; margin-right:20px !important; } }
body.single-post .related-thumb img { transition:transform .45s cubic-bezier(.2,.65,.3,1); transform:scale(1); transform-origin:center; }
@media(hover:hover) and (pointer:fine) { body.single-post .related-item > a:hover .related-thumb img { transform:scale(1.05); } }
body.single-post .related-item > a:focus-visible .related-thumb img { transform:scale(1.05); }
@media(prefers-reduced-motion:reduce) { body.single-post .related-thumb img { transition:none; } }

body.single-post div#content.blog-single .entry-content.single-page .col-inner > div.img { max-width:none !important; }
body.single-post div#content.blog-single nav.rank-math-breadcrumb span.history::before { width:32px !important; height:32px !important; }

body.single-post div#content.blog-single nav.rank-math-breadcrumb span.history { background:url("../images/back-outline.svg") center/32px 32px no-repeat; }
body.single-post div#content.blog-single nav.rank-math-breadcrumb span.history::before { opacity:0 !important; }

/* Finder only: reset shares the same left edge as the heading/options. */
body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy .zurucksetzten-box { text-align:left !important; }
body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy .zurucksetzten { margin-left:0 !important; margin-right:0 !important; padding-left:0 !important; padding-right:0 !important; text-align:left !important; }

@media(min-width:800px) {
 body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy .heading-p { margin-bottom:25px !important; }
 body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy .heading-p p { margin:0 !important; }
 body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy-main > .icheckbox_square-blue:last-child { margin-bottom:0 !important; }
 body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy .zurucksetzten-box { display:flex; justify-content:flex-start; align-items:flex-start; padding-top:40px !important; }
 body.page-studiengangsfinder .wrap-partner-taxonomy .list-taxonomy .zurucksetzten { display:block; line-height:21px; }
}

@media(min-width:800px) {
 body.page-studiengangsfinder .terms-taxonomy-ort .list-taxonomy .zurucksetzten-box { position:static !important; left:auto !important; right:auto !important; bottom:auto !important; width:100% !important; justify-content:flex-start !important; }
}

/* Finder mobile: match the final card / load-more / newsletter spacing in Figma. */
@media (max-width: 799px) {
  body.page-studiengangsfinder .loadmore-studiengangs { margin-top: 40px !important; line-height: 23px !important; }
  body.page-studiengangsfinder .loadmore-studiengangs a.button {
    height: 23px !important; min-height: 23px !important; padding: 0 !important;
    margin: 0 !important; border: 0 !important;
    font: 16px/23px SuisseScreen-SemiBold !important;
    text-transform: none; letter-spacing: 0; text-decoration: underline;
    align-items: center; vertical-align: top;
  }
  body.page-studiengangsfinder .loadmore-studiengangs a.button span { font: inherit !important; }
  body.page-studiengangsfinder .loadmore-studiengangs a.button::after {
    font: inherit !important; height: 23px; line-height: 23px !important;
    margin: 0 0 0 6px !important; transform: none !important;
  }
  body.page-studiengangsfinder #main > .content-area > .col { padding-bottom: 0 !important; }
  body.page-studiengangsfinder #footer > .newsletter-ft { padding-top: 104px !important; }
}

/* Only the finder mobile search overlay: pin the existing control and lock its background. */
@media (max-width: 799px) {
  html.ifdf-finder-search-open { overflow: hidden !important; overscroll-behavior: none; }
  body.page-studiengangsfinder.ifdf-finder-search-open {
    position: fixed !important; top: var(--ifdf-search-scroll-y) !important;
    width: 100% !important; padding-top: 80px !important; overflow: hidden !important;
  }
  body.page-studiengangsfinder.ifdf-finder-search-open #header {
    position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important;
    z-index: 10003 !important; background: #fbfbfb;
  }
  body.page-studiengangsfinder #main .row-taxonomy.search-open { min-height: 55px; }
  body.page-studiengangsfinder #main .row-taxonomy.search-open > .gsearch-box {
    position: fixed !important; top: var(--ifdf-search-top) !important;
    left: 12px !important; right: 12px !important; width: auto !important;
    z-index: 2; margin: 0 !important;
  }
  body.page-studiengangsfinder .row-taxonomy.search-open .finder-search-shade {
    top: 80px; cursor: default !important; touch-action: none;
  }
}

/* Finder simple-search tiles: retain the fixed mobile Figma proportions. */
@media (max-width: 799px) {
  html:has(body.page-studiengangsfinder.ifdf-finder-dialog-open) { overflow: hidden; }
  body.page-studiengangsfinder #main .studiengangs-taxonomy {
    scrollbar-width: none;
  }
  body.page-studiengangsfinder #main .studiengangs-taxonomy::-webkit-scrollbar {
    display: none;
  }
  body.page-studiengangsfinder #main #simple .wrap-studiengangs-taxonomy .list-taxonomy-category .list-taxonomy-main {
    max-width: 293px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Finder mobile search is a top-aligned overlay, above the page header. */
@media (max-width: 799px) {
  body.page-studiengangsfinder #main .row-taxonomy.search-open > .gsearch-box { left: 20px !important; right: 20px !important; }
  body.page-studiengangsfinder.ifdf-finder-search-open #header { visibility: hidden !important; }
  body.page-studiengangsfinder .row-taxonomy.search-open .finder-search-shade { top: 0 !important; }
}


/* Finder mobile: anchor sorting to its right edge, inside the viewport. */
@media (max-width: 799px) {
  body.page-studiengangsfinder #main .list-filter-rs .ordering .ordering-list {
    left: auto !important; right: 0 !important;
    width: 235px; min-width: 0 !important; max-width: calc(100vw - 40px);
    box-sizing: border-box;
  }
}


/* Finder mobile sorting: restore its own blur layer and match the Figma popup. */
@media (max-width: 799px) {
 body.page-studiengangsfinder #main .row-finde:has(.ordering-toggle[aria-expanded="true"])::before {
  content: "" !important; display: block !important; cursor: default !important;
 }
 body.page-studiengangsfinder #main .ordering:has(> .ordering-toggle[aria-expanded="true"]) { z-index: 3; }
 body.page-studiengangsfinder #main .list-filter-rs .ordering .ordering-list {
  width: 199px !important; padding: 20px !important; border-radius: 30px !important; gap: 10px !important;
 }
 body.page-studiengangsfinder #main .ordering-list > span[data-sort] { font: 13px/20px SuisseScreen-Regular !important; }
 body.page-studiengangsfinder #main .ordering-list > .ordering-reset {
  height: 21px; min-height: 21px; margin: 10px 0 0 !important; padding: 0 !important;
  font: 13px/20px SuisseIntl-Mono-Bold !important; white-space: nowrap;
 }
}


@media (max-width: 799px) {
 body.page-studiengangsfinder #main .list-filter-rs .ordering .ordering-list {
  left: auto !important; right: 0 !important; min-width: 0 !important;
  width: 199px !important; max-width: calc(100vw - 40px); box-sizing: border-box;
 }
}

/* Finder sorting only: keep the background at its original scroll position. */
html.ifdf-finder-sort-open { overflow: hidden !important; overscroll-behavior: none; }
body.page-studiengangsfinder.ifdf-finder-sort-open {
  position: fixed !important; top: var(--ifdf-sort-scroll-y) !important; left: 0;
  width: calc(100% - var(--ifdf-sort-scrollbar, 0px)) !important;
  overflow: hidden !important; overscroll-behavior: none;
}
body.page-studiengangsfinder.ifdf-finder-sort-open .row-finde::before { touch-action: none; }

/* Pressekontakt: Figma download component; isolate its icon and hover state. */
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download {
 display:inline-flex!important;align-items:center;gap:8px!important;
 padding:4px 11px 4px 13px!important;border:0!important;border-radius:17px!important;
 font:13px/23px SuisseIntl-Mono,monospace!important;letter-spacing:-.52px!important;
 min-height:31px!important;height:31px!important;background:#585858!important;color:#fbfbfb!important;
 box-shadow:none!important;transition:background-color .2s ease!important;
}
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download>span {line-height:23px!important;}
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download::before {content:none!important;display:none!important;}
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download::after,
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:hover::after {
 content:''!important;display:block!important;position:relative!important;inset:auto!important;
 width:17px!important;height:23px!important;flex:0 0 17px!important;margin:0!important;
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.5%2012L0.5%2012%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6.5%201L6.5%208%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9.5%206L6.5%208L3.5%206%22%20stroke%3D%22%23FBFBFB%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")!important;background-size:12px 12px!important;background-position:center!important;background-repeat:no-repeat!important;
 transform:none!important;transition:none!important;filter:none!important;
}
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:hover,
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:active {background:#929292!important;color:#fbfbfb!important;box-shadow:none!important;}

/* News mobile: pin only the filter trigger, not its full result-list wrapper. */
@media (max-width:799px) {
 body.page-news .news .blog-filter-wrapper { position:relative!important;top:auto!important; }
 body.page-news .news .blog-filter-wrapper > .filter-mobile-blog {
  position:sticky!important;top:16px!important;z-index:40;
 }
}

/* Netzwerk mobile popup: Figma reserves 82px for the role before its 40px biography gap. */
@media (max-width:799px) {
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-7:has(> .my-content:not(:empty)) > p.excerpt:not(:empty) {
  min-height:82px; margin-bottom:40px;
 }
}

/* 2026-11-20: page-opening titles only. Mobile design: M/H1 47/58,
   M/H2 30/38; Home's introductory headline is the separate 23/30 style.
   Semantic page/post-type scopes preserve desktop and all lower-level headings. */
@media(max-width:799px) {
 body.page-design-lehren #main h1,
 body.page-themenfelder #main h1,
 body.page-studie-und-hearings-zur-zukunft-der-designlehre #main h1,
 body.page-was-ist-public-value #main h1,
 body.page-public-value-studie-2023 #main h1,
 body.page-design-und-industrie #main h1,
 body.page-design-studieren #main h1,
 body.page-studiengangsfinder #main h1,
 body.page-news #main h1,
 body.page-netzwerk #main h1,
 body.page-publikationen #main h1,
 body.page-stiftungszweck-und-story #main h1,
 body.page-kontakt-2 #main h1,
 body.page-pressekontakt #main h1,
 body.page-impressum-2 #main h1,
 body.single-dde_zusammenfassung #main h1,
 body.single-dde_essay #main h1 {
  font-family:SuisseScreen-Medium!important;font-size:47px!important;
  line-height:58px!important;font-weight:400!important;font-synthesis:none;
  letter-spacing:-.47px!important;white-space:pre-line!important;
  text-wrap:wrap!important;word-break:normal!important;overflow-wrap:anywhere;
  hyphens:none!important;width:100%!important;max-width:100%!important;
 }
 body.page-home #main h1 {
  font-family:SuisseScreen-Regular!important;font-size:23px!important;
  line-height:30px!important;font-weight:400!important;font-synthesis:none;
  letter-spacing:-.23px!important;white-space:normal!important;
  text-wrap:wrap!important;word-break:normal!important;hyphens:none!important;
 }
 body.page-public-value-studie-2023 #main h1 strong {font:inherit!important;letter-spacing:inherit!important;}
 /* Legacy 15px title-column gutters: align the headline itself to the 20px design gutter. */
 body.page-studiengangsfinder #main .custom-h1 > h1,
 body.page-studie-und-hearings-zur-zukunft-der-designlehre #main .custom-h1 > h1,
 body.page-was-ist-public-value #main .custom-h1 > h1 {
  width:calc(100% - 10px)!important;max-width:calc(100% - 10px)!important;
  margin-left:5px!important;margin-right:5px!important;
 }
 body.page-die-entstehung-des-studiengangfinders #main h1,
 body.single-post #main h1.entry-title,
 body.single-themenfelder #main .row-1 h1,
 body.single-studiengangs_pt #main #content.blog_studiengangs_pt h1.entry-title,
 body.search #main .archive-page-header h1.page-title {
  font-family:SuisseScreen-SemiBold!important;font-size:30px!important;
  line-height:38px!important;font-weight:400!important;font-synthesis:none;
  letter-spacing:-.3px!important;white-space:normal!important;text-wrap:wrap!important;
  word-break:normal!important;overflow-wrap:anywhere;hyphens:none!important;
 }
 /* The default privacy template adds an inner 15px gutter on each side. */
 body.page-datenschutz #main h1 {
  font-family:SuisseScreen-Medium!important;font-size:47px!important;
  line-height:58px!important;font-weight:400!important;font-synthesis:none;
  letter-spacing:-.47px!important;text-wrap:wrap!important;
  width:calc(100% + 30px)!important;max-width:none!important;
  margin-left:-15px!important;margin-right:-15px!important;
  word-break:normal!important;overflow-wrap:anywhere;hyphens:none!important;
 }
}

@media(max-width:799px) {
 /* Finder stylesheet loads after custom.css: retain its mobile soft-hyphen break. */
 body.page-studiengangsfinder #main .studiengangsfinder .custom-h1 > h1 {
  width:calc(100% - 10px)!important;max-width:calc(100% - 10px)!important;
  margin-left:5px!important;margin-right:5px!important;hyphens:manual!important;
 }
 body.page-studiengangsfinder #main .studiengangsfinder h1 .ifdf-finder-mobile-text {
  hyphens:manual!important;white-space:normal!important;overflow-wrap:normal!important;
 }
}

@media(max-width:799px) {
 body.page-datenschutz #main h1 {margin-left:0!important;margin-right:0!important;}
}

/* Preserve the Themenfelder title's editorial mobile break without changing its desktop flow. */
body.page-themenfelder #main h1 br.ifdf-mobile-title-break {display:none;}
@media(max-width:799px) {body.page-themenfelder #main h1 br.ifdf-mobile-title-break {display:initial;}}

/* Zusammenfassung only: avoid stacking the hero's legacy 64px bottom padding
   with the related-topics module's Figma 44px gap + 50px top padding. */
@media(max-width:799px) {
 body.single-dde_zusammenfassung #main section.ld-hero.ld-per:has(.row-prak) {
  padding-bottom:0!important;
 }
}

/* Zusammenfassung without an impulses slider: the last resource is the content end.
   Keep only the related-topics module's 44px gap + 50px top padding = 94px. */
@media(max-width:799px) {
 body.single-dde_zusammenfassung #main:has(.ld-last.ifdf-dde-related) section.ld-hero.ld-per:not(:has(.row-prak)) {
  padding-bottom:0!important;
 }
 body.single-dde_zusammenfassung #main:has(.ld-last.ifdf-dde-related) section.ld-hero.ld-per:not(:has(.row-prak)) .cl_person > .col-inner > .row-mehr:last-child {
  margin-bottom:0!important;
 }
}

/* Desktop header search: transparent hover, horizontal arrow movement. */
@media (min-width: 800px) {
  body .header-search-form .searchform button.ux-search-submit {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-position .5s ease;
  }
  body .header-search-form .searchform button.ux-search-submit:hover,
  body .header-search-form .searchform button.ux-search-submit:focus-visible {
    background-color: transparent !important;
    background-position: calc(50% + 4px) center !important;
    box-shadow: none !important;
  }
}

/* Editor preview only: a single authored column must not inherit the outer article grid. */
body.ux-builder-iframe:is(.single-dde_zusammenfassung, .single-dde_essay) post-content .row:has(> .col):not(:has(> .col ~ .col)) {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.ux-builder-iframe:is(.single-dde_zusammenfassung, .single-dde_essay) post-content .row:not(:has(> .col ~ .col)) > .col {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  min-width: 0;
}
body.ux-builder-iframe:is(.single-dde_zusammenfassung, .single-dde_essay) post-content .uxb-wrapper--text {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Netzwerk desktop profile — Figma CV/1; mobile rules remain unchanged. */
@media (min-width: 800px) {
 body.page-netzwerk .mfp-content .lightbox-content:has(> .lightbox-partner) {
  max-width:1106px !important; width:100%; padding:35px 40px 50px !important; border-radius:20px;
 }
 body.page-netzwerk .mfp-content .lightbox-partner {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:40px; width:100%; max-width:none; margin:0;
 }
 body.page-netzwerk .mfp-content .lightbox-partner::before,
 body.page-netzwerk .mfp-content .lightbox-partner::after { display:none; }
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-7 {
  display:flex; flex-direction:column; grid-area:1 / 1; order:0; flex:1 1 0; width:auto; max-width:none; min-width:0; margin:0; padding:4px 0 0;
 }
 body.page-netzwerk .mfp-content .lightbox-partner .blog-tags {
  order:0; display:flex; flex-wrap:wrap; gap:10px; margin:0 0 30px;
 }
 body.page-netzwerk .mfp-content .lightbox-partner .tag-item {
  display:inline-flex; align-items:center; max-width:100%; font:13px/20px SuisseIntl-Mono; letter-spacing:-.52px; padding:1.5px 10px; margin:0;
 }
 body.page-netzwerk .mfp-content .lightbox-partner h4 {
  order:1; font:26px/34px SuisseScreen-Medium; margin:0 0 10px;
 }
 body.page-netzwerk .mfp-content .lightbox-partner p.excerpt {
  order:2; font:15px/22px SuisseIntl-Mono; letter-spacing:-.6px; margin:0 0 40px;
 }
 body.page-netzwerk .mfp-content .lightbox-partner .my-content { order:3; font:16px/23px SuisseScreen-Monitor; }
 body.page-netzwerk .mfp-content .lightbox-partner .my-content p { font:inherit; margin:0 0 23px; }
 body.page-netzwerk .mfp-content .lightbox-partner .my-content p:last-child { margin-bottom:0; }
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-5 {
  grid-area:1 / 2; order:1; position:static; flex:1 1 0; width:auto; max-width:none; min-width:0; margin:0; padding:52px 0 0; align-self:flex-start;
 }
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-5 > img { display:block; width:100%; height:auto; margin:0; }
 body.page-netzwerk .mfp-content .lightbox-partner .partner-linkedin { position:static; margin:20px 0 0; padding:0; }
 body.page-netzwerk .mfp-content .lightbox-partner .partner-linkedin a {
  display:inline-flex; align-items:center; gap:8px; font:13px/20px SuisseIntl-Mono-Bold; letter-spacing:-.52px; padding:4px 12px; margin:0;
 }
 body.page-netzwerk .mfp-content .lightbox-partner .partner-linkedin a svg { display:block; width:14px; height:14px; flex:0 0 14px; margin:0; }
 body.page-netzwerk .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) {
  position:sticky; grid-area:1 / 2; justify-self:end; align-self:start; top:35px; right:auto; width:32px; height:32px; min-height:32px; line-height:32px;
 }
 body.page-netzwerk .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) i { display:block; width:32px; height:32px; line-height:32px; }
 body.page-netzwerk .mfp-content .lightbox-partner > .close-woof:not(.close-woof2) i::before { display:block; width:32px; height:32px; line-height:0; }
 body.page-netzwerk .mfp-content .lightbox-partner > .close-woof2 { display:none !important; }
}

/* Netzwerk: show LinkedIn only when a destination URL has been entered. */
body.page-netzwerk .lightbox-partner .partner-linkedin:not(:has(a:is([href^="https://" i], [href^="http://" i], [href^="//"]))) { display:none !important; }
@media (max-width:799px) {
 body.page-netzwerk .mfp-content .lightbox-partner > .col.large-5:has(.partner-linkedin):not(:has(.partner-linkedin a:is([href^="https://" i], [href^="http://" i], [href^="//"]))) { padding-top:47px !important; gap:0; }
}

/* Navigation active color follows the design section, without changing layout. */
#header .nav-left > li.ifdf-nav-section-current > a,
#header .nav-left a.ifdf-nav-current,
#main-menu .nav-sidebar > li.ifdf-nav-section-current > a,
#main-menu .nav-sidebar a.ifdf-nav-current,
#main-menu .ifdf-menu-primary.ifdf-nav-section-current,
#main-menu .ifdf-menu-sub a.ifdf-nav-current {
 color:var(--ifdf-nav-active-color, #B300AA) !important;
}
#header .nav-left > li.ifdf-nav-section-current > a { font-family:var(--font-body-medium); }

/* Finder selected options: match desktop active fill, without an outer border. */
body.page-studiengangsfinder #main .wrap-taxonomy-studiengangs .list-taxonomy .list-taxonomy-main .icheckbox_square-blue:not(.inspire-me):not(.terms-ort):is(.active, :has(> input.woof_checkbox_term:checked)),
body.page-studiengangsfinder #main #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main .icheckbox_square-blue.terms-category:is(.active, :has(> input.woof_checkbox_term:checked)) {
 border-color:transparent !important;
 background-color:rgba(179,0,170,.3) !important;
}

/* All Finder filter groups share the selected state, including keyboard focus. */
body.page-studiengangsfinder #main .wrap-taxonomy-studiengangs .icheckbox_square-blue:is(.active, :has(> input:checked)),
body.page-studiengangsfinder #main #advanced.tab-content .wrap-studiengangs-taxonomy .list-taxonomy-main .icheckbox_square-blue.terms-category:is(.active, :has(> input:checked)) {
 border-color:transparent !important;
 background-color:rgba(179,0,170,.3) !important;
 outline:none !important;
 box-shadow:none !important;
}

body.page-studiengangsfinder #main #ifdf-finder-mobile-dialog .icheckbox_square-blue:is(.active, :has(> input:checked)) {
 border-color:transparent !important;
 background-color:rgba(179,0,170,.3) !important;
 outline:none !important;
 box-shadow:none !important;
}

body.page-studiengangsfinder #main #ifdf-finder-mobile-dialog :is(#simple, #advanced).tab-content .icheckbox_square-blue:is(.active, :has(> input:checked)) {
 border-color:transparent !important;
 background-color:rgba(179,0,170,.3) !important;
 outline:none !important;
 box-shadow:none !important;
}

/* Public Value: mirror published text geometry in UX Builder's extra wrappers only. */
body.ux-builder-iframe.page-public-value-studie-2023 .row-pub > .col-inner > .uxb-wrapper--text > div:not(.txt-quote):not(.p-caption) {
 width:100%; max-width:590px; margin-left:auto; margin-right:auto;
}
body.ux-builder-iframe.page-public-value-studie-2023 .row-pub > .col-inner > .uxb-wrapper--text > div p {
 margin-bottom:25px;
}
body.ux-builder-iframe.page-public-value-studie-2023 .row-pub > .col-inner > .uxb-wrapper--text > div:not(.txt-quote):not(.p-caption) > h3 {
 font:26px/normal SuisseScreen-Medium; letter-spacing:-.26px; margin:80px 0 25px;
}
/* The builder displays this shortcode as text instead of rendering the responsive contents menu. */
body.ux-builder-iframe.page-public-value-studie-2023 #main .custom-h1 > p:nth-of-type(2) { display:none; }
@media(max-width:799px) {
 body.ux-builder-iframe.page-public-value-studie-2023 .row-pub > .col-inner > .uxb-wrapper--text > div:not(.txt-quote):not(.p-caption) > h3 {
  font-size:25px; letter-spacing:-.25px; margin-top:60px;
 }
 body.ux-builder-iframe.page-public-value-studie-2023 #main .custom-h1 > p:nth-of-type(2) {
  display:block; height:36px; margin:60px 0!important; padding:0; font-size:0!important; line-height:0!important;
 }
 body.ux-builder-iframe.page-public-value-studie-2023 #main .custom-h1 > p:nth-of-type(2)::before {
  content:'Inhalt ⌄'; display:flex; align-items:center; height:36px; border-top:1px solid #d9d9d9; border-bottom:1px solid #d9d9d9; font:16px/24px SuisseScreen-Medium;
 }
}

body.ux-builder-iframe.page-public-value-studie-2023 #main .custom-h1 > p:first-of-type { letter-spacing: -4%; }

/* Finder result tiles: use the homepage tile zoom and easing, without changing filters or links. */
body.page-studiengangsfinder .wrap-studiengangs .item .item-inner {
  transition: transform .5s cubic-bezier(0, 0, .5, 1);
  transform-origin: center center;
}
body.page-studiengangsfinder .wrap-studiengangs .item .item-inner:hover {
  transform: scale(1.0161);
}

/* Story slideshow: Figma desktop/mobile measurements, scoped to this page. */
@media (min-width:800px) {
 body.page-stiftungszweck-und-story .st-personen .personen-slide,
 body.page-stiftungszweck-und-story .st-personen .personen-slide > .col { height:773px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide .lead { margin-bottom:14px; }
}
@media (min-width:1180px) {
 body.page-stiftungszweck-und-story .st-personen .personen-slide > .col:first-child > .col-inner { padding:70px 70px 80px 60px !important; }
}
@media (max-width:799px) {
 body.page-stiftungszweck-und-story #main .st-personen { padding-left:20px !important; padding-right:20px !important; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide .lead { font:17px/24px SuisseIntl-Mono-Bold; letter-spacing:-.765px; color:#909090; margin-bottom:14px; }
 body.page-stiftungszweck-und-story .st-personen .personen-slide .img img { height:auto; aspect-ratio:1; object-fit:cover; }
}

/* Blog carousel: retain card design while Flickity owns horizontal movement. */
body.single-post .related-news-list.flickity-enabled { display:block !important; overflow:visible; scroll-snap-type:none; padding:0; }
body.single-post .related-news-list.flickity-enabled .related-item { width:calc((100% - 52px)/3) !important; flex:none !important; margin-right:26px !important; scroll-snap-align:none; }
body.single-post .related-news-list.flickity-enabled .related-item:last-child { margin-right:0 !important; }
@media(max-width:799px) {
 body.single-post .related-news-list.flickity-enabled .related-item { width:290px !important; margin-right:25px !important; }
}

/* News detail desktop cards: Figma 3484:10142, 600 x 525.43 with 25px gaps. */
@media (min-width:800px) {
 body.single-post .related-news-list.flickity-enabled .related-item {
  width:600px !important; max-width:none !important; height:525.43px !important; margin-right:25px !important;
 }
 body.single-post .related-news-list.flickity-enabled .related-item:last-child { margin-right:0 !important; }
 body.single-post .related-content { flex:none; height:170px; min-height:170px; padding:27px; background:#efefef; }
 body.single-post .related-content h4 { margin-bottom:16px; }
 body.single-post .related-thumb { height:355.43px; aspect-ratio:157 / 93; }
}

/* Presse downloads: move the existing icon downward on hover, without moving the label. */
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download::after {
 transform:translateY(0)!important;transition:transform .3s ease!important;
}
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:hover::after,
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:focus-visible::after {
 transform:translateY(3px)!important;transition:transform .3s ease!important;
}
@media(prefers-reduced-motion:reduce) {
 body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download::after,
 body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:hover::after,
 body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:focus-visible::after {transition:none!important;}
}

/* Presse: same two-part download animation as the Home PDF component. */
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download::before {
 content:''!important;display:block!important;position:absolute!important;
 width:12px!important;height:1px!important;left:auto!important;right:13.5px!important;top:auto!important;bottom:9px!important;
 background:#fff!important;margin:0!important;transform:none!important;transition:none!important;
}
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download::after,
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:hover::after,
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:focus-visible::after {
 content:''!important; background-image:url('../images/arrow-download.svg')!important;background-size:7px 9px!important;
 transform:none!important;top:-3px!important;transition:top .5s ease!important;
}
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:hover::after,
body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:focus-visible::after {top:0!important;}
@media(prefers-reduced-motion:reduce) {
 body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download::after,
 body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:hover::after,
 body.page-pressekontakt #main .st_press2 .row a.button.primary.btn-download:focus-visible::after {transition:none!important;}
}

/* Finder sorting: selected pills match the regular-weight filter option design. */
body.page-studiengangsfinder #main .ordering-list > span[data-sort],
body.page-studiengangsfinder #main .ordering-list > span[data-sort].active,
body.page-studiengangsfinder #main .ordering-list > span[data-sort].is-active {
 font-family:SuisseScreen-Monitor,sans-serif!important;font-weight:400!important;
}
body.page-studiengangsfinder #main .ordering-list > span[data-sort][aria-pressed="true"] {
 background:#ebb8e7!important;border-color:#ebb8e7!important;color:#111!important;
}
body.page-studiengangsfinder #main .ordering-list > span[data-sort][aria-pressed="true"] .ordering-sort-radio {
 background:#b300aa!important;border-color:#b300aa!important;box-shadow:none!important;
}

/* News dropdown spacing: 10px between choices, 25px before reset. */
@media (min-width: 800px) {
  body.page-news .news .blog-filter .filter-dropdown-content {
    gap: 10px;
  }
  body.page-news .news .blog-filter .filter-dropdown-content > .filter-reset {
    margin-top: 15px;
  }
  body.page-news .news .blog-filter .year-filter-content {
    gap: 25px;
  }
  body.page-news .news .blog-filter .year-filter-content > .filter-reset {
    margin-top: 0;
  }
  body.page-news .news .blog-filter .year-filter-list {
    gap: 10px;
  }
}

/* Publications: fixed download baseline and moving arrow, matching Home. */
body.page-publikationen #main a.button.primary.btn-download::before {
 content:''!important;display:block!important;position:absolute!important;
 width:12px!important;height:1px!important;left:auto!important;right:16px!important;top:auto!important;bottom:9px!important;
 background:#fff!important;margin:0!important;transform:none!important;transition:none!important;
}
body.page-publikationen #main a.button.primary.btn-download::after,
body.page-publikationen #main a.button.primary.btn-download:hover::after,
body.page-publikationen #main a.button.primary.btn-download:focus-visible::after {
 content:''!important;background-image:url('../images/arrow-download.svg')!important;
 background-size:7px 9px!important;background-position:center!important;background-repeat:no-repeat!important;
 transform:none!important;top:-3px!important;transition:top .5s ease!important;
}
body.page-publikationen #main a.button.primary.btn-download:hover::after,
body.page-publikationen #main a.button.primary.btn-download:focus-visible::after {top:0!important;}
@media(prefers-reduced-motion:reduce) {
 body.page-publikationen #main a.button.primary.btn-download::after {transition:none!important;}
}

/* Keep the open sort trigger above its backdrop after focus leaves it. */
body.page-studiengangsfinder #main .ordering:has(> .ordering-toggle[aria-expanded="true"]) {
 z-index: 3;
}

/* Netzwerk only: raster close cursor on every backdrop hit area. */
@media (hover: hover) and (pointer: fine) {
 body.page-netzwerk .mfp-bg,
 body.page-netzwerk .mfp-wrap:has(.lightbox-partner),
 body.page-netzwerk .mfp-wrap:has(.lightbox-partner) .mfp-container,
 body.page-netzwerk .mfp-wrap:has(.lightbox-partner) .mfp-content {
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABP0lEQVR4nM1Xuw2EMAxlBEZgBMahZAFqemokSsoswA5hgxuFipqLOSIh3x1+CYGA9ETBi9/Ddn5JAj5FUaQGpYEy0AYLg96+ESdF4yLC2RaYC0qgMdkZYfrjzkOYo3POiBmQG7wCiFtQrNxFfAoobjGJJi4Ul01sNQ+Z9qNyfPdEoIaDG5OLZzeKW2R7A0oaUFXVCiQ4yFX72otB27Zd5nle6ro+5NF34hEfiJuSgRJNW9/3hyasOPHAmCWUfsSEh/inDMXvjcXJhKc4QSeu4tzE/u0Tx9sAYRiGhR56+8bwNmDTPo4jNDuCGuA1l2aHZECfEec94WhCO01Dqds9TCh4IUKnmqOJEl6Km6ZBl9eVR3yAm8Kb0QVQz9mOox9IHnEki34ovcGELM5MxLmYsJ6IczVjRuJcTv9kJPj1/A3FXtcf4Uzo4wAAAABJRU5ErkJggg==") 16 16, pointer !important;
 }
 body.page-netzwerk .mfp-wrap .lightbox-content:has(.lightbox-partner) {
  cursor: auto !important;
 }
}

/* Themenfelder backdrop: 32px raster check, centered valid hotspot. */
@media (hover: hover) and (pointer: fine) {
 body.page-themenfelder .themenfelder-overlay,
 body.page-themenfelder .themenfelder-overlay *,
 body.page-themenfelder .popup-active .themenfelder-filter,
 body.page-themenfelder .st-themenfelder-3.popup-active button.filter-toggle {
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABNklEQVR4nM1XsQ2EMAxkhIzACIyTMmIJxqCiTk9NnxFeYglKRE2Rj19EQn4gTt5PeOmkl4hzZ/uUxEVB/EkphYNy0A7GwSKY7RusEdR9KcTltjEmDAFiyl+IIeM2gRijja6IC6gcXgzkHrBXFUM+M5J7zEERfyQPi9h6zln2q3Z8e4LJcGRjYvLyRnKPci9AZxCg971n3bzv+w8IawUIUJzkXdfZdV3tMAyU9Yq1/E3T2GVZ7DiO9DbI44slGnVd22maPoD/xDhTcGUPWUP2UIWYOJKAkKmg39B36H+scJKAK4JI06UJOCtxgukOBZgUkyWa7tCEmhqwzzjVdAg6+iDyPU81HYJKOoojjtoQRP7L6BHXcfYHySOeZNkfpTeICJMjEXkGE+SJPKMZEpJnOD2pCPt4/gZMCc/J6dL19QAAAABJRU5ErkJggg==") 16 16, pointer !important;
 }
}

/* Themenfelder selected tiles: fill only, with no visible border. */
body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice.is-selected,
body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice[aria-pressed="true"] {
 border-color: transparent !important;
 box-shadow: none !important;
}

/* Equal topic tiles; long labels must not enlarge their grid track. */
body.page-themenfelder .ifdf-dde-themen-filter .filter-list ul > li {
 min-width: 0;
}
body.page-themenfelder .ifdf-dde-themen-filter .filter-list li button.ifdf-dde-themen-filter-choice {
 min-width: 0;
}
body.page-themenfelder .ifdf-dde-themen-filter .ifdf-dde-themen-filter-name {
 min-width: 0;
 max-width: 100%;
 overflow-wrap: anywhere;
}
@media (min-width: 800px) {
 body.page-themenfelder .ifdf-dde-themen-filter .filter-list ul {
  grid-template-columns: repeat(6, minmax(0, 1fr));
 }
}
