/* Prevent submenu links from wrapping */
.t-menusub__link-item {
  white-space: nowrap;
}

.t-menusub__content,
.t-menusub__menu,
.t-menusub__list {
  width: max-content;
  min-width: max-content;
}

/* Tilda T654 announcement bar CLS fix */
#rec2181656633:has(.t654:not([style*="display: none"])) {
  min-height: 60px;
}

#rec2181656633 .t654:not([style*="display: none"]),
#rec2181656633 .t654:not([style*="display: none"]) .t654__wrapper,
#rec2181656633 .t654:not([style*="display: none"]) .t654__maincontainer {
  height: 60px !important;
  min-height: 60px !important;
}

#rec2181656633 .t654__container-flex {
  align-items: center;
  flex-wrap: nowrap;
}

#rec2181656633 .t654__text {
  line-height: 20px;
  white-space: nowrap;
}

#rec2181656633 .t-btnflex {
  flex-shrink: 0;
}

/* Remove reserved space when Tilda hides the announcement bar */
#rec2181656633:has(.t654[style*="display: none"]) {
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden;
}

/* Tilda T972 cookie widget mobile CLS fix */
.t972.t972_widgetview {
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 999999 !important;
  width: auto !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  transform: none !important;
}

/* Make inner cookie widget stable */
.t972.t972_widgetview,
.t972.t972_widgetview * {
  box-sizing: border-box;
}

/* Prevent cookie widget text/buttons from causing horizontal overflow */
.t972.t972_widgetview {
  overflow-wrap: anywhere;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  #rec2181656633:has(.t654:not([style*="display: none"])) {
    min-height: 60px;
  }

  #rec2181656633 .t654:not([style*="display: none"]),
  #rec2181656633 .t654:not([style*="display: none"]) .t654__wrapper,
  #rec2181656633 .t654:not([style*="display: none"]) .t654__maincontainer {
    height: 60px !important;
    min-height: 60px !important;
  }

  #rec2181656633 .t654__text {
    font-size: 12px;
    line-height: 18px;
  }

  .t972.t972_widgetview {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }
}