:root {
    --primary: #e11d48;
    --dark: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #f3f4f6;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.info-strip {
    background: #fff7ed;
    color: #9a3412;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
}

.breaking-bar {
    background: var(--dark);
    color: white;
}

.breaking-inner {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 42px;
    overflow: hidden;
}

    .breaking-inner strong {
        background: var(--primary);
        padding: 7px 13px;
        border-radius: 999px;
        white-space: nowrap;
    }

.breaking-text {
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
}

    .breaking-text a:hover {
        color: #fecdd3;
    }

.site-header {
    background: white;
    border-bottom: 1px solid var(--border);
}

.header-top {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -2px;
}

    .logo span {
        color: var(--primary);
    }

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .main-nav a {
        padding: 8px 13px;
        border-radius: 999px;
        color: var(--muted);
        font-weight: 700;
        font-size: 14px;
    }

        .main-nav a:hover {
            background: var(--primary);
            color: white;
        }

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 30px 0 50px;
}

.hero-card,
.news-card,
.latest-card,
.side-card,
.detail-card,
.empty-box {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

    .hero-card img {
        height: 360px;
        object-fit: cover;
        background: #e5e7eb;
    }

.hero-content {
    padding: 24px;
}

    .hero-content span,
    .news-card span,
    .latest-card span,
    .badge {
        display: inline-block;
        background: var(--primary);
        color: white;
        padding: 5px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .hero-content p {
        color: var(--muted);
        margin-bottom: 12px;
    }

.section {
    margin-top: 34px;
}

    .section h2 {
        margin-bottom: 18px;
        font-size: 26px;
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card img {
    height: 170px;
    object-fit: cover;
    background: #e5e7eb;
}

.news-card div {
    padding: 16px;
}

.news-card h3 {
    margin-bottom: 8px;
    line-height: 1.25;
}

.news-card p,
.latest-card p {
    color: var(--muted);
    font-size: 14px;
}

.latest-list {
    display: grid;
    gap: 16px;
}

.latest-card {
    display: flex;
    gap: 18px;
    padding: 16px;
}

    .latest-card img {
        width: 170px;
        height: 120px;
        object-fit: cover;
        border-radius: 14px;
        background: #e5e7eb;
    }

    .latest-card h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

.sidebar {
    display: grid;
    gap: 20px;
    align-content: start;
}

.side-card {
    padding: 20px;
}

    .side-card h3 {
        margin-bottom: 14px;
    }

    .side-card ol {
        padding-left: 22px;
    }

    .side-card li {
        margin-bottom: 10px;
        font-weight: 700;
    }

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

    .category-list a {
        background: #f1f5f9;
        padding: 8px 12px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 13px;
    }

        .category-list a:hover {
            background: var(--primary);
            color: white;
        }

.site-footer {
    background: var(--dark);
    color: white;
    padding: 36px 0;
}

    .site-footer p {
        color: #cbd5e1;
        margin: 8px 0;
    }

.detail-page,
.category-page {
    padding: 34px 0 54px;
}

.detail-card {
    padding: 34px;
}

    .detail-card h1 {
        font-size: clamp(32px, 5vw, 52px);
        line-height: 1.1;
        margin: 12px 0;
    }

    .detail-card img {
        max-height: 520px;
        object-fit: cover;
        border-radius: 18px;
        margin: 24px 0;
    }

    .detail-card h2 {
        color: var(--muted);
        margin-bottom: 18px;
    }

.detail-content {
    font-size: 18px;
    line-height: 1.8;
}

.empty-box {
    padding: 24px;
    margin-top: 18px;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 800;
}

.category-page h1 {
    margin-bottom: 22px;
}

@media (max-width: 980px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }

    .main-nav {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .latest-card {
        flex-direction: column;
    }

        .latest-card img {
            width: 100%;
            height: 190px;
        }

    .hero-card img {
        height: 250px;
    }
}
.logo img {
    max-height: 58px;
    width: auto;
    object-fit: contain;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer-contact,
.footer-social {
    display: grid;
    gap: 8px;
}

    .footer-contact a,
    .footer-social a {
        color: #cbd5e1;
        font-weight: 700;
    }

        .footer-contact a:hover,
        .footer-social a:hover {
            color: white;
        }

    .footer-contact span {
        color: #cbd5e1;
    }

@media (max-width: 800px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}