/* =============================================================================
   AUTHOR PROFILE - Profile Center Layout
   ============================================================================= */

.author-page-modern.main {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 0 2.2rem;
}

.author-page-modern .main__wrapper {
  padding-top: 0.9rem;
}

body.author :is(
  .main-navigation,
  .top-header,
  .header,
  .header-background,
  .smart-search
) {
  display: none !important;
}

body.author .author-page-modern .fp-nav--author {
  position: sticky;
  top: 0;
  z-index: 60;
  margin-bottom: 1rem;
}

body.admin-bar.author .author-page-modern .fp-nav--author {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar.author .author-page-modern .fp-nav--author {
    top: 46px;
  }
}

.pc-center--author {
  max-width: 1120px;
  margin: 0 auto;
}

.pc-hero--author {
  min-height: 240px;
}

.pc-tabs--author .pc-tabs__item {
  text-decoration: none;
}

.pc-tabs--author .pc-tabs__item:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: -2px;
}

.pc-author-follow {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-weight: 600;
}

.pc-author-follow svg {
  width: 1rem;
  height: 1rem;
}

.pc-panels--author {
  border-radius: 0 0 20px 20px;
}

.pc-author-bio {
  margin: 1rem 0 0;
  color: var(--pc-muted, #64748b);
  font-size: 1rem;
  line-height: 1.65;
}

.pc-author-content {
  margin-top: 1rem;
}

.pc-author-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.9rem;
}

.pc-author-order {
  border: 1px solid #d9e2f0;
  border-radius: 999px;
  background: #f8fbff;
  color: #1e3a8a;
  min-height: 2.25rem;
  padding: 0.2rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 600;
}

.pc-author-order svg {
  width: 1rem;
  height: 1rem;
}

.pc-author-order:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.pc-author-list .card-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pc-author-list .card-list > li {
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.pc-author-list .pagination {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0;
}

@media (max-width: 900px) {
  .pc-author-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .pc-hero--author {
    min-height: 210px;
  }

  .pc-author-follow {
    margin-top: 0.75rem;
  }
}
