/* Header: submenu arrow and stacking */
.uc-bottom-navbar .nav-x .menu-item-has-children > a {
	position: relative;
}

.uc-bottom-navbar .nav-x .menu-item-has-children > a::after {
	content: "\25be";
	font-size: 0.7em;
	margin-left: 2px;
	display: inline-block;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.uc-bottom-navbar .nav-x .menu-item-has-children:hover > a::after,
.uc-bottom-navbar .nav-x .menu-item-has-children:focus-within > a::after {
	transform: translateY(0);
}

.uc-bottom-navbar,
.uc-navbar-container {
	position: relative;
	z-index: 10000;
	overflow: visible;
}

.uc-header {
	position: relative;
	z-index: 10001;
}

/* Logo padding */
.site-logo {
	padding: 8px 0;
}

/* Modals */
#tv-sindmedico-modal .uc-modal-dialog {
	width: min(95vw, 1200px);
	max-height: 90vh;
	display: flex;
	align-items: center;
}

#tv-sindmedico-modal .uc-modal-body {
	height: 100%;
	width: 100%;
	padding: 0;
}

#tv-sindmedico-modal .ratio {
	height: 100%;
	max-height: 90vh;
}

#tv-sindmedico-modal iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

#revista-modal .uc-modal-dialog {
	max-height: 90vh;
}

#revista-modal .uc-modal-body {
	padding: 0;
}

#revista-modal .ratio {
	height: 80vh;
	max-height: 90vh;
}

#revista-modal iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* Slider: forçar textos em branco */
.block-slider .post-title a,
.block-slider .post-title a:hover,
.block-slider .slider-subtitle,
.block-slider .slider-thumb-subtitle,
.block-slider .swiper-thumbs .post-title a,
.block-slider .swiper-thumbs .post-title a:hover {
	color: #ffffff;
}

/* Menu inferior: texto sempre branco sobre fundo laranja */
.uc-bottom-navbar .nav-x > li > a,
.uc-bottom-navbar .nav-x > li > a:hover,
.uc-bottom-navbar .nav-x .menu-item > a,
.uc-bottom-navbar .nav-x .menu-item > a:hover {
	color: #ffffff;
}

/* Títulos com ícone e linha bicolor */
.title-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.title-icon img {
	width: 36px;
	height: auto;
	display: block;
}

.title-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.title-text {
	display: inline-block;
}

.title-underline {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	align-items: stretch;
}

.title-underline .line-orange {
	height: 6px;
	width: 240px;
	background-color: #EF7D00;
	display: block;
}

.title-underline .line-white {
	height: 6px;
	width: 240px;
	background-color: #ffffff;
	display: block;
}

.title-underline .line-green {
	height: 4px;
	width: 100%;
	background-color: #00562e;
	display: block;
}

.clube-vantagens-section {
	margin-top: 16px;
}

.btn-outline-clube {
	background: transparent;
	color: #ffffff;
	border: 1px solid #ffffff;
}

.btn-outline-clube:hover,
.btn-outline-clube:focus {
	color: #00562e;
	background: #ffffff;
	border-color: #ffffff;
}

.btn-white-outline {
	background: transparent;
	color: #ffffff;
	border: 1px solid #ffffff;
}

.btn-white-outline:hover,
.btn-white-outline:focus {
	background: #ffffff;
	color: #00562e;
	border-color: #ffffff;
}

.papo-bg {
	background-image: url('../images/common/img-bg.png'), linear-gradient(90deg, rgba(0, 86, 46) 0%, rgba(0, 188, 101, 0.85) 100%);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	color: #ffffff;
}

.btn-green {
	background: transparent;
	color: #00552a;
	border: 1px solid #00552a;
}

.btn-green:hover,
.btn-green:focus {
	color: #ffffff;
	background-color: #00552a;
	border-color: #00552a;
}

.footer-gradient {
	background: linear-gradient(90deg, #00562e 0%, #002715 100%);
	color: #ffffff;
}

.footer-gradient a {
	color: #ffffff;
}

.footer-gradient .text-dark,
.footer-gradient .dark\:text-white,
.footer-gradient .text-gray-900 {
	color: #ffffff !important;
}

/* TV Sindmédico playlist */
.tv-playlist-section {
	background-color: #1f1f1f;
}
.tv-playlist-section .title-text,
.tv-playlist-section .title-bar a {
	color: #ffffff;
}
.tv-playlist-row {
	align-items: stretch;
}
.tv-playlist-thumbs {
	display: flex;
	flex-direction: column;
}
.tv-playlist-thumbs .thumbs-list {
	flex: 1;
}
.tv-playlist-player {
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.tv-thumb-card {
	background-color: #181818;
	border-radius: 10px;
	color: #ffffff;
	border: 1px solid transparent;
}
.tv-thumb-card.active {
	border-color: #ef7d00;
	background-color: #222222;
}
.tv-thumb-card .featured-image iframe,
.tv-thumb-card .featured-image img {
	object-fit: cover;
}
.tv-thumb-card .fs-8 {
	color: #b3b3b3;
}
.tv-playlist-thumbs .thumbs-list {
	max-height: 520px;
	overflow-y: auto;
}

/* Header social icons */
.uc-header .uc-top-navbar .uc-navbar-item a,
.uc-header .uc-top-navbar .uc-navbar-item a i {
	color: #ffffff !important;
}
.uc-header .uc-top-navbar .social-icons a,
.uc-header .uc-top-navbar .social-icons a i {
	color: #ffffff !important;
}
.uc-header .uc-top-navbar .social-icons a:hover,
.uc-header .uc-top-navbar .social-icons a:hover i {
	color: #ffffff !important;
}
.uc-header .uc-top-navbar .uc-navbar-left .uc-navbar-item a,
.uc-header .uc-top-navbar .uc-navbar-left .uc-navbar-item a i {
	color: #ffffff !important;
}
.uc-header .uc-top-navbar .uc-navbar-left .uc-navbar-item a:hover,
.uc-header .uc-top-navbar .uc-navbar-left .uc-navbar-item a:hover i {
	color: #ffffff !important;
}
/* Force top bar social links to stay white (match footer behavior) */
header.uc-header .uc-top-navbar .uc-navbar-item a,
header.uc-header .uc-top-navbar .uc-navbar-item a:visited,
header.uc-header .uc-top-navbar .uc-navbar-item a i,
header.uc-header .uc-top-navbar .uc-navbar-item a .icon {
	color: #ffffff !important;
	fill: #ffffff !important;
}
header.uc-header .uc-top-navbar .uc-navbar-item a:hover,
header.uc-header .uc-top-navbar .uc-navbar-item a:hover i,
header.uc-header .uc-top-navbar .uc-navbar-item a:hover .icon {
	color: #ffffff !important;
	fill: #ffffff !important;
}

/* Header responsive tweaks */
@media (max-width: 768px) {
	.uc-header .uc-top-navbar .hstack {
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}
	.uc-header .uc-top-navbar .uc-navbar-left,
	.uc-header .uc-top-navbar .uc-navbar-right {
		width: 100%;
		justify-content: space-between;
	}
	.uc-header .uc-top-navbar .uc-navbar-left .uc-navbar-item {
		gap: 8px;
	}
	.uc-header .uc-top-navbar .uc-navbar-item a {
		padding: 4px;
	}
	.uc-header .uc-bottom-navbar .uc-navbar-item ul {
		display: flex;
		flex-wrap: nowrap;
		gap: 12px;
		overflow-x: auto;
		white-space: nowrap;
		scrollbar-width: none;
	}
	.uc-header .uc-bottom-navbar .uc-navbar-item ul::-webkit-scrollbar {
		display: none;
	}
	/* Hide desktop menu on small screens (use offcanvas toggle instead) */
	.uc-header .uc-bottom-navbar {
		display: none;
	}
	/* Hide top bar (social/icons) on small screens */
	.uc-header .uc-top-navbar {
		display: none;
	}
	/* Reduce logo size for mobile */
	.uc-header .uc-logo img {
		max-height: 48px;
		height: auto;
		width: auto;
	}
}

/* Default logo sizing */
.uc-header .uc-logo img {
	max-height: 64px;
	height: auto;
	width: auto;
}
