/*Ma feuille de CSS*/
/*TITRE ET SOUS-TITRE DU SITE*/
/* Masquer le titre automatique du site parce que le thème ne me permet pas de le faire*/
.mh-header-title {
    display: none;
}

/* Style du sous-titre du site */
.mh-header-tagline {
    font-size: 25px;
    font-weight: normal;
    text-align: left;
    margin-top: 10px;
	  color: black;
}

/*Sous-titre responsive sur mobile*/
@media screen and (max-width: 768px) {
    .mh-header-tagline {
        font-size: 14px;
        display: block;
        width: 100%;
        text-align: left;
        margin-top: 5px;
    }
}

/**ALIGNEMENT À TRAVERS LE SITE**/
/* Centrer les images et leurs légendes dans les articles */
.single-post .post img,
.single-post .entry-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Centrer les légendes des images */
.single-post .post figcaption,
.single-post .entry-content figcaption {
    text-align: center;
    margin-top: 3px; 
}

/* Justifier le texte dans tout le site */
body,
.single-post .entry-content,
.page .entry-content,
.post .post-content,
.entry-content p {
    text-align: justify;
}

/* Alignement à gauche des titres */
.single-post .entry-header,
.page .entry-header {
    text-align: left; 
}

/*Alignement à gauche pour les listes à puces*/
body,
.entry-content li {
		text-align: left;
}

/* Alignement à gauche du copyright dans le footer */
.mh-copyright {
    text-align: left !important;
}

/**FIL D'ARIANE ET FONCTIONNALITÉS DU THÈME**/
/* Masquer le fil d’Ariane automatique avec le thème */
.mh-post-nav {
    display: none;
}

/*Élargissement du News Ticker*/
.mh-header-ticker {
    width: 120%; 
}

.mh-ticker-content {
    white-space: nowrap; 
    overflow: visible; 
}

/*MENUS*/
/* Étendre les onglets du menu principal sur toute la largeur */
.mh-main-nav .menu {
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Chaque élément du menu prend une part égale */
.mh-main-nav .menu li {
    flex: 1; 
    text-align: center;
    list-style: none;
}

/* Aligner à gauche les sous-onglets du menu */
.mh-main-nav-wrap nav.mh-main-nav #menu-francais-2025 .sub-menu a {
  text-align: left !important;
  display: block;           
  white-space: nowrap;     
}

/*MÉDIATHÈQUE*/
/*Aligner la barre de recherche et le bouton Rechercher*/
@media (max-width: 464px) {
    .catalogue-search-bar .catalogue-btn {
    height: 100%;
    padding: 0 12px;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #ff595a;
    color: #fff;
    border: none;
    cursor: pointer;
}
	
	/* Ajustement des marges des pages contenant des filtres */
.catalogue-search-bar input[type="text"] {
    flex: 100%;
    height: 40%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    width: 100%;
}
} /*ne pas retirer*/

.catalogue-container {
padding-top: 30px;
	padding-bottom: 20px;
	padding-left: 30px;
	padding-right: 30px;
}

.mh-wrapper.clearfix {
	padding-top: 30px;
	padding-bottom: 20px;
	padding-left: 30px;
	padding-right: 30px;
}

/* Alignement à gauche des noms au-dessus des titres */
.catalogue-category {
    text-align: left;
}

/*CONTRIBUTEUR·TRICES - voué à disparaitre - en attente validation Ariane*/
.contribution-wrapper {
    text-align: center; 
}

.contribution-type {
    display: inline-block;
    color: #979797; 
    font-style: italic;
    padding-top: 4px;
		padding-bottom: 0px;
    font-size: 0.9em;
}

.contribution-type:last-child {
    margin-right: 0;
}

/*PAGE D'ACCUEIL*/

/*Masquer le titre Accueil de la page d'accueil*/
body.page-id-305 .entry-title {
    display: none;
} 

/* Style des cartes des carrousels*/
.category-terms {
    font-size: 16px;
    font-weight: 600;
    color: #ff595a;
    margin-bottom: 7px;
	margin-top: 7px;
}

/* Ajustement du bouton rouge pour consulter la médiathèque */
.wp-block-button__link.has-vivid-red-background-color {
  background-color: #ff595a !important;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);             
  transition: background .2s ease, color .2s ease,
              transform .2s ease, box-shadow .2s ease;  
  will-change: transform;
}

.wp-block-button__link.has-vivid-red-background-color:hover,
.wp-block-button__link.has-vivid-red-background-color:focus {
  background-color: #2a2a2a !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);             
  box-shadow: 0 6px 16px rgba(0,0,0,.22);             
  animation: btn-bounce .35s ease-out;                   
}

.wp-block-button__link.has-vivid-red-background-color:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255,89,90,.35), 0 6px 16px rgba(0,0,0,.22);
}

/*Mise en forme des hyperliens, aucun soulignement, aucun changement de couleur*/
a,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none;
}

/*FOOOOOTER*/

.mh-footer-area {
    text-align: center;
}

.mh-footer-widgets {
    padding-top: 50px;
}

/*Bloc Présence au Festival.... EST-CE QU'ON LE GARDE??*/

.presence-au-festival-bloc {
    background: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    padding: 1.5em 2em;
    display: flex;
    align-items: flex-start; 
    gap: 2em;
    margin: 2.5em 0em 0 0;
}

.presence-au-festival-bloc .presence-texte {
    flex: 1;
    color: #000000;
    padding-top: 1em;
}

.presence-au-festival-bloc p {
    color: #000000;
}

.presence-au-festival-bloc a {
    color: #ff595a;
    text-decoration: none;
}

.presence-au-festival-bloc a:hover {
    text-decoration: underline;
}

.presence-au-festival-bloc .presence-logo {
    flex-shrink: 0;
    padding-right: 1em;
}

.presence-au-festival-bloc .presence-logo img {
    width: 120px;
    display: block;
}

@media (max-width: 768px) {
    .presence-au-festival-bloc .presence-logo {
        display: none;
    }
}

/*Ajout esthétique de lignes fines pour encadrer le texte de présentation sur les pages fixes*/
.ligne-page{
	border: none;
border-top: 1px solid #e9e9e9;
	margin-bottom: 20px;
}

/* L'image mise en avant à s'aligne à gauche si elle est rognée */
.wp-post-image, .featured-image, .post-thumbnail img {
    object-position: left center !important;
    object-fit: cover;
}


/*DOSSIERS*/
/*Mention du dossier dirigé par...*/
.sous-responsabilite {
    padding-top: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.sous-responsabilite .dossier-dir-label {
    color: #000;
}

.sous-responsabilite .dossier-dir-auteur {
    color: #000;
    text-decoration: none;
}

.sous-responsabilite .dossier-dir-auteur:hover {
	color: #ff595a;
    text-decoration: none;
}

/*MISE EN FORME SPÉCIFIQUE À CERTAINS CONTENUS*/

/*Encadré sur les articles Vallium*/
.encadre-vallium {
    border: 4px solid #e4e4e4;
	border-radius: 5px;
	padding: 20px 20px 10px 20px;
}

/*Encadré pour la mise en évidence ou avertissement sur un dossier*/
.encadre-dossier {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/*Mise en forme des hyperliens sur l'article de Émilie Turmel */
.postid-10364 .entry-content a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.postid-10364 .entry-content a:hover,
.postid-10364 .entry-content a:focus {
	text-decoration: underline;
}