/* Author profile page, /author/{slug} (migration 152). The template's bare
   `a { color:#1c1c1c !important; text-decoration:none !important }` is
   overridden with scoped !important rules where a link must look like one. */
.ba { background: #f6f8fb; padding: 28px 0 56px; }
.ba-wrap { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.ba-crumbs { font-size: .88rem; color: #6b7280; margin-bottom: 14px; }
.ba-crumbs a { color: #1a5fd8 !important; }

.ba-card { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 22px; }
.ba-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #e9eef8; }
.ba-photo--initials { display: flex; align-items: center; justify-content: center; font: 700 2.4rem/1 inherit; color: #fff; background: linear-gradient(135deg, #3d6ff0, #7b4ff0); }
.ba-head h1 { font-size: 1.8rem; margin: 0 0 4px; color: #111827; }
.ba-role { margin: 0 0 10px; color: #4b5563; font-weight: 600; }
.ba-bio { margin: 0 0 14px; color: #1f2937; line-height: 1.65; white-space: pre-line; }
.ba-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.ba-links a { display: inline-block; padding: 6px 12px; border: 1px solid #c9d6f2; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #1a5fd8 !important; background: #f2f6ff; }
.ba-links a:hover { background: #e2ebff; color: #0b3f9e !important; }

.ba-posts { margin-top: 26px; }
.ba-posts h2 { font-size: 1.3rem; margin: 0 0 12px; color: #111827; }
.ba-count { color: #6b7280; font-weight: 400; }
.ba-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ba-item-link { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; padding: 12px; }
.ba-item-link:hover { border-color: #b7c8ee; box-shadow: 0 2px 10px rgba(26, 95, 216, .08); }
.ba-item-link img { width: 160px; height: 90px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.ba-item-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ba-item-title { font-weight: 700; color: #1a5fd8; text-decoration: underline; text-underline-offset: 3px; }
.ba-item-text time { font-size: .85rem; color: #6b7280; }
.ba-item-dek { font-size: .92rem; color: #374151; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ba-posts > p a { color: #1a5fd8 !important; text-decoration: underline !important; }

@media (max-width: 600px) {
    .ba-card { flex-direction: column; align-items: center; text-align: center; }
    .ba-links { justify-content: center; }
    .ba-item-link img { width: 96px; height: 64px; }
}
