/* Formación: recorrido breve y temarios desplegables en widgets nativos. */
body .iah-page .iah-formation-intro{background:var(--iah-lilac);padding-block:64px}
body .iah-page .iah-formation-intro .iah-wrap{gap:24px;align-items:flex-start}
body .iah-page .iah-formation-intro h1{max-width:900px;font-size:clamp(36px,4.2vw,58px);line-height:1.15}
body .iah-page .iah-formation-intro .iah-lead{max-width:680px;font-size:20px;line-height:1.6}
body .iah-page .iah-formation-route{padding-block:42px;background:#fff;border-bottom:1px solid var(--iah-line)}
body .iah-page .iah-formation-route h2{font-size:clamp(28px,3vw,38px)}
body .iah-page .iah-formation-route .iah-route-caption{max-width:760px;font-size:18px}
body .iah-page .iah-formation-levels{padding-block:24px 64px;background:#fff}
body .iah-page .iah-formation-levels .iah-wrap{gap:0}
body .iah-page .iah-formation-levels .iah-level-detail{gap:clamp(28px,5vw,64px);padding-block:48px;align-items:flex-start}
body .iah-page .iah-formation-levels .iah-level-detail:first-child{border-top:0}
body .iah-page .iah-formation-levels .iah-column:first-child{flex:1;gap:20px}
body .iah-page .iah-formation-levels .iah-column:last-child{flex:1.15;gap:18px}
body .iah-page .iah-formation-levels .elementor-heading-title{font-size:clamp(28px,3vw,36px)}
body .iah-page .iah-formation-levels .iah-formation-summary{max-width:48ch;font-size:19px;line-height:1.6}
body .iah-page .iah-formation-levels .iah-formation-facts{font-size:17px;color:var(--iah-muted);line-height:1.6}
body .iah-page .iah-formation-levels .iah-formation-facts p{margin:0}
body .iah-page .iah-formation-levels .iah-catalog-modules{width:100%;min-width:0}
body .iah-page .iah-formation-levels .elementor-toggle-item{border:1px solid var(--iah-line);border-radius:8px;overflow:hidden}
body .iah-page .iah-formation-levels .elementor-tab-title{padding:20px 22px;background:var(--iah-lilac);font:650 18px/1.45 var(--iah-font);color:var(--iah-purple)}
body .iah-page .iah-formation-levels .elementor-tab-title a{color:inherit;text-decoration:none}
body .iah-page .iah-formation-levels .elementor-tab-title:hover{background:#e9dcf3}
body .iah-page .iah-formation-levels .elementor-tab-content{padding:10px 22px 18px;border-top:1px solid var(--iah-line);font:400 17px/1.6 var(--iah-font);color:var(--iah-ink)}
body .iah-page .iah-formation-levels .iah-catalog-modules ul{columns:1;margin:0;padding:0;list-style:none}
body .iah-page .iah-formation-levels .iah-catalog-modules li{padding:0;break-inside:avoid}
body .iah-page .iah-formation-levels .iah-catalog-modules li+li{border-top:1px solid var(--iah-line)}
body .iah-page .iah-formation-levels .iah-catalog-modules li a{display:block;padding:13px 0;color:var(--iah-purple);text-decoration:none;overflow-wrap:anywhere}
body .iah-page .iah-formation-levels .iah-catalog-modules li a:hover{text-decoration:underline}
body .iah-page .iah-formation-levels .elementor-tab-title:focus-visible{outline:3px solid #9b63c3;outline-offset:-4px}
@media(max-width:1024px){
 body .iah-page .iah-formation-levels .iah-level-detail{flex-direction:column;gap:24px}
 body .iah-page .iah-formation-levels .iah-column{width:100%;flex:auto!important}
}
@media(max-width:767px){
 body .iah-page .iah-formation-intro{padding:44px 24px}
 body .iah-page .iah-formation-intro .iah-lead{font-size:18px}
 body .iah-page .iah-formation-route{padding:36px 24px}
 body .iah-page .iah-formation-levels{padding:8px 24px 40px}
 body .iah-page .iah-formation-levels .iah-level-detail{padding-block:32px}
 body .iah-page .iah-formation-levels .elementor-tab-title{padding:18px;font-size:17px}
 body .iah-page .iah-formation-levels .elementor-tab-content{padding:8px 18px 14px}
}
/* Ajuste del recorrido: portada centrada, formación online y niveles numerados. */
body .iah-page .iah-formation-intro .iah-wrap{align-items:center;text-align:center;gap:20px}
body .iah-page .iah-formation-intro .elementor-widget{margin-inline:auto;max-width:100%}
body .iah-page .iah-formation-intro h1{margin-inline:auto;text-wrap:balance}
body .iah-page .iah-formation-intro .iah-lead{max-width:740px}
body .iah-page .iah-formation-route{padding-block:56px}
body .iah-page .iah-formation-route .iah-wrap{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:48px;align-items:center}
body .iah-page .iah-formation-overview-copy{min-width:0;gap:24px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px}
body .iah-page .iah-formation-overview-copy .iah-route{gap:12px;flex-wrap:wrap}
body .iah-page .iah-formation-overview-copy .iah-route>.elementor-widget{flex:1 1 140px;min-width:0}
body .iah-page .iah-formation-overview-copy .iah-route>.elementor-widget:after{display:none}
body .iah-page .iah-formation-overview-copy .iah-route .elementor-button{font-size:17px;padding:14px 12px;width:100%;min-height:48px}
body .iah-page .iah-formation-online-image{min-width:0;width:100%}
body .iah-page .iah-formation-online-image img{width:100%;height:auto;border-radius:0;display:block}
body .iah-page .iah-formation-levels .iah-level-detail{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1.05fr);gap:32px;padding:48px 24px;border-top:1px solid var(--iah-line)}
body .iah-page .iah-formation-levels .iah-level-detail:first-child{background:#fff;border-top:0}
body .iah-page .iah-formation-levels .iah-level-detail>.iah-column{width:auto;min-width:0;gap:20px}
body .iah-page .iah-formation-levels .iah-level-detail>.iah-column:nth-child(2){gap:18px}
body .iah-page .iah-formation-levels .iah-level-step{grid-column:1;grid-row:1;align-self:start;max-width:100%}
body .iah-page .iah-formation-levels .iah-level-step .elementor-heading-title{font-size:52px;line-height:1;font-weight:550;letter-spacing:-.03em;color:#9b78b6}
body .iah-page .iah-formation-levels .iah-level-detail>.iah-column:first-child{grid-column:2;grid-row:1}
body .iah-page .iah-formation-levels .iah-level-detail>.iah-column:nth-child(2){grid-column:3;grid-row:1}
body .iah-page .iah-formation-levels .iah-formation-summary{font-size:20px;max-width:38ch}
body .iah-page .iah-formation-levels .iah-formation-facts{padding-block:12px;border-block:1px solid var(--iah-line);font-size:17px}
body .iah-page .iah-formation-levels .elementor-tab-title{background:#fff;font-size:18px}
body .iah-page .iah-formation-levels .elementor-tab-content{background:#fff}
body .iah-page .iah-formation-levels .elementor-widget-button{min-width:0;max-width:100%}
body .iah-page .iah-formation-levels .elementor-button-text{min-width:0;overflow-wrap:anywhere}
@media(max-width:1024px){
 body .iah-page .iah-formation-route .iah-wrap{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px}
 body .iah-page .iah-formation-levels .iah-level-detail{grid-template-columns:52px minmax(0,1fr);gap:24px}
 body .iah-page .iah-formation-levels .iah-level-detail>.iah-column:nth-child(2){grid-column:2;grid-row:2}
 body .iah-page .iah-formation-levels .iah-level-step .elementor-heading-title{font-size:44px}
}
@media(max-width:767px){
 body .iah-page .iah-formation-route{padding:36px 24px}
 body .iah-page .iah-formation-route .iah-wrap{grid-template-columns:minmax(0,1fr);gap:28px}
 body .iah-page .iah-formation-overview-copy .iah-route{flex-direction:row;gap:10px}
 body .iah-page .iah-formation-overview-copy .iah-route>.elementor-widget{width:auto;flex:1 1 140px}
 body .iah-page .iah-formation-levels .iah-level-detail{grid-template-columns:36px minmax(0,1fr);padding:30px 0;gap:18px 14px}
 body .iah-page .iah-formation-levels .iah-level-detail:first-child{padding:30px 16px;margin-inline:-16px}
 body .iah-page .iah-formation-levels .iah-level-step .elementor-heading-title{font-size:32px;line-height:1.15}
 body .iah-page .iah-formation-levels .iah-level-detail>.iah-column:nth-child(2){grid-column:1/-1;grid-row:2}
 body .iah-page .iah-formation-levels .iah-formation-summary{font-size:18px}
 body .iah-page .iah-formation-levels .elementor-button{padding:14px 18px;font-size:17px}
}
/* Primer Nivel: temario visible sin interacción ni pestaña. */
body .iah-page .iah-formation-levels .iah-open-syllabus-title .elementor-heading-title{font-size:22px;line-height:1.35}
body .iah-page .iah-formation-levels .iah-open-syllabus{font-size:18px;line-height:1.6}
/* Tablet y móvil: flujo vertical único, sin desplazamientos de la grilla. */
@media(max-width:1024px){
 body .iah-page .iah-formation-route .iah-wrap{
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  gap:28px;
 }
 body .iah-page .iah-formation-overview-copy{
  width:100%;
  max-width:100%;
  text-align:left;
  align-items:stretch;
 }
 body .iah-page .iah-formation-online-image{max-width:640px;margin-inline:auto}
 body .iah-page .iah-formation-levels .iah-level-detail,
 body .iah-page .iah-formation-levels .iah-level-detail:first-child{
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:32px 0;
  margin:0;
  gap:22px;
  background:#fff;
 }
 body .iah-page .iah-formation-levels .iah-level-detail>.iah-column{
  grid-column:auto;
  grid-row:auto;
  width:100%;
  max-width:100%;
  min-width:0;
  flex:none!important;
  align-items:stretch;
  text-align:left;
  --container-widget-width:100%;
  --container-widget-flex-grow:0;
 }
 body .iah-page .iah-formation-levels .iah-level-step{
  order:-1;
  grid-column:auto;
  grid-row:auto;
  width:100%;
  margin:0;
 }
 body .iah-page .iah-formation-levels .iah-level-step .elementor-heading-title{font-size:32px;line-height:1.15}
 body .iah-page .iah-formation-levels .iah-column>.elementor-widget{width:100%;max-width:100%;min-width:0;margin-inline:0}
 body .iah-page .iah-formation-levels .iah-formation-summary{max-width:100%;font-size:18px}
 body .iah-page .iah-formation-levels .iah-catalog-modules ul{columns:1;width:100%}
 body .iah-page .iah-formation-levels .iah-open-syllabus-title .elementor-heading-title{font-size:22px}
}
@media(max-width:767px){
 body .iah-page :is(.iah-formation-intro,.iah-formation-route,.iah-formation-levels){padding-inline:20px}
 body .iah-page .iah-formation-intro h1{font-size:clamp(30px,7.5vw,36px);line-height:1.2}
 body .iah-page .iah-formation-intro .iah-wrap{width:100%;min-width:0}
 body .iah-page .iah-formation-overview-copy .iah-route{
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  width:100%;
  gap:10px;
 }
 body .iah-page .iah-formation-overview-copy .iah-route>.elementor-widget{
  width:100%;
  max-width:100%;
  flex:none;
 }
 body .iah-page .iah-formation-overview-copy .iah-route .elementor-button-wrapper{width:100%}
 body .iah-page .iah-formation-levels .elementor-button-wrapper{width:100%}
 body .iah-page .iah-formation-levels .elementor-button{width:100%;white-space:normal}
 body .iah-page .iah-formation-levels .elementor-heading-title{font-size:28px;line-height:1.2}
 body .iah-page .iah-formation-levels .iah-open-syllabus{font-size:17px}
}
