/* =========================================================
   PN — Page auteur individuelle
   ========================================================= */

.author header.page-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
}

.author header.page-header .author-avatar {
  flex: none !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 auto !important;
}

.author header.page-header .author-avatar img {
  display: block;
  margin: 0 auto !important;
}

.author .blog-layout-4,
.author .blog-layout-4 .ast-article-inner,
.author .blog-layout-4 .post-thumb,
.author .blog-layout-4 .post-thumb-img-content,
.author .blog-layout-4 .post-thumb-img-content.post-thumb,
.author .blog-layout-4 .post-thumb img,
.author .blog-layout-4 .post-thumb-img-content img {
  border-radius: 0 !important;
}

.author .post-thumb-img-content.post-thumb {
  height: 300px;
  overflow: hidden;
}

.author .post-thumb-img-content.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author .post-thumb-img-content.post-thumb a,
.author .post-thumb-img-content.post-thumb picture {
  width: 100%;
  height: 100%;
  display: block;
}

.author .author-articles-header h2 {
  color: #759739;
  margin: 0;
  font-weight: bold;
}

.author .author-meta {
  font-size: 1.1rem;
  line-height: 1.6;
}

.author .author-meta .page-title {
  font-size: 2.2rem;
}

.author .author-meta .author-description {
  font-size: 1.1rem;
}

@media (min-width: 1025px) {
  .author .author-articles-header {
    margin: 0 0 -70px !important;
  }

  .author .author-articles-header hr {
    margin: 0 0 2px !important;
    border: none;
    border-top: 1px solid #ddd;
  }

  .author .ast-row {
    margin-top: 0 !important;
    row-gap: 0 !important;
  }

  .author .ast-row > article:first-of-type {
    margin-top: 2px !important;
    padding-top: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .author .post-thumb-img-content.post-thumb {
    height: 240px;
  }

  .author .author-articles-header {
    margin: 0 0 10px !important;
  }

  .author .author-articles-header hr {
    margin: 0 0 8px !important;
    border: none;
    border-top: 1px solid #ddd;
  }

  .author .ast-row > article:first-of-type {
    margin-top: 10px !important;
  }
}

@media (max-width: 767px) {
  .author .post-thumb-img-content.post-thumb {
    height: 190px;
  }

  .author .author-articles-header {
    margin: 0 0 -15px !important;
  }

  .author .author-articles-header hr {
    margin: 0 0 12px !important;
    border: none;
    border-top: 1px solid #ddd;
  }

  .author .ast-row > article:first-of-type {
    margin-top: 15px !important;
  }
}

/* =========================================================
   PN — Page liste des auteurs
   ========================================================= */

.page-id-10452 .authors-sort {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.page-id-10452 .authors-sort label {
  margin: 0;
  font-weight: 600;
  color: #333;
}

.page-id-10452 .authors-sort select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  background: #fff;
  color: #333;
  cursor: pointer;
  width: auto !important;
  min-width: 160px;
  max-width: 220px;
  display: inline-block;
}

.page-id-10452 .authors-count,
.page-id-10452 .posts-count {
  color: #759739;
}

.page-id-10452 .posts-count {
  text-decoration: none;
}

.page-id-10452 .posts-count:hover {
  text-decoration: underline;
}

.page-id-10452 .authors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  align-items: stretch;
}

.page-id-10452 .author-box {
  width: 220px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px 15px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-id-10452 .author-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-id-10452 .author-main-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-id-10452 .author-avatar {
  margin-bottom: 15px;
}

.page-id-10452 .pn-author-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  background: #f0f0f0;
}

.page-id-10452 .author-box h3 {
  margin: 10px 0 5px;
  font-size: 1.1rem;
  color: #759739;
  font-weight: 600;
  line-height: 1.3;
}

.page-id-10452 .author-count {
  font-size: 0.85rem;
  color: #999;
  margin: 4px 0 8px;
  font-weight: 500;
}

.page-id-10452 .author-bio {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-id-10452 .author-recent-posts {
  margin-top: auto;
  padding: 12px 14px;
  background: #f6f6f6;
  border-radius: 8px;
  border: 1px solid #eee;
  text-align: left;
}

.page-id-10452 .author-recent-title {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #759739;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-id-10452 .author-recent-posts ul {
  margin: 0;
  padding-left: 18px;
}

.page-id-10452 .author-recent-posts li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.page-id-10452 .author-recent-posts li:last-child {
  margin-bottom: 0;
}

.page-id-10452 .author-recent-posts a {
  color: #333;
  text-decoration: none;
  font-size: 0.92rem;
}

.page-id-10452 .author-recent-posts a:hover {
  color: #759739;
  text-decoration: underline;
}

@media (min-width: 1025px) {
  .page-id-10452 .page-header {
    text-align: center;
    margin: -40px 0 50px;
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .page-id-10452 .page-header {
    text-align: center;
    margin: 0 0 40px;
    padding: 0 20px;
  }

  .page-id-10452 .author-box {
    width: 200px;
  }
}

.page-id-10452 .page-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.page-id-10452 .page-header p {
  font-size: 1.05rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-id-10452 .authors-sort {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 24px;
  }

  .page-id-10452 .authors-sort select {
    width: 100% !important;
    max-width: 280px;
  }

  .page-id-10452 .authors-list {
    gap: 20px;
  }

  .page-id-10452 .author-box {
    width: 45%;
    padding: 18px 12px;
  }

  .page-id-10452 .pn-author-photo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .page-id-10452 .author-box {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .page-id-10452 .page-header h1 {
    font-size: 1.6rem;
  }

  .page-id-10452 .page-header p {
    font-size: 0.95rem;
  }
}