* {
	box-sizing: border-box;
}

/* ── Header ─────────────────────────────────────────────────────── */

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	width: 100%;
}

.header-logo-bar {
	background: var(--color-white);
	padding: 12px 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-logo-link {
	display: inline-flex;
	align-items: center;
}

.header-logo {
	height: 36px;
	width: auto;
	display: block;
}

.header-nav {
	background: rgb(24, 57, 105);
}

.header-nav-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 28px;
	display: flex;
	align-items: center;
}

.header-nav-link {
	display: inline-block;
	padding: 10px 16px;
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: var(--font-weight-regular);
	text-decoration: none;
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
	color: rgba(255, 255, 255, 0.4);
	outline: none;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #fff;
}

#player-container {
	flex: 1 0 auto;
	display: grid;
	place-items: center;
	padding: 32px 20px;
}

.player-shell {
	width: min(100%, 1040px);
	display: grid;
	gap: 14px;
}

.player-slot {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	border: 1px solid var(--color-border);
	overflow: hidden;
	position: relative;
}

.player-embed,
.player-embed video-js,
.player-embed .video-js {
	width: 100%;
	height: 100%;
}


.player-error-banner {
	display: none;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #e1bcbc;
	background: #fff2f2;
	color: #7a1f1f;
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-regular);
}

.player-error-banner.is-visible {
	display: block;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.site-footer {
	position: static;
	background: var(--color-white);
	border-top: 1px solid var(--color-border);
}

.footer-upper,
.footer-lower {
	max-width: 1400px;
	margin: 0 auto;
	padding: 18px 28px;
	display: flex;
	align-items: center;
}

.footer-upper {
	gap: 18px;
}

.support-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 320px;
}

.support-title {
	font-size: var(--font-size-body-headline);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-display);
	letter-spacing: var(--tracking-tight);
}

.support-subtitle {
	font-size: var(--font-size-body);
	color: var(--color-text-secondary);
}

.footer-link {
	color: var(--color-text-link);
	font-size: var(--font-size-body);
	text-decoration: none;
	white-space: nowrap;
}

.footer-link:hover {
	text-decoration: underline;
}

.with-icon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.phone {
	color: var(--color-text-primary);
}

.v-separator {
	width: 1px;
	height: 46px;
	background: var(--color-border);
	flex: 0 0 auto;
}

.v-separator.small {
	height: 28px;
}

.h-separator {
	height: 1px;
	background: var(--color-border);
}

.footer-lower {
	justify-content: space-between;
	gap: 18px;
}

.brand-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.brand-link {
	text-decoration: none;
	color: #222;
	display: inline-flex;
	align-items: center;
}

.brand-link.str {
	color: #157261;
	font-weight: 700;
}

.brand-logo {
	display: block;
	width: auto;
	object-fit: contain;
}

.costar-logo {
	height: 28px;
}

.str-logo {
	height: 30px;
}

.legal-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--font-size-small);
	color: var(--color-text-secondary);
}

@media (max-width: 900px) {
	#player-container {
		padding: 24px 12px;
	}

	.footer-upper,
	.footer-lower {
		padding: 16px;
		flex-wrap: wrap;
		gap: 12px;
	}

	.support-copy {
		min-width: 100%;
	}

	.support-title {
		font-size: 16px;
	}

	.support-subtitle,
	.footer-link,
	.legal-row,
	.brand-link {
		font-size: 14px;
	}

	.costar-logo {
		height: 24px;
	}

	.str-logo {
		height: 26px;
	}

	.v-separator {
		display: none;
	}

	.footer-lower {
		flex-direction: column;
		align-items: flex-start;
	}
}
