/* Brief 2026: blog, móvil izquierda, márgenes casos.
   ponytail: el HTML 1.0 no usa wp-block-custom-texto-central; "Pon tu Clínica" es google-block. */

.blog-tag-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 10px 20px 30px;
}

.blog-tag-filter a {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid #2B6B6A;
	border-radius: 999px;
	color: #2B6B6A;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.2;
	background: transparent;
}

.blog-tag-filter a.is-active,
.blog-tag-filter a:hover {
	background: #2B6B6A;
	color: #fff;
}

.pagination {
	margin-top: 40px;
	margin-bottom: 80px;
}

.pagination a,
.pagination span {
	background: #111 !important;
	color: #fff !important;
}

.pagination a:hover,
.pagination .current {
	background: #000 !important;
}

/* ponytail: enlaces sueltos (CTA de casos, “tus dudas aquí”) caen al azul UA; no coinciden con .texto > a */
.entry-content a:not([class]),
.entry-content a:not([class]):visited,
.entry-content a:not([class]):hover {
	color: #8cb3a6;
	font-weight: 700;
}

@media (max-width: 768px) {
	.texto-central,
	.texto-central .contenido,
	.texto-central .titulo,
	.texto-central .titulo *,
	.texto-central .subtitulo,
	.texto-central .subtitulo *,
	.texto-central .texto,
	.texto-central .texto p,
	.wp-block-custom-texto-central,
	.wp-block-custom-texto-central *,
	.container-google-block .wp-block-custom-google-block,
	.container-google-block .primary-text,
	.container-google-block .primary-text *,
	.container-google-block .body-text,
	.container-google-block .body-text *,
	.wp-block-custom-texto-imagen,
	.wp-block-custom-texto-imagen .texto-col,
	.wp-block-custom-texto-imagen .titulo,
	.wp-block-custom-texto-imagen .titulo *,
	.wp-block-custom-texto-imagen .subtitulo,
	.wp-block-custom-texto-imagen .subtitulo *,
	.wp-block-custom-texto-imagen .texto,
	.wp-block-custom-texto-imagen .texto *,
	.banner-internas,
	.banner-internas .banner-titulo,
	.banner-internas .banner-subtitulo,
	.banner-internas .content-banner,
	.wp-block-custom-content-banner .left,
	.wp-block-custom-content-banner .primary-text,
	.wp-block-custom-content-banner .primary-text p,
	.wp-block-custom-content-banner .primary-text h1,
	.wp-block-custom-content-banner .primary-text h2,
	.wp-block-custom-content-banner .primary-text h3,
	.wp-block-custom-content-banner .primary-text .wp-block-heading,
	.wp-block-custom-content-banner .primary-text .wp-block-paragraph,
	.wp-block-custom-content-banner .secondary-text,
	.wp-block-custom-content-banner .right,
	.wp-block-custom-content-banner .right .content,
	.wp-block-custom-content-banner .right .content > p:first-child,
	.wp-block-custom-content-banner .right h1,
	.wp-block-custom-content-banner .right h2,
	.wp-block-custom-content-banner .right h3,
	.wp-block-custom-content-banner .right p,
	.entry-content > h1,
	.entry-content > h2,
	.entry-content > h3,
	.entry-content > h4,
	.entry-content > p,
	.entry-content .has-text-align-left,
	.entry-content .has-text-align-center,
	.cnb-especialidades,
	.cnb-especialidades__title,
	.cnb-especialidades__subtitle,
	.cnb-especialidades__text,
	.cnb-proceso,
	.cnb-proceso__kicker,
	.cnb-proceso__title,
	.cnb-proceso__lead,
	.cnb-proceso__card,
	.cnb-proceso__card h3,
	.cnb-proceso__card p,
	.double-column-block,
	.double-column-block .column-left,
	.double-column-block .column-right,
	.double-column-block .wp-block-heading,
	.double-column-block p,
	.double-column-block li,
	.wp-block-custom-native-blocks-double-column,
	.wp-block-custom-native-blocks-double-column .wp-block-heading,
	.wp-block-custom-native-blocks-double-column p,
	.wp-block-custom-native-blocks-double-column li,
	.wp-block-custom-native-blocks-h1,
	.wp-block-custom-native-blocks-h1 .wp-block-heading,
	.wp-block-custom-native-blocks-h1 h1,
	.wp-block-custom-native-blocks-h1 h2,
	.wp-block-custom-native-blocks-h1 h3,
	.faq-question,
	.wp-block-custom-faqs .faq-main-title,
	.wp-block-custom-faqs .faq-main-description,
	p.acepto {
		text-align: left !important;
	}

	/* ponytail: el tema centra h2/p; el plugin recentra double-column y el form del banner */
	.wp-block-custom-content-banner .right {
		justify-content: flex-start !important;
		align-items: stretch !important;
	}

	.cnb-especialidades__text,
	.cnb-proceso__lead {
		margin-left: 0;
		margin-right: 0;
	}

	/* ponytail: .entry-content h2 { padding:0 20px } gana a una sola clase */
	.entry-content h2.cnb-especialidades__title,
	.entry-content .cnb-especialidades__title,
	.entry-content h2.cnb-proceso__title,
	.entry-content .cnb-proceso__title,
	.entry-content .cnb-proceso__card h3,
	.entry-content .wp-block-custom-native-blocks-double-column .wp-block-heading,
	.entry-content .column-left .wp-block-heading,
	.entry-content .column-right .wp-block-heading,
	.entry-content .wp-block-custom-native-blocks-innerblock .wp-block-heading {
		padding: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: none;
	}

	/* ponytail: estilo-2 pinta el strong como chip flex + margin auto; al wrap se centra */
	.entry-content .wp-block-custom-native-blocks-h1.estilo-2 {
		padding-left: 20px !important;
		padding-right: 20px !important;
		box-sizing: border-box;
	}

	.entry-content .wp-block-custom-native-blocks-h1.estilo-2 .wp-block-custom-native-blocks-h1 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.entry-content .wp-block-custom-native-blocks-h1.estilo-2 .wp-block-heading {
		padding: 0 !important;
		margin: 0 !important;
	}

	.entry-content .wp-block-custom-native-blocks-h1.estilo-2 .wp-block-heading strong,
	.entry-content .wp-block-custom-native-blocks-h1.estilo-2 strong {
		display: inline !important;
		width: auto !important;
		margin: 0 !important;
		padding-left: 0 !important;
	}

	.wpcf7 input[type="submit"],
	.wpcf7 .wpcf7-submit {
		text-align: center !important;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	.wp-block-custom-texto-imagen {
		padding-left: 20px;
		padding-right: 20px;
		box-sizing: border-box;
	}

	/* Beat live 1.0: body:not(.wp-admin):not(.block-editor-iframe__body) .texto-col .subtitulo { margin: 0 } */
	body:not(.wp-admin):not(.block-editor-iframe__body) .wp-block-custom-texto-imagen .imagen-col {
		margin-bottom: 28px !important;
	}

	body:not(.wp-admin):not(.block-editor-iframe__body) .wp-block-custom-texto-imagen .texto-col .titulo {
		margin-top: 12px !important;
	}

	body:not(.wp-admin):not(.block-editor-iframe__body) .wp-block-custom-texto-imagen .texto-col .subtitulo,
	body:not(.wp-admin):not(.block-editor-iframe__body) .wp-block-custom-texto-imagen .texto-col .subtitulo * {
		margin-bottom: 16px !important;
	}

	body:not(.wp-admin):not(.block-editor-iframe__body) .wp-block-custom-texto-imagen .texto-col .texto {
		margin-top: 8px !important;
		margin-bottom: 20px !important;
	}

	footer .container.footer-middle,
	footer .footer-middle {
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 100%;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	footer .footer-middle .footer-column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
	}
}

.container-google-block .wp-block-custom-google-block .secondary-text h2 {
	text-align: left;
	padding: 0;
}

.cnb-especialidades .cnb-especialidades__go {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	box-sizing: border-box;
	padding: 0;
	border: none;
	border-radius: 0;
	font-size: 0;
	line-height: 0;
	color: transparent;
	display: block;
	/* ponytail: círculo+flecha 23px en el mismo viewBox; el glifo → no se puede centrar de verdad */
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none'%3E%3Ccircle cx='18' cy='18' r='17' stroke='%232B6B6A' stroke-width='1'/%3E%3Cpath d='M5.25 18h17M20.25 11.5L28.25 18l-8 6.5' stroke='%232B6B6A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 36px 36px;
}

.cnb-especialidades .cnb-especialidades__go:has(svg) {
	background: none;
	color: inherit;
}

.cnb-especialidades .cnb-especialidades__go svg {
	display: block;
	width: 36px;
	height: 36px;
}

.cnb-specialty-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #2B6B6A;
	text-decoration: none;
	font-weight: 600;
}

.cnb-specialty-btn::after {
	content: "→";
	width: 36px;
	height: 36px;
	border: 1px solid currentColor;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
