/* --------------------------------------------------
   Blog
-------------------------------------------------- */

/*
.vc_grid-item-mini .vc_gitem-row-position-middle {
    margin-top: 20px;
}
*/

/* Grid-Elemente wieder normal untereinander setzen */
.vc_grid-item-mini .vc_gitem-zone-a .vc_gitem-row-position-top,
.vc_grid-item-mini .vc_gitem-zone-a .vc_gitem-row-position-middle,
.vc_grid-item-mini .vc_gitem-zone-a .vc_gitem-row-position-bottom {
    position: static;

    inset: auto;
    transform: none;
}

/* Bild im Verhältnis 3:2 */
.vc_grid-item-mini .vc_single_image-wrapper {
    overflow: hidden;

    aspect-ratio: 3 / 2;
}

/* Bild beschneiden */
.vc_grid-item-mini .vc_single_image-wrapper img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Abstand zwischen Titel und Bild */
.posts__news h5 {
    margin: 14px 0 -7px;
}

/* Titel-Link */
.posts__news h5 a {
    display: block;

    margin-top: 12px;

    color: var(--color-text);

    font-size: 18px;
    font-weight: 600;

    text-decoration: none;
    cursor: pointer;
}

.posts__news h5 a:hover {
    color: var(--color-hover);
}

/* Pfeil hinter dem Titel-Link */
.posts__news h5 a::after {
    content: "";

    display: inline-block;
    position: relative;
    top: 2px;

    width: 16px;
    height: 14px;
    margin-left: 7px;

    background-color: currentColor;

    -webkit-mask: url("../img/arrow__right.svg") center / contain no-repeat;
    mask: url("../img/arrow__right.svg") center / contain no-repeat;

    transition: transform 0.2s ease;
}

.posts__news h5 a:hover::after {
    transform: scale(1.15);
}

.vc_gitem-post-data {
    margin-bottom: 0;
}

/* Leeren Bereich über dem Beitrag entfernen */
.vc_grid-item-mini .vc-gitem-zone-height-mode-auto::before {
    display: none;
}

/* Abstände justieren */
.vc_gitem_row .vc_gitem-col {
    padding: 0 !important;
}


/* --------------------------------------------------
   Alle Beiträge – page-id-331
-------------------------------------------------- */

.page-id-331 h1 {
    margin-left: -24px;
}


/* --------------------------------------------------
   Einzelne Beiträge
-------------------------------------------------- */

.single-post.separate-containers .site-main {
    margin-top: 50px;
}

.single-post .container.grid-container,
.page-id-331 .container.grid-container,
    /*Junge DGEM Bericht*/
.page-id-1343 .container.grid-container{
    max-width: 980px;
}

/* Autor, Kategorie, Datum und Kommentare ausblenden */
.single-post span.byline,
.single-post .author.vcard,
.single-post .cat-links,
.entry-date.published,
.comments-area {
    display: none;
}

/* Beitragsnavigation */
.single-post #nav-below a {
    margin-top: 18px;

    color: var(--color-blue);

    font-size: 16px;
    font-weight: 500;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition: text-underline-offset 0.2s ease;
}

.single-post #nav-below a:hover {
    text-underline-offset: 5px !important;
}

/* Beitragsbild */
.single-post .featured-image img {
    width: 960px;
}


/* --------------------------------------------------
   Vorheriger/nächster Beitrag
-------------------------------------------------- */

footer.entry-meta {
    margin-top: 50px;
}

footer.entry-meta .next {
    margin-top: 25px;
}