/* =========================================================
   Grupo Visalia · Correcciones QA visual web en producción (nov 2026)
   ========================================================= */

/* Misión, visión y valores · tarjeta RSC: logo completo */
.vsc-explore__img[src*="explorar-rsc"],
.vsc-explore__img[srcset*="explorar-rsc"] { object-position: left center; }

/* Conócenos · zona del logo de las tarjetas de marca */
.vsc-bcard__logo { border: 0 !important; border-bottom: 1px solid #9EDCF7 !important; border-radius: 12px 12px 0 0 !important; }

/* Dónde operamos · subtítulo de atención por teléfono */
.vsc-items--phone .vsc-bhead__sub { color: #FFFFFF; }

/* Dónde operamos · pines escalados con el mapa en tablet y móvil */
@media (max-width: 1024px) {
	.vsc-offices__mapbox { container-type: inline-size; }
	.vsc-offices__pin { width: 4.1cqw; height: 4.1cqw; border-width: 0.68cqw; }
}

/* Divisorias: sin línea en el primer elemento de cada fila (clase añadida por JS) */
.vsc-dims__item.vsc-rowstart { box-shadow: none !important; }
.vsc-figrow__item.vsc-rowstart { border-left: 0 !important; }
.vsc-steps2__item.vsc-rowend .vsc-steps2__line { visibility: hidden; }

/* Nuestro equipo · en móvil todas las fichas al mismo ancho (144) */
@media (max-width: 600px) {
	.vsc-team:not(.vsc-team--wide) .vsc-person { max-width: 144px; }
}
/* Órganos de gobierno · tablet: dos columnas a ancho completo */
@media (min-width: 601px) and (max-width: 1024px) {
	.vsc-team--wide .vsc-person { max-width: none; flex: 1 1 calc(50% - 12px); }
}

/* Carta del CEO · barra de acento de la cita */
.vsc-prose blockquote::before { position: static !important; opacity: 1 !important; font-size: 0 !important; line-height: 0 !important; margin: 0 0 16px !important; }

/* Compromiso · tarjetas de documento a ancho completo en tablet/móvil */
@media (max-width: 1024px) {
	.vsc-items__grid--doc .vsc-doc { max-width: none; }
}

/* Textos descriptivos de tarjetas y pasos (RSC, Canal de denuncias, Responsabilidad y control) */
.vsc-ally__desc { color: #3F3F50 !important; }

/* RSC · fotos a ancho de Figma en escritorio */
@media (min-width: 1025px) {
	.vsc-xcard__media { flex: 0 0 552px; }
	.vsc-feat__media { flex: 0 0 564px; }
}
/* RSC · título «Visalia en lo más alto» sin padding superior */
.vsc-feat__title { padding-top: 0 !important; }
/* RSC · velado de la imagen de la cita */
.vsc-pquote__media::after { background: linear-gradient(90deg, rgba(4, 45, 77, 0.9) 0%, rgba(4, 45, 77, 0.3) 100%); }

/* Pestañas (Gobierno Corporativo · filtros, Inversores · años) */
.vsc-tabs__list,
.vsc-lib__filters { gap: 8px; padding-bottom: 0; box-shadow: inset 0 -2px 0 var(--vs-primary-100); }
.vsc-tabs__tab { background: var(--vs-white) !important; border-radius: 8px 8px 0 0 !important; }
.vsc-tabs__tab:hover { background: var(--vs-primary-50) !important; }
.vsc-tabs__tab[aria-selected="true"],
.vsc-tabs__tab.is-active { background: var(--vs-primary-base) !important; color: var(--vs-white) !important; }

/* Gobierno Corporativo · tarjeta informativa (sin enlace) con borde neutro */
.vsc-scard2--line:not(:has(.vs-link)) { border-color: var(--vs-neutral-10); }

/* Canal de denuncias · pasos */
.vsc-steps2__icon { border-radius: 50%; }
.vsc-steps2__line { background: var(--vs-neutral-10); }

/* Inversores y Socios */
.vsc-sband::after { top: 0; bottom: auto; }
.vsc-select__label { font-weight: 700; }
.vsc-dlist .vsc-dlist__more { display: flex !important; justify-content: center !important; }
.vsc-figrow--panel.vsc-figrow--icons .vsc-figrow__item { gap: 20px; }
.vsc-figrow--icons .vsc-figrow__label { color: var(--vs-neutral-40); }

/* Acceso socios · padding de la sección en tablet y móvil */
@media (max-width: 1024px) {
	.vsa-login > .vsc-sec__inner { padding: 96px var(--vs-pad) 120px; }
}

/* Notas de prensa · buscador y paginación */
.vsc-lib__input::placeholder { font-size: 14px; line-height: 22.4px; color: var(--vs-neutral-40); }
.vsc-pager__btn { border-radius: 50% !important; font-weight: 700 !important; color: var(--vs-primary-600) !important; }
.vsc-pager__btn.is-active { background: var(--vs-primary-600) !important; color: var(--vs-white) !important; }
.vsc-pager__arrow { border: 1px solid var(--vs-neutral-10) !important; }
.vsc-pager__dots { color: var(--vs-neutral-40); }

/* Enlaces dentro de texto (Biblioteca multimedia, Sostenibilidad) */
.vsc-a { font-weight: 600; color: var(--vs-primary-base); text-decoration: none; }

/* Biblioteca multimedia · vistas previas de identidad sin recortar */
.vsc-assets--logos .vsc-asset__pv img { object-fit: contain; }

/* Nuestra comunicación · podcast */
@media (min-width: 1025px) {
	.vsc-ep__title { font-size: 24px !important; line-height: 28.8px !important; }
}
.vsc-ep__desc { font-size: 16px; line-height: 25.6px; }
.vsc-ep .vs-link--s { font-size: 16px; line-height: 20px; }
.vsc-platforms .w-btn { font-size: 14px !important; line-height: 16px !important; }

/* Nuestra comunicación · ediciones de Living Visalia */
@media (max-width: 1024px) {
	.vsc-edition__photo { height: auto; aspect-ratio: 3 / 2; }
	.vsc-editions > * { flex: 0 0 calc((100% - 48px) / 3); max-width: none; }
}
@media (max-width: 600px) {
	.vsc-editions > * { flex: 0 0 calc((100% - 24px) / 2); }
}

/* Contacto · espaciados del formulario */
.vsc-form .vsc-field > p { gap: 0; }
.vsc-form .vsc-field__label { margin-bottom: 6px; }
.vsc-form .vsc-field .wpcf7-form-control-wrap { margin-top: 0; }
.vsc-form .vsc-form__submit { margin-top: 20px; }

/* Páginas legales */
.vsc-legal__toc-title { color: var(--vs-neutral-base); }
.vsc-legal__col ul,
.vsc-legal__col ol { list-style: square; gap: 0; }
.vsc-legal__col u { text-decoration: none; }
.vsc-legal__col table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--vs-neutral-10); border-radius: 16px; overflow: hidden; background: var(--vs-white); }
.vsc-legal__col th,
.vsc-legal__col td { padding: 16px 24px; border: 0; border-top: 1px solid var(--vs-neutral-10); font-size: 20px; line-height: 32px; font-weight: 400; color: var(--vs-neutral-base); }
.vsc-legal__col table > :first-child > tr:first-child > * { border-top: 0; }
.vsc-legal__col th { font-weight: 600; background: var(--vs-neutral-05); }
.vsc-legal__col table:has(td:nth-child(3)) tr:first-child > * { font-weight: 600; background: var(--vs-neutral-05); }
.vsc-legal__col table:not(:has(td:nth-child(3))):not(.vsc-legal-rights) td:first-child { width: 240px; font-weight: 600; }
.vsc-legal-rights tr > :first-child:not([colspan]) { width: 200px; }
.vsc-legal__col td li { font-size: 20px; line-height: 32px; }
@media (max-width: 600px) {
	.vsc-legal__col table:not(:has(td:nth-child(3))) tr,
	.vsc-legal__col table:not(:has(td:nth-child(3))) th,
	.vsc-legal__col table:not(:has(td:nth-child(3))) td { display: block; width: auto !important; }
	.vsc-legal__col table:not(:has(td:nth-child(3))) tr > * + * { border-top: 0; padding-top: 0; }
	.vsc-legal__col table:has(td:nth-child(3)) { display: block; overflow-x: auto; }
}

/* Detalle de noticia · listas con viñeta */
.vsc-prose ul { list-style: square; }
