a {
    text-decoration: none;
}

/* News Hero Section */
.news-hero-section {
    background: linear-gradient(135deg, #ffffff, #beecff, #fcffff, #fbfae1, #ffffff);
    padding: 80px 0 50px;
    margin-top: 66px;
    position: relative;
    overflow: hidden;
}

.news-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/pattern.svg') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.news-hero-section .hero-title {
    color: #00a1e4;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.news-hero-section .hero-subtitle {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Montserrat';
}

/* News Filters */
.news-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0 0.5rem 0;
}

.category-filter .filter-btn {
    border: 2px solid transparent;
    background: white;
    padding: 0.6rem 1.5rem;
    margin-right: 1rem;
    border-radius: 30px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-filter .filter-btn:hover {
    background: #00a1e4;
    transform: translateY(-1px);
    color: white;
}

.category-filter .filter-btn.active {
    background-color: #00a1e4;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 161, 228, 0.2);
}

.current-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.tag-label {
    color: #666;
    font-size: 0.9rem;
}

.clear-tag {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 4px;
}

.clear-tag:hover {
    color: #dc3545;
    transform: scale(1.1);
}

.clear-tag i {
    font-size: 1.1rem;
}

/* News Card */
.news-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(69, 90, 147, 0.233);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 161, 228, 0.1);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(64, 92, 202, 0.12);
    border: 2px solid #00a1e4;
}

.news-card-image-wrapper {
    position: relative;
    padding-top: 61%;
    overflow: hidden;
}

.news-card-image {
    background: black;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover .news-card-image {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    top: -1.5rem;
    left: 0;
    padding: 0.6rem 2rem 0.6rem 1.4rem;
    border-radius: 0 10px 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-post-container .news-category {
    position: relative;
    top: 0;
    padding: 0.6rem 1rem;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(8px);
    box-shadow: unset;
}

.news-category.major {
    background: #ff4757;
    color: white;
}

.news-category.normal {
    background: #ffc107;
    color: white;
}

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

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

.news-date {
    padding: 0.5rem ;
    color: #18465a;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.news-date i {
    color: #00a1e4;
}

.news-title {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0 0 1rem;
    font-weight: 700;
}

.news-title a {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.3s ease;
    background: linear-gradient(to right, #00a1e4, #00a1e4);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: background-size 0.3s ease;
}

.news-title a:hover {
    color: #00a1e4;
    background-size: 100% 2px;
}

.news-description {
    color: #636e72;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.news-footer {
    display: none;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.4rem;
}

.news-tag {
    color: #00a1e4;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.news-tag:hover {
    color: #0056b3;
    transform: translateY(-2px);
    opacity: 1;
}

/* Pagination */
.pagination-container {
    padding: 4rem 0 2rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #636e72;
    border: none;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: #00a1e4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #00a1e4, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 161, 228, 0.2);
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: #fff;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
    background-color: #f8f9fa;
    color: #00a1e4;
}

.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    box-shadow: none;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Individual News Post */
.news-post-container {
    background: linear-gradient(135deg, #ffffff, #ddf1f9, #fcffff, #e1ebfb, #ffffff);
    padding: 80px 0;
    margin-top: 66px;
}

.news-post-container .container .col-lg-8{
    background: #ffffff93;
    padding: 0 2rem 2rem 2rem;
    border-radius: 20px;
}

.news-post-header {
    margin-bottom: 2rem;
}

.news-post-header .news-title {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.news-post-header .news-meta {
    margin-bottom: 1rem;
}

.news-featured-image {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.news-content-section {
    background: linear-gradient(135deg, #ffffff, #ddf1f9, #fcffff, #e1ebfb, #ffffff);
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.news-content h2 {
    margin: 2rem 0 1rem;
    color: #00a1e4;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.back-to-news {
    margin-top: 3rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .news-hero-section {
        padding: 60px 0 40px;
    }
    
    .news-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .news-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .category-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-filter .filter-btn {
        margin-right: 0;
    }
    
    .news-card-content {
        padding: 1.5rem;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .news-hero-section .hero-title {
        font-size: 2rem;
    }
    
    .news-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        
    }
}


/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-share {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-share:hover {
    background-color: #22c35e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-share i {
    font-size: 1.2rem;
}

@media (max-width: 575.98px) {
    .share-buttons {
        flex-direction: column;
    }

    .share-button {
        width: 100%;
        justify-content: center;
    }
}

/* Tag Filter Styles */
.tag-filter {
    margin: 1rem 0 1.2rem 0;
    padding: 0;
}

.tag-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.8rem;
    max-width: 100%;
    margin: 0;
    

}

.tag-filter-container .news-tag {
    color: #00a1e4;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
    background-color: white;
    border-radius: 20px;
    padding: 0.3rem 0.5rem;
}

.tag-filter-container .news-tag:hover {
    color: #0056b3;
    transform: translateY(-2px);
    opacity: 1;
}

.tag-filter-container .news-tag.active {
    color: #0056b3;
    opacity: 1;
    font-weight: 600;
}

/* Responsive adjustments for tag filter */
@media (max-width: 768px) {
    .tag-filter-container {
        gap: 0.6rem;
    }
    
    .tag-filter-container .news-tag {
        font-size: 0.85rem;
    }
} 