body.author .author-bio {
    color: #252525;
    font-family: var(--font-sans);
}

body.author .author-bio p, body.author .author-bio li, body.author .author-block-bio {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
}

body.author .author-bio p, body.author .author-block-bio {
    margin-top: 0;
    margin-bottom: 16px;
}

body.author .author-bio h2, body.author .author-bio h3, body.author .author-bio h4 {
    margin: 28px 0 16px;
    padding-left: 14px;
    border-left-width: 4px;
    font-family: inherit;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

body.author .author-bio h2 {
    font-size: clamp(23px, 2.25vw, 29px);
}

body.author .author-bio h3 {
    font-size: clamp(18px, 1.65vw, 21px);
}

body.author .author-bio h4 {
    font-size: 18px;
}

body.archive .archive-description {
    font-size: 16px;
    line-height: 1.7;
}

body.author {
    overflow-x: clip;
}

body.author .author-page {
    padding-top: 112px;
    padding-bottom: 56px;
    font-family: var(--font-sans);
}

body.author .author-profile {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    min-height: 330px;
    overflow: hidden;
    border: 1px solid #e4e6e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(24, 28, 33, 0.08);
}

body.author .author-profile__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding: 42px 30px;
    overflow: hidden;
    background: radial-gradient(circle at 25% 16%, rgba(221, 147, 29, 0.24), transparent 30%),
        #232323;
}

body.author .author-profile__visual::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 170px;
    height: 170px;
    border: 30px solid rgba(221, 147, 29, 0.08);
    border-radius: 50%;
}

body.author .author-profile__avatar {
    position: relative;
    z-index: 1;
    width: 178px;
    height: 178px;
    padding: 7px;
    border: 2px solid #dd931d;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

body.author .author-profile__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

body.author .author-profile__role {
    position: relative;
    z-index: 1;
    padding: 7px 13px;
    border: 1px solid rgba(221, 147, 29, 0.55);
    border-radius: 999px;
    background: rgba(221, 147, 29, 0.12);
    color: #f1ab3c;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

body.author .author-profile__content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: clamp(34px, 5vw, 68px);
    background: radial-gradient(circle at 100% 0%, rgba(221, 147, 29, 0.12), transparent 30%),
        #fff;
}

body.author .author-profile__label {
    margin: 0 0 12px;
    color: #a96800;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.author .author-profile__name {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    color: #202020;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

body.author .author-profile__summary {
    max-width: 780px;
    margin: 0;
    color: #4f5358;
    font-size: 16px;
    line-height: 1.7;
}

body.author .author-profile__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 24px;
}

body.author .author-profile__meta-item, body.author .author-profile__social {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid #e4e6e8;
    border-radius: 999px;
    color: #565a60;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

body.author .author-profile__social {
    gap: 7px;
    border-color: #d7a95f;
    color: #202020;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

body.author .author-profile__social:hover {
    background: #f8ead3;
    transform: translateY(-1px);
}

body.author .author-profile__social img {
    width: 16px;
    height: 16px;
}

body.author .author-biography {
    display: grid;
    grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
    gap: 34px;
    margin-top: 34px;
    padding: 34px;
    border: 1px solid #e4e6e8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(24, 28, 33, 0.06);
}

body.author .author-biography__heading {
    align-self: start;
    padding: 18px;
    border-left: 4px solid #dd931d;
    border-radius: 0 10px 10px 0;
    background: #f8f4ed;
}

body.author .author-biography__heading span {
    display: block;
    margin-bottom: 5px;
    color: #a96800;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.author .author-biography__heading div {
    color: #202020;
    font-size: 18px;
    font-weight: 780;
    line-height: 1.3;
}

body.author .author-biography .author-bio {
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

body.author .author-biography .author-bio > p:first-child {
    margin-top: 0;
    color: #30343a;
    font-size: 17px;
}

body.author .author-biography .author-bio h2 {
    margin: 28px 0 14px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 2px solid #e7b766;
    font-size: 21px;
}

body.author .author-biography .author-bio ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

body.author .author-biography .author-bio li {
    position: relative;
    margin: 0;
    padding: 13px 14px 13px 38px;
    border: 1px solid #ebe5dc;
    border-radius: 10px;
    background: #fbf9f5;
    color: #40444a;
    font-size: 14px;
    line-height: 1.55;
}

body.author .author-biography .author-bio li::before {
    content: "\2713";
    position: absolute;
    top: 13px;
    left: 14px;
    color: #c77d08;
    font-weight: 900;
}

body.author .author-posts {
    margin-top: 42px;
}

body.author .author-posts__heading h2 {
    margin: 0 0 22px;
    padding-left: 14px;
    border-left: 4px solid #dd931d;
    font-size: clamp(23px, 2.25vw, 29px);
    line-height: 1.25;
}

body.author .author-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.author .author-post-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e4e6e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 28, 33, 0.065);
}

body.author .author-post-card__media {
    display: block;
    height: 180px;
    overflow: hidden;
    background: #f2eee7;
}

body.author .author-post-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

body.author .author-post-card:hover .author-post-card__media img {
    transform: scale(1.025);
}

body.author .author-post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

body.author .author-post-card__date {
    margin-bottom: 8px;
    color: #9a650e;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.author .author-post-card h3 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    font-size: 18px;
    line-height: 1.35;
}

body.author .author-post-card h3 a {
    color: #202020;
}

body.author .author-post-card p {
    margin: 0 0 16px;
    color: #5a5e63;
    font-size: 14px;
    line-height: 1.6;
}

body.author .author-post-card__link {
    margin-top: auto;
    color: #a96800;
    font-size: 13px;
    font-weight: 800;
}

body.author .author-post-card__link span {
    display: inline-block;
    transition: transform 0.2s ease;
}

body.author .author-post-card__link:hover span {
    transform: translateX(3px);
}

body.author .navigation.pagination {
    margin-top: 26px;
}

@media (max-width: 900px) {
    body.author .author-profile {
        grid-template-columns: minmax(200px, 0.4fr) minmax(0, 1fr);
    }

    body.author .author-biography {
        grid-template-columns: 1fr;
    }

    body.author .author-posts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 680px) {
    body.author .author-bio p, body.author .author-bio li, body.author .author-block-bio, body.archive .archive-description {
        font-size: 15px;
        line-height: 1.65;
    }

    body.author .author-bio h2 {
        font-size: 23px;
    }

    body.author .author-bio h3 {
        font-size: 19px;
    }

    body.author .author-page {
        padding-top: 94px;
        padding-right: 16px;
        padding-left: 16px;
    }

    body.author .author-profile {
        grid-template-columns: 1fr;
    }

    body.author .author-profile__visual {
        padding: 32px 24px;
    }

    body.author .author-profile__avatar {
        width: 148px;
        height: 148px;
    }

    body.author .author-profile__content {
        padding: 30px 24px;
    }

    body.author .author-profile__name {
        font-size: 34px;
    }

    body.author .author-profile__summary {
        font-size: 15px;
        line-height: 1.65;
    }

    body.author .author-biography {
        gap: 24px;
        padding: 24px;
    }

    body.author .author-biography .author-bio ul, body.author .author-posts__grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 420px) {
    body.author .author-profile__meta {
        align-items: stretch;
        flex-direction: column;
    }

    body.author .author-profile__meta-item, body.author .author-profile__social {
        justify-content: center;
    }

}
