.aktuell-carousel-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    height: calc(100vh - var(--total-header-height, 100px) - var(--footer-height, 80px));
    min-height: calc(100vh - var(--total-header-height, 100px) - var(--footer-height, 80px));
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

.aktuell-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 20px;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 40px;
    box-sizing: border-box;
}

.aktuell-slide {
    flex: 0 0 calc(20% - 15px);
    min-width: 280px;
    max-width: 320px;
    background: #999999;
    color: #fff;
    margin: 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    min-height: 360px;
    height: auto;
    transition: height 0.28s ease;
}

.aktuell-carousel-container.is-loading .aktuell-slide {
    position: relative;
    overflow: hidden;
    background: #c7c7c7;
    height: clamp(340px, 48vh, 430px);
    min-height: clamp(340px, 48vh, 430px);
}

.aktuell-carousel-container.is-loading .aktuell-slide > * {
    opacity: 0;
}

.aktuell-slide > * {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.aktuell-carousel-container.is-loading .aktuell-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    animation: aktuell-skeleton-shimmer 1.1s infinite;
    opacity: 1;
    transition: opacity 0.32s ease;
}

.aktuell-carousel-container.is-ready .aktuell-slide {
    transition: opacity 0.2s ease;
}

.aktuell-carousel-container.is-ready .aktuell-slide::before {
    opacity: 0;
    animation: none;
}

@keyframes aktuell-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.aktuell-header {
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    height: 18px;
}

.aktuell-slide h3 {
    flex-shrink: 0;
    margin: 0;
    min-height: 70px;
    display: flex;
    align-items: flex-start;
    color: #fff;
}

.aktuell-slide p {
    flex-shrink: 0;
    margin: 8px 0;
    min-height: 35px;
    display: flex;
    align-items: flex-start;
}
.aktuell-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: auto;
}

.aktuell-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aktuell-text {
    flex-grow: 1;
    margin-top: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    padding-right: 4px;
}

.aktuell-prev, .aktuell-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
}

.aktuell-carousel-container {
    /* Setzt Courier New für alle Texte im Karussell */
    font-family: "Courier New", Courier, monospace;
    
}

.aktuell-slide h3 {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    text-transform: uppercase; /* Optional: für einen technischeren Look */
}

.aktuell-header, 
.aktuell-ort, 
.aktuell-text {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.4;
    
}

.aktuell-carousel-gap {
  flex: 0 0 20px;
  height: 1px;
  pointer-events: none;
  background: transparent;
}


@media (max-width: 600px) {
    .aktuell-carousel-container.is-loading .aktuell-slide {
        height: 340px;
        min-height: 340px;
    }

    .aktuell-slide {
        width: 100%;
        margin: 0;
		margin-right:5px;
		padding:2px;
		justify-content: space-between;
        min-height: 340px;
    }
	.aktuell-carousel {
        gap: 5px; /* Abstand zwischen den Slides */
        padding: 5px; /* Allgemeiner Abstand innerhalb des Karussells */
    }
}


