@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
:root {
	--charcoal: #222222;
	--cream: #f5f5dc;
	--crimson: #b22222;
	--dark-red: #8b0000;
	--firebrick: #b22222;
	--forest-green: #003300;
	--gold: #F2AF0D;
	--rust: #b7410e;
	--tan: #d2b48c;
	--white: #ffffff;
}
a {
	text-decoration: none;
	color: var(--gold);
	-moz-outline: none;
	cursor: pointer;
}
a:active {color: #fff;}
a:hover {
	color: #fff;
	text-decoration: underline;
}
a:link { color: var(--gold); }
a:visited { color: var(--cream); }

body, html {
	background-color: var(--forest-green);
	color: var(--cream);
	font-family: 'Lato', Geneva, Verdana, sans-serif;
	margin: 0;
	max-width: 100%;
	overflow-x: hidden;
	padding: 0;
	-webkit-font-smoothing: subpixel-antialiased;
}

footer, header, main {
	max-width: 1200px;
	margin: auto;
	padding: 2rem;
}

footer {
	text-align: center;
	line-height: 1.7;
	padding: 0 1rem;
	font-size: 0.9rem;
	color: #444;
}

footer a.login {
	text-decoration: none;
	font-weight: 300;
	color: silver;
	font-size: 0.85rem;
}

h1 {color: var(--gold); margin-top: .5rem;}

h1, h3, h4 {
	font-weight: 700;
	margin-bottom: 0.25em;
}
h2, h5 {
	font-weight: 400;
	color: var(--cream);
	margin-bottom: 0.25em;
	margin-top: 0;
}
.branding h3 {
	color: var(--white);
	font-weight: 500;
	font-style: italic;
}

header {
	text-align: center;
	padding: 1rem;
}

header img {
	border-radius: 1rem;
	box-shadow: 0 0 20px var(--gold);
	width: 280px;
	max-width: 90vw;
	height: auto;
	display: block;
	margin: 1rem auto;
}

iframe {
	display: block;
	margin: 1rem auto;
	max-width: 100%;
}

main {
	padding: .5rem;
}
p {
	font-weight: 300;
	line-height: 1.6;
}

#slider {
	border-radius: 1rem;
	overflow: hidden;
	margin: auto;
	margin-bottom: 1rem;
	width: 95%;
	max-width: 500px;
	max-height: 400px;
}

#slider div {
	position: relative;
	width: 500%;
	margin: 0;
	left: 0;
	font-size: 0;
	animation: 20s slider infinite;
}

#slider div img {
	border-radius: 1rem;
	width: 20%;
	float: left;
}

#socials {
	margin: auto;
	margin-bottom: 1rem;
	text-align: center;
	width: 100%;
}

#socials img {
	margin: auto;
	margin-left: .5rem;
	margin-right: .5rem;
	width: 50px;
}

a.live {
	position: relative;
	display: inline-block;
}
a.live .live-label {
	position: absolute;
	bottom: 4px;
	right: 4px;
	background: red;
	color: white;
	font-size: 0.6rem;
	font-weight: bold;
	padding: 2px 4px;
	border-radius: 3px;
}

.archive-upcoming-wrap {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 0 auto 1rem;
	flex-wrap: wrap;
	max-width: 900px;
}

.archive-upcoming-wrap section {
	display: flex;
	justify-content: center;
	flex: 1 1 300px;
}
.avatar_block img {
	max-width: 75px;
	height: auto;
}
.btn-upcoming,
.btn-archives {
	display: inline-block;
	padding: 1rem 2rem;
	font-weight: bold;
	color: white;
	border-radius: 0.5rem;
	text-align: center;
	text-decoration: none;
	font-size: 1.1rem;
}

.btn-upcoming {
	background-color: #c62828; /* red */
}

.btn-archives {
	background-color: #01579b; /* deep blue */
}
.btn-archives:hover {
	background-color: #003f6b;
}
.btn-upcoming:hover {
	background-color: #990000;
}
.btn-upcoming,
.btn-archives {
	color: white !important;
	text-decoration: none;
}

.btn-upcoming:hover,
.btn-archives:hover {
	color: white !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
}
.btn-live, .overlay-content button {
	margin: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: none;
	background: #d7263d;
	color: white;
	font-size: 1rem;
	cursor: pointer;
	border-radius: 4px;
	text-decoration: none;
}
.center { text-align: center !important; }
.channels {
	text-align: center;
	margin: 2em auto;
}
.channel-row {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 1em;
	flex-wrap: wrap;
}
.channel-row a img {
	width: 70px;
	height: 70px;
	border-radius: 12px;
	transition: transform 0.2s ease;
}
.channel-row a img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.channel-row a.live img {
	box-shadow: 0 0 10px red;
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 10px red; }
	50% { box-shadow: 0 0 20px red; }
	100% { box-shadow: 0 0 10px red; }
}

.detail_block {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.live-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.85);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}
.logos {
	background: #fff;
	padding: 1rem 0;
	overflow: hidden;
	text-align: center;
	position: relative;
}

.logo-strip {
	overflow: hidden;
	position: relative;
}

.logo-track {
	display: flex;
	width: max-content;
}

.logo-track img {
	height: 50px;
	margin: 0 1rem;
}
.m1b { margin-bottom: 1rem !important; }
.overlay-content {
	text-align: center;
	max-width: 500px;
	padding: 2rem;
}

.overlay-content h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.producers-pill {
	display: inline-block;
	background-color: var(--charcoal, #333);
	border: 1px #444 solid;
	border-radius: 999px; /* makes it pill-shaped */
	padding: 0.4rem 1rem;
	margin: 0 auto;
	text-align: center;
}

.producers-pill h6 {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	font-weight: 300;
	white-space: nowrap; /* optional, keeps it one line */
}

.producers-pill a span {
	color: var(--rust, #c86432);
	text-decoration: none;
}

.red {
	color: #c62828;
}
.social {
	height: 20px;
	margin: 1rem;
	width: auto;
}
.sponsor-line {
	font-family: Kefa, sans-serif;
	font-size: 0.85rem;
	font-weight: 300;
	margin-top: 0.4rem;
	text-align: right;
}
.subtle-link {
		font-size: 0.85rem;
		font-weight: 300;
		color: #666;
		text-decoration: underline;
}
.subtle-link:hover {
		color: #000;
}
.testimonial {
	width: 95%;
}

.thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.title_block {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	padding-right: 0.75rem; /* adjust as needed */
	padding-bottom: 0.5rem;
	width: 100%; /* ensure it stretches to container width */
	box-sizing: border-box;
}
.title_block .video-title {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: right;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.title_block h1.video-title,
.title_block h6 {
	margin: .5rem 0;
	line-height: 1.3;
}
.title_block h1.video-title a, 
.title_block h6 a {
	color: var(--gold);
	text-decoration: none;
}

.title_block h1.video-title a:hover, 
.title_block h6 a:hover {
	color: var(--rust);
	text-decoration: underline;
}
.title_block h5 {
	color: var(--charcoal);
}
.title_block h6:not(:last-child) {
	margin-bottom: 0.2rem;
}
.upcoming h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.upcoming-list {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.upcoming-list .item {
	flex: 1 1 250px;
	max-width: 300px;
	background: #fff;
	border-radius: 0.5rem;
	padding: 1rem;
	text-align: center;
}
.upcoming-wrap {
	text-align: center;
}
.video_block {
	background-color: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	margin: 1rem auto;
	overflow: hidden;
	max-width: 800px;
	display: flex;
	flex-direction: column;
}
.video-title {
	display: -webkit-box;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 .25rem;
	overflow: hidden;
	text-align: right;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* --- NAV (shared across non-home pages) --- */
#header {
  position: sticky;          /* was likely fixed/sticky before */
  top: 0;
  z-index: 1000;
  background: var(--forest-green);
}

#header .header-inner {
  max-width: 1200px;         /* adjust if your site uses a different container */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}

#header .logo {
  height: 28px;              /* matches the good look on advertising page */
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Replace the inline styles on the select */
#top-nav-select select {
  border: none;
  background: #003300 url('/images/menu-white.png?ver=1') no-repeat right;
  background-size: auto 25px;
  color: #fff;
  font-size: 85%;
  padding: .5rem;
  padding-right: 2rem;
  -moz-appearance: none;
  appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  direction: rtl;            /* mirrors dir='rtl' */
}

/* --- FOOTER (shared) --- */
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  text-align: center;
  color: var(--tan);
}

.footer p { margin: .35rem 0; }

.footer .producers-pill {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  margin: 0 auto 12px;
}

.footer .producers-pill h6 {
  margin: 0;
  font-weight: 400;
  opacity: .6;
}

.footer .producers-pill a { color: var(--rust); text-decoration: none; }

@media (max-width: 600px) {
  .footer { padding: 16px 12px 56px; }
}

/* END NAV section */

@media (max-width: 768px) {
	.upcoming-list {
		flex-direction: column;
		align-items: center;
	}
	
	.testimonial {
		width: 95%;
	}
}
@media (min-width: 600px) {
	.branding h3 {
		font-weight: 300;
	}
	.archive-upcoming-wrap {
		flex-direction: row;
		align-items: center;
	}
	
	.archive-upcoming-wrap section {
		justify-content: center;
		flex: 1;
	}

	.btn-upcoming, .btn-archives {
		width: auto;
		min-width: 240px;
	}
	.logo-track img {
		height: 70px;
		display: inline-block;
		flex-shrink: 0;
	}
	#header .header-inner { padding: 8px 12px; }
	#top-nav-select select { font-size: 90%; }
}
