/**
 * Guru Author Page — standalone layout (mirrors new-theme author template structure).
 */

.guru-author-page {
  --gap-page: clamp(1rem, 4vw, 2.5rem);
  --radius-photo: 1.5rem;
  --color-border: #e5e5e5;
  --color-text: #171717;
  --color-muted: #525252;
  --color-tag-bg: #e0e7ff;
  /* Overridden in Settings → Guru Author Page or via wp_add_inline_style */
  --guru-author-page-font: #171717;
  --guru-author-social-icon: #171717;
  box-sizing: border-box;
  padding: var(--gap-page) 1rem 3rem;
}

/* Profile / archive chrome — not inherited by article cards (see .guru-author-card). */
.guru-author-page__name,
.guru-author-page__tags,
.guru-author-page__section-title,
.guru-author-page__more-info,
.guru-author-page__key-notes,
.guru-author-page__block-title,
.guru-author-archive-header__title,
.guru-author-archive-header__bio,
.guru-author-page__empty {
  color: var(--guru-author-page-font, #171717);
}

.guru-author-page__more-info a,
.guru-author-archive-header__bio a {
  color: inherit;
}

.guru-author-page *,
.guru-author-page *::before,
.guru-author-page *::after {
  box-sizing: border-box;
}

.guru-author-page__inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.guru-author-page__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.guru-author-page__col--media {
  width: 100%;
}

@media (min-width: 1024px) {
  .guru-author-page__col--media {
    width: 32%;
    max-width: 450px;
  }

  .guru-author-page__col--bio {
    width: 58%;
  }
}

.guru-author-page__photo {
  display: block;
  width: 100%;
  max-width: 450px;
  height: 380px;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.guru-author-page__mobile-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 1.25rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .guru-author-page__mobile-title {
    display: none;
  }
}

.guru-author-page__desktop-title {
  display: none;
}

@media (min-width: 1024px) {
  .guru-author-page__desktop-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}

.guru-author-page__name {
  display: block;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.guru-author-page__tags {
  display: block;
  width: 100%;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.guru-author-page__dot {
  margin: 0 0.5rem;
}

.guru-author-page__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 1024px) {
  .guru-author-page__socials {
    justify-content: center;
  }
}

.guru-author-page__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.guru-author-page__social:hover {
  opacity: 0.75;
}

/* White circle, ring + glyph use --guru-author-social-icon (mask on ::after). */
.guru-author-page__social-icon {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  box-sizing: border-box;
  border: 1px solid var(--guru-author-social-icon, #171717);
  border-radius: 999px;
  position: relative;
}

.guru-author-page__social-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: 58%;
  transform: translate(-50%, -50%);
  background-color: var(--guru-author-social-icon, #171717);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* SVG masks use white fill (luminance); color comes from ::after background-color. */
.guru-author-page__social-icon--facebook::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--instagram::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--x::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--youtube::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--medium::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M13.54 12a6.8 6.8 0 01-6.77 6.82A6.8 6.8 0 010 12a6.8 6.8 0 016.77-6.82A6.8 6.8 0 0113.54 12zM20.96 12c0 3.54-1.51 6.42-3.38 6.42-1.87 0-3.39-2.88-3.39-6.42s1.52-6.42 3.39-6.42 3.38 2.88 3.38 6.42M24 12c0 3.17-.53 5.75-1.19 5.75-.66 0-1.19-2.58-1.19-5.75s.53-5.75 1.19-5.75C23.47 6.25 24 8.83 24 12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M13.54 12a6.8 6.8 0 01-6.77 6.82A6.8 6.8 0 010 12a6.8 6.8 0 016.77-6.82A6.8 6.8 0 0113.54 12zM20.96 12c0 3.54-1.51 6.42-3.38 6.42-1.87 0-3.39-2.88-3.39-6.42s1.52-6.42 3.39-6.42 3.38 2.88 3.38 6.42M24 12c0 3.17-.53 5.75-1.19 5.75-.66 0-1.19-2.58-1.19-5.75s.53-5.75 1.19-5.75C23.47 6.25 24 8.83 24 12z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--linkedin::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M4.98 3.5c0 1.381-1.11 2.5-2.48 2.5s-2.5-1.119-2.5-2.5S1.12 1 2.5 1 5 2.119 5 3.5zM.5 8.5h4V24h-4V8.5zm7.5 0h3.8v2.05h.05c.53-1 1.82-2.05 3.75-2.05 4.01 0 4.75 2.64 4.75 6.07V24h-4v-7.59c0-1.81-.03-4.14-2.52-4.14-2.53 0-2.91 1.97-2.91 4.01V24h-4V8.5z' transform='translate(4 -1)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M4.98 3.5c0 1.381-1.11 2.5-2.48 2.5s-2.5-1.119-2.5-2.5S1.12 1 2.5 1 5 2.119 5 3.5zM.5 8.5h4V24h-4V8.5zm7.5 0h3.8v2.05h.05c.53-1 1.82-2.05 3.75-2.05 4.01 0 4.75 2.64 4.75 6.07V24h-4v-7.59c0-1.81-.03-4.14-2.52-4.14-2.53 0-2.91 1.97-2.91 4.01V24h-4V8.5z' transform='translate(4 -1)'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--threads::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12.186 24h-.007c-3.581-.024-6.309-1.837-7.795-4.784-1.705-3.39-1.22-7.299 1.219-9.902 2.035-2.144 5.077-3.013 8.567-2.45 1.25.197 2.576.592 3.923 1.169a.75.75 0 11-.598 1.375c-1.236-.55-2.422-.9-3.507-1.07-3.035-.48-5.567.26-7.234 2.013-2.033 2.139-2.45 5.32-1.05 8.102 1.226 2.44 3.457 3.85 6.527 3.87h.007c3.07-.02 5.3-1.43 6.527-3.87 1.4-2.782.983-5.963-1.05-8.102-1.667-1.753-4.2-2.493-7.234-2.013-1.085.17-2.271.52-3.507 1.07a.75.75 0 11-.598-1.375c1.347-.577 2.673-.972 3.923-1.169 3.49-.563 6.532.306 8.567 2.45 2.439 2.603 2.924 6.512 1.219 9.902-1.486 2.947-4.214 4.76-7.795 4.784z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12.186 24h-.007c-3.581-.024-6.309-1.837-7.795-4.784-1.705-3.39-1.22-7.299 1.219-9.902 2.035-2.144 5.077-3.013 8.567-2.45 1.25.197 2.576.592 3.923 1.169a.75.75 0 11-.598 1.375c-1.236-.55-2.422-.9-3.507-1.07-3.035-.48-5.567.26-7.234 2.013-2.033 2.139-2.45 5.32-1.05 8.102 1.226 2.44 3.457 3.85 6.527 3.87h.007c3.07-.02 5.3-1.43 6.527-3.87 1.4-2.782.983-5.963-1.05-8.102-1.667-1.753-4.2-2.493-7.234-2.013-1.085.17-2.271.52-3.507 1.07a.75.75 0 11-.598-1.375c1.347-.577 2.673-.972 3.923-1.169 3.49-.563 6.532.306 8.567 2.45 2.439 2.603 2.924 6.512 1.219 9.902-1.486 2.947-4.214 4.76-7.795 4.784z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--twitch::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--quora::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12.07 0C5.394 0 .045 5.35.045 11.97c0 6.62 5.35 11.97 11.97 11.97 6.62 0 11.97-5.35 11.97-11.97C24.015 5.35 18.665 0 12.07 0zm-.84 18.21c-.96 0-1.84-.35-2.52-.98-.68.63-1.56.98-2.52.98-2.07 0-3.75-1.68-3.75-3.75s1.68-3.75 3.75-3.75c.96 0 1.84.35 2.52.98.68-.63 1.56-.98 2.52-.98 2.07 0 3.75 1.68 3.75 3.75s-1.68 3.75-3.75 3.75z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12.07 0C5.394 0 .045 5.35.045 11.97c0 6.62 5.35 11.97 11.97 11.97 6.62 0 11.97-5.35 11.97-11.97C24.015 5.35 18.665 0 12.07 0zm-.84 18.21c-.96 0-1.84-.35-2.52-.98-.68.63-1.56.98-2.52.98-2.07 0-3.75-1.68-3.75-3.75s1.68-3.75 3.75-3.75c.96 0 1.84.35 2.52.98.68-.63 1.56-.98 2.52-.98 2.07 0 3.75 1.68 3.75 3.75s-1.68 3.75-3.75 3.75z'/%3E%3C/svg%3E");
}

.guru-author-page__social-icon--reddit::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-2.597a1.932 1.932 0 0 0-2.651-.022l-2.65 2.65a1.25 1.25 0 1 1-1.768-1.768l2.65-2.65a4.384 4.384 0 0 1 6.014.022l2.597 2.596a1.246 1.246 0 0 1 1.168-.004zm-10.2 7.38c.628 0 1.138.51 1.138 1.138a1.137 1.137 0 1 1-1.138-1.138zm5.014 4.242c-.844 0-1.55-.546-1.812-1.302h-.016a3.076 3.076 0 1 1-2.988-3.96c.69 0 1.32.23 1.832.614a3.9 3.9 0 0 1 2.988-1.404c2.132 0 3.86 1.729 3.86 3.86 0 2.132-1.728 3.86-3.86 3.86z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-2.597a1.932 1.932 0 0 0-2.651-.022l-2.65 2.65a1.25 1.25 0 1 1-1.768-1.768l2.65-2.65a4.384 4.384 0 0 1 6.014.022l2.597 2.596a1.246 1.246 0 0 1 1.168-.004zm-10.2 7.38c.628 0 1.138.51 1.138 1.138a1.137 1.137 0 1 1-1.138-1.138zm5.014 4.242c-.844 0-1.55-.546-1.812-1.302h-.016a3.076 3.076 0 1 1-2.988-3.96c.69 0 1.32.23 1.832.614a3.9 3.9 0 0 1 2.988-1.404c2.132 0 3.86 1.729 3.86 3.86 0 2.132-1.728 3.86-3.86 3.86z'/%3E%3C/svg%3E");
}

.guru-author-page__section-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0.5rem 0 1rem;
}

.guru-author-page__more-info {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.guru-author-page__key-notes-list {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
  list-style: disc outside;
  list-style-position: outside;
}

.guru-author-page__key-notes-list li {
  margin: 0.5rem 0;
  padding-left: 0.25rem;
}

.guru-author-page__rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

.guru-author-page__block-title {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: left;
  margin: 0 0 1.25rem;
}

/* Posts row */
.guru-author-posts-row__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.guru-author-posts-row__item {
  flex: 0 0 auto;
  display: flex;
  scroll-snap-align: center;
  width: 75%;
  max-width: 292px;
}

.guru-author-posts-row__item > .guru-author-card {
  flex: 1 1 auto;
  min-height: 100%;
}

.guru-author-posts-row__footer {
  width: 100%;
  margin-top: 1rem;
  padding-top: 0.25rem;
  text-align: right;
}

/* Override .guru-author-card__more-link { margin: auto } which comes later in this file. */
.guru-author-posts-row__footer .guru-author-card__more-link {
  margin: 0;
}

@media (min-width: 640px) {
  .guru-author-posts-row__item {
    width: auto;
  }
}

/* Cards — fixed dark-on-white; not affected by --guru-author-page-font on the wrapper. */
.guru-author-card {
  height: 100%;
  width: 100%;
  background: #fff;
  padding: 0.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #171717;
}

.guru-author-card__image-link {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  height: 10rem;
  position: relative;
}

.guru-author-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guru-author-card__image--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
}

.guru-author-card__body {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.75rem 0.75rem;
  min-height: 8rem;
}

.guru-author-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.guru-author-card__title-link {
  text-decoration: none;
  color: inherit;
}

.guru-author-card__title-link:hover {
  text-decoration: underline;
}

.guru-author-card__excerpt {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-muted);
}

.guru-author-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.guru-author-card__tag {
  display: inline-block;
  background: var(--color-tag-bg);
  font-size: 0.75rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

/* “Show more” — secondary button style (used in posts row footer + legacy) */
.guru-author-card__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 2.5rem;
  margin: auto;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: #171717;
  border: 1px solid #171717;
  border-radius: 1rem;
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.guru-author-card__more-link:hover {
  background: #e5e5e5;
  text-decoration: none;
}

.guru-author-posts-row__footer .guru-author-card__more-link {
  color: var(--guru-author-page-font, #171717);
  border-color: var(--guru-author-page-font, #171717);
}

.guru-author-posts-row__footer .guru-author-card__more-link:hover {
  color: var(--guru-author-page-font, #171717);
  border-color: var(--guru-author-page-font, #171717);
  background: rgba(0, 0, 0, 0.06);
}

.guru-author-card__more-text {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Archive list */
.guru-author-archive-header__title {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 1rem;
}

.guru-author-archive-header__bio {
  margin-top: 1rem;
  line-height: 1.6;
}

.guru-author-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .guru-author-archive-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .guru-author-archive-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guru-author-archive-list__item .guru-author-card {
  max-width: none;
}

.guru-author-page__empty {
  text-align: center;
  padding: 2rem 0;
}

.guru-author-pagination {
  margin-top: 2rem;
}

.guru-author-pagination .page-numbers {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.guru-author-pagination a,
.guru-author-pagination span {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  text-decoration: none;
}

.guru-author-pagination .current {
  font-weight: 600;
  background: #f5f5f5;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
