/*
 * News-Detailseite - Layoutanpassungen (Ticket "Layout Newsbeitraege", 2026-08-14)
 * Separate Datei, weil der Vite/SCSS-Build des Projekts nicht mehr lauffaehig ist.
 * Alle Regeln sind auf .news_details_page_dv begrenzt.
 */

/* --- Abstand Bildunterschrift -> Text verringern (war ~130px) --- */
.news_details_page_dv section.karriere .post_image,
.news_details_page_dv section.karriere .post_video {
    margin-bottom: 0 !important;
}

.news_details_page_dv figure {
    margin-bottom: 8px;
}

.news_details_page_dv section.karriere {
    padding-bottom: 0 !important;
}

.news_details_page_dv section.karriere + section {
    padding-top: 28px !important;
}

/* Bildergalerie: die Slider-Punkte liegen absolut zwischen Bildunterschrift und Text
   und wuerden den Abstand aufbrauchen -> Text entsprechend tiefer setzen,
   damit auch hier ~36px UNTER den Punkten bleiben. */
.news_details_page_dv section.karriere:has(.slick-dots) + section {
    padding-top: 61px !important;
}

/* --- Bild mittig in der Textspalte --- */
.news_details_page_dv .post_image .imag_gal_div {
    text-align: center;
}

.news_details_page_dv .post_image figure {
    display: inline-block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.news_details_page_dv .post_image figcaption {
    text-align: left;
}

/* --- Teilen-Block am Textende, Icons im Footer-Design --- */
.news_details_page_dv .news-share {
    margin-top: 24px;
}

.news_details_page_dv .news-share .social_text {
    padding-bottom: 12px;
}

.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 16px;
    row-gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard li {
    flex: 0 0 auto;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}

.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: #005ca9 !important;
    transition: background-color 0.2s ease-in-out;
}

.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard li a:hover,
.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard li a:focus {
    background: #004f92 !important;
}

.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard li a .share_text,
.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard li a .share_count {
    display: none !important;
}

.news_details_page_dv .news-share .social_share_icons .shariff ul.orientation-horizontal.button-style-standard li a span[class*="fa"] {
    width: auto !important;
    height: auto !important;
    margin: 0;
    padding: 0;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #ffffff;
}
