/*
 * LearnPress Typography Overrides
 * Future Leaders Design System
 *
 * This file overrides LearnPress default fonts to match
 * the Future Leaders brand typography.
 */

/* =========================================
   Base Typography Overrides
   ========================================= */

/* LearnPress pages - body text */
.learnpress-page,
.learnpress,
.lp-content-area,
.learn-press-form,
.lp-user-profile {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* All headings in LearnPress */
.learnpress-page h1,
.learnpress-page h2,
.learnpress-page h3,
.learnpress-page h4,
.learnpress-page h5,
.learnpress-page h6,
.learnpress h1,
.learnpress h2,
.learnpress h3,
.learnpress h4,
.learnpress h5,
.learnpress h6,
.lp-content-area h1,
.lp-content-area h2,
.lp-content-area h3,
.lp-content-area h4,
.lp-content-area h5,
.lp-content-area h6 {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
}

/* =========================================
   Buttons
   ========================================= */

.learnpress-page .lp-button,
.learnpress-page #lp-button,
.lp-button,
#lp-button,
.btn-base,
button.learnpress_avatar__button,
#checkout-payment #checkout-order-action button,
.learn-press-form-login button[type=submit],
.learn-press-form-register button[type=submit],
.become-teacher-form button {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* =========================================
   Tabs & Navigation
   ========================================= */

.learn-press-tabs__item > a,
.learn-press-tabs__nav,
.learn-press-filters li a,
.learn-press-filters li span,
.learn-press-nav-tabs li label,
.lp-profile-nav-tabs > li a {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* =========================================
   Forms & Inputs
   ========================================= */

.learnpress-page input[type=text],
.learnpress-page input[type=email],
.learnpress-page input[type=number],
.learnpress-page input[type=password],
.learnpress-page textarea,
.learnpress-page select,
.learn-press-form .form-fields .form-field input,
.learn-press-form .form-fields .form-field textarea,
.learn-press-form .form-fields .form-field select,
.lp-checkout-form .lp-form-fields input,
.order-comments {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Form labels */
.learn-press-form .form-fields .form-field label,
.lp-checkout-form .lp-form-fields label,
.lp-checkout-form .lp-checkout-remember label,
.learnpress_avatar__form label {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* =========================================
   Course Content
   ========================================= */

/* Course tabs and panels */
.course-tab-panel,
.course-tab-panel .course-description,
.course-tab-panel .lp-course-author,
.course-tab-panel .lp-course-author .author-title a,
.course-tab-panel .lp-course-author .author-description {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Course curriculum */
.lp-course-curriculum,
.course-curriculum,
.curriculum-sections {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Override text-transform on "Rozwiń moduły" / "Zwiń moduły" */
.lp-course-curriculum .course-curriculum-info__right {
  text-transform: none !important;
}

/* =========================================
   Checkout
   ========================================= */

.lp-checkout-form,
.lp-checkout-form__before,
.lp-checkout-form__after,
#checkout-order,
#checkout-order .course-name,
#checkout-payment,
.lp-terms-and-conditions {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Checkout headings */
.lp-checkout-form__before .lp-checkout-block h4,
.lp-checkout-form__after .lp-checkout-block h4,
#checkout-payment h4 {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
}

/* =========================================
   User Profile
   ========================================= */

.lp-user-profile,
.lp-user-profile .lp-profile-username,
.lp-user-profile .lp-profile-user-bio,
.lp-profile-content,
.dashboard-statistic__row,
.statistic-box__text label,
.statistic-box__text__number {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Profile username as display font */
.lp-user-profile .lp-profile-username {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
}

/* =========================================
   Tables
   ========================================= */

.learnpress table,
.learnpress table th,
.learnpress table td,
.lp-content-area .order_details {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Table headings */
.learnpress table thead th {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* =========================================
   Messages & Notifications
   ========================================= */

.learn-press-message,
.lp-toast.toastify,
.lp-label {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* =========================================
   Misc Elements
   ========================================= */

/* Price display */
.course-price {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Description text */
.form-desc,
.learn-press-form .form-fields .form-field .description,
.rwmb-field .description {
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
}

/* Links */
.learnpress-page a,
.learnpress a,
.lp-content-area a {
  font-family: inherit;
}

/* =========================================
   Layout Overrides
   ========================================= */

/* Course content item width override */
.content-item-wrap {
  width: 900px !important;
}
