/* =========================================================
   OXFORD HOME SCHOOLING
   SUBJECT COURSE PRODUCT TEMPLATE
   ========================================================= */


/*
 * Literal colour and sizing values are retained deliberately.
 * This avoids CSS custom-property removal by optimisation/caching layers.
 */

/* =========================================================
   1. Remove WooCommerce product-page width constraints
   ========================================================= */

body.single-product.et_pb_pagebuilder_layout #main-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product.et_pb_pagebuilder_layout
#main-content > .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product.et_pb_pagebuilder_layout
#main-content > .container::before {
  display: none !important;
}

body.single-product.et_pb_pagebuilder_layout
#content-area,
body.single-product.et_pb_pagebuilder_layout
#left-area {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.single-product.et_pb_pagebuilder_layout
#left-area > .product,
body.single-product.et_pb_pagebuilder_layout
.et-l--post,
body.single-product.et_pb_pagebuilder_layout
.et-l--post > .et_builder_inner_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box;
}

/*
 * Full-bleed safeguard.
 * Ensures top-level Divi sections reach the browser edges even if
 * another theme or WooCommerce wrapper still applies a max-width.
 */
body.single-product.et_pb_pagebuilder_layout
.et-l--post > .et_builder_inner_content > .et_pb_section {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  box-sizing: border-box;
}


/* =========================================================
   2. Subject course hero
   ========================================================= */

.ohs-subject-hero {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.ohs-subject-hero .et_pb_row {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ohs-subject-hero .ohs-subject-hero-purchase {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  min-height: 540px;
  padding: 46px 42px !important;

  box-sizing: border-box;
}


/* =========================================================
   3. Purchase card modules
   ========================================================= */

.ohs-subject-hero
.ohs-subject-hero-purchase
.ohs-purchase-card-head,

.ohs-subject-hero
.ohs-subject-hero-purchase
.ohs-purchase-card-price,

.ohs-subject-hero
.ohs-subject-hero-purchase
.ohs-purchase-card-summary,

.ohs-subject-hero
.ohs-subject-hero-purchase
.ohs-purchase-card-action {
  width: 100%;
  max-width: 390px;

  margin: 0 !important;

  padding-left: 28px !important;
  padding-right: 28px !important;

  background: rgba(255, 255, 255, 0.96) !important;

  border-left: 1px solid rgba(16, 59, 70, 0.12);
  border-right: 1px solid rgba(16, 59, 70, 0.12);

  box-sizing: border-box;

  box-shadow:
    0 10px 28px rgba(16, 59, 70, 0.14);

  backdrop-filter: blur(3px);
}


/* =========================================================
   4. Purchase card heading
   ========================================================= */

.ohs-subject-hero .ohs-purchase-card-head {
  padding-top: 24px !important;
  padding-bottom: 2px !important;

  border-top: 1px solid rgba(16, 59, 70, 0.12);
  border-radius: 12px 12px 0 0;
}

.ohs-subject-hero .ohs-purchase-card-head h2,
.ohs-subject-hero .ohs-purchase-card-head h3 {
  margin: 0 !important;
  padding: 0 !important;

  color: #103b46 !important;

  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.2em !important;
}


/* =========================================================
   5. Monthly price
   ========================================================= */

.ohs-subject-hero .ohs-purchase-card-price {
  padding-top: 3px !important;
  padding-bottom: 12px !important;
}

.ohs-subject-hero .ohs-purchase-card-price .price,
.ohs-subject-hero
.ohs-purchase-card-price
.woocommerce-Price-amount {
  color: #2f7d24 !important;

  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.2em !important;
}


/* =========================================================
   6. Package summary
   ========================================================= */

.ohs-subject-hero .ohs-purchase-card-summary {
  padding-top: 0 !important;
  padding-bottom: 16px !important;
}

/* Remove the shortcode's old standalone box treatment */
.ohs-subject-hero
.ohs-purchase-card-summary
.ool-course-package-summary {
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ohs-subject-hero
.ohs-purchase-card-summary
.ool-course-package-summary p,

.ohs-subject-hero
.ohs-purchase-card-summary
.ool-course-package-summary li {
  font-size: 14px;
  line-height: 1.5em;
}


/* =========================================================
   7. Add-to-cart area
   ========================================================= */

.ohs-subject-hero .ohs-purchase-card-action {
  padding-top: 0 !important;
  padding-bottom: 24px !important;

  border-bottom: 1px solid rgba(16, 59, 70, 0.12);
  border-radius: 0 0 12px 12px;
}

.ohs-subject-hero
.ohs-purchase-card-action
form.cart {
  width: 100%;
  margin: 0 !important;
}

/* A course is purchased once, so quantity is unnecessary */
.ohs-subject-hero
.ohs-purchase-card-action
.quantity {
  display: none !important;
}

body #page-container
.ohs-subject-hero
.ohs-purchase-card-action
button.single_add_to_cart_button {
  display: block !important;

  width: 100% !important;
  min-height: 48px;

  margin: 0 !important;
  padding: 13px 18px !important;

  background: #2f7d24 !important;
  color: #ffffff !important;

  border: 0 !important;
  border-radius: 6px !important;

  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2em !important;

  box-shadow:
    0 3px 8px rgba(16, 59, 70, 0.18);

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body #page-container
.ohs-subject-hero
.ohs-purchase-card-action
button.single_add_to_cart_button:hover,

body #page-container
.ohs-subject-hero
.ohs-purchase-card-action
button.single_add_to_cart_button:focus {
  background: #24651c !important;
  color: #ffffff !important;

  box-shadow:
    0 5px 12px rgba(16, 59, 70, 0.22);

  transform: translateY(-1px);
}

body #page-container
.ohs-subject-hero
.ohs-purchase-card-action
button.single_add_to_cart_button::after {
  display: none !important;
}


/* =========================================================
   8. Hide accelerated checkout in the hero
   ========================================================= */

.ohs-subject-hero
.ohs-purchase-card-action
#wc-stripe-express-checkout-element,

.ohs-subject-hero
.ohs-purchase-card-action
.wcpay-express-checkout-wrapper,

.ohs-subject-hero
.ohs-purchase-card-action
.wc-stripe-express-checkout-element {
  display: none !important;
}


/* =========================================================
   9. Desktop hero positioning
   ========================================================= */

@media (min-width: 981px) {

  .ohs-subject-hero .ohs-subject-hero-purchase {
    padding:
      46px
      42px
      46px
      98px !important;
  }

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-head,

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-price,

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-summary,

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-action {
    max-width: 390px;
  }
}


/* =========================================================
   10. Tablet and mobile hero
   ========================================================= */

@media (max-width: 980px) {

  .ohs-subject-hero .ohs-subject-hero-purchase {
    min-height: auto;

    align-items: center;

    padding:
      32px
      22px !important;
  }

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-head,

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-price,

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-summary,

  .ohs-subject-hero
  .ohs-subject-hero-purchase
  .ohs-purchase-card-action {
    max-width: 440px;
  }
}


/* =========================================================
   11. Subject-page section navigation
   ========================================================= */

.ohs-subject-page-nav {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  background: #103b46 !important;

  border: 0;
  box-shadow:
    0 4px 12px rgba(16, 59, 70, 0.12);
}

.ohs-subject-page-nav .et_pb_row {
  width: 94%;
  max-width: 1180px;

  margin: 0 auto !important;
  padding: 0 !important;
}

.ohs-subject-page-nav .et_pb_column,
.ohs-subject-page-nav .et_pb_code,
.ohs-subject-page-nav .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}

.ohs-course-jump-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0;

  min-height: 46px;

  margin: 0;
  padding: 0;

  overflow-x: auto;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ohs-course-jump-nav::-webkit-scrollbar {
  display: none;
}

.ohs-course-jump-nav a {
  position: relative;
  flex: 0 0 auto;

  padding: 14px 15px;

  color: #ffffff !important;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.ohs-course-jump-nav a:hover,
.ohs-course-jump-nav a:focus {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
}

.ohs-course-jump-nav a::after {
  content: "";

  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 7px;

  height: 2px;

  background: #78b943;

  transform: scaleX(0);
  transform-origin: center;

  transition:
    transform 0.2s ease;
}

.ohs-course-jump-nav a:hover::after,
.ohs-course-jump-nav a:focus::after {
  transform: scaleX(1);
}


/* =========================================================
   12. Anchor positioning
   ========================================================= */

#course-overview,
#how-it-works,
#course-content,
#exams,
#support-addons,
#faqs,
#textbooks,
#required-textbook,
#support-texts,
#related-products {
  scroll-margin-top: 90px;
}


/* =========================================================
   13. Mobile section navigation
   ========================================================= */

@media (max-width: 980px) {

  .ohs-subject-page-nav .et_pb_row {
    width: 100%;
  }

  .ohs-course-jump-nav {
    justify-content: flex-start;
    min-height: 44px;
  }

  .ohs-course-jump-nav a {
    padding: 13px 14px;
    font-size: 12.5px;
  }
}


/* =========================================================
   14. Smooth scrolling
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {

  html {
    scroll-behavior: smooth;
  }
}
/* =========================================================
   Subject page breadcrumb
   ========================================================= */

.ohs-subject-breadcrumb-section {
  margin: 0 !important;
  padding: 0 !important;
  background: #f4f8ef;
  border-bottom: 1px solid rgba(16, 59, 70, 0.12);
}

.ohs-subject-breadcrumb-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.ohs-subject-breadcrumb-section .et_pb_column,
.ohs-subject-breadcrumb-section .et_pb_code,
.ohs-subject-breadcrumb-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}

body #page-container .ohs-subject-breadcrumb {
  width: 100%;
  margin: 0;
  padding: 11px 0;
}

body #page-container .ohs-subject-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
  counter-reset: none !important;
}

body #page-container .ohs-subject-breadcrumb li {
  display: inline-flex;
  align-items: center;

  margin: 0 !important;
  padding: 0 !important;

  color: #66777b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none !important;
}

body #page-container .ohs-subject-breadcrumb li::marker {
  content: "" !important;
  display: none !important;
}

body #page-container
.ohs-subject-breadcrumb
li + li::before {
  content: "›";

  margin: 0 10px;

  color: #7d8d91;
  font-size: 14px;
  font-weight: 400;
}

body #page-container .ohs-subject-breadcrumb a {
  color: #103b46 !important;
  font-weight: 700;
  text-decoration: none;
}

body #page-container .ohs-subject-breadcrumb a:hover,
body #page-container .ohs-subject-breadcrumb a:focus {
  color: #2f7d24 !important;
  text-decoration: underline;
}

body #page-container
.ohs-subject-breadcrumb
li[aria-current="page"] {
  color: #68777b;
  font-weight: 600;
}

@media (max-width: 767px) {
  .ohs-subject-breadcrumb-section .et_pb_row {
    width: 90% !important;
  }

  body #page-container .ohs-subject-breadcrumb {
    padding: 9px 0;
  }

  body #page-container .ohs-subject-breadcrumb li {
    font-size: 12px;
  }

  body #page-container
  .ohs-subject-breadcrumb
  li + li::before {
    margin: 0 7px;
  }
}

/* =========================================================
   Subject page content canvas
   ========================================================= */

.ohs-subject-content-section {
  padding: 64px 0 !important;
}

.ohs-subject-content-section > .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Optional narrower row for long-form reading */
.ohs-subject-reading-row {
  width: 92% !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 980px) {
  .ohs-subject-content-section {
    padding: 48px 0 !important;
  }

  .ohs-subject-content-section > .et_pb_row {
    width: 90% !important;
  }
}

@media (max-width: 767px) {
  .ohs-subject-content-section {
    padding: 38px 0 !important;
  }
}

/* =========================================================
   Course overview / at a glance
   ========================================================= */

.ohs-course-overview-section {
  background: #f4f8ef;
}

.ohs-course-overview-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ohs-course-overview-section .et_pb_code,
.ohs-course-overview-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}


/* Section heading */

.ohs-course-overview-section .ohs-section-eyebrow {
  margin: 0 0 10px !important;

  color: #2f7d24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-course-overview-section h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700 !important;
  line-height: 1.15em;
}

.ohs-course-overview-section .ohs-course-overview-intro {
  max-width: 900px;

  margin: 0 0 36px !important;

  color: #334b52 !important;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.65em !important;
}


/* Fact-card grid */

.ohs-course-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ohs-course-fact-card {
  position: relative;

  min-height: 190px;
  margin: 0;
  padding: 25px 22px 23px;

  background: #ffffff;
  border: 1px solid rgba(16, 59, 70, 0.12);
  border-radius: 10px;

  box-shadow:
    0 7px 20px rgba(16, 59, 70, 0.06);

  overflow: hidden;
}

.ohs-course-fact-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 4px;
  background: #2f7d24;
}

.ohs-course-fact-label {
  margin: 0 0 11px !important;

  color: #2f7d24 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ohs-course-fact-card h3 {
  margin: 0 0 11px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.22em !important;
}

.ohs-course-fact-card p:last-child {
  margin: 0 !important;

  color: #405257;
  font-size: 14.5px;
  line-height: 1.55em;
}


/* Progression panel */

.ohs-course-overview-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.8fr);
  align-items: center;
  gap: 26px;

  margin-top: 30px;
  padding: 22px 26px;

  background: #eaf4e2;
  border: 1px solid rgba(47, 125, 36, 0.16);
  border-left: 5px solid #2f7d24;
  border-radius: 8px;

  box-shadow:
    0 5px 16px rgba(16, 59, 70, 0.05);
}

.ohs-course-overview-note-heading {
  color: #103b46;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3em;
}

.ohs-course-overview-note p {
  margin: 0 !important;

  color: #334b52;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.55em;
}


/* Smaller desktop and tablet */

@media (max-width: 1100px) {
  .ohs-course-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ohs-course-fact-card {
    min-height: 175px;
  }
}


/* Mobile */

@media (max-width: 600px) {
  .ohs-course-overview-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-course-overview-section
  .ohs-course-overview-intro {
    margin-bottom: 28px !important;
    font-size: 16px !important;
  }

  .ohs-course-facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ohs-course-fact-card {
    min-height: 0;
    padding: 23px 20px 21px;
  }

  .ohs-course-overview-section h2 {
    font-size: 30px;
  }

  .ohs-course-overview-note {
    grid-template-columns: 1fr;
    gap: 8px;

    margin-top: 22px;
    padding: 20px;
  }

  .ohs-course-overview-note-heading {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ohs-course-overview-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-course-facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ohs-course-fact-card {
    min-height: 0;
    padding: 23px 20px 21px;
  }

  .ohs-course-overview-section h2 {
    font-size: 30px;
  }
}

/* =========================================================
   How the course works
   ========================================================= */

.ohs-how-course-works-section {
  background: #ffffff;
}

.ohs-how-course-works-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ohs-how-course-works-section .et_pb_code,
.ohs-how-course-works-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}


/* Section heading */

.ohs-how-course-works-section .ohs-section-eyebrow {
  margin: 0 0 10px !important;

  color: #2f7d24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-how-course-works-section h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700 !important;
  line-height: 1.15em;
}

.ohs-how-course-works-section .ohs-course-works-intro {
  max-width: 900px;
  margin: 0 0 38px !important;

  color: #334b52 !important;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.65em !important;
}


/* Four-step grid */

.ohs-course-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.ohs-course-step-card {
  position: relative;

  min-height: 275px;
  margin: 0 !important;
  padding: 28px 24px 25px !important;

  background: #f4f8ef;
  border: 1px solid rgba(16, 59, 70, 0.12);
  border-radius: 12px;

  box-shadow:
    0 8px 22px rgba(16, 59, 70, 0.07);

  list-style: none !important;
}

.ohs-course-step-card::marker {
  content: "";
}

.ohs-course-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  margin-bottom: 20px;

  background: #2f7d24;
  color: #ffffff;

  border-radius: 50%;

  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.ohs-course-step-card h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2em !important;
}

.ohs-course-step-card p {
  margin: 0 !important;

  color: #405257;
  font-size: 15px;
  line-height: 1.6em;
}


/* Optional-support panel */

.ohs-course-support-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;

  margin-top: 30px;
  padding: 27px 30px;

  background: #103b46;
  color: #ffffff;

  border-radius: 10px;

  box-shadow:
    0 8px 22px rgba(16, 59, 70, 0.12);
}

.ohs-course-support-prompt-copy {
  max-width: 820px;
}

.ohs-course-support-prompt-label {
  margin: 0 0 7px !important;

  color: #a9d681 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-course-support-prompt h3 {
  margin: 0 0 9px !important;
  padding: 0 !important;

  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25em !important;
}

.ohs-course-support-prompt-copy > p:last-child {
  margin: 0 !important;

  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 15px;
  line-height: 1.6em;
}

body #page-container .ohs-course-support-prompt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  min-height: 46px;
  padding: 12px 18px;

  background: #78b943;
  color: #103b46 !important;

  border-radius: 6px;

  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.18);

  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body #page-container .ohs-course-support-prompt-button:hover,
body #page-container .ohs-course-support-prompt-button:focus {
  background: #8dcc55;
  color: #103b46 !important;

  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.22);

  transform: translateY(-1px);
}


/* Smaller desktop and tablet */

@media (max-width: 1100px) {
  .ohs-course-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ohs-course-step-card {
    min-height: 245px;
  }
}


/* Mobile */

@media (max-width: 700px) {
  .ohs-how-course-works-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-how-course-works-section .ohs-course-works-intro {
    margin-bottom: 28px !important;
    font-size: 16px !important;
  }

  .ohs-course-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ohs-course-step-card {
    min-height: 0;
    padding: 24px 21px 22px !important;
  }

  .ohs-course-support-prompt {
    display: block;

    margin-top: 22px;
    padding: 23px 21px;
  }

  body #page-container .ohs-course-support-prompt-button {
    width: 100%;
    margin-top: 20px;
  }
}

/* =========================================================
   Course content / modules
   ========================================================= */

.ohs-course-content-section {
  background: #f4f8ef;
}

.ohs-course-content-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ohs-course-content-section .et_pb_code,
.ohs-course-content-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}


/* Section heading */

.ohs-course-content-section .ohs-section-eyebrow {
  margin: 0 0 10px !important;

  color: #2f7d24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-course-content-section h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700 !important;
  line-height: 1.15em;
}

.ohs-course-content-section .ohs-course-content-intro {
  max-width: 900px;
  margin: 0 0 38px !important;

  color: #334b52 !important;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.65em !important;
}


/* Module grid */

.ohs-course-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.ohs-course-module {
  margin: 0;

  background: #ffffff;
  border: 1px solid rgba(16, 59, 70, 0.13);
  border-radius: 11px;

  box-shadow:
    0 7px 20px rgba(16, 59, 70, 0.06);

  overflow: hidden;
}

.ohs-course-module-wide {
  grid-column: 1 / -1;
}


/* Module heading */

.ohs-course-module summary {
  position: relative;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;

  min-height: 132px;
  padding: 23px 24px;

  cursor: pointer;
  list-style: none;

  transition:
    background-color 0.2s ease;
}

.ohs-course-module summary::-webkit-details-marker {
  display: none;
}

.ohs-course-module summary::marker {
  content: "";
}

.ohs-course-module summary:hover,
.ohs-course-module summary:focus {
  background: #f8fbf5;
}

.ohs-course-module[open] summary {
  background: #f8fbf5;
  border-bottom: 1px solid rgba(16, 59, 70, 0.11);
}


/* Module number */

.ohs-course-module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 78px;
  min-height: 34px;
  padding: 7px 11px;

  background: #2f7d24;
  color: #ffffff;

  border-radius: 18px;

  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}


/* Module title and description */

.ohs-course-module-summary {
  display: block;
}

.ohs-course-module-summary strong {
  display: block;

  margin-bottom: 7px;

  color: #103b46;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25em;
}

.ohs-course-module-summary > span {
  display: block;

  color: #4a5c61;
  font-size: 14.5px;
  line-height: 1.5em;
}


/* Lesson-count badge */

.ohs-course-module-count {
  color: #2f7d24;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;

  white-space: nowrap;
}


/* Plus/minus control */

.ohs-course-module-toggle {
  position: relative;

  display: block;
  width: 28px;
  height: 28px;

  border: 2px solid #2f7d24;
  border-radius: 50%;
}

.ohs-course-module-toggle::before,
.ohs-course-module-toggle::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 12px;
  height: 2px;

  background: #2f7d24;

  transform:
    translate(-50%, -50%);
}

.ohs-course-module-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);

  transition:
    transform 0.2s ease;
}

.ohs-course-module[open]
.ohs-course-module-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(0deg);
}


/* Expanded lesson list */

.ohs-course-module-content {
  padding: 22px 25px 25px;
}

.ohs-course-module-content ol {
  margin: 0 !important;
  padding-left: 30px !important;
}

.ohs-course-module-content li {
  margin: 0;
  padding: 8px 0 8px 7px;

  color: #334b52;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45em;

  border-bottom: 1px solid rgba(16, 59, 70, 0.09);
}

.ohs-course-module-content li:last-child {
  border-bottom: 0;
}

.ohs-course-module-content li::marker {
  color: #2f7d24;
  font-weight: 800;
}


/* Mock-exam labels */

.ohs-course-module-exams {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 20px;
  padding-top: 19px;

  border-top: 1px solid rgba(16, 59, 70, 0.11);
}

.ohs-course-module-exams span {
  display: inline-flex;
  align-items: center;

  padding: 8px 12px;

  background: #eaf4e2;
  color: #103b46;

  border-radius: 5px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}


/* Sequence note */

.ohs-course-sequence-note {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.8fr);
  align-items: center;
  gap: 28px;

  margin-top: 30px;
  padding: 22px 26px;

  background: #103b46;
  color: #ffffff;

  border-radius: 9px;

  box-shadow:
    0 7px 20px rgba(16, 59, 70, 0.11);
}

.ohs-course-sequence-note-heading {
  color: #ffffff;

  font-size: 17px;
  font-weight: 800;
  line-height: 1.3em;
}

.ohs-course-sequence-note p {
  margin: 0 !important;

  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  line-height: 1.55em;
}


/* Tablet */

@media (max-width: 980px) {
  .ohs-course-modules-grid {
    grid-template-columns: 1fr;
  }

  .ohs-course-module-wide {
    grid-column: auto;
  }
}


/* Mobile */

@media (max-width: 700px) {
  .ohs-course-content-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-course-content-section
  .ohs-course-content-intro {
    margin-bottom: 28px !important;
    font-size: 16px !important;
  }

  .ohs-course-module summary {
    grid-template-columns: 1fr auto;
    gap: 12px;

    min-height: 0;
    padding: 20px;
  }

  .ohs-course-module-number {
    justify-self: start;
  }

  .ohs-course-module-summary {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ohs-course-module-count {
    display: none;
  }

  .ohs-course-module-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .ohs-course-module-summary strong {
    font-size: 19px;
  }

  .ohs-course-module-content {
    padding: 18px 20px 22px;
  }

  .ohs-course-sequence-note {
    grid-template-columns: 1fr;
    gap: 8px;

    margin-top: 22px;
    padding: 21px;
  }
}

/* =========================================================
   Exams and assessment
   ========================================================= */

.ohs-exams-section {
  background: #ffffff;
}

.ohs-exams-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ohs-exams-section .et_pb_code,
.ohs-exams-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}


/* Section heading */

.ohs-exams-section .ohs-section-eyebrow {
  margin: 0 0 10px !important;

  color: #2f7d24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-exams-section h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700 !important;
  line-height: 1.15em;
}

.ohs-exams-section .ohs-exams-intro {
  max-width: 900px;
  margin: 0 0 38px !important;

  color: #334b52 !important;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.65em !important;
}


/* Examination-paper cards */

.ohs-exam-papers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ohs-exam-paper-card {
  margin: 0;

  background: #f8faf5;
  border: 1px solid rgba(16, 59, 70, 0.13);
  border-radius: 12px;

  box-shadow:
    0 8px 22px rgba(16, 59, 70, 0.07);

  overflow: hidden;
}

.ohs-exam-paper-heading {
  padding: 22px 25px;

  background: #103b46;
  color: #ffffff;
}

.ohs-exam-paper-heading p {
  margin: 0 0 5px !important;

  color: #a9d681 !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ohs-exam-paper-heading h3 {
  margin: 0 !important;
  padding: 0 !important;

  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.2em !important;
}

.ohs-exam-paper-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  border-bottom: 1px solid rgba(16, 59, 70, 0.11);
}

.ohs-exam-paper-stats > div {
  padding: 21px 18px;

  text-align: center;
  border-right: 1px solid rgba(16, 59, 70, 0.10);
}

.ohs-exam-paper-stats > div:last-child {
  border-right: 0;
}

.ohs-exam-paper-stats strong {
  display: block;

  margin-bottom: 5px;

  color: #2f7d24;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2em;
}

.ohs-exam-paper-stats span {
  display: block;

  color: #5a6b70;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35em;
}

.ohs-exam-paper-description {
  margin: 0 !important;
  padding: 22px 25px 24px;

  color: #405257;
  font-size: 15px;
  line-height: 1.6em;
}


/* Supporting exam facts */

.ohs-exam-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;

  margin-top: 26px;
}

.ohs-exam-fact {
  margin: 0;
  padding: 23px 21px;

  background: #f4f8ef;
  border: 1px solid rgba(16, 59, 70, 0.11);
  border-radius: 9px;
}

.ohs-exam-fact-label {
  margin: 0 0 9px !important;

  color: #2f7d24 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ohs-exam-fact h3 {
  margin: 0 0 9px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25em !important;
}

.ohs-exam-fact p:last-child {
  margin: 0 !important;

  color: #405257;
  font-size: 14px;
  line-height: 1.55em;
}


/* Private-candidate entry panel */

.ohs-exam-entry-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;

  margin-top: 28px;
  padding: 27px 30px;

  background: #eaf4e2;
  border: 1px solid rgba(47, 125, 36, 0.16);
  border-left: 5px solid #2f7d24;
  border-radius: 9px;

  box-shadow:
    0 6px 18px rgba(16, 59, 70, 0.06);
}

.ohs-exam-entry-copy {
  max-width: 820px;
}

.ohs-exam-entry-label {
  margin: 0 0 7px !important;

  color: #2f7d24 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ohs-exam-entry-panel h3 {
  margin: 0 0 9px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25em !important;
}

.ohs-exam-entry-copy > p:last-child {
  margin: 0 !important;

  color: #334b52;
  font-size: 15px;
  line-height: 1.6em;
}

body #page-container .ohs-exam-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  min-height: 46px;
  padding: 12px 18px;

  background: #2f7d24;
  color: #ffffff !important;

  border-radius: 6px;

  box-shadow:
    0 3px 8px rgba(16, 59, 70, 0.17);

  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body #page-container .ohs-exam-entry-button:hover,
body #page-container .ohs-exam-entry-button:focus {
  background: #24651c;
  color: #ffffff !important;

  box-shadow:
    0 5px 12px rgba(16, 59, 70, 0.21);

  transform: translateY(-1px);
}


/* Tablet */

@media (max-width: 1100px) {
  .ohs-exam-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Mobile */

@media (max-width: 700px) {
  .ohs-exams-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-exams-section .ohs-exams-intro {
    margin-bottom: 28px !important;
    font-size: 16px !important;
  }

  .ohs-exam-papers-grid,
  .ohs-exam-facts-grid {
    grid-template-columns: 1fr;
  }

  .ohs-exam-paper-stats {
    grid-template-columns: 1fr;
  }

  .ohs-exam-paper-stats > div {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 59, 70, 0.10);
  }

  .ohs-exam-paper-stats > div:last-child {
    border-bottom: 0;
  }

  .ohs-exam-entry-panel {
    display: block;

    margin-top: 22px;
    padding: 23px 21px;
  }

  body #page-container .ohs-exam-entry-button {
    width: 100%;
    margin-top: 20px;
  }
}

/* =========================================================
   Support and add-ons
   ========================================================= */

.ohs-support-addons-section {
  background: #f4f8ef;
}

.ohs-support-addons-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ohs-support-addons-section .et_pb_code,
.ohs-support-addons-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}


/* Section heading */

.ohs-support-addons-section .ohs-section-eyebrow {
  margin: 0 0 10px !important;

  color: #2f7d24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-support-addons-section h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700 !important;
  line-height: 1.15em;
}

.ohs-support-addons-section .ohs-support-addons-intro {
  max-width: 900px;
  margin: 0 0 38px !important;

  color: #334b52 !important;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.65em !important;
}


/* Add-on card grid */

.ohs-support-addons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ohs-support-addon-card {
  position: relative;

  min-height: 225px;
  margin: 0;
  padding: 27px 24px 24px;

  background: #ffffff;

  border: 1px solid rgba(16, 59, 70, 0.12);
  border-radius: 11px;

  box-shadow:
    0 8px 22px rgba(16, 59, 70, 0.06);

  overflow: hidden;
}

.ohs-support-addon-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 4px;

  background: #2f7d24;
}

.ohs-support-addon-card-summary {
  background: #eef6e7;
}

.ohs-support-addon-label {
  margin: 0 0 11px !important;

  color: #2f7d24 !important;

  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ohs-support-addon-card h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;

  color: #103b46 !important;

  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.22em !important;
}

.ohs-support-addon-card p:last-child {
  margin: 0 !important;

  color: #405257;

  font-size: 15px;
  line-height: 1.6em;
}


/* Support CTA panel */

.ohs-support-addons-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 34px;

  margin-top: 30px;
  padding: 28px 30px;

  background: #103b46;
  color: #ffffff;

  border-radius: 10px;

  box-shadow:
    0 8px 22px rgba(16, 59, 70, 0.12);
}

.ohs-support-addons-panel-copy {
  max-width: 760px;
}

.ohs-support-addons-panel-label {
  margin: 0 0 7px !important;

  color: #a9d681 !important;

  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-support-addons-panel h3 {
  margin: 0 0 9px !important;
  padding: 0 !important;

  color: #ffffff !important;

  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25em !important;
}

.ohs-support-addons-panel-copy > p:last-child {
  margin: 0 !important;

  color: rgba(255, 255, 255, 0.88) !important;

  font-size: 15px;
  line-height: 1.6em;
}


/* Support buttons */

.ohs-support-addons-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;

  gap: 12px;

  flex: 0 0 auto;
}

body #page-container .ohs-support-addons-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 12px 18px;

  border-radius: 6px;

  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;

  text-align: center;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body #page-container
.ohs-support-addons-button-primary {
  background: #78b943;
  color: #103b46 !important;

  border: 2px solid #78b943;

  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.18);
}

body #page-container
.ohs-support-addons-button-primary:hover,
body #page-container
.ohs-support-addons-button-primary:focus {
  background: #8dcc55;
  border-color: #8dcc55;
  color: #103b46 !important;

  transform: translateY(-1px);
}

body #page-container
.ohs-support-addons-button-secondary {
  background: transparent;
  color: #ffffff !important;

  border: 2px solid rgba(255, 255, 255, 0.72);
}

body #page-container
.ohs-support-addons-button-secondary:hover,
body #page-container
.ohs-support-addons-button-secondary:focus {
  background: rgba(255, 255, 255, 0.10);
  border-color: #ffffff;
  color: #ffffff !important;

  transform: translateY(-1px);
}


/* Tablet */

@media (max-width: 1100px) {
  .ohs-support-addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ohs-support-addon-card {
    min-height: 210px;
  }

  .ohs-support-addons-panel {
    align-items: flex-start;
  }

  .ohs-support-addons-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* Mobile */

@media (max-width: 700px) {
  .ohs-support-addons-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-support-addons-section
  .ohs-support-addons-intro {
    margin-bottom: 28px !important;
    font-size: 16px !important;
  }

  .ohs-support-addons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ohs-support-addon-card {
    min-height: 0;
    padding: 24px 21px 22px;
  }

  .ohs-support-addons-panel {
    display: block;

    margin-top: 22px;
    padding: 23px 21px;
  }

  .ohs-support-addons-actions {
    margin-top: 20px;
  }

  body #page-container
  .ohs-support-addons-button {
    width: 100%;
  }
}

/* Hide account-only links from visitors */
.ohs-logged-in-only {
  display: none !important;
}

/* Show them when WordPress confirms the user is logged in */
body.logged-in .ohs-logged-in-only {
  display: inline-flex !important;
}
/* =========================================================
   Course FAQs
   ========================================================= */

.ohs-course-faq-section {
  background: #ffffff;
}

.ohs-course-faq-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ohs-course-faq-section .et_pb_code,
.ohs-course-faq-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}


/* Section heading */

.ohs-course-faq-section .ohs-section-eyebrow {
  margin: 0 0 10px !important;

  color: #2f7d24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-course-faq-section h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;

  color: #103b46 !important;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700 !important;
  line-height: 1.15em;
}

.ohs-course-faq-section .ohs-course-faq-intro {
  max-width: 900px;
  margin: 0 0 38px !important;

  color: #334b52 !important;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.65em !important;
}


/* FAQ grid */

.ohs-course-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px 22px;
}

.ohs-course-faq-item {
  margin: 0;

  background: #f8faf5;
  border: 1px solid rgba(16, 59, 70, 0.12);
  border-radius: 9px;

  box-shadow:
    0 5px 16px rgba(16, 59, 70, 0.05);

  overflow: hidden;
}


/* Question */

.ohs-course-faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;

  min-height: 76px;
  padding: 19px 21px;

  color: #103b46;

  cursor: pointer;
  list-style: none;

  font-size: 16px;
  font-weight: 750;
  line-height: 1.4em;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.ohs-course-faq-item summary::-webkit-details-marker {
  display: none;
}

.ohs-course-faq-item summary::marker {
  content: "";
}

.ohs-course-faq-item summary:hover,
.ohs-course-faq-item summary:focus {
  background: #f0f6ea;
}

.ohs-course-faq-item[open] summary {
  background: #eef6e7;

  border-bottom:
    1px solid rgba(16, 59, 70, 0.10);
}


/* Plus and minus */

.ohs-course-faq-toggle {
  position: relative;

  display: block;
  width: 28px;
  height: 28px;

  border: 2px solid #2f7d24;
  border-radius: 50%;

  flex: 0 0 auto;
}

.ohs-course-faq-toggle::before,
.ohs-course-faq-toggle::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 12px;
  height: 2px;

  background: #2f7d24;

  transform: translate(-50%, -50%);
}

.ohs-course-faq-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);

  transition:
    transform 0.2s ease;
}

.ohs-course-faq-item[open]
.ohs-course-faq-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(0deg);
}


/* Answer */

.ohs-course-faq-answer {
  padding: 19px 21px 22px;

  background: #ffffff;
}

.ohs-course-faq-answer p {
  margin: 0 !important;

  color: #405257;
  font-size: 15px;
  line-height: 1.65em;
}


/* Mobile */

@media (max-width: 800px) {
  .ohs-course-faq-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-course-faq-section
  .ohs-course-faq-intro {
    margin-bottom: 28px !important;
    font-size: 16px !important;
  }

  .ohs-course-faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ohs-course-faq-item summary {
    min-height: 0;
    padding: 18px 19px;

    font-size: 15.5px;
  }

  .ohs-course-faq-answer {
    padding: 18px 19px 20px;
  }
}

/* =========================================================
   Closing course CTA
   ========================================================= */

.ohs-closing-cta-section {
  margin: 0 !important;

}

.ohs-closing-cta-section .et_pb_row {
  width: 94% !important;
  max-width: 1280px !important;

  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
}

.ohs-closing-cta-section .et_pb_code,
.ohs-closing-cta-section .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}


/* Main layout */

.ohs-closing-cta {
  display: grid;
  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(280px, 0.75fr);

  align-items: center;
  gap: 60px;
}


/* Copy */

.ohs-closing-cta-eyebrow {
  margin: 0 0 10px !important;

  color: #a9d681 !important;

  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohs-closing-cta h2 {
  max-width: 760px;

  margin: 0 0 17px !important;
  padding: 0 !important;

  color: #ffffff !important;

  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 700 !important;
  line-height: 1.14em !important;
}

.ohs-closing-cta-intro {
  max-width: 780px;

  margin: 0 0 25px !important;

  color: rgba(255, 255, 255, 0.88) !important;

  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.65em !important;
}


/* Benefits */

.ohs-closing-cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.ohs-closing-cta-benefits li {
  position: relative;

  margin: 0 !important;
  padding: 0 0 0 25px !important;

  color: #ffffff;

  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.45em;

  list-style: none !important;
}

.ohs-closing-cta-benefits li::before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

  color: #a9d681;

  font-size: 16px;
  font-weight: 900;
}


/* Action panel */

.ohs-closing-cta-action {
  padding: 28px 26px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;

  text-align: center;

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.13);
}

body #page-container .ohs-closing-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 52px;
  padding: 14px 21px;

  background: #78b943;
  color: #103b46 !important;

  border-radius: 6px;

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.20);

  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;

  text-align: center;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body #page-container .ohs-closing-cta-button:hover,
body #page-container .ohs-closing-cta-button:focus {
  background: #8dcc55;
  color: #103b46 !important;

  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.24);

  transform: translateY(-1px);
}

.ohs-closing-cta-action p {
  margin: 13px 0 0 !important;

  color: rgba(255, 255, 255, 0.72) !important;

  font-size: 12.5px;
  line-height: 1.5em;
}


/* Tablet and mobile */

@media (max-width: 900px) {
  .ohs-closing-cta-section {
    padding: 56px 0 !important;
  }

  .ohs-closing-cta {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ohs-closing-cta-action {
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .ohs-closing-cta-section {
    padding: 44px 0 !important;
  }

  .ohs-closing-cta-section .et_pb_row {
    width: 90% !important;
  }

  .ohs-closing-cta h2 {
    font-size: 31px;
  }

  .ohs-closing-cta-intro {
    font-size: 16px !important;
  }

  .ohs-closing-cta-benefits {
    display: grid;
    gap: 10px;
  }

  .ohs-closing-cta-action {
    padding: 23px 20px;
  }
}
/* Business course materials eyebrow */
#support-texts .ohs-section-eyebrow {
  margin: 0 0 10px !important;
  color: #2f8f2f !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}