/*
 * Site public du club (module club-website) : shortcodes, pages de match et d'événement, widgets
 * Elementor de l'accueil (Bannières, Matchs, Événements, Partenaires, Entraînements) et sections des
 * modèles d'accueil « Classique » et « Vitrine » (titres, actus Easy Social, galerie).
 *
 * Couleurs et polices : uniquement celles du kit Elementor (--e-global-*). La couleur principale
 * porte les accents (boutons, scores, barre de progression), la secondaire l'encre des titres et les
 * bandes sombres, la police de titre du kit les titres en casse normale. Changer le kit change tout ;
 * les réglages de style des widgets surchargent ces valeurs. Les replis ne servent que sans kit :
 * des gris neutres. Aucune couleur de club ici.
 */

/* ---------- Socle ---------- */

/* .webisport-site : un widget du module ; .webisport-section : un conteneur d'un modèle d'accueil. */
.webisport-site,
.webisport-section {
	--webisport-primary: var(--e-global-color-primary, #3d3d3d);
	--webisport-secondary: var(--e-global-color-secondary, #1d1d1d);
	--webisport-text: var(--e-global-color-text, #333333);
	--webisport-accent: var(--e-global-color-accent, var(--webisport-primary));
	--webisport-on-dark: #ffffff;
	--webisport-on-dark-soft: #f4f1ec;
	--webisport-card-background: #ffffff;
	--webisport-line: color-mix(in srgb, var(--webisport-secondary) 12%, transparent);
	--webisport-muted: color-mix(in srgb, var(--webisport-text) 72%, #ffffff);
	--webisport-tint: color-mix(in srgb, var(--webisport-primary) 7%, #ffffff);
	--webisport-soft: color-mix(in srgb, var(--webisport-secondary) 7%, transparent);
	--webisport-radius: 10px;
	--webisport-font-display: var(--e-global-typography-primary-font-family), "Arial Narrow", sans-serif;
	--webisport-font-display-weight: var(--e-global-typography-primary-font-weight, 400);
	--webisport-font-text: var(--e-global-typography-text-font-family), system-ui, sans-serif;
}

/* Navigateurs sans color-mix() : des teintes fixes et neutres. */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.webisport-site,
	.webisport-section {
		--webisport-line: rgba(0, 0, 0, 0.12);
		--webisport-muted: #5f5f5f;
		--webisport-tint: #f6f3f2;
		--webisport-soft: rgba(0, 0, 0, 0.07);
	}
}

.webisport-site {
	box-sizing: border-box;
	color: var(--webisport-text);
	font-family: var(--webisport-font-text);
}

.webisport-site *,
.webisport-site *::before,
.webisport-site *::after {
	box-sizing: inherit;
}

/* Titre de section facultatif : police de titre du kit, casse normale, aligné à gauche. */
.webisport-site .webisport-section-title {
	margin: 0 0 36px;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: clamp(34px, 4.2vw, 48px);
	line-height: 1.08;
	text-wrap: balance;
}

/* Le titre et ce qui l'accompagne (onglets), sur une ligne. */
.webisport-site .webisport-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 36px;
}

.webisport-site .webisport-section-head .webisport-section-title {
	margin: 0;
}

/* Le lien « Tous nos partenaires » sur la ligne de base du titre. */
.webisport-site.webisport-partners .webisport-section-head {
	align-items: baseline;
}

/* Carte : fond blanc, filet fin, arrondi. */
.webisport-site .webisport-card {
	background-color: var(--webisport-card-background);
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
}

/* Bouton : couleur d'accent du kit, police de titre. */
.webisport-site a.webisport-button,
.webisport-site .webisport-button {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 6px;
	background-color: var(--webisport-accent);
	color: var(--webisport-on-dark);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 19px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.webisport-site a.webisport-button:hover,
.webisport-site a.webisport-button:focus-visible {
	background-color: var(--webisport-secondary);
	color: var(--webisport-on-dark);
}

/* Lien sous un widget (« Voir tous les matchs ») : souligné, sans flèche. */
.webisport-site .webisport-more-wrap {
	margin: 28px 0 0;
}

.webisport-site a.webisport-more {
	padding-bottom: 2px;
	border-bottom: 2px solid currentColor;
	color: var(--webisport-primary);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
}

.webisport-site a.webisport-more:hover {
	color: var(--webisport-secondary);
}

.webisport-site :focus-visible,
.webisport-section :focus-visible {
	outline: 3px solid var(--webisport-primary);
	outline-offset: 3px;
}

.webisport-site [hidden] {
	display: none !important;
}

/* Parties en .webisport-site .x : au-dessus des titres et liens du kit ; les réglages des widgets
   visent {{WRAPPER}} .webisport-site .x et l'emportent. */

/* Message de l'éditeur Elementor, quand un widget n'a rien à montrer. */
.webisport-editor-notice {
	padding: 24px;
	border: 1px dashed #b0b0b0;
	text-align: center;
}

/* ---------- Bannières ---------- */

.webisport-banners {
	--webisport-banner-overlay: var(--webisport-secondary);
	--webisport-banner-height: 560px;
	--webisport-banner-gutter: max(24px, calc((100% - var(--container-max-width, 1140px)) / 2));
	position: relative;
	color: var(--webisport-on-dark);
}

.webisport-banners--height-compact {
	--webisport-banner-height: 380px;
}

.webisport-banners--height-full {
	--webisport-banner-height: max(480px, min(86svh, 760px));
}

.webisport-banners__stage {
	position: relative;
	overflow: hidden;
	background-color: var(--webisport-banner-overlay);
}

/* L'essentiel de Swiper, pour ne dépendre d'aucune feuille d'Elementor ; sans script, la première bannière. */
.webisport-banners .swiper {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.webisport-banners .swiper-wrapper {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	box-sizing: content-box;
	transition-property: transform;
	z-index: 1;
}

.webisport-banners .swiper-slide {
	position: relative;
	flex-shrink: 0;
	width: 100%;
	transition-property: transform;
}

.webisport-banner {
	box-sizing: border-box;
	display: flex;
	align-items: flex-end;
	height: var(--webisport-banner-height);
	padding: 0 var(--webisport-banner-gutter) 72px;
	overflow: hidden;
}

.webisport-site .webisport-banner__image {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* Voile de la couleur secondaire, dense derrière le texte. */
.webisport-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--webisport-banner-overlay) 88%, transparent) 0%,
		color-mix(in srgb, var(--webisport-banner-overlay) 55%, transparent) 45%,
		transparent 75%);
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.webisport-banner::before {
		background: linear-gradient(90deg, var(--webisport-banner-overlay) 0%, transparent 75%);
		opacity: 0.9;
	}
}

.webisport-banner__content {
	position: relative;
	z-index: 2;
	max-width: 620px;
}

.webisport-site .webisport-banner__title {
	margin: 0 0 18px;
	color: var(--webisport-on-dark);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: clamp(40px, 5.6vw, 68px);
	line-height: 1.08;
	text-wrap: balance;
}

.webisport-site .webisport-banner__text {
	max-width: 46ch;
	margin: 0 0 30px;
	color: var(--webisport-on-dark-soft);
	font-size: clamp(17px, 1.5vw, 19px);
	line-height: 1.55;
}

.webisport-site .webisport-banner__text:last-child {
	margin-bottom: 0;
}

/* Compteur et flèches groupés dans un coin ; barre de progression en bas. */
.webisport-banners__nav {
	position: absolute;
	right: var(--webisport-banner-gutter);
	bottom: 28px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
}

.webisport-banners__count {
	margin-right: 8px;
	color: var(--webisport-on-dark-soft);
	font-family: var(--webisport-font-display);
	font-size: 18px;
	font-variant-numeric: tabular-nums;
}

.webisport-site .webisport-banners__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: transparent;
	color: var(--webisport-on-dark);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.webisport-site .webisport-banners__arrow:hover {
	background-color: rgba(255, 255, 255, 0.15);
}

.webisport-site.webisport-banners .webisport-banners__arrow:focus-visible {
	outline-color: var(--webisport-on-dark);
}

.webisport-banners__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	width: var(--webisport-banner-progress, 0%);
	height: 5px;
	background-color: var(--webisport-primary);
	transition: width 0.4s ease;
}

/* Sans script, ni barre ni commandes : la première bannière reste affichée. */
.webisport-banners:not([data-webisport-ready="1"]) .webisport-banners__progress,
.webisport-banners:not([data-webisport-ready="1"]) .webisport-banners__nav {
	display: none;
}

/* Points : une barre fine par bannière, la courante pleine ; une cible de 24 px de haut. */
.webisport-banners__dots {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-right: 8px;
}

.webisport-site .webisport-banners__dot {
	position: relative;
	width: 28px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.webisport-site .webisport-banners__dot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 3px;
	margin-top: -1.5px;
	border-radius: 2px;
	background-color: rgba(255, 255, 255, 0.45);
	transition: background-color 0.2s ease;
}

.webisport-site .webisport-banners__dot:hover::before {
	background-color: rgba(255, 255, 255, 0.75);
}

.webisport-site .webisport-banners__dot[aria-current="true"]::before {
	background-color: var(--webisport-on-dark);
}

.webisport-site.webisport-banners .webisport-banners__dot:focus-visible {
	outline-color: var(--webisport-on-dark);
}

/* Vitrine : texte centré sur tout l'écran. */
.webisport-banners--center .webisport-banner {
	align-items: center;
	justify-content: center;
	padding-bottom: 0;
	text-align: center;
}

.webisport-banners--center .webisport-banner::before {
	background: linear-gradient(0deg,
		color-mix(in srgb, var(--webisport-banner-overlay) 85%, transparent),
		color-mix(in srgb, var(--webisport-banner-overlay) 35%, transparent));
}

.webisport-banners--center .webisport-banner__content {
	max-width: 820px;
	margin: 0 auto;
}

.webisport-banners--center .webisport-banner__title {
	font-size: clamp(46px, 7vw, 92px);
}

.webisport-banners--center .webisport-banner__text {
	margin-inline: auto;
}

.webisport-banners--center .webisport-banners__nav {
	right: auto;
	left: 50%;
	transform: translateX(-50%);
}

/* Hauteur réduite. */
.webisport-banners--height-compact .webisport-banner {
	padding-bottom: 48px;
}

.webisport-banners--height-compact .webisport-banner__title {
	font-size: clamp(30px, 3.8vw, 46px);
}

@media (max-width: 640px) {
	.webisport-banners {
		--webisport-banner-gutter: 16px;
	}

	.webisport-banners--height-standard {
		--webisport-banner-height: 500px;
	}

	.webisport-banners--height-compact {
		--webisport-banner-height: 340px;
	}

	.webisport-banner,
	.webisport-banners--center .webisport-banner,
	.webisport-banners--height-compact .webisport-banner {
		align-items: flex-end;
		padding-bottom: 92px;
	}

	.webisport-banner::before,
	.webisport-banners--center .webisport-banner::before {
		background: linear-gradient(0deg,
			color-mix(in srgb, var(--webisport-banner-overlay) 92%, transparent) 25%,
			color-mix(in srgb, var(--webisport-banner-overlay) 30%, transparent));
	}

	.webisport-banners__nav {
		bottom: 22px;
	}

	.webisport-site .webisport-banners__arrow {
		width: 44px;
		height: 44px;
	}
}

/* ---------- Onglets, grilles et carrousels de cartes ---------- */

/* Onglets « À venir » / « Résultats » en pilule. */
.webisport-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background-color: var(--webisport-soft);
}

.webisport-matches--carousel .webisport-tabs {
	margin-bottom: 26px;
}

.webisport-site .webisport-tabs__tab {
	min-height: 40px;
	padding: 9px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.webisport-site .webisport-tabs__tab[aria-selected="true"] {
	background-color: var(--webisport-secondary);
	color: var(--webisport-on-dark);
}

.webisport-site .webisport-grid {
	--webisport-columns: 3;
	display: grid;
	grid-template-columns: repeat(var(--webisport-columns), minmax(0, 1fr));
	gap: 22px;
}

.webisport-site .webisport-grid--columns-1 { --webisport-columns: 1; }
.webisport-site .webisport-grid--columns-2 { --webisport-columns: 2; }
.webisport-site .webisport-grid--columns-4 { --webisport-columns: 4; }

/* Carte cliquable : le lien couvre la carte, sans soulignement du kit. */
.webisport-site a.webisport-card {
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.webisport-site a.webisport-card:hover {
	border-color: var(--webisport-primary);
}

.webisport-site .webisport-public-empty {
	margin: 0;
	color: var(--webisport-muted);
}

/* Carrousel : sans script, les cartes défilent au doigt. */
.webisport-carousel {
	--webisport-carousel-gap: 22px;
	position: relative;
}

.webisport-carousel .swiper {
	overflow: hidden;
	padding: 4px 2px 18px;
}

.webisport-carousel .swiper-wrapper {
	display: flex;
	box-sizing: content-box;
	transition-property: transform;
}

.webisport-carousel:not([data-webisport-ready="1"]) .swiper-wrapper {
	gap: var(--webisport-carousel-gap);
	overflow-x: auto;
	padding-bottom: 14px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.webisport-carousel .swiper-slide {
	flex: 0 0 calc((100% - (var(--webisport-columns, 3) - 1) * var(--webisport-carousel-gap)) / var(--webisport-columns, 3));
	height: auto;
	scroll-snap-align: start;
}

.webisport-carousel[data-webisport-ready="1"] .swiper-slide {
	flex: 0 0 auto;
}

.webisport-carousel .swiper-slide > .webisport-card {
	height: 100%;
}

.webisport-carousel__nav {
	display: flex;
	justify-content: flex-start;
	gap: 10px;
	margin-top: 6px;
}

.webisport-site .webisport-carousel__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--webisport-secondary);
	border-radius: 50%;
	background-color: transparent;
	color: var(--webisport-secondary);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.webisport-site .webisport-carousel__arrow:hover,
.webisport-site .webisport-carousel__arrow:focus-visible {
	background-color: var(--webisport-secondary);
	color: var(--webisport-on-dark);
}

.webisport-site .webisport-carousel__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

/* ---------- Matchs ---------- */

.webisport-site .webisport-matches__subtitle {
	margin: 0 0 18px;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 24px;
	line-height: 1.2;
}

.webisport-matches__group + .webisport-matches__group,
.webisport-matches__panel + .webisport-matches__panel:not([role="tabpanel"]) {
	margin-top: 40px;
}

/* Carte de match (grille, carrousel, bande). */
.webisport-site .webisport-match {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px;
}

.webisport-site .webisport-match__header {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: var(--webisport-muted);
	font-size: 15px;
	line-height: 1.4;
}

.webisport-site .webisport-match__league {
	color: var(--webisport-secondary);
	font-weight: 700;
}

.webisport-site .webisport-match__date {
	white-space: nowrap;
}

.webisport-site .webisport-match__teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 10px;
}

.webisport-site .webisport-match__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.webisport-site .webisport-match__name {
	color: var(--webisport-secondary);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

/* Logo : les initiales dessous, l'image par-dessus ; une image qui ne charge pas est retirée par le
   script et les initiales restent. */
.webisport-site .webisport-match__logo {
	--webisport-logo-size: 56px;
	position: relative;
	display: grid;
	place-items: center;
	width: var(--webisport-logo-size);
	height: var(--webisport-logo-size);
	flex: 0 0 auto;
	border-radius: 10px;
	overflow: hidden;
}

.webisport-site .webisport-match__initials {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background-color: var(--webisport-soft);
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-size: calc(var(--webisport-logo-size) * 0.36);
	line-height: 1;
}

.webisport-site .webisport-match__logo-image {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	padding: 3px;
	object-fit: contain;
	background-color: #ffffff;
}

.webisport-site .webisport-match__center {
	min-width: 86px;
	text-align: center;
}

.webisport-site .webisport-match__time,
.webisport-site .webisport-match__score {
	display: block;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	line-height: 1;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.webisport-site .webisport-match__time,
.webisport-site .webisport-match__score {
	font-size: 36px;
}

.webisport-site .webisport-match__score-separator {
	margin: 0 0.18em;
}

.webisport-site .webisport-match__state {
	display: block;
	margin-top: 4px;
	color: var(--webisport-muted);
	font-family: var(--webisport-font-text);
	font-size: 13px;
	font-weight: 500;
}

.webisport-site .webisport-match__venue {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--webisport-line);
	color: var(--webisport-muted);
	font-size: 14px;
	line-height: 1.4;
}

/* Liste dense (Classique) : date et compétition, équipes, heure ou score, lieu. */
.webisport-site .webisport-match-list {
	border-top: 2px solid var(--webisport-secondary);
}

.webisport-site .webisport-match-row {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 14px 18px;
	padding: 18px 4px;
	border-bottom: 1px solid var(--webisport-line);
	color: inherit;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.webisport-site a.webisport-match-row:hover {
	background-color: var(--webisport-tint);
}

.webisport-site .webisport-match-row__when {
	line-height: 1.1;
}

.webisport-site .webisport-match-row .webisport-match__date {
	display: block;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-size: 20px;
	white-space: normal;
}

.webisport-site .webisport-match-row .webisport-match__league {
	display: block;
	margin-top: 4px;
	color: var(--webisport-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.webisport-site .webisport-match-row .webisport-match__team {
	flex-direction: row;
	gap: 12px;
	text-align: left;
}

.webisport-site .webisport-match-row .webisport-match__team--home {
	flex-direction: row-reverse;
	text-align: right;
}

.webisport-site .webisport-match-row .webisport-match__logo {
	--webisport-logo-size: 44px;
	border-radius: 8px;
}

.webisport-site .webisport-match-row .webisport-match__name {
	font-size: 16px;
}

.webisport-site .webisport-match-row .webisport-match__time,
.webisport-site .webisport-match-row .webisport-match__score {
	color: var(--webisport-primary);
	font-size: 26px;
}

.webisport-site .webisport-match-row .webisport-match__venue {
	grid-column: 2 / -1;
	margin-top: -8px;
	padding-top: 0;
	border-top: 0;
}

/* Bande sombre (Vitrine) : grandes cartes qui défilent. */
.webisport-site.webisport-matches--band {
	--webisport-line: rgba(255, 255, 255, 0.14);
	--webisport-muted: rgba(244, 241, 236, 0.78);
	padding: 88px max(24px, calc((100% - var(--container-max-width, 1140px)) / 2));
	background-color: var(--webisport-secondary);
	color: var(--webisport-on-dark-soft);
}

.webisport-matches--band .webisport-section-title,
.webisport-matches--band .webisport-matches__subtitle {
	color: var(--webisport-on-dark);
}

.webisport-site.webisport-matches--band .webisport-tabs {
	background-color: rgba(255, 255, 255, 0.1);
}

.webisport-site.webisport-matches--band .webisport-tabs__tab {
	color: var(--webisport-on-dark);
}

.webisport-site.webisport-matches--band .webisport-tabs__tab[aria-selected="true"] {
	background-color: var(--webisport-on-dark);
	color: var(--webisport-secondary);
}

.webisport-site.webisport-matches--band a.webisport-more {
	color: var(--webisport-on-dark);
}

.webisport-site.webisport-matches--band :focus-visible {
	outline-color: var(--webisport-on-dark);
}

.webisport-site .webisport-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, 1fr);
	gap: 20px;
	padding-bottom: 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.webisport-site .webisport-strip .webisport-card {
	scroll-snap-align: start;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background-color: rgba(255, 255, 255, 0.06);
	transition: background-color 0.2s ease;
}

.webisport-site .webisport-strip a.webisport-card:hover {
	border-color: rgba(255, 255, 255, 0.14);
	background-color: rgba(255, 255, 255, 0.11);
}

.webisport-site .webisport-strip .webisport-match__league,
.webisport-site .webisport-strip .webisport-match__name,
.webisport-site .webisport-strip .webisport-match__time,
.webisport-site .webisport-strip .webisport-match__score {
	color: var(--webisport-on-dark);
}

.webisport-site .webisport-strip .webisport-match__logo {
	--webisport-logo-size: 64px;
	border-radius: 12px;
}

.webisport-site .webisport-strip .webisport-match__initials {
	background-color: rgba(255, 255, 255, 0.12);
	color: var(--webisport-on-dark);
}

.webisport-site .webisport-strip .webisport-match__time,
.webisport-site .webisport-strip .webisport-match__score {
	font-size: 40px;
}

@media (max-width: 700px) {
	.webisport-site .webisport-match-row {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		padding: 16px 0;
	}

	.webisport-site .webisport-match-row__when {
		grid-column: 1 / -1;
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 10px;
	}

	.webisport-site .webisport-match-row .webisport-match__league {
		margin-top: 0;
	}

	.webisport-site .webisport-match-row .webisport-match__team,
	.webisport-site .webisport-match-row .webisport-match__team--home {
		flex-direction: column;
		gap: 6px;
		text-align: center;
	}

	.webisport-site .webisport-match-row .webisport-match__name {
		font-size: 14px;
	}

	.webisport-site .webisport-match-row .webisport-match__venue {
		grid-column: 1 / -1;
		margin-top: 0;
	}

	.webisport-site.webisport-matches--band {
		padding-block: 64px;
		padding-inline: 16px;
	}

	.webisport-site .webisport-strip {
		grid-auto-columns: 86%;
	}
}

/* ---------- Événements ---------- */

/* Une photo, sa date en pastille, puis le texte : pas de carte autour. */
.webisport-site .webisport-event.webisport-card {
	display: block;
	position: relative;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
}

.webisport-site .webisport-event__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: var(--webisport-radius);
	overflow: hidden;
	background-color: var(--webisport-tint);
}

.webisport-site .webisport-event__image {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.webisport-site a.webisport-event:hover .webisport-event__image {
	transform: scale(1.03);
}

.webisport-site .webisport-event__date {
	display: inline-block;
	min-width: 56px;
	padding: 8px 12px;
	border-radius: 8px;
	background-color: var(--webisport-card-background);
	color: var(--webisport-secondary);
	line-height: 1;
	text-align: center;
}

.webisport-site .webisport-event__media .webisport-event__date {
	position: absolute;
	left: 14px;
	top: 14px;
}

.webisport-site .webisport-event--no-image .webisport-event__date {
	border: 1px solid var(--webisport-line);
}

.webisport-site .webisport-event__day {
	display: block;
	color: var(--webisport-primary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 32px;
	line-height: 1;
}

.webisport-site .webisport-event__month {
	font-size: 14px;
	font-weight: 600;
}

.webisport-site .webisport-event__body {
	padding: 18px 0 0;
}

.webisport-site .webisport-event__title {
	margin: 0 0 6px;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 28px;
	line-height: 1.1;
}

.webisport-site .webisport-event__meta {
	display: grid;
	gap: 2px;
	color: var(--webisport-muted);
	font-size: 16px;
	line-height: 1.5;
}

/* Un seul événement : un grand bloc. */
.webisport-site.webisport-events--single .webisport-event__title {
	font-size: clamp(28px, 3vw, 36px);
}

/* Photo et texte côte à côte (Vitrine). */
.webisport-site .webisport-events__list {
	display: grid;
	gap: 40px;
}

.webisport-site .webisport-event--side.webisport-card {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
}

.webisport-site .webisport-event--side .webisport-event__body {
	padding: 0;
}

.webisport-site .webisport-event--side .webisport-event__title {
	font-size: clamp(30px, 4vw, 44px);
	margin-bottom: 10px;
}

.webisport-site .webisport-event--side.webisport-event--no-image {
	grid-template-columns: auto minmax(0, 1fr);
}

/* Liste compacte. */
.webisport-site.webisport-events--list .webisport-events__list {
	gap: 0;
	border-top: 2px solid var(--webisport-secondary);
}

.webisport-site .webisport-event--row.webisport-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	padding: 16px 4px;
	border-bottom: 1px solid var(--webisport-line);
	transition: background-color 0.2s ease;
}

.webisport-site a.webisport-event--row:hover {
	background-color: var(--webisport-tint);
}

.webisport-site .webisport-event--row .webisport-event__date {
	background-color: var(--webisport-tint);
}

.webisport-site .webisport-event--row .webisport-event__body {
	padding: 0;
}

.webisport-site .webisport-event--row .webisport-event__title {
	font-size: 24px;
	margin-bottom: 4px;
}

.webisport-site .webisport-event--row .webisport-event__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 16px;
}

@media (max-width: 1024px) {
	.webisport-site .webisport-grid--columns-3,
	.webisport-site .webisport-grid--columns-4 {
		--webisport-columns: 2;
	}

	.webisport-carousel {
		--webisport-columns: 2;
	}
}

@media (max-width: 760px) {
	.webisport-site .webisport-event--side.webisport-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
}

@media (max-width: 640px) {
	.webisport-site .webisport-grid {
		--webisport-columns: 1;
	}

	.webisport-carousel {
		--webisport-carousel-gap: 14px;
	}

	.webisport-carousel .swiper-slide {
		flex-basis: 86%;
	}

	.webisport-site .webisport-event--row .webisport-event__title {
		font-size: 20px;
	}
}

/* ---------- Partenaires ---------- */

.webisport-site.webisport-partners ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.webisport-site.webisport-partners a:not(.webisport-button) {
	color: inherit;
	text-decoration: none;
}

.webisport-site .webisport-partner__sector {
	margin: 0;
	color: var(--webisport-muted);
	font-size: 14px;
	font-weight: 500;
}

.webisport-site .webisport-partner__name {
	margin: 0;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 24px;
	line-height: 1.1;
}

.webisport-site .webisport-partner__presentation {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.5;
}

.webisport-site.webisport-partners a.webisport-partner__action {
	align-self: flex-start;
	margin-top: auto;
	padding-bottom: 2px;
	border-bottom: 2px solid currentColor;
	color: var(--webisport-primary);
	font-weight: 700;
}

.webisport-site.webisport-partners a.webisport-partner__action:hover {
	color: var(--webisport-secondary);
}

/* Visuel : la couverture, sinon le logo sur fond teinté, sinon le nom. */
.webisport-site .webisport-partner__tinted {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 18px;
	background-color: var(--webisport-tint);
}

.webisport-site .webisport-partner__tinted .webisport-partner__logo {
	max-width: 62%;
	max-height: 70%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.webisport-site .webisport-partner__cover {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.webisport-site .webisport-partner__initials {
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-size: 22px;
	line-height: 1.15;
	text-align: center;
	overflow-wrap: anywhere;
}

/* Tuile de logo. */
.webisport-site .webisport-partner-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 100%;
	min-height: 96px;
	padding: 12px;
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
	background-color: var(--webisport-card-background);
	text-align: center;
	transition: border-color 0.2s ease;
}

.webisport-site.webisport-partners a.webisport-partner-logo:hover {
	border-color: var(--webisport-primary);
}

.webisport-site .webisport-partner-logo img {
	max-width: 100%;
	max-height: 72px;
	object-fit: contain;
}

.webisport-site .webisport-partner-logo__name {
	color: var(--webisport-secondary);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

/* À la une : une carte par partenaire à la une, puis les autres par leur nom. */
.webisport-site .webisport-partners__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.webisport-site .webisport-partner-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
	background-color: var(--webisport-card-background);
	overflow: hidden;
}

.webisport-site .webisport-partner-card__visual {
	flex: none;
	height: auto;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: var(--webisport-tint);
}

.webisport-site .webisport-partner-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
}

.webisport-site .webisport-partners__rest {
	margin: 28px 0 0;
	color: var(--webisport-muted);
	font-size: 16px;
}

.webisport-site.webisport-partners .webisport-partners__rest a {
	color: var(--webisport-secondary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Vedette + grille : un partenaire à la une en grand, les logos à côté. */
.webisport-site .webisport-partners__spotlight {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: start;
	gap: 40px;
}

.webisport-site .webisport-partners__spotlight--logos {
	grid-template-columns: minmax(0, 1fr);
}

.webisport-site .webisport-partner-star {
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
	background-color: var(--webisport-card-background);
	overflow: hidden;
}

.webisport-site .webisport-partner-star__visual {
	position: relative;
	aspect-ratio: 16 / 9;
	background-color: var(--webisport-tint);
}

.webisport-site .webisport-partner-star__visual .webisport-partner__tinted .webisport-partner__logo {
	max-width: 50%;
	max-height: 72%;
}

.webisport-site .webisport-badge {
	position: absolute;
	left: 16px;
	top: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	background-color: var(--webisport-primary);
	color: var(--webisport-on-dark);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.webisport-site .webisport-partner-star__body {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 26px;
}

.webisport-site .webisport-partner-star__logo {
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
	padding: 6px;
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
	background-color: #ffffff;
	object-fit: contain;
}

.webisport-site .webisport-partner-star__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.webisport-site .webisport-partner-star .webisport-partner__name {
	font-size: 32px;
}

.webisport-site .webisport-partner-star .webisport-partner__presentation {
	margin: 6px 0 14px;
}

.webisport-site .webisport-partner-star__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.webisport-site .webisport-partners__dots {
	display: flex;
	gap: 2px;
}

/* Une cible de 24 px pour un point de 12 px. */
.webisport-site .webisport-partners__dot {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.webisport-site .webisport-partners__dot::before {
	content: "";
	width: 12px;
	height: 12px;
	border: 2px solid var(--webisport-secondary);
	border-radius: 50%;
}

.webisport-site .webisport-partners__dot[aria-pressed="true"]::before {
	background-color: var(--webisport-secondary);
}

.webisport-site .webisport-partners__logos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	align-content: start;
}

.webisport-site .webisport-partners__spotlight--logos .webisport-partners__logos {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.webisport-site .webisport-partners__logos .webisport-partner-logo {
	height: 150px;
	padding: 18px;
}

.webisport-site .webisport-partners__logos .webisport-partner-logo img {
	max-height: 78px;
}

/* Par secteur : un bloc par secteur, la présentation au survol et au focus. */
.webisport-site .webisport-partners__sectors {
	display: grid;
	gap: 40px;
}

.webisport-site .webisport-partners__sector {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 24px;
	padding-top: 20px;
	border-top: 2px solid var(--webisport-secondary);
}

.webisport-site .webisport-partners__sector-name {
	margin: 0;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 26px;
	line-height: 1.1;
}

.webisport-site .webisport-partners__sector-count {
	margin: 4px 0 0;
	color: var(--webisport-muted);
	font-size: 14px;
}

.webisport-site .webisport-partners__sector-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.webisport-site .webisport-partner-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 200px;
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
	background-color: var(--webisport-card-background);
	overflow: hidden;
}

.webisport-site .webisport-partner-item__logo {
	display: flex;
	flex: 0 0 150px;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.webisport-site .webisport-partner-item__logo img {
	max-width: 100%;
	max-height: 110px;
	object-fit: contain;
}

.webisport-site .webisport-partner-item__name {
	padding: 10px 14px;
	border-top: 1px solid var(--webisport-line);
	color: var(--webisport-secondary);
	font-size: 15px;
	font-weight: 700;
}

.webisport-site .webisport-partner-item__over {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	background-color: var(--webisport-secondary);
	color: var(--webisport-on-dark-soft);
	font-size: 15px;
	line-height: 1.45;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.webisport-site .webisport-partner-item__title {
	color: var(--webisport-on-dark);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 22px;
	line-height: 1.1;
}

.webisport-site .webisport-partner-item__action {
	align-self: flex-start;
	margin-top: auto;
	border-bottom: 2px solid var(--webisport-primary);
	color: var(--webisport-on-dark);
	font-weight: 700;
}

.webisport-site .webisport-partner-item:hover .webisport-partner-item__over,
.webisport-site .webisport-partner-item:focus-visible .webisport-partner-item__over {
	opacity: 1;
	transform: none;
}

.webisport-site .webisport-partner-item:focus-visible {
	outline-offset: 2px;
}

/* Mur hiérarchisé : les partenaires à la une en grand, les autres en petits logos. */
.webisport-site .webisport-partners__tier {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 40px 0 18px;
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 20px;
	line-height: 1.2;
}

.webisport-site .webisport-partners__tier::after {
	content: "";
	flex: 1;
	height: 1px;
	background-color: var(--webisport-line);
}

.webisport-site .webisport-partners__tier:first-child {
	margin-top: 0;
}

.webisport-site .webisport-partners__major {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.webisport-site .webisport-partner-major {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100%;
	min-height: 250px;
	padding: 28px 20px;
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
	background-color: var(--webisport-card-background);
	text-align: center;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.webisport-site.webisport-partners a.webisport-partner-major:hover {
	border-color: var(--webisport-primary);
	transform: translateY(-2px);
}

.webisport-site .webisport-partner-major__logo img {
	max-width: 80%;
	max-height: 120px;
	margin-inline: auto;
	object-fit: contain;
}

.webisport-site .webisport-partner-major__name {
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: 22px;
	line-height: 1.15;
}

.webisport-site .webisport-partner-major .webisport-partner__sector {
	margin-top: -8px;
}

.webisport-site .webisport-partners__minor {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.webisport-site .webisport-partners__minor .webisport-partner-logo {
	height: 96px;
}

.webisport-site .webisport-partners__minor .webisport-partner-logo img {
	max-height: 70px;
}

@media (max-width: 860px) {
	.webisport-site .webisport-partners__spotlight {
		grid-template-columns: minmax(0, 1fr);
	}

	.webisport-site .webisport-partner-star__logo {
		display: none;
	}
}

@media (max-width: 760px) {
	.webisport-site .webisport-partners__sector {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}

@media (max-width: 600px) {
	.webisport-site .webisport-partners__major {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.webisport-site .webisport-partner-major {
		min-height: 170px;
		padding: 18px 10px;
	}

	.webisport-site .webisport-partner-major__logo img {
		max-height: 70px;
	}

	.webisport-site .webisport-partner-major__name {
		font-size: 18px;
	}

	.webisport-site .webisport-partners__minor {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.webisport-site .webisport-partners__logos .webisport-partner-logo {
		height: 120px;
	}

	.webisport-site .webisport-partner-star__body {
		padding: 20px;
	}

	.webisport-site .webisport-partner-star .webisport-partner__name {
		font-size: 28px;
	}
}

/* ---------- Entraînements ---------- */

.webisport-site.webisport-trainings {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	align-items: start;
	gap: 48px;
}

.webisport-trainings .webisport-section-title {
	margin: 0;
	font-size: clamp(32px, 4vw, 44px);
}

.webisport-site .webisport-trainings__day {
	margin: 10px 0 0;
	color: var(--webisport-primary);
	font-family: var(--webisport-font-display);
	font-size: 24px;
	line-height: 1.2;
}

.webisport-site .webisport-trainings__note {
	margin: 12px 0 0;
	color: var(--webisport-muted);
}

.webisport-site .webisport-trainings__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--webisport-secondary);
}

.webisport-site .webisport-training {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px 22px;
	margin: 0;
	padding: 18px 4px;
	border-bottom: 1px solid var(--webisport-line);
}

.webisport-site .webisport-training__time {
	color: var(--webisport-secondary);
	font-family: var(--webisport-font-display);
	font-size: 24px;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.webisport-site .webisport-training__groups {
	color: var(--webisport-secondary);
	font-size: 18px;
	font-weight: 700;
}

.webisport-site .webisport-training__place {
	grid-column: 2 / -1;
	margin-top: -4px;
	color: var(--webisport-muted);
	font-size: 15px;
}

.webisport-site .webisport-training__state {
	padding: 3px 10px;
	border: 2px solid currentColor;
	border-radius: 999px;
	color: var(--webisport-primary);
	font-size: 13px;
	font-weight: 700;
}

.webisport-site .webisport-training--cancelled .webisport-training__time,
.webisport-site .webisport-training--cancelled .webisport-training__groups {
	color: var(--webisport-muted);
	text-decoration: line-through;
}

@media (max-width: 760px) {
	.webisport-site.webisport-trainings {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.webisport-site .webisport-training {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.webisport-site .webisport-training__groups {
		grid-column: 1 / -1;
		order: -1;
	}

	.webisport-site .webisport-training__place {
		grid-column: 1 / -1;
		margin-top: 0;
	}
}

/* ---------- Sections des modèles d'accueil (conteneurs et widgets natifs) ---------- */

/* Bande teintée de la couleur principale (actus). */
.e-con.webisport-section--tint {
	background-color: var(--webisport-tint);
}

/* Titre d'un widget Titre d'Elementor : comme le titre de section des widgets Webisport. */
.elementor-widget-heading.webisport-heading .elementor-heading-title {
	color: var(--webisport-secondary, var(--e-global-color-secondary));
	font-family: var(--webisport-font-display);
	font-weight: var(--webisport-font-display-weight);
	font-size: clamp(34px, 4.2vw, 48px);
	line-height: 1.08;
	letter-spacing: normal;
	text-transform: none;
}

/* Classique : les matchs et les événements de la semaine côte à côte. */
.e-con.webisport-week > .e-con-inner,
.e-con.webisport-week.e-con-full {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	align-items: start;
	gap: 56px;
}

@media (max-width: 900px) {
	.e-con.webisport-week > .e-con-inner,
	.e-con.webisport-week.e-con-full {
		grid-template-columns: minmax(0, 1fr);
		gap: 72px;
	}
}

/* Actus (Easy Social, carrousel de son habillage) : trois cartes égales, photo en tête. */
.webisport-actus .efbl_feed_wraper .owl-stage {
	display: flex;
}

.webisport-actus .efbl_feed_wraper .owl-item {
	display: flex;
}

.webisport-actus .efbl_feed_wraper .efbl-story-wrapper {
	display: flex;
	width: 100%;
}

.webisport-actus .efbl_feed_wraper .efbl-story-wrapper .efbl-grid-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid var(--webisport-line);
	border-radius: var(--webisport-radius);
	background-color: var(--webisport-card-background);
	box-shadow: none;
	overflow: hidden;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl_feed_fancy_popup {
	order: -1;
	display: block;
	position: relative;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl_feed_fancy_popup img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-overlay {
	display: none;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-feed-header {
	padding: 20px 22px 0;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-feed-header > .efbl-d-flex {
	align-items: center;
	gap: 10px;
	margin: 0;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-profile-image img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-profile-title h2,
.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-profile-title span {
	margin: 0;
	color: var(--webisport-muted);
	font-family: var(--webisport-font-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: none;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-feed-content {
	padding: 10px 22px 0;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-feed-content p.description {
	margin: 0;
	color: var(--webisport-text);
	font-family: var(--webisport-font-text);
	font-size: 16px;
	line-height: 1.55;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-see-more-btn {
	color: var(--webisport-secondary);
	font-weight: 700;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-post-footer {
	margin-top: auto;
	padding: 14px 22px 22px;
	border: 0;
	background: none;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-reacted,
.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .esf-share-wrapper {
	display: none;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-view-on-fb {
	color: var(--webisport-primary);
	font-family: var(--webisport-font-text);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.webisport-actus .efbl_feed_wraper .efbl-grid-wrapper .efbl-view-on-fb:hover {
	color: var(--webisport-secondary);
}

/* Galerie (widget Galerie d'images d'Elementor) : une grande et cinq (Classique), ou six colonnes
   pleine largeur (Vitrine). */
.webisport-gallery .gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 220px;
	gap: 12px;
	margin: 0 !important;
}

.webisport-gallery .gallery br {
	display: none;
}

.webisport-gallery .gallery .gallery-item {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: var(--webisport-radius, 10px);
	overflow: hidden;
}

.webisport-gallery .gallery .gallery-icon,
.webisport-gallery .gallery .gallery-icon a {
	display: block;
	width: 100%;
	height: 100%;
}

.webisport-gallery .gallery .gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0 !important;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.webisport-gallery .gallery .gallery-item a:hover img {
	transform: scale(1.04);
}

.webisport-gallery .gallery .gallery-caption {
	display: none;
}

.webisport-gallery--mosaic .gallery .gallery-item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.webisport-gallery--wall .gallery {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: 300px;
	gap: 4px;
}

.webisport-gallery--wall .gallery .gallery-item {
	border-radius: 0;
}

@media (max-width: 760px) {
	.webisport-gallery .gallery,
	.webisport-gallery--wall .gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 150px;
	}

	.webisport-gallery--mosaic .gallery .gallery-item:first-child {
		grid-column: auto;
		grid-row: auto;
	}
}

/* ---------- Animations réduites ---------- */

@media (prefers-reduced-motion: reduce) {
	.webisport-site *,
	.webisport-section *,
	.webisport-gallery * {
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.webisport-site a.webisport-event:hover .webisport-event__image,
	.webisport-site.webisport-partners a.webisport-partner-major:hover,
	.webisport-gallery .gallery .gallery-item a:hover img {
		transform: none;
	}
}

/* ---------- Shortcodes et pages de match et d'événement ---------- */

.webisport-public-matches,
.webisport-public-events,
.webisport-public-people,
.webisport-public-partners {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.webisport-public-match,
.webisport-public-event,
.webisport-public-partner,
.webisport-public-person {
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.webisport-public-match__teams,
.webisport-public-event__title {
	margin: 0 0 0.5rem;
}

.webisport-public-match__score {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0.25rem 0;
}

.webisport-public-match p,
.webisport-public-event p,
.webisport-public-partner p {
	margin: 0.25rem 0;
}

.webisport-public-person {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.webisport-public-person__photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
}

.webisport-public-person__function {
	opacity: 0.7;
}

.webisport-public-partner__logo {
	max-width: 100%;
	max-height: 96px;
	object-fit: contain;
}
