.container-header {
    background: #6B3449;
    background: linear-gradient(90deg, rgba(107, 52, 73, 1) 10%, rgba(64, 29, 43, 1) 50%, rgba(38, 17, 25, 1) 70%, rgba(107, 52, 73, 1) 100%);
    box-shadow: inset 0 5px 5px #00000008;
}

/* user.css */
.blog-item--wide {
  grid-column: span 2 !important;
}

.blog-item {
    /* Grundstil für alle Blog-Items */
    background: white;
    padding: 0.5rem;
    border: none;
    box-sizing: border-box;
    margin-bottom: 0em;
}

/* .blog-items[class^="masonry-"] .blog-item, .blog-items[class*=" masonry-"] .blog-item {
    margin-bottom: 0em;
}*/

/* 1. Font einbinden */
@font-face {
    font-family: 'StencilWWII';
    src: url('../fonts/Stencil-WW-II.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 2. Container Header */
.container-header {
    background: linear-gradient(90deg, rgba(107, 52, 73, 1) 10%, rgba(64, 29, 43, 1) 50%, rgba(38, 17, 25, 1) 70%, rgba(107, 52, 73, 1) 100%);
    box-shadow: inset 0 5px 5px #00000008;
}

/* 3. Blog-Item Grundstil */
.blog-item {
    background: white;
    padding: 0.5rem;
    border: none;
    box-sizing: border-box;
    margin-bottom: 0em;
    position: relative; /* wichtig für Positionierung der Beschriftung */
}

.blog-items[class^="masonry-"] .blog-item,
.blog-items[class*=" masonry-"] .blog-item {
    margin-bottom: 0em;
}

/* 4. Wrapper für Einleitbild */
.item-image {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
}

/* 5. Bild – Start in Schwarzweiß */
.item-image img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

/* 6. Bild wird beim Hover farbig */
.item-image:hover img {
    filter: grayscale(0%);
}

/* 7. Joomla figcaption (optional) */
.item-image figcaption.caption {
    font-size: 0.875rem;
    color: #777;
    margin-top: 0.5rem;
}

.overlay-beschriftung {
    position: absolute;
    bottom: 0;
    left: 0;

    /* Schriftstil */
    color: white;
    font-family: 'StencilWWII', sans-serif;
    font-size: clamp(2rem, 8.5vw, 6rem);
    line-height: 1;
    letter-spacing: 0em;
    font-weight: normal;

    /* Beschriftung nimmt 75% Breite ein */
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* Randabstände minimal halten */
    padding: 0em 0.1em;

    /* Hintergrund entfernen oder optional lassen */
    background: transparent;
    border-radius: 0;

    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;

    /* Optional für bessere Lesbarkeit */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* 9. Overlay beim Hover ausblenden */
.item-image:hover .overlay-beschriftung {
    opacity: 0;
}

