:root {
    --ac-purple-50:  #f3f4fb;
    --ac-purple-500: #1a1452;
    --ac-purple-600: #e5178e;
    --ac-purple-700: #e5178e;

    --ac-text:       #1f2330;
    --ac-gray:       #52576b;
    --ac-light-gray: #7c8194;
    --ac-border:     #ececec;

    --ac-tag-bg:     #e8e9f6;
    --ac-tag-text:   #1a1452;
}


.author-card {
    width: 100%; max-width: 1100px; margin: 32px auto;
    background: #fff; border: 1px solid var(--ac-border);
    border-radius: 8px; overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ac-text);
}
.ac-header {
    display: flex; justify-content: space-between;
    gap: 32px; padding: 40px; border-bottom: 1px solid var(--ac-border);
}
.ac-header-left { display: flex; gap: 28px; flex: 1; }
.ac-avatar {
    flex-shrink: 0; width: 108px; height: 108px; border-radius: 50%;
    background: #ddd6fe; display: flex; align-items: center;
    justify-content: center; font-size: 34px; font-weight: 700;
    color: var(--ac-purple-700); overflow: hidden;
}
.ac-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ac-profile-info { display: flex; flex-direction: column; flex: 1; }
.ac-profile-info h1 { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.ac-job-title { color: var(--ac-gray); font-size: 15px; margin: 0 0 16px; }
.ac-links { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.ac-pill {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid #d4d4d4; background: #fff; color: var(--ac-text);
    padding: 7px 16px; border-radius: 20px; font-size: 14px;
    text-decoration: none; transition: background .15s, border-color .15s; cursor: pointer;
}
.ac-pill svg { width: 15px; height: 15px; }
.ac-pill:hover { background: #f5f5f5; border-color: #aaa; }
.ac-pill:focus-visible { outline: 2px solid var(--ac-purple-500); outline-offset: 2px; }
.ac-bio { color: var(--ac-gray); font-size: 15px; line-height: 1.7; }
.ac-bio p { margin: 0; }
.ac-expertise {
    background: var(--ac-purple-50); border-radius: 10px;
    padding: 22px 26px; width: 220px; flex-shrink: 0; align-self: flex-start;
}
.ac-expertise h3 {
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    color: var(--ac-purple-600); margin: 0 0 14px;
}
.ac-expertise ul { list-style: none; margin: 0; padding: 0; }
.ac-expertise li { position: relative; padding-left: 16px; margin-bottom: 10px; font-size: 14px; color: #3d3f55; }
.ac-expertise li:last-child { margin-bottom: 0; }
.ac-expertise li::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--ac-purple-500);
}
.ac-quote-section { padding: 40px; border-bottom: 1px solid var(--ac-border); }
.ac-quote-box {
    background: var(--ac-purple-50); border-radius: 12px;
    padding: 44px 60px; text-align: center;
}
.ac-quote-mark { color: var(--ac-purple-700); font-size: 48px; font-family: Georgia, serif; line-height: 1; margin-bottom: 4px; }
.ac-quote-text { color: var(--ac-purple-700); font-size: 22px; font-weight: 500; line-height: 1.55; max-width: 720px; margin: 0 auto 18px; }
.ac-quote-author { color: var(--ac-purple-600); font-weight: 600; font-size: 15px; }
.ac-articles-section { padding: 0 40px 40px; }
.ac-articles-heading {
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    color: var(--ac-light-gray); padding: 22px 0 4px; margin: 0;
}
.ac-article-list { border-top: 1px solid var(--ac-border); margin-top: 8px; }
.ac-article-item {
    display: flex; align-items: center; gap: 18px;
    padding: 20px 6px; border-bottom: 1px solid var(--ac-border);
    text-decoration: none; color: inherit; transition: background .15s; border-radius: 6px;
}
.ac-article-item:hover { background: #fafafa; }
.ac-article-item:focus-visible { outline: 2px solid var(--ac-purple-500); outline-offset: -2px; }
.ac-article-icon {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px;
    background: #f7f5ef; display: flex; align-items: center;
    justify-content: center; color: var(--ac-purple-500); overflow: hidden;
}
.ac-article-icon svg { width: 22px; height: 22px; }
.ac-article-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ac-article-content h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.ac-article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ac-light-gray); }
.ac-tag {
    background: var(--ac-tag-bg); color: var(--ac-tag-text);
    padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500;
}
.ac-no-articles { padding: 24px 0; color: var(--ac-light-gray); font-size: 14px; }

@media (max-width: 860px) {
    .ac-header { flex-direction: column; }
    .ac-expertise { width: 100%; }
}
@media (max-width: 560px) {
    .ac-header, .ac-quote-section, .ac-articles-section { padding: 24px; }
    .ac-header-left { flex-direction: column; }
    .ac-avatar { width: 72px; height: 72px; font-size: 24px; }
    .ac-profile-info h1 { font-size: 22px; }
    .ac-quote-box { padding: 28px 20px; }
    .ac-quote-text { font-size: 18px; }
}