/* Thème enfant Le Blog du Geek : surcharges chargées après all.css du parent. */

/* ---------------------------------------------------------------------------
 * Polices : woff2 (Titillium réduit au latin, FontAwesome réduit aux icônes utilisées).
 * Ces @font-face portent les mêmes descripteurs que ceux du parent : déclarés après,
 * ils les remplacent, et les anciens fichiers woff ne sont plus téléchargés.
 * ------------------------------------------------------------------------- */
@font-face { font-family: 'Titillium'; src: url('../fonts/titillium-light-webfont.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Titillium'; src: url('../fonts/titillium-lightitalic-webfont.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Titillium'; src: url('../fonts/titillium-regular-webfont.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Titillium'; src: url('../fonts/titillium-regularitalic-webfont.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Titillium'; src: url('../fonts/titillium-semibold-webfont.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'FontAwesome'; src: url('../fonts/fontawesome-subset.woff2') format('woff2'); font-weight: normal; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------------------
 * Accessibilité
 * ------------------------------------------------------------------------- */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}

/* Slogan de l'en-tête : contraste suffisant sur le fond sombre (#33363b). */
.site-description { color: #d4d6d9; color: rgba(255, 255, 255, 0.82); font-style: normal; }

/* ---------------------------------------------------------------------------
 * Fil d'Ariane
 * ------------------------------------------------------------------------- */
.lbdg-breadcrumbs { font-size: 14px; margin: 0 0 20px; color: #666; }
.lbdg-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.lbdg-breadcrumbs li { display: inline; }
.lbdg-breadcrumbs li + li::before { content: "\203A"; margin: 0 8px; color: #999; }
.lbdg-breadcrumbs a { color: #3b8dbd; }
.lbdg-breadcrumbs [aria-current] { color: #444; }

/* ---------------------------------------------------------------------------
 * Article : image à la une, titre, date
 * ------------------------------------------------------------------------- */
.single .post-thumbnail img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-byline time { white-space: nowrap; }
/* Signature sur l'image (bureau) : lien lisible sur le fond sombre. */
section.content .post-thumbnail .h1Container .post-byline a { color: #fff; text-decoration: underline; }

/* Intertitres et listes issus de la conversion Markdown (mu-plugin lbdg-seo). */
.entry-inner h2.lbdg-h2 { font-size: 24px; line-height: 1.3; font-weight: 600; margin: 28px 0 12px; color: #222; }
.entry-inner ul.lbdg-list, .entry-inner ol.lbdg-list { list-style: disc; margin: 0 0 20px 22px; }
.entry-inner ul.lbdg-list li, .entry-inner ol.lbdg-list li { margin: 0 0 6px; }
.entry-inner ol.lbdg-list li { list-style: decimal; }
.entry-inner .lbdg-tldr { background: #f4f5f6; border-left: 4px solid #3b8dbd; padding: 14px 18px; margin: 0 0 24px; }
.entry-inner .lbdg-tldr ul.lbdg-list, .entry-inner .lbdg-tldr ol.lbdg-list { margin-bottom: 0; }
.entry-inner .lbdg-tldr .section_important_things_article { display: block; margin-bottom: 8px; }
.entry-inner .lbdg-tldr p { margin-bottom: 8px; }

/* Encadré auteur */
.lbdg-author-box { margin-top: 30px; }
.lbdg-author-box .bio-name a { color: inherit; }
.lbdg-author-box .bio-more { margin-top: 8px; font-size: 14px; }

/* Articles liés : titres en h3 sans changer l'apparence */
.lbdg-related-heading { font-size: 18px; }
.related-posts h3.post-title { font-size: 15px; line-height: 1.4; }

/* ---------------------------------------------------------------------------
 * Pages de tag / catégorie : introduction éditoriale
 * ------------------------------------------------------------------------- */
.lbdg-term-intro { margin-bottom: 30px; font-size: 16px; line-height: 1.6; }
.lbdg-term-intro p + p { margin-top: 12px; }

/* ---------------------------------------------------------------------------
 * Barre latérale : icônes sociales SVG 48 px
 * ------------------------------------------------------------------------- */
.lbdg-social a.inline { display: inline-block; width: 48px; height: 48px; margin-right: 6px; border-radius: 6px; color: #fff; line-height: 0; }
.lbdg-social svg { width: 48px; height: 48px; padding: 9px; box-sizing: border-box; }
.lbdg-social-fb { background: #1877f2; }
.lbdg-social-x { background: #111; }
.lbdg-social-rss { background: #f26522; }
.lbdg-social a.inline:focus-visible { outline: 3px solid #3b8dbd; outline-offset: 2px; }

/* ---------------------------------------------------------------------------
 * Pied de page : liens d'information
 * ------------------------------------------------------------------------- */
.lbdg-footer-links ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lbdg-footer-links a { color: #ccc; color: rgba(255, 255, 255, 0.8); }
.lbdg-footer-links a:hover { color: #fff; }

/* ---------------------------------------------------------------------------
 * Publicité : stabilité de la mise en page (CLS)
 * ------------------------------------------------------------------------- */
/* Emplacement manuel en haut de page (voir LBDG_ADS_TOP_SLOT) : hauteur réservée avant chargement. */
.lbdg-ad-top { min-height: 280px; margin: 0 0 20px; text-align: center; }
@media only screen and (min-width: 720px) { .lbdg-ad-top { min-height: 100px; } }
/* Recommandation Google : masquer les blocs AdSense non remplis plutôt que laisser un vide. */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
/* Une annonce automatique ne doit pas déborder ni déformer une figure du contenu. */
.entry-inner figure .google-auto-placed { margin: 12px 0; }

/* ---------------------------------------------------------------------------
 * Mobile
 * ------------------------------------------------------------------------- */
@media only screen and (max-width: 719px) {
	/* Le titre n'est plus superposé à l'image : il passe dessous, l'image reste visible.
	   (sélecteurs plus forts que « section.content .post-thumbnail .h1Container » du parent) */
	body.single section.content .post-thumbnail { height: auto; max-height: none; overflow: visible; }
	body.single section.content .post-thumbnail .h1Container { position: static; width: auto; background: none; padding: 14px 0 0; }
	body.single section.content .post-thumbnail .h1Container .post-title { color: #222; text-shadow: none; font-size: 26px; line-height: 1.25; }
	body.single section.content .post-thumbnail .h1Container .post-byline,
	body.single section.content .post-thumbnail .h1Container .post-byline a { color: #666; }
	.lbdg-breadcrumbs { font-size: 13px; }
	.lbdg-social a.inline { margin-bottom: 6px; }
}
