#author.author-card {
    margin: 40px 0;
    scroll-margin-top: 90px;
    overflow: hidden;
    border: 1px solid #d6d3cb;
    border-radius: 12px;
    background: #fff;
    color: #212121;
    font-family: Poppins, sans-serif;
}

#author .author-card__panel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: #222220;
    color: #fff;
}

#author img.author-card__avatar {
    flex: none;
    width: 66px !important;
    height: 66px !important;
    margin: 0;
    padding: 0;
    border: 2px solid #ffdf39;
    border-radius: 50%;
    object-fit: cover;
}

#author .author-card__eyebrow {
    display: block;
    color: #f5db48;
    font-size: 14px;
    line-height: 1.45;
}

#author .author-card__name {
    color: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.12;
    text-decoration: none;
}

#author .author-card__stats {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 6px;
    margin: 14px 16px;
}

#author .author-card__stats > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding: 10px;
    border-radius: 7px;
    background: #f5f4f1;
}

#author .author-card__stats dt {
    margin: 2px 0 0;
    color: #5d5852;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
}

#author .author-card__stats dd {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

#author .author-card__bio {
    margin: 13px 18px 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.48;
}

#author .author-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 8px;
    padding: 0 14px;
    border-top: 1px solid #e6e1d7;
    background: #faf9f5;
}

#author .author-card__more {
    padding: 10px 0;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#author .author-card__profiles {
    display: flex;
    flex-wrap: wrap;
}

#author .author-card__profiles a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 44px;
    color: inherit;
    font-size: 17px;
    text-decoration: none;
}

#author a:hover { text-decoration: underline; }
#author a:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }

@media (max-width: 600px) {
    #author .author-card__panel { padding: 15px 18px; }
    #author img.author-card__avatar { width: 56px !important; height: 56px !important; }
    #author .author-card__stats { margin: 12px; }
    #author .author-card__stats > div { padding: 9px 7px; }
}

.author-archive #author { margin: 14px 0 24px; }
.author-archive #author h1 { margin: 2px 0 0; font-size: clamp(25px, 3vw, 36px); }
#author-guides h2 { margin: 0; text-align: left; font-size: 25px; line-height: 1.25; }
#author-guides [hidden] { display: none; }
#author-guides .guides-toolbar, #author-guides .guides-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 8px 0 12px;
    color: #625e56;
    font-size: 14px;
}
#author-guides select { max-width: 100%; padding: 6px; font: inherit; color: #252423; background: white; border: 1px solid #cbc7bf; border-radius: 5px; }
#author-guide-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid #292823; }
#author-guide-list > li { margin: 0; padding: 10px 2px; list-style: none; border-bottom: 1px solid #dedbd3; }
#author-guide-list > li::before { display: none; }
#author-guide-list > li > a { display: block; color: #252423; font-size: 17px; font-weight: 600; line-height: 1.35; text-decoration: none; }
#author-guide-list > li > a:hover { text-decoration: underline; }
#author-guides .guide-meta, #author-guides .guide-meta a { color: #615e56; font-size: 13px; line-height: 1.45; }
#author-guides .guide-meta { margin-top: 4px; }
#author-guides button { padding: 10px 20px; border: 0; border-radius: 5px; background: #ffe500; color: #222; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) {
    #author-guides h2 { font-size: 22px; }
    #author-guide-list > li > a { font-size: 16px; }
}

#author-guides .featured-topics:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
#author-guides .featured-topics button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #c9b659;
    border-radius: 7px;
    background: #fff9da;
    color: #25231c;
    font: 600 15px/1.25 Poppins, sans-serif;
    text-transform: none;
}
#author-guides .featured-topics button[aria-pressed="true"] {
    background: #27251e;
    border-color: #27251e;
    color: white;
}
#author-guides .featured-topics button span {
    min-width: 26px;
    border-radius: 15px;
    background: #f4e594;
    color: #302b19;
    font-size: 13px;
    line-height: 23px;
    text-align: center;
}
#author-guides .featured-topics button[aria-pressed="true"] span { background: #ffe500; }
#author-guides .all-guides {
    margin-left: auto;
    padding: 4px;
    background: none;
    color: #444;
    text-decoration: underline;
    text-transform: none;
}
#author-guides .featured-topics + .guides-toolbar select { font-size: 13px; text-transform: none; }
@media (max-width: 600px) {
    #author-guides .featured-topics button { width: 100%; }
    #author-guides .featured-topics + .guides-toolbar { font-size: 12px; gap: 6px; }
    #author-guides .featured-topics + .guides-toolbar select { max-width: 145px; }
}
