/* 
Theme Name: Theme enfant
Description: Theme enfant de Salient
Author: Stécy
Template: salient
Version: 0.1.0
*/

/* ========== Styles classiques pour les commentaires ========== */
.classic-comments-section {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comments-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.comment {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: bold;
    color: #333;
}

.comment-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.comment-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.comment-respond {
    margin-top: 30px;
}

.comment-reply-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.comment-form textarea {
    height: 120px;
}

.comment-form input[type="submit"] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.comment-form input[type="submit"]:hover {
    background: #4338ca;
}

.comment-form-cookies-consent {
    margin-bottom: 15px;
    font-size: 13px;
}

.comment-form-cookies-consent input {
    margin-right: 5px;
}

.comment-reply-link {
    font-size: 13px;
    color: #4f46e5;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

.children {
    list-style: none;
    padding-left: 30px;
    margin-top: 15px;
    border-left: 2px solid #eee;
}

/* ========== Styles globaux ========== */
.testimonial-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2c3e50;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.testimonial-header h1 {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
  font-size: 2.25rem;
  letter-spacing: -0.5px;
}

.testimonial-header p {
  color: #7f8c8d;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

/* ========== Carte témoignage ========== */
.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
}

/* ========== Player audio ========== */
.audio-player-container {
  margin: 2rem 0;
  background: #f8fafc;
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.03);
}

.audio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.play-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(52,152,219,0.2);
}

.play-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(52,152,219,0.3);
}

.audio-title {
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.audio-title svg {
  color: #3498db;
}

/* ========== Styles pour l'excerpt ========== */
.testimonial-excerpt {
  max-width: 600px;
  margin: 1.5rem auto;
}

.testimonial-excerpt-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-excerpt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.testimonial-excerpt-card h3 {
  font-weight: 700;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: -0.25px;
}

.excerpt-audio-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: #3498db;
  font-weight: 500;
}

.excerpt-play-icon {
  color: #3498db;
  transition: transform 0.2s ease;
}

.testimonial-excerpt-card:hover .excerpt-play-icon {
  transform: scale(1.1);
}

.testimonial-excerpt-card p {
  color: #565869;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========== Pied de page ========== */
.testimonial-footer {
  text-align: center;
  color: #95a5a6;
  font-size: 0.875rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ========== Animations subtiles ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-container {
  animation: fadeIn 0.4s ease-out forwards;
}

/* ========== Responsive Design ========== */
@media only screen and (max-width: 768px) {
  .testimonial-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .testimonial-header h1 {
    font-size: 1.75rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* ========== Override du footer ========== */
@media only screen and (min-width: 1000px) {
  #footer-outer .row {
    padding: 20px 0 !important;
  }
}

.testimonial-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2c3e50;
}

.testimonial-header h1 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.testimonial-date {
  color: #7f8c8d;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: block;
}

.listen-text {
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.checkbox-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.checkbox-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.checkbox-list li:before {
  content: "- [ ]";
  position: absolute;
  left: 0;
  color: #7f8c8d;
}

.author-name {
  margin-top: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.divider {
  height: 1px;
  background-color: rgba(0,0,0,0.1);
  margin: 1.5rem 0;
}

/* ========== Structure ========== */
.modern-article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.modern-article {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}

/* En-tête */
.modern-article-header {
  position: relative;
  margin-bottom: 40px;
}

.featured-image-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-image-wrapper:hover img {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}

.header-content {
  padding: 40px;
  position: relative;
  z-index: 2;
}

.meta-categories {
  margin-bottom: 20px;
}

.meta-categories a {
  display: inline-block;
  background: #4f46e5;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.entry-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #1a202c;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #64748b;
  font-size: 14px;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-author img {
  border-radius: 50%;
}

/* Contenu */
.modern-article-content {
  padding: 0 40px 40px;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #334155;
}

/* Section audio */
.modern-audio-section {
  margin: 60px 0;
  padding: 30px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.audio-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.audio-header svg {
  color: #4f46e5;
}

.audio-header h2 {
  font-size: 24px;
  margin: 0;
  color: #1e293b;
}

.wp-audio-shortcode {
  width: 100%;
}

/* Tags */
.article-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.tags-label {
  font-weight: 600;
  margin-right: 10px;
  color: #475569;
}

.article-tags a {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 20px;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.article-tags a:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Bio auteur */
.modern-author-bio {
  display: flex;
  gap: 30px;
  padding: 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.author-avatar img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 20px;
  margin: 0 0 10px;
  color: #1e293b;
}

.author-description {
  margin: 0 0 15px;
  color: #475569;
  line-height: 1.6;
}

.author-link {
  display: inline-block;
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.author-link:hover {
  color: #4338ca;
}

/* Navigation entre articles */
.modern-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 40px 40px;
}

.nav-previous, .nav-next {
  padding: 20px;
  border-radius: 8px;
  background: #f8fafc;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-previous:hover, .nav-next:hover {
  background: #f1f5f9;
}

.nav-direction {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 8px;
}

.nav-previous h4, .nav-next h4 {
  font-size: 18px;
  margin: 0;
  color: #1e293b;
}

/* Section commentaires */
.modern-comments-section {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.comments-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #1e293b;
  position: relative;
  padding-bottom: 15px;
}

.comments-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #4f46e5;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.comment {
  padding: 25px 0;
  border-bottom: 1px solid #e2e8f0;
}

.comment-body {
  display: flex;
  gap: 20px;
}

.comment-author-avatar img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.comment-content {
  flex: 1;
}

.comment-meta {
  margin-bottom: 10px;
}

.comment-author {
  font-weight: 600;
  color: #1e293b;
  font-size: 16px;
}

.comment-metadata {
  font-size: 13px;
  color: #64748b;
  margin-left: 10px;
}

.comment-text {
  color: #475569;
  line-height: 1.7;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #4f46e5;
  font-weight: 500;
}

.comment-respond {
  margin-top: 40px;
}

.comment-reply-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.comment-form {
  display: grid;
  gap: 20px;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  min-height: 150px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: #4f46e5;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #475569;
}

.form-submit input {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit input:hover {
  background: #4338ca;
}

/* Responsive */
@media (max-width: 768px) {
  .modern-article-container {
      padding: 0 15px 40px;
  }
  
  .featured-image-wrapper {
      height: 350px;
  }
  
  .header-content,
  .modern-article-content {
      padding: 30px;
  }
  
  .entry-title {
      font-size: 32px;
  }
  
  .modern-author-bio {
      flex-direction: column;
      text-align: center;
  }
  
  .author-avatar {
      margin-bottom: 20px;
  }
  
  .modern-post-navigation {
      grid-template-columns: 1fr;
      padding: 0 30px 30px;
  }
  
  .modern-comments-section {
      padding: 30px;
  }
}

@media (max-width: 480px) {
  .featured-image-wrapper {
      height: 250px;
  }
  
  .header-content,
  .modern-article-content {
      padding: 20px;
  }
  
  .entry-title {
      font-size: 28px;
  }
  
  .article-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
  
  .modern-audio-section {
      padding: 20px;
  }

/* Style pour le titre cliquable */
.testimonial-title-link {
  text-decoration: none;
  display: block;
  margin: 20px 0;
}

.testimonial-title-link h1 {
  font-size: 28px;
  color: #2b6cb0;
  padding: 15px;
  background-color: #f7fafc;
  border-radius: 8px;
  border-left: 4px solid #4299e1;
  transition: all 0.3s ease;
  text-align: center;
}

.testimonial-title-link h1:hover {
  color: #1a4b8c;
  background-color: #ebf8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-intro-message {
    margin: 20px 0 25px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 3px solid #2c3e50;
    font-style: italic;
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    border-radius: 0 4px 4px 0;
}

.audio-separator-line {
    height: 1px;
    background: #eee;
    margin: 30px 0;
    width: 100%;
}
}

.wp-block-latest-posts__post-title {
    display: none !important;
}

