/* RSN Broadcast — layout chrome. */

.rsn-container {
	width: min(var(--rsn-content-max), 100%);
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (max-width: 600px) {
	.rsn-container { padding: 0 1rem; }
}

/* ===== HEADER =====
   Three-zone layout: [logo] | [nav] | [actions].
   Logo is sized & padded so it reads as a deliberate brand mark, not a thumbnail.
   A faint divider after the logo separates it from the nav so the eye groups
   "brand" vs "navigation" the way a real broadcaster header does. */
.rsn-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 13, 18, 0.85);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--rsn-line);
}
.rsn-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 80px;
}

/* Logo sits in its own zone with a vertical divider after it. */
.rsn-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	padding-right: 1.5rem;
	border-right: 1px solid var(--rsn-line);
	height: 52px;
	transition: opacity .2s var(--rsn-ease);
}
.rsn-logo:hover { opacity: .85; }
.rsn-logo img {
	height: 52px;
	width: auto;
	display: block;
	border-radius: 8px;        /* softens the JPG black plate */
	object-fit: contain;
}
/* WP's the_custom_logo() wraps in <a><img></a>; constrain that too. */
.rsn-logo .custom-logo-link img,
.custom-logo-link img {
	height: 52px;
	width: auto;
	max-height: 52px;
}

/* Nav fills the available space, items naturally space out. */
.rsn-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex: 1;
	min-width: 0;            /* allows ellipsis behaviour on overflow */
	overflow-x: auto;
	scrollbar-width: none;
}
.rsn-nav::-webkit-scrollbar { display: none; }

.rsn-nav a {
	color: var(--rsn-text-dim);
	text-transform: uppercase;
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .12em;
	padding: .35rem 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color .15s var(--rsn-ease), border-color .15s var(--rsn-ease);
}
.rsn-nav a:hover,
.rsn-nav .current-menu-item > a {
	color: var(--rsn-text);
	border-bottom-color: var(--rsn-mint);
}

.rsn-header__actions {
	display: flex; gap: .5rem; align-items: center;
	flex-shrink: 0;
}

/* Tablet: tighten the nav so the logo and pill always fit. */
@media (max-width: 1100px) {
	.rsn-nav { gap: 1.1rem; }
	.rsn-nav a { font-size: .78rem; letter-spacing: .1em; }
}

/* Mobile: hide the inline nav, keep the logo + the pill. */
@media (max-width: 800px) {
	.rsn-header__inner { gap: 1rem; min-height: 68px; }
	.rsn-logo { padding-right: 1rem; height: 44px; }
	.rsn-logo img,
	.rsn-logo .custom-logo-link img,
	.custom-logo-link img { height: 44px; max-height: 44px; }
	.rsn-nav { display: none; }
}

/* ===== FOOTER =====
   Netflix-style multi-column grid: brand block on the left + up to three
   link columns. Social icons sit under the brand block. Compact, dark,
   confidently minimal. */
.rsn-footer {
	background: #06080c;
	border-top: 1px solid var(--rsn-line);
	padding: 4.5rem 0 2.5rem;
	margin-top: 6rem;
	color: var(--rsn-text-mute);
	font-size: .9rem;
}

.rsn-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 3rem;
	margin-bottom: 3rem;
}
@media (max-width: 1000px) { .rsn-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 600px)  { .rsn-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

.rsn-footer__brand img,
.rsn-footer__brand .custom-logo-link img {
	height: 56px;
	max-height: 56px;
	width: auto;
	margin-bottom: 1.25rem;
	border-radius: 8px;
}
.rsn-footer__heading {
	color: var(--rsn-text);
	font-size: 1rem;
	margin: 0 0 .5rem;
	line-height: 1.4;
}
.rsn-footer__desc {
	margin: 0;
	max-width: 38ch;
	color: var(--rsn-text-mute);
	line-height: 1.6;
}

/* Social icons row */
.rsn-footer__social {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: flex;
	gap: .65rem;
	flex-wrap: wrap;
}
.rsn-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,0.06);
	color: var(--rsn-text-dim);
	transition: background .15s var(--rsn-ease), color .15s var(--rsn-ease), transform .15s var(--rsn-ease);
}
.rsn-footer__social a:hover {
	background: var(--rsn-mint);
	color: var(--rsn-bg);
	transform: translateY(-2px);
}
.rsn-footer__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Link columns */
.rsn-footer__col h3 {
	font-family: var(--rsn-body);
	font-size: .82rem;
	font-weight: 700;
	color: var(--rsn-text-dim);
	text-transform: uppercase;
	letter-spacing: .14em;
	margin: 0 0 1.1rem;
}
.rsn-footer__col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .7rem;
}
.rsn-footer__col li { margin: 0; }
.rsn-footer__col a {
	color: var(--rsn-text-dim);
	text-decoration: none;
	font-size: .9rem;
	transition: color .15s var(--rsn-ease);
}
.rsn-footer__col a:hover {
	color: var(--rsn-mint);
}

/* Bottom row */
.rsn-footer__bottom {
	border-top: 1px solid var(--rsn-line);
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: .8rem;
	color: var(--rsn-text-mute);
}

/* ===== MAIN ===== */
.rsn-main { padding-bottom: 4rem; }

/* ===== SECTION ===== */
.rsn-section {
	padding: 4rem 0;
}
.rsn-section__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--rsn-line);
	padding-bottom: 1rem;
}
.rsn-section__title { font-size: 2rem; }
.rsn-section__title em {
	font-style: normal;
	color: var(--rsn-mint);
}
.rsn-section__cta {
	color: var(--rsn-text-dim);
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
}
.rsn-section__cta::after { content: " →"; }
