.common-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    padding: 1rem;
    margin: 0 auto;
    width: 100%;
}

.news-content {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333333;
    margin-top: 1.5rem;
    text-align: justify;
    font-weight: 500;
}

.news-meta {
    color: #6a7685;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: nowrap; 
}

    .news-meta a {
        color: #007bff;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 25px;
        font-size: 0;
    }

        .news-meta a i {
            font-size: 2rem; 
            color: #007bff; 
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .news-meta a:hover i {
            transform: scale(1.2);
        }

/* Swiper styles */
.swiper-container {
    width: 100% !important;
    max-width: 100% !important; 
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
}

.news-image {
    width: 100%;
    max-height: 500px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    align-items: center;
}

.swiper-pagination {
    text-align: center;
}

.swiper-pagination-bullet {
    background-color: #007bff;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next {
    right: 0;
    margin-right: 10px;
}

.swiper-button-prev {
    left: 0;
    margin-left: 10px;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        color: #0056b3;
    }

.placeholder-image {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

    .placeholder-image .news-image {
        opacity: 0.6;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-title {
        font-size: 1.5rem;
    }

    .news-content {
        font-size: 1rem;
    }

    .swiper-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .news-image {
        max-height: 300px;
        object-fit: contain;
    }

    .swiper-button-next {
        right: -10px;
    }

    .swiper-button-prev {
        left: -10px;
    }

    .news-meta {
        flex-direction: row; 
        align-items: center;
        flex-wrap: nowrap; 
    }

        .news-meta a {
            margin-top: 0; 
        }
}
