/* ==========================================================================
   AUTHOR PROFILE & E-E-A-T BOX STYLING — AFTAB M. (FOUNDER OF DIGIXFLY.COM)
   ========================================================================== */

.author-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-red);
  border-radius: 6px;
  padding: 1.85rem;
  margin: 3.5rem 0 2.5rem 0;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 600px) {
  .author-bio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.author-bio-avatar {
  width: 88px;
  height: 88px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid var(--accent-red);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  margin: 0 auto;
  flex-shrink: 0;
  background: #0f172a;
}

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

.author-bio-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-serif-head);
  margin: 0 0 4px 0;
}

.author-bio-role {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-red);
  margin-bottom: 0.85rem;
}

.author-bio-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.author-bio-links {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.82rem;
  font-weight: 700;
}

.author-bio-links a {
  color: var(--text-sub);
  text-decoration: none;
}

.author-bio-links a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

.brand-attribution-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-card-hover);
  border: 1px dashed var(--border-color);
  padding: 0.85rem 1.1rem;
  border-radius: 4px;
  margin-top: 2rem;
  line-height: 1.5;
}
