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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('../images/bg.jpg') fixed center/cover no-repeat;
    background-color: #f5f5f5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: #0D0D0D;
    color: white;
    padding: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    min-height: 56px;
}

.site-logo {
    height: 52px;
    width: auto;
    display: block;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 4px;
    align-items: center;
}

.navbar a {
    color: white;
    font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 10px;
    transition: color 0.2s;
}

.navbar a:hover {
    color: #CC0000;
}

/* Dropdown Menu */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-toggle {
    display: inline-flex;
    align-items: center;
}

.navbar .dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.6em;
    margin-left: 4px;
}

.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: #1a1a1a;
    border-top: 2px solid #CC0000;
    padding: 6px 0;
    margin: 0;
    min-width: 180px;
    z-index: 1000;
    pointer-events: none;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    pointer-events: auto;
}

.navbar .dropdown-menu li {
    padding: 0;
}

.navbar .dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: white;
    font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}

.navbar .dropdown-menu a:hover {
    background: #CC0000;
    color: white;
}

/* HEADER BANNERS */
.header-banners {
    background: transparent;
    padding: 15px 0;
    width: 100%;
}

.header-banners .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.banners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.banner {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s;
}

.banner:hover {
    transform: scale(1.05);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* MAIN CONTENT */
.main-content {
    padding: 40px 0;
    background: rgba(253, 253, 253, 0.9);
}

.articles {
    padding-top: 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* NEWS SECTION */
.news-section {
    background: rgba(50, 50, 50, 0.9);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

/* FEATURED NEWS */
.featured-news {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.featured-news img {
    width: 100%;
    border-radius: 8px;
}

.featured-info h2 {
    font-size: 28px;
    margin: 10px 0 20px 0;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.featured-news p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.9;
}

/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.news-card {
    background: rgba(50, 50, 50, 0.9);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    color: white;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.news-content p {
    color: #e0e0e0;
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #b0b0b0;
}

/* DETAIL PAGE */
.news-detail {
    background: white;
    padding: 40px;
    border-radius: 8px;
}

.back-link {
    margin-bottom: 30px;
}

.back-link a {
    color: #667eea;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link a:hover {
    color: #764ba2;
}

.article-header {
    margin-bottom: 30px;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.article-header-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
}

.article-header-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.article-body {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.article-body h1 {
    font-size: 28px;
    margin: 20px 0 10px 0;
    color: #333;
    font-weight: bold;
}

.article-body h2 {
    font-size: 24px;
    margin: 18px 0 10px 0;
    color: #333;
    font-weight: bold;
}

.article-body h3 {
    font-size: 20px;
    margin: 15px 0 8px 0;
    color: #333;
    font-weight: bold;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body strong, .article-body b {
    font-weight: bold;
    color: #333;
}

.article-body em, .article-body i {
    font-style: italic;
}

.article-body u {
    text-decoration: underline;
}

.article-body ul, .article-body ol {
    margin: 15px 0 15px 30px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    border-left: 4px solid #667eea;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
    font-style: italic;
}

.article-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.article-body a:hover {
    border-bottom-color: #667eea;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
    display: block;
}

.article-body code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #e74c3c;
}

.article-body pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 15px 0;
}

.article-body pre code {
    background: none;
    padding: 0;
    color: #333;
}

.article-badge {
    background: #ffc107;
    color: #333;
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
    text-align: center;
    font-weight: bold;
}

/* SIDEBAR */
.sidebar {
    background: rgba(50, 50, 50, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    height: fit-content;
    color: white;
    position: sticky;
    top: 20px;
}

.sidebar h3 {
    margin-bottom: 20px;
    color: #fff;
}

.sidebar-banners {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-banner {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s;
}

.sidebar-banner:hover {
    transform: scale(1.05);
}

.sidebar-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* FOOTER */
.footer {
    background: #363636;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .featured-content {
        grid-template-columns: 1fr;
    }

    .navbar ul {
        gap: 10px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }
}
