.adp-author-page,
.adp-author-page * {
  box-sizing: border-box;
}

.adp-author-page {
  width: 100%;
  background: #ffffff;
  color: #111827;
}

.adp-container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.adp-author-hero {
  padding: 56px 0 34px;
  background: linear-gradient(135deg, #fff8ed 0%, #ffffff 55%, #f9fafb 100%);
}

.adp-author-profile-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: #ffffff;
  border: 1px solid #f0e3cf;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  position: relative;
  overflow: hidden;
}

.adp-author-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #edb661;
}

.adp-author-avatar-wrap {
  width: 140px;
  min-width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #edb661;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  background: #f3f4f6;
}

.adp-author-avatar-wrap img,
.adp-author-avatar {
  width: 140px !important;
  height: 140px !important;
  min-width: 140px !important;
  min-height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.adp-author-profile-content {
  flex: 1;
  min-width: 0;
}

.adp-small-label {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: #edb661;
}

.adp-author-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 850;
  color: #111827;
}

.adp-author-designation {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
  color: #b87718;
}

.adp-designation-description {
  margin: 0 0 16px;
  padding: 13px 16px;
  border-left: 4px solid #edb661;
  border-radius: 12px;
  background: #fff8ed;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.adp-author-bio {
  margin: 0 0 18px;
  color: #374151;
  font-size: 16px;
  line-height: 1.75;
}

.adp-author-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.adp-author-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.adp-author-socials a:hover,
.adp-author-socials a:focus {
  background: #edb661;
  border-color: #edb661;
  color: #ffffff;
  transform: translateY(-1px);
}

.adp-author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adp-author-stats span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.adp-author-posts-section {
  padding: 48px 0 70px;
  background: #ffffff;
}

.adp-section-heading {
  margin-bottom: 24px;
}

.adp-section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 850;
}

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

.adp-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
  transition: all 0.25s ease;
}

.adp-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  border-color: #edb661;
}

.adp-post-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
  text-decoration: none !important;
}

.adp-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.adp-post-card:hover .adp-post-image img {
  transform: scale(1.04);
}

.adp-post-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #edb661, #111827);
  color: #ffffff;
}

.adp-post-image-placeholder span {
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.adp-post-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.adp-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: #b87718;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.adp-post-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
  color: #111827;
}

.adp-post-title a {
  color: inherit;
  text-decoration: none !important;
}

.adp-post-title a:hover,
.adp-post-title a:focus {
  color: #b87718;
}

.adp-post-excerpt {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.adp-read-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #edb661;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.adp-read-more:hover,
.adp-read-more:focus {
  background: #111827;
  color: #ffffff !important;
}

.adp-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.adp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.adp-pagination .page-numbers.current,
.adp-pagination .page-numbers:hover,
.adp-pagination .page-numbers:focus {
  background: #edb661;
  border-color: #edb661;
  color: #ffffff;
}

.adp-empty-state {
  padding: 42px 24px;
  border: 1px dashed #d1d5db;
  border-radius: 22px;
  text-align: center;
  background: #f9fafb;
}

.adp-empty-state h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 28px;
}

.adp-empty-state p {
  margin: 0;
  color: #4b5563;
}

@media (max-width: 1024px) {
  .adp-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .adp-author-hero {
    padding: 34px 0 24px;
  }

  .adp-author-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    gap: 18px;
  }

  .adp-author-socials,
  .adp-author-stats {
    justify-content: center;
  }

  .adp-designation-description {
    text-align: left;
  }

  .adp-post-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .adp-author-posts-section {
    padding: 36px 0 54px;
  }
}

@media (max-width: 480px) {
  .adp-container {
    width: min(100% - 24px, 1140px);
  }

  .adp-author-avatar-wrap,
  .adp-author-avatar-wrap img,
  .adp-author-avatar {
    width: 116px !important;
    height: 116px !important;
    min-width: 116px !important;
    min-height: 116px !important;
    max-width: 116px !important;
    max-height: 116px !important;
  }

  .adp-author-avatar-wrap {
    border-width: 4px;
  }

  .adp-post-card-content {
    padding: 19px;
  }
}
