/* ---------------------------------------------
   GRID LAYOUT (max. 3 Spalten)
   --------------------------------------------- */
.aktuelles-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0px;
}

/* Tablet */
@media (max-width: 1024px) {
    .aktuelles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .aktuelles-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------
   CARD
   --------------------------------------------- */
.aktuelles-item {
    background: #ffffff;
    border-radius: 5px;
    padding: 18px;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effekt */
.aktuelles-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ---------------------------------------------
   TITEL
   --------------------------------------------- */

.aktuelles-meta {
    font-size: .9rem;
	padding-top: 10px;
}

.aktuelles-item h3 {
    margin: 5px 0;
    font-size: 1.1rem;
}

.aktuelles-title a{
    color: #000000;
}

.aktuelles-item:hover .aktuelles-title a {
    color: #e30613;
}

/* ---------------------------------------------
   BILD
   --------------------------------------------- */
.aktuelles-image {
    padding: 0px;
    height: 180px; /* feste Höhe beibehalten */
}

.aktuelles-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none; /* verhindert Unterstrich */
}

.aktuelles-image img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Hover-Effekt auf Bild */
.aktuelles-image a:hover img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* ---------------------------------------------
   TEXT
   --------------------------------------------- */
.aktuelles-item p {
    margin: 5px 0 25px 0;
    flex-grow: 1;
}

/* ---------------------------------------------
   BUTTON-BEREICH
   Immer unten
   --------------------------------------------- */
.aktuelles-footer {
    margin-top: auto;
}

/* Button */
.aktuelles-button {
    display: inline-block;
    width: 100%;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #006cd9;
    background: #fff;
    border: 1px solid #5395d7;
    text-decoration: none;
    transition: background 0.2s ease;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

/* Pfeil hinter dem Text */
.aktuelles-button::after {
    content: "\f061";               /* FontAwesome Icon: arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;               /* 900 = Solid Icons */
    margin-left: 8px;
    transition: transform .2s;
}

/* Hover Button */ 
.aktuelles-button:hover{
    background: #ac1313;
    color: #fff;
	text-decoration: none;
}

/* ---------------------------------------------
   PAGINATION
   --------------------------------------------- */

.aktuelles-pagination {
    margin: 40px 0 20px;
    text-align: center;
}

.aktuelles-pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.aktuelles-pagination li {
    display: inline-block;
}

.aktuelles-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Hover */
.aktuelles-pagination a:hover {
    background: #f0f4ff;
    border-color: #4a78ff;
    color: #4a78ff;
}

/* Aktive Seite */
.aktuelles-pagination li.active a {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #ffffff;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

/* Pfeile etwas schmaler */
.aktuelles-pagination .page-prev a,
.aktuelles-pagination .page-next a {
    font-size: 1rem;
    font-weight: 600;
}

