/*
Theme Name: jeepp theme
Theme URI: https://jeepp.ch
Author: dasein.studio
Author URI: https://dasein.studio
Description: Thème minimaliste sans design, adaptatif et fonctionnel.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jeepp-theme
*/

/* --- 1. DÉFINITION DES POLICES (FONT-FACE) --- */
@font-face {
    font-family: 'jeepp';
    src: url('fonts/jeepp.woff2') format('woff2'),
        url('fonts/jeepp.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adobe Caslon Pro';
    src: url('fonts/ACaslonPro-Regular.woff2') format('woff2'),
         url('fonts/ACaslonPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Big Caslon CC Black';
    src: url('fonts/BigCaslonFB-Black.woff2') format('woff2'),
         url('fonts/BigCaslonFB-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Big Caslon CC BoldItalic';
    src: url('fonts/BigCaslonFB-BoldItalic.woff2') format('woff2'),
         url('fonts/BigCaslonFB-BoldItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}


@font-face {
    font-family: 'NeueHaasGroteskDisp Pro Blk';
    src: url('fonts/NHaasGroteskDSPro-96BlkIt.woff2') format('woff2'),
        url('fonts/NHaasGroteskDSPro-96BlkIt.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHaasGroteskDisp Pro Blk';
    src: url('fonts/NHaasGroteskDSPro-95Blk.woff2') format('woff2'),
        url('fonts/NHaasGroteskDSPro-95Blk.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHaasGroteskText Pro';
    src: url('fonts/NHaasGroteskTXPro-55Rg.woff2') format('woff2'),
        url('fonts/NHaasGroteskTXPro-55Rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHaasGroteskText Pro';
    src: url('fonts/NHaasGroteskTXPro-56It.woff2') format('woff2'),
        url('fonts/NHaasGroteskTXPro-56It.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHaasGroteskText Pro Md';
    src: url('fonts/NHaasGroteskTXPro-65Md.woff2') format('woff2'),
        url('fonts/NHaasGroteskTXPro-65Md.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHaasGroteskText Pro Md';
    src: url('fonts/NHaasGroteskTXPro-66MdIt.woff2') format('woff2'),
        url('fonts/NHaasGroteskTXPro-66MdIt.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHaasGroteskText Pro';
    src: url('fonts/NHaasGroteskTXPro-75Bd.woff2') format('woff2'),
        url('fonts/NHaasGroteskTXPro-75Bd.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHaasGroteskText Pro';
    src: url('fonts/NHaasGroteskTXPro-76BdIt.woff2') format('woff2'),
        url('fonts/NHaasGroteskTXPro-76BdIt.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}


/* --- 2. RESET & BASE --- */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Adobe Caslon Pro', serif;
    line-height: 1.4;
    color: #333;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	    background-color: #CBE9FC ; /*dfc3cc c7d6d6*/

}

a { color: #000; text-decoration: underline; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }
/* --- 3. LAYOUT & HEADER --- */

header {
    padding: 4rem 1rem 1rem 1rem;
    width: 100%;
    /* Optionnel : si vous voulez que le fond du header s'arrête aussi à 1000px, 
       déplacez le max-width et le margin ici plutôt que sur les enfants */
}

.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center; /* Garde le contenu centré si nécessaire */
    justify-content: flex-start; 
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
}



.site-branding {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    /* Cela ignore le padding du header pour la largeur du contenu, s'alignant ainsi parfaitement sur main */

}

/* Le reste de votre code reste identique */
.site-branding h1 {
    font-family: 'jeepp', normal;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    width: 100%;
    display: block;
    box-sizing: border-box; /* Important pour que la bordure ne dépasse pas */
	    hyphens: auto; /* Active la gestion des traits d'union */
    overflow-wrap: break-word;
}

.site-branding h1 a {
    color: #000;
    text-decoration: none;
}

.site-description {
    font-family: 'Big Caslon CC Black', serif;
    font-size: 1.8rem;
    margin-top: 0;
    line-height: 1.4;
    width: 100%;
    max-width: 100%;
	padding-left:15px;
	text-align: center;
	letter-spacing: -0.03em;
	padding: 20px 0px 20px 0px;
}
.sous_titre_contextuel
{ display: none;}
.entry-header {
  display: none;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: left;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
	
	max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
	padding-left:14px;

}

nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'NeueHaasGroteskText Pro Md', normal;
	    margin: 0rem;

}

nav ul li a:hover {
    background-color: black;
    color: white;
    border: 1px solid white;
}

nav ul li a {
    background-color: white;
    display: block;
    text-decoration: none;
    color: #000;
    border: 1px solid black;
    padding: 0.25rem 0.5rem;
    transition: all 0.4s ease;
}

#menu-menu-principal li.current-menu-item > a {
    color: white;
    background-color: black;
    border: 1px solid white;
}

/* bouton */

.bouton:hover {
    background-color: black;
    color: white;
    border: 1px solid white;
    padding: 0.25rem 0.5rem;
}



.bouton {
    background-color: white;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    padding: 0.25rem 0.5rem;
    transition: all 0.4s ease;
	width: auto;
    font-family: 'NeueHaasGroteskText Pro Md', normal;
}

/* IMAGES */
/* payer avec twint */


.img_TWINT
{
	
	display: block !important;
		background-color: white;
    height: 322px;
    width: 322px;
	padding:10px;
	margin:20px 0px 20px 0px;
}

/* Contenu Principal */
main {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box; /* Assure que le padding est inclus dans la largeur */
}

article {
    margin-bottom: 2rem;
		 font-size: 1.3rem;

}


/* Titres d'articles - Masqués mais présents pour le SEO */
.entry-title {
    display: none;

}

.entry-content
{
    padding-top:  1rem;
	    padding-bottom:  1rem;


}


/* typo */
.warning {
  animation: clignotement-rapide 0.5s infinite;
}

@keyframes clignotement-rapide {
  0% {
    color: red;
  }
  50% {
    color: white;
  }
  100% {
    color: red;
  }
}

.entry-content strong {
	    font-family: 'NeueHaasGroteskText Pro Md', normal;
	font-size: 1rem;

}



/* Pied de page - Aligné sur la largeur de l'article (entry-header) */
footer {

    text-align: left;
    font-size: 0.9rem;
    
    /* Mêmes contraintes de largeur que le contenu principal (main) */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto; /* Centre le bloc pour qu'il s'aligne avec l'article */
    
    /* Ajustement du padding pour correspondre visuellement */
    padding: 2rem 1rem;
}
/* --- 4. RESPONSIVE MOBILE --- */
@media (max-width: 900px) {

	
	


  nav ul {
	padding-left:0px;
		gap: 0.5rem;

    }	
	
}
@media (max-width: 600px) {
    nav ul {
	padding-left:0px;
		gap: 0.5rem;

    }
	
.titre_leger {
  display: none;
}

/* 2. Style pour les parties GRASSES (J, É, E, P, P) */
.titre_gras {
    display: inline-block; /* Nécessaire pour gérer padding/margin si besoin, mais ici on veut 0 */
    margin: 0 !important;
	width: 100%;
    white-space: nowrap; /* Empêche le retour à la ligne à l'intérieur de la lettre */
    vertical-align: top; /* Aligne parfaitement avec le texte à côté */
    /* Force l'interlettrage à 0 */
	text-align: center;
}


header {
    padding: 1rem 1rem 1rem 1rem;
		}
	.site-description {
        font-size: 1.25rem;

	}
	
	.sous_titre_contextuel
{ display: inline-block;}
}