/* === Reset & corps de page === */
body {
    font-family: Georgia, Times, Arial, Montserrat, sans-serif;
    margin: 0;
    padding: 0;
    background: url("Chef de cuisine.jpg") no-repeat center center fixed;
    background-size: cover;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Conteneur principal === */
.container {
    width: 75%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* === Header === */
.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #fffae6;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.header .title {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

.header .title img {
    height: 50px;
    margin-right: 10px;
}

.header .links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.header .links a {
    background: #ffeb99;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 0.95em;
}

.header .links a:hover {
    background: #ffe066;
}

/* === Titres secondaires & meta === */
.article-title {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 8px;
}

.article-meta {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

/* === Article body et disposition image + texte === */
.article-body {
    background: #fafafa;
    padding: 15px;
    border-radius: 6px;
    line-height: 1.6;
    overflow: hidden; /* contient float */
}

.article-img {
    float: left;
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 20px 10px 0;
}

.article-content {
    white-space: normal;
    margin: 0;
    padding: 0;
}

/* === Boutons === */
.btn {
    display: inline-block;
    padding: 6px 12px;
    background: #ffeb99;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin-top: 10px;
}

.btn:hover {
    background: #ffe066;
}

/* === Titres principaux et BBCode === */
.main-h1,
.bb-h1 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 12px 0;
    font-weight: bold;
}

.article-content h2{
    font-size:20px;
    font-weight:500;        /* moins gras */
    letter-spacing:0.3px;  /* plus élégant */
    margin:1.4em 0 0.6em;
    color:#333;
}

.article-content h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 8px 0;
    font-weight: bold;
}

/* === Gras et strong === */
.article-content b,
.article-content strong {
    font-size: 1em;
    font-weight: 600;
}

/* Style global pour tous les liens */
a {
    color: #0066cc;           /* bleu principal */
    text-decoration: none;    /* pas de soulignement */
    transition: 0.2s;
}

a:hover {
    color: #004a99;           /* bleu plus foncé au survol */
    text-decoration: underline;
}

/* Si tu veux que les liens intégrés dans les paragraphes aient un petit style "toquata" */
p a {
    background: #f2f6ff;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Bloc À découvrir pour les articles */
.a-decouvrir {
    background-color: #f9f9f9;      /* léger fond gris */
    padding: 0.5em 0.8em;
    border-left: 3px solid #ccc;    /* accent à gauche */
    margin-bottom: 1em;
    font-size: 0.95rem;             /* légèrement plus petit que le texte principal */
    line-height: 1.4;
}

.a-decouvrir strong {
    display: block;
    margin-bottom: 0.3em;
    font-weight: 600;
    color: #333;
}

.a-decouvrir ul {
    margin: 0;
    padding-left: 1.2em;
}

.a-decouvrir li {
    margin-bottom: 0.3em;
}

.a-decouvrir a {
    text-decoration: none;
    color: #0077cc;                 /* bleu Toquata */
    transition: 0.2s;
}

.a-decouvrir a:hover {
    text-decoration: underline;
    color: #004a99;
}


/* === Responsive mobile === */
@media (max-width:768px){
    .container {
        width:95%;
        padding:10px;
    }
    .header {
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
    .header .links {
        width:100%;
        justify-content:flex-start;
    }

    /* Titres et texte responsive */
     .main-h1,
    .bb-h1 {
        font-size: 1.2rem;
    }
    .article-content h2 {
        font-size: 1.1rem;
    }
    .article-content h3 {
        font-size: 1rem;
    }
    .article-content b,
    .article-content strong {
        font-size: 0.95em;
    }
}
