/*
	Theme Name: Bruto
	Theme URI: https://gazetabruto.com/
	Description: Kanews child theme for Gazeta Bruto (Albanian news site): Albanian locale, Balkan weather cities, Bruto branding in the admin and a protected default configuration.
	Author: Kan Themes
	Author URI: https://www.kanthemes.com/
	Template: kanews
	Version: 1.0.0
	Text Domain: bruto
	Domain Path: /languages
*/

/* Phase 2 (layout / look) styles go here. */

/* ==========================================================================
   Football (Kosovo / Albania): page template, widget, shortcode.
   The table itself uses the parent's .ss-standings styles.
   ========================================================================== */
.bruto-sport-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
/* Same size for the active (.kanews-btn) and inactive (.kanews-btn-light) tab. */
.bruto-sport-tabs .kanews-btn {
	display: inline-flex;
	align-items: center;
	height: 40px;
	margin: 0;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
}
.bruto-sport-tabs .kanews-btn-light { border-color: var(--kan-border-color); }

.bruto-sport-empty {
	margin: 0;
	padding: 16px;
	font-size: 13px;
	color: color-mix(in srgb, var(--kan-text-color, #161616) 65%, transparent);
}

.bruto-standings-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: color-mix(in srgb, var(--kan-text-color, #161616) 70%, transparent);
}
ul.bruto-standings-legend.bruto-standings-legend > li { margin: 0; padding: 0; }
.bruto-standings-legend li::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 12px;
	margin-right: 6px;
	border-radius: 2px;
	vertical-align: -1px;
	background: var(--bruto-zone);
}
.bruto-standings-legend .is-top { --bruto-zone: #16a34a; }
.bruto-standings-legend .is-qual { --bruto-zone: #0ea5e9; }
.bruto-standings-legend .is-europe { --bruto-zone: #f59e0b; }
.bruto-standings-legend .is-releg { --bruto-zone: #dc2626; }

.bruto-fx {
	background: var(--kan-bg-white-color);
	border: 1px solid var(--kan-border-color);
	border-radius: var(--kan-block-radius);
	overflow: hidden;
}
.bruto-standings + .bruto-fx { margin-top: 16px; }
.bruto-fx__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--kan-border-color);
	font-size: 13px;
	font-weight: 700;
}
.bruto-fx__round { flex: 1; text-align: center; }
.bruto-fx__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: inherit;
	background: var(--kan-placeholder-bg);
}
.bruto-fx__day {
	padding: 6px 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--kan-text-color, #161616) 60%, transparent);
	background: color-mix(in srgb, var(--kan-placeholder-bg) 60%, var(--kan-bg-white-color));
}
.bruto-fx__list { margin: 0; padding: 0; list-style: none; }
.bruto-fx__match {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	font-size: 13px;
	border-bottom: 1px solid color-mix(in srgb, var(--kan-border-color) 55%, transparent);
}
.bruto-fx__list:last-child .bruto-fx__match:last-child { border-bottom: 0; }
.bruto-fx__team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bruto-fx__team.is-home { justify-content: flex-end; text-align: right; }
.bruto-fx__team img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; }
.bruto-fx__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bruto-fx__team.is-winner { font-weight: 700; }
.bruto-fx__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.bruto-fx__match.is-scheduled .bruto-fx__score {
	font-weight: 500;
	color: color-mix(in srgb, var(--kan-text-color, #161616) 70%, transparent);
}
.bruto-fx__badge {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: #dc2626;
}
.bruto-sport-more {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	text-align: right;
	color: var(--kan-theme-color);
}
