/* Research pages (generate_research.py): the question, GAR's answer, and how
   the page was made. Built on entity-profile.css, which supplies the page frame,
   breadcrumb, header, sections, tables and call to action; only what those do
   not cover lives here. */

.research-page .research-question {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--color-accent-1, #2273b7);
    background: var(--color-primary-10, rgba(245, 245, 240, 0.06));
    border-radius: 6px;
}

.research-question-label,
.research-answer-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    margin: 0 0 0.5rem;
}

.research-question-text {
    font-size: 1.15rem;
    line-height: 1.55;
    margin: 0;
}

.research-searches,
.research-versions {
    margin-top: 0.9rem;
    font-size: 0.9rem;
}

.research-searches summary,
.research-versions summary {
    cursor: pointer;
    opacity: 0.8;
}

.research-searches ul,
.research-versions ul {
    margin: 0.5rem 0 0 1.1rem;
    line-height: 1.6;
}

.research-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.research-body h2 { margin-top: 2rem; }
.research-body h3 { margin-top: 1.5rem; }
.research-body p,
.research-body li { line-height: 1.65; }
.research-body ul,
.research-body ol { margin-left: 1.2rem; }

.research-cite {
    font-size: 0.75em;
    vertical-align: super;
    text-decoration: none;
    margin-left: 0.1em;
}

.research-sources ol {
    margin-left: 1.2rem;
    line-height: 1.6;
    word-break: break-word;
}

.research-preview-banner {
    padding: 0.6rem 1rem;
    border: 1px dashed currentColor;
    border-radius: 6px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.research-hub-intro {
    max-width: 46rem;
    line-height: 1.6;
}

.research-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
}

.research-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--color-primary-20, rgba(245, 245, 240, 0.2));
    border-radius: 8px;
}

.research-card a {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-decoration: none;
}

.research-card-subject { font-weight: 600; }
.research-card-title { font-size: 0.9rem; opacity: 0.85; }
.research-card-question { font-size: 0.85rem; opacity: 0.7; margin: 0.6rem 0 0; line-height: 1.5; }
.research-card-updated { font-size: 0.75rem; opacity: 0.6; margin: 0.5rem 0 0; }
.research-card-empty { opacity: 0.7; }

/* how many pages a section holds, and the way to all of them: the landing
   page shows only the newest few, and without these a reader took them for
   the whole set (2026-10-05) */
.research-count { font-weight: 400; font-size: 0.8em; opacity: 0.7; margin-left: 0.35rem; }
.research-total { opacity: 0.8; margin: 0 0 1rem; }
.research-more { margin: 1rem 0 0; font-weight: 600; }
.research-more a { text-decoration: none; }
.research-more a:hover, .research-more a:focus { text-decoration: underline; }

@media (max-width: 600px) {
    .research-page .research-question { padding: 1rem; }
    .research-question-text { font-size: 1.05rem; }
}
