.content-page {
    background: var(--surface-soft);
    color: var(--ink);
}

.content-shell {
    width: min(1480px, calc(100% - 40px));
    margin: 0 auto;
}

.content-header {
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
        linear-gradient(120deg, rgba(20, 184, 166, 0.08), transparent 45%);
}

.content-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.content-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.content-lang-button {
    min-width: 88px;
}

.content-hero {
    display: grid;
    gap: 14px;
    padding: 24px 0 30px;
}

.content-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.98;
    overflow-wrap: break-word;
}

.content-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.content-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin: 22px 0;
}

.content-toolbar input,
.content-toolbar select {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 9px 12px;
}

.content-toolbar input {
    flex: 1 1 360px;
}

.content-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 46px;
}

.content-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.content-card-empty {
    padding: 24px;
}

.content-cover {
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.content-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.content-badge {
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 900;
    padding: 5px 8px;
}

.content-card h2 {
    margin: 12px 0 8px;
    font-size: 24px;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.content-summary,
.content-insight,
.article-body p,
.content-citation {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.content-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.content-insight {
    margin-top: 12px;
}

.content-insight strong,
.content-citation strong {
    color: var(--ink);
}

.content-citation {
    margin-top: 14px;
    font-size: 14px;
}

.content-citation a {
    color: var(--brand-strong);
    text-decoration: none;
}

.content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.content-actions a,
.content-actions button {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    padding: 8px 12px;
    text-decoration: none;
}

.content-actions a.primary,
.content-actions button.primary {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.article-body {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.article-section {
    display: grid;
    gap: 8px;
}

.article-section h3 {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.35;
}

.article-body[hidden] {
    display: none;
}

@media (max-width: 1120px) {
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .content-shell {
        width: min(100% - 28px, 1480px);
    }

    .content-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .content-card h2 {
        font-size: 21px;
    }

    .content-card-body {
        padding: 16px;
    }
}
