/* Accens — CSS perso, sorti du style.css du thème enfant pour survivre à ses mises à jour. */

/* ===== Ajustements de l'ancien thème ===== */
.dct-home-blurb .et_pb_blurb_content .et_pb_main_blurb_image .et_pb_image_wrap .et-pb-icon {
	display:inline-block;
	width:75px;
	height:75px;
	border-radius:50%;
	background:#1b4332;
	border:5px solid #f2f2f2;
	text-align:center;
	line-height:70px;
	position:relative;
	top:-25px;
	float:left;
	font-size:40px;
	color:#f2f2f2 !important;
	z-index:1;
	transition:all 0.3s ease 0s
}

.dct-home-blurb:after {
	content:"";
	height:100%;
	background:#1b4332;
	position:absolute;
	bottom:0;
	z-index:-1;
	transition:all 0.3s ease 0s
}

.dct-home-blurb {
	margin-top:50px;
	border-bottom:1px solid #1b4332;
	z-index:1;
	position:relative;
	top:0;
	transition:all 0.3s ease 0s
}

.dct-home-preactice-2 .et_pb_blurb_content .et_pb_blurb_container .et_pb_blurb_description {
	font-size:14px;
	color:var(--color-1);
	line-height:27px;
	letter-spacing:1px;
	margin:0
}

.logged-in.admin-bar .dct-fixed-header {
	top:32px
}

body {
	overflow-x:hidden !important
}

/* ===== Bouton retour en haut ===== */
/* Default button appearance */

.et_pb_scroll_top::before {
 content: "6";
}
.et_pb_scroll_top.et-pb-icon {
	right: 30px;
	/* space from right */
	bottom: 30px;
	/* space from bottom */
	padding: 8px;
	/*padding size*/
	border-radius: 5px;
	/* make the circle */
	background: var(--color-1)/* button color */;
	font-size: 32px;
	/* icon size */
	transition: all .1s ease-in-out;
/* add transition */
}
/* Button Appearance on Mouseover */

.et_pb_scroll_top.et-pb-icon:hover {
	bottom: 32px/* space from bottom */;
	background: var(--color-2)/*button hover color*/;
 transition: all .1s ease-in-out;
	/*add transition*/
	box-shadow: 0 10px 15px #162c4e4a;/*box shadow on hover*/
}
/* Animation tweaks */

.et_pb_scroll_top.et-visible {
	-webkit-animation: fadeInBottom 1s 1 cubic-bezier(.50, 0, .160, 1);
	-moz-animation: fadeInBottom 2s 1 cubic-bezier(.50, 0, .160, 1);
	-o-animation: fadeInBottom 1s 1 cubic-bezier(.50, 0, .160, 1);
	animation: fadeInBottom 1s 1 cubic-bezier(.50, 0, .160, 1);
}
.et_pb_scroll_top.et-hidden {
	opacity: 0;
	-webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77, 0, .175, 1);
	-moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77, 0, .175, 1);
	-o-animation: fadeOutBottom 1s 1 cubic-bezier(.77, 0, .175, 1);
	animation: fadeOutBottom 1s 1 cubic-bezier(.77, 0, .175, 1);
}

/* =====================================
   ========== ACTUALITES ===============
   ===================================== */

.actus-externes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.actus-externes .actu {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin: 0.5rem; /* légère séparation entre les cartes */
}

.actus-externes .actu img {
  height: 200px;
  object-fit: cover;
}


.actus-externes .actu h3 {
  font-size: 1rem;
  margin: 1rem 1rem 0.25rem;
  line-height: 1.3;
}


.actus-externes .actu h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.actus-externes .actu:hover h3 a {
  color: #cfa968; 
}


.actus-externes .actu .date {
  display: inline-block;
  font-size: 0.85rem;
  color: #888;
  margin-left: 1rem;
}

.actus-externes .actu .date::after {
  content: "|";
  margin: 0 6px;
  color: #ccc;
}

.actus-externes .actu .category {
  color: #c27c0e;
  font-weight: bold;
  font-size: 0.85rem;
}


.actus-externes .actu .date + span {
  color: #c27c0e; /* Couleur des catégories (or) */
  font-weight: bold;
  font-size: 0.9rem;
}

.actus-externes .actu .excerpt {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 1rem 1rem;
  line-height: 1.4;
  flex-grow: 1;
}

/* Conteneur pour gérer le zoom */
.image-container {
  overflow: hidden;
  height: 200px;
}

/* L’image zoomera au survol */
.image-container img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Zoom de l’image quand on survole la .actu */
.actus-externes .actu:hover .image-container img {
  transform: scale(1.2);
}

.actus-externes .actu {
  border: 1px solid #e0e0e0 !important;
  border-width: 1px 1px 1px 1px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* =====================================
   ========== ÉVÉNEMENTS ===============
   ===================================== */

.liste-evenements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.evenement-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.evenement-item:hover {
  transform: translateY(-5px);
}

.evenement-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.evenement-titre {
  font-size: 1.6rem;
  margin: 1rem auto 0.5rem;
  color: #2c3e50;
  text-align: center;
}

.evenement-meta {
  padding: 0 1.2rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.evenement-meta p {
  margin: 0.3rem 0;
	list-style: none;
}

.evenement-description-limitee,
.evenement-description {
  padding: 0 1.2rem 1rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-plus-infos {
    display: inline-block;
    background-color: rgb(207, 169, 104);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: auto;
    align-self: center;
	margin-bottom: 20px;
}

.btn-plus-infos:hover {
  background-color: #a37d45;
}

.evenement-meta-ligne {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin: 10px 0;
  font-size: 0.9rem;
  color: #555;
}

.evenement-meta-ligne i {
  margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .liste-evenements {
    grid-template-columns: 1fr;
  }

  .evenement-titre {
    font-size: 1.4rem;
  }
}

.liste-evenements,
.liste-evenements li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.evenement-meta-ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 1.2rem 0;
  font-size: 0.95rem;
  color: #555;
}

.evenement-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.evenement-image-wrapper img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.evenement-categorie-bandeau {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #0055aa; /* couleur personnalisable */
    color: white;
    padding: 5px 10px;
    font-size: 0.85em;
    font-weight: bold;
    border-top-right-radius: 6px;
}

.evenement-meta-ligne {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.evenement-image-banner {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.evenement-image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evenement-titre-sur-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  padding: 0 1rem;
}


