/* ==========================================================
   Author page
   Brand colors yahin se badlein (sirf variables)
   ========================================================== */
.vwt-author {
  --vwt-accent: #5b3fc4;
  --vwt-ink: #2b2b2b;
  --vwt-muted: #666d7a;
  --vwt-tint: #f6f7fb;
  --vwt-line: #e3e6ee;
  color: var(--vwt-ink);
}
.vwt-author *,
.vwt-author *::before,
.vwt-author *::after {
  box-sizing: border-box;
}

.vwt-author__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.vwt-author a:focus-visible {
  outline: 3px solid var(--vwt-accent);
  outline-offset: 2px;
}

/* ---------- Top: breadcrumb, name, bio ---------- */
.vwt-author__top {
  background: var(--vwt-tint);
  padding: 20px 0 48px;
}

.vwt-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--vwt-muted);
}
.vwt-crumbs a {
  color: var(--vwt-accent);
  text-decoration: none;
}
.vwt-crumbs a:hover {
  text-decoration: underline;
}

.vwt-author__name {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
}
.vwt-author__role {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--vwt-muted);
}

.vwt-author__card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
}

.vwt-author__photo-box {
  position: relative;
  flex: none;
  width: 120px;
  height: 120px;
}
.vwt-author__photo-box .vwt-author__photo {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.vwt-author__in {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #0a66c2;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.vwt-author__in:hover {
  background: #084d92;
  color: #fff;
}

.vwt-author__bio {
  flex: 1;
  font-size: 16px;
  line-height: 1.75;
}
.vwt-author__bio p {
  margin: 0 0 12px;
}
.vwt-author__bio p:last-child {
  margin-bottom: 0;
}

/* ---------- Posts grid ---------- */
.vwt-author__posts {
  padding: 48px 0 64px;
}
.vwt-author__heading {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 700;
}
.vwt-author__empty {
  color: var(--vwt-muted);
}

.vwt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* Specificity jaan-boojhkar high: Astra ki article padding/border card par na aaye */
.vwt-author .vwt-author-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30, 40, 80, 0.1);
}

.vwt-author-card__img {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--vwt-tint);
  overflow: hidden;
}
.vwt-author-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vwt-author-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}

.vwt-author-card__tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--vwt-tint);
  color: #444;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.vwt-author-card__title {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.4;
}
.vwt-author-card__title a {
  color: var(--vwt-ink);
  text-decoration: none;
}
.vwt-author-card__title a:hover {
  color: var(--vwt-accent);
}

.vwt-author-card__excerpt {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--vwt-muted);
}
.vwt-author-card__meta {
  display: flex;
  gap: 16px;
  margin: auto 0 0;
  font-size: 13px;
  color: var(--vwt-muted);
}

/* ---------- Pagination ---------- */
.vwt-author .navigation.pagination {
  margin-top: 40px;
}
.vwt-author .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.vwt-author .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--vwt-line);
  border-radius: 6px;
  color: var(--vwt-ink);
  font-size: 15px;
  text-decoration: none;
}
.vwt-author a.page-numbers:hover {
  border-color: var(--vwt-accent);
  color: var(--vwt-accent);
}
.vwt-author .page-numbers.current {
  background: var(--vwt-accent);
  border-color: var(--vwt-accent);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .vwt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .vwt-author__wrap {
    padding: 0 16px;
  }
  .vwt-author__name {
    font-size: 28px;
  }
  .vwt-author__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .vwt-grid {
    grid-template-columns: 1fr;
  }
}