/* Phone scale: 360px remains readable; 440px retains the approved hierarchy.
   No page zoom, clipped text, viewport-height cards or changes to purchase data. */
/* Compact subscription notice on desktop, matching the approved reference. */
@media (min-width:1025px) {
  body#thim-body:is(.ena-course-page,.ena-resource-page):not(.elementor-editor-active) .summary .mpa-subscription-notice {
    box-sizing:border-box;
    min-height:38px;
    padding:10px 16px 10px 52px;
    font-size:8.5px;
    line-height:1.6;
  }
}
@media (max-width:767px) {
  body#thim-body:not(.elementor-editor-active) {
    --ena-phone-copy:clamp(16px,calc(7.25px + 2.56vw),18.5px);
    --ena-phone-title:clamp(26px,calc(5.6px + 6vw),32px);
    --ena-phone-space:clamp(12px,calc(-6px + 5vw),16px);
    --ena-phone-panel:clamp(16px,5vw,24px);
  }
  body#thim-body:not(.elementor-editor-active) #masthead .navigation { padding-block:10px; }
  body#thim-body:not(.elementor-editor-active) #masthead .width-logo img { max-height:60px; object-fit:contain; object-position:left center; }
  body#thim-body:not(.elementor-editor-active) #masthead .navigation .tm-table { min-height:44px; }

  /* Course introduction: fluid type and rhythm bring the photograph into view. */
  body#thim-body.ena-course-page:not(.elementor-editor-active) .site-content { padding-top:clamp(16px,calc(-20px + 10vw),24px); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-heading .product_title { font-size:var(--ena-phone-title); margin-bottom:var(--ena-phone-space); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-kicker { font-size:clamp(10px,2.62vw,11.5px); line-height:1.5; margin-bottom:var(--ena-phone-space); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-value { font-size:var(--ena-phone-copy); line-height:1.55; margin-bottom:var(--ena-phone-space); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-facts { font-size:clamp(14px,3.41vw,15px); line-height:1.5; gap:6px 12px; }
  body#thim-body.ena-course-page:not(.elementor-editor-active) #main > .product > .product-info { gap:clamp(16px,5vw,22px); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-overview,
  body#thim-body.ena-course-page:not(.elementor-editor-active) #tab-description > .elementor > :is(.e-parent,.elementor-top-section,.ena-course-format) { padding:var(--ena-phone-panel); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) :is(.ena-course-overview .woocommerce-product-details__short-description,#tab-description .elementor-widget-text-editor,#tab-description .elementor-icon-box-title,#tab-description .thim-testimonial__content,#tab-description .thim-ekit-team__description) { font-size:var(--ena-phone-copy); line-height:1.6; }
  body#thim-body.ena-course-page:not(.elementor-editor-active) #tab-description .sc_heading .title { font-size:clamp(24px,6.28vw,27.6px); line-height:1.3; }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .summary .single_add_to_cart_button { font-size:clamp(16px,4.2vw,18.5px); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .summary .price { font-size:clamp(26px,6.8vw,29.9px); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .summary .ena-enrollment-panel > :is(.ena-enrollment-heading,.ena-insc__fecha) { font-size:var(--ena-phone-copy)!important; }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-dock { align-items:center; bottom:calc(max(64px,var(--ena-mobile-nav-height,64px)) + 12px + env(safe-area-inset-bottom,0px)); }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-dock span { flex:1; min-width:0; overflow-wrap:break-word; font-size:12px; line-height:1.35; }
  body#thim-body.ena-course-page:not(.elementor-editor-active) .ena-course-dock a { min-height:44px; display:inline-flex; align-items:center; }

  /* Resources keep their own composition, with a phone-sized reading scale. */
  body#thim-body.ena-resource-page:not(.elementor-editor-active) .summary .product_title { font-size:clamp(28px,8.1vw,35.65px); }
  body#thim-body.ena-resource-page:not(.elementor-editor-active) :is(.summary .woocommerce-product-details__short-description,.ena-resource-feature,#tab-description .elementor-widget-text-editor,#tab-description .elementor-icon-box-title) { font-size:var(--ena-phone-copy); line-height:1.6; }
  body#thim-body.ena-resource-page:not(.elementor-editor-active) :is(.ena-resource-feature,#tab-description > .elementor > .ena-resource-editor-section) { padding:var(--ena-phone-panel); }

  /* Shared form ergonomics: readable inputs also avoid iOS focus auto-zoom. */
  body#thim-body:is(.ena-home,.ena-contact-page,.ena-member-page,.ena-blog-page,.ena-newsletter-page,.ena-calendar-page,.ena-course-page,.ena-resource-page):not(.elementor-editor-active) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea) { font-size:16px; min-width:0; max-width:100%; }
  body#thim-body:not(.elementor-editor-active) .ena-site-footer__links a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; line-height:1.5; }
  body#thim-body:not(.elementor-editor-active) .ena-site-footer__links nav { gap:2px; }
  body#thim-body:has(.ena-course-dock:not([hidden])) .wonderpush-bell { bottom:calc(var(--ena-mobile-nav-height,64px) + 110px + env(safe-area-inset-bottom,0px))!important; }
}
@media (max-width:439px) {
  /* Page introductions use the same visual scale instead of oversized fixed headings. */
  body#thim-body.ena-contact-page .ena-contact-intro h1,
  body#thim-body.ena-blog-page .ena-blog-intro h1 { font-size:clamp(30px,8.4vw,37px); }
  body#thim-body.ena-about-page .ena-about #ena-about-title,
  body#thim-body.ena-newsletter-page #ena-newsletter-title { font-size:clamp(32px,9.1vw,40px); }
  body#thim-body.ena-calendar-page .ena-cal .hero h1 { font-size:clamp(32px,10vw,44px); }
  body#thim-body.ena-member-page .ena-member-intro h1 { font-size:clamp(30px,8.4vw,37px); }
  body#thim-body.ena-contact-page :is(.ena-contact-intro,.ena-contact-form-panel,.ena-contact-route),
  body#thim-body.ena-blog-page :is(.ena-blog-intro,.ena-blog-card__content,.is-featured .ena-blog-card__content),
  body#thim-body.ena-member-page .ena-member-intro { padding:20px 16px; }
  body#thim-body.ena-contact-page .ena-contact-social__links a { min-height:56px; padding:12px 16px; }
  body#thim-body.ena-member-space .ena-space-grid .ena-space-card { min-height:0; padding:22px; }
  body#thim-body.ena-home .ena-hero h1 { font-size:clamp(40px,11.8vw,52px); }
  body#thim-body.ena-home .ena-section-heading h2 { font-size:clamp(28px,7.3vw,32px); }
  body#thim-body.ena-home :is(.ena-section-heading__intro,.ena-hero__description) { font-size:15px; }
}
@media (max-width:767px) and (max-height:760px) {
  body#thim-body.ena-course-page:not(.elementor-editor-active) .site-content { padding-top:16px; }
  body#thim-body.ena-course-page:not(.elementor-editor-active) #main > .product > .product-info { row-gap:16px; }
}
