@charset "utf-8";
html, body {
    height: 100%;
    margin: 0;
    padding: 0;

}
.news-tickers {
	background:none !important;
}
.news-ticker {
        top: 0 !important;
}
.main-container {
    position: relative; /* nécessaire pour le positionnement du ::before */
    overflow: hidden; /* pour éviter que le blur déborde */
}

.main-container::before {
    content: "";
    position: fixed;
    top: 0 !important;
    left: 0;
	right:0;
	bottom:0;
    width: 100vw;
    height: 100vh;
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px) brightness(0.85);
    z-index: -1; /* met l'image derrière le contenu */
}
.content-block { background:none !important; box-shadow:none !important; }
 .page-container {
            position: relative;
            width: 100%;
            max-width: 850px;
            margin: 40px auto 0 auto;
			 padding: 20px;
            background: rgba(72,92,116,0.45);
			
            border-radius: 20px;
            z-index: 1;
            box-shadow: 0 0 18px #bbb8;
            padding-bottom: 32px;
        }
        .pays-container {
            position: relative;
            width: 100%;
            max-width: 700px;
            margin: 40px auto 0 auto;
			 padding-top:32px;
            background: #fff;
			border-radius: 20px;
            z-index: 1;
            box-shadow: 0 0 18px #bbb8;
            padding-bottom: 32px;
			
        }
		
		.header-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 32px;
            margin-top: 24px;
			
        }
        .header-container img {
            width: 64px; height: auto;
			border-radius:8px;
			
        }
        .header-container h1 {
            
            color: #0b2d68;
            letter-spacing: 1px;
            margin: 0;
			
        }
        .leaders-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 0px;
        }
        .leader-card {
            background: rgba(72,103,134,1);
            border-radius: 16px;
            box-shadow: 0 2px 14px rgba(0,0,0,0.12);
            width: 280px;
            padding: 15px 8px 18px 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
			margin:auto;
        }
        .leader-card img {
            width: 65px; 
			height:101px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 12px;
            border: 3px solid #e3e8ee;
            background: #f4f7fa;
        }
        .leader-card h2 {
            font-size: 1.22rem;
            margin: 6px 0 3px 0;
            color: #ffffff;
            font-weight: 700;
			text-align:center;
        }
        .leader-card p {
            font-size: 1rem;
            color: #efc64b;
            margin: 0 0 9px 0;
        }
        .button-group {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }
        .button-group a {
			background: none;
            border: 2px solid #e7b366;
            color: #f4e9a0;
            padding: 6px 13px;
            border-radius: 5px;
            font-size: 0.87rem;
            font-weight: 500;
            text-decoration: none;
            transition: background .14s, color .14s;
        }
        .button-group a:hover {
            background: #ffd166;
            color: #003366;
        }
        .country-description {
            margin: 36px auto 22px auto;
            font-size: 1.08rem;
			text-align:justify;
            max-width: 90%;
            color: #fff;
            background: none;
            border-radius: 8px;
            padding: 15px 15px 14px 15px;
            line-height: 1.62;
        }
.info-cards {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 30px; /* Réduit l'espacement pour mobile */
  margin: 0 auto 0 auto;
  flex-wrap: wrap;
}

.info-card {
  background: #d1dded;
  border-radius: 12px;
  padding: 10px 10px;
  width: 150px; /* Largeur par défaut desktop */
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
        .info-card h3 {
            margin-bottom: 7px;
            color: #0b2d68;
            font-size: 1.06rem;
        }
        .info-card p {
            font-size: 1rem;
            font-weight: bold;
            color: #000;
            margin: 0;
        }
		.info-card .icon   { font-size: 1.6rem; color:#00507D; }
        .footer-wave {
            width: 100%;
            margin: 0;
            padding: 0;
            
			background-image: url('/images/vague_pays.png');
        }


/* carte pour les differentes elections du pays */
.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}


.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: #333;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #f0f8ff;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.card-link {
  color: #007BFF;
  text-decoration: none;
  font-size: 13px;
}
/*regions*/
.regions-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.regions-list li {
  margin: 10px 0;
}

.regions-list a {
  color: #0e4c92;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.regions-list a:hover {
  color: #e86c00;
}

details summary {
  font-weight: bold;
  cursor: pointer;
  padding: 12px 15px;
  background: #f7f7f7;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: background 0.3s;
  list-style: none;
}

details[open] summary {
  background: #00507D;
  color: #fff;
  border-color: #00507D;
}
.regions-list li {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

/* Alternance des lignes */
.regions-list li:nth-child(odd) {
  background-color: #f9f9f9; /* Gris très clair */
}

.regions-list li:nth-child(even) {
  background-color: #eef4fa; /* Bleu très clair */
}

.regions-list li:hover {
  background-color: #e0ecff; /* Bleu un peu plus vif au survol */
}

.regions-list a {
  display: block;
  width: 100%;
  color: #0e4c92;
  font-weight: bold;
  text-decoration: none;
}

.regions-list a:hover {
  color: #e86c00;
}
        @media (max-width: 800px) {
            .page-container {  max-width: 360px;}
			.pays-container {  max-width: 360px;}
            .leaders-container { flex-direction: column; align-items: center; }
           
            
			
        }
		@media (max-width: 768px) {
.pays-container {
           
			 padding-top:16px;
            
            padding-bottom: 16px;
			
        }
		.info-cards {
	padding:0px 6px;
    gap: 10px; /* Réduit encore le gap sur mobile */
  }

  .info-card {
    width: 90px; /* Plus étroit sur mobile */
    padding: 8px 6px;
  }

  .info-card h3 {
    font-size: 0.85rem; /* Réduit taille titre */
  }

  .info-card p {
    font-size: 0.8rem; /* Réduit taille texte */
  }

  .info-card .icon {
    font-size: 1.2rem; /* Réduit taille icône */
  }
    .cards-container {
    grid-template-columns: 1fr;
  }
		}
		
		@media (min-width: 992px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
}