/*================================================================================================*/
/*=================[                                                            ]=================*/
/*=================[    !!!!!!!!   CSS CREATED BY SMK Ensino  !!!!!!!!   ]=================*/
/*=================[                                                            ]=================*/
/*================================================================================================*/

@media (min-width:992px) {
	.header-style-one .main-navigationbar .menu-items-col .main-nav {
		display: flex;
		align-items: center;
	}

	.desk-only {
		display: block !important;
	}

	.mobile-only {
		display: none !important;
	}

}

@media screen and (max-width:1360px) {
	.outer-arrow .slick-prev {
		left: 0;
	}

	.outer-arrow .slick-next {
		right: 0;
	}
}

@media screen and (max-width:1260px) {
	.report-box {
		padding: 15px 15px;
	}

	.main-home-first-section .report-box.courses-reports {
		left: 0;
	}

	.main-home-first-section .maths-courses.report-box {
		right: 10%;
		top: 0;
	}

	.banner-image {
		display: none;
	}

	.course-widget-inner .course-bottom .course-detail p {
		font-size: 12px;
	}

	.header-style-one .main-navigationbar .menu-items-col .main-nav {
		padding: 0 30px;
	}

}

@media screen and (max-width:1199px) {
	:root {
		--h1: normal 700 40px/1 var(--second-font);
		--h2: normal 700 32px/1 var(--second-font);
		--h3: normal 700 26px/1 var(--second-font);
		--h4: normal 700 20px/1 var(--second-font);
		--h5: normal 700 18px/1 var(--second-font);
		--h6: normal 700 16px/1 var(--second-font);
	}

	.pdp-summery-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.pdp-summery-bottom .price {
		margin-bottom: 20px;
	}

	.chapter-head-content .chapter-head-block {
		width: 50%;
		max-width: 50%;
	}

	.header-style-one .main-navigationbar .menu-items-col .main-nav {
		padding: 0 15px;
	}

}

@media screen and (max-width:991px) {
	:root {
		--h1: normal 700 36px/1 var(--second-font);
		--common-text: normal 400 14px/1.4 var(--first-font);
	}

	.header-style-one .logo-col {
		max-width: 150px;
	}

	.header-style-one .main-navigationbar .menu-items-col .main-nav {
		display: none;
	}

	.header-style-one .menu-right {
		flex: 1;
		position: relative;
	}

	.header-style-one .main-navigationbar .menu-right>li:hover .menu-dropdown {
		right: 0;
	}

	.main-home-first-section {
		padding-top: 120px;
	}

	.main-home-first-section .report-box.courses-reports {
		top: -20px;
		left: 0;
		transform: rotate(28deg);
	}

	.main-home-first-section .maths-courses.report-box {
		top: -60px;
		right: 10px;
		transform: rotate(33deg);
	}

	.scroll-down {
		position: relative;
		margin-bottom: 30px;
	}

	.newsletter-right-side {
		display: none;
	}

	.newsletter-section {
		margin-top: 0;
	}

}

/* Blog Sticky Sidebar & Layout */
.blog-sticky-sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	z-index: 9;
}

.blog-sticky-sidebar img {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--border-color);
	transition: transform 0.3s ease;
}

.blog-sticky-sidebar img:hover {
	transform: scale(1.02);
}

@media (max-width: 991px) {
	.blog-sticky-sidebar {
		position: relative;
		top: 0;
		margin-bottom: 30px;
	}
}

.article-section {
	padding-bottom: 30px !important;
}

/* Live countdown overlay */
.live-video-wrapper {
	position: relative;
}

.live-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #f6f7fb;
	overflow: hidden;
}

.live-embed iframe,
.live-embed embed,
.live-embed object,
.live-embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.live-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.live-embed .live-countdown-overlay {
	position: absolute;
	inset: 0;
	background: rgba(24, 32, 48, 0.82);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	padding: 24px;
	z-index: 5;
}

.live-countdown-inner h3 {
	font-size: 28px;
	margin-bottom: 12px;
}

.live-status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: var(--theme-color);
	color: var(--on-theme-color);
	vertical-align: middle;
}

.live-countdown {
	max-width: 520px;
	margin: 0 auto;
}

.live-countdown-item {
	background: var(--white);
	color: var(--heading-color);
	border-radius: 12px;
	padding: 14px 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	border: 1px solid var(--border-color);
}

.live-countdown-value {
	font-size: 28px;
	font-weight: 700;
	display: block;
	line-height: 1;
}

.live-countdown-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	display: block;
	margin-top: 6px;
	color: var(--paragraph-color);
}

@media (max-width: 767px) {
	.live-countdown-inner h3 {
		font-size: 22px;
	}

	.live-countdown-item {
		padding: 12px 8px;
	}

	.live-countdown-value {
		font-size: 22px;
	}
}

@media screen and (max-width:991px) {

	.header-style-one .mobile-menu {
		display: inline-block;
	}

	.footer-row .footer-col:not(:first-of-type) {
		padding-left: 45px;
	}

	.pdp-right-side {
		margin-top: 50px;
	}

	.chapter-head-content .chapter-head-block {
		width: 50%;
	}

	.chapter-head-content .chapter-head-block.pagination {
		width: 100%;
		max-width: 100%;
	}

	.chapter-head-block.course-progress {
		max-width: 100%;
		width: 100%;
	}


	.chapter-title.chapter-head-block {
		text-align: right;
	}

	.tutor-featured-course .featured-courses {
		margin-top: 50px;
	}


	.product-filter-column .product-filter-body {
		position: fixed;
		top: 0;
		background: var(--white);
		left: 0;
		max-width: 300px;
		width: 100%;
		height: 100%;
		z-index: 10000;
		overflow: auto;
		transition: all ease-in-out 0.5s;
		-webkit-transform: translate(-100%, 0px);
		-moz-transform: translate(100%, 0px);
		-ms-transform: translate(100%, 0px);
		-o-transform: translate(100%, 0px);
		transform: translate(-100%, 0px);
		padding: 50px 0;
	}

	.filter-open .product-filter-body {
		-moz-transform: translate(0);
		-o-transform: translate(0);
		-ms-transform: translate(0);
		-webkit-transform: translate(0);
		transform: translate(0);
		box-shadow: 0px 4px 55px rgb(24 58 64 / 12%);
	}

	.close-filter {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		background: var(--theme-color);
		height: 48px;
		width: 100%;
		padding: 15px 20px;
		cursor: pointer;
		display: flex !important;
		align-items: center;
		justify-content: flex-end;
	}

	.close-filter svg {
		height: 20px;
		width: 20px;
	}

	.filter-title div {
		max-width: 40px;
		width: 100%;
		border: 1px solid var(--theme-color);
		padding: 2px;
		display: block;
	}

	.filter-title {
		display: flex;
		align-items: center;
		margin-bottom: 20px;
	}

	.filter-title h4 {
		margin-left: 15px;
	}

	.product-widget>.pro-itm {
		border: 0;
	}

	.cart-summery {
		margin-top: 30px;
	}

	.checkout-right-side {
		margin-top: 50px;
	}


}

@media screen and (max-width:767px) {
	.header-style-one .logo-col {
		max-width: 120px;
	}

	.header-style-one .menu-right li:not(:last-of-type) {
		margin-right: 10px;
	}

	.header-style-one .menu-right>li.search-header a,
	.header-style-one .menu-right>li.wishlist-header a,
	.header-style-one .menu-right>li.cart-header a {
		width: 30px;
		height: 30px;
	}

	.header-style-one .menu-right li a svg {
		width: 15px;
		height: 15px;
	}

	.header-style-one .menu-right .profile-header,
	.header-style-one .menu-right .language-header {
		display: none;
	}

	.header-style-one .mobile-menu-bottom {
		display: block;
		width: 100%;
		padding-bottom: 15px;
		position: relative;
		padding-top: 15px;
	}

	.header-style-one .main-navigationbar .menu-right>li {
		padding: 15px 0;
	}

	.main-home-first-section {
		padding-top: 50px;
	}

	.header-style-one .mobile-menu-bottom ul .profile-header .menu-dropdown {
		left: 0;
		right: auto;
	}

	.header-style-one .mobile-menu-bottom .menu-dropdown {
		min-width: unset;
	}

	.footer-row .footer-col {
		flex: 0 0 100% !important;
		padding: 0;
		max-width: 100%;
		margin-bottom: 30px;
	}

	.footer-row .footer-col:not(:first-of-type) {
		padding-left: 0;
	}

	.footer-widget .share-links {
		justify-content: center;
		flex-direction: row !important;
		align-items: center !important;
	}

	.footer-link-1 .footer-widget ul {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-row .footer-col.footer-logo {
		max-width: 100% !important;
		width: 100%;
	}

	.footer-link-1 .footer-widget ul li:not(:last-of-type) {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.footer-bottom {
		padding-top: 0;
		text-align: center;
	}

	.newsletter-form .input-wrapper {
		flex-wrap: wrap;
	}

	.newsletter-form .input-wrapper .btn {
		margin-left: 0;
		margin-top: 15px;
	}

	.newsletter-content-wrap {
		padding: 20px 20px;
	}

	.section-title {
		margin-bottom: 26px;
	}

	.newsletter-form {
		margin-top: 26px;
	}

	.padding-bottom {
		padding-bottom: 40px;
	}

	.padding-top {
		padding-top: 40px;
	}

	.section-title .left-side {
		flex: 100%;
		margin-bottom: 26px;
	}

	.section-title .right-side {
		flex: 100%;
	}

	.knowledge-section {
		margin-bottom: 140px;
	}

	.main-home-first-section .banner-image-left {
		display: none;
	}

	.main-home-first-section .report-box.courses-reports,
	.main-home-first-section .maths-courses.report-box {
		position: relative;
		top: 0;
		left: 0;
		right: 0;
		transform: unset;
		-webkit-transform: unset;
		-moz-transform: unset;
		-ms-transform: unset;
		-o-transform: unset;
	}

	.report-box {
		border-radius: 10px;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		-ms-border-radius: 10px;
		-o-border-radius: 10px;
		width: 100%;
		margin-bottom: 15px;
	}

	.main-home-first-section .banner-left-side {
		padding-right: 15px;
		margin-top: 30px;
	}

	.common-banner-section {
		padding: 40px 0;
	}

	.header-style-one .mobile-menu {
		margin: 0 0 0 16px;
	}

	.header-style-one .main-navigationbar .menu-right>li.cart-header {
		margin-right: 0;
	}

	.pdp-tabs {
		padding: 15px 15px 0;
		margin-bottom: 25px;
	}

	.pdp-tabs .tabs li {
		margin-bottom: 15px;
	}

	.tabs li:not(:last-of-type) {
		margin-right: 15px;
	}

	.tabs li a svg {
		margin-right: 10px;
	}

	.set {
		margin-bottom: 15px;
	}

	.chapter-head-content .chapter-head-block {
		width: 100%;
		max-width: 100%;
	}

	.chapter-title.chapter-head-block {
		text-align: left;
	}

	.chapter-head {
		margin-bottom: 40px;
	}

	.tutor-info-wrap li:not(:last-of-type) {
		margin-bottom: 15px;
	}

	.featured-courses .course-list .course-media {
		width: 100%;
	}

	.featured-courses .course-list .course-caption {
		width: 100%;
		padding: 17px;
	}

	.featured-courses .course-list .course-widget-inner .course-media a {
		padding-top: 55%;
	}

	.tutor-featured-course .featured-courses {
		border: 0;
		margin-top: 40px;
	}

	.box-title {
		padding: 0;
		border: 0;
		margin-bottom: 26px;
	}

	.featured-courses .course-list {
		padding: 0;
	}

	.product-search-bar {
		margin-top: -40px;
	}

	.cart-item-inner {
		flex-wrap: wrap;
		flex-direction: column;
	}

	.cart-item-inner .product-image {
		max-width: 100%;
	}

	.cart-item-inner .product-image a {
		max-width: 250px;
		width: 100%;
		margin: auto;
	}

	.product-cart-summry {
		align-items: flex-start;
		flex-wrap: wrap;
		justify-content: space-between;
		padding: 15px 0px;
	}

	.product-cart-summry .name {
		flex: 100%;
		margin-bottom: 15px;
		padding: 0 15px 15px;
		border-bottom: 1px solid #DADADA;
	}

	.product-cart-summry>div:not(:first-of-type) {
		padding-right: 15px;
	}

	.filter-title div {
		max-width: 30px;
	}

	.payment-method-form .upload-btn-wrapper {
		margin-bottom: 15px;
	}

	.home-banner-content {
		max-width: 100%;
	}

	/* Ajustar posição das setas do carrossel no mobile */
	.slick-slider .slick-arrow {
		top: 65% !important;
	}

	.home-banner-content .h1 {
		line-height: 2.5rem;
	}

	/* Ajustes específicos do rodapé mobile */
	.footer-row .footer-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.footer-row .footer-col.footer-logo {
		max-width: 100% !important;
		text-align: center;
	}

	.footer-row .footer-col.footer-logo img {
		max-width: 180px !important;
		width: auto !important;
		height: auto !important;
	}

	.footer-widget ul.share-links {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 15px !important;
	}

	.footer-widget ul.share-links li {
		margin-right: 0 !important;
		margin-bottom: 0 !important;
	}

	/* Ocultar dropdown de conta no header mobile */
	.mobile-menu-bottom {
		display: none !important;
	}


}

@media screen and (max-width:575px) {
	:root {
		--h2: normal 700 28px/1 var(--second-font);
		--h3: normal 700 24px/1 var(--second-font);
		--h4: normal 700 22px/1 var(--second-font);
		--h5: normal 700 20px/1 var(--second-font);
	}

	.section-title .btn {
		margin-top: 15px;
	}

	.section-title {
		flex-direction: column;
		align-items: flex-start;
	}

	.product-review {
		margin-top: 25px;
	}

	.product-review ul {
		padding: 10px;
	}

	.product-review ul li svg {
		margin-right: 10px;
	}

	.product-review ul li:not(:last-of-type) {
		margin-right: 10px;
		padding-right: 10px;
	}

	.chapter-pagination ul {
		justify-content: flex-start;
	}

	.user-profile .user-image {
		width: 80px;
	}

	.user-profile .user-info-main h2 {
		font-size: 20px;
	}

	.tutor-info-wrap ul {
		flex-direction: column;
		align-items: flex-start;
	}

	.tutor-info-wrap li {
		width: 100%;
		text-align: left;
	}

	.tutor-info-wrap .review-rating {
		justify-content: flex-start;
	}

	.chapter-head-content .chapter-head-block.pagination {
		flex-direction: column;
		align-items: flex-start;
	}

	.chapter-head-content .chapter-head-block .download-btn .btn {
		margin-bottom: 15px;
	}

	.price-addtocart .add-cart {
		margin-top: 10px;
	}

	.header-style-one .logo-col {
		max-width: 100px;
	}
}

@media screen and (max-width:420px) {
	.pdp-summery .badge {
		margin-bottom: 10px;
	}

	.user-profile .user-info-main {
		margin-left: 0;
		margin-top: 15px;
		width: 100%;
	}

	.flex-input-wrap {
		flex-wrap: wrap;
		flex-direction: column;
	}

	.product-search-bar form .btn {
		margin: 15px 0 0;
		height: 44px;
	}

	.course-widget-inner .course-bottom .course-detail {
		justify-content: flex-start;
	}

	.offer-desk {
		flex: 100%;
		width: 100%;
		padding-left: 0;
		margin-top: 15px;
	}

}

@media screen and (max-width:320px) {
	.payment-image {
		flex: 100%;
		width: 100%;
		justify-content: flex-start;
		margin-top: 15px;
	}

	.payment-image img {
		max-width: 40px;
	}
}

/* Custom Footer Layout Adjustment */
.footer-row {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 150px;
}

@media screen and (max-width: 1400px) {
	.footer-row {
		gap: 80px;
	}
}

@media screen and (max-width: 1200px) {
	.footer-row {
		gap: 40px;
	}
}

@media screen and (max-width: 991px) {
	.footer-row {
		gap: 30px;
	}
}

.footer-row .footer-col:not(:first-of-type) {
	padding-left: 0 !important;
}

/* Desktop footer layout - only apply above mobile breakpoint */
@media screen and (min-width: 768px) {
	.footer-widget ul {
		flex-direction: column !important;
		align-items: flex-start !important;
	}

	.footer-widget ul li:not(:last-of-type) {
		margin-right: 0 !important;
		margin-bottom: 10px !important;
	}

	/* Keep social links horizontal */
	.footer-widget ul.share-links {
		flex-direction: row !important;
		align-items: center !important;
	}

	.footer-widget ul.share-links li:not(:last-of-type) {
		margin-right: 15px !important;
		margin-bottom: 0 !important;
	}
}

.spinner-border {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	vertical-align: text-bottom;
	border: 0.15em solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
	width: 0.8rem;
	height: 0.8rem;
	border-width: 0.12em;
}

.btn-label {
	display: inline-flex;
	align-items: center;
}

.btn-label.is-hidden {
	opacity: 0;
}

.btn-spinner {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin-left: 0;
}

.btn-spinner.spinner-border {
	animation: btn-spinner-border 0.75s linear infinite;
}

.is-loading {
	position: relative;
	pointer-events: none;
}

@keyframes spinner-border {
	to {
		transform: rotate(360deg);
	}
}

@keyframes btn-spinner-border {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Custom Live Overlay Styles */
.live-embed {
	position: relative;
}

#live-countdown-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: white;
}

.live-countdown-container {
	display: flex;
	justify-content: center;
	text-align: center;
	gap: 0;
	/* Removing gap to rely on margins */
}

.live-countdown-box {
	margin: 0 30px;
}

.live-countdown-number {
	font-size: 4rem;
	font-weight: 700;
}

/* Margins for Title and Description relative to Video */
.live-page-title {
	margin-bottom: 3rem !important;
	/* Increased margin from video */
}

.live-description-container {
	margin-top: 2rem;
}

/* Global course media fix for vertical images */
.course-widget .course-media a {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	height: auto;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
	.course-widget .course-media a {
		padding-top: 56.25%;
		/* 16:9 */
		height: 0;
	}
}

.course-widget .course-media img {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
	/* Changed from cover to contain to show full image */
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	transform: none !important;
}

/* Ensure knowledge content links have sufficient contrast */
.knowledge-content a {
	margin-top: 20px;
	text-decoration: underline;
	color: var(--icon-dark-if-light) !important;
}

.knowledge-content a:hover {
	color: var(--icon-hover-if-light) !important;
}

.wishlist-btn svg path {
	fill: var(--icon-dark-if-light) !important;
}

.course-time svg circle {
	stroke: var(--on-theme-color) !important;
}

.course-time svg polygon,
.wishlist-btn:hover svg path {
	fill: var(--on-theme-color) !important;
}

.wishlist-btn.active,
.wishlist-btn.remove_from_wishlist {
	background-color: var(--theme-color) !important;
}

.wishlist-btn.active svg path,
.wishlist-btn.remove_from_wishlist svg path {
	fill: var(--on-theme-color) !important;
}

.pdp-summery .wishlist-btn svg path {
	fill: var(--on-theme-color) !important;
}

.pdp-main-itm:not(:empty) {
	margin-bottom: 30px;
}

/* Override moovie player variables to match theme */

.moovie_currentime {
	color: var(--player-icon-color) !important;
}

.player__button svg path {
	fill: var(--player-icon-color) !important;
}

.player__button img,
.player__button svg {
	filter: var(--player-icon-filter) !important;
}

input[type=range]::-webkit-slider-runnable-track {
	background-color: var(--player-track-color) !important;
}

input[type=range]::-moz-range-track {
	background-color: var(--player-track-color) !important;
}

.moovie_progress_sound {
	background-color: var(--player-track-color) !important;
}

.progress__filled_buffered {
	background-color: var(--grey-color) !important;
	opacity: 0.5;
}

/* Post button image filter for light themes */
.poster_button img {
	filter: var(--player-icon-filter) !important;
}

input[type=range]:focus {
	border-color: var(--moovie_main_color) !important;
}