/* News Page Specific Styles */

/* Remove underlines from all news card links */
.news-item a,
.news-content a {
    text-decoration: none !important;
}

.news-item a:hover,
.news-content a:hover {
    text-decoration: none !important;
}

/* Hero Section */
.news-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.news-hero .container {
    max-width: none;
    padding: 0;
    width: 100%;
}

.news-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url("../images/latest-news/spark/Portrait.jpeg"); */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 54, 95, 0.8) 0%, rgba(20, 42, 74, 0.6) 50%, rgba(251, 194, 19, 0.3) 100%);
}

.news-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section Category - More specific selector */
.news-hero .news-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}



.news-hero-subtitle {
    color: var(--white);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* All News Section */
.news-all-section {
    padding: 6rem 0;
    background: #ffffff;
}

.news-section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.news-section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.news-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #fbc213);
    border-radius: 2px;
}

.news-section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.news-all-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure news cards are always visible */
.news-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-decoration: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-content h3:hover {
    text-decoration: none;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* News Meta Styling */
.news-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-date {
    color: var(--primary-color) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* News Card Category - More specific selector */
.news-item .news-category {
    color: var(--text-light) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0.5rem !important;
    backdrop-filter: none !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
}

/* Read More Button */
.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fbc213;
    color: #19365f;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(251, 194, 19, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 194, 19, 0.5);
    background: #e6a800;
    color: #ffffff;
    text-decoration: none;
}

.news-read-more i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* Newsletter Section */
.news-newsletter-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.news-newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.news-newsletter-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.news-newsletter-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem 3rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.news-newsletter-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.news-newsletter-text p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    color: var(--white);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.news-newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.news-newsletter-input-group {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
    font-weight: 500;
}

.news-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.news-newsletter-btn {
    background: linear-gradient(135deg, var(--white), #f8f9fa);
    color: var(--primary-color);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.news-newsletter-btn:hover {
    background: linear-gradient(135deg, #f8f9fa, var(--white));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}



/* ========================================
   CLEAN RESPONSIVE STYLES
   ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .news-hero-title {
        font-size: 2.5rem;
    }
    
    .news-image {
        height: 400px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .news-hero {
        height: 70vh;
        padding: 2rem 0;
    }
    
    .news-hero-title {
        font-size: 2rem;
    }
    
    .news-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .news-section-title {
        font-size: 2rem;
    }
    
    .news-all-section {
        padding: 3rem 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-image {
        height: 250px;
        object-fit: cover;
        object-position: center;
    }
    
    .news-content {
        padding: 1.2rem;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
    
    .news-read-more {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .news-hero {
        height: 60vh;
        padding: 1.5rem 0;
    }
    
    .news-hero-title {
        font-size: 1.8rem;
    }
    
    .news-hero-subtitle {
        font-size: 1rem;
    }
    
    .news-section-title {
        font-size: 1.8rem;
    }
    
    .news-all-section {
        padding: 2rem 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-image {
        height: 200px;
        object-fit: cover;
        object-position: center;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-content h3 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .news-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .news-read-more {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
    
    .news-meta {
        gap: 0.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .news-date {
        font-size: 0.8rem !important;
    }
    
    .news-category {
        font-size: 0.75rem !important;
    }
}


/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important;
    width: 140px !important;
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important;
}
