/* Announcements */
.announcements h1 {
    color: var(--white);
}

.announcements .card {
    background: transparent;
    border: none;
    border-radius: 10px;
    /*
    overflow: hidden;
    clear: both;
    */
}

.announcements .card:before {
    content: '';
    display: block;
    position: absolute;
    top: -8px;
    left: -4px;
    right: -8px;
    height: 24px;
    background: url('../images/snow-1.png') no-repeat 0 0, url('../images/snow-2.png') no-repeat 50% 0, url('../images/snow-3.png') no-repeat 100% 0;
    z-index: 1;
}

.announcements .card .wrapper {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: 10px;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
}

.announcements .card .wrapper:hover .data {
    transform: translateY(0);
}

.announcements .card .data {
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: translateY(calc(90px + 1em));
    transition: transform 0.3s;
}

.announcements .card .data .content {
    padding: 1em;
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.announcements .card .author {
    font-size: 14px;   
}

.announcements .card .author i {
    color: var(--blue);
}

.announcements .card .title {
    margin-top: 10px;
}

.announcements .card .title a {
    text-decoration: none;
    color: var(--white);
}

.announcements .card .text {
    height: 70px;
    margin: 0;
}

.announcements .card input[type=checkbox] {
    display: none;
}

.announcements .card input[type=checkbox]:checked + .menu-content {
    transform: translateY(-60px);
}

.card .wrapper {
    min-height: 500px;
}

.card-1 .wrapper {
    background: linear-gradient(rgba(26, 27, 35, .4),rgba(26, 27, 35, .4)) , url('../images/card-1.webp') center/cover no-repeat;
}

.card-2 .wrapper {
    background: linear-gradient(rgba(26, 27, 35, .4),rgba(26, 27, 35, .4)) , url('../images/card-2.webp') center/cover no-repeat;
}

.card-3 .wrapper {
    background: linear-gradient(rgba(26, 27, 35, .4),rgba(26, 27, 35, .4)) , url('../images/card-3.webp') center/cover no-repeat;
}

.announcements .card .wrapper:hover .menu-content span {
    transform: translate(-50%, -10px);
    opacity: 1;
}

.announcements .card .card-top {
    color: #fff;
    padding: 1em;
}

.announcements .card .card-topr::before, .announcements .card .card-top::after {
    content: "";
    display: table;
}

.announcements .card .card-top::after {
    clear: both;
}

.announcements .card .card-top .date {
    float: left;
    font-size: 12px;
}

.announcements .card .card-top .date i {
    color: var(--blue);
}

.announcements .card .menu-content {
    float: right;
}

.announcements .card .menu-content li {
    margin: 0 5px;
    position: relative;
}

.announcements .card .menu-content span {
    transition: all 0.3s;
    opacity: 0;
}

.announcements .card .data {
    color: #fff;
    transform: translateY(calc(70px + 4em));
}

.announcements .card .title a {
    color: #fff;
}

.announcements .card .button {
    display: block;
    width: 100px;
    margin: 2em auto 1em;
    text-align: center;
    font-size: 12px;
    color: #fff;
    line-height: 1;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

.announcements .card .button::after {
    font-family: 'Font Awesome 5 Pro';
    content: "\f178";
    opacity: 0;
    position: absolute;
    right: 0;
    top: 44%;
    transform: translate(0, -50%);
    transition: all 0.4s;
}

.announcements .card .button:hover::after {
    transform: translate(5px, -50%);
    opacity: 1;
}

.announcement-image {
    height: 200px; /* Festgelegte Höhe */
    background-size: cover; /* Skalierung für vollständige Anzeige */
    background-position: center; /* Zentrierung */
    background-repeat: no-repeat; /* Kein Wiederholen */
    border-top-left-radius: 5px; /* Optional: Rundung der Ecken */
    border-top-right-radius: 5px; /* Optional: Rundung der Ecken */
}