/* Author profile layout — dogy.gr (and network-safe fallbacks) */
.author-profile {
  padding: 2.5rem 0 2.25rem;
  border-bottom: 1px solid var(--line, #c9cec0) !important;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .author-profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 2.75rem;
  }
}
.author-profile__photo {
  flex-shrink: 0;
  margin: 0;
}
.author-profile__photo img,
.author-profile span.grid.place-items-center {
  width: 200px !important;
  height: 200px !important;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px !important;
}
.author-profile__photo figcaption {
  margin-top: 0.65rem;
  max-width: 200px;
  font: 400 12px/1.45 var(--sans, "Noto Sans", Arial, sans-serif);
  color: var(--muted, #53645e);
}
.author-profile h1 {
  margin-top: 0.9rem !important;
  margin-bottom: 0 !important;
  font-family: var(--serif, "Noto Serif", Georgia, serif);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: var(--ink, #104344);
}
.author-role-pill {
  display: inline-flex !important;
  align-items: center;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  padding: 0.4rem 0.85rem !important;
  border: 1px solid var(--line, #c9cec0) !important;
  border-radius: 999px !important;
  background: var(--soft, #ede7d9) !important;
  color: var(--ink, #104344) !important;
  font: 600 12px/1.3 var(--sans, "Noto Sans", Arial, sans-serif) !important;
  letter-spacing: 0.04em;
}
.author-profile .mt-6.max-w-xl,
.author-profile p.mt-6 {
  margin-top: 1.35rem !important;
  max-width: 38rem !important;
  font: 400 17px/1.8 var(--sans, "Noto Sans", Arial, sans-serif) !important;
  color: var(--ink, #104344) !important;
}
.author-profile p.mt-5 {
  margin-top: 1.15rem !important;
  max-width: 38rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  font: 400 15px/1.55 var(--sans, "Noto Sans", Arial, sans-serif) !important;
  color: var(--muted, #53645e) !important;
}
.author-guide-link {
  color: var(--ink, #104344) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--accent, #DE9D65) !important;
  text-underline-offset: 4px;
}
.author-guide-link:hover {
  color: var(--accent, #DE9D65) !important;
}
.author-articles,
section[aria-labelledby="author-articles"].py-10 {
  padding-top: 2.5rem !important;
  padding-bottom: 4rem !important;
}
.author-empty {
  margin: 0;
  max-width: 34rem;
  padding: 1.25rem 1.4rem !important;
  border: 1px solid var(--line, #c9cec0) !important;
  border-radius: 14px !important;
  background: var(--soft, #ede7d9) !important;
  font: 400 16px/1.65 var(--sans, "Noto Sans", Arial, sans-serif);
  color: var(--ink, #104344);
}
.author-empty .text-muted,
.author-empty p.mt-2 {
  margin-top: 0.5rem !important;
  color: var(--muted, #53645e) !important;
  font-size: 14px !important;
}
.bg-paper-soft { background: var(--soft, #ede7d9) !important; }
.border-rule { border-color: var(--line, #c9cec0) !important; }
.text-ink { color: var(--ink, #104344) !important; }

@media (max-width: 639px) {
  .author-profile {
    padding-top: 1.75rem;
    gap: 1.25rem;
  }
  .author-profile__photo img,
  .author-profile span.grid.place-items-center {
    width: 148px !important;
    height: 148px !important;
    border-radius: 16px !important;
  }
  .author-profile__photo figcaption { max-width: 148px; }
}
