@charset "utf-8";
/* CSS Document */

/* RETOUR BLOG */
.article-retour {	margin-bottom: 5px;	margin-top: -15px;}
.article-retour a {	color: #000;	text-decoration: none;	font-size: 14px;}
.article-retour a:hover { text-decoration: underline;}
/* ENTETE */
.article-entete {text-align: center;    margin-bottom: 30px;}
.article-entete .categorie {	color: #000;	font-size: 13px;	text-transform: uppercase;	letter-spacing: 1px;}
.article-entete h2 {    font-size: 32px;    font-weight: 400;   line-height: 1.4;    margin: 15px 0;}
.article-date {	color: #000;	font-size: 14px;}
/* IMAGE DE COUVERTURE */
.article-couverture {    text-align: center;    margin: 25px auto 35px;}
/*pour la photo d'entête*/
.article-couverture img {    width: 100%;    max-width: 1200px;    max-height: 600px;    height: auto;    object-fit: contain;    display: block;    margin: 20px auto;}
/* INTRODUCTION */
.article-introduction {	font-size: 18px;	line-height: 1.8;	color: #000;	margin-top: 20px;	margin-right: 0;	margin-bottom: 20px;	margin-left: 0;}
/* TEXTE DE L'ARTICLE */
.article-texte {	font-size: 16px;	line-height: 1.8;	color: #000;	overflow-wrap: break-word;}
.article-texte p {    margin-bottom: 18px;}
.article-texte h1,
.article-texte h2,
.article-texte h3 {    line-height: 1.4;    margin: 30px 0 15px;}
.article-texte img {    max-width: 100%;    height: auto;    display: block;    margin: 20px auto;}

/* PHOTOGRAPHIES INSEREES AVEC QUILL */
.article-texte figure.blog-image {    display: block;    max-width: 100%;    box-sizing: border-box;    margin: 20px auto;}
.article-texte figure.blog-image img {    display: block;    max-width: 100%;    width: 100%;    height: auto;    margin: 0 auto;}
.article-texte figure.blog-image figcaption {    display: block;    padding-top: 5px;    color: #555;    font-size: 0.88em;    font-style: italic;    text-align: center;}

/* Photographie à gauche */

.article-texte figure.blog-image-left {
    float: left;
    margin: 5px 18px 12px 0;
}

/* Photographie à droite */

.article-texte figure.blog-image-right {
    float: right;
    margin: 5px 0 12px 18px;
}

/* Photographie centrée */

.article-texte figure.blog-image-center {
    float: none;
    margin: 20px auto;
}

/* Alignements et formats Quill */

.article-texte .ql-align-center {
    text-align: center;
}

.article-texte .ql-align-right {
    text-align: right;
}

.article-texte .ql-align-justify {
    text-align: justify;
}

.article-texte .ql-indent-1 {
    padding-left: 3em;
}

.article-texte .ql-indent-2 {
    padding-left: 6em;
}

.article-texte .ql-font-serif {
    font-family: Georgia, serif;
}

.article-texte .ql-font-monospace {
    font-family: Courier, monospace;
}

/* Affichage smartphone */

@media (max-width: 600px) {

    .article-couverture img {
        width: 100%;
        max-height: 450px;
    }

    .article-texte figure.blog-image-left,
    .article-texte figure.blog-image-right,
    .article-texte figure.blog-image-center {
        float: none;
        width: 100% !important;
        max-width: 100%;
        margin: 20px auto;
    }

    .article-texte img {
        max-width: 100%;
        height: auto;
    }
}


.article-texte figcaption {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 8px;
}

.article-texte blockquote {
    margin: 25px 0;
    padding: 12px 20px;
    border-left: 3px solid #7A1648;
    color: #666;
}

.article-texte ul,
.article-texte ol {
    padding-left: 30px;
    margin-bottom: 20px;
}

.article-texte table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-texte td,
.article-texte th {
    border: 1px solid #ddd;
    padding: 8px;
}

.article-texte iframe,
.article-texte video {
    max-width: 100%;
}

.article-texte video {
    height: auto;
    display: block;
    margin: 20px auto;
}

.article-texte iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

/* FIN DE L'ARTICLE */

.article-fin {
    border-top: 1px solid #ddd;
    margin-top: 45px;
    padding-top: 20px;
    text-align: center;
}

.article-fin a {
    color: #7A1648;
    text-decoration: none;
    font-weight: bold;
}

.article-fin a:hover {
    text-decoration: underline;
}

/* ARTICLE INTROUVABLE */

.article-erreur {
    text-align: center;
    padding: 50px 20px;
}

.article-erreur h2 {
    font-weight: 400;
}

/* SMARTPHONES */
@media (max-width: 600px) {
.article-container { width: 94%; margin: 25px auto; }
.article-entete h2 { font-size: 25px;}
.article-introduction { font-size: 16px; }
.article-texte {font-size: 15px;}
.article-couverture img {max-height: 450px; }
.article-texte table { font-size: 13px; }
}
/* CONTENEUR GENERAL */
/* TITRE */
.blog-titre {    text-align: center;    margin-bottom: 25px;}
.blog-titre h2 {    font-size: 30px;    font-weight: 400;    margin-bottom: 10px;}
.blog-titre p {	font-size: 16px;	color: #000;}
/* CATEGORIES */
.blog-categories {    display: flex;    justify-content: center;    flex-wrap: wrap;    gap: 10px;    margin-bottom: 35px;}
.blog-categories a {	text-decoration: none;	color: #000;	border: 1px solid #333;	border-radius: 20px;	padding: 8px 16px;	font-size: 14px;}
.blog-categories a:hover,.blog-categories a.active {    background: #333;    color: white;}
/* GRILLE DES ARTICLES */
.blog-grille {    display: grid;    grid-template-columns: repeat(4, minmax(0, 1fr));    gap: 25px;    align-items: stretch;}
/* CARTE */
.blog-carte {	background: white;	border: 1px solid #ddd;	border-radius: 6px;	overflow: hidden;	box-shadow: 0 2px 8px rgba(0,0,0,0.06);	display: flex;	flex-direction: column;	padding-top: 10px;}
/* IMAGE */
.blog-carte img {    width: 100%;    height: 260px;    object-fit: contain;    display: block;    background: #f4f4f4;}
/* CONTENU */
.blog-contenu {   padding: 18px;    display: flex;    flex-direction: column;    flex: 1}
.blog-categorie {font-size: 12px;	color: #000;	text-transform: uppercase;	letter-spacing: 1px;}
.blog-contenu h3 {   font-size: 21px;    margin: 10px 0;}
.blog-contenu h3 a {color: #000;	text-decoration: none;}
.blog-date {	font-size: 13px;	color: #000;	margin-bottom: 12px;}
.blog-introduction {
	font-size: 15px;
	line-height: 1.7;
	color: #000;
}
.blog-lire {    display: inline-block;    margin-top: auto;    padding-top: 15px;    color: #7A1648;    text-decoration: none;    font-weight: bold;}
.blog-lire:hover {    text-decoration: underline;}
/* AUCUN ARTICLE */
.blog-vide {    text-align: center;    padding: 40px;    color: #777;}
/* PAGINATION */
.blog-pagination { display: flex; justify-content: center;    align-items: center;    gap: 25px;    margin: 40px 0;    flex-wrap: wrap;}
.blog-pagination a {    display: inline-block;    padding: 10px 20px;    border: 1px solid #aaa;    border-radius: 25px;    color: #333;    text-decoration: none;    font-size: 14px;}
.blog-pagination a:hover {    background: #333;    color: white;}
.blog-pagination span {font-size: 14px;color: #777;}
/* TABLETTES */
@media (max-width: 900px) {
.blog-grille {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
/* SMARTPHONES */
@media (max-width: 600px) {
.blog-container { width: 94%; margin: 20px auto; }
.blog-grille {grid-template-columns: 1fr;}
.blog-carte img { height: 230px;}
.blog-titre h2 {font-size: 25px; }
.blog-categories { gap: 8px;}
.blog-pagination {gap: 10px;    }
}

