/* Encuentro Divino — v3. Luminoso y cercano: azul eléctrico, marino y acento naranja; Nunito Sans. */

@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

.ed-site {
  --ed-navy: #001b5a;
  --ed-blue: #003bff;
  --ed-sky: #0098ff;
  --ed-accent: #fa7908;
  --ed-accent-dark: #a84300;
  --ed-accent-btn: #bf4d00; /* white text 4.9:1 */
  --ed-text: #5f6b7a;
  --ed-mist: #f4f6fb;
  --ed-line: #e3e8f2;
  --ed-gradient: linear-gradient(110deg, #0070e0 0%, #003bff 100%); /* white text >= 4.7:1 */
  --ed-shadow: 0 18px 40px -22px rgba(0, 27, 90, .35);
  --ed-shadow-lg: 0 30px 60px -30px rgba(0, 27, 90, .45);
  --ed-wrap: 1180px;
  --ed-gutter: clamp(20px, 4vw, 40px);
  --ed-ease: cubic-bezier(.22, .8, .24, 1);
  overflow: clip;
  background: #fff;
  color: var(--ed-text);
  font-family: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.ed-site * { box-sizing: border-box; }
.ed-site :where(h1, h2, h3) { color: var(--ed-navy); font-family: inherit; font-weight: 800; letter-spacing: -.02em; }
.ed-site a { text-underline-offset: .25em; }
.ed-site a:focus-visible,
.ed-site summary:focus-visible,
.ed-site button:focus-visible,
.ed-site [tabindex]:focus-visible { outline: 3px solid var(--ed-navy); outline-offset: 4px; border-radius: 6px; }
.ed-site :is(.ed-mission, .ed-cta, .ed-infobar) :focus-visible,
.ed-site .ed-float:focus-visible { outline-color: #fff; }
.ed-site [id] { scroll-margin-top: 100px; }
.ed-site .wp-block-group,
.ed-site .wp-block-columns { margin-block-start: 0; }
html { scroll-behavior: smooth; }
.ed-scroll-sentinel { position: absolute; top: 0; width: 1px; height: 1px; }

.ed-site .ed-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ed-blue); }
.ed-site .ed-kicker--light { color: #8fd0ff; }
.ed-site .ed-gradient-text { background: var(--ed-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ed-site .ed-section-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; margin: 0 0 20px; text-wrap: balance; }

/* Buttons ------------------------------------------------------------ */
.ed-site .ed-btn .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ed-ease), box-shadow .3s;
}
.ed-site .ed-btn .wp-block-button__link:hover { transform: translateY(-3px); }
.ed-site .ed-btn--outline .wp-block-button__link { background: transparent; color: var(--ed-navy); border-color: var(--ed-navy); }
.ed-site .ed-btn--outline .wp-block-button__link:hover { background: var(--ed-navy); color: #fff; box-shadow: var(--ed-shadow); }
.ed-site .ed-btn--blue .wp-block-button__link { background: var(--ed-blue); color: #fff; box-shadow: 0 14px 28px -16px var(--ed-blue); }
.ed-site .ed-btn--blue .wp-block-button__link:hover { background: #002ed1; box-shadow: 0 18px 32px -14px var(--ed-blue); }
.ed-site .ed-btn--accent .wp-block-button__link { background: var(--ed-accent-btn); color: #fff; box-shadow: 0 14px 28px -16px var(--ed-accent); }
.ed-site .ed-btn--accent .wp-block-button__link:hover { background: var(--ed-accent-dark); }
.ed-site .ed-btn--light .wp-block-button__link { background: transparent; color: #fff; border-color: #ffffffb3; }
.ed-site .ed-btn--light .wp-block-button__link:hover { background: #fff; color: var(--ed-navy); }
.ed-site .ed-live-indicator { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 #ffffffaa; animation: ed-pulse-white 2s ease-out infinite; }
.ed-site .ed-media-note { margin: 12px 0 0; font-size: 13px; color: var(--ed-text); }

/* Header ------------------------------------------------------------- */
.ed-site > header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: #fff; transition: box-shadow .3s; }
.ed-site > header.wp-block-template-part:has(.is-scrolled) { box-shadow: 0 10px 30px -18px rgba(0, 27, 90, .35); }
.ed-site .ed-header { max-width: calc(var(--ed-wrap) + 2 * var(--ed-gutter)); margin: auto; padding: 16px var(--ed-gutter); gap: 24px; transition: padding .35s var(--ed-ease); }
.ed-site .ed-header.is-scrolled { padding-block: 9px; }
.ed-site .ed-brand { display: flex; align-items: center; gap: 12px; color: var(--ed-navy); text-decoration: none; min-width: 0; }
.ed-site .ed-logo { display: block; flex: none; }
.ed-site .ed-logo img { display: block; width: 56px; height: 56px; border-radius: 50%; transition: width .35s var(--ed-ease), height .35s var(--ed-ease), transform .6s var(--ed-ease); }
.ed-site .ed-header.is-scrolled .ed-logo img { width: 44px; height: 44px; }
.ed-site .ed-brand:hover .ed-logo img { transform: rotate(-10deg) scale(1.05); }
.ed-site .ed-brand-text { display: flex; flex-direction: column; min-width: 0; }
.ed-site .ed-brand-name { font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.ed-site .ed-brand small { font-size: 10.5px; font-weight: 700; line-height: 1.6; color: var(--ed-text); white-space: nowrap; }
.ed-site .ed-nav { font-size: 15px; font-weight: 600; color: var(--ed-navy); }
.ed-site .ed-nav .wp-block-navigation__container { gap: 26px; align-items: center; }
.ed-site .ed-nav a { text-decoration: none; transition: color .2s; }
.ed-site .ed-nav a:hover { color: var(--ed-blue); }
.ed-site .ed-nav .ed-nav-cta a { padding: 10px 16px; border-radius: 6px; color: #fff; transition: background .2s, transform .3s var(--ed-ease); }
.ed-site .ed-nav .ed-nav-cta a:hover { color: #fff; transform: translateY(-2px); }
.ed-site .ed-nav .ed-nav-cta--accent a { background: var(--ed-accent-btn); }
.ed-site .ed-nav .ed-nav-cta--accent a:hover { background: var(--ed-accent-dark); }
.ed-site .ed-nav .ed-nav-cta--blue a { background: var(--ed-blue); }
.ed-site .ed-nav .ed-nav-cta--blue a:hover { background: #002ed1; }
.ed-site .ed-nav .wp-block-navigation__container > .ed-nav-cta--accent { margin-left: 8px; }
.ed-site .ed-nav .wp-block-navigation__container > .ed-nav-cta--blue { margin-left: -12px; }

.ed-site .ed-admin-link {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px;
  border: 1.5px solid var(--ed-line); border-radius: 50%;
  color: var(--ed-navy);
  transition: border-color .2s, color .2s, background .2s;
}
.ed-site .ed-header > .ed-nav { margin-left: auto; }
.ed-site .ed-admin-link:hover { border-color: var(--ed-navy); background: var(--ed-navy); color: #fff; }

/* Mobile overlay */
.ed-site .wp-block-navigation__responsive-container.is-menu-open { background: #fff; color: var(--ed-navy); padding: 28px; }
.ed-site .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; padding-top: 60px; }
.ed-site .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 22px; align-items: flex-start; }
.ed-site .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 26px; font-weight: 800; }
.ed-site .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: var(--ed-navy); }
.ed-site .wp-block-navigation__responsive-container.is-menu-open .ed-nav-cta { font-size: 17px; margin: 0; }
.ed-site .wp-block-navigation__responsive-container.is-menu-open .ed-nav-cta .wp-block-navigation-item__content { padding: 13px 24px; border-radius: 8px; color: #fff; }
.has-modal-open .ed-site .ed-float { display: none; }

/* Hero --------------------------------------------------------------- */
.ed-site .ed-main { margin: 0; }
.ed-site .ed-hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #eef1f7 0%, #f5f7fb 100%);
  padding: 56px var(--ed-gutter) 0;
}
.ed-site .ed-hero-waves {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='120' viewBox='0 0 600 120'%3E%3Cpath d='M0 60 C 100 20, 200 100, 300 60 S 500 20, 600 60' fill='none' stroke='%23ffffff' stroke-width='2' opacity='.9'/%3E%3Cpath d='M0 90 C 100 50, 200 130, 300 90 S 500 50, 600 90' fill='none' stroke='%23dfe5f0' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 600px 120px;
  animation: ed-waves 40s linear infinite;
  opacity: .9;
}
.ed-site .ed-hero-swoosh {
  position: absolute; right: 0; bottom: 0; z-index: -1;
  width: min(70vw, 900px); height: 80%;
  background: radial-gradient(ellipse at 85% 95%, #1f5bff 0%, #3f8cffb3 28%, #8cc6ff33 52%, transparent 70%);
  filter: blur(6px);
}
.ed-site .ed-hero-inner {
  max-width: var(--ed-wrap); margin: auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: min(640px, calc(100vh - 160px));
  padding-bottom: 130px;
}
.ed-site .ed-pill-label {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 8px 16px;
  border-radius: 100px; background: #fff; box-shadow: var(--ed-shadow);
  font-size: 13px; font-weight: 700; color: var(--ed-navy);
}
.ed-site .ed-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ed-accent); animation: ed-pulse 2.2s ease-out infinite; }
.ed-site .ed-hero-title { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.08; margin: 0 0 22px; letter-spacing: -.03em; text-wrap: balance; }
.ed-site .ed-hero-description { max-width: 520px; margin: 0 0 32px; font-size: 18px; color: #3c4a5c; }
.ed-site .ed-hero-buttons { gap: 12px; }

.ed-site .ed-hero-visual { position: relative; aspect-ratio: 1; max-width: 540px; width: 100%; justify-self: end; }
.ed-site .ed-hero-blob {
  position: absolute; inset: 4% 2% 0 6%;
  background: var(--ed-gradient);
  border-radius: 58% 42% 46% 54% / 48% 52% 48% 52%;
  animation: ed-morph 14s ease-in-out infinite alternate;
  box-shadow: var(--ed-shadow-lg);
}
.ed-site .ed-hero-image {
  position: absolute; inset: 9% 7% 5% 11%;
  display: block;
  overflow: hidden;
  border-radius: 48% 52% 42% 58% / 52% 44% 56% 48%;
  box-shadow: 0 0 0 8px #ffffff33;
  animation: ed-morph-b 16s ease-in-out infinite alternate, ed-float 7s ease-in-out infinite;
}
.ed-site .ed-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); }
.ed-site .ed-badge { position: absolute; top: 2%; right: -2%; width: 128px; height: 128px; }
.ed-site .ed-badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ed-spin 18s linear infinite; }
.ed-site .ed-badge-ring text { font-size: 10.5px; font-weight: 800; letter-spacing: 2.2px; fill: var(--ed-navy); }
.ed-site .ed-badge-core {
  position: absolute; inset: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb35c, var(--ed-accent) 60%, #e25c00);
  color: #fff;
  box-shadow: 0 0 0 6px #fff, 0 16px 30px -12px var(--ed-accent);
}
.ed-site .ed-badge-core svg { width: 30px; height: 30px; }

/* Info bar overlapping the hero */
.ed-site .ed-infobar {
  position: relative; z-index: 2;
  max-width: var(--ed-wrap);
  margin: -70px auto -70px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 16px;
  background: var(--ed-gradient);
  box-shadow: var(--ed-shadow-lg);
  overflow: hidden;
}
.ed-site .ed-infobar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 120%, #ffffff29 0 30%, transparent 31%), radial-gradient(ellipse at 20% -40%, #ffffff1a 0 35%, transparent 36%);
}
.ed-site .ed-infobar-item {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
  padding: 30px 18px 28px;
  color: #fff; text-decoration: none;
  transition: background .3s;
}
.ed-site .ed-infobar-item + .ed-infobar-item::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: #ffffff5c; }
.ed-site .ed-infobar-item:hover { background: #ffffff14; }
.ed-site .ed-infobar-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%; background: #ffffff26; transition: transform .5s var(--ed-ease); }
.ed-site .ed-infobar-item:hover .ed-infobar-icon { transform: translateY(-4px) rotate(-8deg); }
.ed-site .ed-infobar-icon svg { width: 26px; height: 26px; }
.ed-site .ed-infobar strong { font-size: 19px; font-weight: 800; line-height: 1.25; }
.ed-site .ed-infobar small { font-size: 14px; opacity: .85; }

/* Sections ----------------------------------------------------------- */
.ed-site .ed-section { max-width: calc(var(--ed-wrap) + 2 * var(--ed-gutter)); margin: 0 auto; padding: 110px var(--ed-gutter); }
.ed-site .ed-section p { margin: 0 0 16px; }

/* About */
.ed-site .ed-about { padding-top: 180px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.ed-site .ed-about-copy .wp-block-buttons { margin-top: 26px; }
.ed-site .ed-values { display: grid; gap: 18px; }
.ed-site .ed-value {
  position: relative;
  padding: 26px 28px 24px 96px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ed-line);
  box-shadow: var(--ed-shadow);
  transition: transform .4s var(--ed-ease), box-shadow .4s, border-color .4s;
}
.ed-site .ed-value:hover { transform: translateY(-6px); box-shadow: var(--ed-shadow-lg); border-color: #b9ccff; }
.ed-site .ed-value-num { position: absolute; left: 26px; top: 26px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ed-blue); color: #fff; font-weight: 900; font-size: 16px; }
.ed-site .ed-value h3 { margin: 0 0 4px; font-size: 22px; }
.ed-site .ed-value p { margin: 0; font-size: 15.5px; }

/* Offer carousel */
.ed-site .ed-offer { padding-top: 20px; }
.ed-site .ed-offer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.ed-site .ed-offer-head .ed-section-title { margin: 0; }
.ed-site .ed-carousel-nav { display: flex; gap: 10px; }
.ed-site .ed-carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ed-navy); background: #fff; color: var(--ed-navy); font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, color .2s, transform .3s var(--ed-ease); }
.ed-site .ed-carousel-btn:hover { background: var(--ed-navy); color: #fff; transform: scale(1.06); }
.ed-site .ed-carousel-btn:disabled { opacity: .35; cursor: default; transform: none; background: #fff; color: var(--ed-navy); }
.ed-site .ed-carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 22px) / 4));
  gap: 22px;
  margin: 0; padding: 12px 4px 34px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.ed-site .ed-carousel::-webkit-scrollbar { display: none; }
.ed-site .ed-card {
  scroll-snap-align: start;
  position: relative;
  padding: 30px 26px 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ed-line);
  box-shadow: var(--ed-shadow);
  overflow: hidden;
  transition: transform .45s var(--ed-ease), box-shadow .45s, border-color .45s;
}
.ed-site .ed-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ed-gradient); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ed-ease); }
.ed-site .ed-card:hover { transform: translateY(-10px); box-shadow: var(--ed-shadow-lg); border-color: #c9d7ff; }
.ed-site .ed-card:hover::after { transform: scaleX(1); }
.ed-site .ed-card-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 18px; background: var(--ed-gradient); color: #fff; box-shadow: 0 14px 26px -14px var(--ed-blue); transition: transform .6s var(--ed-ease); }
.ed-site .ed-card:hover .ed-card-icon { transform: rotate(-8deg) scale(1.06); }
.ed-site .ed-card:nth-child(3n+2) .ed-card-icon { background: linear-gradient(135deg, #ffa24a, var(--ed-accent)); box-shadow: 0 14px 26px -14px var(--ed-accent); }
.ed-site .ed-card-icon svg { width: 30px; height: 30px; }
.ed-site .ed-card h3 { margin: 0 0 8px; font-size: 21px; }
.ed-site .ed-card p { margin: 0; font-size: 15.5px; }

/* Steps */
.ed-site .ed-steps { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.ed-site .ed-steps-waves {
  position: absolute; right: -120px; bottom: 0; width: 360px; height: 420px; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='420' viewBox='0 0 40 420'%3E%3Cpath d='M20 0 C 36 35, 4 70, 20 105 S 4 175, 20 210 S 36 280, 20 315 S 4 385, 20 420' fill='none' stroke='%23d9dfe9' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 22px 420px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 60%, #000 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 60%, #000 30%, transparent 70%);
}
.ed-site .ed-steps-intro .wp-block-buttons { margin-top: 24px; }
.ed-site .ed-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 42px 40px; }
.ed-site .ed-step-list li { position: relative; padding-top: 22px; border-top: 2px solid var(--ed-line); transition: border-color .4s; }
.ed-site .ed-step-list li::before { content: ""; position: absolute; left: 0; top: -2px; width: 56px; height: 2px; background: var(--ed-gradient); transition: width .6s var(--ed-ease); }
.ed-site .ed-step-list li:hover::before { width: 100%; }
.ed-site .ed-step-list h3 { margin: 0 0 8px; font-size: 21px; }
.ed-site .ed-step-list h3 span { color: var(--ed-blue); }
.ed-site .ed-step-list p { margin: 0; font-size: 15.5px; }

/* Mission band */
.ed-site .ed-mission { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(115deg, #001b5a 0%, #0033c9 55%, #0050a8 130%); color: #dce8ff; }
.ed-site .ed-mission::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='120' viewBox='0 0 600 120'%3E%3Cpath d='M0 60 C 100 20, 200 100, 300 60 S 500 20, 600 60' fill='none' stroke='%23ffffff' stroke-width='1' opacity='.12'/%3E%3C/svg%3E"); background-size: 600px 120px; animation: ed-waves 50s linear infinite reverse; }
.ed-site .ed-mission::after { content: ""; position: absolute; right: -200px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, #0098ff55, transparent 65%); z-index: -1; }
.ed-site .ed-mission-inner { max-width: calc(var(--ed-wrap) + 2 * var(--ed-gutter)); margin: auto; padding: 100px var(--ed-gutter); }
.ed-site .ed-mission-quote { max-width: 980px; margin: 0 0 56px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #fff; text-wrap: pretty; }
.ed-site .ed-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ed-site .ed-pillars li { font-size: 15.5px; line-height: 1.6; }
.ed-site .ed-quote-mark { display: block; height: 36px; font-size: 64px; font-weight: 900; line-height: 1; color: var(--ed-sky); }
.ed-site .ed-pillars strong { display: block; margin: 6px 0 4px; font-size: 19px; color: #fff; }

/* Messages */
.ed-site .ed-section-head { max-width: 640px; margin-bottom: 40px; }
.ed-site .ed-section-head .ed-section-title { margin-bottom: 10px; }
.ed-site .ed-messages { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 52px); align-items: start; }
.ed-site .ed-player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 50% 130%, #0098ff 0, transparent 65%), linear-gradient(135deg, #001b5a, #0033c9); color: #fff; box-shadow: var(--ed-shadow-lg); }
.ed-site .ed-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ed-site .ed-player-facade { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.ed-site .ed-player-facade img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); transition: transform .8s var(--ed-ease), filter .4s; }
.ed-site .ed-player-facade:hover img { transform: scale(1.04); filter: brightness(.62); }
.ed-site .ed-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 12px #ffffff33; transition: transform .35s var(--ed-ease); animation: ed-ring 2.4s ease-out infinite; }
.ed-site .ed-play::after { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--ed-blue); }
.ed-site .ed-player-facade:hover .ed-play { transform: scale(1.1); }
.ed-site .ed-player-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(transparent, #001b5ae6); font-size: clamp(18px, 2vw, 24px); font-weight: 800; line-height: 1.25; }
.ed-site .ed-player-title small { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.ed-site .ed-player--placeholder { display: grid; place-items: center; }
.ed-site .ed-player--placeholder p { position: absolute; left: 28px; right: 28px; bottom: 22px; margin: 0; font-size: clamp(16px, 1.8vw, 21px); font-weight: 700; }
.ed-site .ed-messages-aside .ed-visit-label { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--ed-blue); }
.ed-site .ed-channel-list { list-style: none; margin: 0 0 28px; padding: 0; }
.ed-site .ed-channel-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ed-line); font-size: 18px; font-weight: 700; color: var(--ed-navy); }
.ed-site .ed-channel-list li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ed-gradient); transform: rotate(45deg); }
.ed-site .ed-video-list { list-style: none; margin: 0 0 28px; padding: 0; }
.ed-site .ed-video-item { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ed-line); color: var(--ed-navy); font-size: 15px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.ed-site .ed-video-item img { width: 116px; height: 65px; object-fit: cover; border-radius: 8px; transition: transform .4s var(--ed-ease); }
.ed-site .ed-video-item:hover img { transform: scale(1.05); }
.ed-site .ed-video-item small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--ed-text); }
.ed-site .ed-video-item:hover span,
.ed-site .ed-video-item[aria-current] span { color: var(--ed-blue); }
.ed-site .ed-pill { display: inline-flex; gap: 12px; align-items: center; padding: 13px 22px; border: 1.5px solid var(--ed-navy); border-radius: 8px; font-size: 15px; font-weight: 700; color: var(--ed-navy); text-decoration: none; transition: background .25s, color .25s, transform .3s var(--ed-ease); }
.ed-site .ed-pill:hover { background: var(--ed-navy); color: #fff; transform: translateY(-3px); }

/* Visit */
.ed-site .ed-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; background: none; }
.ed-site .ed-address { font-size: 16px; line-height: 1.7; }
.ed-site .ed-address strong { color: var(--ed-navy); }
.ed-site .ed-visit-actions { gap: 12px; margin: 24px 0 34px; }
.ed-site .ed-faq { border-top: 1px solid var(--ed-line); }
.ed-site .ed-faq-item { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--ed-line); }
.ed-site .ed-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; color: var(--ed-navy); transition: color .2s; }
.ed-site .ed-faq-item summary:hover { color: var(--ed-blue); }
.ed-site .ed-faq-item summary::-webkit-details-marker { display: none; }
.ed-site .ed-faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ed-mist); color: var(--ed-blue); font-size: 20px; font-weight: 700; line-height: 1; transition: transform .35s var(--ed-ease), background .3s, color .3s; }
.ed-site .ed-faq-item[open] summary::after { transform: rotate(45deg); background: var(--ed-blue); color: #fff; }
.ed-site .ed-faq-item p { margin: 12px 0 0; padding-right: 40px; font-size: 15.5px; }
.ed-site .ed-faq-item[open] p { animation: ed-fade .45s var(--ed-ease); }

.ed-site .ed-map { position: sticky; top: 110px; aspect-ratio: 4 / 4.2; border-radius: 18px; overflow: hidden; background: #e9eef6; box-shadow: var(--ed-shadow-lg); }
.ed-site .ed-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ed-site .ed-map-art { position: absolute; inset: 0; background-image: linear-gradient(#dbe3ef 1px, transparent 1px), linear-gradient(90deg, #dbe3ef 1px, transparent 1px); background-size: 40px 40px; }
.ed-site .ed-map-road { position: absolute; background: #fff; box-shadow: 0 0 0 1px #d3dcea; }
.ed-site .ed-map-road--a { left: -10%; right: -10%; top: 56%; height: 18px; transform: rotate(-8deg); }
.ed-site .ed-map-road--b { top: -10%; bottom: -10%; left: 36%; width: 14px; transform: rotate(14deg); }
.ed-site .ed-map-road--c { top: -10%; bottom: -10%; left: 76%; width: 9px; transform: rotate(-4deg); }
.ed-site .ed-map-pin { position: absolute; left: 50%; top: 44%; width: 36px; height: 36px; margin: -36px 0 0 -18px; border-radius: 50% 50% 50% 0; background: var(--ed-accent); transform: rotate(-45deg); box-shadow: 0 12px 22px -8px var(--ed-accent); animation: ed-bob 2.6s var(--ed-ease) infinite; }
.ed-site .ed-map-pin::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
.ed-site .ed-map-pulse { position: absolute; left: 50%; top: 44%; width: 18px; height: 8px; margin: -4px 0 0 -9px; border-radius: 50%; background: #fa790855; animation: ed-ripple 2.6s ease-out infinite; }
.ed-site .ed-map-load { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); padding: 13px 22px; border: 0; border-radius: 8px; background: var(--ed-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: var(--ed-shadow); transition: background .2s, transform .3s var(--ed-ease); }
.ed-site .ed-map-load:hover { background: var(--ed-blue); transform: translateX(-50%) translateY(-2px); }
.ed-site .ed-map-privacy { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-size: 12px; }

/* CTA band */
.ed-site .ed-cta { position: relative; isolation: isolate; overflow: hidden; background: #001b5a; color: #d5e3ff; }
.ed-site .ed-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("img/hero-dove.webp") right center / auto 130% no-repeat; opacity: .45; }
.ed-site .ed-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #001b5a 35%, #001b5acc 60%, #001b5a33 100%); }
.ed-site .ed-cta-inner { max-width: calc(var(--ed-wrap) + 2 * var(--ed-gutter)); margin: auto; padding: 100px var(--ed-gutter); }
.ed-site .ed-cta-title { max-width: 620px; margin: 0 0 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; color: #fff; }
.ed-site .ed-cta p { max-width: 520px; margin: 0 0 30px; font-size: 18px; }
.ed-site .ed-cta .wp-block-buttons { gap: 12px; }

/* Footer ------------------------------------------------------------- */
.ed-site .ed-footer { background: #f2f3f6; padding: 72px var(--ed-gutter) 26px; color: var(--ed-text); }
.ed-site .ed-footer a { color: var(--ed-navy); text-decoration: none; transition: color .2s; }
.ed-site .ed-footer a:hover { color: var(--ed-blue); }
.ed-site .ed-footer-top { max-width: var(--ed-wrap); margin: auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.ed-site .ed-brand--footer .ed-logo img { width: 64px; height: 64px; }
.ed-site .ed-footer-tagline { max-width: 320px; margin: 18px 0; font-size: 15px; }
.ed-site .ed-social { display: flex; gap: 10px; margin: 0; }
.ed-site .ed-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ed-navy); transition: background .2s, color .2s, transform .3s var(--ed-ease); }
.ed-site .ed-social a:hover { background: var(--ed-navy); color: #fff; transform: translateY(-3px); }
.ed-site .ed-social svg { width: 20px; height: 20px; }
.ed-site .ed-footer-label { margin: 6px 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-navy); }
.ed-site .ed-footer-col p:not(.ed-footer-label) { margin: 0; font-size: 15px; line-height: 2; }
.ed-site .ed-footer-bottom { max-width: var(--ed-wrap); margin: auto; padding-top: 22px; border-top: 1px solid #dde1e8; gap: 16px; font-size: 13px; }
.ed-site .ed-footer-bottom p { margin: 0; }

/* Floating live button */
.ed-site .ed-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 0;
  height: 60px; min-width: 60px; padding: 0 18px;
  border-radius: 100px;
  background: var(--ed-gradient);
  color: #fff !important;
  box-shadow: 0 16px 30px -12px var(--ed-blue);
  animation: ed-ring-blue 2.6s ease-out infinite;
  transition: gap .35s var(--ed-ease), transform .3s var(--ed-ease);
}
.ed-site .ed-float svg { width: 24px; height: 24px; flex: none; }
.ed-site .ed-float-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 800; font-size: 15px; transition: max-width .4s var(--ed-ease); }
.ed-site .ed-float:hover { gap: 8px; transform: translateY(-3px); }
.ed-site .ed-float:hover .ed-float-label,
.ed-site .ed-float:focus-visible .ed-float-label { max-width: 90px; }

/* Generic content templates */
.ed-site .ed-content { max-width: 960px; min-height: 50vh; margin: auto; padding: 80px var(--ed-gutter); }
.ed-site .ed-content h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
.ed-site .ed-content .wp-block-post-title a { color: inherit; }
.ed-site .ed-content .wp-block-post-template { padding: 0; }
.ed-site .ed-content .wp-block-post { border-bottom: 1px solid var(--ed-line); padding-bottom: 32px; margin-bottom: 32px; }

/* Motion ------------------------------------------------------------- */
.ed-js-reveal .ed-site .ed-anim { opacity: 0; transition: opacity .8s var(--ed-ease), transform .9s var(--ed-ease); transition-delay: var(--ed-delay, 0s); }
.ed-js-reveal .ed-site .ed-anim--left { transform: translateX(-48px); }
.ed-js-reveal .ed-site .ed-anim--right { transform: translateX(48px); }
.ed-js-reveal .ed-site .ed-anim--up { transform: translateY(40px); }
.ed-js-reveal .ed-site .ed-anim--bounce { transform: scale(.3); }
.ed-js-reveal .ed-site .ed-anim.is-visible { opacity: 1; transform: none; }
.ed-js-reveal .ed-site .ed-anim--bounce.is-visible { animation: ed-bounce-in .9s var(--ed-ease) var(--ed-delay, .5s) both; }

@keyframes ed-pulse { 0% { box-shadow: 0 0 0 0 #fa790888; } 70%, 100% { box-shadow: 0 0 0 10px #fa790800; } }
@keyframes ed-pulse-white { 0% { box-shadow: 0 0 0 0 #ffffffaa; } 70%, 100% { box-shadow: 0 0 0 8px #ffffff00; } }
@keyframes ed-ring { 0% { box-shadow: 0 0 0 0 #ffffff66; } 80%, 100% { box-shadow: 0 0 0 22px #ffffff00; } }
@keyframes ed-ring-blue { 0% { box-shadow: 0 16px 30px -12px var(--ed-blue), 0 0 0 0 #003bff55; } 80%, 100% { box-shadow: 0 16px 30px -12px var(--ed-blue), 0 0 0 16px #003bff00; } }
@keyframes ed-waves { from { background-position: 0 0; } to { background-position: 600px 0; } }
@keyframes ed-morph { 0% { border-radius: 58% 42% 46% 54% / 48% 52% 48% 52%; } 50% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; } 100% { border-radius: 52% 48% 40% 60% / 42% 58% 42% 58%; } }
@keyframes ed-morph-b { 0% { border-radius: 48% 52% 42% 58% / 52% 44% 56% 48%; } 100% { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; } }
@keyframes ed-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes ed-spin { to { transform: rotate(360deg); } }
@keyframes ed-bounce-in { 0% { opacity: 0; transform: scale(.3); } 55% { opacity: 1; transform: scale(1.08); } 75% { transform: scale(.95); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ed-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes ed-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes ed-ripple { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ed-site *, .ed-site *::before, .ed-site *::after { animation: none !important; transition: none !important; }
  .ed-site .ed-carousel { scroll-behavior: auto; }
}

/* Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  .ed-site .ed-nav .wp-block-navigation__container { gap: 18px; }
  .ed-site .ed-brand small { display: none; }
  .ed-site .ed-infobar { margin-inline: var(--ed-gutter); }
}
@media (max-width: 1000px) {
  .ed-site .ed-hero-inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 120px; }
  .ed-site .ed-hero-visual { justify-self: center; max-width: 440px; order: -1; }
  .ed-site .ed-infobar { grid-template-columns: repeat(2, 1fr); }
  .ed-site .ed-infobar-item:nth-child(3)::before { display: none; }
  .ed-site .ed-infobar-item:nth-child(n+3) { border-top: 1px solid #ffffff40; }
  .ed-site .ed-about { padding-top: 250px; }
  .ed-site .ed-about,
  .ed-site .ed-steps,
  .ed-site .ed-visit,
  .ed-site .ed-messages { grid-template-columns: 1fr; }
  .ed-site .ed-carousel { grid-auto-columns: minmax(250px, calc((100% - 22px) / 2.2)); }
  .ed-site .ed-map { position: relative; top: 0; aspect-ratio: 16 / 11; }
  .ed-site .ed-footer-top { grid-template-columns: 1fr 1fr; }
  .ed-site .ed-footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 781px) {
  .ed-site [id] { scroll-margin-top: 80px; }
  .ed-site .ed-header { padding-block: 12px; }
  .ed-site .ed-logo img { width: 46px; height: 46px; }
  .ed-site .ed-header.is-scrolled .ed-logo img { width: 40px; height: 40px; }
  .ed-site .ed-brand-name { font-size: 19px; }
  .ed-site .ed-hero { padding-top: 32px; }
  .ed-site .ed-hero-swoosh { width: 100%; height: 38%; background: radial-gradient(ellipse at 80% 100%, #1f5bff 0%, #3f8cff99 30%, transparent 70%); }
  .ed-site .ed-hero-visual { max-width: 320px; }
  .ed-site .ed-player--placeholder .ed-play { top: 40%; }
  .ed-site .ed-player--placeholder p { bottom: 16px; font-size: 15px; }
  .ed-site .ed-badge { width: 100px; height: 100px; right: -4%; }
  .ed-site .ed-badge-core { inset: 24px; }
  .ed-site .ed-badge-core svg { width: 24px; height: 24px; }
  .ed-site .ed-hero-description { font-size: 17px; }
  .ed-site .ed-hero-buttons .wp-block-button { width: 100%; }
  .ed-site .ed-hero-buttons .wp-block-button__link { width: 100%; justify-content: center; }
  .ed-site .ed-section { padding-block: 72px; }
  .ed-site .ed-about { padding-top: 250px; }
  .ed-site .ed-value { padding: 22px 20px 20px 84px; }
  .ed-site .ed-value-num { left: 20px; top: 22px; width: 44px; height: 44px; }
  .ed-site .ed-offer { padding-top: 0; }
  .ed-site .ed-offer-head { align-items: flex-start; flex-direction: column; }
  .ed-site .ed-carousel { grid-auto-columns: 78%; }
  .ed-site .ed-step-list { grid-template-columns: 1fr; gap: 28px; }
  .ed-site .ed-steps-waves { display: none; }
  .ed-site .ed-mission-inner { padding-block: 72px; }
  .ed-site .ed-pillars { grid-template-columns: 1fr; gap: 22px; }
  .ed-site .ed-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .ed-site .ed-play::after { left: 26px; top: 20px; border-width: 12px 0 12px 19px; }
  .ed-site .ed-player-title { padding: 40px 18px 16px; }
  .ed-site .ed-visit-actions .wp-block-button,
  .ed-site .ed-cta .wp-block-button { width: 100%; }
  .ed-site .ed-visit-actions .wp-block-button__link,
  .ed-site .ed-cta .wp-block-button__link { width: 100%; justify-content: center; }
  .ed-site .ed-cta::before { background-position: center bottom; background-size: 90% auto; opacity: .25; }
  .ed-site .ed-cta::after { background: linear-gradient(180deg, #001b5a 40%, #001b5acc 100%); }
  .ed-site .ed-cta-inner { padding-block: 72px; }
  .ed-site .ed-footer-top { grid-template-columns: 1fr; gap: 30px; }
  .ed-site .ed-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ed-site .ed-float { right: 16px; bottom: 16px; height: 54px; min-width: 54px; padding: 0 15px; }
}
@media (max-width: 599px) {
  .ed-site .ed-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .ed-site .ed-nav .wp-block-navigation__responsive-container-open { display: flex; }
  .ed-site .ed-infobar { grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .ed-site .ed-infobar-item { padding: 20px 10px; }
  .ed-site .ed-infobar strong { font-size: 15px; }
  .ed-site .ed-infobar small { font-size: 12px; }
  .ed-site .ed-infobar-icon { width: 42px; height: 42px; margin-bottom: 6px; }
  .ed-site .ed-infobar-icon svg { width: 22px; height: 22px; }
  .ed-site .ed-about { padding-top: 200px; }
}
@media (max-width: 380px) {
  .ed-site .ed-brand-name { font-size: 17px; }
  .ed-site .ed-pill-label { font-size: 11.5px; padding: 7px 12px; }
}

/* CookieAdmin consent banner, aligned with the theme */
.cookieadmin_law_container.cookieadmin_box { left: clamp(14px, 2vw, 28px) !important; bottom: clamp(14px, 2vw, 28px) !important; width: min(390px, calc(100vw - 28px)) !important; max-width: none !important; filter: drop-shadow(0 18px 50px rgba(0, 27, 90, .16)); }
.cookieadmin_law_container .cookieadmin_consent_inside { border: 1px solid #e3e8f2 !important; border-radius: 14px !important; padding: 22px !important; font-family: "Nunito Sans", "Segoe UI", sans-serif !important; }
.cookieadmin_law_container #cookieadmin_notice_title { font-size: 19px !important; font-weight: 800 !important; color: #001b5a !important; }
.cookieadmin_law_container #cookieadmin_notice { font-size: 13px !important; line-height: 1.55 !important; color: #5f6b7a !important; }
.cookieadmin_law_container .cookieadmin_consent_btns { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
.cookieadmin_law_container .cookieadmin_btn { min-height: 40px !important; border-radius: 8px !important; font-size: 12px !important; font-weight: 700 !important; }
.cookieadmin_law_container .cookieadmin_accept_btn { grid-column: 1 / -1 !important; background: #003bff !important; }
.cookieadmin_law_container .cookieadmin-poweredby { margin-top: 12px !important; opacity: .58 !important; }
@media (max-width: 599px) {
  .cookieadmin_law_container.cookieadmin_box { left: 12px !important; bottom: 12px !important; width: calc(100vw - 24px) !important; }
}

/* Organigrama y actividades (contenido publicado desde la administración) ---- */
.ed-site .ed-section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.ed-site .ed-empty-note { padding: 30px; border: 1.5px dashed #c9d7ff; border-radius: 18px; background: var(--ed-mist); text-align: center; }
.ed-site .ed-empty-note p { margin: 0; }
.ed-site .ed-empty-note a { color: var(--ed-blue); font-weight: 700; }

.ed-site .ed-organigram { position: relative; }
.ed-site .ed-org { display: grid; gap: 56px; }
.ed-site .ed-org-top { position: relative; display: flex; justify-content: center; padding-bottom: 44px; }
.ed-site .ed-org-top:has(+ .ed-org-team)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 44px; margin-left: -1px; background: linear-gradient(#003bff, #c9d7ff); }
.ed-site .ed-org-top:has(+ .ed-org-team) { margin-bottom: -56px; }
.ed-site .ed-org-team { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; padding-top: 34px; }
.ed-site .ed-org-team::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px; border-radius: 2px; background: #c9d7ff; }
.ed-site .ed-org-branch { position: relative; display: grid; gap: 12px; justify-items: center; width: 250px; }
.ed-site .ed-org-branch::before { content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 34px; margin-left: -1px; background: #c9d7ff; }
.ed-site .ed-person {
  width: 100%;
  padding: 28px 22px 26px;
  border: 1px solid var(--ed-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ed-shadow);
  text-align: center;
  transition: transform .45s var(--ed-ease), box-shadow .45s;
}
.ed-site .ed-person:hover { transform: translateY(-6px); box-shadow: var(--ed-shadow-lg); }
.ed-site .ed-person img,
.ed-site .ed-person-initials {
  display: grid; place-items: center;
  width: 120px; height: 120px; margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px #d7e3ff;
}
.ed-site .ed-person-initials { background: var(--ed-gradient); color: #fff; font-size: 38px; font-weight: 900; letter-spacing: -.02em; }
.ed-site .ed-person h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.2; }
.ed-site .ed-person-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--ed-blue); }
.ed-site .ed-person-church { margin: 6px 0 0; font-size: 14px; }
.ed-site .ed-person--lead {
  max-width: 380px;
  padding: 38px 32px 34px;
  border: 0;
  background: linear-gradient(135deg, #001b5a 0%, #0033c9 70%, #0050a8 100%);
  color: #dce8ff;
  box-shadow: var(--ed-shadow-lg);
}
.ed-site .ed-person--lead img,
.ed-site .ed-person--lead .ed-person-initials { width: 180px; height: 180px; box-shadow: 0 0 0 6px #ffffff33, 0 0 0 12px #ffffff14; font-size: 56px; }
.ed-site .ed-person--lead h3 { font-size: 26px; color: #fff; }
.ed-site .ed-person--lead .ed-person-title { color: #8fd0ff; font-size: 17px; }
.ed-site .ed-person--lead .ed-person-church { color: #c7d4e6; }
.ed-site .ed-org-helpers { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.ed-site .ed-org-helpers li { padding: 10px 14px; border-radius: 12px; background: var(--ed-mist); text-align: center; font-size: 13px; line-height: 1.35; }
.ed-site .ed-org-helpers strong { display: block; font-size: 14px; color: var(--ed-navy); }

.ed-site .ed-events { padding-top: 40px; }
.ed-site .ed-agenda { columns: 4 250px; column-gap: 26px; }
.ed-site .ed-event {
  display: flex; flex-direction: column;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 26px;
  border: 1px solid var(--ed-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ed-shadow);
  transition: transform .45s var(--ed-ease), box-shadow .45s;
}
.ed-site .ed-event:hover { transform: translateY(-8px); box-shadow: var(--ed-shadow-lg); }
.ed-site .ed-event-flyer { display: block; overflow: hidden; background: var(--ed-mist); }
.ed-site .ed-event-flyer img { display: block; width: 100%; height: auto; transition: transform .8s var(--ed-ease); }
.ed-site .ed-org-chart { max-width: 1100px; margin: 0 auto; padding: clamp(10px, 2vw, 18px); border: 1px solid var(--ed-line); border-radius: 22px; background: #fff; box-shadow: var(--ed-shadow-lg); }
.ed-site .ed-org-chart a { display: block; }
.ed-site .ed-org-chart img { display: block; width: 100%; height: auto; border-radius: 14px; }
.ed-site .ed-event:hover .ed-event-flyer img { transform: scale(1.04); }
.ed-site .ed-event-flyer--empty { display: grid; place-content: center; aspect-ratio: 4 / 3; background: var(--ed-gradient); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.ed-site .ed-event-flyer--empty span { font-size: 72px; line-height: 1; letter-spacing: -.03em; }
.ed-site .ed-event-body { padding: 20px 22px 24px; }
.ed-site .ed-event-date { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.ed-site .ed-event-day { display: inline-block; margin-right: 8px; padding: 3px 9px; border-radius: 6px; background: var(--ed-accent-btn); color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ed-site .ed-event h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.ed-site .ed-event-meta { margin: 0; font-size: 14px; }
.ed-site .ed-event-desc { margin: 10px 0 0; font-size: 14px; }

@media (max-width: 781px) {
  .ed-site .ed-org-team { gap: 22px; }
  .ed-site .ed-org-team::before { left: 50%; right: auto; width: 2px; height: 100%; margin-left: -1px; background: linear-gradient(#c9d7ff, transparent); z-index: -1; }
  .ed-site .ed-org-branch { width: min(100%, 320px); }
  .ed-site .ed-org-branch::before { display: none; }
  .ed-site .ed-person--lead img, .ed-site .ed-person--lead .ed-person-initials { width: 150px; height: 150px; }
}

/* Static-site layer (appended by scripts/build_web.php): stands in for WordPress core layout styles and its navigation block. */
html, body { margin: 0; }
body { background: #fff; }
.ed-site .ed-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; }
.ed-site .wp-block-navigation__container { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.ed-site .wp-block-buttons { display: flex; flex-wrap: wrap; }
.ed-site .ed-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; }
.ed-site .ed-menu-toggle { display: none; }
.ed-site .ed-nav .wp-block-navigation-item:not(.ed-nav-cta) a { color: var(--ed-navy); }
.ed-site .ed-nav .wp-block-navigation-item:not(.ed-nav-cta) a:hover { color: var(--ed-blue); }
.ed-site .ed-nav .ed-nav-cta a { display: inline-block; }
.ed-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: #001b5a; color: #fff; font: 700 15px/1.2 "Nunito Sans", system-ui, sans-serif; text-decoration: none; transition: top .2s; }
.ed-skip:focus { top: 12px; outline: 3px solid #fa7908; outline-offset: 2px; }
.ed-site .ed-main:focus { outline: none; }
.ed-site .ed-notfound { text-align: center; padding-block: 120px; }
.ed-site .ed-notfound h1 { margin: 0 0 16px; }

@media (max-width: 1100px) {
  .ed-site .ed-header > .ed-nav { margin-left: auto; }
  .ed-site .ed-menu-toggle {
    position: relative; z-index: 81;
    display: grid; place-content: center; gap: 5px;
    width: 44px; height: 44px;
    border: 0; border-radius: 8px; background: none; cursor: pointer;
  }
  .ed-site .ed-menu-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ed-navy); transition: transform .3s var(--ed-ease), opacity .2s; }
  .ed-site .ed-nav.is-open .ed-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .ed-site .ed-nav.is-open .ed-menu-toggle span:nth-child(2) { opacity: 0; }
  .ed-site .ed-nav.is-open .ed-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ed-site .ed-nav .wp-block-navigation__container {
    position: fixed; inset: 0; z-index: 80;
    flex-direction: column; align-items: flex-start; gap: 22px;
    padding: 100px 28px 40px;
    background: #fff;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .3s, transform .35s var(--ed-ease), visibility 0s .35s;
  }
  .ed-site .ed-nav.is-open .wp-block-navigation__container { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .35s var(--ed-ease); }
  .ed-site .ed-nav .wp-block-navigation-item { font-size: 26px; font-weight: 800; }
  .ed-site .ed-nav .wp-block-navigation__container > .ed-nav-cta { margin: 0; font-size: 17px; }
  .ed-site .ed-nav .ed-nav-cta a { padding: 13px 24px; border-radius: 8px; }
  body.ed-menu-open { overflow: hidden; }
  body.ed-menu-open .ed-site .ed-float { display: none; }
}
