#single .research-hero {
    margin-bottom: 1.2rem;
    text-align: center;
}

#single .research-hero-title {
    margin-bottom: 0.9rem;
    font-size: clamp(1.75rem, 4.2vw, 3.35rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
}

#single .research-hero-authors {
    margin-bottom: 1rem;
    color: var(--text-secondary-color);
    font-size: 1.1rem;
}

#single .research-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

#single .research-link-btn {
    border-radius: 0.7rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.98rem;
}

/* Keep research figures readable instead of full-column oversized */
#single .featured-image {
    display: flex;
    justify-content: center;
}

#single .featured-image img {
    max-width: 860px;
    height: auto;
}

#single .page-content img {
    display: block;
    max-width: min(860px, 100%);
    height: auto;
    margin: 1rem auto;
}

#single .md-img-wrap {
    margin: 1rem auto;
    text-align: center;
}

#single .md-img-wrap img {
    max-width: 100%;
    height: auto;
}

#single .md-img-wrap.align-left {
    text-align: left;
    margin-left: 0;
}

#single .md-img-wrap.align-right {
    text-align: right;
    margin-right: 0;
}

#single .md-img-caption {
    margin-top: 0.35rem;
    color: var(--text-secondary-color);
    font-size: 0.92rem;
}

#single .cite-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

#single .cite-modal-panel {
    width: min(980px, 100%);
    max-height: 90vh;
    background: var(--background-color);
    border: 1px solid rgba(127, 127, 127, 0.35);
    border-radius: 0.9rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

#single .cite-modal-head {
    padding: 1.2rem 1.4rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#single .cite-modal-close {
    border: 0;
    background: transparent;
    color: var(--text-secondary-color);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

#single .cite-modal-body {
    padding: 0.5rem 1.4rem 1rem;
}

#single .cite-modal-text {
    width: 100%;
    min-height: 340px;
    max-height: 56vh;
    padding: 1rem;
    border: 0;
    border-radius: 0.6rem;
    background: var(--secondary-color);
    color: var(--text-color);
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1.02rem;
    line-height: 1.45;
}

#single .cite-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 0 1.4rem 1.3rem;
}