/* ============================================
   NEXAVALLEY - Child Theme CSS
   Shared reset and base styles
   Widget-specific CSS has been extracted to
   mu-plugins/nexavalley-elementor-widgets/assets/css/
   Author: Jherson Martelo Medina
   ============================================ */

@font-face {
  font-family: 'Integral CF';
  src: url('../fonts/IntegralCF-Bold.otf') format('opentype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bariol';
  src: url('../fonts/Bariol_Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bariol';
  src: url('../fonts/bariol_bold-webfont.ttf') format('truetype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.page-subtitle,
.section-title,
.section-subtitle,
.final-cta-title {
  font-family: var(--font-brand);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible,
.curso-card:focus-visible,
.partner-showcase-card:focus-visible,
.nv-link:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}

.curso-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}

/* Reset heading font for LearnDash / plugin content — global h2-h6 brand font must not bleed into LMS UI */
.learndash-wrapper h1,
.learndash-wrapper h2,
.learndash-wrapper h3,
.learndash-wrapper h4,
.learndash-wrapper h5,
.learndash-wrapper h6,
.ld-course-list-items h1,
.ld-course-list-items h2,
.ld-course-list-items h3,
.ld-course-list-items h4,
.sfwd-courses h1,
.sfwd-courses h2,
.sfwd-courses h3,
.sfwd-courses h4,
.course-grid-item .course-title,
.ldcg-card-title,
.ld-course-list-item .ld-item-name {
  font-family: var(--font-display);
}
