/* F1 Macro Technologies — one fixed style for text entered in Admin on course pages
   (About, Modules, FAQs, Package features). Text pasted from Word / Google Docs / other sites brings its own
   fonts, sizes and colours; these rules override them so every course page looks the same. */

.f1-rich {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #3a4556;
}

/* Pasted inline fonts / sizes are ignored (icons keep their own font). */
.f1-rich p, .f1-rich span, .f1-rich font, .f1-rich li, .f1-rich div, .f1-rich td, .f1-rich th,
.f1-rich a, .f1-rich b, .f1-rich strong, .f1-rich em, .f1-rich i:not([class]), .f1-rich u, .f1-rich small {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
.f1-rich p, .f1-rich div { color: inherit; }
.f1-rich p { margin: 0 0 12px; text-align: left !important; }

/* Headings inside the text: short, bold, brand colour — not page-title size. */
.f1-rich h1, .f1-rich h2, .f1-rich h3, .f1-rich h4, .f1-rich h5, .f1-rich h6 {
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #0E2A47 !important;
  margin: 22px 0 8px !important;
  padding-left: 10px;
  border-left: 3px solid #F39200;
  letter-spacing: 0;
  text-transform: none;
}
.f1-rich > h1:first-child, .f1-rich > h2:first-child, .f1-rich > h3:first-child { margin-top: 4px !important; }

.f1-rich b, .f1-rich strong { font-weight: 700; color: #0E2A47; }
.f1-rich a { color: #1a5fd0; text-decoration: underline; text-underline-offset: 2px; }
.f1-rich a:hover { color: #F39200; }

.f1-rich ul, .f1-rich ol { margin: 0 0 14px; padding-left: 22px; }
.f1-rich li { margin: 4px 0; }
.f1-rich ul li::marker { color: #F39200; }

.f1-rich table { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.f1-rich td, .f1-rich th { border: 1px solid #e3e8f0; padding: 6px 10px; }
.f1-rich img { max-width: 100%; height: auto; }

/* Smaller variants */
.f1-rich--module, .f1-rich--faq { font-size: 14.5px; }
.f1-rich--package { font-size: 14px; line-height: 1.6; }
.f1-rich--package ul { padding-left: 18px; margin-bottom: 0; }
.f1-rich--package li { margin: 5px 0; }

@media (max-width: 575px) {
  .f1-rich { font-size: 14.5px; }
  .f1-rich h1, .f1-rich h2, .f1-rich h3, .f1-rich h4, .f1-rich h5, .f1-rich h6 { font-size: 16px !important; }
}

/* Package cards: the wrapper item must not get its own tick; the real items keep the card's tick style. */
li.f1-rich--package::before, li.f1-rich--package::marker { content: none !important; display: none !important; }
li.f1-rich--package { padding-left: 0 !important; margin: 0 !important; }
li.f1-rich--package > ul { padding-left: 0; margin: 0; list-style: none; }
li.f1-rich--package > ul > li::marker { content: none; }
