/**
Theme Name: contemoi
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: contemoi
Template: astra
*/

.youtube-lite {
    position: relative;
    aspect-ratio: 16 / 9; /* Garde un ratio vidéo même sans JS */
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
    border-radius: 8px;
}
.youtube-lite img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.youtube-lite .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 48px;
    /*background: url('/wp-content/uploads/2025/06/play-v1.webp') no-repeat center center;*/
    background: url('/wp-content/uploads/2025/09/YouTube_play_button_icon.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* --------------------------------------------------
   VARIABLES
-------------------------------------------------- */

:root {
    /* Colors */
    --red: #B52A07;
    --yellow: #FFC744;
	/* Typography */
	--footer-font-size: clamp(14px, 0.3vi + 12.18px, 18px);
}

/* --------------------------------------------------
   PAGE PAYS taxonomy-pays.php
-------------------------------------------------- */

.archive .page-title { text-align: center; }
.archive .ast-archive-description {
	background-color: transparent !important;
}

/* --------------------------------------------------
   CARD CONTE
-------------------------------------------------- */
:root {
	--conte-wrapper-card-gap: 20px;
	--conte-card-width: 50%;
	--conte-card-border-radius: 20px;
	--conte-card-padding-block-end: 5px;
	--conte-card-padding-block-start: 5px;
}
/* Cards wrapper */
.archive .ast-row {
    display: flex;
    gap: var(--conte-wrapper-card-gap);
    flex-wrap: wrap;
	justify-content: center;
}
/* Card */
.archive .ast-row .contes {
    flex: 1 1 100%;
    max-width: 100%;
	border-radius: var(--conte-card-border-radius);
	padding: var(--conte-card-padding-block-end) !important;
	
	font-family: var( --e-global-typography-34a6a8a-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-34a6a8a-font-weight );
    color: var( --e-global-color-astglobalcolor2 );
}
.archive .ast-row .contes .post-thumb-img-content {
	display:flex;
	justify-content:center;
}

@media (min-width: 768px) {
	.archive .ast-row .contes {
		flex: 0 1 calc(var(--conte-card-width) - var(--conte-wrapper-card-gap));
		max-width: calc(var(--conte-card-width) - var(--conte-wrapper-card-gap));
	}
}
.archive .ast-row .contes:hover {
    box-shadow: 0px 64px 100px 0px rgba(0, 0, 0, 0.5);
}
.archive .entry-title{
	text-align:center;
}
.archive .entry-title a {
	line-height: 1.3em;
	font-size: 2rem;
	font-family: var( --e-global-typography-524f081-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-524f081-font-weight );
    color: var( --e-global-color-astglobalcolor2 );
	
}
.archive .read-more a {
	
	font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    font-size: 0.8125rem;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
	
	width: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    padding-top: 14px;
    padding-right: 22px;
    padding-bottom: 14px;
    padding-left: 22px;
	
	text-decoration: none;
    border-top-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;

    text-transform: uppercase;
    text-align: center;
	
	background-color: var( --e-global-color-1c43e17 );
    fill: var( --e-global-color-astglobalcolor2 );
    color: var( --e-global-color-astglobalcolor2 );
    border-style: solid;
    border-color: var( --e-global-color-1c43e17 );
}


.archive .page-title {
	display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
	font-family: var( --e-global-typography-524f081-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-524f081-font-weight );
}
.archive .tax-pays-flag {
	max-width: 80px;
    transform: translateY(5px);
}
.show-text-conte .dpt-has-teaser a{
	display: inline-block; 
	padding: 1px 10px;
  	border-radius: 10px;
  	background: var(--yellow) !important;
	margin-bottom:10px !important;
	margin-top:5px;
	font-weight: 600;
}
.show-text-conte .dpt-has-teaser a:hover{
	background: var(--yellow) !important;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
	padding:0px!important;
}

.site-above-footer-wrap, .site-below-footer-wrap {
	padding-top:0px!important;
}

.site-footer {
    line-height: 1.1;
}

.site-footer .site-below-footer-wrap { /* Footer wrapper */
	padding: 50px clamp(25px, 1.89vi + 13.64px, 50px);
    border: unset;
}

.site-footer .site-below-footer-wrap .site-below-footer-inner-wrap { /* Footer grid */
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
    justify-content: center;
	align-items: start;
    gap: 50px;
}

@media only screen and (min-width: 960px) {
    .site-footer .site-below-footer-wrap .site-below-footer-inner-wrap { /* Footer grid (desktop) */
        grid-template-columns: repeat(3, auto);
        grid-template-rows: auto;
        justify-content: space-between;
    }
}

.site-footer .site-below-footer-wrap .site-footer-section { /* Footer section */
    width: max-content;
	margin: unset !important;
}

/* ----- FOOTER LEFT SECTION */

.site-footer .site-footer-below-section-1 .ast-footer-copyright { /* Left section copyright */
	margin-left: unset;
	font-size: var(--footer-font-size);
    font-weight: 600;
    text-align: left;
}

.site-footer .site-footer-below-section-1 .ast-nav-menu { /* Left section nav menu */
    display: flex;
    flex-direction: row;
	justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
}

.site-footer .site-footer-below-section-1 .ast-nav-menu .menu-item:not(:last-child) { /* Left section menu items (desktop) */
	flex-direction: row !important;
	gap: 10px;
}
	
.site-footer .site-footer-below-section-1 .ast-nav-menu .menu-item:not(:last-child)::after { /* Separator between left section menu links (desktop) */
    content: "|";
}

.site-footer .site-footer-below-section-1 .ast-nav-menu .menu-link { /* Left section menu links */
    padding: unset !important;
    font-size: var(--footer-font-size);
    font-style: italic;
}

.site-footer .site-footer-below-section-1 .ast-nav-menu .menu-link:hover,
.site-footer .site-footer-below-section-1 .ast-nav-menu .menu-link:focus { /* Left section menu links (hover & focus states) */
    text-decoration-color: var(--yellow);
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-position: under;
	transition: none;
}

/* ----- FOOTER CENTER SECTION */

.site-footer .site-footer-section-2 .ast-flex { /* Center section flex container */
    flex-direction: row;
    gap: 10px;
    width: max-content;
    font-size: var(--footer-font-size);
    font-weight: 600;
}

.site-footer .site-footer-section-2 .footer-social-inner-wrap { /* Social items container */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.site-footer .site-footer-section-2 .footer-social-item { /* Social items */
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    margin: unset;
    padding: unset;
    text-align: unset !important;
    line-height: inherit;
}

.site-footer .site-footer-section-2 .footer-social-item .svg-baseline { /* Social item icons */
    width: 35px;
    height: auto;
    aspect-ratio: 1;
    background-color: var(--yellow);
    mask-size: 100% 100%;
}

.site-footer .site-footer-section-2 .footer-social-item[aria-label="Instagram"] .svg-baseline { /* Instagram icon */
    mask-image: url("/wp-content/uploads/2025/07/instagram-icon.svg");
}

.site-footer .site-footer-section-2 .footer-social-item[aria-label="Facebook"] .svg-baseline { /* Facebook icon */
    mask-image: url("/wp-content/uploads/2025/07/facebook-icon.svg");
}

.site-footer .site-footer-section-2 .footer-social-item[aria-label="YouTube"] .svg-baseline { /* YouTube icon */
    mask-image: url("/wp-content/uploads/2025/07/youtube-icon.svg");
}

.site-footer .site-footer-section-2 .footer-social-item[aria-label="Twitter"] .svg-baseline { /* Twitter icon */
    mask-image: url("/wp-content/uploads/2025/07/twitter-icon.svg");
}

.site-footer .site-footer-section-2 .social-item-label { /* Social item labels */
    padding: unset;
	color: var(--ast-global-color-2) !important;
}

.site-footer .site-footer-section-2 .footer-social-item:hover .social-item-label,
.site-footer .site-footer-section-2 .footer-social-item:active .social-item-label { /* Social item labels */
	text-decoration-color: var(--yellow);
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-position: under;
	transition: none;
}

/* ----- FOOTER RIGHT SECTION */

.site-footer .site-below-footer-wrap .site-footer-section-3 .ast-custom-button { /* Footer right section button */
    display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 30px;
}

.site-footer .site-below-footer-wrap .site-footer-section-3 .ast-custom-button::after { /* Footer right section button icon */
    content: "";
    width: auto;
    height: 30px;
    aspect-ratio: 1;
    background-color: var(--ast-global-color-2);
    mask-image: url("/wp-content/uploads/2025/07/send-icon.svg");
    mask-size: 100% 100%;
}

/* ----- MODAL NON CONNECTES */
/* Arrière-plan plein écran semi-transparent */
#login-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto; /* ✅ Scroll vertical si contenu déborde */
}

/* Conteneur scrollable et centré */
#login-modal .modal-content {
  position: relative;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: left;
  animation: fadeIn 0.3s ease;
  box-sizing: border-box;
  max-height: 90vh;          /* ✅ Hauteur max */
  overflow-y: auto;          /* ✅ Scroll interne si nécessaire */
}

/* Texte et lien */
#login-modal p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Bouton ✖ de fermeture */
#login-modal .close-modal {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  line-height: 1;
}

#login-modal .close-modal:hover {
  color: #000;
}
/*-------Lien de téléchargement des ressources---------*/
.secure-download {
  display: inline-block;
  padding: 8px 12px;
  background-color: #998cc0;   /* Couleur de fond */
  color: #351E15;                 /* Couleur du texte */
  text-decoration: none;       /* Supprimer le soulignement */
  border-radius: 6px;          /* Coins arrondis */
  font-weight: 600;            /* Texte un peu plus gras */
  transition: background 0.3s, transform 0.2s;
}

.secure-download:hover {
  background-color: #998cc0;   /* Couleur au survol */
  color: #fff; 
  transform: translateY(-2px); /* Petit effet de soulèvement */
}

.secure-download i {
  margin-right: 3px; /* Espacement entre l’icône et le texte */
  color: #351E15 !important; 
}
.secure-download i:hover {
  color: #fff !important; 
}



/* Responsive : petit écran */
@media screen and (max-width: 480px) {
  #login-modal .modal-content {
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  #login-modal p,
  #login-modal a {
    font-size: 0.95rem;
  }
}

/* sidebar filtres */
#filtres-wrapper{
	display: flex;
}

#filtres-mobile-wrapper .is-vertical{
	gap:10px;
}

#filtres-mobile-wrapper{
	margin-bottom:10px;
}

#filtres-widget{
	min-width:180px;
}

#filtres-widget h2{
	font-size: 18px;
  text-transform: uppercase;
  margin: 5px 0 10px 0;
}

#filtres-widget ul{
	list-style: none;
	margin: 0 0 30px 0;
}

#filtres-wrapper #filtres-widget{
		display: none;
	}

@media (min-width: 768px) {
	#filtres-wrapper #filtres-widget{
		display: block;
	}
	
	#filtres-mobile-wrapper #filtres-mobile-widget{
		display: none;
	}
	
}

.wpcf7-form-control-wrap {
	display: inline!important;
}



