/*
Theme Name: Kappa
Template: kadence
Version: 1.0.0
Description: Thème pour le site de Kappa
Author: Bluecom - HERRLEIN Alexandre
*/

/* Couleur de texte par défaut pour tout le site */
body {
  color: #63605f;
}

/* Couleur par défaut pour tous les titres */
h1, h2, h3, h4, h5, h6 {
  color: #63605f;
}

/* Couleur par défaut pour les paragraphes */
p {
  color: #63605f !important;
}

.header-navigation .menu {
  background-color: #ae0019 !important;
  border-radius: 50px;
  height: auto !important;
}

.kb-bg-slide-caption {
  position: absolute;
  top: 80%;
  left: 25%;
  transform: translate(-50%, -50%);
  color: #fff;
  padding: 2em 3em;
  border-radius: 10px;
  text-align: center;
  z-index: 2;
  max-width: 80%;
}
.kb-bg-slide-caption h2 {
  font-size: 2.5em;
}
.kb-bg-slide-caption p {
  margin: 0;
  font-size: 1.3em;
}
.kb-bg-slide {
  position: relative;
}

/* Styles pour le slider de news - Design moderne Kappa */
.kappa-news-slider {
  position: relative;
  max-width: 1000px;
  margin: 30px auto 60px;
  padding: 0 50px;
  box-sizing: border-box;
  overflow: visible;
}

.news-slider-container {
  position: relative;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(30px);
  box-sizing: border-box;
}

.news-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.news-slide-card {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 18px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(174, 0, 25, 0.1);
  max-width: 100%;
  box-sizing: border-box;
}

.news-slide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(174, 0, 25, 0.12);
  border-color: rgba(174, 0, 25, 0.2);
}

.news-slide-image {
  position: relative;
  overflow: hidden;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-slide-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.news-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-slide-card:hover .news-slide-image img {
  transform: scale(1.05);
}

.news-slide-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-slide-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.news-date {
  color: #ae0019;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.news-category {
  background: linear-gradient(45deg, #ae0019, #d32f2f);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(174, 0, 25, 0.25);
}

.news-slide-title {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 700;
  color: #63605f;
  max-height: 3.9em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  word-break: break-word;
}

.news-slide-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.news-slide-title a:hover {
  color: #ae0019;
}

.news-slide-title a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #ae0019, #d32f2f);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-slide-title a:hover::after {
  width: 100%;
}

.news-slide-excerpt {
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
  margin-bottom: 12px;
  opacity: 0.9;
  max-height: 4.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ae0019;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.news-read-more:hover {
  color: #d32f2f;
  transform: translateX(5px);
}

.news-read-more svg {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}

.news-read-more:hover svg {
  transform: translateX(3px);
}

/* Navigation moderne pour le slider */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #ae0019;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 15;
  color: #ae0019;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  outline: none;
  padding: 0;
}

.slider-nav svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
  fill: none;
  stroke: currentColor;
}

.slider-nav:hover {
  background: #ae0019;
  color: white;
  transform: translateY(-50%) scale(1.15);
  border-color: #ae0019;
  box-shadow: 0 4px 15px rgba(174, 0, 25, 0.3);
}

.slider-nav:active {
  transform: translateY(-50%) scale(1.05);
}

.prev-slide {
  left: -20px;
}

.next-slide {
  right: -20px;
}

/* Indicateurs modernes */
.slider-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ae0019;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 0;
  outline: none;
}

.slider-dot:hover {
  background: rgba(174, 0, 25, 0.3);
  transform: scale(1.2);
}

.slider-dot.active {
  background: #ae0019;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(174, 0, 25, 0.2);
}

/* Responsive design moderne */
@media (max-width: 1024px) {
  .kappa-news-slider {
    max-width: 850px;
    padding: 0 45px;
  }

  .news-slide-card {
    gap: 16px;
  }

  .news-slide-content {
    padding: 16px 18px;
  }

  .news-slide-title {
    font-size: 1.2rem;
  }

  .prev-slide {
    left: -15px;
  }

  .next-slide {
    right: -15px;
  }

  .slider-nav {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 768px) {
  .kappa-news-slider {
    max-width: 95%;
    margin: 20px auto 50px;
    padding: 0 30px;
  }

  .news-slider-container {
    min-height: 220px;
    overflow: hidden;
  }

  .news-slide-card {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
  }

  .news-slide-image {
    height: 180px;
    width: 100%;
  }

  .news-slide-content {
    padding: 20px;
    max-width: 100%;
  }

  .news-slide-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .news-slide-excerpt {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
  }

  .slider-nav svg {
    width: 18px;
    height: 18px;
  }

  .prev-slide {
    left: 5px;
  }

  .next-slide {
    right: 5px;
  }

  .slider-dots {
    bottom: -35px;
    gap: 10px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .kappa-news-slider {
    max-width: 100%;
    padding: 0 25px;
    margin: 15px auto 45px;
  }

  .news-slide-card {
    max-width: 100%;
    overflow: hidden;
  }

  .news-slide-content {
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .news-slide-title {
    font-size: 1.05rem;
    word-wrap: break-word;
  }

  .news-slide-excerpt {
    font-size: 0.85rem;
    word-wrap: break-word;
  }

  .news-slide-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .slider-nav {
    width: 36px;
    height: 36px;
  }

  .slider-nav svg {
    width: 16px;
    height: 16px;
  }

  .prev-slide {
    left: 2px;
  }

  .next-slide {
    right: 2px;
  }

  .slider-dots {
    bottom: -32px;
    gap: 8px;
  }

  .slider-dot {
    width: 9px;
    height: 9px;
  }

  .news-read-more {
    font-size: 0.8rem;
    padding: 10px 16px;
  }
}

/* Styles pour l'image circulaire avec masque SVG */
.kappa-circular-image {
  display: inline-block;
  position: relative;
  margin: 15px;
}

.circular-image-container {
  position: relative;
  width: fit-content;
  height: fit-content;
  display: inline-block;
}

.circular-image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 50%;
  z-index: 1;
  flex-shrink: 0;
}

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

.circular-image-wrapper:hover img {
  transform: scale(1.05);
}

.circular-mask-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  z-index: 2;
  pointer-events: none;
}

.mask-svg {
  width: 100%;
  height: 100%;
  animation: rotate-on-scroll 10s linear infinite paused;
}

/* Animations de rotation */
@keyframes rotate-clockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-counterclockwise {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

/* Classes pour les vitesses d'animation */
.kappa-circular-image[data-animation-speed="slow"] .mask-svg {
  animation-duration: 20s;
}

.kappa-circular-image[data-animation-speed="normal"] .mask-svg {
  animation-duration: 10s;
}

.kappa-circular-image[data-animation-speed="fast"] .mask-svg {
  animation-duration: 5s;
}

/* Rotation inversée */
.kappa-circular-image[data-reverse="true"] .mask-svg {
  animation-name: rotate-counterclockwise;
}

.kappa-circular-image[data-reverse="false"] .mask-svg {
  animation-name: rotate-clockwise;
}

/* États d'animation */
.kappa-circular-image.is-animating .mask-svg {
  animation-play-state: running;
}

.kappa-circular-image:not(.is-animating) .mask-svg {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .circular-image-wrapper {
    width: 250px;
    height: 250px;
  }
  
  .circular-mask-overlay {
    width: 270px;
    height: 270px;
  }
}

@media (max-width: 480px) {
  .circular-image-wrapper {
    width: 200px;
    height: 200px;
  }
  
  .circular-mask-overlay {
    width: 220px;
    height: 220px;
  }
}

/* Styles pour l'interface d'upload */
.circular-image-wrapper.upload-interface {
  border: 2px dashed #ae0019;
  background: rgba(174, 0, 25, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.circular-image-wrapper.upload-interface:hover {
  border-color: #8a0015;
  background: rgba(174, 0, 25, 0.1);
}

.circular-image-placeholder {
  text-align: center;
  color: #ae0019;
}

.circular-image-placeholder svg {
  margin-bottom: 10px;
  opacity: 0.7;
}

.circular-image-placeholder p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* Contrôles d'upload */
.upload-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kappa-circular-image:hover .upload-controls {
  opacity: 1;
}

.upload-btn,
.remove-btn {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #ae0019;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.upload-btn:hover {
  background: #ae0019;
  color: white;
  transform: scale(1.1);
}

.remove-btn:hover {
  background: #d32f2f;
  color: white;
  transform: scale(1.1);
}

/* Barre de progression */
.upload-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.progress-bar {
  width: 200px;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(45deg, #ae0019, #d32f2f);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.progress-text {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* États d'erreur */
.circular-image-wrapper.upload-error {
  border-color: #d32f2f;
  background: rgba(211, 47, 47, 0.05);
}

.upload-error-message {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #d32f2f;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 12px;
  margin-top: 10px;
  white-space: nowrap;
  z-index: 10;
}

.upload-error-message::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #d32f2f;
}

/* Mode upload responsive */
@media (max-width: 768px) {
  .upload-controls {
    top: 5px;
    right: 5px;
  }
  
  .upload-btn,
  .remove-btn {
    width: 30px;
    height: 30px;
  }
  
  .progress-bar {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .circular-image-placeholder p {
    font-size: 12px;
  }
  
  .upload-progress {
    padding: 15px;
  }
  
  .progress-bar {
    width: 120px;
  }
}

/* Styles pour les notifications toast */
.kappa-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kappa-notification.show {
  transform: translateX(0);
}

.kappa-notification-success {
  background: linear-gradient(45deg, #4caf50, #66bb6a);
}

.kappa-notification-error {
  background: linear-gradient(45deg, #f44336, #ef5350);
}

.kappa-notification-info {
  background: linear-gradient(45deg, #2196f3, #42a5f5);
}

/* Style pour drag & drop */
.circular-image-wrapper.drag-over {
  border-color: #ae0019 !important;
  background: rgba(174, 0, 25, 0.15) !important;
  transform: scale(1.02);
}

/* Styles pour les images d'expertise avec transitions fluides */
.expertise figure img,
.wp-block-kadence-column img,
.kadence-column952_19b09c-b1 img {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  border-radius: 8px;
}

.expertise figure img:hover,
.wp-block-kadence-column img:hover,
.kadence-column952_19b09c-b1 img:hover
 {
  transform: scale(1);
  border: #d32f2f solid 2px;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.2);
}

/* Styles pour la section prestashow - Cards uniformes et animations */
.prestashow .kt-row-column-wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.prestashow .wp-block-kadence-column {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 10px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  min-height: 320px;
}

.prestashow .wp-block-kadence-column:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(174, 0, 25, 0.15);
  border-color: #ae0019;
  background: #fafafa;
}

.prestashow .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 25px;
  position: relative;
}

/* Animation des textes au survol */
.prestashow .wp-block-kadence-column h4 {
  margin-bottom: 15px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.prestashow .wp-block-kadence-column:hover h4 {
  color: #ae0019 !important;
  transform: translateY(-2px);
}

.prestashow .wp-block-kadence-column p {
  flex-grow: 1;
  margin-bottom: 20px;
  opacity: 0.8;
  transition: all 0.3s ease;
  transform: translateY(10px);
  position: relative;
  z-index: 2;
}

.prestashow .wp-block-kadence-column:hover p {
  opacity: 1;
  transform: translateY(0);
  color: #333 !important;
}

/* Animation du bouton "Read More" */
.prestashow .wp-block-kadence-advancedbtn {
  margin-top: auto;
  transition: all 0.3s ease;
  transform: translateY(10px);
  opacity: 0.9;
}

.prestashow .wp-block-kadence-column:hover .wp-block-kadence-advancedbtn {
  transform: translateY(0);
  opacity: 1;
}

.prestashow .kb-button {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px;
  padding: 14px 28px;
  background: transparent !important;
  border: 2px solid #ae0019 !important;
  color: #ae0019 !important;
  border-radius: 10px !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  min-width: 140px;
  justify-content: center;
}

.prestashow .kb-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ae0019, #d32f2f);
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.prestashow .wp-block-kadence-column:hover .kb-button {
  transform: translateY(-2px);
  color: white !important;
  border-color: #ae0019 !important;
  box-shadow: 0 8px 25px rgba(174, 0, 25, 0.3);
}

.prestashow .wp-block-kadence-column:hover .kb-button::before {
  left: 0;
}

.prestashow .kb-button .kt-btn-inner-text {
  position: relative;
  z-index: 2;
}

.kb-svg-icon-wrap {
  color: #ae0019 !important;
}

.prestashow .kb-button .kb-svg-icon-wrap {
  transition: transform 0.3s ease;
}

.prestashow .wp-block-kadence-column:hover .kb-button .kb-svg-icon-wrap {
  transform: translateX(3px);
  color: white !important;
}

/* Effet de brillance au survol */
.prestashow .wp-block-kadence-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.prestashow .wp-block-kadence-column:hover::before {
  left: 100%;
}

/* Styles responsive pour les cards */
@media (max-width: 1024px) {
  .prestashow .wp-block-kadence-column {
    margin: 8px;
    min-height: 300px;
  }
  
  .prestashow .kt-inside-inner-col {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .prestashow .kt-row-column-wrap {
    flex-direction: column;
  }
  
  .prestashow .wp-block-kadence-column {
    margin: 10px 0;
    min-height: 250px;
  }
  
  .prestashow .kt-inside-inner-col {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .prestashow .wp-block-kadence-column {
    margin: 8px 0;
    min-height: auto;
  }
  
  .prestashow .kt-inside-inner-col {
    padding: 15px;
  }
  
  .prestashow .kb-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Styles élégants pour les citations */
.quotecode {
    position: relative;
    font-style: italic;
    line-height: 1.6;
    margin: 30px 0;
    padding: 25px 40px;
}

.quotecode::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #ae0019;
    margin-right: 5px;
}

.quotecode::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #ae0019;
    margin-left: 5px;
}

/* Style pour le contenu de la citation */
.quotecode p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* Pas d'animation au survol */

/* Version alternative avec guillemets français */
.quotecode.french-quotes::before {
    content: '«';
    left: 10px;
}

.quotecode.french-quotes::after {
    content: '»';
    right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .quotecode {
        padding: 20px 35px;
        margin: 20px 0;
    }
    
    .quotecode::before,
    .quotecode::after {
        font-size: 1.3em;
    }
    
    .quotecode p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .quotecode {
        padding: 15px 25px;
    }
    
    .quotecode::before,
    .quotecode::after {
        font-size: 1.2em;
    }
}

/* Styles pour les boutons Kappa personnalisés */
.buttons-kappas {
    font-size: 17px !important;
    line-height: 22px !important;
    transition: 0.32s ease-in-out !important;
    padding: 5px 15px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    color: rgb(174, 0, 25) !important;
    background: white !important;
    border: 1px solid rgb(174, 0, 25) !important;
}

.buttons-kappas:hover {
    color: white !important;
    background: rgb(174, 0, 25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(174, 0, 25, 0.3) !important;
    transition: 0.32s ease-in-out !important;
}

/* Styles alternatifs pour les boutons Kappa génériques */
.kappa-buttons .btn {
    font-size: 17px !important;
    line-height: 22px !important;
    transition: 0.32s ease-in-out;
    padding: 5px 15px !important;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-weight: 500;
}

.kappa-buttons button.btn-white {
    color: rgb(174, 0, 25);
    background: white;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(174, 0, 25);
    border-image: initial;
    transition: 0.32s ease-in-out;
}

.kappa-buttons button:hover.btn-white {
    color: white !important;
    background: rgb(174, 0, 25);
    transition: 0.32s ease-in-out;
}

.kappa-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(174, 0, 25, 0.3);
}

/* Styles pour le footer personnalisé Kappa */
.kappa-footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #ffffff;
    padding: 60px 0 20px 0;
}

.kappa-footer .site-footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kappa-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.kappa-footer .footer-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kappa-footer .footer-section h3 {
    color: #ae0019;
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 0;
    font-weight: 700;
}

.kappa-footer .footer-logo-section {
    text-align: left;
}

.kappa-footer .footer-logo {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
}

.kappa-footer .footer-logo .kappa-logo {
    max-height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.kappa-footer .footer-section h4 {
    color: #ae0019;
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 80px;
    display: flex;
    align-items: center;
}

.kappa-footer .footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #cccccc;
}

.kappa-footer .footer-section p i {
    color: #ae0019;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.kappa-footer .address-section {
    margin-top: 15px;
}

.kappa-footer .address-section p {
    margin-bottom: 15px;
    padding-left: 26px;
    position: relative;
}

.kappa-footer .address-section p i {
    position: absolute;
    left: 0;
    top: 0;
    margin-right: 0;
}

.kappa-footer .address-section strong {
    color: #ae0019;
    font-weight: 600;
}

.kappa-footer .contact-cta {
    margin: 20px 0;
}

.kappa-footer .contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #ae0019, #d32f2f);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(174, 0, 25, 0.3);
}

.kappa-footer .contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(174, 0, 25, 0.4);
    background: linear-gradient(45deg, #d32f2f, #ae0019);
    color: white;
}

.kappa-footer .contact-button i {
    color: white;
    margin-right: 0;
}

.kappa-footer .contact-locations {
    margin-top: 15px;
}

.kappa-footer .contact-locations p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.kappa-footer .contact-locations strong {
    color: #ae0019;
    font-weight: 600;
}

.kappa-footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kappa-footer .footer-section ul li {
    margin-bottom: 8px;
}

.kappa-footer .footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.kappa-footer .footer-section ul li a:hover {
    color: #ae0019;
}

.kappa-footer .footer-section ul li a::before {
    content: '▶';
    color: #ae0019;
    margin-right: 8px;
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kappa-footer .footer-section ul li a:hover::before {
    opacity: 1;
}

.kappa-footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.kappa-footer .social-links a {
    color: #cccccc;
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(174, 0, 25, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.kappa-footer .social-links a:hover {
    background: #ae0019;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(174, 0, 25, 0.3);
}

.kappa-footer .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.kappa-footer .footer-bottom p {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

.kappa-footer .footer-bottom a {
    color: #ae0019;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kappa-footer .footer-bottom a:hover {
    color: #d32f2f;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .kappa-footer {
        padding: 40px 0 20px 0;
        margin-top: 60px;
    }
    
    .kappa-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .kappa-footer .footer-section h3 {
        font-size: 1.5rem;
    }
    
    .kappa-footer .footer-section h4 {
        height: auto;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .kappa-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .kappa-footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .kappa-footer .site-footer-wrap {
        padding: 0 15px;
    }
    
    .kappa-footer .footer-content {
        gap: 25px;
    }
    
    .kappa-footer .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .kappa-footer .contact-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .kappa-footer .social-links {
        gap: 10px;
    }
    
    .kappa-footer .social-links a {
        padding: 8px 12px;
    }
}

/* Styles pour le template single.php personnalisé */
.kappa-single-post {
    margin: 0;
    padding: 0;
}

.kappa-featured-image {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.kappa-featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.kappa-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 40px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        transparent 100%
    );
}

.kappa-title-overlay h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 0 auto;
}

.kappa-post-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 15px auto 0;
}

.kappa-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kappa-meta-item i {
    color: #ae0019;
    font-size: 0.9rem;
}

.kappa-meta-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.kappa-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: white;
    position: relative;
    z-index: 1;
}

.kappa-content-wrapper .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.kappa-content-wrapper .entry-content h2,
.kappa-content-wrapper .entry-content h3,
.kappa-content-wrapper .entry-content h4 {
    color: #ae0019;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 600;
}

.kappa-content-wrapper .entry-content h2 {
    font-size: 2.2rem;
    border-bottom: 3px solid #ae0019;
    padding-bottom: 10px;
}

.kappa-content-wrapper .entry-content h3 {
    font-size: 1.8rem;
}

.kappa-content-wrapper .entry-content h4 {
    font-size: 1.4rem;
}

.kappa-content-wrapper .entry-content p {
    margin-bottom: 1.5em;
}

.kappa-content-wrapper .entry-content a {
    color: #ae0019;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.kappa-content-wrapper .entry-content a:hover {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}

.kappa-content-wrapper .entry-content blockquote {
    border-left: 4px solid #ae0019;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f9f9f9;
    font-style: italic;
    position: relative;
}

.kappa-content-wrapper .entry-content blockquote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: #ae0019;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.kappa-content-wrapper .entry-content ul,
.kappa-content-wrapper .entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.kappa-content-wrapper .entry-content li {
    margin-bottom: 8px;
}

.kappa-content-wrapper .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* Styles pour les articles sans featured image */
.kappa-no-featured-image .kappa-featured-image {
    height: 300px;
    background: linear-gradient(135deg, #ae0019, #d32f2f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kappa-no-featured-fallback {
    text-align: center;
    color: white;
}

.kappa-no-featured-fallback i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.kappa-no-featured-fallback h2 {
    font-size: 1.5rem;
    margin: 0;
    opacity: 0.9;
}

/* Responsive - Single post template */
@media (max-width: 1024px) {
    .kappa-featured-image {
        height: 50vh;
        min-height: 350px;
    }
    
    .kappa-title-overlay {
        padding: 30px;
    }
    
    .kappa-title-overlay h1 {
        font-size: 2.5rem;
    }
    
    .kappa-content-wrapper {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .kappa-featured-image {
        height: 40vh;
        min-height: 300px;
    }
    
    .kappa-title-overlay {
        padding: 20px;
    }
    
    .kappa-title-overlay h1 {
        font-size: 2rem;
    }
    
    .kappa-post-meta {
        font-size: 0.9rem;
        gap: 15px;
    }
    
    .kappa-content-wrapper {
        padding: 40px 20px;
    }
    
    .kappa-content-wrapper .entry-content {
        font-size: 1rem;
    }
    
    .kappa-content-wrapper .entry-content h2 {
        font-size: 1.8rem;
    }
    
    .kappa-content-wrapper .entry-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .kappa-featured-image {
        height: 35vh;
        min-height: 250px;
    }
    
    .kappa-title-overlay {
        padding: 15px;
    }
    
    .kappa-title-overlay h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .kappa-post-meta {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .kappa-meta-divider {
        display: none;
    }
    
    .kappa-content-wrapper {
        padding: 30px 15px;
    }
    
    .kappa-content-wrapper .entry-content blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .kappa-content-wrapper .entry-content blockquote::before {
        font-size: 3rem;
        top: 5px;
        left: 10px;
    }
}

/* Animation d'apparition pour le contenu */
@media (prefers-reduced-motion: no-preference) {
    .kappa-content-wrapper {
        animation: fadeInUp 0.8s ease-out;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
    color: #fdfdfd !important;
    font-weight: 600 !important;
}

/* ========================================
   STYLES POUR LA PAGE BLOG/ACTUALITÉS
   Design moderne et responsive - Kappa
   ======================================== */

/* Header de la page blog */
.kappa-blog-wrapper {
    min-height: 100vh;
    background: #f8f9fa;
}

.kappa-blog-header {
    background: linear-gradient(135deg, #ae0019 0%, #d32f2f 100%);
    position: relative;
    padding: 80px 0 60px;
    margin-bottom: 60px;
    overflow: hidden;
}

.kappa-blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle fill="rgba(255,255,255,0.1)" cx="10" cy="10" r="1.5"/></pattern></defs><rect fill="url(%23dots)" width="100" height="20"/></svg>');
    opacity: 0.3;
}

.kappa-blog-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.kappa-blog-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.kappa-blog-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 300;
    line-height: 1.6;
}

.kappa-header-pattern {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

/* Container principal */
.kappa-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* Grille des articles */
.kappa-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Article en vedette (premier) */
.kappa-blog-card.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(174, 0, 25, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kappa-blog-card.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(174, 0, 25, 0.15);
    border-color: rgba(174, 0, 25, 0.3);
}

/* Cards d'articles normales */
.kappa-blog-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(174, 0, 25, 0.05);
    position: relative;
}

.kappa-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(174, 0, 25, 0.12);
    border-color: rgba(174, 0, 25, 0.2);
}

/* Images des articles */
.kappa-blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.kappa-blog-card.featured-post .kappa-blog-image {
    height: 400px;
}

.kappa-blog-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.kappa-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kappa-blog-card:hover .kappa-blog-image img {
    transform: scale(1.08);
}

.kappa-blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(174, 0, 25, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.kappa-blog-card:hover .kappa-blog-overlay {
    opacity: 1;
}

/* Placeholder pour articles sans image */
.kappa-no-image {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kappa-no-image-placeholder {
    text-align: center;
    color: #6c757d;
}

.kappa-no-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
    color: #ae0019;
    opacity: 0.7;
}

.kappa-no-image-placeholder span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contenu des articles */
.kappa-blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kappa-blog-card.featured-post .kappa-blog-content {
    padding: 40px;
    justify-content: center;
}

/* Métadonnées */
.kappa-blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.kappa-blog-date {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.kappa-blog-date i {
    color: #ae0019;
}



/* Titre des articles */
.kappa-blog-post-title {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
}

.kappa-blog-card.featured-post .kappa-blog-post-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.kappa-blog-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.kappa-blog-post-title a:hover {
    color: #ae0019;
}

.kappa-blog-post-title a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ae0019, #d32f2f);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kappa-blog-post-title a:hover::after {
    width: 100%;
}

/* Extrait */
.kappa-blog-excerpt {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.kappa-blog-card.featured-post .kappa-blog-excerpt {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Actions (bouton seulement) */
.kappa-blog-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    gap: 20px;
}

.kappa-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ae0019;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 2px solid #ae0019;
    border-radius: 8px;
    background: transparent;
}

.kappa-read-more:hover {
    background: #ae0019;
    color: white;
    transform: translateX(5px);
}

.kappa-read-more i {
    transition: transform 0.3s ease;
}

.kappa-read-more:hover i {
    transform: translateX(3px);
}



/* Pagination */
.kappa-blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.kappa-blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.kappa-blog-pagination a,
.kappa-blog-pagination span {
    padding: 12px 18px;
    border: 2px solid rgba(174, 0, 25, 0.2);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #ae0019;
    background: white;
    min-width: 50px;
    text-align: center;
}

.kappa-blog-pagination a:hover,
.kappa-blog-pagination .current {
    background: #ae0019;
    color: white;
    border-color: #ae0019;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(174, 0, 25, 0.3);
}

.kappa-blog-pagination .prev,
.kappa-blog-pagination .next {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Message aucun article */
.kappa-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.kappa-no-posts-content i {
    font-size: 4rem;
    color: #ae0019;
    margin-bottom: 30px;
    opacity: 0.7;
}

.kappa-no-posts-content h2 {
    color: #1a1a1a;
    font-size: 2rem;
    margin-bottom: 15px;
}

.kappa-no-posts-content p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.kappa-back-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #ae0019, #d32f2f);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(174, 0, 25, 0.3);
}

.kappa-back-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(174, 0, 25, 0.4);
    color: white;
}

/* ========================================
   SIDEBAR ET WIDGETS
   ======================================== */

.kappa-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
}

.kappa-widget {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(174, 0, 25, 0.05);
    transition: all 0.3s ease;
}

.kappa-widget:hover {
    box-shadow: 0 10px 40px rgba(174, 0, 25, 0.1);
    border-color: rgba(174, 0, 25, 0.1);
}

.kappa-widget h3 {
    color: #ae0019;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}

.kappa-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, #ae0019, #d32f2f);
    border-radius: 2px;
}

/* Widget recherche */
.kappa-search-form {
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid rgba(174, 0, 25, 0.2);
    transition: border-color 0.3s ease;
}

.kappa-search-form:focus-within {
    border-color: #ae0019;
}

.kappa-search-form input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
    background: white;
}

.kappa-search-form button {
    background: #ae0019;
    border: none;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.kappa-search-form button:hover {
    background: #d32f2f;
}



/* Widget articles récents */
.kappa-recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kappa-recent-post-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(174, 0, 25, 0.1);
}

.kappa-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.kappa-recent-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.kappa-recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kappa-recent-post-thumb:hover img {
    transform: scale(1.1);
}

.kappa-recent-post-content h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.kappa-recent-post-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kappa-recent-post-content h4 a:hover {
    color: #ae0019;
}

.kappa-recent-post-content time {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Widget CTA Contact */
.kappa-cta-widget {
    background: linear-gradient(135deg, #ae0019, #d32f2f);
    color: white;
    text-align: center;
}

.kappa-cta-widget h3 {
    color: white;
}

.kappa-cta-widget h3::after {
    background: rgba(255, 255, 255, 0.3);
}

.kappa-cta-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.kappa-cta-content p {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.kappa-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    color: #ae0019;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.kappa-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #ae0019;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .kappa-blog-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .kappa-blog-sidebar {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        display: grid;
        gap: 20px;
    }
    
    .kappa-blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
    
    .kappa-blog-card.featured-post {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .kappa-blog-card.featured-post .kappa-blog-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .kappa-blog-header {
        padding: 60px 0 40px;
        margin-bottom: 40px;
    }
    
    .kappa-blog-title {
        font-size: 2.5rem;
    }
    
    .kappa-blog-subtitle {
        font-size: 1.1rem;
    }
    
    .kappa-blog-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .kappa-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kappa-blog-card.featured-post .kappa-blog-content {
        padding: 25px;
    }
    
    .kappa-blog-content {
        padding: 25px;
    }
    
    .kappa-blog-actions {
        justify-content: flex-start;
    }
    
    .kappa-blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .kappa-blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .kappa-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .kappa-blog-header {
        padding: 40px 0 30px;
        margin-bottom: 30px;
    }
    
    .kappa-blog-title {
        font-size: 2rem;
    }
    
    .kappa-blog-subtitle {
        font-size: 1rem;
    }
    
    .kappa-blog-container {
        padding: 0 15px;
    }
    
    .kappa-blog-card.featured-post .kappa-blog-post-title {
        font-size: 1.8rem;
    }
    
    .kappa-blog-post-title {
        font-size: 1.3rem;
    }
    
    .kappa-blog-content {
        padding: 20px;
    }
    
    .kappa-read-more {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .kappa-blog-pagination .nav-links {
        gap: 8px;
    }
    
    .kappa-blog-pagination a,
    .kappa-blog-pagination span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .kappa-widget {
        padding: 15px;
    }
    
    .kappa-search-form input,
    .kappa-search-form button {
        padding: 12px 15px;
    }
}

/* ========================================
   STYLES SPÉCIAUX POUR LES ARCHIVES
   ======================================== */

.kappa-archive-stats {
    margin-top: 25px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.kappa-posts-count {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.kappa-posts-count i {
    color: rgba(255, 255, 255, 0.8);
}

.kappa-archive-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.kappa-archive-grid .kappa-blog-card {
    max-width: none;
}



/* Animation d'apparition pour les articles */
@media (prefers-reduced-motion: no-preference) {
    .kappa-blog-card {
        animation: fadeInUp 0.6s ease-out;
        animation-fill-mode: both;
    }
    
    .kappa-blog-card:nth-child(1) { animation-delay: 0.1s; }
    .kappa-blog-card:nth-child(2) { animation-delay: 0.2s; }
    .kappa-blog-card:nth-child(3) { animation-delay: 0.3s; }
    .kappa-blog-card:nth-child(4) { animation-delay: 0.4s; }
    .kappa-blog-card:nth-child(5) { animation-delay: 0.5s; }
    .kappa-blog-card:nth-child(6) { animation-delay: 0.6s; }
}

/* Responsive pour les archives */
@media (max-width: 768px) {
    .kappa-archive-stats {
        padding: 12px 20px;
        margin-top: 20px;
    }
    
    .kappa-posts-count {
        font-size: 0.9rem;
    }
    
    .kappa-archive-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kappa-archive-stats {
        padding: 10px 15px;
    }
    
    .kappa-posts-count {
        font-size: 0.85rem;
        gap: 8px;
    }
}

/* ========================================
   STYLES POUR LA PAGE DE RECHERCHE
   ======================================== */

.kappa-search-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.kappa-search-result {
    border-left: 4px solid #ae0019;
}

.kappa-search-result .kappa-blog-excerpt mark {
    background: linear-gradient(45deg, #ae0019, #d32f2f);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.kappa-blog-type {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kappa-no-search-results {
    padding: 60px 40px;
}

.kappa-search-suggestions {
    margin: 30px 0;
    text-align: left;
    background: rgba(174, 0, 25, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ae0019;
}

.kappa-search-suggestions h3 {
    color: #ae0019;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.kappa-search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kappa-search-suggestions li {
    padding: 8px 0;
    color: #6c757d;
    position: relative;
    border-bottom: 1px solid rgba(174, 0, 25, 0.1);
}

.kappa-search-suggestions li:last-child {
    border-bottom: none;
}

.kappa-search-suggestions li::before {
    content: '→';
    color: #ae0019;
    font-weight: bold;
    margin-right: 10px;
}

.kappa-new-search {
    margin: 30px 0;
    text-align: left;
}

.kappa-new-search h3 {
    color: #ae0019;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.kappa-large-search {
    border-radius: 12px;
    border: 3px solid #ae0019;
    padding: 0;
    background: white;
}

.kappa-large-search input {
    padding: 18px 25px;
    font-size: 1.1rem;
    border-radius: 12px 0 0 12px;
}

.kappa-large-search button {
    padding: 18px 25px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0 12px 12px 0;
    min-width: auto;
}

.kappa-large-search button:hover {
    background: #d32f2f;
}

/* Responsive pour la recherche */
@media (max-width: 768px) {
    .kappa-search-grid {
        grid-template-columns: 1fr;
    }
    
    .kappa-no-search-results {
        padding: 40px 20px;
    }
    
    .kappa-search-suggestions {
        padding: 20px;
        margin: 20px 0;
    }
    
    .kappa-large-search {
        flex-direction: column;
    }
    
    .kappa-large-search input,
    .kappa-large-search button {
        border-radius: 8px;
        padding: 15px 20px;
    }
    
    .kappa-large-search input {
        margin-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .kappa-search-suggestions {
        padding: 15px;
    }
    
    .kappa-search-suggestions h3,
    .kappa-new-search h3 {
        font-size: 1.1rem;
    }
    
    .kappa-large-search input,
    .kappa-large-search button {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

/* Réinitialisation pour le formulaire */
#wpforms-1801 * {
    box-sizing: border-box;
}

/* Conteneur principal */
#wpforms-1801 {
    --wpforms-field-border-color: #e0e0e0;
    --wpforms-field-border-color-spare: #e0e0e0;
    --wpforms-field-text-color: #333;
    --wpforms-label-color: #333;
    --wpforms-label-sublabel-color: #666;
    --wpforms-button-background-color: #b00a0a;
    --wpforms-container-padding: 0px;
    --wpforms-container-border-width: 0px;
    --wpforms-container-border-radius: 20px;
    --wpforms-background-color: #ffffff;
    --wpforms-field-size-input-height: 50px;
    --wpforms-field-size-input-spacing: 25px;
    --wpforms-field-size-font-size: 16px;
    --wpforms-field-size-line-height: 24px;
    --wpforms-field-size-padding-h: 16px;
    --wpforms-label-size-font-size: 15px;
    --wpforms-label-size-line-height: 22px;
    --wpforms-button-size-font-size: 17px;
    --wpforms-button-size-height: 55px;
    --wpforms-button-size-padding-h: 40px;
    --wpforms-button-size-margin-top: 30px;
    --wpforms-container-shadow-size-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Conteneur du formulaire - PREND TOUTE LA LARGEUR */
.wpforms-container-full {
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
}

#wpforms-form-1801 {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Labels */
.wpforms-field-label {
    width:100% !important;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 15px;
    display: flex !important;
justify-content:flex-start !important;
}

/* Astérisque requis */
.wpforms-required-label {
    color: #b00a0a;
    margin-left: 3px;
}

/* Champs de saisie */
#wpforms-form-1801 input[type="text"],
#wpforms-form-1801 input[type="email"],
#wpforms-form-1801 input[type="number"],
#wpforms-form-1801 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
    line-height: 1.5;
}

#wpforms-form-1801 input[type="text"]:focus,
#wpforms-form-1801 input[type="email"]:focus,
#wpforms-form-1801 input[type="number"]:focus,
#wpforms-form-1801 textarea:focus {
    outline: none;
    border-color: #b00a0a;
    background: white;
    box-shadow: 0 0 0 3px rgba(176, 10, 10, 0.1);
}

/* Champs Nom & Prénom en ligne */
.wpforms-field-name .wpforms-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wpforms-field-name .wpforms-field-row-block {
    margin-bottom: 0;
}

/* Fieldset pour le nom */
.wpforms-field-name fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.wpforms-field-name legend {
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 15px;
    padding: 0;
}

/* Textarea */
#wpforms-form-1801 textarea {
    min-height: 140px;
    resize: vertical;
}

/* Espacement entre les champs */
.wpforms-field {
    margin-bottom: 30px;
}

/* Dernier champ sans marge en bas */
.wpforms-field-container > .wpforms-field:last-of-type {
    margin-bottom: 0;
}

/* Sublabels cachés */
.wpforms-sublabel-hide {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Bouton de soumission */
#wpforms-submit-1801 {
    width: 100%;
    padding: 16px 40px;
    background: linear-gradient(135deg, #b00a0a 0%, #8a0808 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    height: auto;
    min-height: 55px;
}

#wpforms-submit-1801:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(176, 10, 10, 0.3);
    background: linear-gradient(135deg, #c00b0b 0%, #9a0909 100%);
}

#wpforms-submit-1801:active {
    transform: translateY(0);
}

/* Spinner de chargement */
.wpforms-submit-spinner {
    margin-left: 10px;
    vertical-align: middle;
}

/* Conteneur de soumission */
.wpforms-submit-container {
    margin-top: 35px;
}

/* Messages d'erreur */
.wpforms-error {
    color: #b00a0a;
    font-size: 14px;
    margin-top: 8px;
    display: block;
}

/* Suppression des champs honeypot */
#wpforms-1801-field_4-container,
#wpforms-1801-field_6-container {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 768px) {
    #wpforms-form-1801 {
        padding: 35px 25px;
    }
    
    .wpforms-field-name .wpforms-field-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .wpforms-field {
        margin-bottom: 25px;
    }
    
    #wpforms-submit-1801 {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .wpforms-submit-container {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    #wpforms-form-1801 {
        padding: 25px 20px;
    }
}
