/*
Theme Name:Togo Child
Theme URI: https://togo.uxper.co/
Author: Uxper
Author URI: http://uxper.co/
Description: This is a child theme of Togo
Template: togo
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.4
License URI: https://choosealicense.com/licenses/gpl-2.0/
Text Domain: togo-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* ============================================================
   BLOG ARTICLES — Système typographique complet
   Cible : .single-post .entry-content
   Polices : Playfair Display / Source Serif 4 / Inter
   ============================================================ */

/* ── Conteneur ─────────────────────────────────────────────── */
.single-post .entry-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Corps du texte ─────────────────────────────────────────── */
.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content td {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: #3a3a3a;
    margin-bottom: 2.5rem;
    margin-top: 0;
}

/* ── Premier paragraphe = Lead ──────────────────────────────── */
.single-post .entry-content > p:first-of-type,
.single-post .entry-content .blog-article-wrap > p:first-of-type {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    color: #222;
}

/* ── Titres H1 ──────────────────────────────────────────────── */
.single-post .entry-title,
.single-post .entry-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #111;
    margin-bottom: 1.75rem;
}

/* ── Titres H2 ──────────────────────────────────────────────── */
.single-post .entry-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    color: #111111;
    margin-top: 3rem;
    margin-bottom: 0;
    padding-top: 2.5rem;
    border-top: 1px solid #e5e5e5;
    position: relative;
}

/* Trait décoratif sous chaque H2 */
.single-post .entry-content h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #999;
    opacity: 0.4;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

/* ── Titres H3 ──────────────────────────────────────────────── */
.single-post .entry-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #fd4621;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* ── Listes ─────────────────────────────────────────────────── */
.single-post .entry-content ul {
    list-style: none;
    padding-left: 1.2rem;
    margin-bottom: 1.25rem;
}

.single-post .entry-content ul li {
    position: relative;
    padding-left: 1.4rem;
    padding-bottom: 0.6rem;
    border-bottom: 0.5px solid #eee;
    margin-bottom: 0;
}

.single-post .entry-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #fd4621;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    top: 2px;
}

/* Sous-listes : flèche plus discrète */
.single-post .entry-content ul ul {
    margin-top: 0.6rem;
    margin-bottom: 0;
    padding-left: 1rem;
}

.single-post .entry-content ul ul li::before {
    content: '–';
    color: #aaa;
}

.single-post .entry-content ul ul li {
    border-bottom: none;
    padding-bottom: 0.3rem;
}

/* ── Blockquotes / Citations ─────────────────────────────────── */
.single-post .entry-content blockquote {
    border-left: 2px solid #ccc;
    padding: 0.75rem 1.25rem;
    margin: 2rem 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-style: italic;
    color: #666;
    background: transparent;
}

.single-post .entry-content blockquote p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 0;
    color: #666;
}

/* ── Images ─────────────────────────────────────────────────── */
.single-post .entry-content figure {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Première figure = hero */
.single-post .entry-content figure:first-of-type img,
.single-post .entry-content .blog-hero img {
    border-radius: 12px;
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Images inline */
.single-post .entry-content figure img {
    width: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

/* Légendes */
.single-post .entry-content figcaption,
.single-post .entry-content figure figcaption {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
    font-weight: 400;
}

/* ── Meta (date, auteur, catégorie) ─────────────────────────── */
.single-post .entry-meta,
.single-post .entry-meta *,
.single-post .entry-category,
.single-post .entry-date,
.single-post .entry-author {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
}

/* ── Bloc CTA automatique après chaque H2 ────────────────────── */
.single-post .entry-content .cta-block {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.single-post .entry-content .cta-block .cta-btn {
    display: inline-block;
    background: #fd4621;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.single-post .entry-content .cta-block .cta-btn:hover {
    background: #e03a18;
    transform: translateY(-1px);
}

/* ── Bouton Contactez-nous (legacy .blog-cta) ────────────────── */
.single-post .entry-content .blog-cta {
    text-align: center;
    margin: 3rem 0 0.5rem;
}

.single-post .entry-content .blog-cta a {
    display: inline-block;
    background: #fd4621;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.single-post .entry-content .blog-cta a:hover {
    background: #e03a18;
    transform: translateY(-1px);
}

/* ── Espacement hero ─────────────────────────────────────────── */
.single-post .entry-thumbnail {
    margin-bottom: 2rem;
}

/* ── Strong dans le body ─────────────────────────────────────── */
.single-post .entry-content strong {
    font-weight: 700;
    color: #222;
}
