/* ========================================
   News Detail Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --accent: #f59e0b;
    --text-dark: #000000;
    --text-body: #333333;
    --text-muted: #666666;
    --bg-light: #f8fafc;
    --bg-blue: #e3f2fd;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.08);
    --gradient-hero: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-light);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================================
   Header Navigation
   ======================================== */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #c9a227;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
    height: auto;
    overflow: hidden;
    transition: height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    height: 0;
}

.mobile-menu.active {
    height: auto;
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 30px;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eaeaea;
}

.mobile-nav-list a {
    display: block;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   News Hero Section
   ======================================== */
   
   
   
   
   
   
   
   
.news-hero {
    background: var(--gradient-hero);
    padding: 60px 0 50px;
    text-align: center;
}

.news-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.news-title {
    font-size: 42px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.news-date::before {
    content: '📅 ';
}

.news-author::before {
    content: '✍️ ';
}

/* ========================================
   News Content Section
   ======================================== */
.news-content-section {
    padding: 60px 0 80px;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* Main Article */
.news-article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.news-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 40px;
    max-width: 100%;
    overflow-x: hidden;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.lead-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-blue);
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 35px 0 20px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.article-content li strong {
    color: var(--primary);
}

/* Blockquote */
blockquote {
    background: var(--bg-blue);
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

/* News Gallery */
.news-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.tag {
    background: var(--bg-blue);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: #fff;
}

/* Article Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 40px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.nav-prev, .nav-next {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.nav-prev:hover, .nav-next:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.1);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

/* ========================================
   Sidebar
   ======================================== */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px var(--shadow);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-blue);
}

/* Related News */
.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-item {
    text-decoration: none;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.related-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-news-item:hover h4 {
    color: var(--primary);
}

.related-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.related-news-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Categories */
.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid var(--border);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-body);
    font-size: 15px;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary);
}

.category-list span {
    background: var(--bg-blue);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

/* CTA Widget */
.widget-cta {
    background: var(--gradient-hero);
    text-align: center;
}

.widget-cta h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.widget-cta p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    color: #000;
    padding: 80px 0 30px;
}

.vision-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.vision-section h3 {
    font-size: 14px;
    color: #1565c0;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    font-weight: 600;
}

.vision-section p {
    font-size: 18px;
    line-height: 1.9;
    color: #000;
    font-weight: 400;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(21, 101, 192, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .widget-cta {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .news-title {
        font-size: 32px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .news-gallery {
        grid-template-columns: 1fr;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
        padding: 20px 25px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .news-sidebar {
        grid-template-columns: 1fr;
    }
    
    .widget-cta {
        grid-column: span 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 40px 0 30px;
    }
    
    .news-title {
        font-size: 26px;
    }
    
    .news-featured-image {
        height: 250px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .lead-paragraph {
        font-size: 16px;
    }
    
    blockquote {
        padding: 20px;
        font-size: 16px;
    }
}
