/* BEST-WOOD News Portal - Premium Corporate Newspaper Style */

:root {
    --primary-blue: #0a2540;
    --accent-gold: #c9a961;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[data-theme="dark"] {
    --primary-blue: #1a3a5c;
    --accent-gold: #d4bc7a;
    --text-dark: #e0e0e0;
    --text-gray: #b0b0b0;
    --bg-white: #1a1a1a;
    --bg-light: #2a2a2a;
    --border-color: #404040;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Sticky Header */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary-blue);
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Arial', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn, .theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.2s;
}

.search-btn:hover, .theme-toggle:hover {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

/* Category Menu */
.category-menu {
    background: var(--primary-blue);
    padding: 0 40px;
}

.category-menu nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
}

.category-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.2s;
}

.category-menu a:hover {
    background: var(--accent-gold);
}

/* Breaking News Ticker */
.breaking-news {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 10px 40px;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    background: var(--primary-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Article Styles */
.article-hero {
    margin-bottom: 30px;
}

.article-category {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.article-title {
    font-family: 'Arial', sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.article-meta {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
}

.hero-image-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-caption {
    background: rgba(10, 37, 64, 0.9);
    color: white;
    padding: 12px 20px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    text-align: center;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 24px;
    text-align: justify;
}

.article-body p::first-letter {
    font-size: 42px;
    font-weight: 700;
    float: left;
    line-height: 1;
    padding-right: 8px;
    color: var(--primary-blue);
}

/* Marketing Plan Section */
.marketing-plan {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-gold);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.marketing-plan h3 {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.marketing-plan ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.marketing-plan li {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.marketing-plan li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

/* Key Points Box */
.key-points {
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.key-points h3 {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.key-points ul {
    list-style: none;
}

.key-points li {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.key-points li:last-child {
    border-bottom: none;
}

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

.sidebar-section {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.sidebar-title {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-gold);
}

.news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.news-item h4 {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-item h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

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

.news-item-meta {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: var(--text-gray);
}

/* Advertisement Slots */
.advertisement {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    padding: 40px 20px;
    text-align: center;
    margin: 30px 0;
    border-radius: 8px;
}

.advertisement span {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 60px 40px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h4 {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .sidebar {
        order: -1;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .hero-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 12px 20px;
    }
    
    .category-menu {
        padding: 0 20px;
        overflow-x: auto;
    }
    
    .breaking-news {
        padding: 10px 20px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .marketing-plan ul {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 24px;
    }
}
