.author-bar { background-color: #ffffff; border-bottom: 1px solid #e8e8ee; padding: 10px 0; }
.author-bar .author-bar-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #5a5a6e; line-height: 1.4; }
/* When nested inside page-intro, adapt to dark background */
.page-intro .author-bar { background: none; border-bottom: none; padding: 10px 0 0; }
.page-intro .author-bar .author-bar-container { padding: 0; color: rgba(255, 255, 255, 0.7); }
.page-intro .author-bar .author-label { color: rgba(255, 255, 255, 0.5); }
.page-intro .author-bar .author-name { color: #ffffff; }
.page-intro .author-bar .author-name:hover { color: #f57c00; }
.page-intro .author-bar .author-avatar { border-color: rgba(255, 255, 255, 0.3); }
.page-intro .author-bar .author-divider { background-color: rgba(255, 255, 255, 0.2); }
.page-intro .author-bar .author-date { color: rgba(255, 255, 255, 0.5); }
.author-bar .author-item { display: flex; align-items: center; gap: 6px; }
.author-bar .author-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; object-fit: cover; border: 1.5px solid #e8e8ee; }
.author-bar .author-label { color: #8a8a9e; font-size: 12px; }
.author-bar .author-name { color: #1a1a2e; font-weight: 600; text-decoration: none; }
.author-bar .author-name:hover { color: #1a8a4a; text-decoration: underline; }
.author-bar .author-role { font-size: 11px; color: #8a8a9e; }
.author-bar .author-divider { width: 1px; height: 20px; background-color: #e0e0e8; flex-shrink: 0; }
.author-bar .author-date { color: #8a8a9e; font-size: 12px; }
@media (max-width: 767px) {
  .author-bar .author-bar-container { gap: 6px 12px; padding: 0; }
  .author-bar .author-divider { display: none; }
  .author-bar .author-label { display: none; }
  .author-bar .author-item { gap: 5px; }
  .author-bar .author-avatar { width: 22px; height: 22px; }
  .author-bar .author-name { font-size: 12px; }
  .author-bar .author-date { font-size: 11px; }
}
@media (min-width: 768px) {
  .author-bar .author-bar-container { padding: 0 24px; }
}
@media (min-width: 1200px) {
  .author-bar .author-bar-container { padding: 0 32px; }
}

/* Author Bio Cards (about page) */
.author-bio { background: #ffffff; border: 1px solid #e8e8ee; border-radius: 10px; padding: 28px; margin-bottom: 24px; }
.author-bio-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.author-bio-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #1a8a4a; flex-shrink: 0; }
.author-bio-meta { flex: 1; }
.author-bio-name { font-size: 20px; font-weight: 700; color: #1a1a2e; margin: 0 0 4px; }
.author-bio-role { display: inline-block; font-size: 14px; font-weight: 600; color: #1a8a4a; margin-bottom: 10px; }
.author-bio-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.author-bio-tag { display: inline-block; background: #f0f7f3; color: #1a6a4a; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; border: 1px solid #d0e8da; }
.author-bio-content { font-size: 15px; line-height: 1.7; color: #3a3a4e; }
.author-bio-content p { margin: 0 0 14px; }
.author-bio-content p:last-child { margin-bottom: 0; }
.author-bio-content a { color: #1a8a4a; text-decoration: underline; }
.author-bio-content a:hover { color: #0d6e3a; }
@media (max-width: 767px) {
  .author-bio { padding: 20px; }
  .author-bio-header { flex-direction: column; align-items: center; text-align: center; }
  .author-bio-tags { justify-content: center; }
  .author-bio-photo { width: 64px; height: 64px; }
}

/* Author Box (bottom of page) */
.author-box { background-color: #f0f0f8; padding: 32px 0; }
.author-box .author-box-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.author-box .author-box-card { background-color: #eae8f4; border-radius: 12px; padding: 24px; }
.author-box .ab-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.author-box .ab-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box .ab-meta { flex: 1; }
.author-box .ab-written { display: flex; align-items: center; gap: 6px; }
.author-box .ab-verified { width: 18px; height: 18px; flex-shrink: 0; }
.author-box .ab-written a { font-size: 16px; font-weight: 700; color: #2a4bd7; text-decoration: none; }
.author-box .ab-written a:hover { text-decoration: underline; }
.author-box .ab-role { font-size: 14px; color: #3a3a4e; margin-top: 2px; }
.author-box .ab-text { font-size: 15px; line-height: 26px; color: #2d2d2d; }
.author-box .ab-email-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background-color: #4a3fbf; border-radius: 6px; margin-left: 4px; transition: background-color 0.2s ease; }
.author-box .ab-email-icon:hover { background-color: #3a2faf; }
.author-box .ab-email-icon svg { width: 14px; height: 14px; fill: #ffffff; }
@media (min-width: 768px) {
  .author-box .author-box-container { padding: 0 24px; }
  .author-box .author-box-card { padding: 32px; }
  .author-box .ab-avatar { width: 64px; height: 64px; }
}
@media (min-width: 1200px) {
  .author-box .author-box-container { padding: 0 32px; }
}
