﻿
.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.carousel-item {
    position: relative;
    overflow: hidden;
}

    .carousel-item img {
        width: 100%;
        height: auto;
        display: block;
    }

    .carousel-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        pointer-events: none;
        z-index: 1;
    }

    .carousel-item img {
        position: relative;
        z-index: 0;
    }

.carousel-item {
    position: relative;
}

    .carousel-item .news-image {
        width: 100%;
        height: auto;
    }

.carousel-caption-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    padding: 15px;
    box-sizing: border-box;
}

.carousel-caption {
    max-width: 100%;
    z-index: 1;
    text-align: center;
}

.news-image {
    width: 100%;
    max-height: 485px;
    object-fit: cover;
    margin: 0 auto;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-short-description {
    font-weight: bold;
    margin-bottom: 10px;
}

.news-description {
    font-size: 16px;
}


.single-blog-card {
    margin: 0;
}

.dynamic-padding {
    transition: padding-top 0.3s ease;
}

.custom-image4 {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.news-image4 {
    width: 100%;
    height: 400px;
    object-fit: cover;
}