/* Videos page player ([hc_video_player], inc/videos.php + assets/js/videos.js). */
.hc-vp {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--gcid-hc-cream);
	font-family: "Archivo", sans-serif;
}
.hc-vp [hidden] {
	display: none !important;
}
.hc-vp button {
	margin: 0;
	font-family: inherit;
	cursor: pointer;
}

/* Tabs: one per tournament */
.hc-vp-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hc-vp-tab {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 20px;
	box-sizing: border-box;
	background: rgba(244, 240, 228, 0.05);
	border: 2px solid rgba(244, 240, 228, 0.25);
	border-radius: 4px;
	color: var(--gcid-hc-cream);
	text-align: left;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.hc-vp-tab:hover {
	border-color: rgba(184, 160, 88, 0.7);
}
.hc-vp-tab[aria-pressed="true"] {
	background: var(--gcid-secondary-color);
	border-color: var(--gcid-secondary-color);
	color: var(--gcid-hc-forest);
}
.hc-vp-tab__label {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
}
.hc-vp-tab__count {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	opacity: 0.85;
}

/* Player + list */
.hc-vp-main {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 24px;
}
.hc-vp-player {
	position: relative;
	flex: 2 1 720px;
	min-width: 0;
}
.hc-vp-stage {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	background: var(--gcid-hc-forest-deep);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.hc-vp-stage__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hc-vp-stage__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 26, 12, 0.92) 0%, rgba(8, 26, 12, 0.45) 42%, rgba(8, 26, 12, 0.15) 70%);
}
.hc-vp-stage__pill {
	position: absolute;
	top: 20px;
	left: 20px;
	margin: 0;
	padding: 6px 10px !important;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 3px;
	background: rgba(8, 32, 13, 0.84);
	color: var(--gcid-hc-cream);
	font-size: 11px;
	font-weight: 800;
	font-stretch: 125%;
	letter-spacing: 0.1em;
	line-height: 1.6;
	text-transform: uppercase;
}
.hc-vp-stage__pill svg {
	flex: 0 0 auto;
	color: var(--gcid-hc-gold-light);
}
.hc-vp-stage__play,
.hc-vp-stage__soon {
	position: absolute;
	left: 50%;
	top: 42%;
	transform: translate(-50%, -50%);
	width: 96px;
	height: 96px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}
.hc-vp-stage__play {
	background: var(--gcid-secondary-color);
	color: var(--gcid-hc-forest);
	box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7);
	transition: background 0.2s ease;
}
.hc-vp-stage__play:hover,
.hc-vp-stage__play:focus-visible {
	background: var(--gcid-hc-gold-light);
	color: var(--gcid-hc-forest);
}
.hc-vp-stage__soon {
	display: none;
	border: 2px dashed rgba(212, 191, 122, 0.6);
	color: var(--gcid-hc-gold-light);
}
.hc-vp.is-soon .hc-vp-stage__soon {
	display: inline-flex;
}
.hc-vp.is-soon .hc-vp-stage__play,
.hc-vp.is-soon .hc-vp-stage__pill {
	display: none;
}
.hc-vp-stage iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.hc-vp-player.is-playing .hc-vp-stage > :not(iframe) {
	display: none;
}

/* Caption: over the photo on desktop, under it on phones */
.hc-vp-caption {
	position: absolute;
	left: 32px;
	right: 32px;
	bottom: 28px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	pointer-events: none;
}
.hc-vp-caption p,
.hc-vp-caption h2 {
	margin: 0;
	padding: 0 !important;
}
.hc-vp-caption__kicker {
	font-size: 12px;
	font-weight: 800;
	font-stretch: 125%;
	letter-spacing: 0.16em;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--gcid-hc-gold-light);
}
.hc-vp .hc-vp-caption__title {
	font-family: "Ultra", Georgia, serif;
	font-weight: 400;
	font-size: 34px;
	line-height: 1.1;
	color: var(--gcid-hc-cream);
}
.hc-vp-caption__meta {
	font-size: 16px;
	line-height: 1.5;
	color: var(--gcid-hc-on-dark-sub);
}

/* List of videos */
.hc-vp-side {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.hc-vp .hc-vp-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: inherit;
}
.hc-vp-list li {
	display: flex;
	margin: 0;
	padding: 0;
}
.hc-vp-item {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 12px;
	box-sizing: border-box;
	background: rgba(244, 240, 228, 0.05);
	border: 2px solid rgba(244, 240, 228, 0.2);
	border-radius: 4px;
	color: var(--gcid-hc-cream);
	text-align: left;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.hc-vp-item:hover {
	border-color: rgba(184, 160, 88, 0.6);
}
.hc-vp-item[aria-pressed="true"] {
	background: rgba(184, 160, 88, 0.18);
	border-color: var(--gcid-secondary-color);
}
.hc-vp-item__n {
	flex: 0 0 auto;
	width: 34px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: rgba(244, 240, 228, 0.12);
	color: var(--gcid-hc-gold-light);
	font-family: "Ultra", Georgia, serif;
	font-size: 14px;
	line-height: 1.6;
}
.hc-vp-item[aria-pressed="true"] .hc-vp-item__n {
	background: var(--gcid-secondary-color);
	color: var(--gcid-hc-forest);
}
.hc-vp-item__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.hc-vp-item__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}
.hc-vp-item__players {
	font-size: 14px;
	line-height: 1.4;
	color: var(--gcid-hc-on-dark);
}
.hc-vp .hc-vp-note {
	margin: 0;
	padding: 20px !important;
	border: 2px dashed rgba(244, 240, 228, 0.25);
	border-radius: 4px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--gcid-hc-on-dark-sub);
}

@media (min-width: 768px) {
	/* The caption sits on the photo, so it goes while the video plays. */
	.hc-vp-player.is-playing .hc-vp-caption {
		display: none;
	}
}

@media (max-width: 767px) {
	/* Tabs become one segmented control: year over count. */
	.hc-vp-tabs {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: 4px;
		margin-top: 12px;
		padding: 4px;
		background: rgba(244, 240, 228, 0.06);
		border: 1px solid rgba(244, 240, 228, 0.18);
		border-radius: 8px;
	}
	.hc-vp-tab {
		flex-direction: column;
		justify-content: center;
		gap: 2px;
		min-height: 60px;
		padding: 6px 4px;
		background: transparent;
		border: 0;
		border-radius: 5px;
		text-align: center;
	}
	.hc-vp-tab__label {
		font-family: "Ultra", Georgia, serif;
		font-size: 20px;
		font-weight: 400;
		line-height: 1;
	}
	.hc-vp-tab__name:not(.is-only) {
		display: none;
	}
	.hc-vp-main {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 16px;
	}
	.hc-vp-player {
		flex: 0 0 auto;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
	.hc-vp-stage {
		margin: 0 -20px;
		border-radius: 0;
	}
	.hc-vp-stage__shade {
		background: linear-gradient(to top, rgba(8, 26, 12, 0.7) 0%, rgba(8, 26, 12, 0.25) 60%, rgba(8, 26, 12, 0.1) 100%);
	}
	.hc-vp-stage__pill {
		top: 12px;
		left: 12px;
		gap: 6px;
		padding: 5px 8px !important;
		font-size: 10px;
	}
	.hc-vp-stage__pill svg {
		width: 13px;
		height: 13px;
	}
	.hc-vp-stage__play,
	.hc-vp-stage__soon {
		top: 50%;
		width: 72px;
		height: 72px;
	}
	.hc-vp-stage__play svg,
	.hc-vp-stage__soon svg {
		width: 28px;
		height: 28px;
	}
	.hc-vp-caption {
		position: static;
		pointer-events: auto;
	}
	.hc-vp-caption__kicker {
		letter-spacing: 0.14em;
	}
	.hc-vp .hc-vp-caption__title {
		font-size: 24px;
		line-height: 1.15;
	}
	.hc-vp-caption__meta {
		font-size: 15px;
	}
	.hc-vp-side {
		flex: 0 0 auto;
	}
	.hc-vp .hc-vp-list {
		margin-top: 4px;
	}
	.hc-vp-item {
		border-radius: 6px;
	}
	.hc-vp .hc-vp-note {
		padding: 18px !important;
		border-radius: 6px;
	}
}
