@font-face {
    font-family: 'Czizh';
    src: url('/Czizh Body.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, p, div, h1, h2, h3, h4, h5, h6, p {
    color: rgb(88, 18, 10);
}

.fancy-font {
    /*font-family: 'Czizh', Arial, sans-serif !important;*/
}

.author-namge,
.slicknav_nav a,
.main-header .main-nav ul li a,
.main-header .main-nav ul li.menu-item-has-children > a {
    color: rgb(88, 18, 10);
}

/* Нижняя граница мобильного блока меню (slicknav): видно, где блок меню заканчивается */
.main-header .mobile_menu.d-lg-none {
    border-bottom: 4px solid rgb(88, 18, 10);
}

.main-tag-category {
    font-weight: 600;
    font-size: 25px;
    display: inline-block;
    /*line-height: 1;*/
    letter-spacing: 0.3px;
    /*padding: 25px;*/
    background-color: rgb(88, 18, 10);
    /*font-family: 'Czizh', Arial, sans-serif !important;*/
    width: 140px;
    height: 140px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .main-tag-category {
        font-size: 30px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-tag-category {
        font-size: 24px;
        padding: 15px;
    }
}

.abai-year-fab {
    position: fixed;
    left: max(12px, env(safe-area-inset-left, 0px));
    top: 30%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 152px;
    height: 152px;
    border-radius: 50%;
    background-color: rgb(88, 18, 10);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    padding: 11px 9px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.15s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}

.abai-year-fab__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    max-width: 100%;
}

.abai-year-fab__lead {
    display: block;
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.abai-year-fab__name {
    display: block;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.08em;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.12;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.abai-year-fab__year {
    display: block;
    margin-top: 1px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    font-size: 1.15em;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) and (pointer: fine) {
    .abai-year-fab:hover {
        color: #fff !important;
        transform: translateY(-50%) scale(1.04);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }
}

/* Телефоны и узкие экраны: кнопка внизу слева, не перекрывает центр страницы */
@media (max-width: 768px) {
    .abai-year-fab {
        top: auto;
        bottom: max(14px, env(safe-area-inset-bottom, 0px));
        left: max(10px, env(safe-area-inset-left, 0px));
        transform: none;
        width: 118px;
        height: 118px;
        font-size: 13px;
        line-height: 1.2;
        padding: 8px 6px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
    }

    .abai-year-fab__inner {
        gap: 3px;
    }

    .abai-year-fab__lead {
        letter-spacing: 0.05em;
        font-size: 0.85em;
        font-weight: 600;
    }

    .abai-year-fab__name {
        font-size: 1.05em;
        letter-spacing: 0.02em;
    }

    .abai-year-fab__year {
        margin-top: 1px;
        padding-top: 4px;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
        font-size: 1.1em;
    }

    .abai-year-fab:active {
        opacity: 0.92;
        transform: scale(0.96);
    }

    @media (hover: hover) and (pointer: fine) {
        .abai-year-fab:hover {
            transform: scale(1.04);
            box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
        }
    }
}

@media (max-width: 380px) {
    .abai-year-fab {
        width: 112px;
        height: 112px;
        font-size: 12px;
        padding: 7px 5px;
        bottom: max(10px, env(safe-area-inset-bottom, 0px));
        left: max(8px, env(safe-area-inset-left, 0px));
    }

    .abai-year-fab__lead {
        letter-spacing: 0.04em;
        font-size: 0.82em;
    }

    .abai-year-fab__year {
        letter-spacing: 0.1em;
        text-indent: 0.1em;
    }
}

@media (min-width: 768px) {
    .p-lg-15 {
        padding: 15px !important;
    }

    .p-lg-10 {
        padding: 10px !important;
    }
}

.bg-main {
    background-color: rgb(88, 18, 10);
    /*font-family: 'Czizh', Arial, sans-serif !important;*/
}

.text-main,
.text-main a {
    color: rgb(88, 18, 10) !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.school-page p {
    font-size: 23px;
    margin-bottom: 5px;
}

.school-page ul {
    margin-left: 25px;
}

.school-page ul > li {
    font-size: 23px;
    list-style: outside;
}

.nav-topbar ul.sub-menu, .main-header .main-nav ul ul.sub-menu {
    background-color: rgb(88, 18, 10) !important;
}

.main-header .main-nav ul li.menu-item-has-children ul a {
    color: white !important;
}

.main-header .main-nav ul li.menu-item-has-children ul a:hover {
    color: #9b9b9b !important;
}

.footer-copy-right .text-muted a {
    color: white !important;
}

.post-thumb {
    /*background-position: center;*/
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    width: 100%;
    /*aspect-ratio: 16 / 9;*/
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    overflow: hidden;
}

.category-thumb.thumb-overlay {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.partner-circle {
    width: 250px;
    height: 250px;
    /*border-radius: 50%;*/
    overflow: hidden;
}

.partner-circle img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1318px) {
    .partner-circle {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1024px) {
    .partner-circle {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .partner-circle {
        width: 100px;
        height: 100px;
    }
}

.carausel-4-columns {
    z-index: 1;
}

.thumb-overlay::before {
    background: none !important;
}

/* Геометрический центр верхней полосы: та же ширина, что у родителя логотипа (на всю ширину хедера) */
.header-top-bar-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    white-space: nowrap;
    pointer-events: none;
}

.header-top-bar-center a {
    pointer-events: auto;
}

.new-logo {
    z-index: 100;
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.new-logo img {
    width: 140px;
}

.footer-logo {
    position: absolute;
    margin-left: calc(50% - 70px);
    top: -70px;
}

.footer-logo img {
    width: 140px;
}

.header-style-1 {
    height: 120px;
}

@media (max-width: 992px) {
    .header-style-1 {
        height: 88px !important;
    }

    .new-logo {
        bottom: -60px;
    }

    .new-logo img {
        width: 120px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-logo {
        margin-left: calc(50% - 60px);
        top: -60px;
    }

    .header-right {
        margin-right: 0 !important;
    }
}

.sketch-1 {
    bottom: 250px !important;
    z-index: -1 !important;
}

.carausel-3-columns .post-card-1 figure {
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.carausel-3-columns .post-card-1 figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pt-270 {
    padding-top: 200px;
}

.nav-topbar ul.sub-menu.left li ul.sub-menu {
    margin-top: -20px;
    margin-left: calc(100% + 39px);
    top: 0;
}

.nav-topbar ul.sub-menu.right li ul.sub-menu {
    margin-top: -20px;
    margin-left: calc(100% + 21px);
    top: 0;
}

.fade:not(.show) {
    opacity: 100 !important;
}

.first-article .post-content {
    max-width: 100% !important;
}

.author-img {
    width: 30%;
    float: left;
    padding: 30px;
}

@media (max-width: 992px) {
    .author-img {
        width: 50%;
        padding: 10px;
    }

    .post-card-1.large .thumb-overlay {
        min-height: 500px !important;
    }

    .post-title {
        font-size: 30px !important;
        line-height: 45px !important;
    }
}

/* --- Кабинет автора (обзор + боковое меню) --- */
.author-cabinet__main {
    min-width: 0;
}

.author-cabinet-nav {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(88, 18, 10, 0.08);
    padding: 1.25rem 1rem;
}

.author-cabinet-nav__link {
    display: block;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    color: rgb(88, 18, 10);
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.author-cabinet-nav__link:hover {
    background: rgba(88, 18, 10, 0.06);
    color: rgb(88, 18, 10);
}

.author-cabinet-nav__link--active {
    background: rgb(88, 18, 10);
    color: #fff !important;
}

.author-cabinet-nav__link--active:hover,
.author-cabinet-nav__link--active:focus-visible {
    background: rgb(72, 14, 8);
    color: #fff !important;
}

.author-cabinet-nav__public {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.25;
    color: #fff !important;
    background: rgb(88, 18, 10);
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(88, 18, 10, 0.2);
    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.12s ease;
}

.author-cabinet-nav__public:hover {
    color: #fff !important;
    background: rgb(72, 14, 8);
    box-shadow: 0 4px 14px rgba(88, 18, 10, 0.28);
    transform: translateY(-1px);
}

.author-cabinet-nav__link--logout {
    font-weight: 500;
    opacity: 0.9;
}

.author-cabinet-nav__logout-wrap {
    border-top: 1px solid rgba(88, 18, 10, 0.12);
}

.author-cabinet-profile {
    text-align: center;
}

.author-cabinet-profile--divider {
    border-bottom: 1px solid rgba(88, 18, 10, 0.12);
}

.author-cabinet-profile__avatar {
    display: block;
    width: 96px;
    height: 96px;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(88, 18, 10, 0.12);
}

.author-cabinet__welcome {
    font-size: 1.5rem;
    font-weight: 700;
}

.author-cabinet-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(88, 18, 10, 0.08);
    padding: 1.35rem 1.25rem;
}

.author-cabinet-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.author-cabinet-card__figure {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    color: rgb(88, 18, 10);
}

.author-cabinet-card__hint {
    font-size: 0.85rem;
    color: rgba(88, 18, 10, 0.65);
}

.author-cabinet-card__list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-top: 1px dashed rgba(88, 18, 10, 0.12);
}

.author-cabinet-card__list li:first-of-type {
    border-top: none;
    padding-top: 0;
}

.author-cabinet-card__label {
    font-size: 0.92rem;
}

.author-cabinet-card__value {
    font-weight: 700;
}

.author-cabinet-card__note {
    color: rgba(88, 18, 10, 0.75);
}

.author-cabinet-inline-link {
    font-weight: 600;
    text-decoration: underline !important;
    color: rgb(88, 18, 10) !important;
}

.author-cabinet-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.author-cabinet-badge--ru {
    background: rgba(88, 18, 10, 0.12);
    color: rgb(88, 18, 10);
}

.author-cabinet-badge--kz {
    background: rgba(34, 139, 34, 0.18);
    color: rgb(25, 95, 25);
}

.author-cabinet-recent__item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(88, 18, 10, 0.1);
}

.author-cabinet-recent__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.author-cabinet-recent__main {
    flex: 1 1 220px;
    min-width: 0;
}

.author-cabinet-recent__title {
    font-weight: 600;
    color: rgb(88, 18, 10) !important;
    text-decoration: none !important;
}

.author-cabinet-recent__title:hover {
    text-decoration: underline !important;
}

.author-cabinet-recent__meta {
    flex: 0 0 auto;
    text-align: right;
}

.author-cabinet-recent__status {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
}

.author-cabinet-recent__status--mod {
    color: #b8860b;
}

.author-cabinet-recent__date {
    font-size: 0.78rem;
}

@media (max-width: 991px) {
    .author-cabinet-recent__meta {
        text-align: left;
        width: 100%;
    }
}

/* Мои произведения — компактный список в кабинете автора */
.my-work-list__item {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(88, 18, 10, 0.1);
}

.my-work-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.my-work-list__row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem 1rem;
}

.my-work-list__thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: rgba(88, 18, 10, 0.06);
}

.my-work-list__body {
    flex: 1 1 0;
    min-width: 0;
}

.my-work-list__entry {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.65rem;
}

.my-work-list__entry:last-of-type {
    margin-bottom: 0.35rem;
}

.my-work-list__main {
    flex: 1 1 0;
    min-width: 0;
}

.my-work-list__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
}

.my-work-list__category {
    margin-bottom: 0.35rem;
}

.my-work-list__category .tag-category {
    font-size: 0.78rem;
    padding: 0.2rem 0.5rem;
    margin: 0;
}

.my-work-list__toolbar {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.45rem 0.55rem;
    max-width: 100%;
}

.my-work-list__toolbar-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.35rem 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
}

.my-work-list__toolbar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 0 0 auto;
}

.my-work-list__field {
    width: auto;
    min-width: 0;
}

.my-work-list__field-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    margin-bottom: 0.12rem;
    line-height: 1.1;
    color: rgba(88, 18, 10, 0.7);
    white-space: nowrap;
}

.my-work-list__select {
    font-size: 0.72rem;
    line-height: 1.2;
    height: 1.75rem;
    padding: 0.1rem 1.35rem 0.1rem 0.35rem;
    border-radius: 5px;
    border-color: rgba(88, 18, 10, 0.22);
    color: rgb(88, 18, 10);
}

.my-work-list__field--status .my-work-list__select {
    width: 7.25rem;
    max-width: 100%;
}

.my-work-list__field--collection .my-work-list__select {
    width: 9.5rem;
    max-width: 100%;
}

.my-work-list__btn {
    display: block;
    padding: 0.28rem 0.55rem;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.my-work-list__btn--edit {
    color: #fff !important;
    background: rgb(88, 18, 10);
}

.my-work-list__btn--edit:hover {
    color: #fff !important;
    background: rgb(72, 14, 8);
}

.my-work-list__btn--delete {
    color: rgb(88, 18, 10) !important;
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.35);
}

.my-work-list__btn--delete:hover {
    color: #fff !important;
    background: #dc3545;
    border-color: #dc3545;
}

.my-work-list__title {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
}

.my-work-list__title a {
    color: rgb(88, 18, 10);
    text-decoration: none;
}

.my-work-list__title a:hover {
    text-decoration: underline;
}

.my-work-list__date {
    font-size: 0.78rem;
    margin-top: 0.15rem;
}

@media (max-width: 575px) {
    .my-work-list__thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
    }

    .my-work-list__entry {
        flex-wrap: wrap;
    }

    .my-work-list__toolbar {
        width: 100%;
    }

    .my-work-list__toolbar-fields {
        flex: 1 1 100%;
    }

    .my-work-list__toolbar-actions {
        flex-direction: row;
        flex: 1 1 100%;
    }

    .my-work-list__field--status .my-work-list__select,
    .my-work-list__field--collection .my-work-list__select {
        width: 100%;
    }

    .my-work-list__field {
        flex: 1 1 calc(50% - 0.25rem);
    }

    .my-work-list__btn {
        flex: 1 1 0;
    }
}

/* --- Компактная вёрстка (глобально плотнее, без смены разметки) --- */
body {
    font-size: 16px;
}

h1 {
    font-size: 48px;
    line-height: 62px;
}

h2 {
    font-size: 42px;
    line-height: 54px;
}

h3 {
    font-size: 32px;
    line-height: 42px;
}

h4 {
    font-size: 22px;
    line-height: 30px;
}

h5 {
    font-size: 18px;
    line-height: 22px;
}

.display-1 {
    font-size: 82px;
    line-height: 118px;
}

.display-2 {
    font-size: 62px;
    line-height: 92px;
}

p {
    margin-bottom: 1em;
}

hr {
    margin: 22px 0;
}

.section-padding {
    padding-top: 88px;
    padding-bottom: 88px;
}

.btn-md {
    padding: 14px 18px;
}

.btn-lg {
    padding: 17px 20px;
    font-size: 15px;
}

.font-md {
    font-size: 15px;
}

.font-lg {
    font-size: 18px;
}

.mb-50 {
    margin-bottom: 40px !important;
}

.mt-50 {
    margin-top: 40px !important;
}

.mt-65 {
    margin-top: 52px !important;
}

.pt-50 {
    padding-top: 40px !important;
}

.pb-50 {
    padding-bottom: 40px !important;
}

.pt-30 {
    padding-top: 24px !important;
}

.py-50 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.author-img {
    padding: 22px;
}

.school-page p {
    font-size: 20px;
}

.school-page ul > li {
    font-size: 20px;
}

.author-cabinet-nav {
    padding: 1.05rem 0.9rem;
}

.author-cabinet-card {
    padding: 1.15rem 1.05rem;
}

.author-cabinet__welcome {
    font-size: 1.35rem;
}

/* Список авторов: поиск, глоссарий по буквам */
.author-index-toolbar {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
}

.author-index-sticky-toolbar {
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
}

.author-letter-section {
    scroll-margin-top: clamp(104px, 18vh, 180px);
}

.author-index-search {
    border: 2px solid rgba(88, 18, 10, 0.18);
    border-radius: 10px;
}

.author-index-card {
    padding-bottom: 0.75rem !important;
}

.letter-spacing {
    letter-spacing: 0.04em;
}

.comments-area {
    padding: 40px 8px;
}

/* Пагинация каталога /work — фирменные цвета, переопределение глобальных .page-item:first|last из style.css */
.work-site-pager {
    gap: 0.4rem;
}

.work-site-pager .page-item {
    margin: 0;
}

.work-site-pager .page-link {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(88, 18, 10, 0.2);
    border-radius: 999px !important;
    min-width: 2.55rem;
    height: 2.55rem;
    padding: 0 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    color: rgb(88, 18, 10);
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(88, 18, 10, 0.07);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.work-site-pager .page-link:hover,
.work-site-pager .page-link:focus {
    z-index: 2;
    color: rgb(88, 18, 10);
    background-color: rgba(88, 18, 10, 0.08) !important;
    border-color: rgba(88, 18, 10, 0.4);
    box-shadow: 0 4px 16px rgba(88, 18, 10, 0.14);
}

.work-site-pager .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(88, 18, 10, 0.22);
}

.work-site-pager .page-item.active .page-link {
    color: #fff !important;
    background-color: rgb(88, 18, 10) !important;
    border-color: rgb(88, 18, 10) !important;
    box-shadow: 0 4px 18px rgba(88, 18, 10, 0.35);
}

.work-site-pager .page-item.disabled .page-link {
    color: rgba(88, 18, 10, 0.38) !important;
    background-color: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(88, 18, 10, 0.12) !important;
    box-shadow: none;
    opacity: 1;
    pointer-events: none;
}

.work-site-pager .page-item:first-child .page-link,
.work-site-pager .page-item:last-child .page-link {
    border-radius: 999px !important;
    background-color: #fff !important;
}

/* --- Author page (public profile) -------------------------------------------- */
.author-profile {
    background: linear-gradient(180deg, rgba(88, 18, 10, 0.03) 0%, rgba(255, 255, 255, 0) 12rem);
}

.author-profile__aside {
    position: relative;
}

@media (min-width: 992px) {
    .author-profile__aside {
        position: sticky;
        top: clamp(4.5rem, 8vw, 6rem);
        align-self: flex-start;
        z-index: 2;
    }
}

.author-profile__card {
    padding: 0.85rem 0.9rem 1rem;
    background: #fff;
    border: 1px solid rgba(88, 18, 10, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(88, 18, 10, 0.06);
    text-align: center;
}

.author-profile__photo {
    display: block;
    width: 100%;
    max-width: 148px;
    margin: 0 auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(88, 18, 10, 0.1);
}

.author-profile__name {
    margin-top: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.25;
    color: rgb(88, 18, 10);
}

.author-profile__ext-link {
    font-size: 0.8125rem;
    padding: 0.2rem 0.65rem;
}

.author-profile__subscribe-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.author-page-social--compact .author-page-social__list {
    justify-content: center;
}

.author-profile-nav {
    margin-top: 0.85rem;
    padding: 0.75rem 0.65rem;
    background: #fff;
    border: 1px solid rgba(88, 18, 10, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(88, 18, 10, 0.05);
}

.author-profile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-profile-nav__link {
    display: block;
    padding: 0.42rem 0.55rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(88, 18, 10);
    text-decoration: none;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.author-profile-nav__link:hover {
    color: rgb(88, 18, 10);
    background-color: rgba(88, 18, 10, 0.07);
    text-decoration: none;
}

.author-profile-nav__link.is-active {
    color: #fff;
    background-color: rgb(88, 18, 10);
}

.author-profile-nav__link.is-active:hover {
    color: #fff;
    background-color: rgb(72, 14, 8);
}

.author-profile-nav__sublist {
    margin: 0.15rem 0 0.35rem;
    padding-left: 0.65rem;
    border-left: 2px solid rgba(88, 18, 10, 0.12);
}

.author-profile-nav__link--child {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.32rem 0.5rem;
}

.author-profile-section {
    padding: 0.85rem 0 1.1rem;
    border-bottom: 1px solid rgba(88, 18, 10, 0.08);
}

.author-profile-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.author-profile-section__title {
    font-size: 1.05rem;
    line-height: 1.25;
    color: rgb(88, 18, 10);
    margin-bottom: 0.65rem;
}

.author-profile-section__subtitle {
    font-size: 0.95rem;
    color: rgb(88, 18, 10);
}

.author-profile-section__body {
    line-height: 1.55;
    font-size: 0.9375rem;
}

.author-profile-section__body p:last-child {
    margin-bottom: 0;
}

.author-feed-public__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.author-feed-public__load-more {
    border-radius: 999px;
    padding: 0.55rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(88, 18, 10, 0.22);
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.author-feed-public__load-more:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(88, 18, 10, 0.28);
}

/* Компактный список произведений */
.author-profile-section--works .author-works-list {
    max-width: none;
}

.author-profile-section--works .author-work-card {
    background: #fff;
    box-shadow: 0 1px 10px rgba(88, 18, 10, 0.07);
}

.author-profile-section--works .author-work-card + .author-work-card {
    margin-top: 0.75rem;
}

.author-profile-section--works .author-work-card__row {
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
}

.author-profile-section--works .author-work-card__thumb {
    width: 5.25rem;
    height: 4rem;
    min-height: 0 !important;
    display: block;
    background-color: rgba(88, 18, 10, 0.04);
}

@media (min-width: 768px) {
    .author-profile-section--works .author-work-card__thumb {
        width: 6rem;
        height: 4.5rem;
    }

    .author-profile-section--works .author-work-card__row {
        gap: 1rem;
        padding: 0.75rem 0.85rem;
    }
}

.author-profile-section--works .author-work-card__category {
    margin-bottom: 0.35rem;
}

.author-profile-section--works .author-work-card__category .tag-category {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    line-height: 1.3;
}

.author-profile-section--works .author-work-card__title {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.2rem !important;
}

.author-profile-section--works .author-work-card__title a {
    color: inherit;
}

.author-profile-section--works .author-work-card__date {
    font-size: 0.8125rem;
    line-height: 1.3;
}

/* Каталог /work — компактные карточки произведений */
.work-catalog-list .author-work-card {
    background: #fff;
    box-shadow: 0 1px 10px rgba(88, 18, 10, 0.07);
}

.work-catalog-list .author-work-card + .author-work-card {
    margin-top: 0.75rem;
}

.work-catalog-list .author-work-card__row {
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
}

.work-catalog-list .author-work-card__thumb {
    width: 5.25rem;
    height: 4rem;
    min-height: 0 !important;
    display: block;
    background-color: rgba(88, 18, 10, 0.04);
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .work-catalog-list .author-work-card__thumb {
        width: 6rem;
        height: 4.5rem;
    }

    .work-catalog-list .author-work-card__row {
        gap: 1rem;
        padding: 0.75rem 0.85rem;
    }
}

.work-catalog-list .author-work-card__category {
    margin-bottom: 0.35rem;
}

.work-catalog-list .author-work-card__category .tag-category {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    line-height: 1.3;
}

.work-catalog-list .author-work-card__title {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.25rem !important;
}

.work-catalog-list .author-work-card__title a {
    color: inherit;
}

.work-catalog-list .author-work-card__date {
    font-size: 0.8125rem;
    line-height: 1.3;
}

.work-catalog-list .work-catalog-card__author {
    gap: 0.5rem;
    margin-top: 0.15rem;
}

.work-catalog-list .work-catalog-card__author-avatar img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.work-catalog-list .work-catalog-card__author-name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: inherit;
}

.work-catalog-list .work-catalog-card__author-name:hover {
    color: var(--color-primary, #58120a);
}

#author-works-mount.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Лента: карточки записей */
.author-feed-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(88, 18, 10, 0.1);
    box-shadow: 0 2px 12px rgba(88, 18, 10, 0.05);
    overflow: hidden;
    transition:
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        transform 0.2s ease;
}

.author-feed-card:hover {
    border-color: rgba(88, 18, 10, 0.16);
    box-shadow: 0 8px 28px rgba(88, 18, 10, 0.1);
    transform: translateY(-2px);
}

.author-feed-card__head {
    padding: 0.85rem 1.15rem 0.65rem;
    background: linear-gradient(90deg, rgba(88, 18, 10, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(88, 18, 10, 0.06);
}

.author-feed-card__time {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(88, 18, 10, 0.72);
}

.author-feed-card__media {
    padding: 0.85rem 1.15rem 0;
    text-align: center;
    background: rgba(253, 251, 250, 0.65);
}

.author-feed-card__img {
    display: inline-block;
    max-width: min(100%, 400px);
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.author-feed-card__body {
    padding: 1rem 1.15rem 1.15rem;
}

.author-feed-card__content {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.author-feed-card__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.author-feed-card__content blockquote {
    margin: 0 0 0.85rem;
    padding: 0.35rem 0 0.35rem 1rem;
    border-left: 3px solid rgba(88, 18, 10, 0.3);
    color: rgba(88, 18, 10, 0.85);
}

.author-feed-card__content p:last-child {
    margin-bottom: 0;
}

.literary-asia-banner {
    margin-bottom: 52px;
}

.literary-asia-banner__link,
.literary-asia-banner__static {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(88, 18, 10, 0.12);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.literary-asia-banner__link:hover {
    box-shadow: 0 14px 40px rgba(88, 18, 10, 0.18);
}

.literary-asia-banner__img {
    display: block;
    width: 100%;
    height: auto;
}

.literary-asia-page__content {
    max-width: 920px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.literary-asia-page__heading {
    margin: 2rem 0 1.25rem;
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    color: rgb(88, 18, 10);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.literary-asia-page__heading:first-child {
    margin-top: 0;
}

.literary-asia-page__motto {
    font-weight: 600;
    color: rgb(88, 18, 10);
}

.literary-asia-page__footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(88, 18, 10, 0.12);
    text-align: center;
    font-weight: 600;
}

.literary-asia-page__footer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .literary-asia-banner {
        margin-bottom: 36px;
    }

    .literary-asia-page__content {
        font-size: 1rem;
    }

    .literary-asia-page__heading {
        font-size: 1.25rem;
    }
}