/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Isaac Siso
Author URI: http://isaacsiso.com
Tags: tags
Version: 4.11.12.1759503286
Updated: 2025-10-03 14:54:46
*/

/* =========================================================
   EEA / ASTRA CHILD — CLEANED + DEDUPED (SAFE)
   - Consolidated duplicate media queries
   - Kept all selectors + behavior the same
   - Fixed broken comment header
========================================================= */


/* =========================================================
   0) GLOBAL LAYOUT / BASE
========================================================= */

html,
body {
  overflow-x: hidden;
  height: auto;
}

/* Ensure the page wrapper fills the screen */
#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Let the content area grow */
.site-content {
  flex: 1;
  padding-top: 2em;
}

/* Keep footer at bottom */
.site-footer {
  margin-top: auto;
  min-height: 120px; /* adjust as needed */
}

/* Remove Astra's default article padding on single pages */
.ast-separate-container .ast-article-single {
  padding: 0 !important;
}

.ast-separate-container #primary {
  margin-top: 0 !important;
}

/* ======== ROOT VARIABLES ======== */
:root {
  --offset-desktop: 20px;
  --offset-tablet-wide: 30px;
  --offset-collapsed: 20px;

  --gutter-desktop: 32px;
  --gutter-tablet: 24px;
  --gutter-mobile: 40px;

  --max-site-width: 1600px;
}

/* ======== CONTAINER WIDTH + GUTTER ======== */
.site-content > .ast-container,
#content > .ast-container {
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
  max-width: var(--max-site-width);
  margin: 0 auto;
}

/* Mobile-specific gutter */
@media (max-width: 544px) {
  .site-content > .ast-container,
  #content > .ast-container {
    padding-left: var(--gutter-mobile) !important;
    padding-right: var(--gutter-mobile) !important;
  }
}

/* ======== GENERAL RESET ======== */
ul,
ol {
  margin: auto;
}


/* =========================================================
   1) LESSON PATH MODAL (COURSE OVERVIEW MODAL)
========================================================= */

/* Optional: modal styling (if needed later) */
.lesson-path-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-path-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* ===============================
   MODAL CENTERING & STYLING
================================= */
.lesson-path-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35); /* dimmed backdrop */
  z-index: 9999;
  padding: 16px;
}

/* This block exists later too in your original CSS; keeping both behaviors unified safely */
.lesson-path-modal {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}

.lesson-path-modal.show {
  display: flex;
}

.lesson-path-contents {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  max-width: 720px;
  width: 100%;
  overflow-y: auto;
  margin: 0 auto;
  transform: none;
}

.lesson-path-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 900px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalFade 0.25s ease-out;
}

.lesson-path-inner {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

/* Optional: scroll styling */
.lesson-path-inner::-webkit-scrollbar {
  width: 8px;
}
.lesson-path-inner::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* Entrance animation */
@keyframes modalFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.lesson-path-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background-color: #19818F;
}

.lesson-path-title {
  font-family: "Nata Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

#close-lesson-path {
  color: #F6F6F6;
  font-size: 1.5rem;
  font-weight: 300;
}

/* Hide ALL course overview modal title from Tutor (as you had it) */
.tutor-course-content-title {
  display: none;
}

.tutor-course-content-list-item-icon {
  color: #06BFC5;
}

/* Hide the eye icons in the course overview modal */
.lesson-path-modal .tutor-icon-eye,
.lesson-path-modal .tutor-icon-eye-line,
.lesson-path-modal .tutor-icon-eye-off {
  display: none;
  visibility: hidden;
}

/* Launcher button */
.lesson-path-launcher button {
  background-color: var(--tutor-primary-color, #008080);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.lesson-path-launcher button:hover {
  background-color: #006666;
  transform: scale(1.03);
}

/* Mobile fixes for lesson path modal */
@media (max-width: 768px) {

  /* 1) REMOVE the "overflow-x:hidden on *" behavior by overriding it safely */
  #lesson-path-modal * {
    overflow-x: visible;
  }

  /* Close button: smaller hit-area but still usable */
  #lesson-path-modal #close-lesson-path {
    width: 28px;
    height: 28px;
    padding: 0;
    margin-left: 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

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

  #lesson-path-modal #close-lesson-path svg,
  #lesson-path-modal #close-lesson-path i {
    width: 18px;
    height: 18px;
  }

  /* Only the panel and scroll area should clip horizontally */
  #lesson-path-modal .lesson-path-content,
  #lesson-path-modal .lesson-path-body,
  #lesson-path-modal .lesson-path-content > :not(.lesson-path-header):not(.lesson-path-overlay) {
    overflow-x: hidden;
  }

  /* Stable row layout */
  #lesson-path-modal .tutor-lesson-item,
  #lesson-path-modal .tutor-course-topic-lesson,
  #lesson-path-modal .tutor-accordion-content li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  /* Icon column */
  #lesson-path-modal .tutor-lesson-item i,
  #lesson-path-modal .tutor-course-topic-lesson i,
  #lesson-path-modal .tutor-lesson-item svg,
  #lesson-path-modal .tutor-course-topic-lesson svg {
    width: 18px;
    min-width: 18px;
    flex: 0 0 18px;
    margin: 0;
  }

  /* Reset negative offsets */
  #lesson-path-modal .tutor-lesson-item a,
  #lesson-path-modal .tutor-course-topic-lesson a,
  #lesson-path-modal .tutor-accordion-content a {
    margin-left: 0;
    padding-left: 0;
    text-indent: 0;
    transform: none;

    flex: 1 1 auto;
    min-width: 0;

    display: block;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
  }
}

/* Typography for modal */
.lesson-path-contents .tutor-course-content-title {
  font-family: "Nata Sans", sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.3px;
}

.lesson-path-contents .tutor-accordion-item-header {
  font-family: "Nata Sans", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1a1a1a;
}

.lesson-path-contents .tutor-course-content-list-item {
  font-family: "Nata Sans", sans-serif;
  color: #333;
}

.lesson-path-contents .tooltip-wrap.tooltip-icon {
  margin-left: 6px;
  opacity: 0.6;
}


/* =========================================================
   2) TUTOR LESSON HEADER (TOP BAR) + BUTTONS
========================================================= */

/* Keep the header height and vertical centering consistent */
.tutor-course-topic-single-header.tutor-single-page-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 56px; /* uniform height */
  padding: 0 1rem;
}

/* Title consistency */
.tutor-course-topic-single-header-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff; /* optional if you want the title white */
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

/* Let flex do the alignment instead of absolute positioning */
body.single-lesson .tutor-course-topic-single-header.tutor-single-page-top-bar > .tutor-ml-auto {
  margin-left: auto;
  position: static;
}

/* Shared button base (See All Content + Next Lesson) */
#view-lesson-path-btn,
#next-lesson-btn,
.manta-next-btn {
  background-color: #ffffff;
  color: #007c85;
  border: 1px solid #007c85;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* Hover states (kept exactly) */
#view-lesson-path-btn:hover,
#next-lesson-btn:hover {
  background-color: #FEB91C;
  color: #0C0C0C;
  border-color: #0C0C0C;
}

/* Hide LEFT "Go to next lesson" button only */
.tutor-course-topic-single-header > a#next-lesson-btn {
  display: none;
}

/* Show the progress/next section that Tutor hides on < xl */
@media (max-width: 1199px) {
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-ml-auto.tutor-d-none.tutor-d-xl-flex {
    display: flex !important;
  }
}

/* Mobile layout: consolidated + deduped */
@media (max-width: 768px) {

  /* Header layout */
  .tutor-course-topic-single-header.tutor-single-page-top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 14px;
    row-gap: 10px;
    column-gap: 10px;
  }

  /* Title row */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-course-topic-single-header-title,
  .tutor-course-topic-single-header-title {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  /* Center the "Mark as Complete" button */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-mark-complete-btn,
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-btn-mark-complete {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
  }

  /* If wrapped inside a container, center that container */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-mark-complete-wrap,
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-mark-complete {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* See all content row */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  #view-lesson-path-btn,
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .view-lesson-path-btn,
  #view-lesson-path-btn {
    flex: 0 0 100%;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Progress + next + close row (STACKED) */
  .tutor-course-topic-single-header
  > .tutor-ml-auto.tutor-align-center {
    flex: 0 0 100%;
    width: 100%;
    position: static;
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* Fix progress text layout */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-progress-content,
  .tutor-progress-content {
    display: block;
    text-align: center;
    font-size: 13px;
    white-space: nowrap;
  }

  .tutor-progress-content span {
    display: inline;
  }

  /* Next lesson button — its own row */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .manta-next-btn,
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  #next-lesson-btn,
  #next-lesson-btn,
  .manta-next-btn {
    width: 100%;
    max-width: 320px;
    height: 40px;
  }

  /* Close button (X) centered */
  .tutor-course-topic-single-header
  > .tutor-iconic-btn {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
  }

  .tutor-course-topic-single-header
  > .tutor-iconic-btn svg,
  .tutor-course-topic-single-header
  > .tutor-iconic-btn i {
    width: 18px;
    height: 18px;
  }

  /* Hide ALL progress-related spans in the header (mobile only) */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-progress-content,
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-progress-content + span,
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-progress-content ~ span {
    display: none;
  }

  /* Extra hide for this specific progress wrapper */
  .tutor-course-topic-single-header.tutor-single-page-top-bar
  .tutor-ml-auto.tutor-align-center
  .tutor-fs-7.tutor-mr-20.tutor-d-flex.tutor-align-center.tutor-gap-8 {
    display: none;
  }

  /* If you’re using the custom mobile header wrapper */
  .eea-mobile-header {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 12px 14px;
  }

  .eea-mobile-header .tutor-course-topic-single-header-title {
    flex: 0 0 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .eea-mobile-header #view-lesson-path-btn {
    flex: 0 0 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .eea-mobile-header .tutor-ml-auto.tutor-align-center {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    position: static;
    margin-left: 0;
  }

  .eea-mobile-header .tutor-iconic-btn {
    order: 99;
  }
}

/* Add right margin between progress and button */
.tutor-ml-auto .tutor-mr-20 {
  margin-right: 16px;
}

/* Optional: space between inner items if needed */
.tutor-mr-20 span {
  margin-right: 4px;
}


/* =========================================================
   3) EEA WORD POPUPS (eea-popup-modal)
========================================================= */

/* Modal wrapper */
#eea-popup-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;

  background: transparent;
  transition: opacity 0.3s ease;
  opacity: 0;
}

#eea-popup-modal.open {
  display: flex;
  opacity: 1;
}

/* Overlay */
#eea-popup-modal .eea-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* Popup box */
#eea-popup-modal .eea-popup-box {
  background: #fff;

  width: 700px;
  max-width: 700px;

  padding: 2rem 2.2rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;

  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  max-height: calc(100vh - 80px);
  overflow: hidden;
}

#eea-popup-modal.open .eea-popup-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Image */
#eea-popup-modal .eea-popup-image {
  text-align: center;
  padding: 0 1rem;
  margin-top: 0.5rem;
}

#eea-popup-modal .eea-popup-image img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 320px;
  max-height: 320px;
  border-radius: 10px;
}

/* Title & content */
#eea-popup-modal .eea-popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1rem 1rem 0 1rem;
  color: #0a0a0a;
}

#eea-popup-modal .eea-popup-text {
  padding-top: 1rem;
}

#eea-popup-modal .eea-popup-content {
  color: #333;
  padding: 0rem 1rem 1rem 1rem;
  line-height: 1.6;
  font-size: 1rem;

  max-height: calc(100vh - 260px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  white-space: pre-line;
}

/* Close button */
#eea-popup-modal .eea-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 3;
}

#eea-popup-modal .eea-popup-close:hover {
  color: #000;
}

/* Trigger text style */
.eea-popup-trigger {
  color: #19818F;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  touch-action: manipulation;
}

.eea-popup-trigger:hover {
  color: #004b75;
}

/* MOBILE */
@media (max-width: 600px) {
  #eea-popup-modal {
    padding: 12px;
  }

  #eea-popup-modal .eea-popup-box {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: 0;
    max-height: calc(100vh - 24px);
    padding: 18px 16px 14px;
    border-radius: 14px;
  }

  #eea-popup-modal .eea-popup-close {
    top: 10px;
    right: 12px;
    font-size: 24px;
  }

  /* Prevent title colliding with close button */
  #eea-popup-modal .eea-popup-title {
    font-size: 18px;
    padding: 0.75rem 3rem 0 0.75rem;
  }

  #eea-popup-modal .eea-popup-image img {
    max-width: 72vw;
    max-height: 30vh;
  }

  #eea-popup-modal .eea-popup-content {
    font-size: 15px;
    padding: 0.75rem;
    max-height: calc(100vh - 220px);
  }
}

/* Legacy/extra popup image styles kept (safe) */
.eea-popup-image {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.eea-popup-image img {
  max-width: 400px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   4) COURSE UI / REVIEWS / VIDEO WIDTH
========================================================= */

.course-duration-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 0;
}

.tutor-mt-12 {
  margin: 0;
}

.tutor-course-duration {
  color: #1D1C1C;
  margin-top: 2px;
}

/* Frontend Course Review Form */
.tutor-write-review-form textarea[name="review"] {
  background: #ffffff !important;
  color: #000 !important;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.tutor-write-review-form textarea[name="review"]:focus {
  background: #ffffff !important;
  color: #000 !important;
  border-color: #00a3a3;
  box-shadow: 0 0 0 2px rgba(0,163,163,0.15);
  outline: none;
}

.tutor-write-review-form textarea[name="review"]::placeholder {
  color: #777;
}

.tutor-write-review-form .tutor_submit_review_btn {
  background-color: #007d7d;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.tutor-write-review-form .tutor_submit_review_btn:hover {
  background-color: #00a3a3;
}

/* Tutor LMS – reduce video player width */
.tutor-lesson-video,
.tutor-video-player {
  max-width: 1200px;
  margin: 0 auto;
}

/* Make WP audio blocks span full content width */
.wp-block-audio,
.wp-block-audio audio {
  width: 100%;
  max-width: 100%;
  display: block;
}


/* =========================================================
   5) SPECTRA / FAQ PAGE GRID
========================================================= */

/* TESTIMONIAL GRID */
.students-faq.wp-block-uagb-faq {
  display: grid; /* removed !important (your selector is already strong) */
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
  align-items: start;
}

/* OUTER WRAPPER */
.students-faq .uagb-faq-child__outer-wrap {
  display: flex;
  flex-direction: column;
  height: auto; /* removed !important */
  transition: min-height 0.3s ease;
  min-height: 200px;
}

/* Vertically center text inside buttons */
.students-faq .uagb-faq-questions-button {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  border-radius: 16px;
}

/* Wrapper base */
.students-faq .uagb-faq-child__wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0; /* removed !important */
  background: transparent;
  overflow: hidden;
  width: 100%; /* kept (was previously set in duplicate block) */
}

/* Button sizing */
.students-faq .uagb-faq-questions-button {
  flex: 1 1 auto;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px; /* removed !important */
  box-sizing: border-box;
  border-radius: 16px;
}

.students-faq .uagb-faq-questions-content,
.students-faq .uagb-faq-content {
  width: 100%;
  text-align: center; /* removed !important */
  margin: 0 auto; /* removed !important */
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .students-faq.wp-block-uagb-faq {
    grid-template-columns: 1fr !important; /* keep !important to defeat inline/block styles */
    justify-content: center;
  }

  .students-faq .uagb-faq-child__outer-wrap {
    min-height: 70px;
  }
}


/* =========================================================
   6) BUTTON SYSTEMS / RESPONSIVE BUTTONS
========================================================= */

/* FULL-WIDTH BUTTONS */
.full-width-button,
.full-width-button .wp-block-button__link,
.full-width-button .sc-button,
.sc-button {
  width: 200px !important;
  height: 40px !important;
  max-width: 100%;
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
}

.full-width-button + .sc-button {
  margin-top: 12px;
}

.full-width-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Base layout — center the group */
.responsive-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.responsive-buttons .wp-block-button {
  flex: 0 1 500px;
}

.responsive-buttons .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  border-radius: 18px;
  font-size: 1rem;
  text-align: center;
  word-wrap: break-word;
}

/* Tablet */
@media (max-width: 1024px) {
  .responsive-buttons .wp-block-button {
    flex: 0 1 180px;
  }
  .responsive-buttons .wp-block-button__link {
    height: 70px;
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .responsive-buttons {
    flex-direction: column;
    align-items: center;
  }
  .responsive-buttons .wp-block-button {
    flex: 0 1 auto;
    width: 90%;
  }
  .responsive-buttons .wp-block-button__link {
    height: 65px;
    font-size: 0.9rem;
  }
}


/* =========================================================
   7) PAGE BACKGROUNDS / TEMPLATE FIXES
========================================================= */

/* Force single column layout in lesson of the day */
body.page-template-lesson-of-the-day .uagb-row,
body.page-template-lesson-of-the-day .uagb-container {
  display: block !important;
}

/* 1) Make the wrapper control the size */
.lesson-of-day-video {
  width: min(520px, 92vw); /* change 520px to what you want */
  margin: 3rem auto;
}

/* 2) Force Vimeo containers to fill the wrapper */
.lesson-of-day-video #player,
.lesson-of-day-video .player,
.lesson-of-day-video .vp-video-wrapper,
.lesson-of-day-video .vp-preview,
.lesson-of-day-video iframe {
  width: 100%;
  max-width: 100%;
}

/* White background pages */
body.has-white-background {
  background-color: #f6f6f6 !important;
}

body.has-white-background .site-content,
body.has-white-background .content-area,
body.has-white-background #primary,
body.has-white-background main {
  background-color: #f6f6f6 !important;
}

/* Flow steps */
.flow-step {
  display: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.flow-step.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.flow-step.active > * {
  animation: fadeContent 0.6s ease forwards;
}

@keyframes fadeContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   8) TUTOR LIGHT BACKGROUND SYSTEM
========================================================= */

.tutor-container,
.tutor-wrap,
.tutor-wrap.tutor-full-width-course-top-info,
.tutor-single-course-main,
.tutor-single-course-sidebar,
.tutor-course-top-info,
.tutor-video-player,
.tutor-lesson-single-wrap,
.tutor-lesson-content-wrap,
.tutor-lesson-sidebar,
.tutor-quiz-single-wrap,
.tutor-course-single-content-wrapper,
.tutor-course-single-content-wrapper .tutor-single-entry-content,
.tutor-course-single-content-wrapper .tutor-quiz-single-entry-wrap,
.tutor-course-single-content-wrapper .tutor-course-topic-single-body {
  background-color: #f6f6f6 !important;
}

/* Remove dark overlay effects used by Tutor on header areas */
.tutor-course-details-header::before,
.tutor-course-top-info::before,
.tutor-wrap::before,
.tutor-wrap::after {
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Remove stubborn white bar below "About Course" */
.tutor-course-details-content,
.tutor-course-details-content > div,
.tutor-course-details-content-inner,
.tutor-course-details-tab-info,
.tutor-course-details-tab-info > div {
  background: #f6f6f6 !important;
  box-shadow: none !important;
  border: none !important;
}

.tutor-course-details-content::before,
.tutor-course-details-content::after,
.tutor-course-details-content-inner::before,
.tutor-course-details-content-inner::after {
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Misc Tutor color tweak */
.tutor-mt-40,
.tutor-course-content-list-item-title {
  color: #19818F;
}


/* =========================================================
   9) BLOG + SURECART
========================================================= */

.sc-buy-header,
.sc-lightbox-overlay {
  background: #0c0c0c;
}

/* (You had .sc-buy-header repeated twice; removed duplicate) */
body.blog::before,
body.blog::after {
  content: none !important;
  display: none !important;
}

body.blog {
  background-color: #0C0C0C !important;
  overflow-x: hidden !important;
}


/* =========================================================
   10) TUTOR COURSE / LESSON CONTENT LAYOUT OVERRIDES
========================================================= */

/* Expand lesson content to full width */
.tutor-course-single-sidebar-wrapper,
.tutor-lesson-sidebar {
  display: none !important;
}

body.single-lesson .tutor-course-single-content-wrap,
body.single-lesson .tutor-single-entry-content,
body.single-lesson .tutor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.tutor-quiz-info-area,
.tutor-mb-60,
.tutor-mt-24 {
  background: none;
}

/* Course materials cards */
.tutor-course-materials,
.tutor-card,
.tutor-mt-24 {
  border-radius: 0px;
  background: white;
  border-color: grey;
}

.tutor-course-materials h4 {
  color: black;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 2.5;
}

.tutor-course-details-widget {
  display: none !important;
}

.tutor-course-materials ul {
  justify-content: center;
  line-height: 1.6;
}

.tutor-course-materials li {
  margin-bottom: 0.5rem;
  justify-content: center;
}

/* Extend background to full viewport on all Tutor views */
html:has(.tutor-wrap),
html:has(.tutor-course-single-content-wrapper),
html:has(.tutor-lesson-single-wrap),
html:has(.tutor-course-lesson-page),
html:has(.tutor-quiz-single-wrap),
body:has(.tutor-wrap),
body:has(.tutor-course-single-content-wrapper),
body:has(.tutor-lesson-single-wrap),
body:has(.tutor-course-lesson-page),
body:has(.tutor-quiz-single-wrap),
.site-content:has(> .tutor-wrap),
.site-content:has(> .tutor-course-details-page),
.site-content:has(> .tutor-course-single-content-wrapper),
.site-content:has(> .tutor-lesson-single-wrap),
.site-content:has(> .tutor-course-lesson-page),
.site-content:has(> .tutor-quiz-single-wrap),
.ast-container:has(> .tutor-wrap),
.ast-container:has(> .tutor-course-details-page),
.ast-container:has(> .tutor-course-single-content-wrapper),
.ast-container:has(> .tutor-lesson-single-wrap),
.ast-container:has(> .tutor-course-lesson-page),
.ast-container:has(> .tutor-quiz-single-wrap) {
  background-color: #f6f6f6 !important;
}


/* =========================================================
   11) ASTRA DARK MODE — FORCE TUTOR SEARCH BAR WHITE
========================================================= */

body.astra-dark-mode {
  --ast-global-color-2: #fff !important;
  --ast-global-color-secondary: #fff !important;
}

body.astra-dark-mode form.tutor-course-filter-form input.tutor-form-control[type="search"],
body.astra-dark-mode .tutor-course-filter .tutor-form-control[type="search"] {
  background-color: #fff !important;
  color: #111 !important;
  border: 1px solid #ccc !important;
}

body.astra-dark-mode .tutor-course-filter .tutor-form-wrap,
body.astra-dark-mode .tutor-course-filter .tutor-form-icon {
  background-color: #fff !important;
}

body.astra-dark-mode .tutor-course-filter input.tutor-form-control[type="search"]::placeholder {
  color: #666 !important;
}

/* Alternate dark-mode flag */
body.astra-dark-mode-enable input.tutor-form-control[type="search"],
body.astra-dark-mode-enable .tutor-form-wrap,
body.astra-dark-mode-enable .tutor-form-icon {
  background-color: #fff !important;
  color: #111 !important;
  border-color: #ccc !important;
}

body.astra-dark-mode-enable {
  color: #ffffff;
}

body.astra-dark-mode-enable .tutor-form-icon {
  background-color: transparent !important;
}

body.astra-dark-mode-enable label {
  color: #1D1C1C;
}


/* =========================================================
   12) QUIZ UI HIDES + INPUT STYLING
========================================================= */

/* Hides quiz extra info */
.tutor-course-single-content-wrapper #tutor-single-entry-content
.tutor-quiz-wrapper .tutor-quiz-wrap
.quiz-meta-info .quiz-meta-info-left {
  display: none;
}

/* Hides quiz result summary */
.tutor-course-single-content-wrapper #tutor-single-entry-content
.tutor-quiz-wrapper .tutor-quiz-result-summary {
  display: none;
}

/* Hides quiz marks */
.question-marks {
  display: none;
}

/* Turning quiz explanation text black */
.tutor-quiz-explanation-wrapper {
  color: black;
  background-color: white;
}

/* Prevent clipping inside lesson content audio wrappers */
.mejs-controls, .mejs-time {
  height: auto;
}

/* Removing underline from fill-blank */
.tutor-course-single-content-wrapper #tutor-single-entry-content
.tutor-quiz-wrapper .tutor-quiz-wrap
.quiz-question-ans-choice-area .fill-in-the-gap .fill-blank {
  border-bottom: none;
}

/* Force white background on short answer textarea (including focus state) */
textarea.tutor-form-control,
textarea.tutor-form-control:focus,
.quiz-question-ans-choice textarea,
.quiz-question-ans-choice textarea:focus {
  color: #1D1C1C !important;    
  background-color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Force white input styling for fill-in-the-blank */
.tutor-quiz-wrapper .fill-blank input[type="text"] {
  background-color: #ffffff !important;
  color: #1D1C1C !important;
  box-shadow: none !important;
  transition: none !important;
}

.tutor-quiz-info-area,
.tutor-mb-60,
.tutor-mt-24 {
  background: none;
}

/* Hide the small "Quiz" label above the big title on the Start Quiz screen */
.tutor-start-quiz-title > .tutor-fs-6.tutor-color-black.tutor-pb-8 .tutor-fs-7.tutor-color-black.tutor-pb-8 {
  display: none !important;
}
