/*****************************************************************************************************
* Common Single CSS: All post types
******************************************************************************************************/

/*
Basic Structure
---------------------------------------------------------------------------------------------------- */

/* Containers
--------------------------------------------- */

/* Add additional top spacing to singles. */

.single:not(.has-breadcrumbs) .content-sidebar-wrap {
  /*margin-top: 10px;*/
}


/* Post Navigation
--------------------------------------------- */

/* Post Nav: Common */

.bub-post-nav {
  display: flex;
  font-size: 0.73rem;
  margin: 15px 0 20px;
}

.bub-post-nav__seperator {
  display: none;
  position: relative;
    bottom: 0px;
}

.bub-post-nav__item--prev {
  margin-right: 6px;
}

.bub-post-nav__item a {
  background: var(--body-background-lt2);
  border: 1px solid #e8e8e8;
  border-radius: var(--border-radius-def);
  box-shadow: 1px 1px 3px 0px #00000008;
  color: #444;
  text-decoration: none !important;
}

.bub-post-nav__item a:hover {
  /* filter: brightness(95%); */
}

.bub-post-nav__item--prev a,
.bub-post-nav__item--next a {
  line-height: 1;
  padding-top: 7px;
  padding-bottom: 6px;
}

.bub-post-nav__item--prev a {
  padding-left: 6px;
  padding-right: 11px;
}

.bub-post-nav__item--next a {
  padding-left: 11px;
  padding-right: 6px;
}

.bub-post-nav__arrow {
  font-size: 1.5em;
  padding: 0px 4px;
  position: relative;
  top: 0.02em;
}

/* Post Nav: Bottom */

.bub-post-nav.bottom {
  display: none;
}

/* Desktop Arrow Navigation */

/* @media screen and (min-width: 1001px) {

  .single .entry {
    position: relative;
  }

  .bub-post-nav {
    display: inline;
  }

  .bub-post-nav__item {
    position: absolute;
      top: -3px;
  }

  .bub-post-nav__item--prev {
    left: -50px;
  }

  .bub-post-nav__item--next {
    right: -50px;
  }

  .bub-post-nav__text {
    display: none;
  }

  .bub-post-nav__arrow {
    font-size: 40px;
    font-weight: bold;
  }
} */


/* Entry Header
--------------------------------------------- */

.single .featimg__image {
  /* border-radius: var(--border-radius-def); */
}


/* Entry Meta
--------------------------------------------- */

.single .entry-meta,
.single .bub-terms {
  display: block;
  font-size: 0.9rem;
}

.single .entry-header .entry-meta {
  line-height: 1.4;
  margin: 20px 0;
}

.single .entry-header .entry-meta .pretext,
.single .entry-header .entry-meta .entry-time {
  display: block;
}


/* Entry Content
--------------------------------------------- */

/* Teaser */

.single .bub-post-teaser {
  font-style: italic;
}

/* Content */

.single .entry-content li,
.single .bub-product-description__content li {
  padding: 2px 0;
}

/* Footer */

.single .entry-footer .entry-meta,
.single .bub-terms {
  background: #fff;
  border: 1px solid #ddd;
  display: table;
  font-size: 12px;
  line-height: 1.5;
  margin: 40px 0 0;
  padding: 8px 20px 8px 15px;
}

.single .bub-terms,
.single .bub-terms a {
  color: #444;
}

.single .bub-terms a:hover {
  color: #777;
}


/* After Content
--------------------------------------------- */

/* Post Note (Hinweistext) */

.bub-post-note {
  margin: 0.5rem 0 0; 
}

/* Share Buttons */

.bub-share-buttons .shariff .shariff-buttons li {
  border-radius: 7px;
}

@media screen and (min-width: 361px) { 

  .bub-share-buttons {
    margin: 0 0 20px -6px;
  }

  .entry:has(.bub-togglebox.visible) + .bub-share-buttons {
    margin-top: 15px;
  }

  .single-bub_content .bub-share-buttons {
    margin-top: 35px;
  }

  .bub-share-buttons .shariff .shariff-buttons li {
    flex: 0 1 120px;
    width: auto;
  }

  .bub-share-buttons .shariff .shariff-icon {
    padding-left: 5px;
  }
}


/* Social Menu
--------------------------------------------- */

.single .bub-social-menu {
  margin: 25px -3px 10px;
}

.single .bub-togglebox.is-visible + .bub-social-menu  {
  margin-top: 45px;
}


/*
Sections
---------------------------------------------------------------------------------------------------- */

/* Promotion
--------------------------------------------- */
/* After post description / post content */

.bub-post-promo {
  margin: 22px 0px -10px 0px;
}


/* Cross: Events
--------------------------------------------- */

.bub-post-events__list {
  margin: 0;
  padding: 0;
}

.bub-post-events__item {
  list-style-type: none;
}


/* Cross: Parties (Urheber)
--------------------------------------------- */

.bub-rel-parties__item {
  clear: both;
}

.bub-rel-parties__item:not(:last-child) {
  padding-bottom: 20px;
}

.bub-rel-parties__image {
  display: table;
  float: right;
  margin: 0 0 7px 15px;
}

.bub-rel-parties__image img {
  height: 100%;
  max-height: 280px !important;
  max-width: 200px !important;
  width: 100%;
}

.bub-rel-parties__caption {
  caption-side: bottom;
  display: table-caption;
  font-size: 0.8rem;
  line-height: 1.3;
  margin: 0;
  padding: .3em 0 0;
}

.bub-rel-parties__item-title {
  font-size: 1em;
  font-weight: bold;
  margin: 0 !important;
  padding: 0 0 .5em;
}

.bub-rel-parties__item::after {
  display: table;
  content: '';
  clear: both;
}

.bub-rel-parties__item:not(:last-child) .bub-rel-parties__more {
  margin-bottom: 10px;
}

@media screen and (max-width: 600px) {

  .bub-rel-parties__image {
    float: none;
    margin: 7px 0 17px 0;
  }

  .bub-rel-parties__image img {
    max-width: 100% !important;
    max-height: 100% !important;
    height: auto;
    width: auto;
  }
}


/* Cross: Groups (Contributers, Contacts)
--------------------------------------------- */

.bub-rel-groups__group:not(:last-child) {
  padding-bottom: 1em;
}

.bub-rel-groups__group-title {
  font-size: 1.05em;
  font-weight: bold;
  margin: 0 !important;
  padding: 0.5em 0 0.7em;
}

.bub-rel-groups__free,
.bub-rel-groups__item {
  clear: both;
}

.bub-rel-groups__item:not(:last-child) {
  padding-bottom: 1.2em;
}

.bub-rel-groups__item h2,
.bub-rel-groups__item h3,
.bub-rel-groups__item h4 {
  font-size: 1em;
}

.bub-rel-groups__item li {
  padding: 2.5px 0;
}

.bub-rel-groups__free::after,
.bub-rel-groups__item::after {
  display: table;
  content: '';
  clear: both;
}

.bub-rel-groups__image {
  display: table;
  float: right;
  margin: 0 0 7px 15px;
}

.bub-rel-groups__image img {
  height: 100%;
  max-height: 280px !important;
  max-width: 200px !important;
  width: 100%;
}

.bub-rel-groups__caption {
  caption-side: bottom;
  display: table-caption;
  font-size: 0.8rem;
  line-height: 1.3;
  margin: 0;
  padding: 0.3em 0 0;
}

.bub-rel-groups__name {
  font-style: italic;
}

/* Contributers */

.bub-rel-groups__name {
  padding: 0 0 0.25em;
}

@media screen and (max-width: 600px) {

  .bub-rel-groups__image {
    float: none;
    margin: 7px 0 15px 0;
  }

  .bub-rel-groups__image img {
    max-width: 100%;
  }
}


/* Cross: Post Terms (Schlagworte)
--------------------------------------------- */
