/**
 * HornSports CFP Top 5 Elementor Widget Styles
 */

.hs-cfp5-wrapper {
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	width: 100%;
	box-sizing: border-box;
	color: #1A1F26;
	line-height: 1.3;
}

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

.hs-cfp5-card {
	background-color: #FFFFFF;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(15, 23, 42, 0.07);
}

/* Header */
.hs-cfp5-header {
	background-color: #BF5700;
	color: #FFFFFF;
	padding: 11px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

.hs-cfp5-header-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.hs-cfp5-header-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.hs-cfp5-trophy {
	height: 38px;
	width: auto;
	object-fit: contain;
	flex-shrink: 0;
	display: block;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.hs-cfp5-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.18);
	color: #FFFFFF;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 3px 6px;
	border-radius: 4px;
	line-height: 1;
	flex-shrink: 0;
}

.hs-cfp5-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #FFFFFF;
	line-height: 1.15;
}

.hs-cfp5-subtitle {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
}

/* Column headings */
.hs-cfp5-col-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background-color: #F1F3F5;
	border-bottom: 1px solid #E2E6EA;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #64748B;
}

.hs-cfp5-col-rank {
	width: 22px;
	text-align: center;
	flex-shrink: 0;
}

.hs-cfp5-col-team {
	flex: 1 1 auto;
	min-width: 0;
}

.hs-cfp5-col-trend {
	width: 34px;
	text-align: center;
	flex-shrink: 0;
}

.hs-cfp5-col-record {
	width: 40px;
	text-align: right;
	flex-shrink: 0;
}

/* List */
.hs-cfp5-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hs-cfp5-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-bottom: 1px solid #ECEFF2;
	background-color: #FFFFFF;
	transition: background-color 0.15s ease;
}

.hs-cfp5-row:nth-child(even) {
	background-color: #F8F9FA;
}

.hs-cfp5-row:last-child {
	border-bottom: none;
}

.hs-cfp5-row:hover {
	background-color: #FFF5EE;
}

.hs-cfp5-row.is-highlighted {
	background-color: #FFF1E6;
	box-shadow: inset 4px 0 0 #BF5700;
}

.hs-cfp5-row.is-highlighted .hs-cfp5-rank {
	color: #BF5700;
	font-weight: 700;
}

.hs-cfp5-row.is-highlighted .hs-cfp5-team-name {
	font-weight: 700;
}

.hs-cfp5-rank {
	width: 22px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #5A6470;
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
}

.hs-cfp5-team {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.hs-cfp5-logo {
	width: 24px;
	height: 24px;
	object-fit: contain;
	flex-shrink: 0;
	display: block;
}

.hs-cfp5-team-name {
	font-size: 14.5px;
	font-weight: 500;
	color: #1A1F26;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hs-cfp5-trend {
	width: 34px;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	line-height: 1;
}

.hs-cfp5-trend--up {
	color: #15803D;
}

.hs-cfp5-trend--down {
	color: #B91C1C;
}

.hs-cfp5-trend--new {
	color: #BF5700;
}

.hs-cfp5-trend--same {
	color: #94A3B8;
}

.hs-cfp5-record {
	width: 40px;
	text-align: right;
	font-size: 13.5px;
	font-weight: 600;
	color: #4A5568;
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
	white-space: nowrap;
}

/* Footer CTA ("See Full Rankings") */
.hs-cfp5-footer {
	padding: 10px 14px 12px;
	background-color: #FFFFFF;
	border-top: 1px solid #ECEFF2;
	text-align: center;
}

.hs-cfp5-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none;
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
	cursor: pointer;
}

.hs-cfp5-cta--button {
	width: 100%;
	padding: 9px 14px;
	background-color: #BF5700;
	color: #FFFFFF;
	border: 1px solid #BF5700;
	border-radius: 6px;
}

.hs-cfp5-cta--button:hover {
	background-color: #9E4700;
	border-color: #9E4700;
	color: #FFFFFF;
}

.hs-cfp5-cta--outline {
	width: 100%;
	padding: 8px 14px;
	background-color: transparent;
	color: #BF5700;
	border: 1.5px solid #BF5700;
	border-radius: 6px;
}

.hs-cfp5-cta--outline:hover {
	background-color: #BF5700;
	color: #FFFFFF;
}

.hs-cfp5-cta--link {
	padding: 4px 6px;
	color: #BF5700;
	background-color: transparent;
	border: none;
}

.hs-cfp5-cta--link:hover {
	color: #9E4700;
	text-decoration: underline;
}

.hs-cfp5-cta-arrow {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	line-height: 1;
	transition: transform 0.15s ease;
}

.hs-cfp5-cta:hover .hs-cfp5-cta-arrow {
	transform: translateX(2px);
}

/* Standard (Roomier) Density */
.hs-cfp5-standard .hs-cfp5-header {
	padding: 13px 16px;
}

.hs-cfp5-standard .hs-cfp5-title {
	font-size: 18px;
}

.hs-cfp5-standard .hs-cfp5-col-head {
	padding: 7px 16px;
	gap: 10px;
}

.hs-cfp5-standard .hs-cfp5-row {
	padding: 9px 16px;
	gap: 10px;
}

.hs-cfp5-standard .hs-cfp5-rank,
.hs-cfp5-standard .hs-cfp5-col-rank {
	width: 26px;
	font-size: 15px;
}

.hs-cfp5-standard .hs-cfp5-logo {
	width: 28px;
	height: 28px;
}

.hs-cfp5-standard .hs-cfp5-team-name {
	font-size: 16px;
}

.hs-cfp5-standard .hs-cfp5-record,
.hs-cfp5-standard .hs-cfp5-col-record {
	width: 46px;
	font-size: 14.5px;
}

.hs-cfp5-standard .hs-cfp5-footer {
	padding: 12px 16px 14px;
}
