/* =====================================================================
   VM Catálogo — Ficha de plan
   Mobile first. Tokens propios con fallback a las variables del tema hijo.
   ===================================================================== */

.vm-ficha {
	--vm-primario: var(--primary-color, #051B97);
	--vm-primario-osc: #03105c;
	--vm-acento: var(--accent-color, #46CD90);
	--vm-texto: var(--text-color, #150F33);
	--vm-texto-sec: #4a4760;
	--vm-borde: #e3e2ea;
	--vm-fondo-suave: #f6f6fa;
	--vm-radio: 12px;
	--vm-sombra: 0 6px 24px rgba(21, 15, 51, .08);
	--vm-header: var(--nav-height, 70px);
	--vm-anclas-alto: 52px;

	color: var(--vm-texto);
	font-size: 1rem;
	line-height: 1.6;
	padding-bottom: 88px; /* espacio para la barra móvil */
	background: #fff;
}

.vm-ficha *, .vm-ficha *::before, .vm-ficha *::after { box-sizing: border-box; }
.vm-ficha .vm-icon { flex-shrink: 0; vertical-align: middle; }
.vm-ficha a { color: var(--vm-primario); }
.vm-ficha :focus-visible { outline: 3px solid var(--vm-primario); outline-offset: 2px; border-radius: 4px; }

.vm-contenedor { max-width: var(--max-width-container, 1236px); margin: 0 auto; padding: 0 16px; }
.vm-contenedor--estrecho { max-width: 760px; }

/* ---------- Cabecera ---------- */
.vm-ficha__cabecera { padding: calc(var(--vm-header) + 16px) 0 16px; }
.vm-breadcrumb ol { display: flex; flex-wrap: nowrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; font-size: .875rem; color: var(--vm-texto-sec); overflow: hidden; white-space: nowrap; }
.vm-breadcrumb li { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.vm-breadcrumb li + li::before { content: "›"; color: #8a879c; }
.vm-breadcrumb li:last-child { flex-shrink: 1; min-width: 0; overflow: hidden; }
.vm-breadcrumb li:last-child span { overflow: hidden; text-overflow: ellipsis; }
.vm-breadcrumb a { color: var(--vm-texto-sec); text-decoration: none; }
.vm-breadcrumb a:hover { color: var(--vm-primario); text-decoration: underline; }

.vm-ficha__titulo { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); line-height: 1.2; margin: 0 0 8px; color: var(--vm-texto); letter-spacing: -.5px; }
.vm-ficha__subtitulo { margin: 0 0 12px; font-size: 1.1rem; color: var(--vm-texto-sec); }

.vm-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.vm-chips::-webkit-scrollbar { display: none; }
.vm-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--vm-fondo-suave); border: 1px solid var(--vm-borde); font-size: .875rem; font-weight: 600; color: var(--vm-texto); }
.vm-chip--tipo { background: var(--vm-primario); border-color: var(--vm-primario); color: #fff; }
.vm-chip--aval { background: #e9f8f1; border-color: #bfe9d5; color: #0b4f33; }

/* ---------- Galería ---------- */
.vm-galeria { position: relative; margin: 8px 0 24px; }
.vm-galeria__mosaico { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--vm-radio); scrollbar-width: none; }
.vm-galeria__mosaico::-webkit-scrollbar { display: none; }
.vm-galeria__item { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; padding: 0; border: 0; margin: 0; background: var(--vm-fondo-suave); cursor: zoom-in; overflow: hidden; display: block; }
.vm-galeria__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vm-galeria__contador { position: absolute; right: 12px; bottom: 12px; background: rgba(21, 15, 51, .75); color: #fff; font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.vm-galeria__todas { display: none; }

@media (min-width: 768px) {
	.vm-galeria__mosaico { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; overflow: visible; }
	.vm-galeria__item { aspect-ratio: auto; border-radius: 0; }
	.vm-galeria__item:first-child { grid-row: span 2; }
	.vm-galeria__item--extra { display: none; }
	.vm-galeria__item:hover img { transform: scale(1.04); }
	.vm-galeria__mosaico .vm-galeria__item:only-child { grid-column: 1 / -1; }
	.vm-galeria__contador { display: none; }
	.vm-galeria__todas { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--vm-borde); background: #fff; color: var(--vm-texto); font-weight: 600; cursor: pointer; box-shadow: var(--vm-sombra); }
	.vm-galeria__todas:hover { background: var(--vm-fondo-suave); }
}
@media (min-width: 1024px) {
	.vm-galeria__mosaico { grid-template-rows: 240px 240px; border-radius: 16px; overflow: hidden; }
}

/* Mosaico sin huecos con 2, 3 o 4 imágenes. */
@media (min-width: 768px) {
	.vm-galeria__item:first-child:nth-last-child(2) ~ .vm-galeria__item { grid-column: 2 / 4; grid-row: 1 / 3; }
	.vm-galeria__item:first-child:nth-last-child(3) ~ .vm-galeria__item { grid-column: 2 / 4; }
	.vm-galeria__item:first-child:nth-last-child(4) ~ .vm-galeria__item:last-child { grid-column: 2 / 4; }
}

/* Lightbox */
.vm-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 8, 25, .96); color: #fff; }
.vm-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.vm-lightbox::backdrop { background: rgba(10, 8, 25, .96); }
.vm-lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.vm-lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.vm-lightbox figcaption { margin-top: 10px; font-size: .9rem; color: #d7d5e3; }
.vm-lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.vm-lightbox button:hover { background: rgba(255, 255, 255, .28); }
.vm-lightbox button[hidden] { display: none; }
.vm-lightbox button:focus-visible { outline: 3px solid #fff; }
.vm-lightbox__cerrar { top: 16px; right: 16px; }
.vm-lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.vm-lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Navegación por anclas ---------- */
.vm-anclas { position: sticky; top: var(--vm-header); z-index: 20; background: #fff; border-bottom: 1px solid var(--vm-borde); }
.vm-anclas ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.vm-anclas ul::-webkit-scrollbar { display: none; }
.vm-anclas a { display: block; padding: 14px 12px; white-space: nowrap; font-weight: 600; font-size: .95rem; color: var(--vm-texto-sec); text-decoration: none; border-bottom: 3px solid transparent; }
.vm-anclas a:hover { color: var(--vm-primario); }
.vm-anclas a[aria-current="true"] { color: var(--vm-primario); border-bottom-color: var(--vm-primario); }

/* ---------- Layout ---------- */
.vm-ficha__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; }
@media (min-width: 1024px) {
	.vm-ficha__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
	.vm-ficha { padding-bottom: 0; }
}

/* ---------- Secciones ---------- */
.vm-seccion { scroll-margin-top: calc(var(--vm-header) + var(--vm-anclas-alto) + 12px); padding: 8px 0 32px; border-bottom: 1px solid var(--vm-borde); margin-bottom: 32px; }
.vm-ficha__cuerpo .vm-seccion:last-child { border-bottom: 0; }
.vm-seccion__titulo { font-size: 1.5rem; line-height: 1.25; margin: 0 0 16px; color: var(--vm-texto); }
.vm-subtitulo { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; margin: 20px 0 12px; color: var(--vm-texto); }
.vm-resumen__lead { font-size: 1.125rem; font-weight: 500; margin: 0 0 16px; }
.vm-prosa > :first-child { margin-top: 0; }
.vm-prosa p { margin: 0 0 1em; }
.vm-prosa--sm { font-size: .925rem; color: var(--vm-texto-sec); }
.vm-plegable.is-plegado { max-height: 14em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.vm-ayuda { color: var(--vm-texto-sec); margin: 0 0 16px; }
.vm-dato { display: flex; align-items: center; gap: 8px; }

.vm-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vm-lista li { display: flex; gap: 10px; align-items: flex-start; }
.vm-lista li[hidden] { display: none; }
.vm-lista .vm-icon { margin-top: 3px; color: var(--vm-primario); }
.vm-lista--no_incluye .vm-icon { color: #b42318; }
.vm-lista--highlights .vm-icon { color: #b7791f; }
.vm-incluye { display: grid; gap: 8px 32px; }
@media (min-width: 768px) { .vm-incluye { grid-template-columns: 1fr 1fr; } }

.vm-ver-mas, .vm-enlace { background: none; border: 0; padding: 8px 0; color: var(--vm-primario); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }

/* Acordeón */
.vm-acordeon { border: 1px solid var(--vm-borde); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.vm-acordeon summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.vm-acordeon summary::-webkit-details-marker { display: none; }
.vm-acordeon__chev { transition: transform .2s ease; }
details[open] > summary .vm-acordeon__chev { transform: rotate(180deg); }
.vm-acordeon__body { padding: 0 16px 16px; }

/* Ruta */
.vm-ruta__bloque p { margin: 0 0 8px; }
.vm-paises { margin: 0; padding-left: 20px; }
.vm-ruta__mapa { margin: 16px 0 0; }
.vm-ruta__mapa img { width: 100%; height: auto; border-radius: var(--vm-radio); }

/* Itinerario */
.vm-itinerario__acciones { display: flex; justify-content: flex-end; margin-top: -8px; }
.vm-itinerario { list-style: none; margin: 0; padding: 0; position: relative; }
.vm-itinerario::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--vm-borde); }
.vm-itinerario__dia { position: relative; padding-left: 52px; margin-bottom: 8px; }
.vm-itinerario summary { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; list-style: none; font-weight: 700; }
.vm-itinerario summary::-webkit-details-marker { display: none; }
.vm-itinerario summary > span:nth-child(2) { flex: 1; }
.vm-itinerario__num { position: absolute; left: 0; top: 6px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vm-primario); color: #fff; font-size: .95rem; }
.vm-itinerario__etq { color: var(--vm-primario); }
.vm-itinerario__body { padding: 0 0 12px; color: var(--vm-texto-sec); }
.vm-itinerario__body img { margin-top: 8px; border-radius: 10px; max-width: 100%; height: auto; }

/* Fechas */
.vm-fechas__filtro { display: inline-flex; flex-direction: column; gap: 4px; font-weight: 600; margin-bottom: 16px; }
.vm-fechas__filtro select, .vm-tarjeta__pax select { padding: 10px 12px; border: 1px solid #b9b7c7; border-radius: 8px; font-size: 1rem; background: #fff; }
.vm-fechas { display: grid; gap: 16px; }
@media (min-width: 768px) { .vm-fechas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vm-fecha { border: 1px solid var(--vm-borde); border-radius: var(--vm-radio); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.vm-fecha[hidden] { display: none; }
.vm-fecha header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vm-fecha h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.05rem; }
.vm-fecha__estado { font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e9f8f1; color: #0b4f33; }
.vm-fecha__estado--por_confirmar { background: #fff4e0; color: #7a4b00; }
.vm-fecha__estado--cerrada { background: #f1f1f4; color: #55536a; }
.vm-fecha--cerrada { opacity: .7; }
.vm-fecha__origen, .vm-fecha__notas { margin: 0; font-size: .9rem; color: var(--vm-texto-sec); }
.vm-fecha__tabla { width: 100%; border-collapse: collapse; font-size: .95rem; }
.vm-fecha__tabla th, .vm-fecha__tabla td { padding: 6px 0; border-bottom: 1px solid var(--vm-borde); text-align: left; }
.vm-fecha__tabla td { text-align: right; font-weight: 700; }
.vm-fecha__tabla thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--vm-texto-sec); }

/* Servicios */
.vm-servicios { display: grid; gap: 16px; }
@media (min-width: 768px) { .vm-servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vm-servicio { border: 1px solid var(--vm-borde); border-radius: var(--vm-radio); overflow: hidden; display: flex; flex-direction: column; }
.vm-servicio > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vm-servicio__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vm-servicio h3 { margin: 0; font-size: 1.05rem; }
.vm-servicio__meta { display: flex; justify-content: space-between; align-items: center; margin: 0; color: var(--vm-texto-sec); }
.vm-servicio__meta span { display: inline-flex; gap: 6px; align-items: center; }
.vm-servicio__meta strong { color: var(--vm-texto); }
.vm-servicio__cond summary { cursor: pointer; font-weight: 600; color: var(--vm-primario); }
.vm-servicio__check { margin-top: auto; display: flex; gap: 8px; align-items: center; font-weight: 700; cursor: pointer; padding-top: 8px; }
.vm-servicio__check input { width: 20px; height: 20px; accent-color: var(--vm-primario); }

/* ---------- Tarjeta lateral ---------- */
.vm-tarjeta { order: -1; }
.vm-tarjeta__inner { border: 1px solid var(--vm-borde); border-radius: 16px; padding: 20px; box-shadow: var(--vm-sombra); display: flex; flex-direction: column; gap: 12px; background: #fff; }
@media (min-width: 1024px) {
	.vm-tarjeta { order: 0; position: sticky; top: calc(var(--vm-header) + var(--vm-anclas-alto) + 16px); }
}
.vm-precio { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.vm-precio__desde { font-size: .95rem; color: var(--vm-texto-sec); }
.vm-precio__valor { font-size: 1.75rem; font-weight: 800; color: var(--vm-texto); letter-spacing: -.5px; transition: opacity .15s ease; }
.vm-tarjeta__pax { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; }
.vm-tarjeta__nota { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .875rem; color: var(--vm-texto-sec); }
.vm-tarjeta__nota .vm-icon { margin-top: 3px; }
.vm-tarjeta__aval { display: flex; justify-content: center; padding-top: 8px; border-top: 1px solid var(--vm-borde); }
.vm-tarjeta__aval img { max-width: 160px; height: auto; }
.vm-tarjeta__legal { font-size: .78rem; color: var(--vm-texto-sec); margin: 0; line-height: 1.45; }

/* Botones */
.vm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .2s ease, color .2s ease; text-align: center; }
.vm-ficha .vm-btn--primario { background: var(--vm-primario); color: #fff; }
.vm-ficha .vm-btn--primario:hover { background: var(--vm-primario-osc); color: #fff; }
.vm-ficha .vm-btn--secundario { background: #fff; color: var(--vm-primario); border-color: var(--vm-primario); }
.vm-ficha .vm-btn--secundario:hover { background: var(--vm-fondo-suave); }
.vm-ficha .vm-btn--whatsapp { background: #fff; color: #0b6b3a; border-color: #1f9d55; }
.vm-ficha .vm-btn--whatsapp:hover { background: #effaf3; }
.vm-btn--sm { min-height: 40px; padding: 8px 14px; font-size: .925rem; }

/* Barra inferior móvil */
.vm-barra-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--vm-borde); box-shadow: 0 -4px 20px rgba(21, 15, 51, .08); transition: transform .25s ease; }
.vm-barra-movil .vm-precio__valor { font-size: 1.25rem; }
.vm-barra-movil .vm-btn { min-width: 132px; }
.vm-barra-movil.is-oculta { transform: translateY(110%); }
@media (min-width: 1024px) { .vm-barra-movil { display: none; } }
/* El botón flotante de chat del sitio no debe tapar el CTA de la barra. */
@media (max-width: 1023px) { body.single-plan #simple-chat-button--container { bottom: calc(84px + env(safe-area-inset-bottom)) !important; } }

/* Relacionados */
.vm-seccion--relacionados { border-bottom: 0; background: var(--vm-fondo-suave); padding: 40px 0; margin: 0; }
.vm-carril { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 80%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; }
.vm-carril > * { scroll-snap-align: start; }
@media (min-width: 768px) { .vm-carril { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1024px) { .vm-carril { grid-auto-columns: calc((100% - 48px) / 4); } }

/* Formulario */
.vm-seccion--cotizar { border-bottom: 0; padding: 48px 0; margin: 0; }
.vm-formulario { border: 1px solid var(--vm-borde); border-radius: 16px; padding: 20px; box-shadow: var(--vm-sombra); }
.vm-formulario__seleccion { background: #eef0fb; border-left: 4px solid var(--vm-primario); padding: 10px 14px; border-radius: 6px; margin: 0 0 16px; font-size: .95rem; }
.vm-formulario input[type="text"], .vm-formulario input[type="email"], .vm-formulario input[type="tel"], .vm-formulario input[type="number"], .vm-formulario select, .vm-formulario textarea { width: 100%; padding: 12px; border: 1px solid #b9b7c7; border-radius: 8px; font-size: 1rem; margin-top: 4px; }
.vm-formulario input[readonly] { background: var(--vm-fondo-suave); }
.vm-formulario label { display: block; font-weight: 600; margin-bottom: 12px; }
.vm-formulario .wpcf7-submit { width: 100%; min-height: 48px; background: var(--vm-primario); color: #fff; border: 0; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; }
.vm-formulario .wpcf7-submit:hover { background: var(--vm-primario-osc); }

/* Formulario de cotización (CF7) */
.vm-form-grid { display: grid; grid-template-columns: 1fr; gap: 4px 16px; }
@media (min-width: 640px) { .vm-form-grid { grid-template-columns: 1fr 1fr; } .vm-form-full { grid-column: 1 / -1; } }
.vm-form-grid br { display: none; }
.vm-formulario .wpcf7-form-control-wrap { display: block; }
.vm-formulario .wpcf7-not-valid-tip { color: #b42318; font-size: .875rem; font-weight: 600; margin-top: 4px; }
.vm-formulario .wpcf7-not-valid { border-color: #b42318; }
.vm-form-consent { font-size: .9rem; font-weight: 400; margin: 4px 0 12px; }
.vm-form-consent .wpcf7-list-item { margin: 0; }
.vm-form-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.vm-form-consent input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--vm-primario); }
.vm-formulario .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: 8px; border-width: 2px; }
.vm-formulario .wpcf7-spinner { margin: 8px auto 0; display: block; }
.vm-ficha .vm-formulario .wpcf7-submit, .vm-ficha .vm-formulario .wpcf7-submit:focus { border-radius: 10px; background: var(--vm-primario); color: #fff; padding: 12px 20px; }
.vm-ficha .vm-formulario .wpcf7-submit:hover { background: var(--vm-primario-osc); color: #fff; }

/* Reseñas */
.vm-estrellas { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; color: var(--vm-texto); text-decoration: none; font-size: .95rem; }
a.vm-estrellas:hover .vm-estrellas__total { text-decoration: underline; }
.vm-estrellas__iconos { letter-spacing: 1px; font-size: 1.1rem; line-height: 1; }
.vm-estrella--llena { color: #b7791f; }
.vm-estrella--media { background: linear-gradient(90deg, #b7791f 50%, #c9c7d6 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm-estrella--vacia { color: #c9c7d6; }
.vm-estrellas__total { color: var(--vm-texto-sec); }
.vm-resenas__form { margin-top: 20px; }
.vm-seccion--resenas .glsr-review { border-bottom: 1px solid var(--vm-borde); padding: 16px 0; }
.vm-seccion--resenas .glsr-field { margin-bottom: 14px; }
.vm-seccion--resenas input[type="text"], .vm-seccion--resenas input[type="email"], .vm-seccion--resenas textarea { width: 100%; padding: 12px; border: 1px solid #b9b7c7; border-radius: 8px; font-size: 1rem; }
.vm-ficha .vm-seccion--resenas button[type="submit"], .vm-ficha .vm-seccion--resenas .glsr-button { min-height: 48px; padding: 12px 24px; border: 0; border-radius: 10px; background: var(--vm-primario); color: #fff; font-weight: 700; font-size: 1rem; }
.vm-ficha .vm-seccion--resenas button[type="submit"]:hover, .vm-ficha .vm-seccion--resenas .glsr-button:hover { background: var(--vm-primario-osc); color: #fff; }

/* ---------- Blindaje frente a los estilos globales del tema/kit de Elementor ----------
   El kit pinta h1-h3 en blanco y aplica radio 90px y fondo #c36 a todo <button> en hover/focus. */
main.vm-ficha :is(h1, h2, h3, h4) { color: var(--vm-texto); font-family: inherit; text-transform: none; }
/* WCAG 1.4.1: los enlaces dentro de un texto se distinguen por algo más que el color. */
main.vm-ficha :is(p, li, dd, label, .wpcf7-list-item-label, .glsr-field-toggle) a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
.vm-ficha .vm-galeria__item, .vm-ficha .vm-galeria__item:hover, .vm-ficha .vm-galeria__item:focus { border-radius: 0; padding: 0; border: 0; background: var(--vm-fondo-suave); color: inherit; }
.vm-ficha .vm-ver-mas, .vm-ficha .vm-enlace, .vm-ficha .vm-ver-mas:hover, .vm-ficha .vm-enlace:hover, .vm-ficha .vm-ver-mas:focus, .vm-ficha .vm-enlace:focus { background: none; border: 0; border-radius: 0; padding: 8px 0; color: var(--vm-primario); }
.vm-ficha .vm-galeria__todas, .vm-ficha .vm-galeria__todas:focus { border-radius: 8px; background: #fff; color: var(--vm-texto); padding: 10px 16px; }
.vm-ficha .vm-galeria__todas:hover { background: var(--vm-fondo-suave); color: var(--vm-texto); }
.vm-ficha .vm-lightbox button, .vm-ficha .vm-lightbox button:focus { border-radius: 50%; padding: 0; border: 0; background: rgba(255, 255, 255, .14); color: #fff; }
.vm-ficha .vm-lightbox button:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.vm-ficha .vm-lightbox button[hidden] { display: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.vm-ficha *, .vm-ficha *::before, .vm-ficha *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
