/* ── Inter font ──────────────────────────────────────────── */
.lm-portal-widget, .lm-league-table, .lm-match-schedule, .lm-player-card, .lm-club-profile, .lm-club-squad, .lm-match-result, .lm-next-match-countdown, .lm-head-to-head, .lm-mini-standings, .lm-news-feed, .lm-stats-leaderboard, .lm-season-stats, .lm-club-form {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* =============================================================
   League Manager — Front-end styles  v3
   
   KEY RULE: No property that is also set by an Elementor control
   is declared here. Colours / padding / border-radius / typography
   that widgets expose as controls use control `default` values
   only.  This file contains ONLY structural / layout CSS.
   ============================================================= */

/* ── CSS custom properties (structural only) ─────────────────── */
:root {
	--lm-radius:      0;
	--lm-radius-lg:   0;
	--lm-shadow:      0 1px 4px rgba(0,0,0,.08);
	--lm-shadow-md:   0 4px 12px rgba(0,0,0,.12);
	--lm-transition:  0.18s ease;

	/* Semantic tokens — used only where no control exists */
	--lm-blue:        #0077AF;
	--lm-blue-dark:   #005f8a;
	--lm-green:       #16a34a;
	--lm-green-dark:  #15803d;
	--lm-red:         #dc2626;
	--lm-red-bg:      #fef2f2;
	--lm-red-text:    #991b1b;
	--lm-yellow-bg:   #fffbcc;
	--lm-gray-50:     #f9fafb;
	--lm-gray-100:    #f3f4f6;
	--lm-gray-200:    #e5e7eb;
	--lm-gray-400:    #9ca3af;
	--lm-gray-700:    #374151;
	--lm-gray-900:    #111827;
}

/* ── Reset helpers ───────────────────────────────────────────── */
.lm-widget,
.lm-portal,
.lm-form-wrap {
	font-family: inherit;
	line-height: 1.5;
	box-sizing: border-box;
}

.lm-widget *,
.lm-portal *,
.lm-form-wrap * {
	box-sizing: inherit;
}


/* ── Notices ─────────────────────────────────────────────────── */
.lm-notice {
	padding: 12px 16px;
	background: var(--lm-gray-100);
	border-left: 4px solid var(--lm-gray-400);
	border-radius: 0;
	margin: 1em 0;
	font-size: 14px;
	color: var(--lm-gray-700);
}

.lm-notice--error   { background: var(--lm-red-bg); border-left-color: var(--lm-red); color: var(--lm-red-text); }
.lm-notice--success { background: #f0fdf4; border-left-color: var(--lm-green); color: #14532d; }

/* ── Buttons (non-widget, used in forms / portal) ────────────── */
.lm-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 22px;
	background: var(--lm-blue);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 0;
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: background var(--lm-transition), transform var(--lm-transition), box-shadow var(--lm-transition);
	line-height: 1.4;
}

.lm-btn:hover,
.lm-btn:focus-visible {
	background: var(--lm-blue-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(29,78,216,.3);
}

.lm-btn:active           { transform: translateY(0); }
.lm-btn--primary         { background: var(--lm-green); }
.lm-btn--primary:hover,
.lm-btn--primary:focus-visible { background: var(--lm-green-dark); }
.lm-btn:disabled         { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===============================================================
   Forms
   =============================================================== */

.lm-form-wrap { max-width: 720px; }

.lm-form__messages { display: none; padding: 12px 16px; border-radius: 0; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.lm-form__messages:not(:empty) { display: block; }
.lm-form__messages--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.lm-form__messages--error   { background: var(--lm-red-bg); border: 1px solid #fecaca; color: var(--lm-red-text); }

.lm-form__row         { margin-bottom: 20px; }
.lm-form__row--half   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .lm-form__row--half { grid-template-columns: 1fr; gap: 0; } }

.lm-form__label { display: block; font-size: 13px; font-weight: 600; color: var(--lm-gray-700); margin-bottom: 6px; letter-spacing: .01em; }
.lm-form__row--required .lm-form__label::after { content: ' *'; color: var(--lm-red); }

.lm-form__input,
.lm-form__select,
.lm-form__textarea {
	display: block; width: 100%; padding: 10px 14px; font-size: 15px; font-family: inherit;
	line-height: 1.5; color: var(--lm-gray-900); background: #fff;
	border: 1.5px solid var(--lm-gray-200); border-radius: 0;
	transition: border-color var(--lm-transition), box-shadow var(--lm-transition);
	appearance: none; -webkit-appearance: none;
}
.lm-form__input:focus,
.lm-form__select:focus,
.lm-form__textarea:focus {
	outline: none; border-color: var(--lm-blue); box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}
.lm-form__input::placeholder,
.lm-form__textarea::placeholder { color: var(--lm-gray-400); }

.lm-form__select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.lm-form__textarea { resize: vertical; min-height: 100px; }

.lm-form__static { display: block; padding: 10px 14px; font-size: 15px; background: var(--lm-gray-50); border: 1.5px solid var(--lm-gray-200); border-radius: 0; color: var(--lm-gray-700); }
.lm-form__note   { font-size: 13px; color: var(--lm-gray-400); margin: 0 0 16px; line-height: 1.5; }
.lm-form__footer { padding-top: 8px; display: flex; align-items: center; gap: 12px; }
.lm-form__section-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--lm-gray-400); margin: 28px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--lm-gray-200); }

/* ===============================================================
   Event builder (match report)
   =============================================================== */

.lm-event-builder { background: var(--lm-gray-50); border: 1.5px solid var(--lm-gray-200); border-radius: 0; padding: 20px; margin-bottom: 20px; }
.lm-event-builder__title { font-size: 14px; font-weight: 700; margin: 0 0 14px; color: var(--lm-gray-700); }
.lm-event-builder__row { display: grid; grid-template-columns: 2fr 1fr 2fr 2fr 1fr; gap: 10px; align-items: end; margin-bottom: 12px; }
@media (max-width: 700px) { .lm-event-builder__row { grid-template-columns: 1fr 1fr; } }
.lm-events-empty { font-size: 13px; color: var(--lm-gray-400); font-style: italic; margin: 0; }
.lm-event-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #fff; border: 1px solid var(--lm-gray-200); border-radius: 0; margin-bottom: 6px; font-size: 13px; }
.lm-event-row__label { flex: 1; }
.lm-event-row__remove { background: none; border: none; color: var(--lm-gray-400); font-size: 18px; cursor: pointer; padding: 0 4px; line-height: 1; transition: color var(--lm-transition); }
.lm-event-row__remove:hover { color: var(--lm-red); }

/* ===============================================================
   League Table — STRUCTURAL only (colours/padding via controls)
   =============================================================== */

.lm-league-table-wrapper { overflow-x: auto; }
.lm-league-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.lm-league-table th,
.lm-league-table td { border-bottom: 1px solid var(--lm-gray-200); text-align: center; padding: 10px 12px; }

.lm-league-table th:first-child,
.lm-league-table th:last-child { border-radius: 0; }
.lm-league-table .lm-col-club { text-align: left; }
.lm-league-table .lm-col-club a { text-decoration: none; font-weight: 500; }
.lm-league-table .lm-col-highlight { font-weight: 700; }
.lm-league-table tbody tr:last-child td { border-bottom: none; }

/* Club logo inside table */
.lm-league-table .lm-club-logo { vertical-align: middle; border-radius: 0; margin-right: 6px; object-fit: contain; }

/* Form guide badges */
.lm-form-guide { display: inline-flex; gap: 4px; vertical-align: middle; flex-wrap: nowrap; white-space: nowrap; }
.lm-form-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 0;
	font-size: 10px; font-weight: 800; color: #fff; line-height: 1;
	border: 2px solid rgba(255,255,255,0.5); box-sizing: border-box; flex-shrink: 0;
}

/* Zone indicators — left border added via control selectors */
.lm-league-table tbody tr.lm-zone-1 td:first-child,
.lm-league-table tbody tr.lm-zone-2 td:first-child,
.lm-league-table tbody tr.lm-zone-3 td:first-child { border-left-width: 4px; border-left-style: solid; }

/* ===============================================================
   Match Schedule — STRUCTURAL
   =============================================================== */

.lm-match-schedule,
.lm-fixture-list { display: grid; gap: 10px; }

.lm-fixture-card { display: flex; flex-direction: column; gap: 8px; }
.lm-fixture-card__round { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lm-gray-400); }
.lm-fixture-card__teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lm-fixture-card__club { display: flex; align-items: center; gap: 8px; flex: 1; }
.lm-fixture-card__club--away { flex-direction: row-reverse; }
.lm-fixture-card__club-name { font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-fixture-card__logo { border-radius: 0; object-fit: contain; flex-shrink: 0; }
.lm-fixture-card__score-block { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; min-width: 80px; text-align: center; }
.lm-fixture-score { font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.lm-fixture-card__vs { font-size: 14px; font-weight: 600; color: var(--lm-gray-400); }
.lm-fixture-card__meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.lm-fixture-card__meta-item { display: flex; align-items: center; gap: 4px; }

/* Status badges */
.lm-badge { display: inline-block; padding: 2px 8px; border-radius: 0; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.lm-badge--scheduled { background: #dbeafe; color: #005f8a; }
.lm-badge--live      { background: var(--lm-red-bg); color: var(--lm-red-text); animation: lm-pulse 1.5s infinite; }
.lm-badge--completed { background: #dcfce7; color: #14532d; }
.lm-badge--postponed { background: #fef9c3; color: #854d0e; }
.lm-badge--cancelled { background: var(--lm-gray-100); color: var(--lm-gray-700); }

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

/* ===============================================================
   Player Card — STRUCTURAL
   =============================================================== */

.lm-player-card { overflow: hidden; max-width: 340px; }
.lm-player-card__header { text-align: center; }
.lm-player-card__photo,
.lm-player-card__photo--placeholder {
	display: block; margin: 0 auto 10px;
	object-fit: cover;
}
.lm-player-card__photo--placeholder { background: rgba(255,255,255,.2); }
.lm-player-card__position { display: inline-block; padding: 3px 10px; border-radius: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.lm-player-card__number  { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; opacity: .7; }
.lm-player-card__name    { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.lm-player-card__name a  { text-decoration: none; }
.lm-player-card__club    { font-size: 13px; margin-top: 2px; }
.lm-player-card__club a  { text-decoration: none; }
.lm-player-card__nationality { font-size: 12px; margin-top: 2px; opacity: .7; }

/* Stats bar */
.lm-player-card__stats { display: grid; grid-template-columns: repeat(5, 1fr); }
.lm-player-card__stat  { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-top: 1px solid; text-align: center; }
.lm-player-card__stat-value { font-size: 18px; font-weight: 800; }
.lm-player-card__stat-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }

/* ===============================================================
   Stats Leaderboard — STRUCTURAL
   =============================================================== */

.lm-leaderboard__title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }

.lm-leaderboard__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lm-leaderboard__table th { padding: 8px 12px; border-bottom: 2px solid var(--lm-gray-200); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-align: left; white-space: nowrap; }
.lm-leaderboard__table td { padding: 10px 12px; border-bottom: 1px solid var(--lm-gray-100); vertical-align: middle; }
.lm-leaderboard__table tbody tr:last-child td { border-bottom: none; }

.lm-leaderboard__col-rank  { width: 40px; text-align: center !important; }
.lm-leaderboard__col-value { text-align: right !important; }
.lm-leaderboard__col-club  { font-size: 12px; }

.lm-leaderboard__rank {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; border-radius: 0;
	font-size: 12px; font-weight: 800;
}

.lm-leaderboard__player-cell { display: flex; align-items: center; gap: 8px; }
.lm-leaderboard__photo { border-radius: 0; object-fit: cover; flex-shrink: 0; }
.lm-leaderboard__value { font-size: 18px; font-weight: 800; }

/* ===============================================================
   News Feed — STRUCTURAL
   =============================================================== */

.lm-news-feed { }
.lm-news-grid { display: grid; gap: 20px; }
.lm-news-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.lm-news-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.lm-news-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .lm-news-grid--cols-4 { grid-template-columns: repeat(2, 1fr); } .lm-news-grid--cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lm-news-grid--cols-4, .lm-news-grid--cols-3, .lm-news-grid--cols-2 { grid-template-columns: 1fr; } }
.lm-news-list { display: flex; flex-direction: column; }

.lm-news-card { display: flex; flex-direction: column; text-decoration: none !important; color: inherit !important; }
.lm-news-list .lm-news-card { flex-direction: row; gap: 16px; }
.lm-news-card__thumb-link { display: block; overflow: hidden; flex-shrink: 0; height: 180px; }
.lm-news-card__thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-news-list .lm-news-card__thumb-link { width: 120px; height: 80px; }
.lm-news-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lm-news-card__meta { font-size: 12px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lm-news-card__category { font-size: 11px; font-weight: 700; padding: 2px 8px; text-transform: uppercase; letter-spacing: .04em; }
.lm-news-card__title { font-size: 14px; font-weight: 700; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-news-card__title a { text-decoration: none; }
.lm-news-card__excerpt { font-size: 13px; line-height: 1.5; margin: 0 0 8px; }
.lm-news-card__read-more { font-size: 13px; font-weight: 600; text-decoration: underline; margin-top: auto; }

/* ===============================================================
   Club Profile — STRUCTURAL
   =============================================================== */

.lm-club-profile { }
.lm-club-profile__header { display: flex; align-items: center; gap: 16px; }
.lm-club-profile--horizontal .lm-club-profile__header { }
.lm-club-profile__badge { object-fit: contain; border-radius: 0; flex-shrink: 0; }
.lm-club-profile__badge--placeholder { display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 0; background: rgba(255,255,255,.2); }
.lm-club-profile__badge--placeholder .dashicons { font-size: 32px; width: 32px; height: 32px; color: rgba(255,255,255,.6); }
.lm-club-profile__name    { font-size: 20px; font-weight: 800; margin: 0 0 4px; line-height: 1.2; }
.lm-club-profile__founded,
.lm-club-profile__colours { display: block; font-size: 13px; margin-top: 2px; opacity: .75; }
.lm-club-profile__body    { }
.lm-club-profile__stats   { display: flex; gap: 24px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--lm-gray-100); flex-wrap: wrap; }
.lm-club-profile__stat    { text-align: center; }
.lm-club-profile__stat-value { display: block; font-size: 22px; font-weight: 800; line-height: 1; }
.lm-club-profile__stat-label { display: block; font-size: 12px; margin-top: 4px; font-weight: 500; }
.lm-club-profile__contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.lm-club-profile__contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: none; }
.lm-club-profile__contact-item .dashicons { font-size: 16px; width: 16px; height: 16px; }
.lm-club-profile__history { font-size: 14px; line-height: 1.6; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lm-gray-100); }

/* ===============================================================
   Club Squad — STRUCTURAL
   =============================================================== */

.lm-squad__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lm-squad__table th { padding: 8px 12px; border-bottom: 2px solid var(--lm-gray-200); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: left; }
.lm-squad__table td { padding: 10px 12px; border-bottom: 1px solid var(--lm-gray-100); vertical-align: middle; }
.lm-squad__table tbody tr:last-child td { border-bottom: none; }
.lm-squad__position-header { padding: 8px 12px !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .06em !important; }
.lm-squad__col-shirt { width: 40px; text-align: center !important; font-weight: 700; }
.lm-squad__player-name-wrap { display: flex; align-items: center; gap: 10px; }
.lm-squad__photo { border-radius: 0; object-fit: cover; flex-shrink: 0; }

/* Cards layout */
.lm-squad__cards-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-bottom: 16px; }
.lm-squad__card { display: flex; flex-direction: column; align-items: center; gap: 4px; transition: box-shadow 0.15s ease; }
.lm-squad__card-photo,
.lm-squad__card-photo--placeholder { border-radius: 0; object-fit: cover; margin-bottom: 6px; display: block; }
.lm-squad__card-photo--placeholder { background: var(--lm-gray-100); display: flex; align-items: center; justify-content: center; }
.lm-squad__card-shirt { font-size: 11px; font-weight: 800; background: #e6f4fb; padding: 1px 6px; border-radius: 0; }
.lm-squad__card-name  { font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; }
.lm-squad__card-pos   { font-size: 11px; }
.lm-squad__card-nat   { font-size: 11px; }

/* ===============================================================
   Match Result — STRUCTURAL
   =============================================================== */

.lm-match-result { }
.lm-match-result__header { text-align: center; }
.lm-match-result__round  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; opacity: .65; }
.lm-match-result__teams  { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lm-match-result__team   { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lm-match-result__badge  { object-fit: contain; border-radius: 0; background: rgba(255,255,255,.15); }
.lm-match-result__badge--placeholder { border-radius: 0; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; }
.lm-match-result__badge--placeholder .dashicons { font-size: 28px; width: 28px; height: 28px; color: rgba(255,255,255,.5); }
.lm-match-result__team-name  { font-weight: 700; text-align: center; line-height: 1.3; }
.lm-match-result__score-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.lm-match-result__score      { display: flex; align-items: center; gap: 6px; }
.lm-match-result__score-sep  { font-size: 28px; font-weight: 700; opacity: .5; }
.lm-match-result__vs         { font-size: 24px; font-weight: 800; opacity: .5; letter-spacing: .05em; }
.lm-match-result__date       { font-size: 12px; margin-top: 12px; font-weight: 500; opacity: .65; }
.lm-match-result__status-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 10px; border-radius: 0; }
.lm-match-result__meta       { display: flex; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--lm-gray-200); }
.lm-match-result__meta-item  { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.lm-match-result__meta-item .dashicons { font-size: 15px; width: 15px; height: 15px; }
.lm-match-result__notes      { font-size: 13px; border-top: 1px solid var(--lm-gray-100); }

/* ===============================================================
   Next Match Countdown — NEW WIDGET
   =============================================================== */

.lm-countdown-card { }
.lm-countdown-card__header { text-align: center; }
.lm-countdown-card__label  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; opacity: .65; }
.lm-countdown-card__teams  { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lm-countdown-card__team   { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lm-countdown-card__badge  { object-fit: contain; border-radius: 0; }
.lm-countdown-card__badge--placeholder { border-radius: 0; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.lm-countdown-card__team-name { font-weight: 700; text-align: center; line-height: 1.3; }
.lm-countdown-card__vs     { font-weight: 800; opacity: .6; letter-spacing: .05em; flex-shrink: 0; }

/* Timer */
.lm-countdown-card__timer  { }
.lm-countdown-card__timer-inner { display: flex; align-items: center; justify-content: center; gap: 8px; }
.lm-cd-unit { display: flex; flex-direction: column; align-items: center; padding: 12px 16px; min-width: 64px; }
.lm-cd-digit { font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.lm-cd-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.lm-cd-sep   { font-size: 24px; font-weight: 800; align-self: flex-start; padding-top: 10px; opacity: .5; }

/* Meta strip */
.lm-countdown-card__meta        { display: flex; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(0,0,0,.06); }
.lm-countdown-card__meta-item   { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.lm-countdown-card__date-label  { font-size: 12px; margin-top: 8px; opacity: .65; }

/* ===============================================================
   Portal — shared layout
   =============================================================== */

.lm-portal { padding: 24px 0; }
.lm-portal--login { text-align: center; padding: 48px 24px; }
.lm-portal__heading { font-size: 22px; font-weight: 700; margin: 0 0 24px; }
.lm-portal__section { margin-bottom: 32px; }
.lm-portal__section-title { font-size: 14px; font-weight: 700; letter-spacing: .03em; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--lm-gray-200); }

/* ===============================================================
   Position badges
   =============================================================== */

.lm-badge--gk  { background: #fef9c3; color: #854d0e; padding: 2px 8px; border-radius: 0; font-size: 11px; font-weight: 700; }
.lm-badge--def { background: #dbeafe; color: #005f8a; padding: 2px 8px; border-radius: 0; font-size: 11px; font-weight: 700; }
.lm-badge--mid { background: #dcfce7; color: #14532d; padding: 2px 8px; border-radius: 0; font-size: 11px; font-weight: 700; }
.lm-badge--fwd { background: #fee2e2; color: #991b1b; padding: 2px 8px; border-radius: 0; font-size: 11px; font-weight: 700; }

/* ===============================================================
   Admin feedback
   =============================================================== */

.lm-admin-error   { color: var(--lm-red-text) !important; }
.lm-admin-success { color: var(--lm-green-dark) !important; }

.lm-status-badge { display: inline-block; padding: 2px 9px; border-radius: 0; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.6; }
.lm-status--scheduled { background: #dbeafe; color: #005f8a; }
.lm-status--live      { background: var(--lm-red-bg); color: var(--lm-red-text); }
.lm-status--completed { background: #dcfce7; color: #14532d; }
.lm-status--postponed { background: #fef9c3; color: #854d0e; }
.lm-status--cancelled { background: var(--lm-gray-100); color: var(--lm-gray-700); }

/* ===============================================================
   Accessibility — form guide shape differentiation
   =============================================================== */

/* Ensure letter is always visible (already in badge) */
.lm-form-badge { font-size: 10px; font-weight: 800; }

/* Shape differentiation for colour-blind users */
.lm-form-badge--W { border-radius: 0; }
.lm-form-badge--D { border-radius: 0; }
.lm-form-badge--L { border-radius: 0; transform: none; }

/* ===============================================================
   Head-to-Head widget
   =============================================================== */

.lm-h2h { border-radius: 0; overflow: hidden; }
.lm-h2h__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 8px; }
.lm-h2h__team { font-size: 14px; font-weight: 700; flex: 1; }
.lm-h2h__team:last-child { text-align: right; }
.lm-h2h__vs { font-size: 12px; font-weight: 600; opacity: .6; }
.lm-h2h__totals { display: flex; justify-content: space-around; padding: 20px; border-bottom: 1px solid var(--lm-gray-200); }
.lm-h2h__stat { text-align: center; }
.lm-h2h__stat-num { display: block; font-size: 32px; font-weight: 900; line-height: 1; }
.lm-h2h__stat-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; opacity: .6; }
.lm-h2h__meetings { width: 100%; border-collapse: collapse; font-size: 13px; }
.lm-h2h__meetings th { padding: 8px 12px; background: var(--lm-gray-50); border-bottom: 2px solid var(--lm-gray-200); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-align: left; }
.lm-h2h__meeting td { padding: 10px 12px; border-bottom: 1px solid var(--lm-gray-100); }
.lm-h2h__meeting:last-child td { border-bottom: none; }

/* ===============================================================
   Mini Standings
   =============================================================== */

.lm-mini-standings { overflow: hidden; }
.lm-mini-standings__header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.lm-mini-standings__title { font-size: 14px; font-weight: 700; }
.lm-mini-standings__view-all { font-size: 12px; font-weight: 600; text-decoration: underline; }
.lm-mini-standings__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lm-mini-standings__table th { padding: 8px 12px; border-bottom: 1px solid var(--lm-gray-200); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-align: center; }
.lm-mini-standings__table th:nth-child(2) { text-align: left; }
.lm-mini-standings__row td { padding: 10px 12px; border-bottom: 1px solid var(--lm-gray-100); text-align: center; }
.lm-mini-standings__row td:nth-child(2) { text-align: left; }
.lm-mini-standings__row td a { text-decoration: none; font-weight: 500; }
.lm-mini-standings__row:last-child td { border-bottom: none; }
.lm-mini-standings__pts { font-weight: 700; }

/* ===============================================================
   Season Stats
   =============================================================== */

.lm-season-stats__title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.lm-season-stats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.lm-season-stats__card { padding: 16px; text-align: center; border-radius: 0; }
.lm-season-stats__value { display: block; font-size: 28px; font-weight: 900; line-height: 1; }
.lm-season-stats__label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }

/* ===============================================================
   Schedule filter bar
   =============================================================== */

.lm-schedule-filters { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.lm-schedule-filters .lm-form__select { max-width: 200px; }
.lm-sf-spinner { display: inline-block; font-size: 18px; animation: lm-spin 0.8s linear infinite; }
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-fixture-list { transition: opacity 0.2s ease; }

/* ===============================================================
   Single post templates (shared structural styles)
   =============================================================== */

.lm-single-section-title {
	font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
	color: var(--lm-gray-400); margin: 28px 0 16px; padding-bottom: 8px;
	border-bottom: 2px solid var(--lm-gray-200);
}

/* Club */
.lm-single-club { max-width: 800px; margin: 0 auto; padding: 24px 16px; }
.lm-single-club__header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.lm-single-club__badge { width: 80px; height: 80px; object-fit: contain; border-radius: 0; }
.lm-single-club__name { margin: 0 0 4px; font-size: 28px; font-weight: 800; }
.lm-single-club__contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lm-single-club__contact-item { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; }

/* Player */
.lm-single-player { max-width: 720px; margin: 0 auto; padding: 24px 16px; }
.lm-single-player__header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.lm-single-player__photo { width: 120px; height: 120px; object-fit: cover; border-radius: 0; flex-shrink: 0; }
.lm-single-player__name { margin: 0 0 4px; font-size: 26px; font-weight: 800; }
.lm-single-player__number { font-size: 14px; font-weight: 600; opacity: .6; margin-bottom: 4px; }

/* Match */
.lm-single-match { max-width: 700px; margin: 0 auto; padding: 24px 16px; }
.lm-single-match__notes { margin-top: 24px; font-size: 14px; line-hei
/* Hide author on news single posts */
.lm-news-single .author,
.lm-news-single .entry-author,
.lm-news-single .post-author,
.lm-news-single .byline,
.lm-news-single [class*="author"],
.lm-news-single [class*="byline"] {
	display: none !important;
}
