* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c81e1e;
    --dark: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f5f7fa;
    --white: #ffffff;
    --soft: #f0fdf4;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --radius: 14px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    width: min(1280px, 94%);
    margin: 0 auto;
}

/* Topbar */
.topbar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.topbar-right {
    display: flex;
    gap: 18px;
}

.topbar-right a {
    color: var(--dark);
    transition: 0.2s ease;
}

.topbar-right a:hover {
    color: var(--primary);
}

/* Header */
.site-header {
    background: var(--white);
    padding: 26px 0 20px;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    display: inline-block;
    margin-bottom: 8px;
}

.tagline {
    color: var(--muted);
    font-size: 15px;
}

/* Navbar */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 0;
}

.nav-list a {
    font-weight: 700;
    color: var(--dark);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary);
}

/* Ticker */
.ticker-wrap {
    background: #fff7f7;
    border-top: 1px solid #f3d1d1;
    border-bottom: 1px solid #f3d1d1;
}

.ticker {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    overflow: hidden;
}

.ticker-label {
    background: var(--primary);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ticker-items {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ticker-items::-webkit-scrollbar {
    display: none;
}

.ticker-items a {
    white-space: nowrap;
    color: var(--text);
    font-size: 14px;
}

.ticker-items a:hover {
    color: var(--primary);
}

/* Main */
.main-content {
    padding: 28px 0 50px;
}

.section-block {
    margin-bottom: 36px;
}

.section-title-wrap {
    margin-bottom: 18px;
    text-align: center;
}

.section-title {
    display: inline-block;
    font-size: 34px;
    color: var(--primary);
    font-weight: 800;
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 3px;
    background: var(--primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 30px;
}

/* Card */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* Featured layout */
.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 22px;
    align-items: start;
}

.featured-main {
    overflow: hidden;
}

.featured-main-image {
    height: 430px;
}

.featured-main-content {
    padding: 22px;
}

.featured-title {
    font-size: 38px;
    line-height: 1.2;
    margin: 10px 0 14px;
    font-weight: 800;
}

.featured-title a:hover {
    color: var(--primary);
}

.featured-excerpt {
    font-size: 16px;
    color: #374151;
    margin-bottom: 18px;
}

.featured-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.side-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 120px;
}

.side-thumb {
    width: 100%;
    height: 100%;
}

.side-card-body {
    padding: 14px;
}

.side-title {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 10px;
}

.side-title a:hover {
    color: var(--primary);
}

/* Grid News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 190px;
}

.news-body {
    padding: 16px;
}

.news-title {
    font-size: 22px;
    line-height: 1.35;
    margin: 10px 0 8px;
    font-weight: 800;
}

.news-title a:hover {
    color: var(--primary);
}

/* Tags */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.tag-chip.light {
    background: #eef2ff;
    color: #3730a3;
}

.small-tags {
    margin-bottom: 6px;
}

/* Meta + text */
.meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.excerpt {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn:hover {
    background: #a51212;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
}

.read-more:hover {
    text-decoration: underline;
}

/* Empty */
.empty-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.empty-box h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #d1d5db;
    margin-top: 40px;
}

.footer-inner {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-main-image {
        height: 360px;
    }

    .featured-title {
        font-size: 30px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 34px;
    }

    .section-title {
        font-size: 28px;
    }

    .featured-title {
        font-size: 26px;
    }

    .side-card {
        grid-template-columns: 110px 1fr;
    }

    .side-title,
    .news-title {
        font-size: 18px;
    }

    .featured-main-image {
        height: 260px;
    }

    .nav-list {
        gap: 14px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 12px;
    }

    .ticker {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .topbar-inner {
        flex-direction: column;
        gap: 8px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .featured-main-content,
    .news-body,
    .side-card-body {
        padding: 14px;
    }

    .featured-main-image {
        height: 220px;
    }

    .side-card {
        grid-template-columns: 1fr;
    }

    .side-thumb {
        height: 200px;
    }
}