/* ================================================
   Research Page – consistent typography & spacing
   ================================================ */

@import url("home-contact-forms.css");

/* Intro spacing: intro-statement.css */

/* Section spacing – use design tokens */
.research-focus,
.research-projects {
    margin-top: 0;
    margin-bottom: var(--lionex-space-12, 48px);
}


.research-focus:last-child {
    margin-bottom: 0;
}

/* Section headings – consistent size with intro */
.research-focus h2,
.research-projects h2 {
    margin: 0 0 var(--lionex-space-5) 0;
    font-weight: 700;
    color: var(--lionex-primary-dark);
    padding-bottom: var(--lionex-space-2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.research-projects-intro {
    margin: 0 0 var(--lionex-space-5) 0;
    line-height: 1.6;
    color: var(--lionex-text-secondary);
    max-width: 42em;
}

/* Focus list – body text size, consistent rhythm */
.research-focus ul {
    margin: 0;
    padding-left: 1.25em;
    line-height: 1.65;
}

.research-focus li {
    margin-bottom: var(--lionex-space-4);
}

.research-focus li:last-child {
    margin-bottom: 0;
}

/* Project grid – consistent gaps, readable links */
.project-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--lionex-space-3) var(--lionex-space-8);
}

.project-list li {
    margin: 0;
    padding: var(--lionex-space-2) 0;
}

.project-list a {
    color: var(--lionex-primary);
    text-decoration: none;
}

.project-list a:hover {
    text-decoration: underline;
}

/* Research project detail pages – match main page scale */
.research-project-content h2 {
    margin: 0 0 var(--lionex-space-5) 0;
    font-weight: 700;
    color: var(--lionex-primary-dark);
}

.research-project-content h3 {
    margin: var(--lionex-space-6) 0 var(--lionex-space-3) 0;
    font-weight: 600;
    color: var(--lionex-primary-dark);
}

.research-project-content p {
    margin: 0 0 var(--lionex-space-5) 0;
    line-height: 1.65;
}

.research-project-content ul {
    margin: 0 0 var(--lionex-space-5) 0;
    padding-left: 1.25em;
    line-height: 1.65;
}

.research-project-content li {
    margin-bottom: var(--lionex-space-2);
}

.research-project-content a {
    color: var(--lionex-primary);
    text-decoration: none;
}

.research-project-content a:hover {
    text-decoration: underline;
}

.page-research-project .main-content > .main-backdrop {
    margin-top: 0;
}

.page-research-project .research-project-page.container--body {
    min-height: auto;
    padding-top: 0;
    padding-bottom: var(--lionex-space-6);
}

.page-research-project .research-project-page .research-project-content:last-child {
    margin-bottom: 0;
}

.page-research-project .research-project-page .home-contact-forms.home-contact-forms--emails-only {
    margin-top: var(--lionex-space-8, 32px);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .research-focus h2,
    .research-projects h2 {
    }
}

@media (max-width: 600px) {
    .project-list {
        grid-template-columns: 1fr;
        gap: var(--lionex-space-2) 0;
    }

    .research-focus,
    .research-projects {
        margin-bottom: var(--lionex-space-10);
    }
}
