.latest-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;

    width: 100%;
    height: 100%;
}

.latest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.latest-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .card-img {
        height: 300px;
    }
}

.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.card-date { font-size: 1.0rem; font-weight: 500; margin: 0; }
.card-title { font-size: 1.1rem; font-weight: 600; margin: 0; }
.card-desc { font-size: 0.9rem; color: #555; flex-grow: 1; }
.card-link { font-size: 0.9rem; color: #007bff; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.latest-root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;

    width: calc(100% - 4rem);
    margin: 5rem 2rem 0 2rem;
}

.latest-title {
    text-align: center;
    width: calc(100% - 2rem);
    height: auto;
    margin: 1rem 1rem 1rem 1rem;
    color: black;
    font-size: 2.0rem;
    font-weight:500;
}

.latest-swipper-root {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    width: calc(100% - 2rem);
    height: auto;
    margin: 2rem 1rem 1rem 1rem;
}

.swiper-button-prev {
    position: relative;
    margin: 0vh 1vw 0vh 0vw !important;
}
.swiper-button-next {
    position: relative;
    margin: 0vh 0vw 0vh 1vw !important;
}
.swiper-pagination {
    position: relative;
    margin: 2vh 0vw 0vh 0vw !important;
}

@media (max-width: 992px) {
    .swiper-button-prev {
        position: relative;
        margin: 0vh 3vw 0vh 0vw !important;
    }
    .swiper-button-next {
        position: relative;
        margin: 0vh 0vw 0vh 3vw !important;
    }
}