/* envela.com.ar — calco del sitio actual (brief 1.0, 18/11/2026; docs/diseno/DIRECCION.md «Calco del sitio actual»).
   Reproduce, sin Divi, la grilla y los estilos generales que el sitio viejo tomaba de Divi 4.27 y de su personalizador:
   Open Sans en el cuerpo, Montserrat donde el sitio la usaba, magenta #bc317c en enlaces y acentos, secciones al 80 % con un máximo
   de 1080 px. El diseño propio de cada página (fondos, colores, tamaños de sus módulos) viene del CSS de esa página en el sitio
   viejo, renombrado a ev-* (assets/paginas/<slug>.css). Diferencias deliberadas: cuerpo a 16 px (estándar 16, punto 19; el viejo
   usaba 14 px) y botón flotante de WhatsApp (estándar 16, punto 17) en lugar de Joinchat. */

/* Tipografía: las mismas pilas del sitio viejo, sin descargar fuentes (el viejo tampoco las cargaba: se veía en Arial/Helvetica). */

:root { --ev-acento: #bc317c; --ev-violeta: #79639e; --ev-texto: #666; --ev-titulo: #333; --ev-pie: #240047; --ev-wa: #25D366; }

/* Base (Divi: body, encabezados, párrafos y enlaces; personalizador: h4 y h6 en el acento). */
body { font-family: "Open Sans", Arial, sans-serif; font-size: 16px; color: var(--ev-texto); background-color: #fff; line-height: 1.7em; font-weight: 500; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { color: var(--ev-titulo); padding-bottom: 10px; line-height: 1em; font-weight: 500; margin: 0; }
h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 14px; }
p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
a { color: var(--ev-acento); text-decoration: none; }
a:hover { text-decoration: none; }
strong, b { font-weight: 700; }
ul.wp-block-list, ol.wp-block-list, .ev-text ul, .ev-text ol { padding: 0 0 23px 1em; margin: 0; line-height: 26px; }
ul.wp-block-list, .ev-text ul { list-style-type: disc; }
img { max-width: 100%; height: auto; }
.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: bottom; }
blockquote.wp-block-quote { margin: 20px 0 30px; padding-left: 20px; border-left: 5px solid var(--ev-acento); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
:focus-visible { outline: 3px solid var(--ev-acento); outline-offset: 2px; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-group { margin: 0; }
main .is-layout-flow > * + *, main .is-layout-constrained > * + * { margin-block-start: 0; }

/* Grilla (Divi: secciones, filas, columnas con medianil 3 por defecto). */
.ev-section { position: relative; background-color: #fff; background-position: 50%; background-size: cover; padding: 4% 0; }
.ev-section > .ev-row:first-of-type, .ev-section > .ev-section_video_bg + .ev-row { }
.ev-row { width: 80%; max-width: 1080px; margin: auto; position: relative; padding: 2% 0; display: flex; align-items: flex-start; }
.ev-row::after { content: ""; display: table; clear: both; }
.ev-equal_columns { align-items: stretch; }
.ev-column { position: relative; min-height: 1px; }
.ev-column_4_4 { width: 100%; }
.ev-column_3_4 { width: 73.625%; } .ev-column_2_3 { width: 64.833%; } .ev-column_1_2 { width: 47.25%; } .ev-column_1_3 { width: 29.6667%; } .ev-column_1_4 { width: 20.875%; }
.ev-column_3_5 { width: 57.8%; } .ev-column_2_5 { width: 36.7%; } .ev-column_1_5 { width: 15.6%; } .ev-column_1_6 { width: 13.0556%; }
.ev-row > .ev-column:not(.ev-last):not(:last-child) { margin-right: 5.5%; }
.ev-gutters2 > .ev-column_1_2 { width: 48.5%; } .ev-gutters2 > .ev-column_1_3 { width: 31.3333%; } .ev-gutters2 > .ev-column_1_4 { width: 22.75%; }
.ev-gutters2 > .ev-column_2_3 { width: 65.6667%; } .ev-gutters2 > .ev-column_3_4 { width: 74.25%; }
.ev-gutters2 > .ev-column:not(.ev-last):not(:last-child) { margin-right: 3%; }
.ev-gutters1 > .ev-column_1_2 { width: 50%; } .ev-gutters1 > .ev-column_1_3 { width: 33.3333%; } .ev-gutters1 > .ev-column_1_4 { width: 25%; } .ev-gutters1 > .ev-column_2_3 { width: 66.6667%; }
.ev-gutters1 > .ev-column:not(.ev-last):not(:last-child) { margin-right: 0; }
.ev-module { position: relative; word-wrap: break-word; }
.ev-column > .ev-module:not(:last-child), .ev-column > .wp-block-details:not(:last-child), .ev-column > .ev-module + .wp-block-html { margin-bottom: 2.75%; }
.ev-gutters2 .ev-column > .ev-module:not(:last-child) { margin-bottom: 1.5%; }
@media (min-width: 1350px) { .ev-section { padding: 54px 0; } .ev-row { padding: 27px 0; } }
@media (max-width: 980px) {
	.ev-row { display: block; padding: 30px 0; }
	.ev-row > .ev-column, .ev-gutters2 > .ev-column, .ev-gutters1 > .ev-column { width: 100% !important; margin-right: 0 !important; margin-bottom: 30px; }
	.ev-row > .ev-column:last-child { margin-bottom: 0; }
	.ev-column_empty { display: none; }
	.ev-section { padding: 50px 0; }
}

/* Módulos. */
.ev-text { line-height: 1.7em; }
.ev-text_align_center { text-align: center; } .ev-text_align_right { text-align: right; } .ev-text_align_left { text-align: left; }
.ev-bg_layout_dark, .ev-bg_layout_dark h1, .ev-bg_layout_dark h2, .ev-bg_layout_dark h3, .ev-bg_layout_dark h4, .ev-bg_layout_dark h5, .ev-bg_layout_dark h6 { color: #fff; }
.has-text-align-center { text-align: center; } .has-text-align-right { text-align: right; } .has-text-align-left { text-align: left; } .has-text-align-justify { text-align: justify; }
.ev-image { line-height: 0; }
.ev-image .wp-block-image { display: inline-block; max-width: 100%; }
.ev-blurb .ev-main_blurb_image { display: block; margin: 0 auto 30px; text-align: center; line-height: 0; }
.ev-blurb .ev-main_blurb_image img { display: inline-block; }
.ev-blurb .ev-module_header, .ev-blurb h4 { font-size: 18px; padding-bottom: 10px; }
.ev-testimonial { position: relative; }
.ev-testimonial_author { font-weight: 700; padding-top: 1em; }
.ev-testimonial .ev-testimonial_portrait { display: block; margin: 0 auto 20px; text-align: center; }
.ev-promo { padding: 40px 60px; text-align: center; }
.ev-promo .ev-button_wrapper { margin-top: 20px; }
@media (max-width: 767px) { .ev-promo { padding: 40px; } }
.ev-button_wrapper { line-height: normal; }
.ev-button { display: inline-block; position: relative; font-size: 20px; font-weight: 500; padding: .3em 1em; line-height: 1.7em !important; background-color: transparent; border: 2px solid; border-radius: 3px; color: var(--ev-acento); transition: all .2s; }
.ev-button:hover { background-color: rgba(0, 0, 0, .05); border-color: transparent; }
.ev-bg_layout_dark .ev-button { color: #fff; }
.ev-divider { position: relative; height: 23px; margin: 0 0 30px; }
.ev-divider::before { content: ""; position: absolute; top: 0; width: 100%; height: 1px; border-top: 1px solid rgba(0, 0, 0, .1); }
.ev-divider_hidden::before, .ev-divider.ev-divider_hidden::before { display: none; }

/* Conmutadores de Divi → <details> nativo (sin JavaScript). */
.wp-block-details.ev-toggle { border: 1px solid #d9d9d9; padding: 20px; background-color: #f4f4f4; margin: 0 0 30px; }
.wp-block-details.ev-toggle[open] { background-color: #fff; }
.wp-block-details.ev-toggle > summary { cursor: pointer; list-style: none; position: relative; padding-right: 32px; font-size: 16px; font-weight: 500; color: var(--ev-texto); line-height: 1.4; }
.wp-block-details.ev-toggle[open] > summary { color: var(--ev-titulo); }
.wp-block-details.ev-toggle > summary::-webkit-details-marker { display: none; }
.wp-block-details.ev-toggle > summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: #ccc; font-weight: 400; }
.wp-block-details.ev-toggle[open] > summary::after { content: "–"; }
.wp-block-details.ev-toggle[open] > summary { margin-bottom: 1em; }

/* Redes (Seguir en Facebook / Instagram), con ícono SVG en lugar de la fuente de Divi. */
.ev-social_media_follow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-social_media_follow .icon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 0; border-radius: 3px; color: #fff; font-size: 14px; font-weight: 600; }
.ev-social_media_follow .icon svg { width: 32px; height: 32px; padding: 7px; fill: #fff; flex: none; }
.ev-social-facebook .icon { background-color: #3b5998; } .ev-social-instagram .icon { background-color: #ea2c59; }

/* Video de fondo de sección (como en Divi: sin sonido, en bucle, detrás del contenido). */
.ev-section_video_bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.ev-section_video_bg video { width: 100%; height: 100%; object-fit: cover; }
.ev-section_video > .ev-row { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ev-section_video_bg video { display: none; } }

/* Módulos y columnas que eran clicables en Divi: un enlace cubre el módulo entero (sin JavaScript). */
.ev-clic { position: absolute; inset: 0; z-index: 3; }
.ev-clic:focus-visible { outline: 3px solid #fff; outline-offset: -4px; box-shadow: 0 0 0 3px var(--ev-acento); }

/* Encabezado (Theme Builder del sitio viejo: logo a la izquierda, menú a la derecha, fondo blanco). */
.ev-saltar { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ev-acento); padding: 12px 16px; font-weight: 700; }
.ev-saltar:focus { left: 8px; top: 8px; }
.ev-encabezado { background-color: #fff; padding: 8px 0 12px; position: relative; z-index: 20; }
.ev-encabezado__interior { width: 80%; max-width: 1080px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ev-marca { display: block; line-height: 0; flex: none; }
.ev-marca img { width: 109px; height: auto; }
.ev-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.ev-menu li { padding-left: 22px; }
.ev-menu a { display: block; color: rgba(34, 30, 38, .97); font-size: 14px; font-weight: 500; line-height: 1em; padding: 31px 0; transition: opacity .4s; }
.ev-menu a:hover { opacity: .7; }
.ev-menu a[aria-current] { color: rgba(34, 30, 38, .97); }
.ev-menu-movil { display: none; }
@media (max-width: 980px) {
	.ev-encabezado__interior { position: relative; }
	.ev-menu { display: none; }
	.ev-menu-movil { display: block; }
	.ev-menu-movil > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
	.ev-menu-movil > summary::-webkit-details-marker { display: none; }
	.ev-menu-movil > summary svg { width: 32px; height: 32px; fill: var(--ev-acento); }
	.ev-menu-movil nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--ev-acento); box-shadow: 0 2px 5px rgba(0, 0, 0, .1); padding: 5%; z-index: 30; }
	.ev-menu-movil ul { list-style: none; margin: 0; padding: 0; }
	.ev-menu-movil a { display: block; padding: 10px 5%; color: rgba(34, 30, 38, .97); font-weight: 600; border-bottom: 1px solid rgba(0, 0, 0, .03); min-height: 44px; }
}

/* Pie (Theme Builder del sitio viejo: violeta muy oscuro, línea de Epifanía y redes). */
.ev-pie { background-color: var(--ev-pie); padding: 0; }
.ev-pie__interior { width: 80%; max-width: 1080px; margin: auto; display: flex; align-items: center; padding: 0; }
.ev-pie__texto { width: 73.625%; margin-right: 5.5%; font-weight: 600; font-size: 16px; padding-top: .5vw; margin-top: 1vw; margin-bottom: 1vw; color: #fff; text-align: center; }
.ev-pie__texto a { color: #fff; }
.ev-pie__texto p { padding-bottom: 0; }
.ev-pie__redes { width: 20.875%; margin-top: 1vw; margin-bottom: 1vw; }
.ev-pie__wa { text-align: center; padding: 0 0 16px; }
.ev-pie__wa a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 100px; background: var(--ev-wa); color: #0b2814; font-weight: 700; font-size: 16px; }
.ev-pie__wa svg { width: 22px; height: 22px; fill: currentColor; }
.ev-pie__legal { text-align: center; color: #d9cfe6; font-size: 14px; padding: 0 0 16px; }
.ev-pie__legal a { color: #fff; text-decoration: underline; }
@media (max-width: 980px) {
	.ev-pie__interior { display: block; padding: 20px 0; }
	.ev-pie__texto, .ev-pie__redes { width: 100%; margin-right: 0; }
	.ev-pie__redes .ev-social_media_follow { justify-content: center; }
}

/* WhatsApp flotante (estándar 16, punto 17): reemplaza al globo de Joinchat del sitio viejo, con el mismo número y mensaje. */
.ev-wa-flotante { position: fixed; right: 20px; bottom: 20px; z-index: 1000; width: 56px; height: 56px; border-radius: 50%; background: var(--ev-wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .2s; }
.ev-wa-flotante:hover { transform: scale(1.06); }
.ev-wa-flotante svg { width: 32px; height: 32px; fill: #fff; }
@media (prefers-reduced-motion: reduce) { .ev-wa-flotante { transition: none; } .ev-wa-flotante:hover { transform: none; } }

/* Notas: listado como la grilla del módulo Blog de Divi (3 columnas, borde gris, imagen arriba). */
.ev-notas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5.5%; row-gap: 40px; }
.ev-nota-tarjeta { border: 1px solid #d8d8d8; padding: 19px; background-color: #fff; word-wrap: break-word; position: relative; }
.ev-nota-tarjeta__imagen { display: block; margin: -20px -20px 29px; line-height: 0; }
.ev-nota-tarjeta__imagen img { width: 100%; height: auto; }
.ev-nota-tarjeta h2 { font-size: 18px; padding-bottom: 10px; line-height: 1.3; font-weight: 500; }
.ev-nota-tarjeta h2 a { color: var(--ev-titulo); }
.ev-nota-tarjeta .post-meta { font-size: 14px; margin-bottom: 6px; }
.ev-nota-tarjeta .post-meta a { color: var(--ev-acento); }
.ev-nota-tarjeta .post-content p { padding-bottom: 0; }
.ev-paginacion { display: flex; justify-content: space-between; margin-top: 40px; font-size: 16px; }
.ev-paginacion a { color: var(--ev-acento); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 980px) { .ev-notas { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media (max-width: 767px) { .ev-notas { grid-template-columns: 1fr; } }

/* Nota y archivos (plantilla de entrada de Divi con barra lateral derecha). */
.ev-contenedor { width: 80%; max-width: 1080px; margin: auto; padding-top: 58px; position: relative; display: flex; align-items: flex-start; }
.ev-area { width: 79.125%; padding-right: 5.5%; padding-bottom: 23px; }
.ev-lateral { width: 20.875%; padding-left: 30px; border-left: 1px solid #e2e2e2; padding-bottom: 23px; align-self: stretch; }
.ev-lateral :is(h4,.ev-h4) { font-size: 18px; color: var(--ev-acento); font-weight: 500; padding-bottom: 10px; }
.ev-lateral ul { list-style: none; margin: 0; padding: 0; }
.ev-lateral li { margin-bottom: .5em; }
.ev-lateral a { color: var(--ev-texto); }
.ev-lateral a:hover { color: var(--ev-acento); }
.ev-entrada .wp-block-post-title, .ev-entrada h1.entry-title { font-size: 30px; padding-bottom: 10px; line-height: 1.2; font-weight: 500; color: var(--ev-titulo); margin: 0; }
.ev-entrada .post-meta { font-size: 14px; margin-bottom: 15px; color: var(--ev-texto); }
.ev-entrada .post-meta a { color: var(--ev-texto); }
.ev-entrada .wp-block-post-featured-image { margin: 0 0 30px; }
.ev-entrada .wp-block-post-featured-image img { width: 100%; height: auto; }
.ev-entrada .wp-block-post-content > * + * { margin-block-start: 0; }
.ev-entrada .wp-block-post-content h2, .ev-entrada .wp-block-post-content h3, .ev-entrada .wp-block-post-content h4 { padding-top: .4em; }
.ev-entrada .wp-block-post-content .wp-block-image { margin: 0 0 1.5em; }
.ev-entrada .wp-block-post-content .ev-section { padding: 0; background: transparent; }
.ev-entrada .wp-block-post-content .ev-row { width: 100%; padding: 0; }
.ev-archivo-titulo { font-size: 30px; padding-bottom: 30px; }
.ev-archivo .ev-notas { grid-template-columns: 1fr; }
.ev-archivo .ev-nota-tarjeta { border: 0; padding: 0 0 40px; }
.ev-archivo .ev-nota-tarjeta__imagen { margin: 0 0 20px; }
.ev-archivo .ev-nota-tarjeta h2 { font-size: 26px; }
@media (max-width: 980px) {
	.ev-contenedor { display: block; padding-top: 30px; }
	.ev-area, .ev-lateral { width: 100%; padding: 0 0 30px; border: 0; }
}
.ev-404 { width: 80%; max-width: 1080px; margin: auto; padding: 58px 0 80px; }
.ev-404 h1 { font-size: 30px; }

/* Encabezados que cambiaron de nivel por el brief §0.5: conservan el aspecto de su nivel original. */
.ev-h1 { font-size: 30px; } .ev-h2 { font-size: 26px; } .ev-h3 { font-size: 22px; } .ev-h4 { font-size: 18px; } .ev-h5 { font-size: 16px; } .ev-h6 { font-size: 14px; }

/* Comentarios que ya tenía el sitio viejo (solo lectura). */
.ev-comentarios { margin-top: 40px; }
.ev-comentarios h2 { font-size: 30px; color: var(--ev-titulo); padding-bottom: 20px; }
.ev-comentarios__lista { list-style: none; margin: 0; padding: 0; }
.ev-comentario { border-bottom: 1px solid #e2e2e2; padding: 0 0 20px; margin-bottom: 20px; }
.ev-comentario__autor { padding-bottom: .5em; }
.ev-comentario__autor strong { color: var(--ev-titulo); }
.ev-comentario__autor span { font-size: 14px; margin-left: 8px; }

/* Oficio (crítica B del 18/11, sin cambiar el aspecto): sin desborde horizontal (la portada vieja tenía margin-right:-7px), mapas al ancho,
   encabezado ≤ 90 px, conmutadores tocables en toda la franja, objetivos ≥ 44 px, el botón flotante no tapa el pie a 390 px. */
html, body { overflow-x: clip; }
.ev-code iframe, .ev-module iframe { max-width: 100%; }
.ev-menu a { padding: 28px 0; }
.wp-block-details.ev-toggle { padding: 0; }
.wp-block-details.ev-toggle > summary { padding: 20px 52px 20px 20px; min-height: 44px; }
.wp-block-details.ev-toggle > summary::after { right: 20px; top: 18px; }
.wp-block-details.ev-toggle > :not(summary) { padding-left: 20px; padding-right: 20px; }
.wp-block-details.ev-toggle[open] > summary { margin-bottom: 0; }
.wp-block-details.ev-toggle[open] { padding-bottom: 20px; }
.ev-lateral a { display: inline-block; padding: 9px 0; }
.ev-lateral li { margin-bottom: 0; }
@media (max-width: 767px) { .ev-pie { padding-bottom: 84px; } }

/* Crítica A (fidelidad, 18/11): lo que Divi aportaba y faltaba. */
.ev-section, .ev-row, .ev-column, .ev-module { background-repeat: no-repeat; }
.ev-with_border { border: 0 solid #333; }
iframe, embed, object, video { max-width: 100%; }
.ev-blurb > * { max-width: 550px; margin-left: auto; margin-right: auto; }
.ev-column_1_2 > .ev-module:not(:last-child) { margin-bottom: 5.82%; } .ev-column_1_3 > .ev-module:not(:last-child) { margin-bottom: 9.27%; }
.ev-column_2_3 > .ev-module:not(:last-child) { margin-bottom: 4.242%; } .ev-column_3_4 > .ev-module:not(:last-child) { margin-bottom: 3.735%; }
.ev-column_1_4 > .ev-module:not(:last-child) { margin-bottom: 13.174%; }
@media (max-width: 980px) { .ev-column > .ev-module:not(:last-child) { margin-bottom: 30px !important; } }
.ev-column_3_4 .ev-notas { grid-template-columns: repeat(2, 1fr); column-gap: 7.47%; }
@media (max-width: 767px) { .ev-column_3_4 .ev-notas { grid-template-columns: 1fr; } }
/* Redes: cuadrado de 32 px con el ícono, como el viejo; el área táctil llega a 44 px. */
.ev-social_media_follow .icon { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; background: none !important; }
.ev-social_media_follow .icon span, .ev-social_media_follow .ev-red-nombre { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.ev-social_media_follow .icon svg { border-radius: 3px; }
.ev-social-facebook .icon svg { background-color: #3b5998; } .ev-social-instagram .icon svg { background-color: #e81749; }
