/*
 Theme Name:   Mediaflex Child Theme
 Theme URI:    https://mediaflex.axiomthemes.com/
 Description:  Mediaflex Child Theme
 Author:       AxiomThemes
 Author URI:   https://axiomthemes.com/
 Template:     mediaflex
 Version:      1.0.0
 Tags: media, TV channels, TV schedule, online streaming, news channel, music channel, sports channel, sports broadcasting, children channel, subscription, video services, entertainment, radio channel, podcast channel, streaming service
 Text Domain:  mediaflex
*/


/* =Theme customization starts here
------------------------------------------------------------ */

/*
 * Mujtama Full Width (Page template: "Mujtama Full Width" → template-mujtama-full-width.php)
 * body.mujtama-full-width is added in functions.php so layout wins over parent + customizer.
 * Also targets core page-template-* classes in case body_class filter order differs.
 */
body.mujtama-full-width,
body.page-template-template-mujtama-full-width,
body.page-template-mujtama-full-width {
	--theme-var-page: 100% !important;
	--theme-var-content: 100% !important;
	/* Mediaflex .body_style_fullwide .content_wrap uses this for side “margins” (padding) */
	--theme-var-page_fullwide_extra: 0px !important;
}

body.mujtama-full-width .body_wrap,
body.mujtama-full-width .page_wrap,
body.page-template-template-mujtama-full-width .body_wrap,
body.page-template-template-mujtama-full-width .page_wrap,
body.page-template-mujtama-full-width .body_wrap,
body.page-template-mujtama-full-width .page_wrap {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Kill theme vertical rhythm on .page_content_wrap (default ~7rem top/bottom) + custom header/footer margin classes */
html body.mujtama-full-width .page_content_wrap,
html body.page-template-template-mujtama-full-width .page_content_wrap,
html body.page-template-mujtama-full-width .page_content_wrap,
html body.mujtama-full-width .page_content_wrap.page_content_wrap_custom_header_margin,
html body.mujtama-full-width .page_content_wrap.page_content_wrap_custom_footer_margin,
html body.page-template-template-mujtama-full-width .page_content_wrap.page_content_wrap_custom_header_margin,
html body.page-template-template-mujtama-full-width .page_content_wrap.page_content_wrap_custom_footer_margin,
html body.page-template-mujtama-full-width .page_content_wrap.page_content_wrap_custom_header_margin,
html body.page-template-mujtama-full-width .page_content_wrap.page_content_wrap_custom_footer_margin {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* .content_wrap: theme uses margin:0 auto + fullwide horizontal padding — strip all */
html body.mujtama-full-width .page_content_wrap .content_wrap,
html body.mujtama-full-width .page_content_wrap .content_wrap_fullscreen,
html body.mujtama-full-width .content_wrap,
html body.mujtama-full-width .content_wrap_fullscreen,
html body.page-template-template-mujtama-full-width .page_content_wrap .content_wrap,
html body.page-template-template-mujtama-full-width .page_content_wrap .content_wrap_fullscreen,
html body.page-template-template-mujtama-full-width .content_wrap,
html body.page-template-template-mujtama-full-width .content_wrap_fullscreen,
html body.page-template-mujtama-full-width .page_content_wrap .content_wrap,
html body.page-template-mujtama-full-width .page_content_wrap .content_wrap_fullscreen,
html body.page-template-mujtama-full-width .content_wrap,
html body.page-template-mujtama-full-width .content_wrap_fullscreen,
html body.mujtama-full-width.body_style_fullwide .content_wrap,
html body.page-template-template-mujtama-full-width.body_style_fullwide .content_wrap,
html body.page-template-mujtama-full-width.body_style_fullwide .content_wrap {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body.mujtama-full-width .content,
body.page-template-template-mujtama-full-width .content,
body.page-template-mujtama-full-width .content {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-inline: 0 !important;
	min-width: 0 !important;
}

body.mujtama-full-width .post_item_single.post_type_page,
body.page-template-template-mujtama-full-width .post_item_single.post_type_page,
body.page-template-mujtama-full-width .post_item_single.post_type_page {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.mujtama-full-width .post_content.entry-content,
body.page-template-template-mujtama-full-width .post_content.entry-content,
body.page-template-mujtama-full-width .post_content.entry-content {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.mujtama-full-width .post_content.entry-content > *:first-child,
body.mujtama-full-width .post_content.entry-content > .wp-block:first-child,
body.page-template-template-mujtama-full-width .post_content.entry-content > *:first-child,
body.page-template-template-mujtama-full-width .post_content.entry-content > .wp-block:first-child,
body.page-template-mujtama-full-width .post_content.entry-content > *:first-child,
body.page-template-mujtama-full-width .post_content.entry-content > .wp-block:first-child {
	margin-top: 0;
}

/* Gutenberg wide / full — any depth inside entry content */
body.mujtama-full-width .post_content.entry-content .alignwide,
body.mujtama-full-width .post_content.entry-content .alignfull,
body.page-template-template-mujtama-full-width .post_content.entry-content .alignwide,
body.page-template-template-mujtama-full-width .post_content.entry-content .alignfull,
body.page-template-mujtama-full-width .post_content.entry-content .alignwide,
body.page-template-mujtama-full-width .post_content.entry-content .alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-inline: 0 !important;
}

/* Custom footer navigation menu overrides */
.footer_wrap .elementor-widget-nav-menu ul.elementor-nav-menu {
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.footer_wrap .elementor-widget-nav-menu ul.elementor-nav-menu li {
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 0 10px 0 !important;
	text-align: right !important;
}

.footer_wrap .elementor-widget-nav-menu ul.elementor-nav-menu li a.elementor-item {
	color: #8e9fae !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	text-decoration: none !important;
	transition: color 0.3s ease !important;
}

.footer_wrap .elementor-widget-nav-menu ul.elementor-nav-menu li a.elementor-item:hover {
	color: #04d9c4 !important; /* Theme accent cyan hover color */
}