/*
Theme Name: Astra TZP Child
Theme URI: https://touzhupingtai.com/
Author: TZP
Template: astra
Description: Astra 子主题
Version: 2.2.0
Text Domain: astra-tzp-child
*/

.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tzp-author-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
}

.tzp-author-card__avatar {
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
  background: #f3f4f6;
}

.tzp-author-card__body {
  min-width: 0;
}

.tzp-author-card__name {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 800;
}

.tzp-author-card__name a {
  color: inherit;
  text-decoration: none;
}

.tzp-author-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 0.9rem;
}

.tzp-author-card__bio {
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.7;
}

.tzp-author-card__link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tzp-inline-author,
.tzp-page-author {
  max-width: 1000px;
  margin: 24px auto;
  box-sizing: border-box;
}

.tzp-rg-notice {
  max-width: 1000px;
  margin: 20px auto;
  padding: 18px 20px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
  line-height: 1.7;
}

.tzp-rg-notice a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tzp-rg-notice small {
  display: block;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .tzp-author-card {
    flex-direction: column;
  }
}

.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 99999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #111827;
  color: #fff;
  border-radius: 8px;
  overflow: visible;
}
