/*
Theme Name: TPKR2
Description: Template simple en PHP sans variables WordPress récentes
Version: 1.0
*/

/* Variables CSS */
:root {
  --color-brand: #6A40BF;
  --color-brand-hover: #59329f;
  --color-brand-secondary: #FF8A3D;
  --color-gray-200: #E5E7EB;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-white: #FFFFFF;
  --container-max-width: 1280px;
  --topbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 0;
    background-color: #fff;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Topbar */
.topbar {
  width: 100%;
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 0;
  background: var(--color-white);
  z-index: 30;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.topbar-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* Logo */
.topbar-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-gray-800);
}

/* Navigation desktop */
.desktop-nav {
  display: none;
  gap: 2rem;
  justify-content: center;
  z-index: 30;
  align-items: center;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

/* Style menu header comme talentpicker.io : neutre, sans violet ni gras */
.nav-link {
  font-weight: 400;
  color: var(--color-gray-700);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9375rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gray-800);
  font-weight: 400;
}

/* Menu déroulant */
.nav-dropdown-wrapper {
  position: relative;
}

/* Pont invisible entre le lien et le panneau (évite la fermeture en passant la souris). */
.nav-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 380px;
  z-index: 0;
  pointer-events: auto;
}

.nav-dropdown-wrapper:has(.nav-dropdown--expertises)::after {
  width: 520px;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.2s;
  margin-left: 0.25rem;
}

.nav-dropdown-wrapper.active .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  margin-top: 2px;
  background: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
  z-index: 50;
  padding: 0.75rem 0;
  pointer-events: none;
}

/* Ouverture uniquement via .active (JS au survol du lien), pas au :hover du wrapper */
.nav-dropdown-wrapper.active .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-content {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: var(--color-gray-800);
  transition: background-color 0.2s;
  gap: 0.25rem;
}

.nav-dropdown-link:hover {
  background-color: #F9FAFB;
}

.nav-dropdown-link.active {
  background-color: #F3F4F6;
}

.nav-dropdown-link.active .nav-dropdown-title {
  color: var(--color-brand);
  font-weight: 600;
}

.nav-dropdown-title {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-gray-800);
}

.nav-dropdown-description {
  font-size: 0.8125rem;
  color: var(--color-gray-700);
  line-height: 1.4;
}

/* Mega dropdown Expertises */
.nav-dropdown--expertises {
  min-width: 520px;
  max-width: 600px;
  padding: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.nav-dropdown-wrapper.active .nav-dropdown--expertises {
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-expertises-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nav-dropdown-expertises-main {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  border-right: 1px solid var(--color-gray-200);
}

.nav-dropdown-expertises-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  color: var(--color-gray-800);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: background-color 0.2s;
}

.nav-dropdown-expertises-item:hover {
  background-color: #F9FAFB;
}

.nav-dropdown-expertises-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(106, 64, 191, 0.12);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dropdown-expertises-icon svg {
  width: 20px;
  height: 20px;
}

.nav-dropdown-expertises-label {
  color: var(--color-gray-800);
}

.nav-dropdown-expertises-side {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  gap: 1.25rem;
}

.nav-dropdown-group-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-700);
  margin: 0 0 0.5rem 0;
}

.nav-dropdown-group-link {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-800);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-dropdown-group-link:hover {
  color: var(--color-brand);
}

/* Boutons CTA desktop */
.desktop-cta {
  display: none;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .desktop-cta {
    display: flex;
  }
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}

.btn-primary:hover,
.btn-primary.active {
  background-color: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.btn-outline:hover,
.btn-outline.active {
  background-color: var(--color-brand);
  color: var(--color-white);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Bouton hamburger mobile */
.mobile-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: auto;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background-color: var(--color-gray-800);
  transition: all 0.3s;
}

/* Menu mobile overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 16, 34, 0.75);
  backdrop-filter: blur(4px);
  z-index: 50;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  background: var(--color-white);
  width: 100%;
  height: 100%;
  padding: 1rem;
  overflow-y: auto;
}

.mobile-menu-close {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-gray-800);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  color: var(--color-gray-800);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--color-brand);
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

/* Hero Section */
.hero-section {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 3rem 0;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDFB 50%, #FFFFFF 100%);
  background-size: 200% 200%;
  animation: gradientAnimation 18s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 6rem 0;
  }
}

/* Animation du dégradé */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-container {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .hero-content {
    justify-items: center;
    text-align: center;
  }
  .hero-visual {
    max-width: 100%;
    width: 100%;
    min-height: 0;
  }
  .hero-text.hero-text-featured {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-text {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    margin: 0;
    text-align: left;
  }
}

.hero-title {
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.2;
  color: #1F2937;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-title-gradient {
  background: linear-gradient(to right, #6A40BF 0%, #FF8A3D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: bold;
}

/* Hero single : titre sans marge basse excessive si pas de CTA */
.hero-section-single .hero-title {
  margin-bottom: 0.75rem;
}

.hero-section-single .hero-meta-single {
  margin-bottom: 0;
}

.hero-description {
  font-size: 1.125rem;
  color: #4B5563;
  max-width: 42rem;
  line-height: 1.8;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 639px) {
  .hero-cta .btn {
    width: 100%;
  }
}

/* Hero Visual - format paysage */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  max-height: 420px;
}

@media (min-width: 768px) {
  .hero-visual {
    min-height: 280px;
    max-height: 380px;
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    min-height: 320px;
    max-height: 400px;
  }
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder-inner {
  color: #9CA3AF;
  font-size: 1rem;
  padding: 1rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.hero-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-title-link:hover {
  color: var(--color-brand);
}

.hero-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Glow flottant animé */
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 80%;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(106, 64, 191, 0.45), rgba(255, 138, 61, 0.45));
  filter: blur(120px);
  animation: floatingGlow 16s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes floatingGlow {
  0% {
    transform: translate(-10%, -10%) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(5%, 5%) scale(1.2);
    opacity: 0.85;
  }
  100% {
    transform: translate(-10%, -10%) scale(1);
    opacity: 0.55;
  }
}

/* Hero avec dégradé coloré */
.hero-colored {
  background: linear-gradient(135deg, #6A40BF 0%, #7B4FCF 30%, #FF8A3D 70%, #FF9A4D 100%);
}

.hero-text-centered {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.hero-title-white {
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .hero-title-white {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-white {
    font-size: 3rem;
  }
}

.hero-description-white {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  line-height: 1.8;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .hero-description-white {
    font-size: 1.25rem;
  }
}

.hero-cta-centered {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

/* Hero single (article) : meta = date, auteur, temps de lecture */
.hero-meta,
.hero-meta-single {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.hero-meta-sep {
  margin: 0 0.5rem;
  color: var(--color-gray-700);
}

.hero-reading-time {
  display: inline;
}

.hero-reading-time .rt-reading-time,
.hero-reading-time .rt-label {
  color: inherit;
}

/* Auteur cliquable + photo en cercle */
.hero-author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-gray-700);
  transition: color 0.2s;
}

.hero-author:hover {
  color: var(--color-brand);
}

.hero-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero-author-name {
  font-weight: 500;
}

/* Fil d'Ariane */
.breadcrumb-wrap {
  background: #F9FAFB;
  border-bottom: 1px solid var(--color-gray-200);
  padding: 0.75rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-gray-700);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin: 0 0.5rem;
  color: var(--color-gray-700);
}

.breadcrumb-item a {
  color: var(--color-brand);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item-current {
  color: var(--color-gray-800);
  font-weight: 500;
}

/* Layout single webinaire : contenu à gauche, aside sticky à droite */
.webinar-single-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .webinar-single-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.webinar-single-main {
  min-width: 0;
}

/* Intervenants sous le texte (style type auteur blog) */
.webinar-speakers {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-200);
}

.webinar-speakers-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin: 0 0 0.75rem;
}

.webinar-speakers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.webinar-speaker {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-gray-800);
  max-width: 160px;
}

.webinar-speaker:hover {
  color: var(--color-brand);
}

.webinar-speaker:hover .webinar-speaker-name {
  color: var(--color-brand);
}

.webinar-speaker-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.webinar-speaker-name {
  font-weight: 500;
  font-size: 0.9375rem;
}

.webinar-speaker-meta {
  font-size: 0.8125rem;
  color: var(--color-gray-700);
  line-height: 1.35;
}

/* Bloc détails webinaire (single-webinar) */
.webinar-details {
  margin: 0 auto 2rem;
  max-width: 980px;
  padding: 1.25rem 1.5rem;
  background: #F9FAFB;
  border-radius: 0.5rem;
  border: 1px solid var(--color-gray-200);
}

/* Aside sticky à droite sur single webinaire */
.webinar-details-sidebar {
  margin: 0;
  margin-top: 1.5rem;
  max-width: none;
}

@media (min-width: 992px) {
  .webinar-details-sidebar {
    margin-top: 2rem;
    position: sticky;
    top: calc(var(--topbar-height, 80px) + 1.5rem);
  }
}

.webinar-details-item {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.webinar-details-item:last-of-type {
  margin-bottom: 0;
}


.webinar-details-label {
  display: inline-block;
  min-width: 7rem;
  color: var(--color-gray-700);
  font-weight: 500;
}

.webinar-details-value {
  color: var(--color-gray-800);
}

.webinar-details-value a {
  color: var(--color-brand);
  text-decoration: none;
}

.webinar-details-value a:hover {
  text-decoration: underline;
}

.webinar-details-cta {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
}

.webinar-details-cta .btn {
  margin: 0;
}

.webinar-details-share {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.webinar-details-share-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

.webinar-details-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.webinar-details-share .post-share-btn {
  width: 36px;
  height: 36px;
}

.webinar-details-share .post-share-btn svg {
  width: 18px;
  height: 18px;
}

.single-article {
  padding: 2rem 0;
}

/* Partager l'article (single) */
.post-share {
  margin: 2rem auto 0;
  max-width: 980px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.post-share-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

.post-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-gray-700);
  background: #F3F4F6;
  transition: color 0.2s, background-color 0.2s;
}

.post-share-btn:hover {
  color: var(--color-white);
  background: var(--color-brand);
}

.post-share-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.post-share-linkedin:hover { background: #0A66C2; color: var(--color-white); }
.post-share-x:hover { background: #000; color: var(--color-white); }
.post-share-facebook:hover { background: #1877F2; color: var(--color-white); }
.post-share-email:hover { background: var(--color-gray-700); color: var(--color-white); }

/* Corps de texte article : max 980px sur desktop */
.single-content {
  margin: 0 auto;
  max-width: 980px;
}

/* Lisibilité contenu article : aération, titres, listes, liens violet */
.single-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin: 2rem 0 1rem;
  padding-top: 0.5rem;
}

.single-content h2:first-child {
  margin-top: 0;
}

.single-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin: 1.75rem 0 0.75rem;
}

.single-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin: 1.5rem 0 0.5rem;
}

.single-content p {
  margin: 0 0 1.25rem;
  line-height: 1.75;
}

.single-content ul,
.single-content ol {
  margin: 0 0 1.25rem 1.5rem;
  padding-left: 1rem;
  line-height: 1.7;
}

.single-content ul {
  list-style-type: disc;
}

.single-content ol {
  list-style-type: decimal;
}

.single-content li {
  margin-bottom: 0.35rem;
}

.single-content a {
  color: var(--color-brand);
  text-decoration: none;
}

.single-content a:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

/* Boutons dans l'article : style hero TalentPicker */
.single-content .wp-block-button__link,
.single-content a.wp-block-button__link,
.single-content .btn-article {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  background-color: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}

.single-content .wp-block-button__link:hover,
.single-content a.wp-block-button__link:hover,
.single-content .btn-article:hover {
  background-color: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
  color: var(--color-white);
  text-decoration: none;
}

/* FAQ Yoast : accordéon style TalentPicker */
.single-content .schema-faq,
.single-content .wp-block-yoast-faq-block {
  margin: 2.5rem 0;
  padding-top: 1.5rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
}

.single-content .schema-faq-section,
.single-content .faq-accordion-item {
  border: none;
  border-bottom: 1px solid var(--color-gray-200);
  padding: 0;
}

.single-content .schema-faq-section:last-of-type,
.single-content .faq-accordion-item:last-of-type {
  border-bottom: none;
}

.single-content .schema-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-style: normal;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: background-color 0.2s;
}

.single-content .schema-faq-question:hover {
  background-color: #F9FAFB;
}

.single-content .schema-faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}

.single-content .schema-faq-section.is-open .schema-faq-question::after,
.single-content .faq-accordion-item.is-open .schema-faq-question::after {
  transform: rotate(180deg);
}

.single-content .schema-faq-answer {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray-700);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.single-content .schema-faq-answer .schema-faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
}

.single-content .schema-faq-section.is-open .schema-faq-answer,
.single-content .faq-accordion-item.is-open .schema-faq-answer {
  max-height: 800px;
}

.single-content .schema-faq-answer p {
  margin: 0 0 0.75rem;
  padding: 0 1.5rem;
}

.single-content .schema-faq-answer p:first-child {
  padding-top: 0.25rem;
}

.single-content .schema-faq-answer p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.single-content .schema-faq-answer > * {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.single-content .schema-faq-answer > *:first-child {
  padding-top: 0.5rem;
}

.single-content .schema-faq-answer > *:last-child {
  padding-bottom: 1.25rem;
}

/* Padding cohérent pour la réponse de l’accordéon FAQ */
.single-content .schema-faq-answer {
  padding-left: 0;
  padding-right: 0;
}

.single-content .schema-faq-section.is-open .schema-faq-answer,
.single-content .faq-accordion-item.is-open .schema-faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.single-content .schema-faq-answer > * {
  padding-left: 0;
  padding-right: 0;
}

.single-content .schema-faq-answer > *:first-child {
  padding-top: 1rem;
}

.single-content .schema-faq-answer > *:last-child {
  padding-bottom: 0;
}

/* Table des matières : style hover comme les liens <a> */
.single-content li.tbcn-panel-table-list-items a {
  color: var(--color-brand);
  text-decoration: none;
}

.single-content li.tbcn-panel-table-list-items:hover a,
.single-content li.tbcn-panel-table-list-items a:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

.single-navigation {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-gray-200);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.single-navigation .nav-prev a,
.single-navigation .nav-next a {
  text-decoration: none;
}

.single-navigation .nav-prev a:hover,
.single-navigation .nav-next a:hover {
  text-decoration: none;
  color: var(--color-brand);
  background-color: transparent;
  border-color: var(--color-brand);
}

.single-suggested {
  padding-top: 2rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--color-gray-200);
}

/* Archive catégorie : titre + cards */
.category-archive {
  padding: 2rem 1.5rem 4rem;
}

.webinar-archive-section {
  margin-bottom: 2.5rem;
}

.webinar-archive-section:last-child {
  margin-bottom: 0;
}

.webinar-archive-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gray-200);
}

.category-header {
  margin-bottom: 2rem;
}

.category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .category-title {
    font-size: 2.25rem;
  }
}

.category-description {
  font-size: 1rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Archive auteur : photo + nom */
.author-archive-header .author-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.author-archive-avatar-wrap {
  display: block;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
}

.author-archive-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.author-archive-header .author-header-text {
  flex: 1;
  min-width: 0;
}

.author-archive-header .category-title {
  margin-top: 0.25rem;
}

.author-no-posts {
  margin: 0 0 2rem;
  color: var(--color-gray-700);
}

/* Suggestion autres auteurs */
.authors-suggestion {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-200);
}

.authors-suggestion-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin: 0 0 1.25rem;
}

.authors-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.author-suggestion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: #F9FAFB;
  border-radius: 0.5rem;
  border: 1px solid var(--color-gray-200);
  text-decoration: none;
  color: var(--color-gray-800);
  transition: border-color 0.2s, background-color 0.2s;
}

.author-suggestion-card:hover {
  background: #F3F4F6;
  border-color: var(--color-brand);
}

.author-suggestion-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.author-suggestion-name {
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  margin-bottom: 0.25rem;
}

.author-suggestion-count {
  font-size: 0.8125rem;
  color: var(--color-gray-700);
}

/* Blog cards (home) */
.blog-cards-section {
  padding: 3rem 1.5rem 4rem;
}

.category-archive .blog-cards-section {
  padding: 0 0 2rem;
}

.blog-cards-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin: 0 0 1.5rem;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.blog-card {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F3F4F6;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #9CA3AF;
  padding: 1rem;
  text-align: center;
}

.blog-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.blog-card-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: #6B7280;
  margin-bottom: 0.5rem;
}

.blog-card-meta {
  display: inline;
}

.blog-card-meta-sep {
  color: #6B7280;
}

.blog-card-reading-time {
  display: inline;
}

.blog-card-reading-time .rt-reading-time {
  color: inherit;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.blog-card-more {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-brand);
}

.blog-cards-navigation {
  margin-top: 2rem;
}

.blog-cards-navigation a {
  color: var(--color-brand);
  text-decoration: none;
  font-weight: 500;
}

.blog-cards-navigation a:hover {
  text-decoration: underline;
}

.webinars-archive-link {
  margin-top: 2rem;
}

/* Articles */
article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

article:last-child {
    border-bottom: none;
}

article h1, article h2 {
    margin-bottom: 0.5rem;
}

article h2 a {
    color: #333;
    text-decoration: none;
}

article h2 a:hover {
    color: #666;
}

article .meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

article .content {
    margin-top: 1rem;
}

.navigation {
    margin-top: 2rem;
}

.navigation a {
    color: #333;
    text-decoration: none;
    margin-right: 1rem;
}

.navigation a:hover {
    text-decoration: underline;
}

/* Footer */
.seo-footer {
  background-color: #111827;
  color: #D1D5DB;
  margin-top: auto;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-title {
  font-size: 1rem;
  color: var(--color-white);
  font-weight: 600;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-link-disabled {
  font-size: 0.875rem;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom-menu {
  display: flex;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-separator {
  color: #9CA3AF;
  margin: 0 0.5rem;
}

.footer-legal a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--color-white);
}
