/* Static-site fixes for neacademy mirror: header dropdown + mobile menu fallback */
@media (min-width: 1025px) {
  .elementor-nav-menu--main .menu-item-has-children { position: relative; }
  .elementor-nav-menu--main ul.sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 9999; min-width: 220px; }
  .elementor-nav-menu--main .menu-item-has-children:hover > ul.sub-menu,
  .elementor-nav-menu--main .menu-item-has-children:focus-within > ul.sub-menu { display: block !important; }
  .elementor-nav-menu--main ul.sub-menu li { width: 100%; }
}
/* mobile dropdown toggle fallback */
.elementor-nav-menu--dropdown.sf-static-open { display: block !important; }

/* ---- Enquiry form (replaces WooCommerce add-to-cart) ---- */
.ne-btn, a.ne-btn, .ne-btn.elementor-button { background: #6E2132 !important; color: #fff !important; border: 0; border-radius: 6px; padding: 14px 32px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; display: inline-block; transition: background .2s; }
.ne-btn:hover, a.ne-btn:hover { background: #B25571 !important; color: #fff !important; }
.ne-enquire-btn { text-align: center; margin: 10px 0; }
.ne-enquiry { background: #F9F1EC; padding: 80px 20px; font-family: inherit; }
.ne-enquiry__inner { max-width: 760px; margin: 0 auto; }
.ne-enquiry__kicker { color: #B25571; font-style: italic; font-size: 15px; margin: 0 0 6px; text-align: center; }
.ne-enquiry__title { color: #181712; font-size: 38px; font-weight: 400; margin: 0 0 14px; text-align: center; }
.ne-enquiry__lead { color: #444; text-align: center; margin: 0 0 34px; font-size: 15px; line-height: 1.6; }
.ne-enquiry__form { background: #fff; border-radius: 10px; padding: 34px; box-shadow: 0 8px 30px rgba(110,33,50,.08); }
.ne-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ne-field { display: block; margin-bottom: 16px; }
.ne-field span { display: block; font-size: 13px; font-weight: 600; color: #6E2132; margin-bottom: 6px; }
.ne-field input, .ne-field select, .ne-field textarea { width: 100%; box-sizing: border-box; border: 1px solid #E0E0E0; border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 15px; color: #181712; background: #fff; }
.ne-field input:focus, .ne-field select:focus, .ne-field textarea:focus { outline: none; border-color: #B25571; box-shadow: 0 0 0 3px rgba(178,85,113,.15); }
.ne-btn--submit { width: 100%; margin-top: 6px; font-size: 16px; }
.ne-enquiry__note { text-align: center; font-size: 14px; color: #666; margin: 18px 0 0; }
.ne-enquiry__note a { color: #6E2132; font-weight: 600; text-decoration: none; }
.ne-enquiry__error { color: #9B2602; font-size: 14px; margin: 0 0 10px; }
@media (max-width: 640px) { .ne-row { grid-template-columns: 1fr; gap: 0; } .ne-enquiry { padding: 50px 16px; } .ne-enquiry__form { padding: 22px; } .ne-enquiry__title { font-size: 28px; } }
.ne-enquiry .ne-field input, .ne-enquiry .ne-field select, .ne-enquiry .ne-field textarea { background: #fff !important; border: 1px solid #E0E0E0 !important; border-radius: 6px !important; color: #181712 !important; }
/* Elementor entrance animations: never leave content hidden if the waypoint handler doesn't fire */
.elementor-invisible { visibility: visible !important; }
.ne-enquiry__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: -14px 0 30px; padding: 0; font-size: 13px; color: #6E2132; font-weight: 600; }
.ne-enquiry__trust span::before { content: "\2713"; margin-right: 6px; color: #B25571; }

/* ---- Review cards (client testimonials, tagged with course + source) ---- */
.ne-reviews { background: #F9F1EC; padding: 70px 20px; }
.ne-reviews__inner { max-width: 1140px; margin: 0 auto; }
.ne-reviews__title { text-align: center; color: #181712; font-size: 36px; font-weight: 400; margin: 0 0 30px; }
.ne-reviews__banner { text-align: center; max-width: 720px; margin: -10px auto 34px; color: #444; font-size: 15px; line-height: 1.6; }
.ne-reviews__banner .ne-review__stars { display: inline; margin-right: 6px; }
.ne-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: start; }
.ne-review { background: #fff; border-radius: 10px; padding: 28px 28px 22px; box-shadow: 0 8px 30px rgba(110,33,50,.08); }
.ne-review__stars { color: #F2B01E; letter-spacing: 2px; font-size: 18px; margin-bottom: 12px; }
.ne-review__body p { font-size: 15px; line-height: 1.65; color: #333; margin: 0 0 12px; }
.ne-review--long:not(.is-open) .ne-review__body { max-height: 190px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ne-review__more { background: none; border: 0; padding: 0; color: #6E2132; font-weight: 600; font-size: 14px; cursor: pointer; margin: 0 0 12px; }
.ne-review__more:hover { color: #B25571; text-decoration: underline; }
.ne-review__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; border-top: 1px solid #F0E4DE; padding-top: 14px; font-size: 13px; color: #666; }
.ne-review__meta strong { color: #181712; font-size: 14px; }
.ne-review__date::before { content: "\00b7"; margin-right: 8px; }
.ne-review__tag { display: inline-block; background: #F9F1EC; color: #6E2132; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12px; }
.ne-review__tag--source { background: #fff; border: 1px solid #E8D5CF; }

/* ---- Rebuilt course page content ---- */
.ne-page { color: #333; }
.ne-page__section { padding: 70px 20px; }
.ne-page__section > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.ne-page__section--tint { background: #F9F1EC; }
.ne-page__section--narrow > * { max-width: 800px; }
.ne-page h2 { color: #181712; font-size: 36px; font-weight: 400; line-height: 1.2; margin: 0 0 18px; }
.ne-page h3 { color: #6E2132; font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.ne-page h4 { color: #181712; font-size: 15px; font-weight: 600; margin: 18px 0 8px; }
.ne-page p { font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.ne-page__kicker { color: #B25571; font-style: italic; font-size: 15px; margin: 0 0 6px; }
.ne-center { text-align: center; }
.ne-page__lead { max-width: 760px; margin-left: auto; margin-right: auto; }
.ne-page__note { font-size: 14px; color: #666; }
.ne-page__cta { margin: 22px 0 0; }
.ne-page__row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ne-page__row--reverse .ne-page__text { order: 2; }
.ne-page__media img { width: 100%; height: auto; border-radius: 10px; box-shadow: 14px 14px 0 #F9F1EC; display: block; }
.ne-page__section--tint .ne-page__media img { box-shadow: 14px 14px 0 #F3BD97; }
.ne-grid { display: grid; gap: 22px; margin-top: 30px; }
.ne-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ne-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ne-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ne-grid--5 { grid-template-columns: repeat(5, 1fr); }
.ne-card { background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 8px 30px rgba(110,33,50,.07); }
.ne-page__section:not(.ne-page__section--tint) .ne-card { background: #F9F1EC; box-shadow: none; }
.ne-list { margin: 0 0 14px; padding-left: 18px; font-size: 15px; line-height: 1.7; }
.ne-list li { margin-bottom: 4px; }
.ne-list--check { list-style: none; padding-left: 0; }
.ne-list--check li { padding-left: 24px; position: relative; }
.ne-list--check li::before { content: "\2713"; position: absolute; left: 0; color: #B25571; font-weight: 700; }
.ne-day { background: #fff; border-radius: 10px; padding: 24px 20px; text-align: center; box-shadow: 0 8px 30px rgba(110,33,50,.07); }
.ne-day span { display: inline-block; background: #6E2132; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.ne-day h3 { font-size: 18px; }
.ne-day p { font-size: 14px; margin: 0; }
.ne-options .ne-option { display: flex; flex-direction: column; }
.ne-option--kit { border: 2px solid #B25571; }
.ne-option__img img { width: 100%; height: auto; border-radius: 8px; margin: 6px 0 14px; display: block; }
.ne-option .ne-page__cta { margin-top: auto; padding-top: 10px; }
.ne-price { color: #6E2132; font-size: 30px; font-weight: 700; margin: 0 0 6px; }
.ne-features .ne-feature { background: #F9F1EC; border-radius: 10px; padding: 24px; }
.ne-feature h3 { font-size: 17px; }
.ne-feature p { font-size: 14px; margin: 0; }
.ne-times { margin: 0 0 14px; }
.ne-times div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F0E4DE; font-size: 15px; }
.ne-times dt { color: #6E2132; font-weight: 600; }
.ne-times dd { margin: 0; }
.ne-faq details { background: #fff; border: 1px solid #F0E4DE; border-radius: 8px; padding: 0 20px; margin-bottom: 10px; }
.ne-faq summary { cursor: pointer; font-weight: 600; color: #181712; padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
.ne-faq summary::-webkit-details-marker { display: none; }
.ne-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; color: #B25571; font-size: 22px; }
.ne-faq details[open] summary::after { content: "\2013"; }
.ne-faq details p { padding-bottom: 16px; margin: 0; }
.ne-page__final { background: #6E2132; color: #fff; }
.ne-page__final h2, .ne-page__final p, .ne-page__final .ne-page__kicker { color: #fff; }
.ne-page__final .ne-page__kicker { color: #F3BD97; }
.ne-page__final .ne-btn { background: #fff !important; color: #6E2132 !important; }
.ne-page__final .ne-price { color: #F3BD97; }
@media (max-width: 1024px) { .ne-grid--4, .ne-grid--5 { grid-template-columns: repeat(2, 1fr); } .ne-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .ne-page__row { grid-template-columns: 1fr; gap: 28px; } .ne-page__row--reverse .ne-page__text { order: 0; } .ne-grid--2, .ne-grid--3, .ne-grid--4, .ne-grid--5 { grid-template-columns: 1fr; } .ne-page h2 { font-size: 28px; } .ne-page__section { padding: 48px 16px; } .ne-times div { grid-template-columns: 1fr; gap: 2px; } }
.ne-page { overflow-x: hidden; }
.ne-page__row > * { min-width: 0; }
.ne-page__media img, .ne-option__img img { max-width: 100%; }
.ne-grid > * { min-width: 0; }
/* keep section children centred: element margin rules above zero the side margins */
.ne-page__section > h2, .ne-page__section > p, .ne-page__section > .ne-page__kicker, .ne-page__section > .ne-grid, .ne-page__section > .ne-faq, .ne-page__section > .ne-page__cta, .ne-page__section > .ne-page__row { margin-left: auto !important; margin-right: auto !important; }
.ne-page__section > .ne-page__cta.ne-center, .ne-page__final .ne-page__cta { text-align: center; }
.ne-review__more, .ne-review__more:hover { background: none !important; border: 0 !important; padding: 0 !important; color: #6E2132 !important; font-size: 14px !important; box-shadow: none !important; }
.ne-review__more:hover { color: #B25571 !important; text-decoration: underline; }
