	/* ==========================================================================
   FUSION ET MODERNISATION DE LA PAGE HISTOIRE AVEC EFFETS EXCLUSIFS
   ========================================================================== */

/* Importation de vos polices Google Fonts favorites */
@import url('https://googleapis.com');

/* Déclaration de votre police personnalisée Harrington */
@font-face {
    font-family: 'MyHarrington';
    src: url("fonts/HARRINGTON.TIF");
}

/* Lien de retour à l'accueil stylisé */
.bouton-retour {
  color: #ffcc00; 
  text-decoration: none; 
  font-weight: bold;
  font-size: 1.1rem;
}
.bouton-retour:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Grille principale adaptative (Texte à gauche, Médias/Pubs à droite) */
.layout-histoire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 15px;
}

@media (min-width: 1024px) {
  .layout-histoire {
    grid-template-columns: 2.2fr 1fr;
  }
}

/* Bloc central du récit historique (Inspiré de votre .klmn) */
.bloc-recit-historique {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: justify;
}

.titre-principal-histoire {
  font-size: 2.3rem;
  color: #ff3333; /* Rouge vif hérité de votre classe .koul */
  margin-bottom: 25px;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.4); /* Ombre blanche héritée */
  font-weight: bold;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 12px;
}

.paragraphe-histoire p {
  color: #ffffff;
  font-size: 1.15rem;
  font-family: 'Lucida Sans sherif', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; /* Police héritée de votre classe .klmn */
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: 'MyHarrington', 'Fjord One', serif; /* Utilise Harrington par défaut si installé */
}

/* Section liste des points clés */
.points-cles-histoire {
  background: rgba(0, 0, 0, 0.3);
  padding: 22px;
  border-radius: 8px;
  margin-top: 30px;
  border-left: 4px solid #ffcc00;
}

.points-cles-histoire h2 {
  font-size: 1.4rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.points-cles-histoire ul {
  list-style-type: none;
  padding-left: 0;
}

.points-cles-histoire ul li {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
}

.points-cles-histoire ul li::before {
  content: "➔";
  position: absolute;
  left: 0;
  color: #ff3333;
}

.lien-wikipedia-histoire {
  margin-top: 25px;
  font-size: 1.1rem;
  color: #ffcc00;
  font-weight: bold;  
}

/* Modifie la couleur du mot "ICI" */
.lien-wikipedia-histoire a {
    color: #00FFCC; /* Remplacez par le code couleur de votre choix */
    font-weight: bold; /* Met le mot en gras pour qu'il ressorte */
    text-decoration: underline; /* Laisse le mot souligné */
}
/* Modifie la couleur lorsque la souris passe sur "ICI" */
.lien-wikipedia-histoire a:hover {
    color: #FF5733; /* Le mot devient orange/rouge au survol */
}

/* Structure colonne droite (Sidebar) */
.sidebar-histoire {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.bloc-armoirie-pays {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.bloc-armoirie-pays img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.legende-armoirie {
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  margin-top: 10px;
  font-size: 0.95rem;
}

/* --- STRUCTURE DU DIAPORAMA (SLIDESHOW RESPONSIVE) --- */
.sidebar-slideshow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.titre-slideshow {
  font-size: 1.3rem;
  color: greenyellow;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

/* Boîte du diaporama nettoyée des marges négatives */
.slideshow-container {
  max-width: 240px; /* Votre largeur maximale de 450px préservée */
  position: relative;
  margin: 0 auto;   /* Centrage automatique sain */
  overflow: hidden;
  border: 1px solid #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  background-color:white;
}
/* Cache les diapos par défaut */
.mySlides-hist {
  display: none;
}
.mySlides-hist img {
  width: 200px;
  height: 270px;
  object-fit: cover; /* Empêche les déformations d'images */
}
/* Boutons de direction (Précédent / Suivant) */
.prev-hist, .next-hist {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  text-decoration: none !important;
  background-color: rgba(0, 0, 0, 0.3);
}

.next-hist {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev-hist:hover, .next-hist:hover {
  background-color: rgba(180, 100, 100, 0.8); /* Votre couleur d'interaction exacte */
  color: white;
}

/* Texte indicateur de numéro (Hérité de .numbertext) */
.numbertext {
  color: cornflowerblue; /* Votre bleu de numérotation exact */
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
  font-family: sans-serif;
  z-index: 10;
}

/* Animation de transition */
.fade {
  animation-name: fadeAnimation;
  animation-duration: 1.5s;
}

@keyframes fadeAnimation {
  from { opacity: .4; }
  to { opacity: 1; }
}

/* Animation globale de défilement de texte */
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
