#footer-custom {
    background-color: rgba(0, 0, 0, 0.7); /* Transparenz nur auf dem Hintergrund */
    color: white;
    display: flex;
    justify-content: center; /* Zentriert den inside-Container */
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
    box-sizing: border-box;
    height: 50px;
}

/* NEUE KLASSE: Footer ausblenden */
#footer-custom.hidden {
    opacity: 0;
    pointer-events: none; /* Verhindert Interaktionen, wenn ausgeblendet */
    transform: translateY(100%); /* Bewegen nach unten aus dem Viewport */
}


#footer-custom .inside {
    position: relative;
    display: flex;
    justify-content: center; /* Zentriert den footer-content-wrapper auf kleinen Bildschirmen */
    align-items: center;
    max-width: 100%; /* Sicherstellen, dass es die volle Breite einnehmen kann */
    width: 100%; /* Muss 100% haben, um das Padding vom Rand zu nutzen */
    box-sizing: border-box;
    padding: 0 20px; /* Dieser Wert sorgt für 20px festen Abstand von den Bildschirmrändern */
}

#footer-custom .footer-content-wrapper {
    display: flex;
    flex-direction: column; /* Standard: gestapelt auf kleinen Bildschirmen */
    justify-content: center; /* Zentriert die Elemente vertikal */
    align-items: center; /* Zentriert die Elemente horizontal */
    width: 100%; /* Nimmt die volle Breite des .inside-Containers ein */
    position: relative;
    height: 100%; /* Füllt die Höhe des Parent (.inside) aus */
}

/* Media Query für größere Bildschirme (Tablets und Desktops) für den Footer-Inhalt */
@media (min-width: 768px) {
    #footer-custom .footer-content-wrapper {
        flex-direction: row; /* Elemente in einer Reihe ausrichten */
        justify-content: space-between; /* Links ganz links und Copyright ganz rechts */
        align-items: center;
    }

    #footer-custom .footer-links {
        margin-bottom: 0; /* Keinen unteren Abstand auf größeren Bildschirmen */
        text-align: left; /* Textausrichtung für Links */
    }

    #footer-custom p {
        text-align: right; /* Textausrichtung für Copyright */
    }
}

/* Styling für die Gruppe der Footer-Links */
#footer-custom .footer-links {
    margin-bottom: 10px; /* Abstand unter den Links auf kleinen Bildschirmen */
    white-space: nowrap; /* Verhindert, dass Links umbrechen */
    text-align: center; /* Zentriert auf kleinen Bildschirmen */
}

/* Styling für einzelne Footer-Links */
#footer-custom .footer-links a {
    color: white;
    text-decoration: none;
    padding: 0 15px; /* Horizontaler Abstand zwischen den Links */
    transition: color 0.3s ease;
}

#footer-custom .footer-links a:hover {
    color: #ccc;
}

/* Styling für den Copyright-Text */
#footer-custom p {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 20px);
    text-align: center; /* Zentriert auf kleinen Bildschirmen */
}

/* Footer Modal Overlay */
.fullscreen-overlay.footer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1.0);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 160;
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    box-sizing: border-box;
}

.fullscreen-overlay.footer-modal.is-active {
    transform: translateX(0);
    visibility: visible;
    display: flex;
}

.footer-modal .overlay-content {
    background-color: rgba(0, 0, 0, 1.0);
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: calc(100% - 80px);
    overflow-y: auto;
    position: relative;
    color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.footer-modal .overlay-content h2 {
    color: white;
    text-align: center;
    font-size: clamp(24px, 5vw, 45px);
    margin-top: 0;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.footer-modal .overlay-text-content {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
}

/* Spezifische Formatierungen für Textinhalte innerhalb von .overlay-text-content */
.footer-modal .overlay-text-content p {
    margin-bottom: 1em;
}

.footer-modal .overlay-text-content ul,
.footer-modal .overlay-text-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.footer-modal .overlay-text-content li {
    margin-bottom: 0.5em;
}

.footer-modal .overlay-text-content a {
    color: rgb(129, 196, 255);
    text-decoration: underline;
}

.footer-modal .close-overlay-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    color: white;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
    padding: 5px;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.footer-modal .close-overlay-button:hover,
.footer-modal .close-overlay-button:focus {
    opacity: 1;
    transform: rotate(90deg);
}

/* Media Queries für Footer und Modal */
@media screen and (max-width: 767px) {
    #footer-custom {
        height: 40px;
    }
    .footer-modal .overlay-content {
        padding: 20px;
        width: 95%;
        max-height: calc(100% - 40px);
    }
    .footer-modal .close-overlay-button {
        font-size: 35px;
        top: 10px;
        right: 15px;
    }
}

@media screen and (max-width: 479px) {
    #footer-custom {
        height: 30px;
    }
    .footer-modal .overlay-content {
        padding: 15px;
        width: 95%;
        max-height: calc(100% - 30px);
    }
    .footer-modal .overlay-text-content {
        font-size: 15px;
    }
    .footer-modal .close-overlay-button {
        font-size: 30px;
        top: 5px;
        right: 10px;
    }
}
#header-custom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0 20px;
    text-align: center;
    z-index: 200;
    box-sizing: border-box;
    height: 70px;
}

#header-custom .inside {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
}

#header-custom h1 {
    margin: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
}

#header-custom h1 .header-home-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

#header-custom h1 .header-home-link:hover,
#header-custom h1 .header-home-link:focus {
    color: grey;
}

#header-custom h1 .header-home-link img {
    height: 45px !important;
    width: auto !important;
    display: block;
}

#header-custom h1 .mod_randomImage {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#header-custom h1 .mod_randomImage figure {
    margin: 0;
    padding: 0;
}

.hamburger-menu {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    outline: none;
}

.hamburger-menu .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu .bar:nth-child(1) {
    top: 0;
}

.hamburger-menu .bar:nth-child(2) {
    top: 11px; 
}

.hamburger-menu .bar:nth-child(3) {
    bottom: 0;
}

@media screen and (max-width: 767px) {
    #header-custom {
        height: 50px;
        padding: 0 15px;
    }
    .hamburger-menu {
        right: 15px;
    }
    #header-custom h1 .header-home-link img {
        height: 35px !important;
    }
}

@media screen and (max-width: 479px) {
    #header-custom {
        height: 40px;
        padding: 0 10px;
    }
    .hamburger-menu {
        right: 10px;
    }
    #header-custom h1 .header-home-link img {
        height: 30px !important;
    }
}
.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1.0);
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 150;
    visibility: hidden;
    overflow: hidden;
}

.fullscreen-nav.is-active {
    transform: translateX(0);
    visibility: visible;
    display: flex !important;
}

.fullscreen-nav ul.level_1 {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.fullscreen-nav ul.level_1 li {
    margin: 20px 0;
}

.fullscreen-nav ul.level_1 a {
    color: white;
    text-decoration: none;
    font-size: clamp(30px, 8vw, 60px);
    transition: color 0.3s ease-in-out;
    display: block;
    text-align: center;
}

.fullscreen-nav ul.level_1 a:hover,
.fullscreen-nav ul.level_1 a:focus {
    color: grey;
}

.fullscreen-nav .invisible {
    display: none;
}

.hamburger-menu.is-active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.is-active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.fullscreen-nav ul.level_1 li.active > strong.active {
    font-size: clamp(30px, 8vw, 60px);
    display: inline-block;
    transform: none; 
    background: linear-gradient(115deg, 
        #008AC9 0% 33.3%, 
        #2B115A 33.3% 66.6%, 
        #F11A22 66.6% 100%
    );
    background-clip: text;
    color: transparent;
    filter: drop-shadow(3px 3px 1px rgb(255, 255, 255));
}
.news_full.block.two-pictures-high-text .rte {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.news_full.block.two-pictures-high-text .rte > .content-text {
    grid-column: 1 / -1; 
}

.news_full.block.two-pictures-high-text .rte > .content-image {
    display: flex;
    flex-direction: column; 
}

.news_full.block.two-pictures-high-text .rte > .content-image figure {
    margin: 0;
    flex-grow: 1; 
}

.news_full.block.two-pictures-high-text .rte > .content-image figure img {
    width: 100%;
    height: 100%; 
    display: block;
    object-fit: cover; 
}
.news_full.block.two-pictures-text .rte {
    display: flex;
    flex-direction: column;
    gap: 20px; /* <-- HIER IST DEIN GEWÜNSCHTER ABSTAND */
}

/* 3. Die Bild-Wrapper (figure) */
.news_full.block.two-pictures-text .rte > .content-image figure {
    margin: 0;
    /* WICHTIG: Kein 'flex-grow' oder 'height: 100%' */
}

/* 4. Die Bilder selbst (Reset von 'object-fit') */
.news_full.block.two-pictures-text .rte > .content-image figure img {
    width: 100%;
    height: auto;      /* WICHTIG: Höhe automatisch anpassen */
    display: block;
    object-fit: unset; /* WICHTIG: Setzt 'object-fit: cover' zurück */
}
.news_full.block.two-pictures .rte {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news_full.block.two-pictures .rte .content-image figure {
    margin: 0;
    flex-grow: 0;
    height: auto; 
}

.news_full.block.two-pictures .rte .content-image figure img {
    width: 100%;
    height: auto; 
    display: block;
    object-fit: unset;
}
.news_full.block.two-pictures-high .rte {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* Dein Abstand */
    
    /* WICHTIG: Erzwingt, dass beide .content-image Boxen gleich hoch sind */
    align-items: stretch; 
}

/* 2. Die Bild-Container (div.content-image) */
.news_full.block.two-pictures-high .rte > .content-image {
    display: flex;
    flex-direction: column; 
}

/* 3. Der <figure> Tag */
.news_full.block.two-pictures-high .rte > .content-image figure {
    margin: 0;
    flex-grow: 1; /* Füllt den verfügbaren Platz */
}

/* 4. Das <img> Tag selbst */
.news_full.block.two-pictures-high .rte > .content-image figure img {
    width: 100%;
    height: 100%; /* Füllt die <figure> */
    display: block;
    object-fit: cover; /* Beschneidet das Bild */
}
.news_full.block.picture-left-text-right .rte {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Zwei gleich breite Spalten */
    gap: 20px;
    
    /* WICHTIG: Beide Elemente starten oben. Das Bild wird nicht gestreckt. */
    align-items: start; 
}

/* 2. Spaltenzuweisung (falls HTML-Reihenfolge falsch ist) */
.news_full.block.picture-left-text-right .rte > .content-image {
    grid-column: 1; /* Bild ist in Spalte 1 */
}
.news_full.block.picture-left-text-right .rte > .content-text {
    grid-column: 2; /* Text ist in Spalte 2 */
}

/* 3. WICHTIG: Bild-Reset */
/* Stellt sicher, dass 'height: 100%' oder 'object-fit' 
   von anderen Regeln nicht fälschlicherweise angewendet wird. */
   
.news_full.block.picture-left-text-right .rte .content-image figure {
    margin: 0;
}
.news_full.block.picture-left-text-right .rte .content-image figure img {
    width: 100%;
    height: auto;      /* Bild behält sein Seitenverhältnis */
    display: block;
    object-fit: unset; /* Entfernt 'cover', falls es geerbt wird */
}
.news_full.block.text-left-picture-right .rte {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Zwei gleich breite Spalten */
    gap: 20px;
    
    /* WICHTIG: Beide Elemente starten oben. */
    align-items: start; 
}

/* 2. Spaltenzuweisung (umgekehrt) */
.news_full.block.text-left-picture-right .rte > .content-text {
    grid-column: 1; /* Text ist in Spalte 1 */
}
.news_full.block.text-left-picture-right .rte > .content-image {
    grid-column: 2; /* Bild ist in Spalte 2 */
}

/* 3. WICHTIG: Bild-Reset (damit es volle Höhe behält) */
   
.news_full.block.text-left-picture-right .rte .content-image figure {
    margin: 0;
}
.news_full.block.text-left-picture-right .rte .content-image figure img {
    width: 100%;
    height: auto;      /* Bild behält sein Seitenverhältnis */
    display: block;
    object-fit: unset; /* Entfernt 'cover', falls es geerbt wird */
}
.news_full.block.banner-img-text .rte {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei gleich breite Spalten */
    gap: 20px;
    
    /* WICHTIG: Alle Elemente starten oben bündig */
    align-items: start; 
}

/* 2. Das Banner (das ERSTE Bild) */
/* Wir zielen auf das erste .content-image-Kind */
.news_full.block.banner-img-text .rte > .content-image:first-child {
    /* Spannt über die volle Breite (von Spalte 1 bis zur letzten) */
    grid-column: 1 / -1; 
}

/* 3. Das Hochformat-Bild (das ZWEITE Bild) */
/* Wir zielen auf das zweite .content-image-Kind */
.news_full.block.banner-img-text .rte > .content-image:nth-of-type(2) {
    grid-column: 1; /* Linke Spalte */
}

/* 4. Der Text/Tabellen-Container */
.news_full.block.banner-img-text .rte > .content-text {
    grid-column: 2; /* Rechte Spalte */
}

/* 5. WICHTIG: Bild-Reset (damit alle Bilder volle Höhe behalten) */
.news_full.block.banner-img-text .rte .content-image figure {
    margin: 0;
}
.news_full.block.banner-img-text .rte .content-image figure img {
    width: 100%;
    height: auto;      /* Bild behält sein Seitenverhältnis */
    display: block;
    object-fit: unset; /* Entfernt 'cover', falls es geerbt wird */
}
.hero-post {
    margin-bottom: 40px;
}

.hero-post-wrapper {
    display: block;
}

.news_hero_container,
.hero_main_content_wrapper {
    grid-area: auto;
}

.news_hero_container {
    width: 100%;
    position: relative; 
    z-index: 1;
}

.news_hero_container .hero_background {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: #000;
}

.news_hero_container .hero_background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.news_hero_container .hero_background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news_hero_container .hero_content {
    position: absolute;
    width: 90%;
    z-index: 3;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.news_hero_container .hero_content h1 {
    font-size: clamp(40px, 8vw, 90px);
    margin: 0;
    font-weight: bold;
}

.hero_main_content_wrapper {
    background-color: #04010b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    z-index: auto;
    align-self: auto;
}

.hero_main_content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    text-shadow: none;
}

.orange .news_hero_container .hero_content h1 {
    color: #FF8C00;
}

.green .news_hero_container .hero_content h1 {
    color: #32CD32;
}

.silver .news_hero_container .hero_content h1 {
    color: #C0C0C0;
}

.hero_main_content h2 {
    color: #f1f1f1;
}

.orange .hero_main_content h2 {
    color: #FF8C00;
}

.green .hero_main_content h2 {
    color: #32CD32;
}

.silver .hero_main_content h2 {
    color: #C0C0C0;
}

@media (min-width: 992px) {
    .hero_main_content {
        max-width: 1190px;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 40px;
        align-items: start;
    }
}

@media (min-width: 1700px) {
    .hero_main_content {
        max-width: 1600px;
    }
}
body {
    background-color: #000000;
    color: #f1f1f1;
    font-family: sans-serif;
    padding-top: 70px;
    padding-bottom: 50px;
}

figure {
    margin: 0 !important;
}

.news-list {
    max-width: 890px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-list .block[id^='article-'] {
    background-color: #16141b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    overflow: hidden;
}

.news-list .block[id^='article-'] .content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-list .block[id^='article-'] .content-text {
    padding: 30px;
}

.news-list .block[id^='article-'] .content-text h2 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.news-list .block[id^='article-'] .content-text p,
.news-list .block[id^='article-'] .content-text ul {
    line-height: 1.7;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-top: 1px solid #222;
}

.plenta-news-likes {
    font-size: 1.2em;
    cursor: pointer;
}

/* --- Kommentar-Link Styling --- */
.comment_link_wrapper {
    display: flex;
    align-items: center;
}

.comment_link_wrapper a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1f1d24; /* Etwas heller als der Hintergrund der Card */
    color: #f1f1f1 !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

/* Der Hover-Effekt (passend zu deinen Akzentfarben) */
.comment_link_wrapper a:hover {
    background-color: #2a2830;
    border-color: #555;
    transform: translateY(-2px);
}

/* Das Icon vor der Zahl (via CSS) */
.comment_link_wrapper a::before {
    content: '💬'; /* Oder ein SVG Icon */
    font-size: 1.1em;
}

/* Optional: Wenn du die Farben der Kategorien (orange, green, etc.) übernehmen willst */
.orange .comment_link_wrapper a:hover { border-color: #FF8C00; }
.green .comment_link_wrapper a:hover { border-color: #32CD32; }
.silver .comment_link_wrapper a:hover { border-color: #C0C0C0; }

.news-list .layout-image-only .content-text {
    display: none;
}

.news-list .content-text h2 {
    color: #f1f1f1;
}

.orange .news-list .content-text h2 {
    color: #FF8C00;
}

.green .news-list .content-text h2 {
    color: #32CD32;
}

.silver .news-list .content-text h2 {
    color: #C0C0C0;
}

@media (min-width: 992px) {
    .news-list {
        min-width: 98%;
    }
}

@media (min-width: 1700px) {
    .news-list {
        max-width: 1600px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .news-list .block[id^='article-'] {
        margin-bottom: 0;
    }
}
/* --- BASIS-CONTAINER --- */
.gallery-slider {
    grid-column: 1 / -1 !important; /* Bricht aus dem 2-Spalten-Grid aus */
    width: 100%;
    position: relative; /* Wichtig für die Position der Pfeile */
    overflow: visible;
    margin: 30px 0;
}

/* --- DIE LISTE (DER SLIDER) --- */
.gallery-slider ul {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 0 0 20px 0;
    margin: 0;
    list-style: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

/* Scrollbar für Chrome/Safari verstecken */
.gallery-slider ul::-webkit-scrollbar {
    display: none;
}

/* --- DIE EINZELNEN BILDER (LI) --- */
.gallery-slider li {
    flex: 0 0 85% !important; /* Verhindert das Zusammenquetschen */
    flex-shrink: 0 !important; 
    scroll-snap-align: center;
    list-style: none;
}

.gallery-slider li::marker {
    display: none; /* Entfernt eventuelle Contao-Punkte */
}

.gallery-slider figure {
    margin: 0;
    width: 100%;
}

.gallery-slider img {
    width: 100%;
    height: 65vh; 
    min-height: 350px;
    max-height: 800px;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Wichtig für den Maus-Drag */
}

/* --- PFEIL-BUTTONS --- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: #fff;
    scale: 1.1;
}

.btn-prev { left: -25px; } /* Etwas nach außen geschoben */
.btn-next { right: -25px; }

/* Pfeil-Icon Zeichnung */
.slider-btn::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    display: block;
}
.btn-prev::after { transform: rotate(-135deg); margin-left: 5px; }
.btn-next::after { transform: rotate(45deg); margin-right: 5px; }

/* Desktop-Anpassung */
@media (min-width: 1024px) {
    .gallery-slider li { flex: 0 0 60% !important; }
    .btn-prev { left: 20px; }
    .btn-next { right: 20px; }
}
/* --- Video-Anpassung --- */

/* 1. Container-Abstände neutralisieren */
.content-player {
    width: 100%;
    margin: 0;
}

.content-player figure {
    margin: 0 !important;
    width: 100%;
}

/* 2. Das Video-Element selbst auf volle Breite bringen */
.content-player video {
    width: 100% !important;
    height: auto !important;
    display: block;
    /* Optional: Hintergrundfarbe für das Laden */
    background-color: #000; 
}

/* Falls das Video im selben Beitrag wie Text steht, 
   verhindern wir, dass es das Padding vom Text übernimmt */
.news-list .block .rte > .content-player {
    margin-left: -30px;
    margin-right: -30px;
    width: calc(100% + 60px);
}
