/* ==========================================================================
   EC-V2 · BASE
   Propuesta visual aprobada «Una fe que se vive» (Codex, 11-11-2026).
   Valores tomados de styles.css del prototipo. Todo va bajo .ec-v2 para no
   afectar al resto del sitio ni al panel de WordPress.
   ========================================================================== */

body .ec-v2 {
  --navy: #132f4a;
  --blue: #17365d;
  --cream: #f7f3eb;
  --coral: #ae3642;
  --green: #16675f;
  --ink: #203d48;
  --muted: #52636d;
  --line: #d5d9d5;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: Inter, Arial, sans-serif;

  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Neutralización de Divi dentro de la propuesta ----------------------- */
body .ec-v2.et_pb_section {
  padding: 0;
  background-color: var(--cream);
}
body .ec-v2 .et_pb_row {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body .ec-v2 .et_pb_column {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background-size: initial;
}
body .ec-v2 .et_pb_module,
body .ec-v2 .et_pb_text,
body .ec-v2 .et_pb_image,
body .ec-v2 .et_pb_menu,
body .ec-v2 .et_pb_button_module_wrapper,
body .ec-v2 .et_pb_column .et_pb_module {
  margin: 0;
  padding: 0;
}
/* En frontend forzamos static para que los elementos absolutos del diseño
   (hero, 2033) se anclen a la sección. En el Visual Builder (.et-fb) se deja
   el posicionamiento de Divi para no interferir con la edición. */
body:not(.et-fb) .ec-v2 .et_pb_text_inner {
  margin: 0;
  padding: 0;
  position: static;
}
body.et-fb .ec-v2 .et_pb_text_inner {
  margin: 0;
  padding: 0;
}
/* Los clearfix de Divi se convierten en elementos de rejilla/flex y añaden
   filas o huecos fantasmas; dentro de ec-v2 no hay floats que limpiar. */
body .ec-v2 .et_pb_row:before,
body .ec-v2 .et_pb_row:after,
body .ec-v2 .et_pb_column:before,
body .ec-v2 .et_pb_column:after,
body .ec-v2 .et_pb_menu_inner_container:before,
body .ec-v2 .et_pb_menu_inner_container:after {
  content: none;
  display: none;
}

/* --- Tipografía ---------------------------------------------------------- */
body .ec-v2 p {
  margin: 0;
  max-width: 65ch;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  padding-bottom: 0;
}
body .ec-v2 p + p { margin-top: 20px; }
body .ec-v2 h1,
body .ec-v2 h2,
body .ec-v2 h3,
body .ec-v2 h4,
body .ec-v2 .et_pb_text h1,
body .ec-v2 .et_pb_text h2,
body .ec-v2 .et_pb_text h3 {
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  color: inherit;
  letter-spacing: 0;
  text-wrap: normal;
}
body .ec-v2 h2,
body .ec-v2 .et_pb_text h2 { font-size: 64px; letter-spacing: -2px; }
body .ec-v2 h3,
body .ec-v2 .et_pb_text h3 { font-size: 32px; letter-spacing: -.7px; }
body .ec-v2 em { font-weight: 400; font-style: italic; }
body .ec-v2 strong,
body .ec-v2 b { font-weight: 600; color: inherit; }
body .ec-v2 figure { margin: 0; }
body .ec-v2 img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: cover;
}
body .ec-v2 a { color: inherit; text-decoration: none; }
body .ec-v2 button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
body .ec-v2 input,
body .ec-v2 select { font: inherit; }
body .ec-v2 ul { margin: 0; padding: 0; list-style: none; }
body .ec-v2 a,
body .ec-v2 button { -webkit-tap-highlight-color: transparent; }

body .ec-v2 button:focus-visible,
body .ec-v2 a:focus-visible,
body .ec-v2 summary:focus-visible,
body .ec-v2 input:focus-visible,
body .ec-v2 select:focus-visible {
  outline: 3px solid #d96f55;
  outline-offset: 5px;
}

/* --- Estructura ---------------------------------------------------------- */
body .ec-v2 .et_pb_row.container {
  width: calc(100% - 144px);
  max-width: 1264px;
  margin-left: auto;
  margin-right: auto;
}
body .ec-v2.section.et_pb_section { padding: 112px 0; }

body .ec-v2 .eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 25px;
  line-height: 1.6;
}
body .ec-v2 .eyebrow.light { color: #fff; }
body .ec-v2 .lead { font-size: 23px; line-height: 1.5; }

/* --- Botones y enlaces de texto ------------------------------------------ */
body .ec-v2 .button {
  display: inline-flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding: 17px 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  min-height: 54px;
  transition: background .2s, transform .2s;
}
body .ec-v2 .button:hover { transform: translateY(-3px); }
body .ec-v2 .button span { font-size: 22px; line-height: 1; }
body .ec-v2 .coral { background: var(--coral); color: #fff; }
body .ec-v2 .coral:hover { background: #902c36; }
body .ec-v2 .navy { background: var(--navy); color: #fff; }
body .ec-v2 .cream { background: var(--cream); color: var(--navy); }
body .ec-v2 .small { font-size: 12px; min-height: 44px; padding: 11px 20px; gap: 22px; }

body .ec-v2 .text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
body .ec-v2 .text-link span { font-size: 22px; }
/* Módulo Button nativo con apariencia de enlace editorial (text-link) */
body .ec-v2 .et_pb_button_module_wrapper.ec-v2-text-link-btn {
  display: inline-block;
  margin-bottom: 0;
}
body .ec-v2 .ec-v2-text-link-btn .et_pb_button,
body .ec-v2 a.et_pb_button.ec-v2-text-link-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 22px;
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  padding: 8px 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: inherit !important;
  text-align: left;
  min-height: 0 !important;
  height: auto !important;
  box-shadow: none !important;
  letter-spacing: normal;
  transition: none;
}
body .ec-v2 .ec-v2-text-link-btn .et_pb_button:after,
body .ec-v2 a.et_pb_button.ec-v2-text-link-btn:after {
  content: "↗" !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-family: inherit !important;
  font-weight: 400;
  margin: 0 !important;
  margin-left: 0 !important;
  opacity: 1 !important;
  position: static !important;
  display: inline-block !important;
  transform: none !important;
  transition: none !important;
  top: auto !important;
  right: auto !important;
}
body .ec-v2 .ec-v2-text-link-btn .et_pb_button:hover,
body .ec-v2 a.et_pb_button.ec-v2-text-link-btn:hover {
  background: none !important;
  background-color: transparent !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
}
body .ec-v2 .ec-v2-text-link-btn .et_pb_button:hover:after,
body .ec-v2 a.et_pb_button.ec-v2-text-link-btn:hover:after {
  opacity: 1 !important;
  margin-left: 0 !important;
  transform: none !important;
}
body .ec-v2 .white { color: #fff; }

body .ec-v2 .section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body .ec-v2 .section-number {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
body .ec-v2 .heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 30px;
}
body .ec-v2 .heading-row > p { font-size: 18px; }

/* --- Aparición suave (script.js del prototipo) --------------------------- */
body .ec-v2 .reveal { transition: opacity .6s, translate .6s; }
body .ec-v2 .reveal.pending { opacity: .2; translate: 0 15px; }

@media (max-width: 1100px) {
  body .ec-v2 .et_pb_row.container { width: calc(100% - 80px); }
  body .ec-v2 h2,
  body .ec-v2 .et_pb_text h2 { font-size: 52px; }
  body .ec-v2 .heading-row { gap: 30px; }
}

@media (max-width: 900px) {
  body .ec-v2.section.et_pb_section { padding: 80px 0; }
}

@media (max-width: 650px) {
  body .ec-v2 { font-size: 15px; }
  body .ec-v2 .et_pb_row.container { width: calc(100% - 40px); }
  body .ec-v2.section.et_pb_section { padding: 70px 0; }
  body .ec-v2 .eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 22px; }
  body .ec-v2 h2,
  body .ec-v2 .et_pb_text h2 { font-size: 43px; letter-spacing: -1.5px; }
  body .ec-v2 .section-number { display: none; }
  body .ec-v2 .button { padding: 15px 20px; font-size: 13px; min-height: 52px; }
  body .ec-v2 .text-link { font-size: 13px; }
  body .ec-v2 .ec-v2-text-link-btn .et_pb_button,
  body .ec-v2 a.et_pb_button.ec-v2-text-link-btn { font-size: 13px !important; }
  body .ec-v2 .heading-row { display: block; margin-bottom: 30px; }
  body .ec-v2 .heading-row > p { margin-top: 24px; font-size: 16px; }
  body .ec-v2 .heading-row > .text-link { margin-top: 22px; }
}

/* ==========================================================================
   EC-V2 · 01 CABECERA
   Transparente sobre el hero; al superar 180 px de desplazamiento pasa a
   fija, fondo crema y texto azul (script.js del prototipo).
   ========================================================================== */

html { scroll-padding-top: 100px; }

body .ec-v2.site-header.et_pb_section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  padding: 24px 64px;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid #ffffff40;
}
body .ec-v2.site-header.scrolled.et_pb_section {
  position: fixed;
  background: var(--cream);
  color: var(--navy);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 2px 12px #132f4a12;
}
body .ec-v2.site-header .et_pb_column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Identidad institucional: escudo (Image Module) + línea + nombre (Text Module).
   El pie de página conserva su propia .brand/.cross tipográfica (no se toca). */

/* Escudo nativo: altura controlada, proporción intacta, fondo transparente */
body .ec-v2.site-header .et_pb_image.ec-v2-escudo {
  flex-shrink: 0;
  margin: 0;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  align-self: stretch;
}
body .ec-v2.site-header .ec-v2-escudo .et_pb_image_wrap {
  display: block;
  margin: 0;
}
body .ec-v2.site-header .ec-v2-escudo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
/* Estado fijo/crema: línea azul discreta y soporte para contraste del SVG blanco */
body .ec-v2.site-header.scrolled .et_pb_image.ec-v2-escudo {
  border-right-color: rgba(19, 47, 74, 0.28);
}
body .ec-v2.site-header.scrolled .ec-v2-escudo img {
  background: var(--navy);
  border-radius: 6px;
  padding: 4px;
  box-sizing: content-box;
}

/* Nombre institucional (módulo Text independiente) */
body .ec-v2.site-header .brand-name {
  flex-shrink: 0;
  margin-right: 0;
}
body .ec-v2 .brand-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.12;
}
body .ec-v2 .brand-link .brand-title {
  display: block;
}
body .ec-v2 .brand-link small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 2.5px;
  margin-top: 9px;
}
body .ec-v2.site-header .brand-name .et_pb_text_inner {
  margin: 0;
}

/* Navegación de escritorio (módulo de menú de Divi) */
body .ec-v2.site-header .et_pb_menu { margin-left: auto; background: transparent; }
body .ec-v2 .et_pb_menu__wrap { display: block; }
body .ec-v2 nav.et-menu-nav,
body .ec-v2 .et-menu { float: none; }
body .ec-v2 .et-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
body .ec-v2 .et-menu li { margin: 0; padding: 0; }
body .ec-v2 .et-menu li > a {
  display: block;
  color: inherit;
  padding: 0;
  opacity: 1;
  transition: none;
}
body .ec-v2 .et-menu li > a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  opacity: 1;
}
body .ec-v2 .et-menu li.ec-v2-nav-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  min-height: 44px;
  padding: 11px 20px;
  transition: background .2s;
}
body .ec-v2 .et-menu li.ec-v2-nav-cta > a:hover {
  background: #902c36;
  text-decoration: none;
}
body .ec-v2 .et-menu li.ec-v2-nav-cta > a span { font-size: 18px; line-height: 1; }
body .ec-v2 .et-menu li.ec-v2-nav-visit > a:after,
body .ec-v2 .et_mobile_menu li.ec-v2-nav-visit > a:after {
  content: '\2197';
  margin-left: 6px;
}
body .ec-v2 .et-menu li.ec-v2-nav-cta > a:after,
body .ec-v2 .et_mobile_menu li.ec-v2-nav-cta > a:after {
  content: '\2197';
  font-size: 18px;
  line-height: 1;
}

/* Botón de menú móvil */
body .ec-v2 .et_mobile_nav_menu { display: none; }
body .ec-v2 .mobile_nav { position: static; }
body .ec-v2 .mobile_menu_bar {
  display: flex;
  align-items: center;
  gap: 15px;
  background: none;
  color: inherit;
  border: 1px solid currentColor;
  padding: 9px 13px;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  position: relative;
}
body .ec-v2.site-header .et_pb_menu .mobile_menu_bar:before {
  content: 'Menú';
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: inherit;
  position: static;
}
body .ec-v2.site-header .et_pb_menu .mobile_menu_bar:after {
  content: '\2630';
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1;
  color: inherit;
}
body .ec-v2 .et_mobile_menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 25px;
  background: var(--cream);
  color: var(--navy);
  font-size: 15px;
  box-shadow: 0 10px 20px #132f4a33;
  border: 0;
  z-index: 40;
}
body .ec-v2 .mobile_nav.opened .et_mobile_menu { display: block; }
body .ec-v2 .et_mobile_menu li { margin: 0; padding: 0; }
body .ec-v2 .et_mobile_menu li > a {
  display: block;
  padding: 8px 0;
  color: inherit;
  border: 0;
  font-size: 15px;
  line-height: 1.6;
}
body .ec-v2 .et_mobile_menu li.ec-v2-nav-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--coral);
  color: #fff;
  padding: 12px 20px;
  margin-top: 10px;
}

@media (max-width: 1100px) {
  body .ec-v2.site-header.et_pb_section { padding: 22px 40px; }
  body .ec-v2 .et-menu { gap: 16px; font-size: 11px; }
  body .ec-v2 .brand-link { font-size: 16px; }
  body .ec-v2.site-header .ec-v2-escudo img { height: 46px; }
  body .ec-v2.site-header .et_pb_image.ec-v2-escudo { padding-right: 12px; }
}

@media (max-width: 900px) {
  body .ec-v2.site-header.et_pb_section { padding: 18px 25px; }
  body .ec-v2 .et_pb_menu__menu { display: none; }
  body .ec-v2 .et_mobile_nav_menu { display: block; }
}
@media (min-width: 901px) {
  body .ec-v2 .et_pb_menu__menu { display: block; }
  body .ec-v2 .et_mobile_nav_menu { display: none; }
}

@media (max-width: 650px) {
  body .ec-v2.site-header.et_pb_section { padding: 18px 20px; }
  body .ec-v2 .brand-link { font-size: 16px; }
  body .ec-v2 .brand-link small { font-size: 8px; letter-spacing: 1.8px; }
  body .ec-v2.site-header .ec-v2-escudo img { height: 42px; }
  body .ec-v2.site-header .et_pb_image.ec-v2-escudo { padding-right: 10px; }
}

/* ==========================================================================
   EC-V2 · 02 HERO
   850 px de alto, fotografía conceptual a sangre, doble degradado,
   H1 84/0.98 con segundo gesto en itálica #F5C4AF.
   Implementado con módulos Divi nativos (textos, botones, fondo de sección)
   para edición en Visual Builder, preservando la composición v2.
   ========================================================================== */

body .ec-v2.hero.et_pb_section {
  height: 850px;
  position: relative;
  background-color: var(--navy);
  color: #fff;
  overflow: hidden;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center 42% !important;
}

/* Veladura: capa visual sin interceptar clics/selección en el editor */
body .ec-v2.hero.et_pb_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,29,43,.88), rgba(8,29,43,.55) 39%, rgba(8,29,43,.04) 77%),
    linear-gradient(0deg, rgba(8,29,43,.55), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

body .ec-v2.hero .et_pb_row,
body .ec-v2.hero .et_pb_column {
  position: relative;
  z-index: 1;
}

body .ec-v2.hero .et_pb_row.ec-v2-hero-row,
body .ec-v2.hero .ec-v2-hero-col {
  height: 100%;
}

body .ec-v2.hero .ec-v2-hero-col {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  padding: 176px 64px 90px 80px;
  box-sizing: border-box;
}

/* Bloques de texto a ancho completo */
body .ec-v2.hero .ec-v2-hero-eyebrow,
body .ec-v2.hero .ec-v2-hero-title,
body .ec-v2.hero .ec-v2-hero-intro {
  width: 100%;
}

/* Eyebrow, título e intro */
body .ec-v2.hero .ec-v2-hero-eyebrow .eyebrow,
body .ec-v2.hero .eyebrow.light {
  font-size: 10px;
  letter-spacing: 2.1px;
  margin-bottom: 24px;
}
body .ec-v2.hero h1,
body .ec-v2.hero .et_pb_text h1 {
  font-size: 84px;
  letter-spacing: -3.8px;
  line-height: .98;
  max-width: 680px;
  color: #fff;
  margin: 0;
}
body .ec-v2.hero h1 em { color: #f5c4af; }
body .ec-v2.hero .hero-intro {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.5;
  max-width: 65ch;
}

/* Botones nativos Divi con estilo v2 */
body .ec-v2.hero .ec-v2-hero-btn {
  width: auto;
  margin-top: 30px;
}
body .ec-v2.hero .ec-v2-hero-btn--secondary {
  margin-left: 30px;
  align-self: center;
}
body .ec-v2.hero .ec-v2-hero-btn .et_pb_button,
body .ec-v2.hero .et_pb_button.ec-v2-hero-btn--primary,
body .ec-v2.hero .et_pb_button.ec-v2-hero-btn--secondary {
  display: inline-flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding: 17px 24px !important;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  min-height: 54px;
  line-height: 1.4;
  transition: background .2s, transform .2s;
  background-image: none !important;
}
body .ec-v2.hero .et_pb_button.ec-v2-hero-btn--primary {
  background-color: var(--coral) !important;
  color: #fff !important;
}
body .ec-v2.hero .et_pb_button.ec-v2-hero-btn--primary:hover {
  background-color: #902c36 !important;
  transform: translateY(-3px);
}
body .ec-v2.hero .et_pb_button.ec-v2-hero-btn--secondary {
  background: none !important;
  color: #fff !important;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 8px 0 !important;
  min-height: 0;
  gap: 22px;
  align-self: center;
}
body .ec-v2.hero .et_pb_button.ec-v2-hero-btn--secondary:hover {
  background: none !important;
  transform: none;
}
/* Ocultar icono por defecto de Divi en estos botones (el texto ya incluye flecha) */
body .ec-v2.hero .ec-v2-hero-btn .et_pb_button:after {
  display: none !important;
}

/* Pie del hero: "Descubre tu lugar aquí" anclado abajo-izquierda y nota
   abajo-derecha, separados de las acciones principales (módulos editables). */
body .ec-v2.hero .ec-v2-hero-discover {
  position: absolute;
  left: 80px;
  bottom: 27px;
  width: auto;
  margin: 0;
  padding: 0;
  z-index: 2;
}
body .ec-v2.hero .ec-v2-hero-discover a {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  display: inline-flex;
  gap: 27px;
  align-items: center;
  color: #fff;
}
body .ec-v2.hero .ec-v2-hero-discover a span { font-size: 24px; }
body .ec-v2.hero .ec-v2-hero-note {
  position: absolute;
  right: 64px;
  bottom: 27px;
  width: auto;
  margin: 0;
  z-index: 2;
}
body .ec-v2.hero .ec-v2-hero-note span,
body .ec-v2.hero .ec-v2-hero-note .et_pb_text_inner,
body .ec-v2.hero .ec-v2-hero-note p {
  font-size: 10px;
  background: #102737a6;
  padding: 4px 8px;
  display: inline-block;
  color: #fff;
  margin: 0;
}

@media (min-width: 1600px) {
  body .ec-v2.hero .ec-v2-hero-col { padding-left: calc((100vw - 1280px) / 2); }
  body .ec-v2.hero .ec-v2-hero-discover { left: calc((100vw - 1280px) / 2); }
}
@media (max-width: 1100px) {
  body .ec-v2.hero .ec-v2-hero-col { padding-left: 40px; padding-right: 40px; }
  body .ec-v2.hero .ec-v2-hero-discover { left: 40px; }
  body .ec-v2.hero .ec-v2-hero-note { right: 40px; }
  body .ec-v2.hero h1,
  body .ec-v2.hero .et_pb_text h1 { font-size: 76px; }
}
@media (max-width: 900px) {
  body .ec-v2.hero.et_pb_section { height: 850px; background-position: 65% center !important; }
  body .ec-v2.hero .ec-v2-hero-col { padding-top: 175px; }
  body .ec-v2.hero.et_pb_section::before {
    background: linear-gradient(90deg, #0b243ce8, #0b243c70 65%, #0b243c30);
  }
  body .ec-v2.hero .ec-v2-hero-note span,
  body .ec-v2.hero .ec-v2-hero-note .et_pb_text_inner { max-width: 200px; }
}
@media (max-width: 650px) {
  body .ec-v2.hero.et_pb_section { height: 810px; background-position: 62% center !important; }
  body .ec-v2.hero.et_pb_section::before {
    background:
      linear-gradient(90deg, #0c263ee8, #0c263c65),
      linear-gradient(0deg, #0c263c90, transparent);
  }
  body .ec-v2.hero .ec-v2-hero-col { padding: 174px 20px 20px; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
  body .ec-v2.hero .ec-v2-hero-eyebrow .eyebrow,
  body .ec-v2.hero .eyebrow.light {
    font-size: 8px; max-width: 280px; line-height: 1.8; letter-spacing: 1.5px; margin-bottom: 30px;
  }
  body .ec-v2.hero h1,
  body .ec-v2.hero .et_pb_text h1 { font-size: 58px; letter-spacing: -2.7px; line-height: 1.02; }
  body .ec-v2.hero .hero-intro { font-size: 15px; margin-top: 27px; }
  /* Acciones apiladas en móvil, como v2 original */
  body .ec-v2.hero .ec-v2-hero-btn { width: auto; align-self: flex-start; }
  body .ec-v2.hero .ec-v2-hero-btn--primary { margin-top: 27px; margin-left: 0; }
  body .ec-v2.hero .ec-v2-hero-btn--secondary { margin-top: 14px; margin-left: 0; align-self: flex-start; }
  /* Pie en flujo inferior, separado de los botones */
  body .ec-v2.hero .ec-v2-hero-discover { position: static; left: auto; bottom: auto; margin-top: auto; padding-top: 20px; width: 100%; }
  body .ec-v2.hero .ec-v2-hero-discover a { font-size: 8px; }
  body .ec-v2.hero .ec-v2-hero-discover a span { font-size: 20px; }
  body .ec-v2.hero .ec-v2-hero-note {
    position: static; right: auto; bottom: auto; margin-top: 4px; width: 100%;
  }
  body .ec-v2.hero .ec-v2-hero-note span,
  body .ec-v2.hero .ec-v2-hero-note .et_pb_text_inner,
  body .ec-v2.hero .ec-v2-hero-note p {
    display: block; max-width: none; font-size: 8px; background: none; padding: 4px 0; color: #d9e1e6;
  }
}
/* ==========================================================================
   EC-V2 · 03 NUESTRA DIÓCESIS
   Fondo crema, titular 64 px + itálica, fotografía con rótulo verde y
   cuatro valores en <details>/<summary> nativos (sin JS).
   ========================================================================== */

body .ec-v2.diocese.et_pb_section { background: var(--cream); }

body .ec-v2 .et_pb_row.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  margin-top: 10px;
}
body .ec-v2 .intro-grid > .et_pb_column + .et_pb_column { padding-top: 5px; }
body .ec-v2 .intro-grid p:not(.lead) { font-size: 16px; margin: 20px 0; }

body .ec-v2 .et_pb_row.identity-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}
body .ec-v2 .identity-photo { position: relative; }
body .ec-v2 .identity-photo img {
  height: 440px;
  object-position: 65% center;
}
body .ec-v2 .identity-photo figcaption {
  background: var(--green);
  color: #fff;
  padding: 21px 28px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  position: absolute;
  bottom: -22px;
  right: -24px;
}
body .ec-v2 .identity-values details { border-top: 1px solid #c8ceca; }
body .ec-v2 .identity-values details:last-child { border-bottom: 1px solid #c8ceca; }
body .ec-v2 .identity-values summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.3;
  padding: 22px 0;
}
body .ec-v2 .identity-values summary::-webkit-details-marker { display: none; }
body .ec-v2 .identity-values summary > span {
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.5;
  color: var(--coral);
}
body .ec-v2 .identity-values summary b {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}
body .ec-v2 .identity-values details[open] summary b { transform: rotate(45deg); }
body .ec-v2 .identity-values details p {
  padding: 0 30px 25px 36px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1100px) {
  body .ec-v2 .et_pb_row.intro-grid,
  body .ec-v2 .et_pb_row.identity-grid { gap: 45px; }
}
@media (max-width: 900px) {
  body .ec-v2 .et_pb_row.intro-grid { gap: 35px; }
  body .ec-v2 .et_pb_row.identity-grid { gap: 35px; }
  body .ec-v2 .identity-photo figcaption { font-size: 20px; right: -12px; padding: 18px; }
}
@media (max-width: 650px) {
  body .ec-v2 .et_pb_row.intro-grid,
  body .ec-v2 .et_pb_row.identity-grid { grid-template-columns: 1fr; gap: 35px; }
  body .ec-v2 .intro-grid .lead { font-size: 21px; }
  body .ec-v2 .intro-grid p:not(.lead) { font-size: 15px; }
  body .ec-v2 .et_pb_row.identity-grid { margin-top: 35px; gap: 42px; }
  body .ec-v2 .identity-photo img { height: 350px; object-position: 60% center; }
  body .ec-v2 .identity-photo figcaption {
    font-size: 20px;
    right: 0;
    bottom: -15px;
    left: 22px;
    padding: 18px;
  }
  body .ec-v2 .identity-values summary { font-size: 27px; padding: 19px 0; }
  body .ec-v2 .identity-values details p { font-size: 14px; }
}

/* ==========================================================================
   EC-V2 · 04 BIENVENIDA EPISCOPAL
   Fondo #E6EEE9, retrato con marco desplazado y bloque «Un Café con el Obispo».
   El retrato es ficticio: el rótulo visible y el alt lo advierten.
   ========================================================================== */

body .ec-v2.bishop.et_pb_section { background: #e6eee9; }
body .ec-v2 .et_pb_row.bishop-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 108px;
  align-items: center;
}
body .ec-v2 .portrait { position: relative; margin-left: 30px; }
body .ec-v2 .portrait:before {
  content: '';
  position: absolute;
  top: 25px;
  left: -30px;
  width: 100%;
  height: 100%;
  border: 1px solid #79968b;
  z-index: 0;
}
body .ec-v2 .portrait img {
  position: relative;
  height: 650px;
  object-position: center 25%;
}
body .ec-v2 .portrait figcaption {
  position: relative;
  font-size: 10px;
  line-height: 1.6;
  padding-top: 14px;
  color: #435e56;
}
body .ec-v2 .bishop-copy h2 { font-size: 59px; }
body .ec-v2 .bishop-copy .lead { margin-top: 28px; font-size: 23px; }
body .ec-v2 .bishop-copy > p:not(.eyebrow):not(.lead) {
  margin-top: 18px;
  color: var(--muted);
  max-width: 420px;
}
body .ec-v2 .bishop-name { display: grid; gap: 6px; margin: 28px 0; }
body .ec-v2 .bishop-name strong { font-weight: 600; font-size: 16px; }
body .ec-v2 .bishop-name span { font-size: 12px; letter-spacing: .5px; }
body .ec-v2 .coffee {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #bdcec3;
  padding: 24px 0 0;
  margin-top: 34px;
  width: 100%;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
}
body .ec-v2 .coffee small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 7px;
}
body .ec-v2 .coffee > span:last-child { margin-left: auto; }
body .ec-v2 .coffee-icon { font-size: 28px; }

@media (max-width: 1100px) {
  body .ec-v2 .et_pb_row.bishop-grid { gap: 45px; }
  body .ec-v2 .portrait { margin-left: 10px; }
  body .ec-v2 .portrait:before { left: -10px; }
  body .ec-v2 .bishop-copy h2 { font-size: 52px; }
}
@media (max-width: 900px) {
  body .ec-v2 .et_pb_row.bishop-grid { gap: 40px; }
  body .ec-v2 .portrait img { height: 590px; }
  body .ec-v2 .bishop-copy h2 { font-size: 43px; }
  body .ec-v2 .bishop-copy .lead { font-size: 19px; }
}
@media (max-width: 650px) {
  body .ec-v2 .et_pb_row.bishop-grid { grid-template-columns: 1fr; gap: 45px; }
  body .ec-v2 .portrait { margin: 0 0 0 14px; }
  body .ec-v2 .portrait img { height: 470px; }
  body .ec-v2 .portrait:before { left: -14px; top: 14px; }
  body .ec-v2 .portrait figcaption { font-size: 8px; line-height: 1.6; padding-top: 10px; }
  body .ec-v2 .bishop-copy h2 { font-size: 43px; }
  body .ec-v2 .bishop-copy .lead { font-size: 21px; }
  body .ec-v2 .bishop-copy > p:not(.eyebrow):not(.lead) { font-size: 15px; }
  body .ec-v2 .coffee { font-size: 22px; }
  body .ec-v2 .coffee small { font-size: 10px; }
}

/* ==========================================================================
   EC-V2 · 05 UN HORIZONTE COMPARTIDO (2033)
   church-07.jpg con doble veladura y parallax sutil (≤ ±50 px, > 900 px,
   sin prefers-reduced-motion). El «2033» decorativo es semitransparente.
   ========================================================================== */

body .ec-v2.vision.et_pb_section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #183b4c;
  min-height: 860px;
  padding: 0;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}
/* Divi puede envolver el fondo en contenedores de paralaje/imagen; se fuerza
   cobertura continua sin mosaicos también en esas capas. */
body .ec-v2.vision .et_parallax_bg,
body .ec-v2.vision .et_pb_section_parallax_bg,
body .ec-v2.vision .et_pb_slides .et_pb_slide {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}
body .ec-v2.vision .et_pb_row,
body .ec-v2.vision .et_pb_column,
body .ec-v2.vision .et_pb_text { position: static; }

/* Visual Builder: la veladura y el contenido son absolutos/relativos y deben
   anclarse a la sección; se fuerza el contenedor solo en modo edición. */
body.et-fb .ec-v2.vision .et_pb_row,
body.et-fb .ec-v2.vision .et_pb_column,
body.et-fb .ec-v2.vision .et_pb_text,
body.et-fb .ec-v2.vision .et_pb_text_inner {
  position: static !important;
}
body .ec-v2 .vision-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(#0c2b43a8, #18344826 40%, #102c43df);
}
body .ec-v2 .vision-content { position: relative; padding: 85px 0 65px; }
body .ec-v2.vision h2 { font-size: 61px; max-width: 950px; }
body .ec-v2 .year {
  font-family: var(--serif);
  font-size: 320px;
  letter-spacing: -18px;
  line-height: 1.1;
  margin-top: 15px;
  color: #ffffffdf;
}
body .ec-v2 .vision-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #ffffff60;
  padding-top: 25px;
  margin-top: 15px;
}
body .ec-v2 .vision-bottom p { font-size: 17px; line-height: 1.6; }

@media (max-width: 1100px) {
  body .ec-v2.vision h2 { font-size: 52px; }
}
@media (max-width: 900px) {
  body .ec-v2.vision h2 { font-size: 53px; }
  body .ec-v2 .year { font-size: 260px; }
}
@media (max-width: 650px) {
  body .ec-v2.vision.et_pb_section { min-height: 690px; }
  body .ec-v2 .vision-content { padding: 70px 0 50px; }
  body .ec-v2.vision h2 { font-size: 40px; letter-spacing: -1.5px; line-height: 1.1; }
  body .ec-v2 .year { font-size: 145px; letter-spacing: -8px; margin: 45px 0 25px; line-height: 1; }
  body .ec-v2 .vision-bottom { display: block; padding-top: 25px; }
  body .ec-v2 .vision-bottom p { font-size: 15px; }
  body .ec-v2 .vision-bottom .button { margin-top: 26px; }
}
/* Imagen servida como fondo nativo de la sección (cover) para cobertura total
   y compatibilidad con el Visual Builder; profundidad conservada con veladura. */

/* ==========================================================================
   EC-V2 · 06 ENCUENTRA UNA IGLESIA (directorio / buscador)
   Contenedor institucional, herramienta blanca con pestañas Mapa/Lista,
   mapa interactivo Leaflet (Ecuador continental) y panel de filtros.
   Componente aislado .ec-v2-finder preparado para [ec_congregaciones].
   Sin datos ni marcadores ficticios.
   ========================================================================== */

body .ec-v2.finder.et_pb_section {
  background: var(--cream);
}

/* Encabezado editable (módulos nativos Divi) */
body .ec-v2 .ec-v2-finder-intro .eyebrow {
  margin-bottom: 18px;
}
body .ec-v2 .finder-title {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 22px;
  max-width: 820px;
}
body .ec-v2 .finder-title em {
  font-style: italic;
  color: var(--blue);
}
body .ec-v2 .finder-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 700px;
  margin: 0 0 44px;
}

/* Gran contenedor azul institucional */
body .ec-v2 .ec-v2-finder {
  background: var(--navy);
  border-radius: 18px;
  padding: 28px;
  color: #fff;
}
body .ec-v2 .finder-shell {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  color: var(--ink);
}

/* Pestañas MAPA / LISTA */
body .ec-v2 .finder-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #dde3e1;
  background: #fbfaf7;
  padding: 0 20px;
}
body .ec-v2 .finder-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 18px 22px 15px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  cursor: pointer;
}
body .ec-v2 .finder-tab:hover {
  color: var(--navy);
}
body .ec-v2 .finder-tab.active,
body .ec-v2 .finder-tab[aria-selected="true"] {
  color: var(--navy);
  border-bottom-color: var(--coral);
}
body .ec-v2 .finder-tab:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
}

/* Vista mapa: mapa protagonista + panel lateral */
body .ec-v2 .finder-tool {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  min-height: 560px;
}
body .ec-v2 .finder-tool[hidden] {
  display: none !important;
}
body .ec-v2 .finder-map-col {
  position: relative;
  min-height: 560px;
  background: #e8ecea;
}
body .ec-v2 .finder-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* Controles Leaflet limpios y accesibles */
body .ec-v2 .finder-map .leaflet-control-zoom a {
  color: var(--navy);
}
body .ec-v2 .finder-map .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255,255,255,0.88);
}

/* Panel lateral de filtros */
body .ec-v2 .finder-filters {
  border-left: 1px solid #e3e7e5;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
}
body .ec-v2 .finder-filters-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
body .ec-v2 .finder-filters-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
body .ec-v2 .finder-form {
  display: grid;
  gap: 14px;
}
body .ec-v2 .finder-field {
  display: grid;
  gap: 6px;
}
body .ec-v2 .finder-field > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
body .ec-v2 .finder-field input,
body .ec-v2 .finder-field select {
  width: 100%;
  height: 44px;
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
}
body .ec-v2 .finder-field select:disabled {
  background: #f3f5f4;
  color: #7a8a88;
}
body .ec-v2 .finder-field input:focus,
body .ec-v2 .finder-field select:focus {
  outline: 2px solid rgba(174,54,66,0.25);
  border-color: var(--coral);
}
body .ec-v2 .finder-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
body .ec-v2 .finder-btn {
  height: 44px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid transparent;
}
body .ec-v2 .finder-btn.primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
body .ec-v2 .finder-btn.primary:hover {
  background: #962e39;
}
body .ec-v2 .finder-btn.secondary {
  background: #fff;
  color: var(--navy);
  border-color: #c7d0cd;
}
body .ec-v2 .finder-btn.secondary:hover {
  background: #f6f4ef;
}

/* Estado vacío / sin datos verificados */
body .ec-v2 .finder-status {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e6ebe9;
}
body .ec-v2 .finder-empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  background: #f7f5f0;
  border: 1px dashed #d7dcd9;
  border-radius: 10px;
  padding: 14px 14px;
}

/* Vista LISTA */
body .ec-v2 .finder-list-panel {
  padding: 36px 28px;
  min-height: 420px;
}
body .ec-v2 .finder-list-panel[hidden] {
  display: none !important;
}
body .ec-v2 .finder-list-empty {
  max-width: 640px;
  margin: 30px auto;
  text-align: center;
  color: var(--muted);
}
body .ec-v2 .finder-list-empty-title {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 12px;
}
body .ec-v2 .finder-list-empty p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* Atribución */
body .ec-v2 .finder-attrib {
  margin: 14px 4px 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
body .ec-v2 .finder-attrib a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px) {
  body .ec-v2 .finder-tool {
    grid-template-columns: 1fr;
  }
  body .ec-v2 .finder-map-col {
    min-height: 420px;
  }
  body .ec-v2 .finder-filters {
    border-left: 0;
    border-top: 1px solid #e3e7e5;
  }
}
@media (max-width: 767px) {
  body .ec-v2 .finder-title {
    font-size: 40px;
  }
  body .ec-v2 .finder-lead {
    font-size: 16px;
    margin-bottom: 28px;
  }
  body .ec-v2 .ec-v2-finder {
    padding: 14px;
    border-radius: 14px;
  }
  body .ec-v2 .finder-tabs {
    padding: 0 10px;
  }
  body .ec-v2 .finder-tab {
    flex: 1;
    text-align: center;
    padding: 14px 10px 12px;
  }
  body .ec-v2 .finder-map-col {
    min-height: 360px;
  }
  body .ec-v2 .finder-filters {
    padding: 22px 18px 20px;
  }
  body .ec-v2 .finder-actions {
    grid-template-columns: 1fr;
  }
  body .ec-v2 .finder-list-panel {
    padding: 24px 18px;
  }
  body .ec-v2 .finder-list-empty-title {
    font-size: 24px;
  }
}
/* ==========================================================================
   EC-V2 · 07 MINISTERIOS Y PROGRAMAS
   Rejilla asimétrica: tarjeta grande YENDO, estudio, y bloque coral.
   ========================================================================== */

body .ec-v2.ministries.et_pb_section { background: var(--cream); }
body .ec-v2 .ministry-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 330px 270px; gap: 24px;
}
body .ec-v2 .photo-card {
  position: relative; overflow: hidden; color: #fff; text-align: left; border: 0; padding: 0; background: var(--navy);
}
body .ec-v2 .photo-card img { position: absolute; inset: 0; height: 100%; transition: transform .6s; }
body .ec-v2 .photo-card:hover img { transform: scale(1.035); }
body .ec-v2 .main-card { grid-row: 1 / 3; }
body .ec-v2 .main-card img { object-position: 67% center; }
body .ec-v2 .photo-shade { position: absolute; inset: 0; background: linear-gradient(transparent 25%, #102638df); }
body .ec-v2 .card-copy { position: absolute; bottom: 45px; left: 38px; right: 55px; display: grid; gap: 17px; }
body .ec-v2 .card-copy small,
body .ec-v2 .color-card small { font-family: var(--sans); font-size: 10px; line-height: 1.5; letter-spacing: 1.6px; }
body .ec-v2 .card-copy strong { font-family: var(--serif); font-size: 58px; line-height: 1; letter-spacing: -1.8px; font-weight: 400; }
body .ec-v2 .card-copy > span { font-size: 16px; }
body .ec-v2 .round-arrow {
  position: absolute; bottom: 40px; right: 27px; border: 1px solid #ffffff80; border-radius: 50%;
  width: 42px; height: 42px; text-align: center; line-height: 40px; font-size: 24px;
}
body .ec-v2 .study-card .card-copy strong { font-size: 41px; }
body .ec-v2 .study-card .card-copy { bottom: 30px; gap: 12px; }
body .ec-v2 .color-card {
  background: #b6404c; color: #fff; text-align: left; border: 0; padding: 32px 38px;
  display: flex; flex-direction: column; justify-content: space-between;
}
body .ec-v2 .color-card strong { font-family: var(--serif); font-size: 42px; line-height: 1.05; letter-spacing: -1px; font-weight: 400; }
body .ec-v2 .color-card > span { font-size: 12px; display: flex; justify-content: space-between; gap: 15px; }
body .ec-v2 .color-card b { font-size: 24px; font-weight: 400; }
body .ec-v2 .ministry-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 35px; }

@media (max-width: 1100px) {
  body .ec-v2 .main-card .card-copy strong { font-size: 47px; }
}
@media (max-width: 900px) {
  body .ec-v2 .card-copy { left: 27px; }
  body .ec-v2 .main-card .card-copy strong { font-size: 47px; }
}
@media (max-width: 650px) {
  body .ec-v2 .ministry-grid { display: block; }
  body .ec-v2 .main-card { height: 500px; width: 100%; }
  body .ec-v2 .study-card { height: 330px; width: 100%; margin-top: 20px; }
  body .ec-v2 .color-card { margin-top: 20px; width: 100%; min-height: 275px; padding: 30px; }
  body .ec-v2 .card-copy { bottom: 35px; }
  body .ec-v2 .card-copy strong { font-size: 48px; }
  body .ec-v2 .card-copy > span { font-size: 14px; }
  body .ec-v2 .ministry-bottom { display: block; margin-top: 25px; }
  body .ec-v2 .ministry-bottom p { font-size: 14px; }
  body .ec-v2 .ministry-bottom .text-link { margin-top: 10px; }
}

/* ==========================================================================
   EC-V2 · 08 INSTITUTO BÍBLICO DE FORMACIÓN ANGLICANA
   Rejilla partida 1/1, fondo verde, Moodle marcado como «ACCESO PREVISTO».
   ========================================================================== */

body .ec-v2.institute.et_pb_section { background: var(--green); color: #fff; padding: 0; }
body .ec-v2 .et_pb_row.institute-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 800px; width: 100%; max-width: none; margin: 0;
}
body .ec-v2 .institute-photo { position: relative; overflow: hidden; min-height: 800px; }
body .ec-v2 .institute-photo img { position: absolute; inset: 0; height: 100%; object-position: 40% center; filter: brightness(.85); }
body .ec-v2 .institute-photo > span {
  position: absolute; bottom: 60px; left: 60px; font-size: 11px; letter-spacing: 2px;
  writing-mode: vertical-rl; transform: rotate(180deg);
}
body .ec-v2 .institute-copy { padding: 90px 75px; }
body .ec-v2.institute .eyebrow { color: #dbefde; font-size: 10px; }
body .ec-v2.institute h2 { font-size: 58px; }
body .ec-v2 .institute-copy > p:not(.eyebrow) { margin: 27px 0 30px; max-width: 390px; color: #e5ede7; }
body .ec-v2 .institute-links button {
  display: flex; align-items: center; justify-content: space-between; background: none; color: #fff;
  border: 0; border-top: 1px solid #71a59d; width: 100%; padding: 18px 0; font-size: 14px; text-align: left; gap: 20px;
}
body .ec-v2 .institute-links button:last-child { border-bottom: 1px solid #71a59d; }
body .ec-v2 .institute-links span { font-size: 22px; }
body .ec-v2 .moodle { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 28px; font-size: 13px; }
body .ec-v2 .moodle small { font-size: 8px; letter-spacing: 1px; border: 1px solid #89b2a9; padding: 5px 9px; }

@media (max-width: 1100px) {
  body .ec-v2.institute h2 { font-size: 43px; }
  body .ec-v2 .institute-copy { padding: 65px 40px; }
}
@media (max-width: 900px) {
  body .ec-v2.institute h2 { font-size: 43px; }
  body .ec-v2 .institute-copy { padding: 60px 35px; }
}
@media (max-width: 650px) {
  body .ec-v2 .et_pb_row.institute-split { grid-template-columns: 1fr; min-height: 0; }
  body .ec-v2 .institute-photo { height: 430px; min-height: 430px; }
  body .ec-v2 .institute-photo > span { left: 25px; bottom: 35px; font-size: 9px; }
  body .ec-v2 .institute-copy { padding: 55px 25px 60px; }
  body .ec-v2 .institute-copy > p:not(.eyebrow) { font-size: 15px; }
  body .ec-v2 .institute-links button { font-size: 13px; }
  body .ec-v2 .moodle { font-size: 12px; }
  body .ec-v2 .moodle small { font-size: 7px; padding: 4px 6px; }
}

/* ==========================================================================
   EC-V2 · 09 VIDA DIOCESANA
   Historia editorial de muestra + agenda en bloque crema.
   ========================================================================== */

body .ec-v2.life.et_pb_section { background: #fff; }
body .ec-v2 .editorial-note { font-size: 11px; color: var(--muted); margin-top: -22px; margin-bottom: 28px; }
body .ec-v2 .et_pb_row.life-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; }
body .ec-v2 .story { background: none; text-align: left; padding: 0; border: 0; width: 100%; }
body .ec-v2 .story-image { position: relative; overflow: hidden; }
body .ec-v2 .story-image img { height: 400px; transition: transform .6s; }
body .ec-v2 .story:hover img { transform: scale(1.035); }
body .ec-v2 .story-image > span {
  position: absolute; bottom: 0; left: 0; background: var(--green); padding: 10px 15px; color: #fff;
  font-size: 9px; letter-spacing: 1.5px;
}
body .ec-v2 .story h3 { font-size: 37px; margin-top: 27px; max-width: 480px; }
body .ec-v2 .story p { font-size: 15px; margin: 16px 0; }
body .ec-v2 .agenda { background: var(--cream); padding: 37px 32px; display: flex; flex-direction: column; }
body .ec-v2 .agenda-top { padding-bottom: 26px; }
body .ec-v2 .agenda-top .eyebrow { margin-bottom: 12px; }
body .ec-v2 .agenda-list { display: block; }
body .ec-v2 .agenda .agenda-list > button,
body .ec-v2 .agenda > button {
  display: flex; align-items: center; gap: 16px; border: 0; border-top: 1px solid #cbd1ce;
  background: none; text-align: left; padding: 24px 0; font-size: 14px; width: 100%;
  border-radius: 0; box-shadow: none; appearance: none; -webkit-appearance: none;
}
body .ec-v2 .agenda .agenda-list > button b,
body .ec-v2 .agenda > button b { margin-left: auto; font-weight: 400; font-size: 22px; }
body .ec-v2 .agenda small { display: block; font-size: 10px; margin-top: 5px; color: var(--muted); }
body .ec-v2 .agenda-icon { font-family: var(--serif); font-size: 28px; color: var(--coral); }
body .ec-v2 .agenda-bottom {
  font-family: var(--serif); font-size: 27px; font-style: italic; border-top: 1px solid #cbd1ce;
  padding-top: 25px; margin-top: auto;
}

@media (max-width: 1100px) {
  body .ec-v2 .et_pb_row.life-grid { gap: 35px; }
}
@media (max-width: 900px) {
  body .ec-v2 .et_pb_row.life-grid { gap: 25px; }
  body .ec-v2 .story-image img { height: 340px; }
  body .ec-v2 .agenda { padding: 25px; }
}
@media (max-width: 650px) {
  body .ec-v2 .et_pb_row.life-grid { grid-template-columns: 1fr; gap: 35px; }
  body .ec-v2 .editorial-note { margin: 0 0 25px; font-size: 10px; }
  body .ec-v2 .story-image img { height: 300px; }
  body .ec-v2 .story h3 { font-size: 32px; }
  body .ec-v2 .story p { font-size: 14px; }
  body .ec-v2 .agenda { padding: 28px 25px; }
  body .ec-v2 .agenda-top h3 { font-size: 32px; }
  body .ec-v2 .agenda-bottom { margin-top: 20px; }
}

/* ==========================================================================
   EC-V2 · 10 GENEROSIDAD QUE SE HACE MISIÓN
   Fondo #AD3442, imagen conceptual de servicio. Sin pagos.
   ========================================================================== */

body .ec-v2.giving.et_pb_section { background: #ad3442; color: #fff; padding: 0; }
body .ec-v2 .et_pb_row.giving-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; width: 100%; max-width: none; margin: 0;
}
body .ec-v2 .giving-photo { position: relative; overflow: hidden; min-height: 650px; }
body .ec-v2 .giving-photo img { position: absolute; inset: 0; height: 100%; object-position: 75% center; }
body .ec-v2 .giving-copy { padding: 85px 75px; }
body .ec-v2.giving h2 { font-size: 65px; }
body .ec-v2 .giving-copy > p:not(.eyebrow):not(.giving-cta):not(.giving-note) { margin: 27px 0 32px; max-width: 385px; font-size: 17px; }
body .ec-v2 .giving-copy .giving-cta { margin: 0; max-width: none; }
body .ec-v2 .giving-copy .giving-note { display: block; font-size: 10px; margin: 22px 0 0; max-width: 370px; line-height: 1.6; }

@media (max-width: 1100px) {
  body .ec-v2 .giving-copy { padding: 65px 40px; }
  body .ec-v2.giving h2 { font-size: 46px; }
}
@media (max-width: 900px) {
  body .ec-v2 .giving-copy { padding: 65px 35px; }
  body .ec-v2.giving h2 { font-size: 46px; }
}
@media (max-width: 650px) {
  body .ec-v2 .et_pb_row.giving-split { grid-template-columns: 1fr; min-height: 0; }
  body .ec-v2 .giving-photo { height: 370px; min-height: 370px; }
  body .ec-v2 .giving-photo img { object-position: 70% center; }
  body .ec-v2 .giving-copy { padding: 55px 25px 65px; }
  body .ec-v2 .giving-copy > p:not(.eyebrow) { font-size: 15px; }
  body .ec-v2 .giving-copy > small { font-size: 9px; }
}

/* ==========================================================================
   EC-V2 · 11 ORACIÓN Y ACOMPAÑAMIENTO
   church-08.jpg; acciones abren el diálogo (formulario de oración deshabilitado).
   ========================================================================== */

body .ec-v2.prayer.et_pb_section { background: var(--cream); }
body .ec-v2 .et_pb_row.prayer-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px; align-items: center; }
body .ec-v2.prayer h2 { font-size: 64px; }
body .ec-v2.prayer .lead { margin: 30px 0; font-size: 21px; }
body .ec-v2 .prayer-actions { margin-top: 34px; }
body .ec-v2 .prayer-actions button {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0;
  border: 0; border-top: 1px solid #bac7c5; width: 100%; background: none; text-align: left; font-size: 14px;
}
body .ec-v2 .prayer-actions button:last-child { border-bottom: 1px solid #bac7c5; }
body .ec-v2 .prayer-actions span { font-size: 23px; }
body .ec-v2.prayer figure img,
body .ec-v2.prayer .prayer-photo img { height: 530px; object-position: 43% center; }
body .ec-v2.prayer figcaption,
body .ec-v2.prayer .prayer-caption {
  font-family: var(--serif); font-style: italic; font-size: 22px; margin-top: 18px; margin-bottom: 0;
}

@media (max-width: 1100px) {
  body .ec-v2.prayer h2 { font-size: 52px; }
  body .ec-v2 .et_pb_row.prayer-grid { gap: 45px; }
}
@media (max-width: 900px) {
  body .ec-v2 .et_pb_row.prayer-grid { gap: 40px; }
}
@media (max-width: 650px) {
  body .ec-v2 .et_pb_row.prayer-grid { grid-template-columns: 1fr; gap: 40px; }
  body .ec-v2.prayer h2 { font-size: 43px; }
  body .ec-v2.prayer .lead { font-size: 19px; }
  body .ec-v2.prayer figure img,
  body .ec-v2.prayer .prayer-photo img { height: 390px; }
  body .ec-v2.prayer figcaption,
  body .ec-v2.prayer .prayer-caption { font-size: 20px; }
}

/* ==========================================================================
   EC-V2 · 12 PIE
   Fondo #102C44, marca, columnas de enlaces y nota de prototipo.
   ========================================================================== */

body .ec-v2.site-footer.et_pb_section { background: #102c44; color: #e6edf1; padding: 80px 0 25px; }
body .ec-v2 .footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 60px; border-bottom: 1px solid #597080;
}
body .ec-v2 .footer-top .brand { font-size: 25px; }
body .ec-v2 .footer-top p { font-family: var(--serif); font-size: 36px; line-height: 1.25; }
body .ec-v2 .back-top {
  border: 1px solid #738997; border-radius: 50%; width: 48px; height: 48px;
  text-align: center; line-height: 45px; font-size: 25px;
}
body .ec-v2 .footer-columns { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1.2fr; gap: 44px; padding: 55px 0 70px; }
body .ec-v2 .footer-columns h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; margin-bottom: 23px; color: #fff; }
body .ec-v2 .footer-columns a,
body .ec-v2 .footer-columns button {
  display: block; background: none; border: 0; padding: 5px 0; color: #d1dfe7;
  font-size: 12px; line-height: 1.6; text-align: left;
}
body .ec-v2 .footer-columns a:hover,
body .ec-v2 .footer-columns button:hover { text-decoration: underline; text-underline-offset: 4px; }
body .ec-v2 .footer-columns p { font-size: 13px; line-height: 1.9; margin-bottom: 14px; }
body .ec-v2 .footer-columns .footer-contact { border-bottom: 1px solid #6d8595; margin-bottom: 15px; padding-bottom: 12px; }
body .ec-v2 .footer-bottom {
  display: flex; justify-content: space-between; gap: 25px; font-size: 9px; color: #b9cbd7;
  border-top: 1px solid #526a7b; padding-top: 25px;
}

@media (max-width: 1100px) {
  body .ec-v2 .footer-columns { gap: 25px; }
  body .ec-v2 .footer-top p { font-size: 28px; }
  body .ec-v2 .footer-top .brand { font-size: 20px; }
}
@media (max-width: 900px) {
  body .ec-v2 .footer-columns { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  body .ec-v2 .footer-top p { font-size: 28px; }
  body .ec-v2 .footer-top .brand { font-size: 20px; }
}
@media (max-width: 650px) {
  body .ec-v2.site-footer.et_pb_section { padding-top: 60px; }
  body .ec-v2 .footer-top { flex-wrap: wrap; gap: 35px; padding-bottom: 40px; position: relative; }
  body .ec-v2 .footer-top .brand { font-size: 21px; }
  body .ec-v2 .footer-top p { font-size: 30px; width: 100%; }
  body .ec-v2 .back-top { position: absolute; right: 0; top: 0; width: 40px; height: 40px; line-height: 37px; font-size: 22px; }
  body .ec-v2 .footer-columns { grid-template-columns: 1fr 1fr; gap: 35px 20px; padding: 40px 0; }
  body .ec-v2 .footer-columns h3 { font-size: 11px; line-height: 1.5; margin-bottom: 15px; }
  body .ec-v2 .footer-columns a,
  body .ec-v2 .footer-columns button { font-size: 11px; padding: 6px 0; }
  body .ec-v2 .footer-columns p { font-size: 11px; }
  body .ec-v2 .footer-bottom { display: block; font-size: 8px; line-height: 1.7; }
  body .ec-v2 .footer-bottom span { display: block; margin-bottom: 10px; }
}

/* ==========================================================================
   EC-V2 · DIÁLOGO DE DETALLE
   <dialog> nativo con fondo crema y telón azul desenfocado.
   ========================================================================== */

body .ec-v2.dialog-detail {
  border: 0;
  max-width: 660px;
  width: calc(100% - 36px);
  max-height: 85vh;
  padding: 55px;
  background: var(--cream);
  color: var(--ink);
}
body .ec-v2.dialog-detail::backdrop {
  background: #0c223ac9;
  backdrop-filter: blur(5px);
}
body .ec-v2.dialog-detail h2 { font-size: 44px; margin-bottom: 25px; letter-spacing: -1.5px; }
body .ec-v2.dialog-detail p { margin: 18px 0; }
body .ec-v2.dialog-detail .eyebrow { font-size: 9px; margin-top: 0; }
body .ec-v2.dialog-detail .button { margin-top: 25px; }
body .ec-v2 .dialog-close {
  position: absolute;
  right: 18px;
  top: 10px;
  background: none;
  border: 0;
  font-size: 33px;
  line-height: 1.2;
}
body .ec-v2 .dialog-form label { display: block; margin-top: 15px; font-size: 13px; }
body .ec-v2 .dialog-form input,
body .ec-v2 .dialog-form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #9aa8ab;
  background: #eee;
  font: inherit;
}
body .ec-v2 .dialog-form textarea { min-height: 100px; }
body .ec-v2 .dialog-form button { margin-top: 15px; }
body .ec-v2 button:disabled { cursor: not-allowed; opacity: .65; }

@media (max-width: 650px) {
  body .ec-v2.dialog-detail { padding: 42px 25px; }
  body .ec-v2.dialog-detail h2 { font-size: 35px; }
  body .ec-v2.dialog-detail p { font-size: 14px; }
}

/* Native editable image migration, scoped to the seven converted placements. */
body .ec-v2 .ec-native-photo.et_pb_image {position:relative;display:block;width:100%;max-width:none;line-height:0;}
body .ec-v2 .ec-native-photo .et_pb_image_wrap {display:block;width:100%;height:100%;}
body .ec-v2 .ec-native-photo img {display:block;width:100%;object-fit:cover;}
body .ec-v2 .ec-native-identity-caption {position:absolute;bottom:-22px;right:-24px;z-index:2;background:var(--green);color:white;padding:21px 28px;font-family:var(--serif);font-size:24px;line-height:1.3;}
body .ec-v2 .ec-native-portrait-caption {margin-left:30px;padding-top:14px;font-size:10px;color:#435e56;}
body .ec-v2 .ec-native-photo.portrait {width:calc(100% - 30px);margin-left:30px;}
body .ec-v2 .ec-native-photo.institute-photo {height:800px;}
body .ec-v2 .ec-native-institute-caption {position:absolute;bottom:60px;left:60px;color:white;font-size:11px;letter-spacing:2px;writing-mode:vertical-rl;transform:rotate(180deg);}
body .ec-v2 .ec-native-photo.giving-photo {height:650px;}
body .ec-v2 .ec-native-story-tag {position:relative;margin-top:-34px;width:max-content;background:var(--green);color:white;padding:10px 15px;font-size:9px;letter-spacing:1.5px;z-index:2;}
body .ec-v2 .ec-native-ministry-layout {display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:auto 330px 270px auto;gap:24px;}
body .ec-v2 .ec-native-ministry-layout > :first-child {grid-column:1/-1;}
body .ec-v2 .ec-native-ministry-layout .main-card {grid-column:1;grid-row:2/4;}
body .ec-v2 .ec-grid-study {grid-column:2;grid-row:2;}
body .ec-v2 .ec-grid-color {grid-column:2;grid-row:3;}
body .ec-v2 .ec-grid-bottom {grid-column:1/-1;}
body .ec-v2 .ec-grid-study > .et_pb_text_inner,body .ec-v2 .ec-grid-study .study-card,body .ec-v2 .ec-grid-color > .et_pb_text_inner,body .ec-v2 .ec-grid-color .color-card {height:100%;width:100%;}
body .ec-v2 .ec-native-card.et_pb_blurb {position:relative;height:100%;cursor:pointer;}
body .ec-v2 .ec-native-card .et_pb_blurb_content,body .ec-v2 .ec-native-card .et_pb_blurb_container,body .ec-v2 .ec-native-card .et_pb_blurb_description {position:static;max-width:none;width:100%;padding:0;}
body .ec-v2 .ec-native-card .et_pb_main_blurb_image {position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;}
body .ec-v2 .ec-native-card .et_pb_image_wrap,body .ec-v2 .ec-native-card .et_pb_main_blurb_image a {display:block;width:100%;height:100%;}
body .ec-v2 .ec-native-card img {width:100%;object-fit:cover;}
body .ec-v2 .ec-native-card .photo-shade {pointer-events:none;}
body .ec-v2 .ec-native-card:focus-within {outline:2px solid var(--coral);outline-offset:4px;}
@media(max-width:1100px){body .ec-v2 .ec-native-photo.portrait{margin-left:10px;width:calc(100% - 10px);}body .ec-v2 .ec-native-portrait-caption{margin-left:10px;}}
@media(max-width:900px){body .ec-v2 .ec-native-identity-caption{font-size:20px;right:-12px;padding:18px;}}
@media(max-width:650px){body .ec-v2 .ec-native-identity-caption{right:0;left:22px;bottom:-15px;font-size:20px;padding:18px;}body .ec-v2 .ec-native-photo.portrait{margin-left:14px;width:calc(100% - 14px);}body .ec-v2 .ec-native-portrait-caption{margin-left:14px;font-size:8px;padding-top:10px;}body .ec-v2 .ec-native-photo.institute-photo{height:430px;}body .ec-v2 .ec-native-institute-caption{bottom:35px;left:25px;font-size:9px;}body .ec-v2 .ec-native-photo.giving-photo{height:370px;}body .ec-v2 .ec-native-ministry-layout{display:block;}body .ec-v2 .ec-native-card.main-card{height:500px;}body .ec-v2 .ec-native-card.study-card{height:330px;margin-top:20px;}body .ec-v2 .ec-grid-color .color-card{height:auto;} }

/* Prevent old decorative-span selectors from styling Divi image wrappers. */
body .ec-v2 .ec-native-card img.et-waypoint {opacity:1;animation:none;}
body .ec-v2 .ec-native-photo.institute-photo > .et_pb_image_wrap {position:absolute;inset:0;transform:none;writing-mode:horizontal-tb;font-size:inherit;letter-spacing:normal;}
body .ec-v2 .ec-native-photo.story-image > .et_pb_image_wrap {position:static;background:none;padding:0;letter-spacing:normal;font-size:inherit;}
body .ec-v2 .et_pb_column .ec-native-identity-caption {padding:21px 28px;}
body .ec-v2 .et_pb_column .ec-native-portrait-caption {margin-left:30px;padding-top:14px;}
body .ec-v2 .et_pb_column .ec-native-story-tag {margin-top:-34px;padding:10px 15px;}
body .ec-v2 .et_pb_column .ec-native-photo.portrait {margin-left:30px;}
@media(max-width:1100px){body .ec-v2 .et_pb_column .ec-native-photo.portrait,body .ec-v2 .et_pb_column .ec-native-portrait-caption{margin-left:10px;}}
@media(max-width:900px){body .ec-v2 .et_pb_column .ec-native-identity-caption{padding:18px;}}
@media(max-width:650px){body .ec-v2 .et_pb_column .ec-native-photo.portrait,body .ec-v2 .et_pb_column .ec-native-portrait-caption{margin-left:14px;}body .ec-v2 .et_pb_column .ec-native-portrait-caption{padding-top:10px;}}
