/* --- Style global des encarts de citation et sommaires --- */
blockquote {
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #FFD700 !important; /* Rappel jaune signature en bordure gauche */
    background-color: #f7fafc !important; /* Fond gris/bleu très clair cohérent avec la sidebar */
    padding: 1.15rem 1.5rem !important;
    margin: 1.5em 0 !important;
    border-radius: 0 6px 6px 0;
    line-height: 1.75;
}

/* --- Style du texte général de la citation --- */
blockquote p,
blockquote span {
    color: #2d3748 !important;
    margin-bottom: 0.4em;
}

blockquote p:last-child {
    margin-bottom: 0 !important;
}

/* --- 1. Style sobre des liens dans les citations (Sommaires, topos, tarifs, récits) --- */
blockquote a[style*="color"],
blockquote a {
    color: #0b2a43 !important; /* Bleu nuit signature */
    font-weight: 700 !important;
    background-color: transparent !important; /* Fini les gros pavés jaunes ! */
    border-bottom: 2px solid #FFD700 !important; /* Soulignement Or identique aux titres de la sidebar */
    padding: 0.05em 0.15em;
    border-radius: 0;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

/* --- Survol des liens standards dans les citations --- */
blockquote a[style*="color"]:hover,
blockquote a:hover {
    background-color: #FFD700 !important; /* Surlignage Or uniquement au passage de la souris */
    color: #0b2a43 !important;
    border-radius: 3px;
    text-decoration: none !important;
}

/* --- 2. Style "Bouton" réservé uniquement au lien "Contactez-moi" dans les citations --- */
blockquote a[href*="/contact"] {
    background-color: #0b2a43 !important; /* Bouton Bleu Nuit élégant et pas criard */
    color: #ffffff !important;
    border: 1px solid #0b2a43 !important;
    border-left: 3px solid #FFD700 !important; /* Petit liseré Or à gauche du bouton */
    padding: 0.15em 0.55em !important;
    border-radius: 4px !important;
    display: inline-block;
    line-height: 1.35;
}

blockquote a[href*="/contact"]:hover {
    background-color: #FFD700 !important;
    color: #0b2a43 !important;
    border-color: #0b2a43 !important;
}

/* --- Style global de la barre latérale --- */
.widget-area {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}

/* --- Titres des widgets dans la barre latérale --- */
.widget-area .widget-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #0b2a43;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* --- Liens à l'intérieur des widgets --- */
.widget-area a {
    color: #2d3748;
    text-decoration: none;
}

.widget-area a:hover {
    color: #0b2a43;
    text-decoration: underline;
}

/* Masquer la grande image à la une en haut des articles (évite le doublon avec le schéma du topo) */
.single-post .article-post-thumbnail {
    display: none !important;
}

@media print {
    /* 1. Masquer tout le superflu (menu, sidebar livre d'or, articles similaires, commentaires, encadrés pub, footer) */
    #masthead, #mobile-header, #secondary, .entry-related, #comments, .entry-meta,
    .post-navigation, .sharedaddy, #colophon, .entry-footer,
    .entry-taxonomies, blockquote, .tiled-gallery, .no-print {
        display: none !important;
    }

    /* 2. Forcer le topo à occuper 100 % de la largeur de la feuille A4 sans marges ni ombres */
    body, #wrapper, #primary, .content-container, #main, .entry, .entry-content-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        color: #000 !important;
        display: block !important;
    }

    /* 3. Typographie compacte spécial "Fiche Topo A4" */
    body {
        font-size: 11pt !important;
        line-height: 1.4 !important;
    }
    h1.entry-title {
        font-size: 16pt !important;
        margin-bottom: 6pt !important;
        text-align: left !important;
    }
    h2.topo-h2 {
        font-size: 13pt !important;
        margin-top: 10pt !important;
        border-bottom: 1px solid #000;
        page-break-after: avoid;
    }
    h3.topo-h3-block, h3.topo-h3-inline {
        font-size: 11pt !important;
        page-break-after: avoid;
    }

    /* 4. Empêcher que le schéma du topo soit coupé entre 2 pages et limiter sa hauteur */
    figure, img {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        max-height: 11cm !important;
        width: auto !important;
        margin: 8pt auto !important;