/* A Toda Madre – conciertos, calendario y blog. Usa la paleta global de Astra. */
:root {
	--atm-cyan: var(--ast-global-color-0, #6cddff);
	--atm-yellow: var(--ast-global-color-1, #fff780);
	--atm-pink: var(--ast-global-color-8, #f578ff);
	--atm-ink: #000;
	--atm-dark: #131313;
	--atm-radius: 5px;
	--atm-head: "Open Sans", sans-serif;
	--atm-body: "Poppins", sans-serif;
}

.atm-tone-cyan { --atm-tone: var(--atm-cyan); }
.atm-tone-yellow { --atm-tone: var(--atm-yellow); }
.atm-tone-pink { --atm-tone: var(--atm-pink); }

/* Botones (mismo estilo píldora que los botones de Elementor del sitio) */
.atm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 2px solid var(--atm-ink);
	border-radius: 50px;
	font-family: var(--atm-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.atm-btn:hover { transform: translateY(-2px); }
.atm-btn--dark { background: var(--atm-ink); color: #fff !important; }
.atm-btn--dark:hover { background: #fff; color: var(--atm-ink) !important; }
.atm-btn--outline { background: transparent; color: var(--atm-ink) !important; }
.atm-btn--outline:hover { background: var(--atm-ink); color: #fff !important; }
.atm-btn--cyan { background: var(--atm-cyan); border-color: var(--atm-cyan); color: var(--atm-ink) !important; }
.atm-btn--cyan:hover { background: #fff; border-color: #fff; }

/* ---------- Próximos conciertos ---------- */
.atm-conciertos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 30px;
	width: 100%;
}
.atm-concierto {
	display: flex;
	flex-direction: column;
	background: var(--atm-tone);
	color: var(--atm-ink);
	border-radius: var(--atm-radius);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.atm-concierto:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.atm-concierto__date {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 22px 25px;
	background: var(--atm-ink);
	color: #fff;
	font-family: var(--atm-head);
	text-transform: uppercase;
}
.atm-concierto__day { font-size: 56px; font-weight: 600; line-height: 1; color: var(--atm-tone); }
.atm-concierto__weekday,
.atm-concierto__month { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.atm-concierto__weekday { order: 2; color: rgba(255, 255, 255, .8); }
.atm-concierto__day { order: 1; }
.atm-concierto__month { order: 3; margin-left: auto; }
.atm-concierto__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 30px 25px; }
.atm-concierto__title {
	margin: 0;
	color: var(--atm-ink);
	font-family: var(--atm-head);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}
.atm-concierto__meta { margin: 0; padding: 0; list-style: none; font-family: var(--atm-body); font-size: 16px; }
.atm-concierto__meta li { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 6px; }
.atm-concierto__meta svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: currentColor; }
.atm-concierto__desc { margin: 0; font-family: var(--atm-body); font-size: 15px; line-height: 1.6; }
.atm-concierto__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.atm-concierto__actions .atm-btn { padding: 10px 18px; font-size: 13px; }

.atm-empty {
	max-width: 720px;
	margin: 0 auto;
	padding: 50px 30px;
	background: var(--atm-yellow);
	border-radius: var(--atm-radius);
	color: var(--atm-ink);
	font-family: var(--atm-body);
	font-size: 18px;
	text-align: center;
}
.atm-empty p { margin: 0 0 20px; }
.atm-empty__title { font-family: var(--atm-head); font-size: 32px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }

/* ---------- Calendario ---------- */
.atm-cal { width: 100%; max-width: 1150px; margin: 0 auto; color: #fff; font-family: var(--atm-body); }
.atm-cal__head { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 30px; }
.atm-cal__month {
	min-width: 280px;
	margin: 0;
	color: #fff;
	font-family: var(--atm-head);
	font-size: 34px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}
.atm-cal__nav {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--atm-cyan);
	color: var(--atm-ink);
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}
.atm-cal__nav:hover, .atm-cal__nav:focus-visible { background: var(--atm-yellow); color: var(--atm-ink); transform: scale(1.06); }
.atm-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
}
.atm-cal__wd {
	padding: 6px 0 10px;
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}
.atm-cal__day {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	min-height: 112px;
	padding: 8px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--atm-radius);
	background: rgba(255, 255, 255, .04);
	color: #fff;
	font: inherit;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}
.atm-cal__day:hover, .atm-cal__day:focus-visible { border-color: var(--atm-cyan); background: rgba(108, 221, 255, .08); color: #fff; }
.atm-cal__day.is-out { opacity: .35; }
.atm-cal__day.is-past .atm-cal__num { color: rgba(255, 255, 255, .55); }
.atm-cal__day.is-selected { border: 2px solid var(--atm-cyan); background: rgba(108, 221, 255, .12); }
.atm-cal__num {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 600;
}
.atm-cal__day.is-today .atm-cal__num { background: var(--atm-yellow); color: var(--atm-ink); }
.atm-cal__chip {
	display: block;
	overflow: hidden;
	padding: 4px 9px;
	border-radius: 50px;
	background: var(--atm-tone);
	color: var(--atm-ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.atm-cal__more { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .8); }

.atm-cal__detail { margin-top: 40px; }
.atm-cal__detail-title {
	margin: 0 0 20px;
	color: #fff;
	font-family: var(--atm-head);
	font-size: 26px;
	font-weight: 600;
	text-transform: uppercase;
}
.atm-cal__none { margin: 0 0 20px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.atm-cal__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.atm-cal__item {
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 20px 22px;
	border-left: 6px solid var(--atm-tone);
	border-radius: var(--atm-radius);
	background: rgba(255, 255, 255, .06);
}
.atm-cal__item-date {
	flex: 0 0 64px;
	color: var(--atm-tone);
	font-family: var(--atm-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}
.atm-cal__item-date span { display: block; margin-bottom: 4px; font-size: 40px; }
.atm-cal__item-body p { margin: 0 0 6px; }
.atm-cal__item-title { color: #fff; font-family: var(--atm-head); font-size: 22px; font-weight: 600; text-transform: uppercase; line-height: 1.2; }
.atm-cal__item-meta { color: rgba(255, 255, 255, .85); font-size: 15px; }
.atm-cal__item-desc { color: rgba(255, 255, 255, .75); font-size: 14px; line-height: 1.6; }
.atm-cal__item-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px !important; }
.atm-cal__item-links a { color: var(--atm-tone); font-size: 14px; font-weight: 600; text-transform: uppercase; text-decoration: none; }
.atm-cal__item-links a:hover { color: #fff; text-decoration: underline; }
.atm-cal__fallback { color: #fff; }

@media (max-width: 767px) {
	.atm-cal__head { gap: 12px; }
	.atm-cal__month { min-width: 0; font-size: 24px; }
	.atm-cal__nav { width: 44px; height: 44px; font-size: 28px; }
	.atm-cal__grid { gap: 3px; }
	.atm-cal__wd { font-size: 11px; }
	.atm-cal__day { align-items: center; min-height: 52px; padding: 4px 2px; }
	.atm-cal__num { width: 26px; height: 26px; font-size: 13px; }
	.atm-cal__chip { width: 8px; height: 8px; padding: 0; font-size: 0; }
	.atm-cal__more { display: none; }
	.atm-cal__item { flex-direction: column; gap: 10px; padding: 16px; }
	.atm-cal__item-date { text-align: left; }
	.atm-concierto__day { font-size: 46px; }
	.atm-concierto__title { font-size: 24px; }
}

/* ---------- Blog ---------- */
.atm-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 30px;
	width: 100%;
}
.atm-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--atm-radius);
	background: var(--atm-tone);
	color: var(--atm-ink);
	transition: transform .25s ease, box-shadow .25s ease;
}
.atm-post:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.atm-post__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--atm-dark); }
.atm-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atm-post:hover .atm-post__media img { transform: scale(1.05); }
.atm-post__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 30px 22px; }
.atm-post__date { font-family: var(--atm-body); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.atm-post__title { margin: 0; font-family: var(--atm-head); font-size: 26px; font-weight: 600; line-height: 1.15; text-transform: uppercase; }
.atm-post__title a { color: var(--atm-ink) !important; text-decoration: none; }
.atm-post__excerpt { margin: 0; font-family: var(--atm-body); font-size: 16px; line-height: 1.6; }
.atm-post__more {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 6px;
	color: var(--atm-ink) !important;
	font-family: var(--atm-body);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--atm-ink);
}
.atm-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; font-family: var(--atm-body); }
.atm-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	border: 2px solid var(--atm-ink);
	border-radius: 50px;
	color: var(--atm-ink);
	font-weight: 600;
	text-decoration: none;
}
.atm-pagination .page-numbers.current, .atm-pagination .page-numbers:hover { background: var(--atm-ink); color: #fff; }

/* Imagen de los conciertos */
.atm-concierto__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--atm-dark); }
.atm-concierto__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atm-concierto:hover .atm-concierto__media img { transform: scale(1.05); }
.atm-cal__item-img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: var(--atm-radius); object-fit: cover; }
@media (max-width: 767px) { .atm-cal__item-img { width: 100%; height: 160px; } }

/* ---------- Entrada del blog (plantilla Theme Builder, clase .atm-single) ---------- */
.atm-single-meta .elementor-icon-list-text,
.atm-single-meta .elementor-icon-list-text a { color: rgba(255, 255, 255, .85) !important; }
.atm-single-cat a {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 50px;
	background: var(--atm-yellow);
	color: var(--atm-ink) !important;
	font-family: var(--atm-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
}
.atm-single-content { color: var(--atm-dark); font-family: var(--atm-body); font-size: 18px; line-height: 1.8; }
.atm-single-content p { margin: 0 0 1.4em; }
.atm-single-content > .elementor-widget-container > p:first-child,
.atm-single-content p:first-of-type { font-size: 21px; line-height: 1.7; }
.atm-single-content h2,
.atm-single-content h3 {
	color: var(--atm-ink);
	font-family: var(--atm-head);
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}
.atm-single-content h2 { margin: 1.8em 0 .7em; font-size: 38px; }
.atm-single-content h2::after {
	content: "";
	display: block;
	width: 70px;
	height: 6px;
	margin-top: 14px;
	border-radius: 50px;
	background: var(--atm-pink);
}
.atm-single-content h2:nth-of-type(3n+2)::after { background: var(--atm-cyan); }
.atm-single-content h2:nth-of-type(3n)::after { background: var(--atm-yellow); }
.atm-single-content h3 { margin: 1.5em 0 .6em; font-size: 24px; }
.atm-single-content a:not(.atm-btn) {
	color: var(--atm-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--atm-pink);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}
.atm-single-content a:not(.atm-btn):hover { background: var(--atm-yellow); }
.atm-single-content ul { margin: 0 0 1.6em; padding: 0; list-style: none; }
.atm-single-content ul li { position: relative; margin: 0 0 .7em; padding-left: 30px; }
.atm-single-content ul li::before {
	content: "";
	position: absolute;
	top: .6em;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--atm-cyan);
}
.atm-single-content ul li:nth-child(3n+2)::before { background: var(--atm-yellow); }
.atm-single-content ul li:nth-child(3n)::before { background: var(--atm-pink); }
.atm-single-content img { border-radius: var(--atm-radius); }
.atm-single-content blockquote {
	margin: 1.6em 0;
	padding: 30px 30px 30px 36px;
	border-left: 8px solid var(--atm-pink);
	border-radius: var(--atm-radius);
	background: #f2f5f7;
	font-size: 22px;
	font-style: normal;
}
/* Preguntas frecuentes (bloque FAQ de Rank Math) */
.atm-single-content .rank-math-list-item {
	margin: 0 0 16px;
	padding: 24px 28px;
	border-left: 6px solid var(--atm-cyan);
	border-radius: var(--atm-radius);
	background: #f2f5f7;
}
.atm-single-content .rank-math-list-item:nth-child(3n+2) { border-left-color: var(--atm-yellow); }
.atm-single-content .rank-math-list-item:nth-child(3n) { border-left-color: var(--atm-pink); }
.atm-single-content .rank-math-question { margin: 0 0 8px !important; font-size: 21px; }
.atm-single-content .rank-math-answer p { margin: 0; font-size: 17px; }
.atm-single-share .elementor-share-btn { border-radius: 50px !important; }

@media (max-width: 767px) {
	.atm-single-content { font-size: 17px; }
	.atm-single-content p:first-of-type { font-size: 19px; }
	.atm-single-content h2 { font-size: 28px; }
	.atm-single-content h3 { font-size: 21px; }
}

/* Navegación entre artículos */
.elementor-post-navigation .post-navigation__prev--label,
.elementor-post-navigation .post-navigation__next--label { color: var(--atm-ink); font-family: var(--atm-body); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.elementor-post-navigation .post-navigation__prev--title,
.elementor-post-navigation .post-navigation__next--title { color: var(--atm-ink); font-family: var(--atm-head); font-size: 18px; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.elementor-post-navigation a:hover .post-navigation__prev--title,
.elementor-post-navigation a:hover .post-navigation__next--title { text-decoration: underline; text-decoration-color: var(--atm-pink); text-decoration-thickness: 3px; }
.elementor-post-navigation .post-navigation__arrow-wrapper { color: var(--atm-pink); }
