/*
Theme Name: retrotube enfant
Description: Theme enfant de Benoit WPServeur
Author: Manu
Author URI: https://www.wpserveur.net
Template: retrotube
Version: 0.1.3
*/

/* Accessibility fix: links had no explicit color, so browsers fell back to
   default blue/purple, which fails contrast against the site's dark
   backgrounds (e.g. the "Amatrices" / "Voisines en Livecam" footer links). */
a,
a:visited {
	color: inherit;
}

/* Accessibility fix: the parent theme hides the "More videos" label with
   display:none at several breakpoints, leaving the link with only an icon
   and no accessible name. Hide it visually instead, while keeping it in the
   accessibility tree. */
.more-videos span {
	display: inline;
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	word-wrap: normal !important;
}

/* CLS fix: the header ad slot (regie.oopt.fr) starts as an empty <div class="mopt">
   that a third-party script turns into a 950x150 iframe after load, with no
   space reserved beforehand, causing the whole header to jump when it arrives. */
.site-branding .happy-header {
	min-height: 150px;
}

.happy-header-mobile {
	min-height: 150px;
}

/* Accessibility fix: "Follow us:" text was #777 on a #111 background
   (~4.2:1), just under the 4.5:1 minimum for normal text. */
.top-bar small {
	color: #999;
}
/* CLS fix: the livecam widget under the video player now loads its
   third-party script lazily (on interaction or after 5s, for PageSpeed),
   so its container is empty/shorter at first then grows once content
   arrives - reserve roughly its settled height to avoid pushing the
   content below it down when that happens. */
.happy-under-player,
.happy-under-player-mobile {
	min-height: 450px;
}
