body {
    margin: 0;
    padding: 0;
    background: url(images/bgs/diese_back.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-section{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-hero {
    margin: 0;
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-slider {
    width: 60%;
    height: fit-content;
    padding: 70px 0;
    overflow: auto;
    border-radius: 25px;
    margin-bottom: 50px;
}

.news-slider::-webkit-scrollbar{
    width: 80px;
    height: 10px;
}

.news-slider::-webkit-scrollbar-thumb{
    background: white;
    border-radius: 10px;
}

.news-slider::-webkit-scrollbar-track{
    background: rgba(224, 224, 224, 0.2);
}

.card{
    width: 300px;
    height: 350px;
    background: white;
    box-shadow: 0 0px 60px black;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 20px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0px 80px black;
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}


.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card-title, .card-subtitle {
    color: black;
    margin-bottom: 8px;
}

.card-date {
    font-size: 0.8rem;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}

.card .material-icons {
    font-size: 1.5rem;
    color: #007bff;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.card:hover .material-icons {
    color: #0056b3;
    transform: translate(2px, -2px);
}

.card-link {
    position: absolute;
    bottom: 15px;
    right: 15px;
    text-decoration: none;
}

.card-link .material-icons {
    position: static;
}

.news-cards {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}