/* =========================================
   NEWS LISTING PAGE
   ========================================= */
.aktuality-list {
    float: left;
    width: 100%;
    padding: 50px 0 80px 0;
    background: #f3f3f3;
    font-family: 'Roboto', sans-serif;
}

.aktuality-list .wrap {
    max-width: 1170px;
    width: 95%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.aktuality-list .tri-blog {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.aktuality-list .tri-blog article {
    flex: 1 1 calc(33.3333% - 20px);
    max-width: calc(33.3333% - 20px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Image Container (Fixed Height + White BG like original) */
.aktuality-list .tri-blog article > a:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 230px;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 15px;
    text-decoration: none !important;
}

.aktuality-list .tri-blog article > a:first-child img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Card Title */
.aktuality-list .tri-blog article h2 {
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.3;
}

.aktuality-list .tri-blog article h2 a {
    font-size: 19px !important;
    font-weight: 600;
    color: #2b2f74 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.aktuality-list .tri-blog article h2 a:hover {
    color: #337AB7 !important;
    text-decoration: underline !important;
}

/* Card Excerpt / Text */
.aktuality-list .tri-blog article p,
.aktuality-list .tri-blog article p a {
    font-size: 15px !important;
    line-height: 1.4;
    color: #40464a !important;
    margin: 0;
    text-decoration: none !important;
}

/* Pagination */
.aktuality-list .pagination {
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

.aktuality-list .pagination a {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    min-width: 40px;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff;
    color: #222534;
    margin: 0 4px;
    text-decoration: none;
    transition: all .3s ease-out;
}

.aktuality-list .pagination a:hover, 
.aktuality-list .pagination a.active {
    color: white;
    background: #21256d;
}

/* Larger Right Image for News Detail */
.content-page .gallery-item.right-img.large {
    width: 50%;
    max-width: 550px;
}

/* Vertical Right Image for News Detail */
.content-page .gallery-item.right-img.vertical {
    width: 30%;
    max-width: 380px;
}