﻿/*
Theme Name: MasterGroove Theme
Theme URI: https://mastergroove.kaliprod.com/
Description: Thème MasterGroove : identité sombre et jaune de l'ancien site, en-tête, pied de page, accueil, archives vidéo. La logique métier (vidéos, catégories, menus) est dans le plugin mastergroove-core.
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: mastergroove-theme
Domain Path: /languages
*/

/* ==========================================================================
   Tokens (charte relevée sur l'ancien site)
   ========================================================================== */
:root {
	--mg-accent: #c70000;      /* rouge du logo : couleur principale, boutons, menu actif */
	--mg-accent-hover: #a20000;
	--mg-panel: #262626;       /* panneau du mega menu */
	--mg-dark: #171717;        /* fond sombre, bandeaux */
	--mg-dark-2: #1f1f1f;
	--mg-paper: #ffffff;
	--mg-text: #8e8e8e;        /* texte courant */
	--mg-heading: #5f5f5f;     /* titres de section */
	--mg-link: #4141a0;        /* liens */
	--mg-line: #e6e6e6;
	--mg-red: #e5262a;         /* icône de lecture du logo */
	--mg-max: 1140px;
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }

body.mg-body {
	margin: 0;
	background: var(--mg-paper);
	color: var(--mg-text);
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

a { color: var(--mg-link); }

img { max-width: 100%; height: auto; }

:focus-visible {
	outline: 3px solid var(--mg-accent);
	outline-offset: 2px;
}

.mg-skip {
	position: absolute;
	left: -999px;
}

.mg-skip:focus { left: 16px; top: 8px; background: var(--mg-accent); padding: 6px 10px; z-index: 99; }

.mg-container {
	max-width: var(--mg-max);
	margin: 0 auto;
	padding: 0 16px;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.mg-site-header {
	background: var(--mg-paper);
	border-bottom: 1px solid var(--mg-line);
	position: sticky;
	top: 0;
	z-index: 50;
}

.mg-bar {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 12px 16px;
	flex-wrap: wrap;
}

.mg-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #111;
}

.mg-logo-text {
	font-family: Oswald, "Arial Narrow", sans-serif;
	font-weight: 600;
	font-size: 22px;
	letter-spacing: 0.02em;
}

.mg-logo--light { color: var(--mg-paper); }

.mg-search { flex: 0 1 220px; }
.mg-search form { display: flex; }
.mg-search input[type="search"] {
	width: 100%;
	padding: 7px 10px;
	border: 1px solid var(--mg-line);
	font: inherit;
	font-size: 13px;
}
.mg-search button, .mg-search input[type="submit"] {
	padding: 7px 10px;
	border: 1px solid var(--mg-line);
	border-left: 0;
	background: var(--mg-paper);
	cursor: pointer;
}

.mg-nav { flex: 1 1 auto; }

.mg-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.mg-menu > li { position: relative; }

.mg-menu a {
	display: block;
	padding: 6px 0;
	color: #333;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.mg-menu a:hover,
.mg-menu .current-menu-item > a,
.mg-menu .current_page_item > a { color: #c99a00; border-bottom: 2px solid var(--mg-accent); }

/* Sous-menu */
.mg-menu .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 200px;
	background: var(--mg-paper);
	border: 1px solid var(--mg-line);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	list-style: none;
	margin: 0;
	padding: 6px 0;
	z-index: 60;
}

.mg-menu li:hover > .sub-menu,
.mg-menu li:focus-within > .sub-menu { display: block; }

.mg-menu .sub-menu a {
	padding: 6px 14px;
	text-transform: none;
	font-weight: 400;
	font-size: 14px;
}

.mg-btn-video {
	background: var(--mg-accent);
	color: #111;
	text-decoration: none;
	padding: 8px 16px;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.mg-btn-video:hover { background: #e9b82a; }

/* ==========================================================================
   Accueil : hero sombre + panneau blanc + vidéo mise en avant
   ========================================================================== */
.mg-hero {
	background: var(--mg-dark);
	padding: 40px 0 36px;
}

.mg-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.mg-panel {
	background: var(--mg-paper);
	padding: 22px 22px 18px;
}

.mg-panel-head,
.mg-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-bottom: 2px solid var(--mg-line);
	padding-bottom: 8px;
	margin-bottom: 16px;
}

.mg-panel-head h2,
.mg-section-head h2 {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 20px;
	color: var(--mg-heading);
}

.mg-panel-head a,
.mg-section-head a {
	font-size: 13px;
	color: var(--mg-link);
	text-decoration: none;
}

/* Grille de vignettes : une grande carte + quatre petites */
.mg-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.mg-feature-grid .mgc-card.is-big {
	grid-column: span 2;
	grid-row: span 2;
}

.mg-feature-grid .mgc-card.is-big .mgc-card-title { font-size: 18px; }

/* Cartes vidéo (vignette 16:9, titre superposé, durée) */
.mgc-card {
	display: block;
	text-decoration: none;
	color: #fff;
}

.mgc-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.mgc-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.mgc-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 55%);
}

.mgc-card:hover .mgc-thumb img,
.mgc-card:focus-visible .mgc-thumb img { transform: scale(1.04); }

.mgc-card-title {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 8px;
	z-index: 2;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mgc-dur {
	position: absolute;
	right: 8px;
	top: 8px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 12px;
	padding: 2px 6px;
}

.mgc-play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border-radius: 50%;
	background: rgba(249, 199, 61, 0.92);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.mgc-play::after {
	content: "";
	position: absolute;
	left: 17px;
	top: 13px;
	border-style: solid;
	border-width: 9px 0 9px 14px;
	border-color: transparent transparent transparent #111;
}

.mgc-card:hover .mgc-play,
.mgc-card:focus-visible .mgc-play { opacity: 1; }

/* Titres Elementor de la fiche vidéo : couleur de la charte (au lieu de l'ancienne couleur) */
.elementor-widget-heading .elementor-heading-title {
	color: var(--mg-heading) !important;
	font-family: "Open Sans", sans-serif !important;
	font-weight: 400 !important;
}

/* Vidéo mise en avant (colonne droite) */
.mg-feature {
	color: #d6d6d6;
}

.mg-feature-player { margin-bottom: 14px; }

.mg-feature-player .mgc-yt-facade {
	border: 0;
	padding: 0;
}

.mg-feature-title {
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 6px;
}

.mg-feature-title a { color: #fff; text-decoration: none; }

.mg-feature-date {
	color: #8e8e8e;
	font-size: 12px;
	margin: 0 0 10px;
}

.mg-feature-excerpt { font-size: 14px; color: #9a9a9a; margin: 0 0 16px; }

.mg-btn {
	display: inline-block;
	background: var(--mg-accent);
	color: #111;
	text-decoration: none;
	padding: 10px 18px;
	font-weight: 600;
	font-size: 14px;
}

.mg-btn:hover { background: #e9b82a; }

/* ==========================================================================
   Sections par catégorie (accueil)
   ========================================================================== */
.mg-home-sections { padding: 40px 16px 48px; }

.mg-home-sections .mgc-section { margin: 0 0 40px; }

.mg-home-sections .mgc-grid,
.mgc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.mgc-section-head { display: flex; justify-content: space-between; align-items: baseline; }

.mgc-section-head h2 {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	color: var(--mg-heading);
	font-size: 20px;
	margin: 0;
}

.mgc-section-head a { font-size: 13px; color: var(--mg-link); text-decoration: none; }

/* ==========================================================================
   Archives et catégories
   ========================================================================== */
.mg-band {
	background: var(--mg-dark);
	color: #fff;
	padding: 36px 0;
}

.mg-band h1 {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 30px;
}

.mg-band-desc { color: #bdbdbd; margin-top: 8px; }

.mg-archive { padding: 28px 16px 48px; }

/* Filtres des catégories : onglets (rubriques) + pastilles (catégories), multi-sélection par liens */
.mgc-filters { margin: 0 0 28px; border-bottom: 1px solid #e3e3e3; }
.mgc-ftabs {
	display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
	margin-bottom: -1px;
}
.mgc-ftabs::-webkit-scrollbar { display: none; }
.mgc-ftab {
	flex: 0 0 auto; padding: 10px 14px 12px; background: none;
	font-family: "Oswald", Arial, sans-serif; font-size: 15px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .04em; color: #555; text-decoration: none;
	border-bottom: 3px solid transparent; white-space: nowrap;
}
.mgc-ftab:hover { color: #111; }
.mgc-ftab.is-on { color: #111; border-bottom-color: var(--mg-accent); }
.mgc-ftab:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: -2px; }
.mgc-ftab-n { font-size: 12px; font-weight: 400; color: #888; margin-left: 4px; }
.mgc-fbar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 14px;
	padding: 14px 0 0; font-size: 13px; color: #555;
}
.mgc-clear {
	color: var(--mg-accent); font-weight: 600; text-decoration: none; white-space: nowrap;
	padding: 4px 0; border-bottom: 1px solid transparent;
}
.mgc-clear:hover { border-bottom-color: var(--mg-accent); }
.mgc-fpanel { padding: 16px 0 4px; }
.mgc-fpanel + .mgc-fpanel { border-top: 1px solid #efefef; margin-top: 12px; }
.mgc-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.mgc-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px;
	border: 1px solid #d9d9d9; border-radius: 999px; background: #fff; color: #222;
	font-size: 14px; text-decoration: none; line-height: 1.3;
	transition: border-color .2s, background .2s, color .2s;
}
.mgc-pill:hover { border-color: var(--mg-accent); color: #111; }
.mgc-pill.is-on { background: var(--mg-accent); border-color: var(--mg-accent); color: #fff; font-weight: 600; }
.mgc-pill-n {
	min-width: 22px; padding: 1px 6px; border-radius: 999px; background: #f0f0f0;
	color: #555; font-size: 12px; text-align: center;
}
.mgc-pill.is-on .mgc-pill-n { background: rgba(255, 255, 255, .22); color: #fff; }
.mgc-filters a:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
@media (max-width: 460px) {
	.mgc-pill { font-size: 13px; }
}
.mgc-pagination { margin-top: 32px; text-align: center; }

.mgc-pagination a,
.mgc-pagination span {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 2px;
	border: 1px solid var(--mg-line);
	color: #333;
	text-decoration: none;
}

.mgc-pagination .current {
	background: var(--mg-accent);
	border-color: var(--mg-accent);
	color: #111;
}

.mgc-empty { color: var(--mg-text); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.mg-site-footer {
	background: var(--mg-dark);
	color: #9a9a9a;
	padding: 36px 0 28px;
	margin-top: 40px;
}

.mg-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

.mg-footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.mg-footer-menu a {
	color: #e0e0e0;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
}

.mg-footer-menu a:hover { color: var(--mg-accent); }

.mg-copy { margin: 0; font-size: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ==========================================================================
   Ajustements : logo PNG, rouge de marque, mega menu 4 colonnes
   ========================================================================== */
.mg-logo img { display: block; height: 24px; width: auto; }

.mg-btn-video,
.mg-btn {
	background: var(--mg-accent);
	color: #fff;
	border: 0;
}

.mg-btn-video:hover,
.mg-btn:hover { background: var(--mg-accent-hover); color: #fff; }

.mg-menu a:hover,
.mg-menu .current-menu-item > a,
.mg-menu .current_page_item > a {
	color: var(--mg-accent);
	border-bottom: 2px solid var(--mg-accent);
}

/* Mega menu : panneau sombre centré, colonnes = groupes (Cordes, Soufflants…) */
.mg-menu > li.menu-item-has-children > .sub-menu {
	display: none;
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	width: min(1140px, 96vw);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 22px 28px;
	background: var(--mg-panel);
	border: 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	list-style: none;
	z-index: 60;
}

.mg-menu > li.menu-item-has-children:hover > .sub-menu,
.mg-menu > li.menu-item-has-children:focus-within > .sub-menu,
.mg-menu > li.menu-item-has-children.is-open > .sub-menu { display: grid; }

.mg-menu > li > .sub-menu > li { min-width: 0; }

.mg-menu > li > .sub-menu > li > a {
	color: #9a9a9a;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0 0 8px;
	border: 0;
}

.mg-menu > li > .sub-menu > li > a:hover { color: #fff; border: 0; }

.mg-menu > li > .sub-menu .sub-menu {
	display: block;
	position: static;
	min-width: 0;
	width: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	transform: none;
	list-style: none;
}

.mg-menu > li > .sub-menu .sub-menu a {
	color: #fff;
	text-transform: none;
	font-size: 14px;
	font-weight: 400;
	padding: 5px 0;
	border: 0;
}

.mg-menu > li > .sub-menu .sub-menu a::before {
	content: "\203A\00a0";
	color: var(--mg-accent);
	font-weight: 700;
}

.mg-menu > li > .sub-menu .sub-menu a:hover { color: var(--mg-accent); border: 0; }

.mgc-pagination .current {
	background: var(--mg-accent);
	border-color: var(--mg-accent);
	color: #fff;
}

.mgc-play {
	background: rgba(199, 0, 0, 0.92);
}

.mgc-play::after {
	border-color: transparent transparent transparent #fff;
}

.mg-skip:focus { color: #fff; }

/* Mega menu NOUVEAUTÉS : catégories à gauche, 3 dernières vidéos à droite */
.mg-menu > li.mg-mega-news > .sub-menu {
	width: min(900px, 96vw);
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	padding: 18px 20px;
}

.mg-menu > li.mg-mega-news > .sub-menu > li:not(.mg-latest-li) { grid-column: 1; }

.mg-menu > li.mg-mega-news > .sub-menu > li:not(.mg-latest-li) > a {
	color: #fff;
	text-transform: none;
	font-size: 14px;
	font-weight: 400;
	padding: 7px 0;
	border-bottom: 1px solid #333;
}

.mg-menu > li.mg-mega-news > .sub-menu > li:not(.mg-latest-li) > a::before {
	content: "\203A\00a0";
	color: var(--mg-accent);
	font-weight: 700;
}

.mg-menu > li.mg-mega-news > .sub-menu > li:not(.mg-latest-li) > a:hover { color: var(--mg-accent); border-bottom-color: #333; }

.mg-menu > li.mg-mega-news > .sub-menu > .mg-latest-li {
	grid-column: 2;
	grid-row: 1 / span 8;
	min-width: 0;
}

.mg-latest {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.mg-latest .mgc-card-title { font-size: 13px; }

/* Gabarit archive Elementor : grille à gauche, sidebar 300 px à droite */
.elementor-location-archive .e-con-inner > .e-con-full {
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	gap: 28px;
}

.elementor-location-archive .e-con-inner > .e-con-full > .e-con-full:first-child {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

.elementor-location-archive .e-con-inner > .e-con-full > .e-con-full:last-child {
	flex: 0 0 300px;
	width: 300px;
}

.elementor-location-archive .mgc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
	.elementor-location-archive .e-con-inner > .e-con-full { flex-direction: column !important; }
	.elementor-location-archive .e-con-inner > .e-con-full > .e-con-full:last-child { flex: 1 1 auto; width: 100%; }
}

/* Carrousels horizontaux par catégorie (accueil) */
.mgc-section-head { border-bottom: 1px solid #e3e3e3; padding-bottom: 8px; margin-bottom: 16px; }
.mgc-section-head h2 { margin: 0; }
.mgc-section-head h2 a { color: inherit; text-decoration: none; }
.mgc-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mgc-all {
	margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--mg-link);
	text-decoration: none; white-space: nowrap;
}
.mgc-all:hover { text-decoration: underline; }
.mgc-arrow {
	width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid #bbb; border-radius: 50%; background: #fff; color: #333;
	font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.mgc-arrow:hover:not(:disabled),
.mgc-arrow:focus-visible { background: var(--mg-accent); border-color: var(--mg-accent); color: #fff; }
.mgc-arrow:disabled { opacity: .35; cursor: default; }
.mgc-carousel { position: relative; }
.mgc-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.mgc-track::-webkit-scrollbar { display: none; }
.mgc-track:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 4px; }
/* Slide : 1 grande vidéo (colonne gauche, moitié de la largeur) + 4 petites en grille 2x2 */
.mgc-slide {
	flex: 0 0 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 9px;
	scroll-snap-align: start;
	min-width: 0;
}
.mgc-feat .mgc-card { height: 100%; }
.mgc-feat .mgc-thumb { aspect-ratio: auto; height: 100%; }
.mgc-minis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.mgc-minis .mgc-card-title { font-size: 12px; left: 8px; right: 8px; bottom: 6px; }
.mgc-feat .mgc-card-title { font-size: 15px; }
@media (max-width: 460px) {
	.mgc-controls .mgc-arrow { display: none; }
	.mgc-all { margin-left: auto; }
	.mgc-minis .mgc-card-title { display: none; }
}

/* Apparition progressive des blocs de catégories au défilement (comme le site source) */
.mgc-js .mgc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.mgc-js .mgc-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.mgc-js .mgc-reveal { opacity: 1; transform: none; transition: none; }
}

/* Carrousel des dernières vidéos (hero d'accueil) */
.mg-slide[hidden] { display: none; }
.mg-dots { display: flex; gap: 8px; margin-top: 14px; }
.mg-dot {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
	background: #444; cursor: pointer;
}
.mg-dot.is-active { background: var(--mg-accent); }

/* Filtres regroupés par groupe */

/* Pages générales, inscription et connexion */
.mg-page { max-width: 560px; }
.mg-page-title { font-family: "Open Sans", sans-serif; font-weight: 400; color: var(--mg-heading); font-size: 26px; }
.mgc-form p { margin: 0 0 14px; }
.mgc-form label { display: block; margin-bottom: 4px; color: #333; font-size: 14px; }
.mgc-form input[type="email"], .mgc-form input[type="password"], .mgc-form input[type="text"] {
	width: 100%; padding: 10px; border: 1px solid var(--mg-line); font: inherit;
}
.mgc-btn, #mgc-login input[type="submit"] {
	background: var(--mg-accent); color: #fff; border: 0; padding: 10px 18px; font-weight: 600; cursor: pointer;
}
.mgc-notice { padding: 10px 14px; border-left: 4px solid var(--mg-accent); background: #fafafa; }
.mgc-error { border-color: #c00; }
.mgc-ok { border-color: #2a7a2a; }

/* Pages avec sidebar (accueil, catégories) */
.mg-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: start;
}

.mg-main-col { min-width: 0; }

.mg-sidebar {
	position: sticky;
	top: 90px;
	display: grid;
	gap: 18px;
}

.mg-side-block h2 {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 20px;
	color: var(--mg-heading);
	margin: 0 0 12px;
}

.mg-ad-slot {
	min-height: 250px;
	background: var(--mg-paper);
	border: 1px solid var(--mg-line);
}

@media (max-width: 960px) {
	.mg-with-sidebar { grid-template-columns: 1fr; }
	.mg-sidebar { position: static; }
}

@media (max-width: 960px) {
	.mg-hero-grid { grid-template-columns: 1fr; }
	.mg-menu { justify-content: flex-start; gap: 14px; }
	.mg-search { flex: 1 1 100%; order: 3; }
	.mg-nav { flex: 1 1 100%; order: 4; }
}

@media (max-width: 720px) {
	.mg-menu > li.menu-item-has-children > .sub-menu {
		position: static;
		transform: none;
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 14px 16px;
		box-shadow: none;
	}
	.mg-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mg-feature-grid .mgc-card.is-big { grid-column: span 2; grid-row: auto; }
	.mgc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.mg-btn-video { order: 2; }
}

@media (max-width: 460px) {
	.mgc-grid, .mg-feature-grid { grid-template-columns: 1fr; }
	.mg-feature-grid .mgc-card.is-big { grid-column: auto; }
}

/* Accessibilité : réduire les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   Accueil : reproduction du site source (bande sombre + panneau blanc, bande blanche)
   ========================================================================== */
.mg-home-top { background: #171717; padding: 30px 0 36px; }
.mg-home-top-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; align-items: start; }
.mg-white-card { background: #fff; padding: 22px 22px 16px; }
.mg-home-top .mg-feature { background: transparent; }
.mg-home-top .mg-feature-title,
.mg-home-top .mg-feature-title a { color: #fff; font-size: 22px; font-weight: 500; line-height: 1.25; text-decoration: none; }
.mg-home-top .mg-feature-date { color: #8e8e8e; font-size: 11px; margin: 6px 0 8px; }
.mg-home-top .mg-feature-excerpt { color: #8e8e8e; font-size: 13px; line-height: 1.5; }
.mg-home-top .mg-btn {
	display: inline-block; background: #f9c73d; color: #fff; border: 0; border-radius: 3px;
	padding: 7px 20px; font-size: 13px; font-weight: 400; text-transform: none; text-decoration: none;
}
.mg-home-top .mg-btn:hover { background: #e9b430; color: #fff; }
.mg-home-top .mg-dot { background: #5a5a5a; }
.mg-home-top .mg-dot.is-active { background: #f9c73d; }
.mg-home-bottom { background: #fff; padding: 30px 0 40px; }
.mgc-section-head h2 { font-size: 22px; font-weight: 500; font-family: "Open Sans", sans-serif; text-transform: none; }
.mgc-section-head h2 a { color: #4141a0; }
.mgc-arrow {
	width: 25px; height: 23px; padding: 0; background: transparent; color: #4141a0;
	border: 1px solid #4141a0; border-radius: 3px; font-size: 18px;
}
.mgc-arrow:hover:not(:disabled),
.mgc-arrow:focus-visible { background: #4141a0; border-color: #4141a0; color: #fff; }
.mgc-arrow:disabled { opacity: .4; }
.mgc-all { color: #4141a0; }
.mg-home-top .mgc-card-title,
.mg-home-bottom .mgc-card-title { font-size: 15px; font-weight: 500; }
@media (max-width: 900px) {
	.mg-home-top-grid { grid-template-columns: 1fr; }
}
.mgc-section-head h2 a { font-size: inherit; font-weight: inherit; }

/* Accueil : largeur identique à la barre de menu (.mg-bar, 1320px) */
.mg-home-top .mg-container,
.mg-home-bottom .mg-container { max-width: 1320px; }

/* Accueil : le panneau Interviews prend la hauteur du carrousel de droite */
.mg-home-top-grid { align-items: stretch; }
.mg-white-card { display: flex; flex-direction: column; }
.mg-white-card .mgc-section,
.mg-white-card .mgc-carousel,
.mg-white-card .mgc-track { flex: 1 1 auto; min-height: 0; }
.mg-white-card .mgc-carousel { display: flex; flex-direction: column; }
.mg-white-card .mgc-track { display: flex; }
.mg-white-card .mgc-slide { height: auto; align-items: stretch; }
.mg-white-card .mgc-minis { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.mg-white-card .mgc-minis .mgc-card,
.mg-white-card .mgc-feat .mgc-card { height: 100%; }
.mg-white-card .mgc-minis .mgc-thumb { aspect-ratio: auto; height: 100%; min-height: 100px; }
.mg-white-card .mgc-track-item { min-height: 0; }
.mg-white-card .mgc-section { display: flex; flex-direction: column; }
.mg-white-card .mgc-track { align-items: stretch; }

/* Carrousel « dernières vidéos » : vignette et textes de taille fixe d'une vidéo à l'autre */
.mg-slider .mg-feature-player {
	position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: #000;
}
.mg-slider .mg-feature-player .mgc-yt-facade {
	position: absolute; inset: 0; width: 100%; height: 100%; display: block; padding: 0; border: 0; cursor: pointer;
}
.mg-slider .mg-feature-player img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.mg-slider .mg-feature-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mg-slider .mg-feature-title { min-height: 2.5em; }
.mg-slider .mg-feature-excerpt { min-height: 6em; }
/* Accueil : sections de catégories (bande blanche) plus hautes sur ordinateur et tablette */
@media (min-width: 721px) {
	.mg-home-bottom .mgc-slide { min-height: 340px; }
	.mg-home-bottom .mgc-minis { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); height: 100%; }
	.mg-home-bottom .mgc-feat .mgc-card,
	.mg-home-bottom .mgc-minis .mgc-card { height: 100%; }
	.mg-home-bottom .mgc-feat .mgc-thumb,
	.mg-home-bottom .mgc-minis .mgc-thumb { aspect-ratio: auto; height: 100%; min-height: 100px; }
}
/* Accueil : bande sombre plus compacte */
.mg-home-top .mg-slider .mg-feature-player { max-height: 200px; }
.mg-home-top .mg-slider .mg-feature-excerpt { min-height: 4em; }
/* Accueil : bande sombre encore plus compacte */
.mg-home-top { padding: 22px 0 26px; }
.mg-home-top .mg-slider .mg-feature-player { max-height: 180px; }
.mg-home-top .mg-slider .mg-feature-excerpt { min-height: 3em; }
.mg-home-top .mg-slider .mg-dots { margin-top: 10px; }
/* Accueil : le carrousel de droite occupe toute la hauteur du panneau de gauche (haut et bas alignés) */
.mg-home-top-side { display: flex; flex-direction: column; }
.mg-home-top .mg-slider { flex: 1 1 auto; display: flex; flex-direction: column; }
.mg-home-top .mg-slider .mg-slide.is-active { flex: 1 1 auto; display: flex; flex-direction: column; }
.mg-home-top .mg-slider .mg-slide.is-active .mg-feature-excerpt { flex: 1 1 auto; }
.mg-home-top .mg-slider .mg-dots { margin-top: auto; padding-top: 10px; }
/* Accueil : la vignette du carrousel de droite prend tout l'espace libre (le texte reste en bas) */
.mg-home-top .mg-slider .mg-feature-player {
	flex: 1 1 auto; max-height: none; aspect-ratio: auto; min-height: 180px; margin-bottom: 14px;
}
.mg-home-top .mg-slider .mg-slide.is-active .mg-feature-excerpt { flex: none; }
/* Accueil : hauteur de la vignette = espace disponible (pas de hauteur naturelle qui tire la colonne) */
.mg-home-top .mg-slider .mg-slide.is-active .mg-feature-player {
	flex: 1 1 0; height: 0; min-height: 180px; aspect-ratio: auto;
}
/* Accueil : pas d'espace réservé sous l'extrait (la vignette absorbe la place libre) */
.mg-home-top .mg-slider .mg-feature-excerpt { min-height: 0; margin: 0 0 14px; }
/* Accueil : bouton du carrousel en rouge */
.mg-home-top .mg-btn { background: var(--mg-accent); }
.mg-home-top .mg-btn:hover { background: #a00000; color: #fff; }

/* Accueil : vignettes du hero un peu plus grandes (gauche et droite suivent la même hauteur) */
.mg-home-top .mg-slider .mg-slide.is-active .mg-feature-player { min-height: 240px; }
/* Accueil : vignettes du panneau Interviews au format 5:4 (la hauteur du bloc s'adapte à ce format) */
.mg-white-card .mgc-feat .mgc-thumb,
.mg-white-card .mgc-minis .mgc-thumb { aspect-ratio: 5 / 4; height: auto; min-height: 0; }
.mg-white-card .mgc-feat .mgc-card,
.mg-white-card .mgc-minis .mgc-card { height: auto; }
.mg-white-card .mgc-minis { grid-template-rows: auto; height: auto; }
.mg-white-card .mgc-slide { align-items: start; }
/* Accueil : bande blanche basse — colonne des sections 2/3, sidebar 1/3 (comme le source) */
.mg-home-bottom .mg-with-sidebar { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 960px) {
	.mg-home-bottom .mg-with-sidebar { grid-template-columns: 1fr; }
}
/* Accueil : espace noir visible entre le panneau Interviews et la zone blanche des catégories */
.mg-home-top { padding: 22px 0 56px; }
/* Accueil : pas d'espace noir sous le hero, le panneau blanc Interviews rejoint la zone blanche des catégories (comme le source) */
.mg-home-top { padding-bottom: 0; }
.mg-home-top .mg-white-card { margin-bottom: 0; }
/* Accueil : zone blanche sous le hero plus compacte (sections et sidebar remontent) */
.mg-home-bottom { padding-top: 0; }.mg-home-bottom .mg-home-sections { padding-top: 0; }
/* Accueil : contenu des catégories aligné sur le contenu du panneau Interviews (même retrait de 22px) */
.mg-home-bottom .mg-main-col { padding: 0 22px; }
/* Accueil : titres de section en noir, police proche du logo (Montserrat 800) */
.mgc-section-head h2,
.mgc-section-head h2 a {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; color: #111; letter-spacing: -0.01em;
}
.mgc-section-head h2 { font-size: 20px; }
.mgc-arrow { color: #111; border-color: #111; }
.mgc-arrow:hover:not(:disabled), .mgc-arrow:focus-visible { background: #111; border-color: #111; color: #fff; }
/* Nouveau logo : icône lecture + MASTERGROOVE en Montserrat 800, majuscules */
.mg-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.mg-logo-mark { display: block; width: 30px; height: 30px; flex: 0 0 auto; }
.mg-logo-word {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; font-size: 21px; line-height: 1;
	letter-spacing: 0.01em; text-transform: uppercase; color: #111; white-space: nowrap;
}
.mg-logo--light .mg-logo-word { color: #fff; }
/* Typographie du site : Barlow Condensed (logo, menu, titres) — condensée, dynamique, adaptée aux sites vidéo */
.mg-logo-word { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 0.02em; }
.mg-menu > li > a,
.mg-menu > li > .mg-menu-link {
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 17px;
	text-transform: uppercase; letter-spacing: 0.03em;
}
.mgc-section-head h2,
.mgc-section-head h2 a { font-size: 28px; font-weight: 700; letter-spacing: 0.01em; }
.mg-home-top .mg-feature-title,
.mg-home-top .mg-feature-title a { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: 0.01em; }
.mgc-card-title { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; }
/* Carrousel du hero (droite) : échelle typographique harmonisée */
.mg-home-top .mg-slider .mg-feature-title,
.mg-home-top .mg-slider .mg-feature-title a {
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 28px; line-height: 1.1;
	text-transform: uppercase; letter-spacing: 0.01em; min-height: 2.2em; margin: 0 0 10px;
}
.mg-home-top .mg-slider .mg-feature-date {
	font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 14px; line-height: 1.2;
	text-transform: uppercase; letter-spacing: 0.04em; color: #8e8e8e; margin: 0 0 10px;
}
.mg-home-top .mg-slider .mg-feature-excerpt {
	font-family: "Open Sans", sans-serif; font-size: 14px; line-height: 1.5; color: #8e8e8e; min-height: 3em; margin: 0 0 14px;
}
.mg-home-top .mg-slider .mg-btn {
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 16px; line-height: 1;
	text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 22px;
}
/* Carrousel du hero : aucun espace réservé entre les textes et le bouton */
.mg-home-top .mg-slider .mg-feature-excerpt { min-height: 0; margin: 0 0 14px; }
.mg-home-top .mg-slider .mg-feature-title { min-height: 0; }
/* Carrousel du hero : les points de navigation gardent la même marge basse que les panneaux blancs */
.mg-home-top .mg-slider .mg-dots { margin-bottom: 16px; }
/* Carrousel du hero (droite) : titre limité à 2 lignes */
.mg-home-top .mg-slider .mg-feature-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mg-home-top .mg-slider .mg-feature-title a { display: inline; }
/* Sections de catégories sous le hero : vignette de gauche au format 4:3, la slide suit sa hauteur */
.mg-home-bottom .mgc-slide { min-height: 0; }
.mg-home-bottom .mgc-feat .mgc-card { height: auto; }
.mg-home-bottom .mgc-feat .mgc-thumb { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
/* ==========================================================================
   Notations (1 à 5 étoiles) et tris Récentes / Plus vues / Mieux notées
   ========================================================================== */
.mgc-rating { margin: 18px 0; font-family: "Open Sans", sans-serif; }
.mgc-rating-summary { margin: 0 0 6px; font-weight: 600; color: #333; }
.mgc-rating-stars { display: inline-flex; gap: 2px; }
.mgc-star {
	background: none; border: 0; padding: 0 2px; font-size: 28px; line-height: 1;
	color: #cfcfcf; cursor: pointer;
}
.mgc-star.is-on,
.mgc-rating-stars:hover .mgc-star { color: #f5b301; }
.mgc-star:hover { color: #f5b301; }
.mgc-star:focus-visible { outline: 2px solid #4141a0; outline-offset: 2px; }
.mgc-rating-login a { color: #4141a0; }
.mgc-rating-msg { color: #c70000; margin: 4px 0 0; font-size: 14px; }

.mgc-sorts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.mgc-sort {
	padding: 6px 14px; border: 1px solid #4141a0; border-radius: 999px; color: #4141a0;
	text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 700;
	font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em;
}
.mgc-sort.is-on,
.mgc-sort:hover { background: #4141a0; color: #fff; }
/* ==========================================================================
   Page vidéo premium ([mgc_video_page]) : bandeau sombre + corps clair
   ========================================================================== */
.mgc-vp .mg-container { max-width: 1320px; }
.mgc-vp-hero { background: #171717; color: #fff; padding: 32px 0 44px; }
.mgc-vp-body { background: #fff; color: #222; padding: 36px 0 60px; }
.mgc-vp-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.mgc-vp-main, .mgc-vp-side { min-width: 0; }

.mgc-vp-player { border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.mgc-vp-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }

.mgc-vp-title {
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.08; text-transform: uppercase; letter-spacing: .01em; color: #fff; margin: 24px 0 12px;
}
.mgc-vp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; color: #8e8e8e; font-size: 14px; }
.mgc-vp-sep { opacity: .45; }
.mgc-vp-cats { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mgc-vp-cats a {
	display: inline-block; padding: 5px 13px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
	color: #fff; text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 600;
	font-size: 14px; text-transform: uppercase; letter-spacing: .04em; transition: background .2s, border-color .2s;
}
.mgc-vp-cats a:hover, .mgc-vp-cats a:focus-visible { background: #c70000; border-color: #c70000; }

.mgc-vp-h2 {
	position: relative; margin: 0 0 16px; padding-bottom: 12px; font-family: "Barlow Condensed", sans-serif;
	font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: inherit;
}
.mgc-vp-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: #c70000; }

.mgc-vp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mgc-vp-item { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: center; color: #fff; text-decoration: none; }
.mgc-vp-thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #222; }
.mgc-vp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.mgc-vp-item:hover .mgc-vp-thumb img, .mgc-vp-item:focus-visible .mgc-vp-thumb img { transform: scale(1.05); }
.mgc-vp-item-t { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 16px; line-height: 1.2; text-transform: uppercase; }
.mgc-vp-item:hover .mgc-vp-item-t { text-decoration: underline; text-underline-offset: 3px; }

.mgc-vp-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 24px 26px; margin-bottom: 24px; box-shadow: 0 6px 20px rgba(0, 0, 0, .05); }
.mgc-vp-card:last-child { margin-bottom: 0; }
.mgc-vp-body .mgc-vp-h2 { color: #111; }
.mgc-vp-rate .mgc-rating { margin: 0; }
.mgc-vp-rate .mgc-rating-summary { font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-weight: 700; color: #111; }
.mgc-vp-desc { font-size: 16px; line-height: 1.75; color: #333; }
.mgc-vp-desc p { margin: 0 0 14px; }
.mgc-vp-desc p:last-child { margin-bottom: 0; }

.mgc-vp-info dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 18px; margin: 0; }
.mgc-vp-info dt { color: #8e8e8e; font-size: 14px; }
.mgc-vp-info dd { margin: 0; font-weight: 600; color: #222; text-align: right; }

@media (max-width: 960px) {
	.mgc-vp-grid { grid-template-columns: 1fr; gap: 26px; }
	.mgc-vp-hero { padding: 22px 0 32px; }
	.mgc-vp-body { padding: 26px 0 44px; }
}
@media (max-width: 560px) {
	.mgc-vp-item { grid-template-columns: 104px minmax(0, 1fr); }
	.mgc-vp-card { padding: 20px 18px; }
}
/* Rubrique « Réactions des membres » : mise en avant (bordure rouge) */
.mgc-vp-react { border-top: 4px solid #c70000; }
.mgc-vp-react-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.mgc-vp-react-head .mgc-vp-h2 { margin-bottom: 20px; }
.mgc-vp-react-count { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; color: #c70000; }
.mgc-vp-react .comment-list, .mgc-vp-react .children { list-style: none; margin: 0; padding: 0; }
.mgc-vp-react .comment { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.mgc-vp-react .comment:last-child { border-bottom: 0; }
.mgc-vp-react .comment-author { font-weight: 700; color: #111; }
.mgc-vp-react .comment-author .avatar { border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.mgc-vp-react .comment-metadata { font-size: 13px; color: #8e8e8e; margin: 2px 0 6px; }
.mgc-vp-react .comment-metadata a { color: inherit; }
.mgc-vp-react .comment-content { font-size: 15px; line-height: 1.6; color: #333; }
.mgc-vp-react .children { padding-left: 24px; border-left: 2px solid #f0f0f0; margin-left: 4px; }
.mgc-vp-react-empty, .mgc-vp-react-login { color: #555; margin: 0; }
.mgc-vp-react-login a { color: #c70000; font-weight: 600; }
.mgc-vp-react-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f0f0f0; }
.mgc-vp-react-form .comment-reply-title { font-family: "Barlow Condensed", sans-serif; font-size: 18px; text-transform: uppercase; margin: 0 0 10px; }
.mgc-vp-react-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.mgc-vp-react-form textarea { width: 100%; border: 1px solid #d6d6d6; border-radius: 8px; padding: 10px 12px; font: inherit; }
.mgc-vp-react-form .form-submit input[type="submit"] {
	background: #c70000; color: #fff; border: 0; border-radius: 8px; padding: 10px 22px;
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.mgc-vp-react-form .form-submit input[type="submit"]:hover { background: #a20000; }
/* Bloc Interviews du haut : même gabarit et même taille que les blocs de catégories du dessous */
.mg-white-card .mgc-slide { align-items: stretch; height: auto; min-height: 0; }
.mg-white-card .mgc-feat .mgc-thumb { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
.mg-white-card .mgc-minis { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); height: 100%; }
.mg-white-card .mgc-minis .mgc-thumb { aspect-ratio: auto; height: 100%; min-height: 100px; }
.mg-white-card .mgc-feat .mgc-card,
.mg-white-card .mgc-minis .mgc-card { height: 100%; }
/* Bloc Interviews du haut : petites vignettes à la même hauteur que dans les blocs du dessous (147px) */
.mg-white-card .mgc-slide { align-items: start; }
.mg-white-card .mgc-minis { grid-template-rows: 147px 147px; height: auto; }
.mg-white-card .mgc-minis .mgc-thumb { height: 147px; min-height: 0; aspect-ratio: auto; }
/* Titres des blocs de catégories en capitales */
.mgc-section-head h2,
.mgc-section-head h2 a { text-transform: uppercase; }
/* Badge de vues YouTube sur les vignettes (œil + K / M), en haut à gauche */
.mgc-thumb { position: relative; }
.mgc-views {
	position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
	padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff;
	font: 600 12px/1.2 "Open Sans", sans-serif; font-variant-numeric: tabular-nums; pointer-events: none;
}
.mgc-views svg { display: block; flex: 0 0 auto; }
/* Carrousel du hero (droite) : durée et vues sur la vidéo */
.mg-feature-player .mgc-dur,
.mg-feature-player .mgc-views { z-index: 3; pointer-events: none; }
/* Carrousel du hero (droite) : triangle de lecture blanc */
.mg-home-top .mg-slider .mgc-yt-facade > span > span { border-color: transparent transparent transparent #fff !important; }
/* Carrousel du hero (droite) : effet de survol sur la vignette (zoom doux, assombrissement, bouton play qui grandit) */
.mg-home-top .mg-slider .mgc-yt-facade {
	transition: background-size .6s ease, filter .3s ease;
}
.mg-home-top .mg-slider .mg-feature-player:hover .mgc-yt-facade,
.mg-home-top .mg-slider .mgc-yt-facade:focus-visible {
	background-size: 110% auto !important;
	filter: brightness(.8);
}
.mg-home-top .mg-slider .mgc-yt-facade > span {
	transition: transform .3s ease, background-color .3s ease;
}
.mg-home-top .mg-slider .mg-feature-player:hover .mgc-yt-facade > span,
.mg-home-top .mg-slider .mgc-yt-facade:focus-visible > span {
	transform: translate(-50%, -50%) scale(1.12) !important;
	background-color: #e00000 !important;
}
@media (prefers-reduced-motion: reduce) {
	.mg-home-top .mg-slider .mgc-yt-facade,
	.mg-home-top .mg-slider .mgc-yt-facade > span { transition: none; }
}
/* ==========================================================================
   Sous-menus (mega menu) : 2 colonnes de liens + 1 colonne double avec la vidéo à la une
   ========================================================================== */
.mg-menu > li.menu-item-has-children > .sub-menu,
.mg-menu > li.mg-mega-news > .sub-menu {
	width: min(1140px, 96vw);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
	align-items: start;
	gap: 24px;
	padding: 22px 28px;
}
.mg-menu > li.menu-item-has-children > .sub-menu > li:not(.mg-latest-li):not(.mg-mega-feature) { grid-column: auto; }
.mg-menu > li.menu-item-has-children > .sub-menu > .mg-latest-li,
.mg-menu > li.menu-item-has-children > .sub-menu > .mg-mega-feature {
	grid-column: 3;
	grid-row: 1 / span var(--mg-rows, 2);
	min-width: 0;
}
.mg-mega-feat { display: block; }
.mg-mega-label {
	display: inline-block; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--mg-accent);
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .06em;
	text-transform: uppercase; color: #fff;
}
.mg-mega-feat .mgc-card-title { font-size: 15px; }
@media (max-width: 960px) {
	.mg-menu > li.menu-item-has-children > .sub-menu,
	.mg-menu > li.mg-mega-news > .sub-menu { grid-template-columns: 1fr; }
	.mg-menu > li.menu-item-has-children > .sub-menu > .mg-latest-li,
	.mg-menu > li.menu-item-has-children > .sub-menu > .mg-mega-feature { grid-column: 1; grid-row: auto; }
}
/* Sous-menus alignés sur la largeur de la barre de menu du header (même bord gauche et droit) */
.mg-bar { position: relative; }
.mg-menu > li.menu-item-has-children { position: static; }
.mg-menu > li.menu-item-has-children > .sub-menu,
.mg-menu > li.mg-mega-news > .sub-menu {
	left: 0;
	right: 0;
	width: auto;
	transform: none;
}
/* Pont de survol : la zone entre l'élément de menu et le sous-menu reste « survolée », le sous-menu ne se referme plus en descendant la souris */
.mg-menu > li.menu-item-has-children > .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -24px;
	height: 24px;
}
/* Fiche d'accès (proposer une vidéo quand on n'est pas connecté) */
.mgc-gate {
	max-width: 620px;
	margin: 56px auto;
	padding: 40px 32px;
	text-align: center;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-top: 4px solid var(--mg-accent);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.mgc-gate-title {
	margin: 0 0 12px;
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 800;
	font-size: 30px;
	line-height: 1.1;
	text-transform: uppercase;
	color: #111;
}
.mgc-gate-text { margin: 0 0 26px; color: #555; font-size: 16px; line-height: 1.5; }
.mgc-gate-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mgc-gate-btn {
	display: inline-block;
	padding: 13px 26px;
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid var(--mg-accent);
	transition: background-color .2s ease, color .2s ease;
}
.mgc-gate-btn--primary { background: var(--mg-accent); color: #fff; }
.mgc-gate-btn--primary:hover { background: #a80000; border-color: #a80000; color: #fff; }
.mgc-gate-btn--ghost { background: transparent; color: var(--mg-accent); }
.mgc-gate-btn--ghost:hover { background: var(--mg-accent); color: #fff; }
.mgc-gate-btn:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
@media (max-width: 560px) {
	.mgc-gate { margin: 32px 16px; padding: 28px 20px; }
	.mgc-gate-btn { width: 100%; }
}
/* Pied de page : toujours en bas de la fenêtre, collé au dernier pixel du contenu */
body.mg-body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
body.mg-body > .mg-site-header,
body.mg-body > .mg-site-footer { flex-shrink: 0; }
body.mg-body > .mg-main { flex: 1 0 auto; }
.mg-site-footer { margin-top: 0; }

/* Page « Soumettre une vidéo » : formulaire centré, sans titre répété */
.mg-page:has(.mgc-gate),
.mg-page:has(.mgc-form) { max-width: 760px; }
/* ==========================================================================
   Mise en page immersive : pages de compte, contact et soumission
   Carte centrée plein écran, grands champs, boutons pleine largeur.
   ========================================================================== */
body.mg-immersive { background: #f3efe9; }
body.mg-immersive .mg-main--immersive { background: radial-gradient(ellipse at top, #fff 0%, #f3efe9 60%); }
.mg-immersive-wrap {
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 6vw, 72px) 16px;
}
.mg-immersive-card {
	width: 100%;
	max-width: 680px;
	background: #fff;
	border-radius: 24px;
	border-top: 6px solid var(--mg-accent);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.10);
	padding: clamp(28px, 5vw, 56px);
}
.mg-immersive-title,
.mg-immersive-card h1,
.mg-immersive-card .elementor-widget-heading h1 {
	margin: 0 0 10px;
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 5vw, 46px);
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .01em;
	color: #111;
	text-align: center;
}
.mg-immersive-card p { color: #555; font-size: 16px; text-align: center; margin: 0 0 24px; }
.mg-immersive-card .e-con-boxed,
.mg-immersive-card .e-con-inner,
.mg-immersive-card .e-con { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
.mg-immersive-card .elementor-widget { width: 100%; }
.mg-immersive-card .elementor-widget-login,
.mg-immersive-card .elementor-widget-form { width: 100%; }

/* Champs */
.mg-immersive-card label,
.mg-immersive-card .elementor-field-label {
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #111;
	margin-bottom: 8px;
}
.mg-immersive-card input[type="text"],
.mg-immersive-card input[type="email"],
.mg-immersive-card input[type="password"],
.mg-immersive-card input[type="tel"],
.mg-immersive-card input[type="url"],
.mg-immersive-card textarea,
.mg-immersive-card select,
.mg-immersive-card .elementor-field-textual {
	width: 100%;
	min-height: 56px;
	padding: 14px 18px;
	font-size: 16px;
	color: #111;
	background: #fafafa;
	border: 2px solid #e2e2e2;
	border-radius: 14px;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.mg-immersive-card textarea,
.mg-immersive-card .elementor-field-type-textarea textarea { min-height: 160px; }
.mg-immersive-card input:hover,
.mg-immersive-card textarea:hover,
.mg-immersive-card select:hover { border-color: #cfcfcf; }
.mg-immersive-card input:focus,
.mg-immersive-card textarea:focus,
.mg-immersive-card select:focus {
	outline: none;
	background: #fff;
	border-color: var(--mg-accent);
	box-shadow: 0 0 0 4px rgba(229, 38, 42, .16);
}
.mg-immersive-card .elementor-field-group { margin-bottom: 20px; }
.mg-immersive-card .elementor-field-group > label { display: block; }
.mg-immersive-card .elementor-field-required > label::after { content: " *"; color: var(--mg-accent); }

/* Boutons */
.mg-immersive-card button,
.mg-immersive-card .elementor-button,
.mg-immersive-card input[type="submit"],
.mg-immersive-card .elementor-login .elementor-button {
	width: 100%;
	min-height: 58px;
	padding: 14px 28px;
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--mg-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .2s ease, transform .15s ease;
}
.mg-immersive-card button:hover,
.mg-immersive-card .elementor-button:hover { background: #a80000; transform: translateY(-1px); }
.mg-immersive-card button:focus-visible,
.mg-immersive-card .elementor-button:focus-visible,
.mg-immersive-card a:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.mg-immersive-card .e-form__buttons__wrapper__button-previous,
.mg-immersive-card .elementor-button[class*="previous"] {
	background: #fff;
	color: var(--mg-accent);
	border: 2px solid var(--mg-accent);
}
.mg-immersive-card .e-form__buttons__wrapper { display: flex; gap: 12px; }

/* Étapes du formulaire (Elementor multi-étapes) */
.mg-immersive-card .e-form__step { animation: mgFadeIn .35s ease; }
@keyframes mgFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* Messages */
.mg-immersive-card .elementor-message { border-radius: 14px; padding: 16px 18px; font-size: 15px; text-align: center; }
.mg-immersive-card .elementor-message-success { background: #ecf8f1; color: #0b6b3a; border: 0; }
.mg-immersive-card .elementor-message-danger,
.mg-immersive-card .elementor-message-error { background: #fdeeee; color: #a40000; border: 0; }

/* Liens sous le formulaire */
.mg-immersive-card .elementor-widget-text-editor { text-align: center; }
.mg-immersive-card .elementor-widget-text-editor a { color: var(--mg-accent); font-weight: 600; }

/* Formulaire de soumission (shortcode) : même style */
.mg-immersive-card .mgc-notice { border-radius: 14px; padding: 16px 18px; text-align: center; }
.mg-immersive-card .mgc-gate { border: 0; box-shadow: none; margin: 0; padding: 0; }

@media (max-width: 600px) {
	.mg-immersive-wrap { padding: 16px 12px 40px; min-height: 0; align-items: flex-start; }
	.mg-immersive-card { border-radius: 18px; padding: 26px 20px; }
	.mg-immersive-card .e-form__buttons__wrapper { flex-direction: column-reverse; }
}
/* Surcharges immersives (les styles globaux d'Elementor priment sinon) */
.mg-immersive-card h1,
.mg-immersive-card .elementor-heading-title {
	font-family: "Barlow Condensed", sans-serif !important;
	font-weight: 800 !important;
	font-size: clamp(34px, 5vw, 46px) !important;
	text-transform: uppercase !important;
	color: #111 !important;
	text-align: center !important;
}
.mg-immersive-card .elementor-field-label,
.mg-immersive-card .elementor-field-group label {
	font-family: "Open Sans", sans-serif !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	color: #111 !important;
}
.mg-immersive-card .elementor-field-required .elementor-field-label::after { color: var(--mg-accent) !important; }
.mg-immersive-card .elementor-button,
.mg-immersive-card button[type="submit"],
.mg-immersive-card .e-form__buttons__wrapper__button-next,
.mg-immersive-card .e-form__buttons__wrapper__button-previous {
	background-color: var(--mg-accent) !important;
	border-color: var(--mg-accent) !important;
	color: #fff !important;
	font-family: "Barlow Condensed", sans-serif !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	text-transform: uppercase !important;
	letter-spacing: .06em !important;
	border-radius: 999px !important;
	min-height: 58px !important;
}
.mg-immersive-card .e-form__buttons__wrapper__button-previous {
	background-color: #fff !important;
	color: var(--mg-accent) !important;
}
.mg-immersive-card .elementor-button:hover,
.mg-immersive-card .e-form__buttons__wrapper__button-next:hover { background-color: #a80000 !important; }
/* ==========================================================================
   Parcours de soumission (2 étapes) : découvrir, puis classer
   ========================================================================== */
.mg-immersive-card:has(.mgc-flow) { max-width: 860px; }
.mgc-flow { display: flex; flex-direction: column; gap: 22px; }
.mgc-flow--start { max-width: 560px; margin: 0 auto; }

/* Indicateur d'étapes */
.mgc-steps ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; justify-content: center; }
.mgc-step { display: flex; align-items: center; gap: 10px; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; color: #9a9a9a; }
.mgc-step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #d6d6d6; font-size: 15px; }
.mgc-step.is-current { color: #111; }
.mgc-step.is-current .mgc-step-num { background: var(--mg-accent); border-color: var(--mg-accent); color: #fff; }
.mgc-step.is-done { color: #111; }
.mgc-step.is-done .mgc-step-num { background: #111; border-color: #111; color: #fff; }
.mgc-progress { height: 6px; background: #eee; border-radius: 999px; overflow: hidden; }
.mgc-progress span { display: block; height: 100%; background: var(--mg-accent); border-radius: 999px; transition: width .4s ease; }

/* Lecteur avec repères (durée, vues) */
.mgc-player { position: relative; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.mgc-player iframe { display: block; }
.mgc-player .mgc-views,
.mgc-player .mgc-dur { position: absolute; z-index: 2; pointer-events: none; }
.mgc-player .mgc-views { top: 12px; left: 12px; }
.mgc-player .mgc-dur { right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(0,0,0,.8); color: #fff; font: 700 13px/1.2 "Open Sans", sans-serif; font-variant-numeric: tabular-nums; }

/* Titre et métadonnées */
.mgc-flow-title { margin: 0; text-align: left; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: clamp(26px, 4vw, 34px); line-height: 1.15; text-transform: none; color: #111; }
.mgc-flow-meta { margin: -10px 0 0; text-align: left; color: #666; font-size: 15px; }

/* Zone « Réagissez à cette vidéo » */
.mgc-react { gap: 10px; }
.mgc-react-label { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; color: #111; }
.mgc-react textarea { min-height: 130px; border-style: dashed; background: #fffdfb; }
.mgc-react textarea::placeholder { color: #9a9a9a; font-style: italic; }
.mgc-react textarea:focus { border-style: solid; }

/* Récapitulatif (étape 2) */
.mgc-recap { padding: 14px 18px; background: #faf7f3; border-left: 4px solid var(--mg-accent); border-radius: 10px; }
.mgc-recap-title { font-weight: 700; color: #111; }

/* Segments de rubriques (choix multiples) */
.mgc-segments { border: 0; margin: 0; padding: 0; min-width: 0; }
.mgc-seg-legend { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; color: #111; padding: 0; margin-bottom: 14px; }
.mgc-seg-legend .mgc-muted { display: block; font-family: "Open Sans", sans-serif; font-size: 14px; font-weight: 400; text-transform: none; color: #777; margin-top: 4px; }
.mgc-seg-group { margin-bottom: 16px; }
.mgc-seg-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #888; }
.mgc-seg-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mgc-seg { position: relative; cursor: pointer; }
.mgc-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mgc-seg span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
	border: 2px solid #e2e2e2; border-radius: 999px; background: #fff;
	font-weight: 600; font-size: 15px; color: #333;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.mgc-seg:hover span { border-color: #bdbdbd; }
.mgc-seg:active span { transform: scale(.97); }
.mgc-seg input:checked + span { background: var(--mg-accent); border-color: var(--mg-accent); color: #fff; }
.mgc-seg input:checked + span::before { content: "✓"; margin-right: 8px; font-weight: 800; }
.mgc-seg input:focus-visible + span { outline: 3px solid #111; outline-offset: 3px; }

/* Actions */
.mgc-actions { margin: 6px 0 0; }
.mgc-actions--split { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.mgc-actions--split .mgc-btn { flex: 1 1 200px; }
.mgc-btn--ghost { background: #fff !important; color: var(--mg-accent) !important; border: 2px solid var(--mg-accent) !important; }
.mg-immersive-card .mgc-notice.mgc-error { background: #fdeeee; color: #a40000; }

@media (max-width: 600px) {
	.mgc-steps ol { gap: 14px; }
	.mgc-step { font-size: 14px; }
	.mgc-actions--split { flex-direction: column-reverse; }
}
/* Étape 2 : familles de rubriques en onglets, valeurs à cocher dans l'onglet actif */
.mgc-classify [hidden] { display: none !important; }
.mgc-families { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.mgc-families::-webkit-scrollbar { display: none; }
.mgc-family-tab {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 46px; padding: 10px 18px;
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .05em; text-transform: uppercase;
	color: #333; background: #f4f1ec; border: 2px solid transparent; border-radius: 999px; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.mgc-family-tab:hover { border-color: #d6d0c6; }
.mgc-family-tab.is-active { background: #111; color: #fff; }
.mgc-family-tab:focus-visible { outline: 3px solid var(--mg-accent); outline-offset: 3px; }
.mgc-tab-count {
	display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 999px; background: var(--mg-accent); color: #fff; font: 700 12px/1 "Open Sans", sans-serif;
}
.mgc-family-panels { margin-top: 14px; min-height: 120px; }
.mgc-family-panel { animation: mgFadeIn .25s ease; }
.mgc-count { margin: 14px 0 0; font-weight: 600; font-size: 15px; color: #444; }
/* Onglets de familles : surcharge des boutons immersifs (pleine largeur, rouges) */
.mg-immersive-card .mgc-families { flex-wrap: wrap; overflow: visible; gap: 10px; padding: 0 0 6px; }
.mg-immersive-card .mgc-family-tab {
	width: auto; min-height: 46px; margin: 0; padding: 10px 18px;
	background-color: #f4f1ec !important; color: #333 !important; border: 2px solid transparent !important;
	font-size: 17px; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px;
	transform: none !important;
}
.mg-immersive-card .mgc-family-tab:hover { background-color: #ebe6dd !important; transform: none !important; }
.mg-immersive-card .mgc-family-tab.is-active { background-color: #111 !important; color: #fff !important; }
/* Mots-clés personnalisés (étape 2) */
.mgc-tags { margin-top: 26px; }
.mgc-tags-label { display: block; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; color: #111; margin-bottom: 10px; }
.mgc-tags-label .mgc-muted { font-family: "Open Sans", sans-serif; font-size: 14px; font-weight: 400; text-transform: none; color: #777; }
.mg-immersive-card .mgc-tag-box {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 56px; padding: 8px 12px;
	background: #fafafa; border: 2px solid #e2e2e2; border-radius: 14px; cursor: text;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.mg-immersive-card .mgc-tag-box:focus-within { background: #fff; border-color: var(--mg-accent); box-shadow: 0 0 0 4px rgba(229,38,42,.16); }
.mg-immersive-card .mgc-tag-box input { flex: 1 1 160px; min-width: 140px; min-height: 36px; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 4px 6px !important; font-size: 16px; }
.mgc-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px;
	background: #111; color: #fff; border-radius: 999px; font-size: 15px; font-weight: 600;
}
.mgc-chip-x {
	width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff;
	font-size: 16px; line-height: 1; cursor: pointer; padding: 0; min-height: 0 !important;
}
.mgc-chip-x:hover { background: var(--mg-accent); }
.mgc-chip-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mgc-hint { margin: 8px 0 0; font-size: 13px; color: #777; }
/* Informations sous le titre (étape 1 de la soumission) */
.mgc-meta { display: flex; flex-direction: column; gap: 12px; margin-top: -6px; padding: 16px 0 0; border-top: 1px solid #ece8e1; }
.mgc-meta-channel { margin: 0; font-size: 16px; font-weight: 700; color: #111; }
.mgc-meta-channel a { color: #111; text-decoration: none; border-bottom: 2px solid var(--mg-accent); }
.mgc-meta-channel a:hover { color: var(--mg-accent); }
.mgc-meta-label { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: #111; color: #fff; font: 700 11px/1.6 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.mgc-meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mgc-meta-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #f6f3ee; color: #555; font-size: 14px; }
.mgc-meta-chips li svg { color: var(--mg-accent); flex: 0 0 auto; }
.mgc-meta-chips strong { color: #111; font-weight: 700; }
/* Lecture lancée : les repères vues et durée disparaissent */
.mgc-player:has(iframe) .mgc-views,
.mgc-player:has(iframe) .mgc-dur { display: none; }
/* Triangle de lecture blanc sur toutes les façades YouTube (page vidéo, carrousels, soumission) */
.mgc-yt-facade > span > span { border-color: transparent transparent transparent #fff !important; }
/* Bloc d'informations : aligné à gauche (la carte immersive centre les paragraphes par défaut) */
.mg-immersive-card .mgc-meta,
.mg-immersive-card .mgc-meta-channel,
.mg-immersive-card .mgc-meta-chips { text-align: left; justify-content: flex-start; }

