:root {
    --pro-bg: #f4f7fb;
    --pro-surface: #ffffff;
    --pro-text: #172033;
    --pro-muted: #58627a;
    --pro-primary: #0c7a6f;
    --pro-primary-strong: #075f56;
    --pro-border: #dce3ef;
    --pro-shadow: 0 10px 28px rgba(17, 30, 62, 0.08);
}

body {
    background:
        radial-gradient(1000px 460px at 10% -10%, rgba(12, 122, 111, 0.12), transparent),
        radial-gradient(900px 400px at 100% 0%, rgba(37, 99, 235, 0.10), transparent),
        var(--pro-bg);
    color: var(--pro-text);
}

.site-nav {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.86rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.container {
    max-width: 1080px;
}

.activity-card,
.more-card,
.empty-card,
.card {
    border: 1px solid var(--pro-border);
    box-shadow: var(--pro-shadow);
}

.activity-title,
.more-title,
.hero-title {
    letter-spacing: 0.01em;
}

.hero-summary {
    color: rgba(255, 255, 255, 0.95);
}

.ad-wrap {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-home-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 18px;
    margin: 18px 0 26px;
    align-items: start;
}

.breaking-strip {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: center;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    margin: 8px 0 18px;
}

.breaking-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 46px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

.breaking-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.breaking-track {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 0 16px;
    min-height: 46px;
    animation: breaking-scroll 72s linear infinite;
}

.breaking-track a {
    font-size: 0.9rem;
    font-weight: 700;
}

.breaking-marquee:hover .breaking-track {
    animation-play-state: paused;
}

@keyframes breaking-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.news-lead-card {
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: 16px;
    box-shadow: var(--pro-shadow);
    overflow: hidden;
    align-self: start;
}

.news-lead-body {
    padding: 16px 18px 18px;
}

.news-kicker {
    font-size: 0.75rem;
    color: var(--pro-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.news-lead-title {
    margin: 8px 0 10px;
    font-size: 1.55rem;
    line-height: 1.35;
}

.news-lead-meta {
    color: var(--pro-muted);
    font-size: 0.9rem;
}

.news-list-card {
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: 16px;
    box-shadow: var(--pro-shadow);
    padding: 14px;
}

.news-list-title {
    margin: 0 0 10px;
    font-size: 1rem;
    color: var(--pro-primary-strong);
}

.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.news-list li {
    border-bottom: 1px solid var(--pro-border);
    padding-bottom: 8px;
}

.news-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-list a {
    font-weight: 700;
    line-height: 1.45;
}

.news-list .meta {
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--pro-muted);
}

.news-side-rail {
    display: grid;
    gap: 14px;
    align-content: start;
}

.editor-deck {
    margin: 0 0 22px;
}

.editor-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 10px;
}

.editor-heading h3 {
    margin: 0;
    color: var(--pro-primary-strong);
}

.editor-heading a {
    font-size: 0.86rem;
    color: var(--pro-primary);
    font-weight: 700;
}

.editor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.editor-card {
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--pro-shadow);
}

.editor-card-body {
    padding: 10px 11px 12px;
}

.editor-card h4 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.editor-card .meta {
    font-size: 0.8rem;
    color: var(--pro-muted);
}

.topic-deck {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.topic-column {
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    box-shadow: var(--pro-shadow);
    padding: 12px 12px 10px;
}

.topic-column h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--pro-primary-strong);
}

.topic-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.topic-column li {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--pro-border);
}

.topic-column li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.topic-column a {
    font-weight: 700;
    line-height: 1.4;
}

.news-meta-bar {
    margin: 0 0 14px;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
}

.news-meta-bar a {
    color: var(--pro-primary);
    font-weight: 700;
}

.live-timeline {
    margin: 0 0 18px;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--pro-shadow);
    padding: 12px 14px;
}

.live-timeline h3 {
    margin: 0 0 10px;
    color: var(--pro-primary-strong);
}

.live-timeline ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.live-timeline li {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 10px;
    align-items: start;
}

.live-timeline .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 6px;
    background: #dc2626;
}

.live-timeline a {
    font-weight: 700;
    line-height: 1.4;
}

.feed-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 14px 0 4px;
}

.feed-load-more-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-primary-strong));
    cursor: pointer;
}

.feed-load-more-btn[disabled] {
    opacity: 0.65;
    cursor: default;
}

.news-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.news-article-main {
    min-width: 0;
}

@media (max-width: 700px) {
    .site-nav {
        gap: 6px;
    }

    .site-nav a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

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

    .editor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topic-deck {
        grid-template-columns: 1fr;
    }

    .news-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .live-timeline li {
        grid-template-columns: 12px 1fr;
        gap: 8px;
    }
}

@media (max-width: 700px) {
    .breaking-strip {
        grid-template-columns: 1fr;
    }

    .breaking-label {
        min-height: 36px;
        justify-content: flex-start;
        padding: 0 12px;
    }

    .breaking-track {
        min-height: 38px;
    }

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