/*****************************************************************************************************
* Section CSS
******************************************************************************************************/

/*
Site Header
---------------------------------------------------------------------------------------------------- */

/* Site Header Containers
--------------------------------------------- */

.site-header {
  background: #222;
  background: var(--theme1-background-def);
  /* border-top: 15px solid var(--theme1-background-def);  */
  box-shadow: none;
  box-sizing: content-box;
  height: 60px;
  min-width: 280px;
  transition: all 200ms;
  width: 100%;
  z-index: 5;
}

.site-header .wrap {
  display: flex;
  height: 100%;
  justify-content: space-between;
}

.site-header .wrap::before,
.site-header .wrap::after {
  display: none;
}

@media screen and (min-width: 1001px/*mobileMenuMinWidth*/) {

  .bub-scrolled .site-header {
    border-top: none;
    box-shadow: 0 6px 5px -4px rgba(0,0,0,.5);
    height: 60px;
    position: fixed;
  }

  /* Keep anchor targets clear of the header, fixed once scrolled. */
  * {
    scroll-margin-top: 100px;
  }
}

@media screen and (max-width: 1000px/*mobileMenuMaxWidth*/) {

  .site-header {
    position: relative;
    top: 0 !important;
  }

  .site-header .wrap {
    display: block;
  }

  /* Keep anchor targets clear of the floating menu toggle. */
  * {
    scroll-margin-top: 100px;
  }
}


/* Site Title / Logo
--------------------------------------------- */

.title-area,
.site-title,
.site-title a {
  height: 100%;
}

.site-title {
  margin: 0;
}

.site-title a {
  display: flex;
  flex-flow: column nowrap;
  font-size: 1.2rem;
  justify-content: center;
  margin: 0 0 0 -0.3125rem;
  padding: 0 1.25rem;
  width: 13.75rem;
  height: 60px;
}

.site-title a,
.site-title a:focus {
  color: var(--theme1-color-def);
}

.bub-scrolled .site-title a {
  /* margin-top: 1px; */
}

/* The logo a touch brighter on the dark green (user, 2026-10-19), at full
   opacity: its link had 85%, which dulled it and cancelled the brightening
   (user, 2026-10-21). */

.site-title img {
  filter: var(--theme1-filter-logo);
  width: 100%;
  height: auto;
}

/* In the mobile header the logo starts 20px in, with the menu items and the
   content, the same distance as the hamburger from the right edge (user,
   2026-10-21; it was 10px up to 500px, 15px above). */

@media screen and (max-width: 1000px/*mobileMenuMaxWidth*/) {

  .site-title a {
    margin-left: 0;
  }
}

@media screen and (max-width: 500px/*mobileMenuMaxWidth*/) {

  .site-title a {
    /* background: url( '../media/brand/logo-mobile.svg' ) no-repeat; */
    /* background-position: 20px 10px; */
    /* background-size: 40px; */
    font-size: 1rem;
    /* height: 60px; */
    width: 200px;
  }
}


/* Site Description
--------------------------------------------- */


/*
Content Area: Default Content
---------------------------------------------------------------------------------------------------- */

/* Entry
--------------------------------------------- */

.entry {
}


/* Entry Header
--------------------------------------------- */

.entry-header {
  margin: 0 0 15px;
}


/* Entry Meta
--------------------------------------------- */

.entry-meta {
  font-size: 13px;
}

.entry-header .entry-meta {
  display: table;
  font-size: 13px;
  margin-bottom: 15px;
}


/* Entry Content
--------------------------------------------- */

.archive .content .entry,
.home .content .entry,
.page-template-page_blog-php .content .entry {
  /*border-bottom: 10px solid transparent;*/
}

.entry-content .attachment a,
.entry-content .gallery a {
  border: none;
}

.entry-content ol,
.entry-content p,
.entry-content ul,
.quote-caption {
  margin-bottom: 12px;
}

.entry-content p img {
  margin-bottom: 0;
}

.entry-content ol,
.entry-content ul {
  margin-left: 3px;
  margin-top: 0;
}

.entry-content ol > li {
  list-style-type: decimal;
}

.entry-content ul > li {
  /* list-style-type: square; */
}

.entry-content ol ol,
.entry-content ul ul {
  margin-bottom: 0;
}


/* Entry Comments
--------------------------------------------- */

.entry-comments-link::before {
  content: "\2014";
  margin: 0 6px 0 2px;
}

.entry-categories,
.entry-tags {
  display: block;
}

@media screen and (max-width: 500px) {

  .entry-content p {
  -webkit-columns: auto auto;
          columns: auto auto;
    min-width: 0;
  }
}


/* After Entry
--------------------------------------------- */

.after-entry {
  border-bottom: 1px solid #222;
  border-top: 2px solid #222;
  margin-top: 40px;
  padding: 30px 0;
}

.after-entry p:last-child {
  margin-bottom: 0;
}

.after-entry .widget {
  margin-bottom: 30px;
}

.after-entry .widget:last-child {
  margin-bottom: 0;
}


/*
Content Area: Special Content
---------------------------------------------------------------------------------------------------- */

/* No-Posts Content
--------------------------------------------- */

/* Note:
Applies to 404, search-no-results and empty archives: the heading on the left
as on the archives (text.css), the text at most 42rem wide; on 404 and search
pages a search field as the filters' fields and the overview menu's links as
the small tinted boxes (user, 2026-10-22; before, centred, and on search pages
a dark green box with a white field and dark green menu bars). */

/* Page Titles: the 404's code in the single views' line above the title
   (single-common.css). */

.error404 .entry-header .entry-meta {
  color: var(--brand1-color-def);
  font-family: var(--caps-font-family);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 0.625rem 0 0.5rem;
  text-transform: uppercase;
}

.error404 .entry-meta + .entry-title {
  margin-top: 0;
}

/* Content */

.bub-noresult__content {
  max-width: 42rem;
}

.bub-noresult__content p {
  margin: 0 0 1.25rem;
}

.bub-noresult__search-form {
  max-width: 28rem;
}

.bub-noresult__search-form input[type="search"] {
  background: #fff;
  font-size: 0.9rem;
  height: 45px;
  padding: 0 0.75rem;
}

.bub-noresult__search-form input[type="submit"] {
  display: none;
}

/* The overview menu as the small tinted boxes in capitals, as the Schlagworte
   (single-common.css). */

.bub-noresult__menu .menu {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5em 0.4em;
  margin: 1.5rem 0 0;
  padding: 0;
}

.bub-noresult__menu .menu li {
  list-style-type: none;
}

.bub-noresult__menu .menu a {
  background: var(--body-background-sh1);
  color: var(--brand1-color-def);
  display: inline-block;
  font-family: var(--caps-font-family);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  padding: 0.45em 0.8em 0.4em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bub-noresult__menu .menu a:hover {
  background: var(--body-background-sh2);
  color: var(--brand1-color-def);
}

/* FacetWP Template: Content */

.facetwp-template .bub-noresult {
  padding: 30px 20px 0;
}

.facetwp-template .entry.bub-noresult__spacer {
  /* Empty 'entry' element prevents masonry container
  height zero and allows for bottom spacing. */
  display: block !important;
  height: 30px !important;
  position: static !important;
  visibility: hidden;
  width: 100% !important;
}


/*
Sidebar Areas
---------------------------------------------------------------------------------------------------- */

/* Before/After Sidebar Widget Areas
--------------------------------------------- */

/* Custom Post/Archive Banners and Images (Field) */

.bub-custom-banner-item {
  margin-bottom: 10px;
}


/*
Bottom Section
---------------------------------------------------------------------------------------------------- */

/* Containers */

/* In the dark green of the footer, so the page ends in one block that
   answers the header (user, 2026-10-19). */

.bub-bottom-section {
  background: var(--body-background-dk1);
  background: var(--theme1-background-def);
  /* background: linear-gradient(to left, #eee, #fff); */
  color: rgba(255,255,255,0.78);
  margin: 3.5rem auto 0;
  padding: 3.75rem 0 3.25rem;
  position: relative;
  width: 100%;
}

.bub-bottom-section a {
  color: var(--theme1-color-lt1);
}

/* No line above the footer bar: its darker green sets it apart (user,
   2026-10-21). */

body.has-bottom-section .site-footer {
  border-top: none;
}

.page-section .bub-bottom-section {
  margin-top: 0;
}

.bub-bottom-section > .wrap {
  /*position: relative;*/
}

.bub-bottom-section__content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  /*margin: -30px;*/
}

/* Areas: Common  */

.bub-bottom-section__area,
.bub-bottom-section__separator {
  /*margin: 30px;*/
}

.bub-bottom-section__area {
  flex: 1 1 auto;
  max-width: 350px;
}

.bub-bottom-section__area p:last-child {
  margin-bottom: 0;
}

.bub-bottom-section__area a[href*="/maps/"] {
  border: 1px solid #444;
  display: table;
  font-size: 12px;
  font-style: italic;
  line-height: 1;
  margin: 10px 0 -5px 0;
  padding: 6px 9px;
  text-decoration: none;
}

.bub-bottom-section__area a[href*="/maps/"]:hover {
  border-color: currentColor;
  color: #666;
}

/* Text Areas */

.bub-bottom-section__area-1,
.bub-bottom-section__area-2 {
  font-size: 0.95rem;
  margin-right: 30px;
}

.bub-bottom-section__area-2 a {
  text-decoration: underline;
}

/* The first text area as a fifth column: the publisher's name, its first
   line, heads it in the column titles' style and on their row, and the
   address and email stand on the first two link rows, at the links' line
   height (30.4px at 0.95rem). Before, the logo stood above the address, so
   the logo showed twice on screen with the header's (user, 2026-10-21). */

.bub-bottom-section__area-1 {
  line-height: 2;
}

.bub-bottom-section__area-1 p:first-child > strong:first-child {
  color: rgba(255,255,255,0.6);
  display: block;
  font-family: var(--caps-font-family);
  font-size: 0.75rem;
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.bub-bottom-section__area-1 p:first-child > strong:first-child + br {
  display: none;
}

/* Menu Area: Link Columns */

/* A top-level item with children heads a column, such as "Programm", and
   its children are the links; a top-level item without children is a link
   of its own (design decision 11, after septime-verlag). An item pointing
   to "#" loses its link (bubdev_bottom_menu_unlink_headings()). */

/* The columns end at the right edge of the content. */

.bub-bottom-section__area-3 {
  flex: 0 1 auto;
  max-width: none;
}

.bub-bottom-section .nav-bottom {
  margin: 0 0 0 auto;
}

.bub-bottom-section .menu-bottom {
  display: flex;
  flex-flow: row wrap;
  gap: 1.25rem 4rem;
  margin: 0;
  padding: 0;
}

.bub-bottom-section .menu-bottom .menu-item {
  list-style-type: none;
}

.bub-bottom-section .menu-bottom .sub-menu {
  margin: 0;
  padding: 0;
}

.bub-bottom-section .menu-item a {
  display: block;
  font-size: 0.95rem;
  padding: 0.25em 0;
  text-decoration: none;
  transition: color 200ms;
}

/* The column labels at 60% white, 5.3:1 on the green; at 50% they reached
   4.2:1, below the 4.5:1 that 12px text needs (2026-10-21). */

.bub-bottom-section .menu-bottom > .menu-item-has-children > a {
  color: rgba(255,255,255,0.6);
  font-family: var(--caps-font-family);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  cursor: default;
  text-transform: uppercase;
}

.bub-bottom-section .menu-item.bub a {
  /* background: linear-gradient( to right, rgba(var(--brandBub-color-def),0.5), rgba(var(--brandBub-color-def),1) ); */
}

.bub-bottom-section .menu-item.newsletter a {
  /* background: linear-gradient( to right, rgba(var(--brandNewsletter-color-def),0.5), rgba(var(--brandNewsletter-color-def),1) ); */
}

.bub-bottom-section .menu-item.rss a {
  /* background: linear-gradient( to right, rgba(var(--brandRss-color-def),0.5), rgba(var(--brandRss-color-def),1) ); */
}

.bub-bottom-section .menu-item a[href]:hover {
  color: var(--theme1-color-acc);
}

/* Separators */

.bub-bottom-section .bub-bottom-section__separator {
  flex: 0 0 auto;
  /*height: 235px;*/
  min-height: 100%;
  opacity: 0.5;
  width: 1px;
}

@media (max-width: 1200px) {

  .bub-bottom-section {
    margin-top: 2.0rem;
  }

  .bub-bottom-section .menu-bottom {
    column-gap: 2.5rem;
  }
}

@media screen and (max-width: 920px) {
  
  .bub-bottom-section__content {
    display: block;
  }

  .bub-bottom-section__area {
    margin: 20px auto;
    margin-bottom: 0 !important;
    max-width: 400px;
    text-align: center;
  }

  .bub-bottom-section__area a[href*="/maps/"] {
    margin: 15px auto 0;
  }

  .bub-bottom-section .menu-item a {
    margin-bottom: 5px;
  }

  .bub-bottom-section__area:last-child {
    margin-bottom: 25px;
  }

  .bub-bottom-section .nav-bottom {
    margin: 0 auto;
  }

  .bub-bottom-section .menu-bottom {
    display: grid;
    gap: 1.25rem 4rem;
    grid-template-columns: repeat(2, minmax(0, 9rem));
    justify-content: center;
  }
}

@media screen and (max-width: 500px) {

  .bub-bottom-section .menu-bottom {
    column-gap: 1.5rem;
  }
}


/*
Site Footer
---------------------------------------------------------------------------------------------------- */

/* The footer bar in the top bar's darker green, so the page closes as it
   opens (user, 2026-10-21; it had the header's green). No minimum width, so
   the legal links wrap on very narrow screens instead of being cut off (user,
   2026-10-23; it was 290px). */

.site-footer {
  background: #222;
  background: var(--theme1-background-dk1);
  border-top: 1px solid #888;
  font-size: 1rem;
  margin-top: 2.5rem;
}

.bub-togglebox + .entry-footer {
  /* margin-top: 20px; */
}

body.has-bottom-section .site-footer {
  margin-top: 0;
}

.site-footer a {
  color: #fff;
}

/* At least 60px, the height of the header's main bar, which stays in view
   on scroll (user, 2026-10-21; it was 53px). */

.site-footer .wrap {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
  min-height: 3.75rem;
  min-width: 0;
  overflow: hidden;
}

.site-footer .wrap::before,
.site-footer .wrap::after {
  display: none;
}

@media screen and (max-width: 500px) {
  
  .site-footer .wrap {
    justify-content: center;
  }
}
