.dz-author-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin: 210px auto 90px;
    padding: 0 24px;
}

.dz-author-page * { box-sizing: border-box; }

.dz-author-header {
    display: grid;
    grid-template-columns: 164px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    padding: 40px;
    background: #faf8f5;
    border-radius: 16px;
}

.dz-author-header__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 164px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: #e9e4dc;
    color: #51483d;
    font-size: 64px;
    text-transform: uppercase;
}

.dz-author-header__photo img { width: 100%; height: 100%; object-fit: cover; }
.dz-author-header__content { min-width: 0; }
.dz-author-header__eyebrow { margin: 0 0 12px; color: #666; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.dz-author-page .dz-author-header h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.dz-author-header__role { margin: 14px 0 0; font-size: 18px; line-height: 1.4; }
.dz-author-header__bio { max-width: 800px; margin-top: 20px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.dz-author-header__bio p + p { margin-top: 12px; }
.dz-author-header__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.dz-author-header__links a { color: #333; text-decoration: underline; text-underline-offset: 4px; }

.dz-author-articles { margin-top: 56px; }
.dz-author-articles__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.dz-author-page .dz-author-articles__heading h2 { margin: 0; font-size: 28px; font-weight: 600; }
.dz-author-articles__heading > span { color: #666; font-size: 14px; }
.dz-author-articles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.dz-author-article { min-width: 0; }
.dz-author-article__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #faf8f5; color: #666; }
.dz-author-article__image img { width: 100%; height: 100%; object-fit: cover; }
.dz-author-article__category { margin: 18px 0 10px; color: #666; font-size: 12px; line-height: 1.4; text-transform: uppercase; }
.dz-author-page .dz-author-article h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.dz-author-page .dz-author-article h3 a { color: #111; text-decoration: none; }
.dz-author-page .dz-author-article h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dz-author-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 16px; color: #666; font-size: 13px; }
.dz-author-article__views { display: inline-flex; align-items: center; gap: 6px; }
.dz-author-page .pagination { margin-top: 40px; }
.dz-author-page .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-author-page .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 8px 12px; border-radius: 6px; color: #111; background: #faf8f5; text-decoration: none; }
.dz-author-page .page-numbers.current { color: #fff; background: #222; }
.dz-author-page a:focus-visible { outline: 2px solid #555; outline-offset: 4px; }

@media (max-width: 1100px) {
    .dz-author-page { margin-top: 100px; }
    .dz-author-header { grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 28px; }
    .dz-author-header__photo { width: 120px; font-size: 48px; }
}

@media (max-width: 950px) {
    .dz-author-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .dz-author-page { margin-top: 80px; padding: 0 15px; }
    .dz-author-page .dz-article-breadcrumbs { margin-top: 0; }
    .dz-author-header { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .dz-author-header__photo { width: 96px; font-size: 40px; }
    .dz-author-header__role { font-size: 16px; }
    .dz-author-articles { margin-top: 36px; }
    .dz-author-articles__heading { align-items: start; flex-direction: column; gap: 12px; }
    .dz-author-page .dz-author-articles__heading h2 { font-size: 24px; }
    .dz-author-articles__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Автор под статьёй: светлая подложка, круглый портрет и редактируемая биография. */
.dz-article-author {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 32px 0;
    padding: 28px;
    border: 1px solid #ece6df;
    border-radius: 12px;
    background: #faf8f6;
}
.dz-article-author .dz-article-author__heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 24px;
    color: #292722;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}
.dz-article-author__heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6ddd3;
}
.dz-article-author__body {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}
.dz-article-author__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    overflow: hidden;
    border-radius: 50%;
    background: #e9e1d5;
    color: #75614a;
    font-family: Georgia, serif;
    font-size: 56px;
    text-transform: uppercase;
}
.dz-article-author .dz-article-author__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dz-article-author__content { min-width: 0; overflow-wrap: anywhere; }
.dz-article-author .dz-article-author__name {
    color: #89613e;
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dz-article-author .dz-article-author__name:hover { color: #5f4229; }
.dz-article-author .dz-article-author__name:focus-visible { outline: 2px solid #89613e; outline-offset: 4px; }
.dz-article-author .dz-article-author__role,
.dz-article-author .dz-article-author__bio {
    margin: 14px 0 0;
    color: #626262;
    font-size: 15px;
    line-height: 1.65;
}
.dz-article-author__bio p { margin: 0; }
.dz-article-author__bio p + p { margin-top: 12px; }
@media (max-width: 600px) {
    .dz-article-author { padding: 22px 18px; }
    .dz-article-author .dz-article-author__heading { font-size: 26px; }
    .dz-article-author__body { grid-template-columns: 80px minmax(0, 1fr); gap: 18px; align-items: start; }
    .dz-article-author__photo { width: 80px; height: 80px; font-size: 38px; }
}
@media (max-width: 380px) {
    .dz-article-author__body { grid-template-columns: minmax(0, 1fr); }
}
