/* SomGeek author archive pages */

body.author {
    overflow-x: clip;
    background: #050709;
    color: #e5e8eb;
}

body.author .sg-main {
    min-width: 0;
    background:
        radial-gradient(circle at 14% 0%, rgba(39, 54, 68, 0.22), transparent 34rem),
        #050709;
}

body.author .sg-author-archive-page,
body.author .sg-author-archive-page .sg-shell,
body.author .sg-author-archive-page .sg-archive-layout,
body.author .sg-author-archive-page .sg-archive-content,
body.author .sg-author-archive-page .sg-archive-sidebar {
    min-width: 0;
    max-width: 100%;
}

.sg-author-archive-header {
    padding: clamp(24px, 3.5vw, 42px);
}

.sg-author-archive-header__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: center;
    max-width: 980px;
}

.sg-author-archive-avatar {
    width: 112px;
    height: 112px;
    overflow: hidden;
    border: 3px solid var(--sg-gold);
    border-radius: 50%;
    background: #090d11;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.sg-author-archive-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sg-author-archive-copy {
    min-width: 0;
}

body.author .sg-archive-header h1,
body.author .sg-archive-card h2,
body.author .sg-archive-sidebar-box > h2,
body.author .sg-archive-empty h2 {
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-weight: 500;
    text-transform: none;
}

body.author .sg-archive-header h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: clamp(2.35rem, 4.6vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.02em;
}

body.author .sg-archive-description,
body.author .sg-archive-description p {
    color: #c8ced4;
}

body.author .sg-archive-count,
body.author .sg-archive-card__meta,
body.author .sg-archive-latest time {
    color: #99a2aa;
}

body.author .sg-archive-card,
body.author .sg-archive-sidebar-box,
body.author .sg-archive-empty {
    background: linear-gradient(180deg, #10161c, #090d11);
    border-color: #2a3038;
}

body.author .sg-archive-card h2,
body.author .sg-archive-card h2 a,
body.author .sg-archive-latest h3,
body.author .sg-archive-latest h3 a,
body.author .sg-archive-sidebar-box > h2 {
    color: #f3f5f7;
}

body.author .sg-archive-card__excerpt {
    color: #c5cbd1;
}

body.author .sg-archive-categories a {
    color: #d9dde1;
}

body.author .sg-archive-categories a:hover,
body.author .sg-archive-latest h3 a:hover,
body.author .sg-archive-card h2 a:hover {
    color: var(--sg-gold-bright);
}

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

    body.author .sg-archive-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .sg-author-archive-header__inner {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .sg-author-archive-avatar {
        width: 72px;
        height: 72px;
    }

    body.author .sg-archive-header h1 {
        font-size: clamp(2rem, 12vw, 3.35rem);
    }

    body.author .sg-archive-grid,
    body.author .sg-archive-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}
