:root {
    --primary: #e11d48;
    --primary-dark: #be123c;
    --secondary: #0ea5e9;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #fff1f2;
    --bg-warm: #fffbf5;
    --radius: 18px;
    --shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
}

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

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

.shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(225, 29, 72, 0.15);
}

.site-header .shell {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 22px;
    align-items: center;
}

.menu a {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    position: relative;
    transition: 0.2s ease;
}

.menu a:hover {
    color: var(--primary);
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.menu a:hover::after {
    width: 100%;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #fb7185);
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.25);
    transition: 0.2s ease;
}

.cta:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #1f2937;
    margin: 4px auto;
}

main {
    min-height: 40vh;
}

.news-hero,
.article-hero {
    padding-top: 126px;
    padding-bottom: 38px;
    background:
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.14), transparent 40%),
        radial-gradient(circle at 8% 90%, rgba(225, 29, 72, 0.16), transparent 36%),
        var(--bg-soft);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy h1,
.article-hero h1 {
    margin: 0 0 16px;
    font-family: "Sora", sans-serif;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.15;
    color: #831843;
}

.hero-copy p,
.article-hero p {
    margin: 0;
    color: #475569;
}

.hero-points {
    margin-top: 18px;
    padding-left: 18px;
    color: #374151;
}

.hero-points li {
    margin-bottom: 8px;
}

.hero-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(225, 29, 72, 0.12);
}

.hero-card h3 {
    margin: 0 0 12px;
    font-family: "Sora", sans-serif;
    font-size: 20px;
    color: #9f1239;
}

.hero-card ol {
    margin: 0;
    padding-left: 18px;
    color: #475569;
}

.hero-card li {
    margin-bottom: 8px;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 28px;
    padding: 22px 0 12px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: 0.2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.thumb {
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
}

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

.news-card-body {
    padding: 18px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.pill {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 12px;
}

.news-card h2 {
    margin: 12px 0 10px;
    font-size: 20px;
    line-height: 1.35;
    font-family: "Sora", sans-serif;
}

.news-card h2 a:hover {
    color: var(--primary);
}

.news-card p {
    margin: 0;
    color: #475569;
    font-size: 15px;
}

.read-more {
    margin-top: 14px;
    display: inline-flex;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.seed-panel,
.sidebar-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    padding: 18px;
}

.seed-panel h3,
.sidebar-card h3 {
    margin: 0 0 12px;
    font-family: "Sora", sans-serif;
    color: #9f1239;
}

.seed-item {
    padding: 12px 0;
    border-top: 1px dashed #e2e8f0;
}

.seed-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.seed-item h4 {
    margin: 0 0 6px;
    font-size: 15px;
}

.seed-item p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.faq-strip {
    margin: 24px auto 0;
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.2);
    background: #f0f9ff;
    padding: 18px 20px;
}

.faq-strip h3 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
    color: #0f172a;
}

.faq-strip ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
}

.faq-strip li {
    margin-bottom: 8px;
}

.pagination {
    margin: 20px auto 40px;
}

.pagination * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--line);
    margin-right: 6px;
    font-size: 14px;
    color: #334155;
}

.pagination .active,
.pagination .pb_current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.breadcrumb {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    color: #64748b;
    font-size: 14px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    margin-top: 18px;
    margin-bottom: 40px;
}

.article-main {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.article-cover {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.article-body {
    padding: 26px;
}

.article-content {
    color: #334155;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    color: #1e293b;
    font-family: "Sora", sans-serif;
}

.article-content p {
    margin: 0 0 16px;
}

.article-content img {
    border-radius: 12px;
    margin: 14px auto;
    max-width: 100%;
    height: auto;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.article-content table td,
.article-content table th {
    border: 1px solid var(--line);
    padding: 8px 10px;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px dashed #dbeafe;
}

.article-nav a {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    transition: 0.2s ease;
    color: #334155;
}

.article-nav a:hover {
    border-color: #fda4af;
    background: #fff1f2;
}

.side-news {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-news li {
    padding: 10px 0;
    border-top: 1px dashed #e2e8f0;
}

.side-news li:first-child {
    border-top: 0;
    padding-top: 0;
}

.side-news a {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
}

.side-news time {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.checklist {
    margin-top: 16px;
    background: var(--bg-warm);
}

.checklist ul {
    margin: 0;
    padding-left: 18px;
}

.checklist li {
    margin-bottom: 8px;
    color: #374151;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 34px;
    margin-top: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
}

.site-footer .brand span {
    color: #fff;
}

.site-footer h4 {
    margin: 0 0 12px;
    color: #fff;
    font-family: "Sora", sans-serif;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #fff;
}

.footer-intro {
    margin: 12px 0 0;
    max-width: 420px;
    color: #94a3b8;
}

.footer-bottom {
    margin-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 14px 0 18px;
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .news-layout,
    .article-layout,
    .hero-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .site-header .shell {
        grid-template-columns: 1fr auto auto;
        gap: 12px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .menu {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 10px 24px 14px;
    }

    .menu.is-open {
        display: flex;
    }

    .menu a {
        width: 100%;
        padding: 10px 0;
    }

    .menu a::after {
        bottom: 6px;
    }

    .cta {
        display: none;
    }

    .news-hero,
    .article-hero {
        padding-top: 112px;
    }

    .shell {
        width: min(1200px, calc(100% - 32px));
    }
}
