/* Moldurama MX - Core global */
/* Cargar en toda la web: variables, topbar, botones, footer y ajustes base. */

/* Ocultar imagen destacada arriba de las páginas */
body.page .ast-single-post-featured-section,
body.page .ast-blog-featured-section,
body.page .post-thumb-img-content,
body.page .post-thumbnail,
body.page .entry-header .wp-post-image,
body.page .page-header .wp-post-image,
body.page .entry-content > .wp-post-image:first-child,
body.page .entry-content > figure:first-child:has(.wp-post-image){
	display:none !important;
}

:root{
	--mx-accent:#66bb2a;
	--mx-accent2:#7ee73a;
	--mx-pack:#F5C400;
	--mx-navy:#0b1220;
	--mx-bg:#f6f8fb;
	--mx-card:#ffffff;
	--mx-white:var(--mx-card);
	--mx-ink:#0f172a;
	--mx-muted:#64748b;
	--mx-border:rgba(15,23,42,.10);
	--mx-borderW:rgba(255,255,255,.18);
	--mx-surface:rgba(255,255,255,.10);
	--mx-shadow:0 18px 45px rgba(2,6,23,.18);
	--mx-radius:28px;
	--mx-max:1200px;
	--mx-warn:#f59e0b;
	--mx-danger:#ef4444;
	--mx-info:#38bdf8;
	--mx-text:var(--mx-ink);
	--mx-btn-radius:6px;
	--mx-wm-btn-radius:10px;
	--mx-font:"Rubik",sans-serif;
	--mx-fs-body:15px;
	--mx-fs-small:13px;
	--mx-lh-body:1.70;
	--mx-btn-fs:14px;
	--mx-btn-py:12px;
	--mx-btn-px:22px;
	--mx-btn-maxw:420px;
	--mx-wideW:92vw;
	--mx-wideMax:1400px;
}

.mx-scope,
.mx-scope *{
	font-family:var(--mx-font) !important;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}

.mx-scope{
	font-size:var(--mx-fs-body);
	line-height:var(--mx-lh-body);
}

.mx-scope p,
.mx-scope li{
	font-size:var(--mx-fs-body);
	line-height:var(--mx-lh-body);
}

.mx-scope [class$="__desc"],
.mx-scope [class$="__note"],
.mx-scope [class$="__fine"]{
	font-size:var(--mx-fs-small);
	line-height:1.60;
}

/* Topbar */
.mx-topbar{
	background:#dd9933;
	color:#fff;
	font-size:14px;
	line-height:1;
}

.mx-topbar .container-fluid{
	max-width:1200px;
	margin:0 auto;
	padding:0 16px;
}

.mx-topbar__row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
	padding:12px 0;
	flex-wrap:wrap;
}

.mx-topbar__left{
	min-width:0;
}

.mx-topbar__msg{
	display:inline-block;
	white-space:nowrap;
	font-weight:700;
	opacity:.95;
}

.mx-topbar__msg--mobile{
	display:none;
}

.mx-topbar__right{
	display:flex;
	align-items:center;
	gap:10px;
	flex-shrink:0;
}

.mx-topbar a.mx-topbar__icon,
.mx-topbar a.mx-topbar__numLink{
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding:9px 14px;
	border-radius:999px;
	background:rgba(255,255,255,.16);
	color:#fff !important;
	text-decoration:none;
	font-weight:800;
	line-height:1;
	transition:background .15s ease;
}

.mx-topbar a.mx-topbar__icon:hover,
.mx-topbar a.mx-topbar__numLink:hover{
	background:rgba(255,255,255,.26);
	color:#fff !important;
}

.mx-topbar a.mx-topbar__icon i{
	color:#fff !important;
	font-size:18px;
	line-height:1;
}

.mx-topbar .mx-topbar__num{
	color:#fff !important;
	font-size:15px;
	font-weight:900;
	letter-spacing:.2px;
}

@media (max-width:768px){
	.mx-topbar{
		font-size:13px;
	}
	.mx-topbar__row{
		padding:10px 0;
	}
	.mx-topbar__msg--desktop{
		display:none;
	}
	.mx-topbar__msg--mobile{
		display:inline-block;
	}
	.mx-topbar__msg{
		max-width:62vw;
		overflow:hidden;
		text-overflow:ellipsis;
	}
}

@media (prefers-reduced-motion:reduce){
	.mx-topbar a.mx-topbar__icon,
	.mx-topbar a.mx-topbar__numLink{
		transition:none;
	}
}

/* Botones globales */
.mx-scope .mx-btn,
.mx-scope a.mx-btn,
.mx-scope button.mx-btn,
.mx-scope [class$="__btn"],
.mx-scope a[class$="__btn"]{
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	background:var(--mainColor) !important;
	color:var(--whiteColor) !important;
	border:1px solid var(--mainColor) !important;
	border-radius:var(--mx-btn-radius) !important;
	padding:var(--mx-btn-py) var(--mx-btn-px) !important;
	font-weight:700 !important;
	font-size:var(--mx-btn-fs) !important;
	line-height:1 !important;
	text-decoration:none !important;
	box-shadow:none !important;
	filter:none !important;
	position:relative !important;
	overflow:visible !important;
	text-align:center !important;
	white-space:normal !important;
	transition:var(--transition) !important;
}

.mx-scope .mx-btn.mx-btn--outline{
	background:transparent !important;
	color:var(--headingColor) !important;
	border:1px solid rgba(15,23,42,.18) !important;
}

.mx-scope .mx-btn:hover,
.mx-scope a.mx-btn:hover,
.mx-scope button.mx-btn:hover{
	background:#f49b00 !important;
	border-color:#f49b00 !important;
	color:#fff !important;
}

.mx-scope .mx-btn::after{
	content:"";
	position:absolute;
	left:14px;
	right:14px;
	bottom:8px;
	border-bottom:2px dotted rgba(255,255,255,.95);
	opacity:0;
	transform:translateY(2px);
	transition:opacity .18s ease,transform .18s ease;
	pointer-events:none;
}

.mx-scope .mx-btn:hover::after,
.mx-scope .mx-btn:focus-visible::after{
	opacity:1;
	transform:translateY(0);
}

@media (max-width:680px){
	.mx-scope .mx-btn,
	.mx-scope a.mx-btn,
	.mx-scope button.mx-btn,
	.mx-scope [class$="__btn"],
	.mx-scope a[class$="__btn"]{
		width:100% !important;
		max-width:var(--mx-btn-maxw) !important;
		margin-left:auto !important;
		margin-right:auto !important;
	}

	.mx-scope [class$="__cta"],
	.mx-scope [class$="__ctaRow"],
	.mx-scope [class$="__actions"]{
		display:flex !important;
		flex-wrap:wrap !important;
		justify-content:center !important;
		gap:10px !important;
	}
}

/* Footer columnas / acordeón */
.footer-top-area .mx-footcol__list{
	list-style:none;
	padding:0;
	margin:0;
}

.footer-top-area .mx-footcol__list li{
	margin:0 0 10px;
}

.footer-top-area .mx-footcol__list a{
	color:var(--mx-ink);
	text-decoration:none;
	font-size:14px;
	font-weight:500;
	opacity:.92;
}

.footer-top-area .mx-footcol__list a:hover{
	opacity:1;
	text-decoration:underline;
}

.footer-top-area .mx-footacc{
	width:100%;
}

@media (min-width:992px){
	.footer-top-area .mx-footacc details{
		border:0 !important;
		background:transparent !important;
		box-shadow:none !important;
		margin:0 !important;
		padding:0 !important;
	}
	.footer-top-area .mx-footacc .mx-acc__sum{
		cursor:default !important;
		padding:0 !important;
		background:transparent !important;
		border:0 !important;
		box-shadow:none !important;
		font-size:22px !important;
		font-weight:900 !important;
		margin:0 0 12px !important;
		pointer-events:none !important;
	}
	.footer-top-area .mx-footacc .mx-acc__sum::after{
		display:none !important;
	}
	.footer-top-area .mx-footacc .mx-acc__body{
		padding:0 !important;
		border-top:0 !important;
		display:block !important;
	}
	.footer-top-area .mx-footacc details>.mx-acc__body{
		display:block !important;
	}
}

@media (max-width:991px){
	.footer-top-area .footer-static-top .f-col{
		border-right:0 !important;
		margin:0 !important;
		padding:0 !important;
	}
	.footer-top-area .mx-footacc details{
		border:1px solid rgba(17,24,39,.12);
		border-radius:14px;
		background:var(--mx-card);
		box-shadow:0 10px 24px rgba(0,0,0,.06);
		overflow:hidden;
		margin:0 0 14px;
	}
	.footer-top-area .mx-footacc .mx-acc__sum{
		position:relative;
		list-style:none;
		padding:18px 52px 18px 18px;
		font-size:22px;
		font-weight:900;
		color:var(--mx-ink);
		cursor:pointer;
		background:var(--mx-card);
	}
	.footer-top-area .mx-footacc .mx-acc__sum::-webkit-details-marker{
		display:none;
	}
	.footer-top-area .mx-footacc .mx-acc__sum::after{
		content:"";
		position:absolute;
		right:18px;
		top:50%;
		width:10px;
		height:10px;
		border-right:3px solid #f97316;
		border-bottom:3px solid #f97316;
		transform:translateY(-55%) rotate(45deg);
		transition:transform .18s ease;
	}
	.footer-top-area .mx-footacc details[open] .mx-acc__sum::after{
		transform:translateY(-35%) rotate(-135deg);
	}
	.footer-top-area .mx-footacc .mx-acc__body{
		padding:0 18px 16px 18px;
		border-top:1px solid rgba(17,24,39,.10);
	}
	.footer-top-area .mx-footcol__list li{
		margin:0 0 12px;
	}
}

/* Barra de compra / contacto del footer */
.subscribe-area.footer-subscribe-area.mx-buybar{
	width:100% !important;
	max-width:none !important;
}

.mx-buybar{
	background:var(--mx-bg) !important;
	border-top:1px solid var(--mx-border) !important;
	padding:18px 0 22px !important;
}

.mx-buybar .container-fluid{
	width:100% !important;
	max-width:none !important;
	margin:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
}

.mx-buybar .subscribe-wrap{
	width:100% !important;
	max-width:none !important;
	margin:0 !important;
	padding:0 16px !important;
}

.mx-buybar .subscribe-wrap>.row.align-items-center{
	width:100% !important;
	background:var(--mx-card) !important;
	border:1px solid var(--mx-border) !important;
	border-radius:10px !important;
	margin:0 !important;
	padding:14px 14px 16px !important;
	position:relative !important;
}

.mx-buybar .subscribe-wrap>.row.align-items-center::after{
	content:"" !important;
	position:absolute !important;
	left:14px !important;
	right:14px !important;
	bottom:0 !important;
	height:3px !important;
	background:#f96302 !important;
	border-radius:999px !important;
}

.mx-buybar__txt h2{
	margin:0 0 6px !important;
	font-weight:900 !important;
	letter-spacing:-.02em !important;
	color:#111 !important;
	font-size:34px !important;
	line-height:1.15 !important;
}

@media (max-width:992px){
	.mx-buybar__txt h2{
		font-size:28px !important;
	}
}

@media (max-width:520px){
	.mx-buybar__txt h2{
		font-size:22px !important;
	}
}

.mx-buybar__txt p{
	margin:0 0 10px !important;
	color:var(--mx-muted) !important;
	font-size:13.5px !important;
	line-height:1.45 !important;
}

.mx-buybar__bullets{
	list-style:none !important;
	margin:0 !important;
	padding:0 !important;
	display:grid !important;
	gap:6px !important;
}

.mx-buybar__bullets li{
	position:relative !important;
	padding-left:16px !important;
	font-size:13px !important;
	color:var(--mx-muted) !important;
}

.mx-buybar__bullets li::before{
	content:"" !important;
	width:8px !important;
	height:8px !important;
	border-radius:999px !important;
	background:#f96302 !important;
	position:absolute !important;
	left:0 !important;
	top:.45em !important;
}

.mx-buybar .mx-buybar__actions{
	display:flex !important;
	flex-wrap:wrap !important;
	gap:10px !important;
	justify-content:flex-end !important;
	align-items:center !important;
	margin:0 !important;
}

@media (max-width:992px){
	.mx-buybar .mx-buybar__actions{
		justify-content:flex-start !important;
	}
}

.mx-buybar__hr{
	border:0 !important;
	height:1px !important;
	background:rgba(0,0,0,.14) !important;
	margin:12px 0 0 !important;
}

.mx-buybar__channels{
	margin:12px 0 0 !important;
}

.mx-buybar__channels .full-col{
	margin:0 !important;
}

.mx-buybar a.mx-channel{
	display:flex !important;
	align-items:center !important;
	gap:10px !important;
	padding:10px 10px !important;
	border-radius:10px !important;
	border:1px solid rgba(0,0,0,.08) !important;
	background:rgba(255,255,255,.70) !important;
	color:#111 !important;
	text-decoration:none !important;
	min-height:56px !important;
}

.mx-buybar a.mx-channel:hover{
	background:var(--mx-card) !important;
	border-color:rgba(0,0,0,.16) !important;
}

.mx-buybar a.mx-channel i{
	font-size:20px !important;
	width:28px !important;
	height:28px !important;
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	border-radius:6px !important;
	background:rgba(249,99,2,.12) !important;
	color:#f96302 !important;
	flex:0 0 auto !important;
}

.mx-buybar .mx-channel__k{
	display:block !important;
	font-size:12px !important;
	font-weight:800 !important;
	color:var(--mx-muted) !important;
	line-height:1.1 !important;
}

.mx-buybar .mx-channel__v{
	display:block !important;
	font-size:13px !important;
	font-weight:900 !important;
	color:#111 !important;
	line-height:1.2 !important;
}

/* Sociales footer */
.mx-footer-social{
	display:flex;
	justify-content:flex-end;
	align-items:center;
	gap:12px;
	flex-wrap:wrap;
}

.mx-footer-social .mx-social{
	width:44px;
	height:44px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:12px;
	background:rgba(255,255,255,.10);
	border:1px solid rgba(255,255,255,.14);
	text-decoration:none !important;
	transition:transform .15s ease,background .15s ease,border-color .15s ease;
}

.mx-footer-social .mx-social i{
	font-size:24px;
	line-height:1;
	color:var(--mx-card) !important;
	opacity:.95;
}

.mx-footer-social .mx-social .mx-ico{
	width:22px;
	height:22px;
	display:block;
	fill:var(--mx-card);
	opacity:.95;
}

.mx-footer-social .mx-social:hover{
	transform:translateY(-2px);
	background:rgba(255,255,255,.16);
	border-color:rgba(255,255,255,.22);
}

@media (max-width:991px){
	.mx-footer-social{
		justify-content:center;
		margin-top:10px;
	}
	.mx-footer-social .mx-social{
		width:46px;
		height:46px;
	}
	.mx-footer-social .mx-social i{
		font-size:26px;
	}
	.mx-footer-social .mx-social .mx-ico{
		width:24px;
		height:24px;
	}
}

/* Bloques básicos usados en varias páginas */
.mx-section{
	max-width:1200px;
	margin:18px auto 0;
	padding:0 16px;
}

.mx-panel{
	background:var(--mx-card);
	border:1px solid rgba(0,0,0,.08);
	border-radius:18px;
	padding:14px;
	box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.mx-panel__title{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin-bottom:10px;
	flex-wrap:wrap;
}

.mx-panel__title h3{
	margin:0;
	font-size:16px;
}

.mx-badge{
	display:inline-flex;
	gap:8px;
	align-items:center;
	padding:7px 12px;
	border-radius:999px;
	background:rgba(102,187,42,.12);
	border:1px solid rgba(102,187,42,.25);
	font-weight:800;
	font-size:12px;
	white-space:nowrap;
}

.mx-sepAfter{
	position:relative;
	padding-bottom:32px;
}

.mx-sepAfter:after{
	content:"";
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	height:1px;
	background:var(--mx-border,rgba(15,23,42,.10));
	z-index:5;
}

.mx-sepManual{
	display:block;
	width:100%;
	height:1px;
	margin:28px 0;
	background:rgba(15,23,42,.12);
	position:relative;
}

.mx-sepManual:after{
	content:"";
	position:absolute;
	left:50%;
	top:-1px;
	transform:translateX(-50%);
	width:220px;
	height:4px;
	background:var(--mainColor,#dd9933);
	box-shadow:0 10px 22px rgba(221,153,51,.22);
}

.mx-blockhead{
	width:92vw !important;
	max-width:1400px !important;
	margin-left:auto !important;
	margin-right:auto !important;
}
