.banner {
    height: 8em;
}

.banner {
    position: relative;
    width: 100%;
    height: 8em;
    overflow: hidden;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding-left: 2.5em;

    background-color: rgba(8, 8, 8, 0.6);
    color: white;
    font-size: 1.5rem;
    border: 8px solid var(--color-border-1);

    h1 {
        margin: 0;
        font-family: 'Erbar';
        font-size: 3em;
        font-weight: 700;
        font-style: normal;
        line-height: 80%;
    }

    #zeitung-title p {
        margin: 0;
        font-family: 'CMU Serif';
    }

    #ad {
        position: absolute;
        right: 0.5rem;
        bottom: 0.5rem;
        font-size: 1rem;
    }
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://ais.badische-zeitung.de/piece/12/cd/23/8a/315433866-w-640.jpg");
    background-size: cover;
    background-position: 0px -450px;
    /* transform: rotate(10deg); */
    transform-origin: center;
    z-index: -1;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;

    margin-top: 2em;

    a {
        display: block;

        text-decoration: unset;
        color: unset;

        border: 4px solid var(--color-border-1);
        padding-bottom: 1rem;
        cursor: pointer;

        h2, p {
            padding-inline: 1rem;
            margin: 0;
        }

        h2 {
            margin-top: 0.5rem;
        }

        h2::after {
            content: '»';
            padding-left: 0.5rem;
            opacity: 0;
            transition: ease;
            transition-duration: 250ms;
        }

        img {
            object-fit: cover;
            width: 100%;
            height: 9em;
        }
    }

    a:hover h2::after {
        opacity: 1;
    }
}

