.news-hero {
    background-image: url("/public/images/news/AnyConv.com__Group 277.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    font-weight: 600;
}

.news-hero h1 {
    font-size: 30px;
    color: var(--color-primary);
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.news-content {
    padding: 20px 0;
}

.news-content h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--color-primary);
}



.news-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 3px 10px #B7AEDE73;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    margin: 0;
    height: 100%;
    flex: 1;
}

.news-card:hover {
    transform: translateY(-5px);
}


.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: cover;
    border-radius: 30px;
}


.card-body {
    padding: 5px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    color: black;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title:hover {
    color: var(--color-primary);
}

.card-text {
    color: #444;
    font-size: 12px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.card-footer {
    padding: 10px 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: black;
    text-decoration: underline;
    font-weight: bold;
    font-size: 14px;
}


.news-card:hover .card-title,
.news-card:hover .read-more {
    color: var(--color-primary);
    transition: color 0.3s ease;
}


.date {
    color: #888;
    font-size: 12px;
}

.local-news {
    background-color: var(--color-secondary);
}

.news-detail-card {
    margin-top: 0;

}

.news-detail-card .card-body {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.news-detail-card .card-body {
    padding: 20px 30px;
}

.news-detail-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.news-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--color-primary);
}

.news-detail {
    padding: 20px 0;
}

.news-detail img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.news-detail-title {
    border-left: 6px solid var(--color-primary);
    padding-left: 10px;
    color: black;
    font-size: 24px;
    font-weight: 300;
    margin: 20px 0;
}

.news-detail-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-detail-date img {
    width: 20px;
    height: 20px;
}

.news-detail-date p {
    font-size: 14px;
    color: #888;
}

.news-detail-content {
    padding: 20px 0;

}

.news-detail-content p {
    font-size: 14px;
    color: black;
    padding-bottom: 20px;
    font-weight: 300;
}


.masonry-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
}


.masonry-item {
    width: 100%;
}


.masonry-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.masonry-item img:hover {
    transform: scale(1.02);
}

.btn-filter img {
    width: 30px;
    height: 30px;

}

.news-list {
     margin-top: 10px;
    margin-bottom: 50px;
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
}

.news-list>[class*="col-"] {
    display: flex;
}

.news-list>[class*="col-"]>a {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    text-decoration: none;
}

.news-list.list-view .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.news-list.list-view .news-card {
    display: block;
    background: transparent;
    box-shadow: none;
    max-width: 100%;
    border-radius: 0;
    border-bottom: 1.5px solid #EAEAEA;
    margin: 10px 0;
    padding: 15px 0 25px 0;
}

.news-list.list-view .card-image {
    display: none;
}

.news-list.list-view .card-body {
    padding: 0;
}

.news-list.list-view .card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;

}

.news-list.list-view .card-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list.list-view .card-footer {
    padding: 0;
    justify-content: flex-start;
    gap: 15px;
}

.news-list.list-view .read-more {
    display: none;
}

.news-list.list-view .date {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-list.list-view .news-card:hover {
    transform: none;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
    background: #B63D97;
    
}

@media (max-width: 576px) {
    .news-list.list-view .card-title {
        font-size: 16px;
    }
}
@media (min-width: 992px) {
    .newsRightSwiper .swiper-wrapper {
        display: flex;
        flex-direction: column; 
        gap: 20px;
        transform: none !important; 
    }
    
    .newsRightSwiper .swiper-slide {
        width: 100% !important; 
        height: auto;
    }
}
.pdf-container {
    width: 100%;
    height: 1000px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    margin: 24px 0 16px;
}

.pdf-container embed {
    display: block;
    width: 100%;
    height: 100%;
}

.pdf-actions {
    text-align: center;
    margin-bottom: 32px;
}

.pdf-actions a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
}

.pdf-actions a:hover {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .pdf-container {
        height: 600px;
    }
}

@media (max-width: 991px) {
    .newsRightSwiper {
        padding-bottom: 30px;
    }
}