.rcad-author-page {
    background: #f4f6f8;
}

.rcad-author-hero {
    padding: 56px 18px 28px;
}

.rcad-author-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    width: min(940px, 100%);
    margin: 0 auto;
    padding: 34px;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.rcad-author-avatar img {
    display: block;
    width: 96px;
    height: 96px;
    border: 4px solid #f6a800;
    border-radius: 50%;
    object-fit: cover;
}

.rcad-author-kicker {
    margin: 0 0 8px;
    color: #f6a800;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rcad-author-info h1 {
    margin: 0;
    color: #071b46;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 850;
    line-height: 1.1;
}

.rcad-author-user,
.rcad-author-meta,
.rcad-author-bio {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 15px;
}

.rcad-author-meta {
    color: #334155;
    font-weight: 700;
}

.rcad-author-bio {
    max-width: 620px;
    line-height: 1.6;
}

.rcad-author-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    background: #e3e8f0;
}

.rcad-author-stats div {
    min-width: 110px;
    padding: 18px;
    background: #f8fafc;
    text-align: center;
}

.rcad-author-stats strong,
.rcad-author-stats span {
    display: block;
}

.rcad-author-stats strong {
    color: #071b46;
    font-size: 28px;
    font-weight: 850;
    line-height: 1;
}

.rcad-author-stats span {
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rcad-author-resources {
    padding: 18px 18px 70px;
}

.rcad-author-inner {
    width: min(940px, 100%);
    margin: 0 auto;
}

.rcad-author-inner h2 {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d9dee7;
    color: #071b46;
    font-size: 22px;
    font-weight: 800;
}

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

.rcad-author-resource {
    overflow: hidden;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.rcad-author-thumb {
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    background: #101827;
    color: #f6a800;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}

.rcad-author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rcad-author-resource-body {
    padding: 14px;
}

.rcad-author-resource-body h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.rcad-author-resource-body h3 a {
    color: #071b46;
    text-decoration: none;
}

.rcad-author-resource-body h3 a:hover {
    color: #f6a800;
}

.rcad-author-resource-body p {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
}

.rcad-author-resource-body p span:first-child {
    padding: 3px 8px;
    border: 1px solid #d7dde7;
    border-radius: 999px;
    color: #071b46;
    font-weight: 800;
}

.rcad-author-pagination {
    margin-top: 26px;
    text-align: center;
}

.rcad-author-empty {
    padding: 26px;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
}

@media (max-width: 820px) {
    .rcad-author-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rcad-author-avatar {
        justify-self: center;
    }

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

@media (max-width: 560px) {
    .rcad-author-card {
        padding: 26px 20px;
    }

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