/* ========================================
   News Page Specific Styles
   ======================================== */

/* Hero Section */
.news-hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.news-hero .hero-gradient {
    background: radial-gradient(ellipse at 20% 60%, rgba(0, 102, 179, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 40%, rgba(0, 168, 107, 0.1) 0%, transparent 50%);
}

/* Featured Section */
.featured-section {
    padding: 100px 0;
}

.featured-article {
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.95), rgba(35, 35, 55, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.featured-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.article-category {
    padding: 6px 16px;
    background: rgba(0, 102, 179, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.featured-highlights {
    list-style: none;
    margin-bottom: 30px;
}

.featured-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.featured-highlights li:last-child {
    border-bottom: none;
}

.featured-highlights svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.featured-visual {
    position: relative;
}

.featured-image-container {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 102, 179, 0.2) 0%, transparent 70%);
    animation: pulse-bg 3s ease-in-out infinite;
}

.featured-image-content {
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f0f1a 0%, #141428 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.category-card {
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.9), rgba(35, 35, 55, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.1), rgba(0, 168, 107, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 179, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.category-icon {
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.category-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.category-count {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 168, 107, 0.15);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.category-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Latest News Section */
.latest-news-section {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.news-card {
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.9), rgba(35, 35, 55, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 179, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.news-card.large {
    grid-column: span 1;
    grid-row: span 2;
}

.news-card-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.3), rgba(0, 168, 107, 0.2));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image.small {
    height: 150px;
}

.news-card.large .news-card-image {
    height: 280px;
}

.news-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-card-content {
    padding: 25px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.news-category {
    padding: 4px 12px;
    background: rgba(0, 102, 179, 0.15);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.large h3 {
    font-size: 1.4rem;
    -webkit-line-clamp: 3;
}

.news-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.large p {
    -webkit-line-clamp: 4;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: var(--secondary-color);
}

.news-share {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-share:hover {
    color: var(--primary-color);
}

.load-more-container {
    text-align: center;
    margin-top: 60px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #15152a 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 102, 179, 0.1) 0%, transparent 70%);
}

.newsletter-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 179, 0.1) 0%, transparent 3%),
        radial-gradient(circle at 80% 70%, rgba(0, 168, 107, 0.1) 0%, transparent 3%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 179, 0.05) 0%, transparent 5%);
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100px);
    }
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.newsletter-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.newsletter-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    display: flex;
    gap: 15px;
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 102, 179, 0.1);
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-group .btn {
    flex-shrink: 0;
}

.newsletter-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-card.large {
        grid-row: span 1;
    }
    
    .news-card.large .news-card-image {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .featured-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-visual {
        order: -1;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .featured-article {
        padding: 30px;
    }
    
    .featured-content h2 {
        font-size: 1.6rem;
    }
    
    .categories-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .featured-article {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .newsletter-content h2 {
        font-size: 1.6rem;
    }
    
    .news-card-content {
        padding: 20px;
    }
}
