/* Общие стили для authors.html и literature.html */

/* страница должна скроллиться, даже если в styles.css стоит overflow: hidden */
body.sub-page {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
    margin: 0;
}

.page-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* крестик теперь ссылка, а не кнопка */
a.modal-close,
a.lit-close {
    text-decoration: none;
}

/* ссылка «назад» */
.back-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #1d3d66;
    text-decoration: none;
    opacity: 0.85;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}