@charset "UTF-8";
/*
Theme Name: Verkehrsgesellschaft Mecklenburg-Vorpommern mbH (Gutenberg)
Theme URI: https://vmv-mbh.de
Author: Adrian Mörchen
Author URI: https://moerchen.io/
Requires at least: 6.7
Requires PHP: 8.2
Version: 1.0.0
Text Domain: vmv
*/
body :is(main, footer) {
  hyphens: auto;
  hyphenate-limit-chars: 10 4 5;
  /**
    :not(h1,h2) {
      hyphens: auto;
    }
   */
}

:is(.no-hyphens) * {
  hyphens: none;
}

strong, b {
  font-weight: 600;
}

main a {
  word-wrap: break-word;
}

header:has(.is-position-sticky) {
  display: contents;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: white;
}
.search-field span {
  display: block;
}
.search-field br {
  display: none;
}
.search-field input:not([type=checkbox], [type=radio]), .search-field select {
  border-radius: var(--vmv-border-radius);
  appearance: none;
  border: 1px solid #949494;
  flex-grow: 1;
  margin-left: 0;
  margin-right: 0;
  padding: 8px;
  text-decoration: unset !important;
  min-width: var(--custom-input-min-width, 150px);
  max-width: var(--custom-input-max-width, 100%);
}

header .is-menu-open .wp-block-navigation__container:only-child {
  width: 100%;
}
header .is-menu-open .wp-block-navigation__responsive-dialog {
  padding: var(--wp--preset--spacing--50);
}
header .is-menu-open .wp-block-navigation__responsive-container-close {
  right: var(--wp--style--root--padding-right);
  top: var(--wp--style--root--padding-right);
}
header .is-menu-open .wp-block-navigation-submenu > li > a.wp-block-navigation-item__content {
  display: flex;
}

main figure img {
  transition: transform 0.2s;
}
main figure a {
  overflow: hidden;
}
main figure a:hover img {
  transition: transform 0.2s;
  transform: scale(1.2);
}
main .wp-block-query-pagination-numbers a {
  padding-inline: var(--wp--preset--spacing--10);
}

.vmv-desktop-large-menu > li > a {
  line-height: 2.3;
  text-wrap: nowrap;
}
@media (min-width: 1151px) {
  .vmv-desktop-large-menu > li > a {
    line-height: 3;
  }
}

.vmv-mobile-smaller {
  row-gap: 5px;
}
@media (max-width: 1150px) {
  .vmv-mobile-smaller {
    column-gap: 10px;
  }
}

@media (max-width: 850px) {
  header {
    --wp--preset--spacing--10: 0.15rem;
  }
  header:has(.is-menu-open) .trp-block-container {
    z-index: 0;
  }
  header .trp-language-item {
    padding: 5px;
  }
  header .trp-current-language-item__wrapper {
    padding-right: 0;
  }
  header .vmv-inline-logo img, header .vmv-inline-logo svg {
    max-width: 150px;
  }
}
.timetable-toggle-target:not(.util-hidden) {
  xposition: sticky;
  xtop: 32px;
}

@media (orientation: landscape) {
  .no-margin-if-fullwidth:has(.entry-content > :first-child:is(.alignfull)) {
    margin-top: 0 !important;
  }
  .no-margin-if-fullwidth:has(.entry-content > :last-child:is(.alignfull)) {
    margin-bottom: 0 !important;
  }
}
.vmv-icon {
  --vmv-icon-size: 1.2em;
  font-size: var(--vmv-icon-size);
  vertical-align: middle;
  display: inline;
}
.vmv-icon figure, .vmv-icon svg {
  margin: 0;
  padding: 0;
  height: var(--vmv-icon-size);
  width: auto;
}
.vmv-icon.vmv-icon-size-1x {
  --vmv-icon-size: 1em;
}
.vmv-icon.vmv-icon-size-2x {
  --vmv-icon-size: 2em;
}
.vmv-icon.vmv-icon-size-3x {
  --vmv-icon-size: 3em;
}
.vmv-icon.vmv-icon-size-4x {
  --vmv-icon-size: 4em;
}

.wp-block-navigation__container .wp-block-navigation-item__label:has(.vmv-icon) {
  display: inline-flex;
  justify-items: center;
  column-gap: 7px;
}
.wp-block-navigation__container .wp-block-navigation-item__label:has(.vmv-icon) .vmv-icon {
  --vmv-icon-size: 1.1em;
  display: contents;
}
.wp-block-navigation__container .wp-block-navigation-item__label:has(.vmv-icon) .vmv-icon svg {
  aspect-ratio: 1/1;
  max-width: var(--vmv-icon-size);
  min-width: 1em;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .vmv-mobile-logo {
    --vmv-mobile-image-height: 25px;
  }
  .vmv-mobile-logo[class*="-2x"] {
    --vmv-mobile-image-height: 50px;
  }
  .vmv-mobile-logo img {
    width: auto !important;
    height: var(--vmv-mobile-image-height) !important;
    margin-block: 8px;
  }
  .vmv-mobile-space-between {
    justify-content: space-between;
    column-gap: 0.5rem;
  }
  .vmv-mobile-reset-alignfull:is(.alignfull) {
    margin-left: auto;
    margin-right: auto;
  }
}
.vmv-trenne-silben {
  hyphens: auto;
}

.vmv-keine-silbentrennung {
  hyphens: none !important;
}

.vmv-no-wrap {
  white-space: nowrap;
}

.vmv-display-contents {
  display: contents;
}

.vmv-animate-logo .vmv-inline-logo #faehrt-gut {
  opacity: 1;
  transition: 0.3s all;
}

.scrolled .vmv-animate-logo .vmv-inline-logo #faehrt-gut {
  opacity: 0;
}

@media (min-width: 600px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
  }
}
@media (min-width: 900px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block;
    position: relative;
    width: 100%;
    z-index: auto;
  }
}
.af-form:has(.submit-toggle [value*=_hide_submit]:checked) .af-submit {
  display: none;
}

.home .yoast-breadcrumbs {
  display: none;
}

.wpc-filters-main-wrap .wpc-filter-chips-list br, .wpc-filters-main-wrap .wpc-filters-section br, .wpc-custom-selected-terms .wpc-filter-chips-list br, .wpc-custom-selected-terms .wpc-filters-section br {
  display: none;
}
.wpc-filters-main-wrap .wpc-filters-date-range-column label, .wpc-custom-selected-terms .wpc-filters-date-range-column label {
  display: none;
}
.wpc-filters-main-wrap .wpc-filters-date-range-to-column, .wpc-custom-selected-terms .wpc-filters-date-range-to-column {
  display: none;
}

details + details {
  border-top-width: 0 !important;
}
details > summary {
  list-style: none !important;
  font-weight: bold;
}
details > summary::-webkit-details-marker {
  display: none;
}
details > summary::after {
  font-family: FontAwesome, serif;
  color: white;
  background: var(--wp--preset--color--primary);
  border-radius: 100px;
  aspect-ratio: 1/1;
  height: 1.45em;
  text-align: center;
  content: "\f106";
  float: right;
  transition: all 0.5s;
}
details[open] > summary::after {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.wp-block-query:has(.wp-block-post > details) .wp-block-post + .wp-block-post details {
  border-top-width: 0 !important;
}

/*# sourceMappingURL=style.css.map */
