/*
Theme Name:   EduPress Child — VERMATECH
Theme URI:    http://lms.local
Description:  Tema hijo de EduPress para la plataforma de cursos IoT de VERMATECH SPA. Toda personalización visual va aquí; el tema padre edu-press no se modifica.
Author:       VERMATECH SPA
Author URI:   https://vermatech.cl
Template:     edu-press
Version:      1.0.0
Requires PHP: 8.3
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  vt-lms
*/

/*
 * Estilos propios de la plataforma.
 * Este archivo se carga DESPUÉS del style.css del tema padre (ver functions.php),
 * por lo que cualquier regla aquí sobrescribe la del padre.
 */

/* ==========================================================================
   Base de conocimiento y preguntas desplegables
   ========================================================================== */
.vt-kb-subtitulo { font-size: 20px; color: #1f4fa3; }

.vt-kb-indice { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 8px; }
.vt-kb-indice li { margin: 0; color: #5b6577; font-size: 14px; }
.vt-kb-indice a { display: inline-block; padding: 8px 16px; border: 2px solid #4285e8; border-radius: 30px;
	color: #1f4fa3; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.vt-kb-indice a:hover, .vt-kb-indice a:focus { background: #4285e8; color: #fff; }

.vt-kb-categoria { margin-top: 48px; padding-bottom: 8px; border-bottom: 3px solid #4285e8; scroll-margin-top: 110px; }

details.vt-faq { border: 1px solid #e3e9f3; border-radius: 12px; margin: 12px 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
details.vt-faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 52px 16px 20px; font-weight: 600; color: #1b2333; }
details.vt-faq summary::-webkit-details-marker { display: none; }
details.vt-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
	font-size: 26px; line-height: 1; color: #4285e8; font-weight: 400; }
details.vt-faq[open] summary::after { content: "\2212"; }
details.vt-faq[open] { border-color: #4285e8; box-shadow: 0 4px 14px rgba(66, 133, 232, .12); }
details.vt-faq > :not(summary) { padding-left: 20px; padding-right: 20px; }
details.vt-faq > :last-child { padding-bottom: 14px; }

.vt-kb-volver { text-align: right; font-size: 14px; }

/* ===== LearnPress: sin "Mayúscula En Cada Palabra" (en español solo va la inicial) ===== */
.meta-item,
.course-level,
.course-duration,
.lp-course-filter__field label,
.lp-form-course-filter .lp-course-filter__field label { text-transform: none !important; }

/* ===== Páginas institucionales (Nosotros, Contacto, Planes, legales) ===== */
.vt-pagina-intro { font-size: 18px; color: #4a5568; max-width: 760px; margin-bottom: 32px; }
.vt-pagina h2 { margin-top: 40px; }

.vt-tarjetas { gap: 24px; margin: 24px 0 8px; }
.vt-tarjeta { background: #fff; border: 1px solid #e3e9f3; border-radius: 14px; padding: 24px 24px 20px;
	box-shadow: 0 2px 10px rgba(27, 35, 51, .04); height: 100%; }
.vt-tarjeta h3 { margin: 0 0 8px; font-size: 20px; color: #1b2333; }
.vt-tarjeta p { margin-bottom: 12px; }
.vt-tarjeta .wp-block-buttons { margin-top: 8px; }

.vt-plan .vt-plan__precio { font-size: 28px; font-weight: 700; color: #4285e8; margin: 4px 0 12px; }
.vt-plan ul { list-style: none; padding-left: 0; margin: 0 0 16px; }
.vt-plan li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.vt-plan li::before { content: "\2713"; position: absolute; left: 0; color: #2fa84f; font-weight: 700; }
.vt-plan--destacado { border: 2px solid #4285e8; box-shadow: 0 8px 24px rgba(66, 133, 232, .15); }

.vt-legal { max-width: 860px; }
.vt-legal h2 { font-size: 22px; margin-top: 32px; }
.vt-legal-fecha { color: #6b7385; font-size: 14px; }
.vt-pagina .wp-block-button__link { background: #4285e8; color: #fff; border-radius: 999px; padding: 10px 22px; }
.vt-pagina .wp-block-button__link:hover, .vt-pagina .wp-block-button__link:focus { background: #1f4fa3; color: #fff; }

/* ===== Formulario de contacto (vt-lms-core, shortcode [vt_formulario_contacto]) ===== */
.vt-form { background: #fff; border: 1px solid #e3e9f3; border-radius: 14px; padding: 28px; max-width: 860px; scroll-margin-top: 120px; }
.vt-form__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 680px) { .vt-form__fila { grid-template-columns: 1fr; } .vt-form { padding: 20px 16px; } }
.vt-form label, .vt-form legend { display: block; font-weight: 600; color: #1b2333; margin-bottom: 6px; font-size: 15px; }
.vt-form input[type="text"], .vt-form input[type="email"], .vt-form input[type="tel"], .vt-form select, .vt-form textarea {
	width: 100%; border: 1px solid #cfd8e6; border-radius: 10px; padding: 10px 12px; font-size: 15px; background: #fff; }
.vt-form input:focus, .vt-form select:focus, .vt-form textarea:focus { border-color: #4285e8; outline: 2px solid rgba(66, 133, 232, .2); }
.vt-form__canal { border: 0; padding: 0; margin: 0 0 16px; }
.vt-form__canal label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin-right: 16px; }
.vt-form__acepto label { font-weight: 400; display: block; }
.vt-form__acepto input { margin-right: 6px; }
.vt-form__boton { background: #4285e8; color: #fff; border: 0; border-radius: 999px; padding: 12px 28px; font-weight: 600; cursor: pointer; }
.vt-form__boton:hover, .vt-form__boton:focus { background: #1f4fa3; }
.vt-form__trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vt-form__aviso { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; }
.vt-form__aviso--ok { background: #e8f6ec; color: #1d6b34; border: 1px solid #b9e2c4; }
.vt-form__aviso--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f3c1c1; }

/* ===== WooCommerce: resumen del pedido sin "Mayúscula En Cada Palabra" ===== */
.woocommerce-order-overview li,
.wc-block-order-confirmation-summary-list-item__key,
.wc-block-order-confirmation-summary-list-item__value { text-transform: none !important; }

/* Capturas de pantalla en las lecciones (md2lp: ![texto](img/archivo.png)). */
figure.vt-captura {
	margin: 16px 0 24px;
}

figure.vt-captura img {
	max-width: 100%;
	height: auto;
	border: 1px solid #d5deeb;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(31, 79, 163, 0.08);
}
