/* Global Typography Styles for Jewish@Work */

/* Import Google Fonts - Lora (400 normal) & Open Sans (400 normal, 500 medium, 700 bold) */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400&family=Open+Sans:wght@400;500;700&display=swap');

/* Body text: Open Sans 17px at 400 normal */
body {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.6;
}

/* H1: Lora 60px at 400 normal (main headings) */
h1 {
  font-family: 'Lora', serif !important;
  font-size: 60px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

/* H2: Open Sans 30px at 500 italics (subtitles) */
h2 {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  font-style: italic !important;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

/* H3: Open Sans 24px at 700 bold (long body text headings, mainly used on the program pages) */
h3 {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.4;
  margin: 0 0 12px 0;
}

/* H4: Open Sans 22px at 700 bold uppercase ("eyebrow text" found above H1s) */
h4 {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  line-height: 1.4;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

/* H5: Lora at 20px at 400 normal (tile headings) */
h5 {
  font-family: 'Lora', serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

/* H6: Open Sans 18px at 700 bold uppercase (footer headings) */
h6 {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  line-height: 1.4;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

/* Paragraph and body text */
p {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  h3 {
    font-size: 22px;
  }
  
  h4 {
    font-size: 20px;
  }
  
  h5 {
    font-size: 18px;
  }
  
  h6 {
    font-size: 16px;
  }
  
  body, p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  h4 {
    font-size: 18px;
  }
  
  h5 {
    font-size: 17px;
  }
  
  h6 {
    font-size: 15px;
  }
  
  body, p {
    font-size: 15px;
  }
}

