.news-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.news-section .news-card-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #004D3A;
    background: none;
    border: none;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-block;
}

.news-section .news-card-link:hover {
    color: #005A37;
}

.news-section a.btn-primary-custom,
.news-section .btn-primary-custom {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff !important;
    background-color: #004D3A !important;
    border: none !important;
    border-radius: 30px;
    height: 48px;
    min-height: 48px;
    min-width: 160px;
    padding: 0 1.5rem;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.news-section a.btn-primary-custom:hover,
.news-section .btn-primary-custom:hover {
    color: #fff !important;
    background-color: #005A37 !important;
}

.news-carousel-wrapper {
    position: relative;
    padding-bottom: 1.5rem;
    overflow: visible;
}

.news-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    box-sizing: border-box;
}

.news-carousel-items-container {
    display: flex;
    transition: transform 0.5s ease;
    padding-bottom: 1rem;
    margin: 0;
}

.news-section .news-carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    padding-right: 1.5rem;
    padding-bottom: 1rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .news-section .news-carousel-item {
        flex: 0 0 33.333333%;
        min-width: 33.333333%;
        max-width: 33.333333%;
    }
}

.news-section .news-carousel-item:last-child {
    padding-right: 0;
}

.news-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-card-image {
    height: 190px;
    overflow: hidden;
    border-radius: 30px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 290px;
}

.news-card-content {
    padding: 1.5rem 0 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 20px;
    font-weight: 500;
    color: #004D3A;
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

.news-card-description {
    color: #232A2A;
    font-size: 16px;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    flex: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-card-reading-time {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #f0f0f0;
    color: #000;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 100px;
}


.news-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 1.5rem;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.news-dot.active {
    background: #004D3A;
    border-color: #004D3A;
    width: 40px;
    height: 10px;
    border-radius: 5px;
}

.news-section .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 767px) {
    .news-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }
    .news-header .section-title {
        margin-bottom: 1rem;
    }
    .news-header .news-header-btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .news-section .news-carousel-item {
        padding-right: 0;
    }
}
