/* Blog (Übersicht, Beitrag, Autorenkasten) in den Farben der Tanzschule */

.Blog__back {
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
}

.Blog__intro {
    font-size: 1.1rem;
    color: #555;
}

.BlogMeta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.75rem;
}

.BlogMeta a {
    color: inherit;
    text-decoration: underline;
}

/* Kategorien als Reiter */

.BlogCategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
}

.BlogCategories a {
    border: 1px solid #e9ccd6;
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    font-size: 0.9rem;
    color: #990033;
    background: #fff;
}

.BlogCategories a:hover,
.BlogCategories a:focus,
.BlogCategories a.is-active {
    background: #990033;
    border-color: #990033;
    color: #fff;
}

.BlogTeaser__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #990033;
    margin-bottom: 0.25rem;
}

/* Beitrag in der Übersicht */

.BlogTeaser {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid #eee;
}

.BlogTeaser__media {
    flex: 0 0 40%;
    display: block;
}

.BlogTeaser__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.BlogTeaser__body {
    flex: 1 1 auto;
    min-width: 0;
}

.BlogTeaser h2 {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}

.BlogTeaser h2 a,
.BlogTeaser h3 a {
    color: #333;
}

.BlogTeaser h2 a:hover,
.BlogTeaser h3 a:hover {
    color: #990033;
}

.BlogTeaser__more {
    font-weight: bold;
}

@media only screen and (max-width: 40em) {
    .BlogTeaser {
        flex-direction: column;
    }

    .BlogTeaser__media {
        flex-basis: auto;
        width: 100%;
    }
}

/* Kleine Kacheln ("Weitere Beiträge") */

.BlogRelated__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 1.25rem;
}

.BlogTeaser--compact {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    border: 0;
}

.BlogTeaser--compact .BlogTeaser__media {
    flex-basis: auto;
    width: 100%;
}

.BlogTeaser--compact h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
}

/* Beitrag */

.BlogArticle h1 {
    margin-bottom: 0.25rem;
}

.BlogArticle figure {
    margin: 1.5rem 0;
}

.BlogArticle figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 3px;
}

/* Theme färbt figcaption bordeaux (0a98328.css); im Blog schlicht unter dem Bild */
.BlogArticle figcaption {
    background: none;
    padding: 0;
    font-size: 0.85rem;
    color: #777;
    text-align: center;
    margin-top: 0.4rem;
}

.BlogArticle__teaser {
    font-size: 1.15rem;
    font-weight: bold;
    color: #444;
}

.BlogArticle__text {
    font-size: 1.05rem;
    line-height: 1.7;
}

.BlogArticle__text h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.BlogArticle__text h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.BlogArticle__text img {
    max-width: 100%;
    height: auto !important;
}

.BlogArticle__text blockquote {
    border-left: 4px solid #990033;
    color: #555;
    font-style: italic;
}

/* Passende Kurse */

.BlogCourses {
    margin: 2rem 0;
    padding: 1.25rem 1.25rem 0.5rem;
    background: #faf3f5;
    border-top: 4px solid #990033;
    border-radius: 3px;
}

.BlogCourses h2 {
    font-size: 1.25rem;
    margin-top: 0;
}

.BlogCourses ul {
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.75rem;
}

/* Autorenkasten */

.BlogAuthor {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 1.25rem;
    border: 1px solid #e9ccd6;
    border-radius: 3px;
}

.BlogAuthor__image {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.BlogAuthor__name {
    margin-bottom: 0.25rem;
}

.BlogAuthor__name span {
    color: #777;
    font-size: 0.9rem;
}

.BlogAuthor p:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 40em) {
    .BlogAuthor__image {
        width: 80px;
        height: 80px;
    }
}

.BlogRelated {
    margin: 2rem 0;
}

.BlogRelated h2 {
    font-size: 1.25rem;
}

/* Blättern */

.BlogPager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.BlogPager span {
    color: #777;
    font-size: 0.9rem;
}
