/*
 * Lukas Teissl Academy v3.0.3
 * Compact heading scale for public, authentication and member pages.
 * Loaded after the main stylesheets so existing layouts remain intact.
 */

body:not(.page-admin){
  --lt-heading-display:clamp(2.15rem,4.1vw,3.65rem);
  --lt-heading-page:clamp(1.95rem,3.45vw,3.05rem);
  --lt-heading-section:clamp(1.55rem,2.65vw,2.35rem);
  --lt-heading-panel:clamp(1.25rem,1.85vw,1.7rem);
  --lt-heading-card:clamp(1.08rem,1.45vw,1.38rem);
}

/* Large landing-page headlines */
body:not(.page-admin) :is(.hero-copy,.intl-hero-copy) h1{
  font-size:var(--lt-heading-display)!important;
  line-height:1.055!important;
  letter-spacing:-.043em!important;
  margin-top:14px!important;
  margin-bottom:18px!important;
  max-width:900px;
}

/* Page, course, account, lesson and authentication headlines */
body:not(.page-admin) :is(
  .page-hero,
  .course-hero,
  .member-hero,
  .member-page-hero,
  .course-dashboard-hero,
  .auth-visual,
  .lesson-header,
  .checkout-success,
  .portfolio-member-hero
) h1{
  font-size:var(--lt-heading-page)!important;
  line-height:1.07!important;
  letter-spacing:-.038em!important;
  margin-top:12px!important;
  margin-bottom:15px!important;
}

/* Main section headings */
body:not(.page-admin) :is(
  .section-heading,
  .pillars-copy,
  .membership-panel,
  .founder-text,
  .systems-overview-copy,
  .systems-comparison-copy,
  .book-cta-copy,
  .webinar-copy,
  .intl-journey-grid,
  .intl-founder-grid,
  .intl-book-grid,
  .intl-reserve-card,
  .intl-final-cta,
  .final-cta,
  .portfolio-ready-section
) h2{
  font-size:var(--lt-heading-section)!important;
  line-height:1.1!important;
  letter-spacing:-.035em!important;
  margin-top:10px!important;
  margin-bottom:12px!important;
}

/* Form, content, dashboard and legal panel headings */
body:not(.page-admin) :is(
  .auth-form-card,
  .register-card-head,
  .panel-heading,
  .member-heading,
  .content-main,
  .lesson-content,
  .intl-language-callout,
  .pre-reservation-explainer,
  .pre-reservation-success,
  .legal-block,
  .focus-content,
  .action-card,
  .prompt-head,
  .bonus-intro
) h2{
  font-size:var(--lt-heading-panel)!important;
  line-height:1.14!important;
  letter-spacing:-.025em!important;
  margin-top:7px!important;
  margin-bottom:9px!important;
}

/* Course cards, visual cards, curriculum modules and compact cards */
body:not(.page-admin) :is(
  .course-card,
  .intl-visual-card,
  .intl-course-card-content,
  .intl-edition-card,
  .intl-pricing-course-grid,
  .product-ladder,
  .academy-value-card,
  .method-card,
  .intl-method-grid,
  .curriculum-public,
  .aside-card,
  .member-course-card,
  .member-course-empty,
  .empty-state,
  .quick-card,
  .resource-card,
  .event-card,
  .replay-grid,
  .qa-list,
  .book-cta-card
) :is(h2,h3){
  font-size:var(--lt-heading-card)!important;
  line-height:1.18!important;
  letter-spacing:-.018em!important;
  margin-top:7px!important;
  margin-bottom:8px!important;
}

/* Lightbox headlines should remain prominent but compact */
body:not(.page-admin) :is(
  .academy-visual-lightbox-content,
  .book-lightbox-content
) h2,
body:not(.page-admin) #academy-visual-lightbox-title,
body:not(.page-admin) #book-lightbox-title{
  font-size:clamp(1.45rem,2.5vw,2.05rem)!important;
  line-height:1.1!important;
  letter-spacing:-.03em!important;
  margin-top:8px!important;
  margin-bottom:10px!important;
}

/* More compact heading blocks without changing the section content */
body:not(.page-admin) .section-heading{
  margin-bottom:32px!important;
}
body:not(.page-admin) .eyebrow + :is(h1,h2,h3){
  margin-top:10px!important;
}

@media(max-width:680px){
  body:not(.page-admin){
    --lt-heading-display:clamp(1.95rem,9.2vw,2.65rem);
    --lt-heading-page:clamp(1.8rem,8.2vw,2.35rem);
    --lt-heading-section:clamp(1.42rem,6.4vw,1.85rem);
    --lt-heading-panel:clamp(1.2rem,5.1vw,1.48rem);
    --lt-heading-card:clamp(1.04rem,4.6vw,1.25rem);
  }

  body:not(.page-admin) :is(.hero-copy,.intl-hero-copy) h1,
  body:not(.page-admin) :is(
    .page-hero,
    .course-hero,
    .member-hero,
    .member-page-hero,
    .course-dashboard-hero,
    .auth-visual,
    .lesson-header,
    .checkout-success,
    .portfolio-member-hero
  ) h1{
    letter-spacing:-.032em!important;
    margin-top:9px!important;
    margin-bottom:12px!important;
  }

  body:not(.page-admin) :is(
    .academy-visual-lightbox-content,
    .book-lightbox-content
  ) h2,
  body:not(.page-admin) #academy-visual-lightbox-title,
  body:not(.page-admin) #book-lightbox-title{
    font-size:1.42rem!important;
  }

  body:not(.page-admin) .section-heading{
    margin-bottom:24px!important;
  }
}
