:root {
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent: #dc2626; /* News Red */
    --accent-hover: #b91c1c;
    --border: #e5e7eb;
    --header-bg: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* Hide scrollbar for FiveM NUI */
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Header */
header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background-color: var(--text-primary);
    color: white;
    font-size: 12px;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.brand {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.login-btn {
    background: var(--accent);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.2s;
}

.login-btn:hover {
    background: var(--accent-hover);
}

/* Breaking News Ticker */
.ticker-wrap {
    background-color: white;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.ticker-heading {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 15px;
    border-radius: 3px;
}

.ticker-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main Layout */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 40px;
    padding-bottom: 60px;
}

@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

/* Featured Post */
.featured-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    background: var(--bg-card);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.featured-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.featured-content {
    padding: 30px;
}

.category-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.featured-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.featured-title a:hover {
    color: var(--accent);
}

.featured-excerpt {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.post-meta {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Grid Posts */
.grid-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 600px) {
    .grid-posts {
        grid-template-columns: 1fr;
    }
}

.grid-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.grid-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.grid-content {
    padding: 20px;
}

.grid-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.3;
}

.grid-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.grid-title a:hover {
    color: var(--accent);
}

/* Sidebar */
.sidebar-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 25px;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trending-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.trending-item img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

.trending-content {
    flex: 1;
}

.trending-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.trending-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.trending-title a:hover {
    color: var(--accent);
}

/* Single Post Specifics */
.single-post-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-brand span {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}
