@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');
a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}
a:link {
  color: #01579b;
}

a:visited {
  color: gray;
}
a:hover {
  color: #c62828;
}
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Lato', Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #222;
}

footer, header, main {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

footer {
  text-align: center;
  line-height: 1.7;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #444;
}

footer a.login {
  text-decoration: none;
  font-weight: 300;
  color: silver;
  font-size: 0.85rem;
}

h1, h3, h4 {
  font-weight: 700;
  margin-bottom: 0.25em;
}
h2, h5 {
  font-weight: 400;
  color: #555;
  margin-bottom: 0.25em;
  margin-top: 0;
}
.branding h3 {
  font-weight: 500;
  font-style: italic;
}

header {
  text-align: center;
  padding: 1rem;
}

header img {
  width: 160px;
  max-width: 90vw;
  height: auto;
  display: block;
  margin: 0 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: 2rem auto;
	flex-wrap: wrap;
	max-width: 900px;
}

.archive-upcoming-wrap section {
	display: flex;
	justify-content: center;
	flex: 1 1 300px;
}
.avatar_block {
  text-align: center;
}

.avatar_block .watch-label {
  font-weight: 300;
  color: #999;
  font-size: 0.85rem;
  margin: 0rem auto;
  padding-top: .25rem;
}
.avatar_block img {
    height: 90%;
    max-height: 75px; /* adjust based on your design */
    width: auto;
    display: block;
    margin: 0 auto;
    padding: 0 .25rem;
}
.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;
}
.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;
}

.overlay-content {
  text-align: center;
  max-width: 500px;
  padding: 2rem;
}

.overlay-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.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;
}
.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 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 {
  margin: 0;
  font-size: 1.1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: right;
}
@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;
	}
	.avatar_block .watch-label {
		font-size: 0.75rem;
		margin-bottom: 0.2rem;
	}	
	.avatar_block img {
		max-height: 50px;
	}

	.btn-upcoming, .btn-archives {
		width: auto;
		min-width: 240px;
	}
	.logo-track img {
	  height: 70px;
	  display: inline-block;
	  flex-shrink: 0;
	}
}
