/* Jadengerclass Core · Actividades · 0.2.0 */
.jadact-page {
  --jadact-ink: #172b45;
  --jadact-primary: #173f6e;
  --jadact-accent: #edb35a;
  --jadact-muted: #65758b;
  --jadact-line: #e6ebf1;
  --jadact-surface: #f6f8fb;
  color: var(--jadact-ink);
  font-family: inherit;
  background: #fff;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.jadact-page *, .jadact-page *::before, .jadact-page *::after { box-sizing: border-box; }
.jadact-page a { text-decoration: none; }
.jadact-container { max-width: 1216px; padding-inline: 26px; margin: 0 auto; }
.jadact-hero {
  background: radial-gradient(circle at 87% 20%, rgba(237,179,90,.18) 0, transparent 29%), linear-gradient(112deg, #102b4a, #1e4a7b 72%, #1d527f);
  color: #fff;
  padding: clamp(65px, 7vw, 108px) 0;
  position: relative;
  isolation: isolate;
}
.jadact-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--jadact-accent), rgba(237,179,90,0));
}
.jadact-eyebrow, .jadact-kicker {
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.jadact-eyebrow { color: #ffd899; margin-bottom: 15px; }
.jadact-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  line-height: 1.13;
  letter-spacing: -.035em;
  margin: 0 0 22px;
  font-weight: 800;
}
.jadact-hero p { max-width: 690px; font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.8; color: #e5edf6; margin: 0; }
.jadact-listing { padding-block: 70px 90px; }
.jadact-section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 25px; }
.jadact-kicker { color: var(--jadact-primary); }
.jadact-section-head h2 {
  color: var(--jadact-ink); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.25;
  margin: 7px 0 0; font-weight: 800; letter-spacing: -.025em;
}
.jadact-section-head > p { color: var(--jadact-muted); margin: 0; }
.jadact-filters { display: flex; flex-wrap: wrap; gap: 9px; padding: 4px 0 35px; }
.jadact-filters a {
  display: inline-flex; align-items: center; border: 1px solid var(--jadact-line);
  border-radius: 999px; padding: 7px 17px; background: #fff; color: #435874;
  font-size: .91rem; font-weight: 650; transition: background .2s,color .2s,border-color .2s;
}
.jadact-filters a:hover, .jadact-filters a.is-active { background: var(--jadact-primary); border-color: var(--jadact-primary); color: #fff; }
.jadact-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.jadact-card {
  margin: 0; background: #fff; border: 1px solid var(--jadact-line);
  box-shadow: 0 8px 28px rgba(15,35,61,.055); border-radius: 17px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .22s,box-shadow .22s;
}
.jadact-card:hover { transform: translateY(-5px); box-shadow: 0 17px 38px rgba(15,35,61,.12); }
.jadact-card-media { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #e9eff6; }
.jadact-card-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.jadact-card:hover .jadact-card-image { transform: scale(1.04); }
.jadact-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 100%; height: 100%; background: linear-gradient(135deg,#e8eef6,#ceddec);
  color: #2c5781;
}
.jadact-placeholder > span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; border: 2px solid currentColor; font-size: 2.75rem; font-weight: 800; line-height: 1; }
.jadact-placeholder small { font-size: .7rem; letter-spacing: .22em; font-weight: 700; }
.jadact-card-body { padding: 22px 24px 25px; display: flex; flex-direction: column; flex: 1; }
.jadact-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 13px; font-size: .79rem; color: var(--jadact-muted); }
.jadact-pill { display: inline-flex; align-items: center; background: #eaf1f8; color: #245b8d; padding: 4px 10px; border-radius: 999px; font-size: .73rem; font-weight: 750; }
.jadact-card h3 { font-size: 1.23rem; font-weight: 800; letter-spacing: -.017em; line-height: 1.4; margin: 0 0 10px; }
.jadact-card h3 a { color: var(--jadact-ink); }
.jadact-card h3 a:hover { color: var(--jadact-primary); }
.jadact-card-body > p { color: #53647b; line-height: 1.68; margin: 0 0 21px; font-size: .94rem; }
.jadact-readmore { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; font-size: .92rem; color: var(--jadact-primary); font-weight: 800; }
.jadact-readmore:hover { color: #c28028; }
.jadact-readmore span { transition: transform .2s; }
.jadact-readmore:hover span { transform: translateX(4px); }
.jadact-empty { padding: 76px 25px; text-align: center; border: 1px dashed #d9e2ed; border-radius: 20px; background: var(--jadact-surface); }
.jadact-empty-icon { width: 65px; height: 65px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 20px; background: #e3edf8; color: var(--jadact-primary); font-size: 2rem; }
.jadact-empty h3 { color: var(--jadact-ink); font-size: clamp(1.28rem,2.7vw,1.7rem); margin: 0 0 9px; }
.jadact-empty p { color: var(--jadact-muted); margin: 0 auto; max-width: 580px; }
.jadact-empty .jadact-button { margin-top: 21px; }
.jadact-pagination { margin-top: 34px; }
.jadact-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.jadact-pagination a, .jadact-pagination .current { display: inline-flex; padding: 7px 14px; border-radius: 9px; border: 1px solid var(--jadact-line); color: var(--jadact-primary); }
.jadact-pagination .current { background: var(--jadact-primary); color: #fff; }
.jadact-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 12px 22px; background: var(--jadact-primary);
  color: #fff !important; font-size: .93rem; font-weight: 750; transition: background .2s,transform .2s;
}
.jadact-button:hover { background: #0e2e54; transform: translateY(-2px); }
.jadact-single { padding: 45px 0 85px; }
.jadact-back { display: inline-flex; gap: 9px; align-items: center; color: var(--jadact-primary); font-weight: 750; font-size: .92rem; margin-bottom: 36px; }
.jadact-article-header { max-width: 970px; margin: 0 auto 31px; text-align: center; }
.jadact-article-types { display: flex; justify-content: center; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 15px; }
.jadact-published { color: var(--jadact-muted); font-size: .84rem; }
.jadact-article h1 {
  max-width: 950px; color: var(--jadact-ink); font-size: clamp(2rem,4.5vw,3.6rem);
  line-height: 1.19; letter-spacing: -.038em; margin: 0 auto 18px; font-weight: 850;
}
.jadact-intro { color: #53647b; font-size: 1.13rem; line-height: 1.75; margin: 0 auto; max-width: 790px; }
.jadact-cover { margin: 0 auto 45px; max-width: 1080px; border-radius: 19px; overflow: hidden; background: #edf1f6; }
.jadact-cover-image { display: block; width: 100%; max-height: 580px; object-fit: cover; height: auto; }
.jadact-article-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; align-items: start; gap: clamp(30px,6vw,85px); max-width: 1080px; margin: 0 auto; }
.jadact-richtext { min-width: 0; color: #33445a; font-size: 1.015rem; line-height: 1.85; }
.jadact-richtext p { margin: 0 0 1.25em; }
.jadact-richtext h2, .jadact-richtext h3, .jadact-richtext h4 { color: var(--jadact-ink); margin-top: 1.5em; line-height: 1.3; }
.jadact-richtext img, .jadact-richtext video, .jadact-richtext iframe { max-width: 100%; height: auto; }
.jadact-richtext a { color: #126da8; text-decoration: underline; }
.jadact-richtext figure { max-width: 100%; }
.jadact-richtext blockquote { border-left: 4px solid var(--jadact-accent); padding-left: 18px; margin-left: 0; color: #4d637b; }
.jadact-aside { background: var(--jadact-surface); padding: 27px; border-radius: 16px; border: 1px solid var(--jadact-line); }
.jadact-aside h2 { margin: 0 0 17px; font-size: 1.19rem; color: var(--jadact-ink); }
.jadact-info { display: grid; gap: 2px; border-top: 1px solid var(--jadact-line); padding: 14px 0; }
.jadact-info span { color: var(--jadact-muted); font-size: .81rem; }
.jadact-info strong { color: var(--jadact-ink); font-size: .96rem; font-weight: 750; }
.jadact-button-full { width: 100%; margin-top: 16px; text-align: center; }
.jadact-bottom-link { display: flex; justify-content: center; padding-top: 54px; }
.jadact-button-outline { background: #fff; color: var(--jadact-primary) !important; border: 1px solid #bfd0e0; }
.jadact-button-outline:hover { color: #fff !important; }
.jad-nav-activities a { font: inherit; }
.jadact-page :focus-visible, .jad-nav-activities a:focus-visible { outline: 3px solid var(--jadact-accent,#edb35a); outline-offset: 3px; }
@media (max-width: 970px) {
  .jadact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .jadact-article-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .jadact-aside { max-width: 580px; }
}
@media (max-width: 630px) {
  .jadact-container { padding-inline: 18px; }
  .jadact-hero { padding-block: 57px; }
  .jadact-listing { padding-block: 44px 65px; }
  .jadact-section-head { display: block; }
  .jadact-section-head > p { margin-top: 8px; }
  .jadact-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .jadact-card-body { padding: 19px 20px 22px; }
  .jadact-filters { gap: 7px; padding-bottom: 25px; }
  .jadact-filters a { padding: 5px 13px; font-size: .83rem; }
  .jadact-empty { padding: 52px 20px; }
  .jadact-single { padding-top: 27px; }
  .jadact-back { margin-bottom: 25px; }
  .jadact-cover { margin-bottom: 28px; border-radius: 11px; }
  .jadact-article-header { margin-bottom: 25px; }
  .jadact-article h1 { margin-bottom: 13px; }
  .jadact-richtext { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) {
  .jadact-page *, .jadact-page *::before, .jadact-page *::after { transition: none !important; }
}


/* Jadengerclass 0.2.3: navegación móvil universal sin depender del tema. */
.jad-mobile-toggle,
.jad-mobile-panel,
.jad-mobile-backdrop { box-sizing: border-box; }

.jad-mobile-toggle {
  display: none !important;
  position: absolute;
  top: 64px;
  right: 14px;
  z-index: 10010;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  color: #183e66;
  background: #fff;
  box-shadow: 0 4px 13px rgba(20, 48, 77, .09);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.jad-mobile-toggle-lines { display: flex; flex-direction: column; gap: 5px; width: 21px; }
.jad-mobile-toggle-lines i { display: block; width: 21px; height: 2px; border-radius: 2px; background: currentColor; }
.jad-mobile-toggle:focus-visible, .jad-mobile-close:focus-visible, .jad-mobile-links a:focus-visible {
  outline: 3px solid #edb35a;
  outline-offset: 3px;
}
.jad-mobile-panel[hidden], .jad-mobile-backdrop[hidden] { display: none !important; }
.jad-mobile-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(8, 26, 47, .58);
  z-index: 2147483000;
}
.jad-mobile-panel {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 2147483001;
  width: min(360px, 88vw);
  padding: max(22px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #172b45;
  border-radius: 20px 0 0 20px;
  box-shadow: -14px 0 55px rgba(6, 28, 51, .18);
}
.jad-mobile-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #e8edf3; }
.jad-mobile-panel-top strong { color: #193d68; font-size: 1.15rem; line-height: 1.3; font-weight: 800; }
.jad-mobile-close {
  display: grid; place-items: center; flex: none; width: 41px; height: 41px;
  padding: 0; font-size: 2rem; line-height: 1; font-weight: 400;
  border: 1px solid #e4ebf2; border-radius: 11px;
  color: #25415f; background: #f5f8fb; cursor: pointer;
}
.jad-mobile-links { display: flex; flex-direction: column; gap: 5px; margin-top: 21px; }
.jad-mobile-links a {
  display: flex; align-items: center; width: 100%; min-height: 47px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 1rem; font-weight: 650; line-height: 1.4;
  color: #233c59 !important; background: transparent; text-decoration: none !important;
}
.jad-mobile-links a:hover,
.jad-mobile-links a:focus-visible { background: #edf3fa; }
.jad-mobile-links a.jad-mobile-activities {
  background: #eaf2fb; color: #155386 !important;
  font-weight: 800;
}
.jad-hide-header-email { display: none !important; }

/* Elimina sombras, filtros y capas oscuras solo en el logo y su envoltorio.
   No altera imágenes de actividades, fotografías ni fondos del sitio. */
header img.jad-logo-clean,
header a.jad-logo-clean,
header .jad-logo-clean,
header .jad-logo-text-clean {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  -webkit-filter: none !important;
}
header .jad-logo-clean::before,
header .jad-logo-clean::after {
  box-shadow: none !important;
  background-image: none !important;
}
header .jad-logo-clean:not(img) { background-image: none !important; }

@media (max-width: 980px) {
  header.jad-mobile-nav-ready .jad-mobile-toggle { display: flex !important; }
  header.jad-mobile-nav-ready .jad-theme-mobile-toggle-disabled { display: none !important; }
}
@media (min-width: 981px) {
  .jad-mobile-toggle, .jad-mobile-backdrop, .jad-mobile-panel { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .jad-mobile-toggle, .jad-mobile-links a { transition: none !important; }
}

/* 0.2.4 · Botón integrado en la barra del header, sin aspecto flotante. */
@media (max-width: 980px) {
  header.jad-mobile-nav-ready .jad-mobile-nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    column-gap: 12px;
    min-width: 0;
  }
  header.jad-mobile-nav-ready .jad-mobile-nav-row > .jad-mobile-toggle {
    display: inline-flex !important;
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
    flex: 0 0 44px;
    align-self: center;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    width: 44px;
    height: 44px;
    border: 0 !important;
    border-radius: 8px;
    background: transparent !important;
    box-shadow: none !important;
    color: #213d59;
  }
  header.jad-mobile-nav-ready .jad-mobile-nav-row > .jad-mobile-toggle:hover,
  header.jad-mobile-nav-ready .jad-mobile-nav-row > .jad-mobile-toggle:active {
    background: rgba(29, 73, 112, .07) !important;
  }
}

/* Las dos bandas negras forman parte del archivo del logo; se ocultan
   recortando solo los extremos de esa imagen, sin modificar el símbolo. */
header img.jad-logo-clean {
  clip-path: inset(0 12% 0 12%) !important;
  box-shadow: none !important;
  filter: none !important;
}


/* 0.2.5: sustituye el logotipo por la versión chocolate de fondo transparente. */
header img.jad-logo-replaced {
  display: block !important;
  width: 70px !important;
  height: auto !important;
  max-width: 70px !important;
  max-height: 58px !important;
  aspect-ratio: 384 / 281;
  object-fit: contain !important;
  object-position: center center !important;
  clip-path: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
header .custom-logo-link:has(img.jad-logo-replaced),
header .site-logo:has(img.jad-logo-replaced),
header .logo:has(img.jad-logo-replaced) {
  background: transparent !important;
  box-shadow: none !important;
}
@media (max-width: 980px) {
  header img.jad-logo-replaced {
    width: 62px !important;
    max-width: 62px !important;
    max-height: 52px !important;
  }
}


/* 0.2.6 · Cabecera móvil compacta: marca legible y menú dentro del header. */
@media (max-width: 980px) {
  header.jad-mobile-brand-ready {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-nav-row {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-height: 78px !important;
    height: auto !important;
    padding: 9px 12px !important;
    gap: 9px !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-brand-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 3px !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-brand-title {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    font-size: clamp(18px, 3.7vw, 23px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-brand-title br {
    display: none !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    font-size: clamp(9px, 2.2vw, 11px) !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
  }
  header.jad-mobile-brand-ready img.jad-logo-replaced {
    flex: none !important;
    width: 58px !important;
    max-width: 58px !important;
    max-height: 54px !important;
    object-fit: contain !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-nav-row > .jad-mobile-toggle {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    margin-left: auto !important;
  }
}
@media (max-width: 370px) {
  header.jad-mobile-brand-ready .jad-mobile-nav-row { gap: 6px !important; padding-inline: 8px !important; }
  header.jad-mobile-brand-ready img.jad-logo-replaced { width: 48px !important; max-width: 48px !important; }
  header.jad-mobile-brand-ready .jad-mobile-brand-title { font-size: 17px !important; }
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline {
    font-size: 9px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
  }
}

/* 0.2.7: subtítulo de identidad corporativa siempre en una línea. */
@media (max-width: 980px) {
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline,
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline * {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline br {
    display: none !important;
  }
}

/* 0.2.8 · La frase corporativa no se divide aunque el tema imponga saltos. */
@media (max-width: 980px) {
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline,
  header.jad-mobile-brand-ready .site-description,
  header.jad-mobile-brand-ready .site-tagline,
  header.jad-mobile-brand-ready .brand-subtitle,
  header.jad-mobile-brand-ready .header-subtitle {
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    letter-spacing: -.02em !important;
  }
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline br,
  header.jad-mobile-brand-ready .site-description br,
  header.jad-mobile-brand-ready .site-tagline br {
    display: none !important;
  }
}
@media (max-width: 365px) {
  header.jad-mobile-brand-ready .jad-mobile-brand-tagline,
  header.jad-mobile-brand-ready .site-description,
  header.jad-mobile-brand-ready .site-tagline,
  header.jad-mobile-brand-ready .brand-subtitle,
  header.jad-mobile-brand-ready .header-subtitle {
    font-size: 8px !important;
  }
}
