:root {
    --ink: #0f172a;
    --muted: #4b5563;
    --card: #ffffff;
    --accent: #d92525;
    --accent-dark: #b31e1e;
    --border: #e5e7eb;
    --soft: rgba(0, 0, 0, 0.08);
    --radius: 14px;
}

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

img {
    width: 100%;
    display: block;
}

.page-main {
    background: #f7f7f5;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--accent);
    font-size: 0.85rem;
}

.inline-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.inline-link:hover {
    color: var(--accent-dark);
}

/* =========================================================
   HERO
========================================================= */
.home-hero {
    padding: 54px 0 36px;
    background: radial-gradient(circle at 12% 20%, rgba(217, 37, 37, 0.08), transparent 35%),
                radial-gradient(circle at 80% 10%, rgba(0, 0, 0, 0.04), transparent 32%),
                linear-gradient(135deg, #fdfdfd, #f4f4f4);
    border-bottom: 1px solid var(--border);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.15;
    color: var(--ink);
    font-weight: 800;
}

.hero-subhead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.chip {
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.hero-card {
    background: #0b0c10;
    color: #f8fafc;
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.card-label {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #fca5a5;
    margin-bottom: 14px;
}

.hero-brief-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.hero-brief-list a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.hero-brief-list a:hover {
    color: #fca5a5;
}

.brief-date {
    display: inline-block;
    margin-left: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* =========================================================
   SECTION HEADERS
========================================================= */
.section-heading {
    margin: 14px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-heading h2 {
    font-size: 1.6rem;
    color: var(--ink);
}

.section-subtext {
    color: var(--muted);
    font-size: 0.98rem;
}

/* =========================================================
   TOP NEWS
========================================================= */
.top-news {
    padding: 38px 0 20px;
}

.top-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
}

.top-big {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.top-big img {
    height: 420px;
    object-fit: cover;
}

.top-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 15%, rgba(0, 0, 0, 0.1));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
}

.top-chip {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 999px;
    align-self: flex-start;
    font-weight: 700;
    margin-bottom: 10px;
}

.top-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

.top-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-top: 8px;
    font-weight: 800;
}

.top-title a {
    color: #fff;
    text-decoration: none;
}

.top-title a:hover {
    text-decoration: underline;
}

.top-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.top-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 180px;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.top-small img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.top-title-sm {
    font-size: 1rem;
    margin-top: 6px;
}

.top-title-sm a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.top-title-sm a:hover {
    text-decoration: underline;
}

.img-fallback {
    background: linear-gradient(135deg, #0b0c10, #111827);
    color: #f8fafc;
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 180px;
    font-size: 1.8rem;
}

.top-big .img-fallback {
    min-height: 420px;
}

.latest-big .img-fallback,
.popular-big .img-fallback {
    min-height: 240px;
}

.thumb-fallback {
    background: linear-gradient(135deg, #0b0c10, #111827);
    color: #f8fafc;
    display: grid;
    place-items: center;
    height: 86px;
    border-radius: 10px;
    font-size: 1.1rem;
}

/* =========================================================
   CATEGORIES
========================================================= */
.category-blocks {
    padding: 26px 0 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.category-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 14px 26px var(--soft);
}

.category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.category-head h3 {
    font-size: 1.1rem;
    color: var(--ink);
}

.cat-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.cat-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 160px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.cat-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cat-overlay {
    position: absolute;
    inset: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.05));
    color: #fff;
}

.cat-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-top: 6px;
}

.cat-title:hover {
    text-decoration: underline;
}

/* =========================================================
   MAIN NEWS
========================================================= */
.main-news {
    padding: 34px 0 70px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 18px;
}

.news-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 14px 26px var(--soft);
}

.block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.block-head h3 {
    color: var(--ink);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.latest-big,
.popular-big {
    background: #0b0c10;
    color: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.latest-big img,
.popular-big img {
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 16px;
}

.latest-big h3,
.popular-big h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.latest-big h3 a,
.popular-big h3 a {
    text-decoration: none;
    color: #fff;
}

.latest-big p,
.popular-big p {
    margin-top: 8px;
    color: #cbd5e1;
    line-height: 1.5;
}

.latest-date,
.popular-date {
    display: block;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.latest-list,
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.latest-list-item,
.popular-list-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.latest-list-item img,
.popular-list-item img {
    height: 86px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.latest-title,
.popular-title {
    font-size: 1rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.3;
}

.latest-title:hover,
.popular-title:hover {
    color: var(--accent);
}

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

.sidebar-widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: 0 12px 24px var(--soft);
}

.sidebar-widget h2 {
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}

.sidebar-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
}

.sidebar-widget ul li a:hover {
    color: var(--accent);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags a {
    background: #f7f7f7;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--border);
    font-weight: 700;
}

.tags a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.sidebar-widget img {
    width: 100%;
    border-radius: 10px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
    .top-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .top-side {
        grid-template-columns: 1fr;
    }
    .hero-card {
        padding: 18px;
    }
    .latest-list-item,
    .popular-list-item {
        grid-template-columns: 100px 1fr;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-chips {
        gap: 8px;
    }
    .top-big img {
        height: 320px;
    }
    .latest-list-item,
    .popular-list-item {
        grid-template-columns: 1fr;
    }
}
