/* Page « Dans les médias » (60603) : style des widgets Elementor portant les classes am-* (inc/medias.php) */
:root { --am-bleu: #153e75; --am-orange: #f39718; --am-fond: #f3f5f9; }

/* Titres : ligne bleue + ligne orange italique (span dans le titre) */
.am-titre .elementor-heading-title { color: var(--am-bleu); font: 900 clamp(26px, 3.6vw, 38px)/1.05 Poppins, sans-serif; text-align: center; text-transform: uppercase; }
.am-titre-blanc .elementor-heading-title { color: #fff; font-size: clamp(32px, 5vw, 54px); }
.am-titre-gauche .elementor-heading-title { text-align: left; }
.am-surtitre .elementor-heading-title { color: var(--am-orange); font: 800 11px Poppins, sans-serif; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.am-h3 .elementor-heading-title { color: var(--am-bleu); font: 800 16px/1.3 Poppins, sans-serif; }
.am-trait { --divider-color: var(--am-orange); }
.am-texte { color: #1c244a; font: 13px/1.6 Poppins, sans-serif; }
.am-texte p { margin: 0; }
.am-texte-blanc, .am-centre { max-width: 560px; margin: 0 auto; text-align: center; }
.am-texte-blanc { color: #fff; font-size: 14px; }

/* Boutons, badges */
.am-badge .elementor-heading-title { display: inline-block; padding: 3px 12px; border-radius: 30px; background: var(--am-orange); color: #fff; font: 800 10px Poppins, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.am-badge-bleu .elementor-heading-title { background: var(--am-bleu); }

/* Hero */
.e-con.am-hero { --padding-top: 90px; --padding-bottom: 70px; --gap: 16px; }

/* Bandeau défilant, non interactif (coins comblés : bleu au-dessus, blanc cassé en dessous) */
.e-con.am-bandeau-cadre { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; background: linear-gradient(var(--am-bleu) 50%, var(--am-fond) 50%); overflow: hidden; }
.am-bandeau { margin: 0 -20px !important; width: calc(100% + 40px) !important; padding: 14px 0; background: var(--am-orange); transform: rotate(-1.2deg); box-shadow: 0 -40px 0 var(--am-bleu), 0 40px 0 var(--am-fond); overflow: hidden; pointer-events: none; user-select: none; }
.am-bandeau p { margin: 0; white-space: nowrap; color: #fff; }
.am-bandeau-piste { display: flex; width: max-content; animation: am-defile 60s linear infinite; }
.am-bandeau span { padding: 0 18px; color: #fff; font: italic 900 16px Poppins, sans-serif; text-transform: uppercase; white-space: nowrap; }
.am-bandeau span::after { content: "•"; margin-left: 36px; }
@keyframes am-defile { to { transform: translateX(-50%); } }

/* Sections */
.e-con.am-section { --padding-top: 80px; --padding-bottom: 80px; --gap: 16px; }
.e-con.am-fond { background: var(--am-fond); }
.e-con.am-nationaux { border-radius: 0 0 40px 40px; }
.e-con.am-presse { border-radius: 40px; }
.am-carrousel { --swiper-pagination-bullet-size: 8px; max-width: 1000px; margin: 20px auto 0; width: 100%; }
.am-carrousel .elementor-swiper-button { width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(21, 62, 117, .15); display: flex; align-items: center; justify-content: center; }
.am-carrousel .elementor-swiper-button:hover { background: var(--am-orange); }
.am-carrousel .swiper-pagination-bullet-active { width: 22px; border-radius: 8px; }

/* Vidéos : vignette + petit bouton lecture bleu (lecteur chargé au clic par Elementor) */
.am-video .elementor-wrapper { border-radius: 18px; overflow: hidden; }

/* Grands médias nationaux */
.e-con.am-national { --gap: 50px; }
.e-con.am-national-texte { --gap: 12px; flex: 1 1 0; }
.e-con.am-national-video { flex: 1.25 1 0; }
.am-national .am-h3 .elementor-heading-title { font-size: 18px; font-weight: 900; text-transform: uppercase; }
.am-national .am-texte { color: #6b7a90; }
.am-logo img { width: auto !important; max-width: 130px; height: 34px !important; object-fit: contain; object-position: left; filter: brightness(0) invert(17%) sepia(52%) saturate(2400%) hue-rotate(201deg) brightness(92%); }
.am-national-video .elementor-widget-container { border-radius: 20px; box-shadow: 14px 14px 0 var(--am-orange) !important; }

/* Cartes vidéos clubs */
.e-con.am-carte { --gap: 0; --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; border-radius: 18px; background: var(--am-fond); overflow: hidden; }
.am-carte .am-video .elementor-wrapper { border-radius: 0; }
.e-con.am-carte-texte { --gap: 8px; --padding-top: 14px; --padding-bottom: 20px; --padding-left: 18px; --padding-right: 18px; }
.am-carte .am-h3 .elementor-heading-title { font-size: 14px; }

/* Presse */
.e-con.am-article { --gap: 50px; --padding-bottom: 50px; }
.e-con.am-article-texte { --gap: 12px; flex: 1 1 0; align-items: flex-start; }
.e-con.am-article-image { flex: 1 1 0; }
.am-article-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 14px 14px 0 var(--am-orange) !important; }

/* Historique : accordéon au design de la FAQ /sport-est/ */
.am-accordeon { max-width: 900px; width: 100%; margin: 20px auto 0; }
.am-accordeon .e-n-accordion-item { margin-bottom: 14px; border: 2px solid transparent; border-radius: 16px; background: #f5f6f8; transition: border-color .3s, background .3s, box-shadow .3s; overflow: hidden; }
.am-accordeon .e-n-accordion-item[open] { border-color: var(--am-orange); background: #fff; box-shadow: 0 10px 30px -14px rgba(21, 62, 117, .25); }
.am-accordeon .e-n-accordion-item-title { padding: 22px 30px; border: 0 !important; background: transparent !important; }
.am-accordeon .e-n-accordion-item-title-text { color: var(--am-bleu) !important; font: 600 1em/1 Poppins, sans-serif !important; }
.am-accordeon .e-n-accordion-item-title-icon :is(i, svg) { color: var(--am-orange) !important; fill: var(--am-orange) !important; font-size: 1em; width: 1em; height: 1em; }
.am-accordeon .e-n-accordion-item > .e-con { border: 0 !important; }
.e-con.am-parutions { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; --padding-top: 0; --padding-bottom: 24px; --padding-left: 30px; --padding-right: 30px; }
.e-con.am-parution { --gap: 4px; --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; align-items: center; text-align: center; }
.am-parution .am-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.am-parution-club .elementor-heading-title { color: var(--am-bleu); font: 900 12px Poppins, sans-serif; text-transform: uppercase; }
.am-parution-media .elementor-heading-title { color: var(--am-orange); font: italic 11px Poppins, sans-serif; }

/* Tablette / mobile */
@media (max-width: 900px) {
	.e-con.am-national, .e-con.am-article { --gap: 26px; }
	.e-con.am-national-video, .e-con.am-article-image { order: -1; width: 100%; }
	.e-con.am-parutions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.e-con.am-section { --padding-top: 56px; --padding-bottom: 56px; }
	.am-national-video .elementor-widget-container, .am-article-image img { box-shadow: 8px 8px 0 var(--am-orange) !important; }
	.e-con.am-parutions { gap: 12px; --padding-left: 18px; --padding-right: 18px; --padding-bottom: 18px; }
	.am-accordeon .e-n-accordion-item-title { padding: 18px; }
	.am-accordeon .e-n-accordion-item-title-text { font-size: .9em !important; }
	.am-bandeau span { font-size: 13px; }
}

/* Priorité sur les styles par défaut d'Elementor (accordéon, ombres orange coupées par le carrousel) */
.elementor .e-con .elementor-widget.am-accordeon { max-width: 900px !important; width: 100% !important; --container-widget-width: 900px; margin-left: auto !important; margin-right: auto !important; --n-accordion-item-title-space-between: 14px; }
.am-accordeon .e-n-accordion { gap: 14px; display: flex; flex-direction: column; }
.am-accordeon .e-n-accordion-item { margin: 0 !important; }
.am-accordeon .e-n-accordion-item > .e-n-accordion-item-title { padding: 22px 30px !important; }
.e-con.am-national-video, .e-con.am-article-image { --padding-right: 14px; --padding-bottom: 14px; --padding-top: 0; --padding-left: 0; }
@media (max-width: 600px) {
	.am-accordeon .e-n-accordion-item > .e-n-accordion-item-title { padding: 18px !important; }
	.e-con.am-national-video, .e-con.am-article-image { --padding-right: 8px; --padding-bottom: 8px; }
}
/* Place pour l'ombre orange à droite / en bas dans les slides */
.e-con.am-national { --padding-right: 20px; --padding-bottom: 20px; }
.e-con.am-article { --padding-right: 20px; }

/* ===== Alignement typographique sur /sport/application/ (2026-10-30) =====
   Texte : 0.95em (15,2 px), interligne 1.65, gris #4A4F57 sur fond clair, blanc sur fond bleu.
   Titres H1/H2 : 2.4em, 900, interligne 1.15. H3 : 1.05em, 800, majuscules. Boutons : 0.7em, 800. */
.elementor-widget.am-texte, .elementor-widget.am-texte p { color: #4a4f57; font-size: 1em; line-height: 1.6; } /* 2026-11-13 : échelle du Kit (16 px) */
.elementor-widget.am-texte-blanc, .elementor-widget.am-texte-blanc p { color: #fff; }
.elementor-widget.am-texte-blanc, .elementor-widget.am-centre { max-width: 620px; }
.am-national .elementor-widget.am-texte p { color: #4a4f57; }
/* 2026-11-13 : titres alignés sur l'échelle du Kit (H1 48/32, H2 38/28) */
.am-titre .elementor-heading-title, .am-titre-blanc .elementor-heading-title { font-size: 38px; line-height: 1.05; }
.am-titre h1.elementor-heading-title, .am-titre-blanc h1.elementor-heading-title { font-size: 48px; line-height: .95; }
.am-h3 .elementor-heading-title, .am-national .am-h3 .elementor-heading-title { font-size: 1.05em; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.am-carte .am-h3 .elementor-heading-title { font-size: .95em; }
.am-surtitre .elementor-heading-title { font-size: .75em; letter-spacing: 1.5px; }

/* Bandeau : plus large que l'écran pour que l'inclinaison ne laisse aucun vide aux extrémités */
.e-con.am-bandeau-cadre > .e-con-inner, .e-con.am-bandeau-cadre { max-width: none; }
.elementor-widget.am-bandeau { width: 110% !important; max-width: none !important; margin: 0 0 0 -5% !important; padding: 14px 0; }
.am-bandeau .elementor-widget-container { overflow: hidden; }
.am-bandeau span { font-size: 15px; line-height: 1; }

/* Logos TV alignés à gauche */
.am-logo, .am-logo .elementor-widget-container { text-align: left !important; }

/* Carrousels : flèches hors du contenu, moins de vide sous les points */
.elementor-widget.am-carrousel { padding: 0 56px; max-width: 1112px; }
.am-carrousel .elementor-swiper-button-prev { left: 0 !important; }
.am-carrousel .elementor-swiper-button-next { right: 0 !important; }
.am-carrousel .swiper-pagination { position: static; margin-top: 18px; }
.am-clubs .am-carrousel .swiper-pagination { display: none; }
.e-con.am-section { --padding-bottom: 70px; }
.e-con.am-article { --padding-bottom: 14px; }
.e-con.am-national { --padding-bottom: 14px; }

@media (max-width: 767px) {
	.am-titre .elementor-heading-title, .am-titre-blanc .elementor-heading-title { font-size: 28px; }
	.am-titre h1.elementor-heading-title, .am-titre-blanc h1.elementor-heading-title { font-size: 32px; }
	.elementor-widget.am-carrousel { padding: 0 34px; }
	.am-carrousel .elementor-swiper-button { width: 30px; height: 30px; }
	.am-bandeau span { font-size: 12px; padding: 0 12px; }
	.am-bandeau span::after { margin-left: 24px; }
}
.am-carrousel .swiper-pagination { display: flex; justify-content: center; width: 100%; }
.am-article-image img, .am-parution .am-image img { border-radius: 20px !important; }
.am-parution .am-image img { border-radius: 12px !important; }
.e-con.am-carte-texte { --gap: 10px; --row-gap: 10px; justify-content: flex-start; }
.am-carte-texte .elementor-widget { margin: 0 !important; }
.elementor-widget.am-texte-blanc, .elementor-widget.am-centre { margin-left: auto !important; margin-right: auto !important; width: 100%; }
.e-con.am-bandeau-cadre { margin-top: -1px; }
.am-carrousel .swiper-pagination { width: 100% !important; left: 0 !important; transform: none !important; }
.elementor.elementor .e-con .elementor-widget.am-texte-blanc, .elementor.elementor .e-con .elementor-widget.am-centre { max-width: 620px !important; }
@media (max-width: 767px) {
	.elementor-widget.am-carrousel { padding: 0 18px; }
	.am-carrousel .elementor-swiper-button-prev { left: -8px !important; }
	.am-carrousel .elementor-swiper-button-next { right: -8px !important; }
	.e-con.am-national, .e-con.am-article { --padding-right: 8px; --padding-left: 0; }
	.e-con.am-section { --padding-left: 12px; --padding-right: 12px; }
}
/* Marge des flèches « extérieures » d'Elementor remplacée par le padding du widget */
.am-carrousel .swiper, .am-carrousel .e-n-carousel { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }

/* Bandeau : ne plus couper les coins (rognage horizontal seulement) et passer au-dessus des sections voisines */
.e-con.am-bandeau-cadre { overflow: clip visible !important; position: relative; z-index: 3; }
.elementor-widget.am-bandeau .elementor-widget-container { overflow: hidden; }
/* Petits boutons « Lire l'article » de l'historique */
.am-btn-petit .elementor-button { padding: 10px 18px; }
