
/*
 * Santheos public-page visual rule:
 * use black backgrounds, dark surfaces, white copy and gold accents.
 * Do not introduce cream or light content surfaces on public editorial pages.
 */
:root {
    --st-brand-bg: #0d0e10;
    --st-brand-surface: #151719;
    --st-brand-gold: #c4a24f;
    --st-brand-text: #ffffff;
    --st-brand-muted: #d2d2d2;
    --st-brand-border: rgba(196,162,79,.48);
}
body.st-expert-landing .page_content_wrap,
body.st-expert-landing .content_wrap,
body.st-expert-landing .content,
body.st-expert-landing .post_content {
    background: var(--st-brand-bg);
    color: var(--st-brand-text);
}
body.st-expert-column-post .post_header.post_header_single.entry-header > .post_meta.post_meta_other > a.post_meta_item.post_author[rel~="author"],
body.st-expert-column-post .author_info.author.vcard {
    display: none;
}
.st-expert-articles {
    background: var(--st-brand-bg);
    color: var(--st-brand-text);
}
.st-expert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.st-expert-card {
    background: var(--st-brand-surface);
    border: 1px solid rgba(185, 150, 82, 0.45);
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    cursor: pointer;
}
body.st-expert-landing .st-expert-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* Expert landing card emphasis and mobile readability. */
body.st-expert-landing .st-expert-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
body.st-expert-landing .st-expert-card__image {
    transition: transform .28s ease;
}
body.st-expert-landing .st-expert-card::after {
    color: var(--st-brand-gold);
    content: var(--st-analysis-label, "Read analysis →");
    display: block;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-top: auto;
    padding-top: 1rem;
    pointer-events: none;
}
body.st-expert-landing .st-expert-card__author-link {
    position: relative;
    z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
    body.st-expert-landing .st-expert-card:hover {
        border-color: var(--st-brand-gold) !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .28), 0 0 0 1px rgba(196, 162, 79, .12);
        transform: translateY(-3px);
    }
    body.st-expert-landing .st-expert-card:hover .st-expert-card__image {
        transform: scale(1.015);
    }
}
@media (min-width: 1100px) {
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card__placeholder { display: none; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child {
        align-content: start;
        column-gap: 2rem;
        display: grid;
        grid-column: 1 / -1;
        grid-template-areas:
            'image date'
            'image title'
            'image author'
            'image excerpt'
            'image cta';
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        grid-template-rows: auto auto auto 1fr auto;
    }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid .st-expert-card__image {
        height: clamp(238px, 21.6vw, 277px);
    }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__image {
        align-self: center;
        grid-area: image;
    }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__date { margin: 0 0 .5rem; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__title {
        font-size: clamp(2rem, 2.8vw, 2.2rem);
        line-height: 1.12;
        margin: .35rem 0 .65rem;
    }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__author { margin: 0 0 .75rem; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__excerpt { margin: 0; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__date { grid-area: date; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__title { grid-area: title; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__author { grid-area: author; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child .st-expert-card__excerpt { grid-area: excerpt; }
    body.st-expert-landing #st-expert-latest-title + .st-expert-grid > .st-expert-card:first-child::after { grid-area: cta; }
}
@media (max-width: 720px) {
    body.st-expert-landing .st-expert-grid { gap: 1.35rem; }
    body.st-expert-landing .st-expert-card { padding: 20px; }
    body.st-expert-landing .st-expert-card__date {
        font-size: 13px;
        line-height: 1.5;
    }
    body.st-expert-landing .st-expert-card__title {
        font-size: clamp(1.45rem, 6.2vw, 1.7rem);
        line-height: 1.14;
        margin-top: .55rem;
    }
    body.st-expert-landing .st-expert-card__author {
        font-size: 16px;
        line-height: 1.5;
    }
    body.st-expert-landing .st-expert-card__excerpt {
        font-size: 17px;
        line-height: 1.55;
    }
    body.st-expert-landing .st-expert-card::after {
        font-size: 15px;
        padding-top: 1.1rem;
    }
}

.st-expert-card__date,
.st-expert-author-panel__eyebrow {
    color: var(--st-brand-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.st-expert-card__title,
.st-expert-author-panel__name {
    color: var(--st-brand-text);
    margin: 0.35rem 0 0.75rem;
}
.st-expert-card__link,
.st-expert-author-panel__link {
    color: var(--st-brand-text) !important;
    text-decoration-color: var(--st-brand-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}
.st-expert-card .st-expert-card__link::after {
    content: '';
    position: absolute;
    inset: 0;
}
.st-expert-card:focus-within {
    outline: 2px solid var(--st-brand-gold);
    outline-offset: 3px;
}
.st-expert-card__excerpt,
.st-expert-author-panel__role,
.st-expert-empty {
    color: var(--st-brand-muted);
}
.st-expert-author-panel {
    background: var(--st-brand-surface);
    border-left: 3px solid var(--st-brand-gold);
    color: var(--st-brand-text);
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
}
@media (max-width: 720px) {
    .st-expert-grid {
        grid-template-columns: 1fr;
    }
    .st-expert-card, .st-expert-author-panel { padding: 1.2rem; }
}
/* Page-level guard against legacy late-loading palette overrides. */
body.st-expert-landing.st-expert-landing .st-expert-articles {
    background: var(--st-brand-bg) !important;
    color: var(--st-brand-text) !important;
}
body.st-expert-landing.st-expert-landing .st-expert-articles p,
body.st-expert-landing.st-expert-landing .st-expert-articles h2,
body.st-expert-landing.st-expert-landing .st-expert-articles h3,
body.st-expert-landing.st-expert-landing .st-expert-articles li,
body.st-expert-landing.st-expert-landing .st-expert-articles dt,
body.st-expert-landing.st-expert-landing .st-expert-articles dd,
body.st-expert-landing.st-expert-landing .st-expert-articles a {
    color: var(--st-brand-text) !important;
}
body.st-expert-landing.st-expert-landing .st-expert-articles .st-expert-card,
body.st-expert-landing.st-expert-landing .st-expert-articles .st-expert-author-panel {
    background: var(--st-brand-surface) !important;
    color: var(--st-brand-text) !important;
    border-color: rgba(196, 162, 79, 0.58) !important;
}
body.st-expert-landing.st-expert-landing .st-expert-articles .st-expert-card__date,
body.st-expert-landing.st-expert-landing .st-expert-articles .st-expert-author-panel__eyebrow,
body.st-expert-landing.st-expert-landing .st-expert-articles .st-expert-card__author,
body.st-expert-landing.st-expert-landing .st-expert-articles .st-expert-card__author-link {
    color: var(--st-brand-gold) !important;
}

/* Compact lower information area on the Expert Column landing page. */
body.st-expert-landing .st-expert-compact-section {
    margin-top: clamp(36px, 4vw, 52px);
}
body.st-expert-landing .st-expert-compact-section > h2 {
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.12;
    margin: 0 0 18px;
}
body.st-expert-landing .st-expert-topic-list,
body.st-expert-landing .st-expert-research-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.st-expert-landing .st-expert-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
body.st-expert-landing .st-expert-topic-list li,
body.st-expert-landing .st-expert-research-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.st-expert-landing .st-expert-topic-list a {
    align-items: center;
    background: var(--st-brand-surface);
    border: 1px solid var(--st-brand-border);
    border-radius: 6px;
    display: inline-flex;
    min-height: 40px;
    padding: 8px 14px;
    text-decoration: none;
}
body.st-expert-landing .st-expert-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
body.st-expert-landing .st-expert-review-grid > p,
body.st-expert-landing .st-expert-evidence-card,
body.st-expert-landing .st-expert-research-links a {
    background: var(--st-brand-surface);
    border: 1px solid var(--st-brand-border);
    border-radius: 6px;
}
body.st-expert-landing .st-expert-review-grid > p {
    border-left: 3px solid var(--st-brand-gold);
    margin: 0;
    padding: 16px 18px;
}
body.st-expert-landing .st-expert-evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}
body.st-expert-landing .st-expert-evidence-card {
    padding: 16px 18px;
}
body.st-expert-landing .st-expert-evidence-card dt {
    color: var(--st-brand-gold) !important;
    line-height: 1.35;
}
body.st-expert-landing .st-expert-evidence-card dd {
    margin: 8px 0 0;
}
body.st-expert-landing .st-expert-evidence-note {
    background: rgba(196, 162, 79, 0.08);
    border-left: 3px solid var(--st-brand-gold);
    border-radius: 0 6px 6px 0;
    font-size: 0.92rem;
    margin: 14px 0 0;
    padding: 12px 16px;
}
body.st-expert-landing .st-expert-research-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.st-expert-landing .st-expert-research-links a {
    display: flex;
    height: 100%;
    padding: 13px 16px;
    text-decoration: none;
}
body.st-expert-landing .st-expert-topic-list a:hover,
body.st-expert-landing .st-expert-topic-list a:focus,
body.st-expert-landing .st-expert-research-links a:hover,
body.st-expert-landing .st-expert-research-links a:focus {
    background: rgba(196, 162, 79, 0.12);
    border-color: var(--st-brand-gold);
}
@media (max-width: 720px) {
    body.st-expert-landing .st-expert-compact-section {
        margin-top: 32px;
    }
    body.st-expert-landing .st-expert-compact-section > h2 {
        font-size: 30px;
        margin-bottom: 14px;
    }
    body.st-expert-landing .st-expert-review-grid,
    body.st-expert-landing .st-expert-evidence-grid,
    body.st-expert-landing .st-expert-research-links {
        grid-template-columns: 1fr;
    }
}


/* Expert landing section rhythm. */
body.st-expert-landing .post_content.entry-content > .st-expert-articles > p:first-of-type {
    margin-bottom: 40px;
}
body.st-expert-landing .post_content.entry-content > .st-expert-articles > section.st-expert-articles:nth-of-type(2) {
    margin-top: 64px;
}
body.st-expert-landing .post_content.entry-content > .st-expert-articles > section.st-expert-compact-section {
    margin-top: 56px;
}
body.st-expert-landing #st-expert-contributors-title,
body.st-expert-landing #st-expert-latest-title,
body.st-expert-landing #st-expert-subjects-title,
body.st-expert-landing #st-expert-review-title,
body.st-expert-landing #st-expert-projects-title,
body.st-expert-landing #st-expert-research-title {
    margin-bottom: 20px;
}
@media (max-width: 720px) {
    body.st-expert-landing .post_content.entry-content > .st-expert-articles > p:first-of-type {
        margin-bottom: 32px;
    }
    body.st-expert-landing .post_content.entry-content > .st-expert-articles > section.st-expert-articles:nth-of-type(2) {
        margin-top: 44px;
    }
    body.st-expert-landing .post_content.entry-content > .st-expert-articles > section.st-expert-compact-section {
        margin-top: 40px;
    }
    body.st-expert-landing #st-expert-contributors-title,
    body.st-expert-landing #st-expert-latest-title,
    body.st-expert-landing #st-expert-subjects-title,
    body.st-expert-landing #st-expert-review-title,
    body.st-expert-landing #st-expert-projects-title,
    body.st-expert-landing #st-expert-research-title {
        margin-bottom: 16px;
    }
}

/* Approved expert profile layout. */
body.parent-pageid-40 .st-expert-profile {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
    background: var(--st-brand-surface) !important;
    border: 1px solid rgba(196, 162, 79, 0.58);
    border-radius: 8px;
    margin-bottom: clamp(40px, 6vw, 80px);
    padding: clamp(24px, 4vw, 48px);
}
body.parent-pageid-40 .st-expert-profile__photo img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(196, 162, 79, 0.42);
    border-radius: 8px;
}
body.parent-pageid-40 .st-expert-profile__eyebrow {
    color: var(--st-brand-gold) !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.parent-pageid-40 .st-expert-profile__name {
    color: var(--st-brand-text) !important;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0.4rem 0 0.75rem;
}
body.parent-pageid-40 .st-expert-profile__role {
    color: var(--st-brand-gold) !important;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin-bottom: 1.5rem;
}
body.parent-pageid-40 .st-expert-profile__focus,
body.parent-pageid-40 .st-expert-profile__note {
    color: var(--st-brand-muted) !important;
}
body.parent-pageid-40 .st-expert-profile__back {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(196, 162, 79, 0.58);
    border-radius: 6px;
    color: var(--st-brand-text) !important;
    margin-top: 1.25rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
}
body.parent-pageid-40 .st-expert-profile__back:hover,
body.parent-pageid-40 .st-expert-profile__back:focus {
    background: rgba(196, 162, 79, 0.12);
    color: var(--st-brand-text) !important;
}
@media (max-width: 720px) {
    body.parent-pageid-40 .st-expert-profile {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 20px;
    }
    body.parent-pageid-40 .st-expert-profile__photo {
        max-width: 320px;
    }
}

    /* Draft only: ten verified Expert Column landing pages. */
body.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing [aria-labelledby="st-expert-subjects-title"] a,
body.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing [aria-labelledby="st-expert-research-title"] a {
    color: var(--st-brand-gold, #c4a24f) !important;
}
body.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing [aria-labelledby="st-expert-subjects-title"] a:hover,
body.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing [aria-labelledby="st-expert-subjects-title"] a:focus,
body.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing [aria-labelledby="st-expert-research-title"] a:hover,
body.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing.st-expert-landing [aria-labelledby="st-expert-research-title"] a:focus {
    color: #fff !important;
}

