/* 20261015 Diseño de bloques. Una sola familia: Ubuntu, cargada desde el personalizador. */

body.cvip-bloques {
	margin: 0;
	background: #fff;
	color: #1d1b1c;
	font-family: Ubuntu, "Segoe UI", sans-serif;
	font-size: 1.05rem;
	line-height: 1.55;
}

.cvip-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.cvip-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #501980;
	color: #fff;
}

.cvip-header-bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
}

.cvip-logo img {
	display: block;
	height: 36px;
	width: auto;
}

.cvip-nav-toggle {
	margin-left: auto;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	font: inherit;
}

.cvip-nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #501980;
	padding: 0.5rem 1.25rem 1rem;
}

.cvip-nav.is-open {
	display: block;
}

.cvip-menu,
.cvip-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cvip-menu a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 0.55rem 0;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
}

.cvip-menu .sub-menu {
	display: none;
	padding-left: 0.8rem;
}

.cvip-menu > li.is-open > .sub-menu {
	display: block;
}

.cvip-dir {
	display: none;
}

.cvip-dir input {
	background: transparent;
	color: #fff;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	padding: 0.35rem 0;
	width: 8.5rem;
	font: inherit;
}

.cvip-dir input::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.cvip-main {
	overflow-x: clip;
}

.cvip-main .entry-content > *:first-child {
	margin-top: 0;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.cvip-hero {
	background: #501980;
	color: #fff;
	padding: 4.5rem max(1.25rem, calc((100vw - 1120px) / 2)) 3.5rem;
}

.cvip-hero .wp-block-group__inner-container,
.cvip-section .wp-block-group__inner-container,
.cvip-band .wp-block-group__inner-container {
	max-width: 1120px;
	margin: 0 auto;
}

.cvip-hero h1,
.cvip-main h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
}

.cvip-hero p {
	max-width: 38rem;
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.86);
}

.cvip-section {
	padding: 3.5rem max(1.25rem, calc((100vw - 1120px) / 2));
}

.cvip-section h2,
.cvip-band h2,
.cvip-single h1,
.cvip-archive h1 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
}

.cvip-kicker {
	color: #932fea;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 0.35rem;
}

.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 1.25rem 0;
}

.wp-block-column {
	flex: 1 1 240px;
	min-width: 0;
}

.cvip-card {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 10px 30px rgba(16, 21, 23, 0.06);
}

.cvip-card img,
.wp-block-image img,
.entry-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

.cvip-card .wp-block-image {
	margin: 0;
}

.cvip-card .wp-block-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.cvip-card h3,
.cvip-card p,
.cvip-card .wp-block-buttons {
	margin-left: 1.1rem;
	margin-right: 1.1rem;
}

.cvip-card h3 {
	margin-top: 1rem;
	margin-bottom: 0.35rem;
}

.wp-block-button__link {
	display: inline-block;
	background: #932fea;
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.7rem 1.15rem;
	font-weight: 700;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
}

.cvip-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: #fff;
	color: #501980;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1.25rem 0;
}

.cvip-band {
	background: #501980;
	color: #fff;
	padding: 3rem max(1.25rem, calc((100vw - 1120px) / 2));
}

.cvip-band p {
	max-width: 40rem;
	color: rgba(255, 255, 255, 0.86);
}

.wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.8rem;
	margin: 1rem 0 0;
}

.wp-block-gallery figure {
	margin: 0;
}

.wp-block-gallery img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 14px;
}

.wp-block-list {
	padding-left: 1.1rem;
}

.wp-block-list li + li {
	margin-top: 0.3rem;
}

.cvip-single,
.cvip-archive,
.cvip-main .entry-content {
	max-width: 760px;
}

.cvip-main article.page .entry-content,
.cvip-main .cvip-wide {
	max-width: none;
}

.cvip-single,
.cvip-archive {
	margin: 0 auto;
	padding: 2.5rem 1.25rem 3rem;
}

.cvip-archive article,
.cvip-single article {
	margin-bottom: 2rem;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.cvip-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
}

.cvip-post-nav a {
	color: #932fea;
}

.wp-block-latest-posts {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

.wp-block-latest-posts li {
	background: #fff;
	border-radius: 16px;
	padding: 1rem;
}

.wp-block-latest-posts a {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.wp-block-latest-posts img {
	width: 100%;
	max-height: 180px;
	object-fit: cover;
	border-radius: 10px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	max-width: 36rem;
	border: 1px solid #d7d2c8;
	border-radius: 10px;
	padding: 0.7rem 0.8rem;
	font: inherit;
	background: #fff;
}

.wpcf7 input[type="submit"] {
	background: #932fea;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.7rem 1.2rem;
	font: inherit;
	font-weight: 700;
}

.cvip-footer {
	background: #501980;
	color: rgba(255, 255, 255, 0.86);
	padding: 2.5rem 1.25rem 1.5rem;
}

.cvip-footer-bar {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	gap: 1.5rem;
}

.cvip-footer a {
	color: #fff;
}

.cvip-contact,
.cvip-social {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
}

.cvip-copy {
	max-width: 1120px;
	margin: 1.5rem auto 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 960px) {
	.cvip-nav-toggle {
		display: none;
	}

	.cvip-nav {
		display: block;
		position: static;
		background: transparent;
		padding: 0;
		margin-left: auto;
	}

	.cvip-menu {
		display: flex;
		align-items: center;
		gap: 0.2rem;
	}

	.cvip-menu > li {
		position: relative;
	}

	.cvip-menu > li > a {
		padding: 0.4rem 0.55rem;
	}

	.cvip-menu .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 240px;
		background: #3d1468;
		padding: 0.4rem 0.8rem;
		border-radius: 12px;
	}

	.cvip-menu > li:hover > .sub-menu,
	.cvip-menu > li:focus-within > .sub-menu {
		display: block;
	}

	.cvip-dir {
		display: block;
	}
}

body.home .cvip-hero {
	min-height: 72vh;
	display: flex;
	align-items: flex-end;
	background:
		linear-gradient(to top, rgba(80, 25, 128, 0.88), rgba(80, 25, 128, 0.2)),
		url("/wp-content/uploads/2022/08/slider-debo-tener-una-pagina-web.jpgresultado.jpg") center / cover no-repeat;
}

.cvip-hero {
	background: #501980;
}

.cvip-hero h1 {
	max-width: 16ch;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.cvip-card {
	padding-bottom: 1rem;
}

.cvip-card .wp-block-button__link {
	background: transparent;
	color: #932fea;
	padding: 0;
}

.cvip-nav-toggle {
	display: inline-flex;
	align-items: center;
	border: 0;
	padding: 0;
}

.cvip-nav-toggle img {
	width: 28px;
	height: 20px;
}

.cvip-contact {
	display: grid;
	gap: 0.8rem;
}

.cvip-contact li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.cvip-contact img {
	width: 46px;
	height: 46px;
}

.cvip-band {
	background: #501980 url("/wp-content/uploads/2020/03/Fondo-Seccion-Contacto.svg.svg") center / cover no-repeat;
}

#nosotros {
	background:
		linear-gradient(#fff, #fff) left center / 58% 100% no-repeat,
		url("/wp-content/uploads/2024/02/NOSOTROS-80R.jpg") right center / 42% 100% no-repeat;
	min-height: 360px;
}

@media (max-width: 700px) {
	#nosotros {
		background: #fff url("/wp-content/uploads/2024/02/NOSOTROS-80R.jpg") center top / 100% 180px no-repeat;
		padding-top: 210px;
	}
}
