/* ============================================
   NEWS PAGE STYLES
   ============================================ */

/* Hero Section */
.news-page-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.news-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.news-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    letter-spacing: 10px;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.news-hero-title .title-line {
    display: block;
}

.news-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Filter Section */
.news-filter-section {
    padding: 4rem 2rem;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(59, 68, 75, 0.2);
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(59, 68, 75, 0.1);
    border: 2px solid rgba(59, 68, 75, 0.3);
    border-radius: 50px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(59, 68, 75, 0.2);
    border-color: #3B444B;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #3B444B;
    border-color: #3B444B;
}

/* Featured Article */
.featured-article {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d12 50%, #0a0a0a 100%);
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
}

.featured-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 68, 75, 0.2);
    border-radius: 30px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.featured-card {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 0;
    background: rgba(17, 17, 17, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 68, 75, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(59, 68, 75, 0.4);
    border-color: rgba(59, 68, 75, 0.3);
}

.featured-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.featured-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-card:hover .featured-image video {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 60%, rgba(10, 10, 10, 0.8) 100%);
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(59, 68, 75, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.featured-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.featured-card:hover .featured-title {
    color: #3B444B;
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.featured-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-meta i {
    color: #3B444B;
}

/* News Grid */
.news-grid-section {
    padding: 6rem 2rem;
    background: #0a0a0a;
}

.news-grid-container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.news-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.news-card-link {
    display: block;
    background: rgba(17, 17, 17, 0.4);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 68, 75, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.5s ease;
    position: relative;
}

.news-card-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 68, 75, 0.3);
    border-color: rgba(59, 68, 75, 0.3);
}

.news-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-link:hover .news-card-image video {
    transform: scale(1.1);
}

.news-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}

.news-date-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(59, 68, 75, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-day {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
}

.date-month {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.news-card-content {
    padding: 2rem;
}

.news-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 68, 75, 0.2);
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.news-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.news-card-link:hover .news-card-title {
    color: #3B444B;
}

.news-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.news-card-meta {
    font-size: 0.85rem;
    opacity: 0.6;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card-meta i {
    color: #3B444B;
}

/* Load More Button */
.load-more-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 1.2rem 3rem;
    background: rgba(59, 68, 75, 0.1);
    border: 2px solid rgba(59, 68, 75, 0.3);
    border-radius: 50px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.load-more-btn:hover {
    background: #3B444B;
    border-color: #3B444B;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 68, 75, 0.4);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d12 100%);
    border-top: 1px solid rgba(59, 68, 75, 0.2);
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content {
    margin-bottom: 3rem;
}

.newsletter-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 6px;
    margin-bottom: 1rem;
    color: #3B444B;
}

.newsletter-desc {
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0.8;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1.2rem 2rem;
    background: rgba(59, 68, 75, 0.1);
    border: 2px solid rgba(59, 68, 75, 0.3);
    border-radius: 50px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #3B444B;
    background: rgba(59, 68, 75, 0.15);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    padding: 1.2rem 3rem;
    background: #3B444B;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #4a5562;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 68, 75, 0.4);
}

/* Filter Hidden State */
.news-card.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 350px;
    }
    
    .featured-overlay {
        background: linear-gradient(to bottom, transparent 60%, rgba(10, 10, 10, 0.9) 100%);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-page-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .news-filter-section {
        padding: 3rem 1.5rem;
    }
    
    .filter-wrapper {
        gap: 1rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .featured-article {
        padding: 4rem 1.5rem;
    }
    
    .featured-content {
        padding: 2rem;
    }
    
    .news-grid-section {
        padding: 4rem 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .featured-image {
        height: 250px;
    }
    
    .news-card-image {
        height: 220px;
    }
    
    .news-card-content {
        padding: 1.5rem;
    }
}


/* ===================================
   NEWS CARD IMAGE - ENHANCED STYLING
   =================================== */

.news-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
    background: #0a0a0a;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(30%) brightness(0.9);
}

/* Hover Effect */
.news-card:hover .news-card-image img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1);
}

/* Image Overlay */
.news-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(59, 68, 75, 0.7) 100%
    );
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.news-card:hover .news-image-overlay {
    opacity: 0.6;
}

/* Film Grain Effect (Optional) */
.news-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Border Glow on Hover */
.news-card-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3B444B 0%, transparent 50%, #3B444B 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.news-card:hover .news-card-image::before {
    opacity: 0.3;
}

/* Loading State */
.news-card-image.loading {
    background: linear-gradient(
        90deg,
        rgba(59, 68, 75, 0.1) 25%,
        rgba(59, 68, 75, 0.2) 50%,
        rgba(59, 68, 75, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Image Failed to Load */
.news-card-image img[src=""],
.news-card-image img:not([src]) {
    opacity: 0;
}

.news-card-image img[src=""] + .news-image-overlay::after,
.news-card-image img:not([src]) + .news-image-overlay::after {
    content: 'Image not available';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}