/* ===== GLOBAL & VARIABLES ===== */
:root {
    --primary-blue: #03224d;
    --primary-red: #c24132;
    --primary-color: var(--primary-blue);
    --secondary-color: var(--primary-red);
    --accent-color: var(--primary-red);
    --danger-color: var(--primary-red);
    --success-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white: #ffffff;
    --text: var(--dark-color);
    --text-light: #4a5568;
    --border: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NEWS PAGE HEADER ===== */
.news-header {
    background: var(--primary-blue);
    padding: 80px 0 60px;
    color: var(--white);
    text-align: center;
    position: relative;
}

.news-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.news-header .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    font-size: 1rem;
}

.news-header .breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

/* ===== FEATURED NEWS CARD (SAME LAYOUT FOR ALL) ===== */
.featured-news {
    padding: 60px 0;
    background: var(--white);
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    border: 1px solid #eee;
}

.featured-news-content {
    padding: 40px;
    background: var(--white);
}

.news-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.featured-news-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--dark-color);
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.news-meta i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 18px;
}

.news-summary {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-light);
}

.news-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #7c8d99;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-primary:disabled:hover {
    background: #7c8d99;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.news-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-hashtags span {
    background: var(--light-color);
    color: var(--gray-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.news-hashtags span:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ===== MEDIA / VIDEO SECTION (RIGHT SIDE - FULL SPAN) ===== */
.featured-news-media {
    position: relative;
    width: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, #0a2f2a, #1a4a44);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* YouTube Video Container */
.video-container.youtube-video {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container.youtube-video iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
}

/* Inline Local Videos */
.inline-video-wrapper {
    background: #071b18;
}

.video-container.local-news-video {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: #000;
}

.inline-news-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: #000;
    object-fit: cover;
}

.video-unavailable-state {
    background: linear-gradient(135deg, #142a27, #214440);
}

.video-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 380px;
    padding: 32px;
    color: var(--white);
}

.video-unavailable i {
    font-size: 4rem;
    margin-bottom: 18px;
}

.video-unavailable span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-unavailable small {
    max-width: 320px;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.82;
}

/* Image Placeholder for Text-Only Cards */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, #e8e0d5, #d4cabc);
    color: var(--primary-blue);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 15px;
}

.image-placeholder span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== NEWS GRID SECTION ===== */
.news-grid-section {
    padding: 60px 0;
    background: #f5f7fa;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .featured-news-card {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
    }

    .featured-news-media {
        order: -1;
    }

    .featured-news-content {
        order: 1;
    }
    
    .featured-news-media {
        min-height: 300px;
    }
    
    .video-container.youtube-video iframe {
        min-height: 300px;
    }

    .video-container.local-news-video,
    .inline-news-video,
    .video-unavailable {
        min-height: 300px;
    }
    
    .image-placeholder {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .featured-news-content {
        padding: 25px;
    }
    
    .featured-news-content h2 {
        font-size: 1.5rem;
    }
    
    .news-header h1 {
        font-size: 2.2rem;
    }
    
    .video-unavailable {
        min-height: 260px;
        padding: 24px;
    }
}
