/* Customer News Styles */

/* News Hero Section */
.news-hero {
    background: transparent;
    color: #2c3e50;
    padding: 200px 0 80px;
    margin-top: -20px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #28a745;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.news-hero-content {
    position: relative;
    z-index: 2;
}

.news-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: none;
    color: #1a5a96;
}

.news-hero h1 i {
    margin-left: 15px;
    font-size: 2.5rem;
    color: #28a745;
}

.news-hero p {
    font-size: 1.3rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #495057;
}

@media (max-width: 768px) {
    .news-hero {
        padding: 120px 0 60px;
    }

    .news-hero h1 {
        font-size: 2.2rem;
        color: #1a5a96;
    }

    .news-hero h1 i {
        font-size: 2rem;
        margin-left: 10px;
        color: #28a745;
    }

    .news-hero p {
        font-size: 1.1rem;
        color: #495057;
    }
}

/* General News Styles */
.news-section {
    padding: 4rem 0;
    background: transparent;
}

/* News Cards */
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover effects removed for news cards */

.news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Transform effect removed from news card images for better UX */

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.news-badge .badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta i {
    color: #007bff;
}

.news-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.news-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #007bff;
}

.news-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-footer .btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* News footer button hover effects removed */

/* Featured News Section */
.featured-news {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 3rem 0;
    margin-top: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.featured-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

/* Hover effects removed for featured cards */

.featured-image {
    height: 160px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Transform effect removed from featured card images for better UX */

.featured-content {
    padding: 1.25rem;
}

.featured-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.featured-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #007bff;
}

.featured-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.featured-meta {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
}

.featured-date {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Article Page Styles */
.news-article {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    background: #f8f9fa;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #495057;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: #007bff;
}

.article-excerpt {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
    font-weight: 400;
}

.article-image {
    text-align: center;
    margin: 2rem 0;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Article Content Styles */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #2c3e50;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content blockquote {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-right: 4px solid #007bff;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-style: italic;
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #007bff;
    position: absolute;
    top: -10px;
    right: 20px;
    opacity: 0.3;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-content a {
    color: #007bff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #0056b3;
}

/* Article Footer */
.article-footer {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.share-buttons .btn {
    margin-left: 0.5rem;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

/* Transform effect removed from share buttons for better UX */

/* Article Navigation */
.article-navigation {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.nav-link-prev,
.nav-link-next {
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #e9ecef;
}

/* Navigation link hover effects completely disabled */

/* Sidebar Styles */
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

/* Related News */
.related-news .related-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.related-news .related-item:last-child {
    border-bottom: none;
}

/* Hover effects removed for related news items */

.related-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-title a:hover {
    color: #007bff;
}

.related-meta {
    color: #6c757d;
    font-size: 0.8rem;
}

.related-item img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Transform effect removed from related item images for better UX */

/* Search Bar */
.search-bar {
    background: #fff;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.search-bar .form-control {
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.search-bar .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.search-bar .btn {
    border: none;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-right: -0.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    color: #6c757d;
    margin-bottom: 2rem;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Custom Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    margin: 0 0.125rem;
    color: #007bff;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pagination .page-link:hover {
    color: #0056b3;
    background-color: #f8f9fa;
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.15);
}

.pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination .page-item.disabled .page-link:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Previous/Next buttons styling */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-weight: 600;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: white;
}

.pagination .page-item:first-child.disabled .page-link,
.pagination .page-item:last-child.disabled .page-link {
    background: #6c757d;
    color: white;
    opacity: 0.5;
}

.pagination .page-item:first-child.disabled .page-link:hover,
.pagination .page-item:last-child.disabled .page-link:hover {
    background: #6c757d;
}

/* RTL support for pagination */
[dir="rtl"] .pagination .page-item:first-child .page-link {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

[dir="rtl"] .pagination .page-item:last-child .page-link {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Pagination info text */
.pagination-info {
    text-align: center;
    margin: 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

/* Mobile pagination adjustments */
@media (max-width: 576px) {
    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 36px;
        min-height: 36px;
    }

    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 0.5rem 1rem;
    }

    /* Hide some page numbers on mobile */
    .pagination .page-item:not(.active):not(:first-child):not(:last-child):not(.disabled) {
        display: none;
    }

    .pagination .page-item.active,
    .pagination .page-item:first-child,
    .pagination .page-item:last-child {
        display: inline-block;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .news-card {
        margin-bottom: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .article-meta {
        gap: 1rem;
        justify-content: center;
    }

    .meta-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .news-card {
        margin-bottom: 1.5rem;
    }

    .news-content {
        padding: 1.25rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }

    .share-buttons {
        text-align: center;
    }

    .share-buttons .btn {
        margin: 0.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 1rem;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .featured-content {
        padding: 1rem;
    }

    .featured-title {
        font-size: 0.95rem;
    }

    .article-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover Effects */
/* All hover-lift transitions completely disabled */

/* Hover lift effects removed */

/* Footer News Styles */
.footer-news {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Footer news hover effects removed */

.footer-news .footer-heading {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.latest-news .news-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.latest-news .news-item:last-child {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

/* Latest news item hover effects removed */

.latest-news .news-link {
    color: #2c3e50;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.latest-news .news-link:hover {
    color: #007bff;
}

.latest-news .news-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: inherit;
}

.latest-news .news-date {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.latest-news .news-date::before {
    content: '📅';
    font-size: 0.75rem;
}

.footer-news .btn-outline-light {
    border-color: #007bff;
    color: #007bff;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.footer-news .btn-outline-light:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

/* Header News Button Styles */
.nav-buttons .btn-link {
    color: #495057;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-buttons .btn-link:hover {
    color: #007bff;
    background-color: rgba(0,123,255,0.1);
}

.nav-buttons .btn-link i {
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

/* Footer Contact Styles */
.footer-contact {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Footer contact hover effects removed */

.footer-contact .footer-heading {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #28a745;
    padding-bottom: 0.5rem;
}

.footer-contact .contact-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Footer contact item hover effects removed */

.footer-contact .contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.footer-contact .icon-container {
    background-color: #28a745;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 0.9rem;
}

.footer-contact .contact-text p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-contact .maps-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-contact .maps-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive Footer News */
@media (max-width: 768px) {
    .footer-news, .footer-contact {
        margin-top: 2rem;
        text-align: center;
    }

    /* Transform effect removed from news links for better mobile UX */

    .latest-news .news-title {
        font-size: 0.9rem;
    }

    .footer-news .btn-outline-light {
        width: 100%;
        margin-top: 1rem;
    }

    .footer-contact .contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer-contact .icon-container {
        margin: 0 auto 0.5rem auto;
    }
}

@media (max-width: 576px) {
    .nav-buttons .btn-link span {
        display: none !important;
    }

    .nav-buttons .btn-link {
        padding: 0.5rem;
    }
}

/* Home Page News Styles */
.latest-news-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 5rem 0;
}

.latest-news-section .section-heading {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.latest-news-section .section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.latest-news-section .section-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.news-card-home {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Hover effects removed for home news cards */

.news-image-home {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Transform effect removed from home news card images for better UX */

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,123,255,0.8), rgba(0,86,179,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* News overlay hover effect removed */

.news-overlay-link {
    color: white;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* News overlay link hover effects removed */

.news-content-home {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.news-meta-home span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta-home i {
    color: #007bff;
}

.news-title-home {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.news-title-home a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title-home a:hover {
    color: #007bff;
}

.news-excerpt-home {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-card-home .btn {
    align-self: flex-start;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* News card button hover effects removed */

.no-news-message {
    padding: 4rem 2rem;
}

/* Responsive Design for Home News */
@media (max-width: 768px) {
    .latest-news-section {
        padding: 3rem 0;
    }

    .latest-news-section .section-heading {
        font-size: 2rem;
    }

    .news-image-home {
        height: 180px;
    }

    .news-content-home {
        padding: 1.5rem;
    }

    .news-title-home {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .news-content-home {
        padding: 1.25rem;
    }

    .news-meta-home {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Print Styles */
@media print {
    .news-card,
    .sidebar-widget,
    .article-navigation,
    .share-buttons,
    .btn {
        break-inside: avoid;
    }

    .article-content img {
        max-width: 100% !important;
        height: auto !important;
    }
}
