/**
 * Sportune Public Styles
 *
 * Mobile-first responsive CSS for all Sportune frontend components.
 * Pure CSS — no framework dependencies.
 *
 * @package Sportune
 * @since   1.0.0
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	--sportune-primary:        #1e40af;
	--sportune-primary-light:  #3b82f6;
	--sportune-text:           #1f2937;
	--sportune-text-muted:     #6b7280;
	--sportune-bg:             #ffffff;
	--sportune-bg-alt:         #f9fafb;
	--sportune-border:         #e5e7eb;
	--sportune-success:        #059669;
	--sportune-danger:         #dc2626;
	--sportune-warning:        #d97706;
	--sportune-live:           #ef4444;
	--sportune-radius:         6px;
	--sportune-radius-sm:      4px;
	--sportune-shadow:         0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
	--sportune-shadow-md:      0 4px 6px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .05);
	--sportune-transition:     180ms ease;
	--sportune-font:           inherit;
}

/* ==========================================================================
   Base Reset (scoped)
   ========================================================================== */

.sportune-wrapper *,
.sportune-wrapper *::before,
.sportune-wrapper *::after {
	box-sizing: border-box;
}

.sportune-wrapper img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   Layout Wrapper
   ========================================================================== */

.sportune-wrapper {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
	width: 100%;
}

/* ==========================================================================
   Entity Header
   ========================================================================== */

.sportune-entity-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 0 24px;
	border-bottom: 1px solid var(--sportune-border);
	margin-bottom: 24px;
}

/* Logo */
.sportune-entity-header__logo {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
}

.sportune-entity-header__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--sportune-radius-sm);
}

/* Info block */
.sportune-entity-header__info {
	flex: 1;
	min-width: 0;
}

.sportune-entity-header__title {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--sportune-text);
	margin: 0 0 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Badges row */
.sportune-entity-header__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

/* Meta row */
.sportune-entity-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	font-size: .8125rem;
	color: var(--sportune-text-muted);
}

.sportune-entity-header__meta-item {
	display: inline-flex;
	align-items: center;
}

.sportune-entity-header__meta-item + .sportune-entity-header__meta-item::before {
	content: '·';
	margin: 0 6px;
	color: var(--sportune-border);
}

@media (min-width: 768px) {
	.sportune-entity-header__logo {
		width: 80px;
		height: 80px;
	}

	.sportune-entity-header__title {
		font-size: 1.875rem;
	}
}

/* ==========================================================================
   Badges
   ========================================================================== */

.sportune-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.4;
}

/* Sport badge */
.sportune-badge--sport {
	background-color: #dbeafe;
	color: #1d4ed8;
}

/* Type badge */
.sportune-badge--type {
	background-color: #f3f4f6;
	color: #374151;
}

/* Status badges */
.sportune-badge--scheduled {
	background-color: #f3f4f6;
	color: #6b7280;
}

.sportune-badge--live {
	background-color: #fee2e2;
	color: #b91c1c;
	animation: sportune-pulse 1.4s ease-in-out infinite;
}

.sportune-badge--finished {
	background-color: #d1fae5;
	color: #065f46;
}

.sportune-badge--postponed {
	background-color: #fef3c7;
	color: #92400e;
}

.sportune-badge--cancelled {
	background-color: #fee2e2;
	color: #7f1d1d;
}

@keyframes sportune-pulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: .6; }
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.sportune-tabs {
	margin-bottom: 32px;
}

/* Nav */
.sportune-tabs__nav {
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--sportune-border);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.sportune-tabs__nav::-webkit-scrollbar {
	display: none;
}

/* Tab button */
.sportune-tabs__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	background: transparent;
	color: var(--sportune-text-muted);
	font-family: inherit;
	font-size: .875rem;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition:
		color var(--sportune-transition),
		border-color var(--sportune-transition);
	text-decoration: none;
	border-radius: 0;
	outline: none;
}

.sportune-tabs__btn:hover {
	color: var(--sportune-primary);
}

.sportune-tabs__btn--active,
.sportune-tabs__btn[aria-selected="true"] {
	color: var(--sportune-primary);
	border-bottom-color: var(--sportune-primary);
	font-weight: 700;
}

/* Panel */
.sportune-tabs__panel {
	padding-top: 24px;
}

.sportune-tabs__panel[hidden] {
	display: none;
}

.sportune-tabs__panel--active {
	display: block;
}

@media (min-width: 768px) {
	.sportune-tabs__btn {
		padding: 12px 20px;
		font-size: .9375rem;
	}
}

/* Season selector (right side of tabs nav) */
.sportune-tabs__seasons {
	margin-left: auto;
	display: flex;
	align-items: center;
	padding: 4px 0 4px 12px;
	flex-shrink: 0;
}

.sportune-season-select {
	padding: 4px 8px;
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius-sm);
	background: var(--sportune-bg);
	color: var(--sportune-text);
	font-size: .8125rem;
	font-family: inherit;
	cursor: pointer;
	max-width: 160px;
	transition: border-color var(--sportune-transition);
}

.sportune-season-select:hover {
	border-color: var(--sportune-primary-light);
}

.sportune-season-select:focus {
	outline: 2px solid var(--sportune-primary-light);
	outline-offset: 1px;
}

/* ==========================================================================
   Standings Table
   ========================================================================== */

.sportune-standings {
	width: 100%;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .09), 0 1px 4px rgba(0, 0, 0, .05);
}

.sportune-standings__table {
	width: 100%;
	border-collapse: collapse;
	font-size: .875rem;
	background: var(--sportune-bg);
	min-width: 360px;
}

/* Header — dark */
.sportune-standings__table thead tr {
	background: #0f172a;
}

.sportune-standings__table thead th {
	font-size: .6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .45);
	padding: 13px 12px;
	text-align: center;
	white-space: nowrap;
	border: none;
}

.sportune-standings__table thead th:first-child {
	text-align: center;
	padding-left: 16px;
}

.sportune-standings__table thead th:nth-child(2) {
	text-align: left;
	padding-left: 8px;
}

/* Rows */
.sportune-standings__table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition:
		background var(--sportune-transition),
		box-shadow var(--sportune-transition);
	position: relative;
}

.sportune-standings__table tbody tr:last-child {
	border-bottom: none;
}

.sportune-standings__table tbody tr:hover {
	background: #f0f7ff;
}

/* Highlighted row (current club) */
.sportune-standings__table tbody tr.sportune-standings__row--highlight {
	background: #eff6ff;
}

.sportune-standings__table tbody tr.sportune-standings__row--highlight td:first-child {
	box-shadow: inset 3px 0 0 var(--sportune-primary);
}

.sportune-standings__table td {
	padding: 10px 12px;
	text-align: center;
	color: var(--sportune-text);
	white-space: nowrap;
}

/* Position column */
.sportune-standings__col--pos {
	width: 40px;
	padding-left: 16px !important;
	padding-right: 8px !important;
}

.sportune-standings__pos-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	font-size: .9375rem;
	font-weight: 800;
	background: #f1f5f9;
	color: #64748b;
	letter-spacing: -.02em;
}

.sportune-standings__row--highlight .sportune-standings__pos-number {
	background: var(--sportune-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(30, 64, 175, .35);
}

@media (min-width: 768px) {
	.sportune-standings__pos-number {
		width: 36px;
		height: 36px;
		font-size: 1.0625rem;
	}
}

/* Team column */
.sportune-standings__col--team {
	text-align: left !important;
	min-width: 160px;
	padding-left: 8px !important;
}

.sportune-standings__team-logo {
	width: 24px;
	height: 24px;
	object-fit: contain;
	flex-shrink: 0;
}

.sportune-standings__team-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 180px;
	font-weight: 700;
	font-size: 1rem;
	color: var(--sportune-text);
	letter-spacing: -.01em;
}

.sportune-standings__row--highlight .sportune-standings__team-name {
	color: var(--sportune-primary);
	font-weight: 800;
}

@media (min-width: 768px) {
	.sportune-standings__team-name {
		font-size: 1.0625rem;
		max-width: 220px;
	}
}

/* Points column */
.sportune-standings__col--pts {
	font-size: .9375rem;
	color: var(--sportune-primary) !important;
}

/* Numeric columns */
.sportune-standings__col--num {
	font-size: .8125rem;
	color: var(--sportune-text-muted);
	font-variant-numeric: tabular-nums;
}

/* Hide on mobile */
.sportune-standings__col--hide-mobile {
	display: none;
}

@media (min-width: 768px) {
	.sportune-standings__col--hide-mobile {
		display: table-cell;
	}

	.sportune-standings__table {
		font-size: .9375rem;
	}

	.sportune-standings__table thead th {
		padding: 14px 14px;
	}

	.sportune-standings__table td {
		padding: 12px 14px;
	}

	.sportune-standings__col--pos {
		padding-left: 20px !important;
	}

	.sportune-standings__team-logo {
		width: 28px;
		height: 28px;
	}

	.sportune-standings__team-name {
		max-width: 220px;
	}
}

/* Competition link badge in equipe header */
.sportune-entity-header__competition {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 6px;
	border: 1px solid var(--sportune-border);
	border-radius: 999px;
	background: var(--sportune-bg-alt);
	text-decoration: none;
	color: var(--sportune-text-muted);
	font-size: .8125rem;
	font-weight: 500;
	transition:
		border-color var(--sportune-transition),
		color var(--sportune-transition),
		background var(--sportune-transition);
}

.sportune-entity-header__competition:hover {
	border-color: var(--sportune-primary-light);
	color: var(--sportune-primary);
	background: #eff6ff;
}

.sportune-entity-header__competition-logo {
	width: 20px;
	height: 20px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 2px;
}

.sportune-entity-header__competition-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 160px;
}

/* Team cell (shared layout) */
.sportune-standings__team-link,
.sportune-standings__team-cell {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Link variant only */
.sportune-standings__team-link {
	text-decoration: none;
	color: inherit;
	transition: color var(--sportune-transition);
}

.sportune-standings__team-link:hover .sportune-standings__team-name {
	color: var(--sportune-primary);
	text-decoration: underline;
}

/* Hide on mobile */
.sportune-standings__col--hide-mobile {
	display: none;
}

@media (min-width: 768px) {
	.sportune-standings__col--hide-mobile {
		display: table-cell;
	}

	.sportune-standings__table {
		font-size: .9375rem;
	}

	.sportune-standings__table thead th {
		padding: 12px 14px;
	}

	.sportune-standings__table td {
		padding: 11px 14px;
	}
}

/* ==========================================================================
   Calendar / Matches
   ========================================================================== */

.sportune-calendar {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Day group */
.sportune-calendar__day {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sportune-calendar__day-header {
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--sportune-text-muted);
	padding: 6px 0;
	border-bottom: 1px solid var(--sportune-border);
	margin-bottom: 4px;
}

/* Match card */
.sportune-match {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	background: var(--sportune-bg);
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius);
	box-shadow: var(--sportune-shadow);
	transition: box-shadow var(--sportune-transition);
}

.sportune-match:hover {
	box-shadow: var(--sportune-shadow-md);
}

/* Home team */
.sportune-match__team {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.sportune-match__team--away {
	justify-content: flex-end;
	text-align: right;
}

.sportune-match__team-logo {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

.sportune-match__team-name {
	font-size: .875rem;
	font-weight: 600;
	color: var(--sportune-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Score block */
.sportune-match__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	min-width: 72px;
}

.sportune-match__score-value {
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--sportune-text);
	letter-spacing: .02em;
}

.sportune-match__score-value--live {
	color: var(--sportune-live);
}

.sportune-match__status {
	font-size: .6875rem;
}

@media (min-width: 768px) {
	.sportune-match {
		padding: 14px 18px;
		gap: 12px;
	}

	.sportune-match__team-logo {
		width: 36px;
		height: 36px;
	}

	.sportune-match__team-name {
		font-size: .9375rem;
	}

	.sportune-match__score-value {
		font-size: 1.375rem;
	}

	.sportune-match__score {
		min-width: 90px;
	}
}

/* ==========================================================================
   Squad Grid
   ========================================================================== */

.sportune-squad {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Manager block */
.sportune-squad__manager {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--sportune-bg-alt);
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius);
	margin-bottom: 4px;
}

.sportune-squad__manager-label {
	font-size: .6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--sportune-text-muted);
	white-space: nowrap;
	flex-shrink: 0;
}

.sportune-squad__manager-card {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sportune-squad__manager-photo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--sportune-border);
	background: var(--sportune-bg);
	flex-shrink: 0;
}

.sportune-squad__manager-photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sportune-text-muted);
	font-size: 1.125rem;
}

.sportune-squad__manager-name {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--sportune-text);
}

/* Position group header */
.sportune-squad__group-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--sportune-primary);
	padding: 0 0 10px;
	border-bottom: 2px solid var(--sportune-primary);
	margin: 0 0 14px;
}

.sportune-squad__group-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: var(--sportune-primary);
	color: #fff;
	border-radius: 999px;
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1;
}

.sportune-squad__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

/* Player card */
.sportune-squad__player {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--sportune-bg);
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius);
	box-shadow: var(--sportune-shadow);
	overflow: hidden;
	transition: box-shadow var(--sportune-transition), border-color var(--sportune-transition);
}

.sportune-squad__player:hover {
	box-shadow: var(--sportune-shadow-md);
	border-color: var(--sportune-primary-light);
}

/* Jersey number watermark */
.sportune-squad__number-bg {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 4.5rem;
	font-weight: 900;
	line-height: 1;
	color: var(--sportune-border);
	opacity: .6;
	user-select: none;
	pointer-events: none;
	letter-spacing: -.04em;
}

/* Photo / avatar */
.sportune-squad__photo-wrap {
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.sportune-squad__photo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--sportune-border);
	background: var(--sportune-bg-alt);
	display: block;
}

.sportune-squad__photo-placeholder {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--sportune-bg-alt);
	border: 2px solid var(--sportune-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 800;
	color: var(--sportune-text-muted);
	letter-spacing: -.03em;
}

/* Info */
.sportune-squad__player-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	position: relative;
	z-index: 1;
}

.sportune-squad__player-name {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--sportune-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
}

.sportune-squad__player-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
}

.sportune-squad__player-stat {
	font-size: .6875rem;
	font-weight: 600;
	color: var(--sportune-text-muted);
	background: var(--sportune-bg-alt);
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius-sm);
	padding: 1px 6px;
	white-space: nowrap;
	line-height: 1.6;
}

.sportune-squad__player-nationality {
	font-size: .6875rem;
	color: var(--sportune-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (min-width: 600px) {
	.sportune-squad__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sportune-squad__photo,
	.sportune-squad__photo-placeholder {
		width: 56px;
		height: 56px;
	}
}

@media (min-width: 1024px) {
	.sportune-squad__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   Related Articles
   ========================================================================== */

.sportune-related-articles {
	margin-bottom: 8px;
}

.sportune-related-articles__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--sportune-text);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--sportune-primary);
}

.sportune-related-articles__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

/* Article card */
.sportune-article-card {
	background: var(--sportune-bg);
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius);
	overflow: hidden;
	box-shadow: var(--sportune-shadow);
	transition: box-shadow var(--sportune-transition), transform var(--sportune-transition);
	display: flex;
	flex-direction: column;
}

.sportune-article-card:hover {
	box-shadow: var(--sportune-shadow-md);
	transform: translateY(-2px);
}

/* Thumbnail */
.sportune-article-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--sportune-bg-alt);
}

.sportune-article-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.sportune-article-card:hover .sportune-article-card__thumb img {
	transform: scale(1.04);
}

/* Content */
.sportune-article-card__content {
	padding: 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sportune-article-card__article-title {
	font-size: .9375rem;
	font-weight: 600;
	color: var(--sportune-text);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

.sportune-article-card__date {
	font-size: .75rem;
	color: var(--sportune-text-muted);
	margin-top: auto;
}

@media (min-width: 600px) {
	.sportune-related-articles__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.sportune-related-articles__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.sportune-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	text-align: center;
	color: var(--sportune-text-muted);
	gap: 8px;
}

.sportune-empty__icon {
	font-size: 2.5rem;
	line-height: 1;
	opacity: .4;
	margin-bottom: 8px;
}

.sportune-empty__message {
	font-size: .9375rem;
	font-weight: 500;
}

.sportune-empty__sub {
	font-size: .8125rem;
	opacity: .8;
}

/* ==========================================================================
   Loading State
   ========================================================================== */

.sportune-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	color: var(--sportune-text-muted);
	gap: 10px;
	font-size: .9375rem;
}

.sportune-loading__spinner {
	width: 20px;
	height: 20px;
	border: 2px solid var(--sportune-border);
	border-top-color: var(--sportune-primary-light);
	border-radius: 50%;
	animation: sportune-spin 600ms linear infinite;
}

@keyframes sportune-spin {
	to { transform: rotate(360deg); }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.sportune-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.sportune-text-muted {
	color: var(--sportune-text-muted);
}

.sportune-text-center {
	text-align: center;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.sportune-pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--sportune-border);
}

.sportune-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius);
	background: var(--sportune-bg);
	color: var(--sportune-text);
	font-size: .875rem;
	font-weight: 500;
	text-decoration: none;
	transition:
		background var(--sportune-transition),
		border-color var(--sportune-transition),
		color var(--sportune-transition);
}

.sportune-pagination .page-numbers:hover {
	background: var(--sportune-bg-alt);
	border-color: var(--sportune-primary-light);
	color: var(--sportune-primary);
}

.sportune-pagination .page-numbers.current {
	background: var(--sportune-primary);
	border-color: var(--sportune-primary);
	color: #fff;
	font-weight: 700;
}

.sportune-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	cursor: default;
}

/* ==========================================================================
   Actualités section wrapper
   ========================================================================== */

.sportune-actualites {
	padding-top: 8px;
}

/* Related articles: "Voir tous" link */
.sportune-related-articles__more {
	text-align: right;
	margin-top: 10px;
}
.sportune-more-link {
	color: #2271b1;
	text-decoration: none;
	font-size: 14px;
}
.sportune-more-link:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Breadcrumb — Fil d'Ariane (Schema.org BreadcrumbList)
   ========================================================================== */

.sportune-breadcrumb {
	font-size: 13px;
	color: var(--sportune-text-muted);
	margin-bottom: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 8px 0;
}

.sportune-breadcrumb__item {
	display: inline-flex;
	align-items: center;
}

.sportune-breadcrumb__item a {
	color: var(--sportune-primary-light);
	text-decoration: none;
	transition: color var(--sportune-transition);
}

.sportune-breadcrumb__item a:hover {
	color: var(--sportune-primary);
	text-decoration: underline;
}

.sportune-breadcrumb__item--current {
	color: var(--sportune-text);
	font-weight: 500;
	pointer-events: none;
}

.sportune-breadcrumb__separator {
	color: var(--sportune-border);
	font-size: 16px;
	line-height: 1;
	user-select: none;
}

/* ==========================================================================
   Calendar Round Navigation
   ========================================================================== */

.sportune-calendar-wrapper {
	position: relative;
}

.sportune-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--sportune-bg);
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius);
	padding: 10px 14px;
	margin-bottom: 20px;
}

/* Arrow buttons */
.sportune-calendar-nav__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--sportune-border);
	border-radius: 50%;
	background: var(--sportune-bg);
	color: var(--sportune-text);
	font-size: 1.125rem;
	cursor: pointer;
	flex-shrink: 0;
	transition:
		background var(--sportune-transition),
		border-color var(--sportune-transition),
		color var(--sportune-transition);
}

.sportune-calendar-nav__arrow:hover:not(:disabled) {
	background: var(--sportune-bg-alt);
	border-color: var(--sportune-primary-light);
	color: var(--sportune-primary);
}

.sportune-calendar-nav__arrow:disabled {
	opacity: .35;
	cursor: default;
}

/* Center section: label + dropdown toggle */
.sportune-calendar-nav__center {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	justify-content: center;
}

.sportune-calendar-nav__label {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--sportune-text);
	white-space: nowrap;
}

.sportune-calendar-nav__dropdown-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius-sm);
	background: var(--sportune-bg-alt);
	color: var(--sportune-text-muted);
	font-size: 1rem;
	cursor: pointer;
	transition:
		background var(--sportune-transition),
		border-color var(--sportune-transition);
}

.sportune-calendar-nav__dropdown-toggle:hover {
	background: var(--sportune-border);
	border-color: var(--sportune-primary-light);
}

/* Dropdown list */
.sportune-calendar-nav__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	background: var(--sportune-bg);
	border: 1px solid var(--sportune-border);
	border-radius: var(--sportune-radius);
	box-shadow: var(--sportune-shadow-md);
	list-style: none;
	margin: 0;
	padding: 4px 0;
	max-height: 280px;
	overflow-y: auto;
	min-width: 160px;
}

.sportune-calendar-nav__dropdown li {
	margin: 0;
	padding: 0;
}

.sportune-calendar-nav__round-btn {
	display: block;
	width: 100%;
	padding: 8px 16px;
	border: none;
	background: transparent;
	color: var(--sportune-text);
	font-size: .875rem;
	text-align: left;
	cursor: pointer;
	transition: background var(--sportune-transition);
}

.sportune-calendar-nav__round-btn:hover {
	background: var(--sportune-bg-alt);
}

.sportune-calendar-nav__round-btn.is-active {
	background: var(--sportune-primary);
	color: #fff;
	font-weight: 600;
}

/* Events area */
.sportune-calendar-events {
	transition: opacity var(--sportune-transition);
}

/* Loading state */
.sportune-calendar-wrapper.is-loading .sportune-calendar-events {
	opacity: .4;
	pointer-events: none;
}
