/* BE MVP — modernisation pages résultats (head_be.php, scope body.be-mvp) */

html {
	scroll-behavior: smooth;
	font-size: 100% !important;
}

body.be-mvp button,
body.be-mvp select {
	outline: none;
}

/* Fond uni pleine largeur (comme MVP FR resultats-v2) — remplace bg.jpg legacy.
   FR = category-resultats-* / NL = category-*-uitslagen (suffixe commun pages résultats NL) */
body.be-mvp[class*="category-resultats-"],
body.be-mvp[class*="-uitslagen"] {
	background: #fcfcff;
}

body.be-mvp section[class*="resultats-"] {
	background: #fcfcff;
}

body.be-mvp section[class*="resultats-"] div.box {
	margin-top: 25px;
}

body.be-mvp section[class*="resultats-"] div.box.box_resultat {
	margin-top: 0;
	background: none;
	border-radius: 0 0 12px 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.be-mvp section[class*="resultats-"] div.box.box_rapport {
	background: none;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	margin-top: 25px;
}

body.be-mvp section[class*="resultats-"] div.box.box_rapport .dynamicBanMid {
	top: 0;
	margin: 0;
}

body.be-mvp .stats_wrapper {
	width: 100%;
	float: left;
	margin-top: 25px;
}

body.be-mvp .home-be .stats_wrapper {
	margin-top: 20px;
}

body.be-mvp div.topbox {
	width: 100%;
	float: none;
	margin: 25px auto;
	margin-top: 0;
}

body.be-mvp div.topbox .box,
body.be-mvp div.topbox .col {
	width: 100%;
	margin-top: 0;
}

/* Shell wrapper-v2 — bandeau pleine largeur, contenu centré 1024 (miroir FR resultats-v2) */
body.be-mvp .wrapper.wrapper-v2 {
	width: 100%;
	max-width: none;
	margin: 0;
	position: initial;
}

body.be-mvp .wrapper.wrapper-v2 main,
body.be-mvp .wrapper.wrapper-v2 main.category_v2 {
	margin: 0;
	padding: 0;
}

body.be-mvp .wrapper.wrapper-v2 section[class*="resultats-"] {
	width: 100%;
}

body.be-mvp .wrapper.wrapper-v2 .stats_wrapper {
	max-width: 1280px;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	float: none;
}

body.be-mvp div.nextTirageMob {
	display: none;
	position: relative;
	height: 205px;
}

body.be-mvp div.nextTirageMob .col {
	margin: 0;
}

body.be-mvp .dynamicBanMid.dynamicBanMob {
	margin-top: 0;
	top: 0;
	margin-bottom: 0;
}

/* H1 legacy masqué — titre SSR dans belgique_resultCard_v2.php */
body.be-mvp[class*="category-resultats-"] .stats_wrapper > h1,
body.be-mvp.category-single-tirage-belgique .stats_wrapper > h1 {
	display: none;
}

body.be-mvp .stats_wrapper > h1 {
	margin: 0 auto;
	font-size: 14px;
	line-height: 1.4;
	padding: 10px 16px;
	font-weight: 500;
	border-radius: 12px 12px 0 0;
}

body.be-mvp .resultats-loto h1 {
	font-weight: 500;
}

body.be-mvp.category-resultats-euromillions .stats_wrapper > h1 {
	background: #001367;
	color: #fff;
}

body.be-mvp.category-resultats-lotto .stats_wrapper > h1 {
	background: rgb(238, 49, 36);
	color: #fff;
}

body.be-mvp.category-resultats-keno .stats_wrapper > h1 {
	background: rgb(202, 110, 221);
	color: #fff;
}

body.be-mvp.category-resultats-joker .stats_wrapper > h1 {
	background: rgb(254, 77, 7);
	color: #fff;
}

body.be-mvp.category-resultats-vikinglotto .stats_wrapper > h1 {
	background: #1a1a1a;
	color: #fff;
}

body.be-mvp.category-resultats-pick3 .stats_wrapper > h1 {
	background: #fbb94f;
	color: #1a1a1a;
}

/* Carte résultat — fusion visuelle avec box_resultat (complété par be-result-card.css) */
body.be-mvp[class*="category-resultats-"] section[class*="resultats-"] div.box.box_resultat,
body.be-mvp.category-single-tirage-belgique section[class*="resultats-"] div.box.box_resultat,
body.be-mvp[class*="category-resultats-"] .topbox .box.box_resultat,
body.be-mvp.category-single-tirage-belgique .topbox .box.box_resultat {
	border-radius: 16px;
	overflow: visible;
	/* shadow porté par .be-result-card-wrap (cadre rapport de gains) → pas de double ombre */
	box-shadow: none;
}

/* Contenu SEO — bande blanche pleine largeur hors wrapper (pattern MVP FR news_v2) */
body.be-mvp .be-seo-content.news.news_v2.news_single {
	background: #fff;
	width: 100%;
	max-width: none;
	border-top: 1px solid #dfdee8;
	margin: 50px 0 0;
	padding-bottom: 60px !important;
}

body.be-mvp .be-seo-content.news.news_v2.news_category {
	background: #fff;
}

body.be-mvp .be-seo-content .detailTirage {
	max-width: 1280px;
	width: 95%;
	margin: 0 auto;
	padding: 50px 0 0;
}

body.be-mvp .be-seo-content .detailTirage .content {
	display: flex;
	flex-direction: column;
	gap: 50px;
	max-width: 1024px;
	background: none;
	height: auto;
	margin: 0;
	font-family: Roboto, Arial, Helvetica, sans-serif;
	padding: 5px 10px 20px 10px;
}

body.be-mvp .be-seo-content .detailTirage .content p,
body.be-mvp .be-seo-content .detailTirage .content ul li,
body.be-mvp .be-seo-content .detailTirage .content a {
	font-size: 20px;
	line-height: 34px;
	font-weight: 400;
	color: #0a0827;
}

body.be-mvp .be-seo-content .detailTirage .content strong,
body.be-mvp .be-seo-content .detailTirage .content a {
	font-weight: 600;
}

body.be-mvp .be-seo-content .detailTirage .content ul li {
	height: auto;
	border: 0;
	list-style-type: disc;
	margin-left: 1.2em;
	margin-bottom: 8px;
}

body.be-mvp .be-seo-content .detailTirage .content .toggle-box {
	padding-bottom: 20px;
}

body.be-mvp .be-seo-content .detailTirage .content a {
	display: inline;
	color: #001367;
	border-bottom: 0;
	text-decoration: none;
}

body.be-mvp .be-seo-content .detailTirage .content a:hover {
	text-decoration: underline;
}

body.be-mvp .be-seo-content .detailTirage .content h1,
body.be-mvp .be-seo-content .detailTirage .content h2,
body.be-mvp .be-seo-content .detailTirage .content h3,
body.be-mvp .be-seo-content .detailTirage .content h4,
body.be-mvp .be-seo-content .detailTirage .content h5,
body.be-mvp .be-seo-content .detailTirage .content h1 a,
body.be-mvp .be-seo-content .detailTirage .content h2 a,
body.be-mvp .be-seo-content .detailTirage .content h3 a,
body.be-mvp .be-seo-content .detailTirage .content h4 a,
body.be-mvp .be-seo-content .detailTirage .content h5 a {
	line-height: 1.35 !important;
	font-size: 25px !important;
	font-weight: 600 !important;
	color: #0a0827 !important;
	background: none !important;
	text-align: left !important;
	float: none !important;
	height: auto !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 0 12px !important;
	text-transform: none !important;
	font-family: Roboto, Arial, Helvetica, sans-serif !important;
	position: static !important;
	display: block !important;
	z-index: auto !important;
}

body.be-mvp .be-seo-content .detailTirage .content h1 a,
body.be-mvp .be-seo-content .detailTirage .content h2 a,
body.be-mvp .be-seo-content .detailTirage .content h3 a,
body.be-mvp .be-seo-content .detailTirage .content h4 a,
body.be-mvp .be-seo-content .detailTirage .content h5 a {
	display: inline !important;
}

body.be-mvp .be-seo-content .detailTirage .content > h2:first-of-type {
	margin-top: 0 !important;
}

body.be-mvp .be-seo-content .detailTirage .content h3,body.be-mvp .be-seo-content .detailTirage .content h3 a {
	font-size: 22px !important;
	margin-top: 22px !important;
}

body.be-mvp .be-seo-content .detailTirage .content p {
	margin: 0 !important;
}

/* Home éditorial : prose continue (≠ blocs shortcodes espacés par gap) → espacement lisible des paragraphes/titres */
body.be-mvp.category-home .be-seo-content .detailTirage .content .content_text p {
	margin: 0 0 25px !important;
}
body.be-mvp.category-home .be-seo-content .detailTirage .content .content_text h2,
body.be-mvp.category-home .be-seo-content .detailTirage .content .content_text h3 {
	margin: 28px 0 20px !important;
}

body.be-mvp .be-seo-content .detailTirage .content table {
	width: 99%;
	border-collapse: collapse;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 2px 2px 8px 0 rgba(38, 34, 98, 0.1);
	text-align: center;
}

body.be-mvp .be-seo-content .detailTirage .content table td,
body.be-mvp .be-seo-content .detailTirage .content table th {
	font-size: 18px;
	line-height: 24px;
	padding: 15px 10px;
	border-bottom: #dfdee8 solid 1px;
}

body.be-mvp[class*="category-resultats-"] footer,
body.be-mvp.category-single-tirage-belgique footer {
	margin-top: 0;
	background: #f8f9fc;
	border-top: 1px solid #dfdee8;
}

/* Legacy textebox (be/index.php et pages non migrées) */
body.be-mvp div.singlebox div.box {
	width: 100%;
	height: auto;
}

body.be-mvp div.singlebox div.box.textebox,
body.be-mvp section[class*="resultats-"] div.box.textebox,
body.be-mvp section[class*="resultats-"] div.box.textebox .content {
	background: none;
	height: auto;
	margin: 0;
	font-family: Roboto, Arial, Helvetica, sans-serif;
}

body.be-mvp section[class*="resultats-"] div.box.textebox p,
body.be-mvp section[class*="resultats-"] div.box.textebox ul li,
body.be-mvp section[class*="resultats-"] div.box.textebox a {
	font-size: 18px;
	line-height: 1.55;
	font-weight: 400;
	color: #3d3e42;
}

body.be-mvp section[class*="resultats-"] div.box.textebox strong,
body.be-mvp section[class*="resultats-"] div.box.textebox a {
	font-weight: 600;
}

body.be-mvp section[class*="resultats-"] div.box.textebox ul li {
	height: auto;
	border: 0;
	list-style-type: disc;
	margin-left: 1.2em;
	margin-bottom: 8px;
}

body.be-mvp section[class*="resultats-"] div.box.textebox .toggle-box {
	padding-bottom: 20px;
}

body.be-mvp section[class*="resultats-"] div.box.textebox a {
	display: inline;
	color: #001367;
	border-bottom: 1px solid #adacac;
	text-decoration: none;
}

body.be-mvp section[class*="resultats-"] div.box.textebox a:hover {
	border-bottom-color: #001367;
}

/* Neutralise style-header (barres grises div.box h2:first-child) dans le contenu */
body.be-mvp div.box.textebox div.content h1,
body.be-mvp div.box.textebox div.content h2,
body.be-mvp div.box.textebox div.content h3,
body.be-mvp div.box.textebox div.content h4,
body.be-mvp div.box.textebox div.content h5,
body.be-mvp section[class*="resultats-"] div.box.textebox h2,
body.be-mvp section[class*="resultats-"] div.box.textebox h3,
body.be-mvp section[class*="resultats-"] div.box.textebox h4,
body.be-mvp section[class*="resultats-"] div.box.textebox h5 {
	line-height: 1.35 !important;
	font-size: 21px !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	background: none !important;
	text-align: left !important;
	float: none !important;
	height: auto !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 28px 0 12px !important;
	text-transform: none !important;
	font-family: Roboto, Arial, Helvetica, sans-serif !important;
	position: static !important;
	display: block !important;
	z-index: auto !important;
}

body.be-mvp div.box.textebox .content > h2:first-of-type {
	margin-top: 10px !important;
}

body.be-mvp section[class*="resultats-"] div.box.textebox h3,
body.be-mvp div.box.textebox div.content h3 {
	font-size: 18px !important;
	margin-top: 22px !important;
}

body.be-mvp section[class*="resultats-"] div.box.textebox p,
body.be-mvp div.box.textebox div.content p {
	margin: 14px auto !important;
}

body.be-mvp section[class*="resultats-"] div.box.textebox p:first-child,
body.be-mvp div.box.textebox div.content p:first-child {
	margin-top: 0 !important;
}

body.be-mvp div.box.textebox div.content h3:first-child,
body.be-mvp div.box.textebox div.content h4:first-child {
	margin: 28px 0 12px !important;
}

/* Sommaire */
body.be-mvp .menu_shortcode {
	border-radius: 12px;
	border: 1px solid #dedede;
	padding: 20px 25px 15px;
	position: relative;
	font-family: Roboto, Arial, Helvetica, sans-serif;
	background: #fff;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
	margin-bottom: 8px;
}

body.be-mvp .menu_shortcode .menu_title {
	width: 100%;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: #001367;
}

body.be-mvp .menu_shortcode .menu_title span {
	font-size: 16px;
	color: #001367;
}

body.be-mvp .menu_shortcode ul,
body.be-mvp main div.news .menu_shortcode ul {
	list-style-type: none;
	padding: 15px 0 0;
	margin: 15px auto 0;
	border-top: 1px solid #dedede;
}

body.be-mvp .menu_shortcode ul li {
	width: 100%;
	margin-bottom: 6px;
	padding: 8px 10px;
	border-radius: 6px;
}

body.be-mvp .menu_shortcode ul li a {
	width: 100%;
	display: block;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.45;
	color: #001367;
	font-weight: 500;
	border-bottom: 0;
}

body.be-mvp .menu_shortcode ul li:last-child {
	margin-bottom: 0;
}

body.be-mvp .menu_shortcode ul li:hover {
	background: #ebedee;
}

body.be-mvp main div.news .menu_shortcode .menu_title {
	margin: 0;
}

/* CTA contenu */
body.be-mvp a.button_v2 {
	margin: 20px auto;
	background: linear-gradient(0deg, rgba(251, 185, 79, 1) 0%, rgba(241, 207, 100, 1) 100%);
	box-shadow: 1px 1px 2px 0 #a6a5a5;
	font-weight: 500;
	width: min(320px, 90%);
	display: block;
	text-align: center;
	border-radius: 45px;
	font-size: 16px;
	padding: 10px;
	color: #1a1a1a;
	text-decoration: none;
	border-bottom: 0;
}

body.be-mvp a.button_v2:hover {
	background: linear-gradient(180deg, rgba(251, 185, 79, 1) 0%, rgba(241, 207, 100, 1) 100%);
}

/* Rapport gains — override div.box h2 legacy (be-rapport-gains__section-title) */
body.be-mvp div.box.box_rapport > h2.rapport_title {
	height: auto !important;
	min-height: 36px;
	padding: 10px 16px !important;
	line-height: 1.35 !important;
	font-size: 15px !important;
	float: none !important;
	font-family: Roboto, Arial, Helvetica, sans-serif !important;
	font-weight: 500 !important;
	border-radius: 12px 12px 0 0;
	text-align: center;
}

body.be-mvp.category-resultats-euromillions div.box.box_rapport > h2.rapport_title,
body.be-mvp.category-single-tirage-belgique div.box.box_rapport > h2.rapport_title {
	background: #001367 !important;
	color: #fff !important;
}

body.be-mvp.category-resultats-lotto div.box.box_rapport > h2.rapport_title {
	background: rgb(238, 49, 36) !important;
	color: #fff !important;
}

body.be-mvp.category-resultats-keno div.box.box_rapport > h2.rapport_title {
	background: rgb(202, 110, 221) !important;
	color: #fff !important;
}

body.be-mvp.category-resultats-joker div.box.box_rapport > h2.rapport_title {
	background: rgb(254, 77, 7) !important;
	color: #fff !important;
}

body.be-mvp.category-resultats-vikinglotto div.box.box_rapport > h2.rapport_title {
	background: #1a1a1a !important;
	color: #fff !important;
}

body.be-mvp.category-resultats-pick3 div.box.box_rapport > h2.rapport_title {
	background: #fbb94f !important;
	color: #1a1a1a !important;
}

@media only screen and (max-width: 992px) {
	body.be-mvp .stats_wrapper {
		width: 100%;
	}

	body.be-mvp div.sidebar .fixed > div:first-child {
		margin-top: 0;
	}

	body.be-mvp div.dynamicBan.dynamicBanMob {
		margin-top: 25px;
	}
}

@media only screen and (max-width: 500px) {

	body.be-mvp .home-be .stats_wrapper,body.be-mvp .stats_wrapper {
		margin-top: 15px;
	}

	body.be-mvp .stats_wrapper > h1 {
		font-size: 13px;
		padding: 8px 12px;
	}

	body.be-mvp .menu_shortcode ul li a {
		font-size: 17px;
	}

	body.be-mvp .be-seo-content .detailTirage .content {
		padding: 5px 10px 20px 10px;
	}
}
