/* Breadcrumb im Seitentitel aller Seiten außerhalb des Blogs (Theme-Seitentitel und Element
   „Page title“). Wird über dp_blog_stylesheet_tag() geladen; Blog-Seiten nutzen blog.css. */

#page-title .blog-breadcrumb {
    margin-top: 18px;
}
.blog-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    line-height: 1.4em;
}
.blog-breadcrumb li {
    display: inline-flex;
    align-items: center;
    flex: none;
    margin: 0;
    padding: 0;
}
/* Letzter Eintrag bleibt einzeilig und wird bei Bedarf gekürzt (Titel steht darüber) */
.blog-breadcrumb li:last-child {
    flex: 0 1 auto;
    min-width: 0;
}
.blog-breadcrumb li:last-child [aria-current] {
    display: block;
    max-width: 22em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.blog-breadcrumb li + li:before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin: 0 12px 0 9px;
}
.blog-breadcrumb a {
    text-decoration: none;
    -webkit-transition: 300ms color ease-in-out;
    transition: 300ms color ease-in-out;
}
#page-title .blog-breadcrumb ol {
    justify-content: center;
    font-size: 0.8em;
}
.blog-breadcrumb li + li:before {
    opacity: 0.5;
}
#page-title .blog-breadcrumb a {
    color: var(--body-text-color);
}
.vc_desktop #page-title .blog-breadcrumb a:hover,
.vc_mobile #page-title .blog-breadcrumb a:hover {
    color: var(--primary-color);
}
#page-title .blog-breadcrumb [aria-current] {
    color: var(--secondary-color);
}
@media (max-width: 767px) {
    #page-title .blog-breadcrumb {
        margin-top: 14px;
    }
}

/* Die goldene Linie unter dem Titel (custom.css: #page-title .title:after) beginnt mit
   Breadcrumb erst unter der Breadcrumb – sonst läuft sie mitten durch. */
#page-title.has-breadcrumb .title:after {
    display: none;
}
#page-title.has-breadcrumb .blog-breadcrumb {
    position: relative;
    z-index: 1;
}
#page-title.has-breadcrumb .blog-breadcrumb:after {
    content: "";
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    display: block;
    margin: 10px 0 0 -1px;
    z-index: -2;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transition: 300ms all ease-in-out;
    transition: 300ms all ease-in-out;
}
.loaded #page-title.has-breadcrumb .blog-breadcrumb:after {
    height: 70px;
}
@media (max-width: 500px) {
    /* Titel hat hier margin-bottom: -15px (responsive.css) */
    #page-title .blog-breadcrumb {
        margin-top: 29px;
    }
    .loaded #page-title.has-breadcrumb .blog-breadcrumb:after {
        height: 50px;
    }
}
