/* Curated content and public screener pages share the site's black/gold system. */
.seo-page {
    padding: 2rem 0 4rem;
}

.seo-hero {
    background: radial-gradient(circle at 80% 0%, rgba(212, 175, 55, .16), transparent 45%), var(--bg-secondary);
    border: 1px solid var(--border-gold);
    border-radius: 22px;
    padding: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
}

.seo-kicker {
    color: var(--gold-primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: .8rem;
}

.seo-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.12;
    max-width: 850px;
    margin-bottom: 1rem;
}

.seo-hero .lead {
    max-width: 760px;
    font-size: 1.12rem;
}

.seo-summary {
    background: rgba(212, 175, 55, .09);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 12px 12px 0;
    padding: 1.1rem 1.25rem;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.seo-card {
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.seo-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
    transform: translateY(-3px);
}

.seo-card h2, .seo-card h3 {
    color: var(--text-primary);
}

.seo-card h2 {
    font-size: 1.25rem;
    line-height: 1.35;
}

.seo-card h3 {
    font-size: 1.1rem;
}

.seo-card p, .seo-card li {
    color: var(--text-secondary);
}

.seo-card .card-meta, .article-meta {
    color: var(--text-muted);
    font-size: .85rem;
}

.seo-link {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
}

.seo-link:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.article-layout {
    max-width: 1020px;
    margin: 0 auto;
}

.article-body {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.article-body h2 {
    color: var(--gold-light);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    margin: 2rem 0 .75rem;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body p, .article-body li {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
}

.article-body ul {
    padding-left: 1.25rem;
}

.article-callout {
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 2rem;
}

.article-callout p {
    margin: 0;
    font-size: .92rem;
}

.article-links, .related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.article-links a, .related-grid a {
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    color: var(--gold-light);
    padding: .65rem 1rem;
    text-decoration: none;
}

.article-links a:hover, .related-grid a:hover {
    background: rgba(212, 175, 55, .12);
}

.screener-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.screener-result:last-child {
    border-bottom: 0;
}

.screener-result .symbol {
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.screener-result .symbol:hover {
    color: var(--gold-primary);
}

.screener-result .company {
    color: var(--text-secondary);
    font-size: .88rem;
}

.screener-metric {
    color: var(--text-secondary);
    font-size: .9rem;
    text-align: right;
}

.screener-metric strong {
    color: var(--text-primary);
    display: block;
}

.screener-icon {
    color: var(--gold-primary);
    font-size: 1.35rem;
}

.engagement-bar {
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1.25rem 0;
    padding: .8rem;
}

.engagement-bar button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 9px;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    gap: .45rem;
    min-height: 42px;
    padding: .55rem .85rem;
}

.engagement-bar button:hover, .engagement-bar button[aria-pressed="true"] {
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.engagement-status {
    color: var(--text-secondary);
    font-size: .85rem;
    min-height: 1.2rem;
}

.recently-viewed {
    border-top: 1px solid var(--border-subtle);
    margin-top: 1rem;
    padding-top: 1rem;
}

.recently-viewed a {
    color: var(--gold-light);
    margin-right: 1rem;
    text-decoration: none;
}

.recently-viewed a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .seo-page {
        padding-top: 1rem;
    }

    .screener-result {
        align-items: flex-start;
    }

    .screener-metric {
        min-width: 72px;
    }

    .engagement-bar button {
        flex: 1 1 calc(50% - .65rem);
        justify-content: center;
    }
}