.news__detail-header {
    display: flex;
}
.news__detail-header-left {
    flex: 3;
}
.news__detail-header-right {
    flex: 1;
    text-align: right;
}
.news__detail-header h1 {
    padding: 0 3px;
    color: #fff;
    display: inline;
    box-decoration-break: clone;
    background: var(--company-primary-color, #059ad4);
}

.news__detail-header h2 {
    color: var(--company-primary-color, #059ad4);
    background: white;
}

.info time {
    font-size: 1.3rem;
    color: darkgrey;
}

.categories .category {
    display: inline-block;
    position: relative;
    padding: 0.25em 0.8em 0.25em 1.8em;   /* Platz für Text und Pseudo-Elemente */
    background-color: #f2f2f2;            /* Tag-Hintergrund */
    color: #00a6e0;                       /* Schriftfarbe */
    font-weight: bold;
    font-size: 3rem;
    line-height: 1;
    border-radius: 2px;                   /* leicht abgerundete Ecken (optional) */
}

/* linke schräge Kante (gedrehte Quadratform) */
.categories .category:before {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    background-color: inherit;           /* gleiche Farbe wie das Elternelement */
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* rundes Loch in der Mitte der schrägen Kante */
.categories .category:after {
    content: "";
    position: absolute;
    width: 0.4em;
    height: 0.4em;
    background-color: #fff;              /* weißes Loch */
    border-radius: 50%;
    top: 50%;
    left: 0.6em;                          /* Positioniert das Loch mittig in der Kante */
    transform: translateY(-50%);
}

/* Header Image Styling */
.news__header-image {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

/* Screen reader only text for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.news #breadcrumb .mod_breadcrumb {
    padding: 10px 0!important;
}

@media (max-width: 768px) {
    .news__header-image {
        height: 300px;
        margin-bottom: 1.5rem;
    }

    .news__detail-header {
        flex-direction: column;
        gap: 1rem;
    }

    .news__detail-header-right {
        text-align: left;
    }

    .news__detail-header h1 {
        font-size: 2rem;
    }

    .news__detail-header h2 {
        font-size: 1.25rem;
    }
}