/* Permanent home templates — Courses / Bootcamp / Tutors / shared chrome
   Activated via body.home-template-{identifier} from layouts/default */

/* ---------- Theme tokens ---------- */
body.home-template-horizon {
  --tp-bg: #f3f6fb;
  --tp-surface: #ffffff;
  --tp-ink: #3A2A1C;
  --tp-muted: #5b6b82;
  --tp-accent: #0f9c8a;
  --tp-accent-2: #0b7a6c;
  --tp-chrome: #3A2A1C;
  --tp-chrome-text: rgba(255, 255, 255, 0.78);
  --tp-line: rgba(7, 17, 31, 0.1);
  --tp-display: "Outfit", system-ui, sans-serif;
  --tp-body: "Lexend", system-ui, sans-serif;
  --tp-radius: 14px;
  --tp-btn-radius: 999px;
}

body.home-template-aurora {
  --tp-bg: #fff8f3;
  --tp-surface: #ffffff;
  --tp-ink: #2a1a14;
  --tp-muted: #7a5f55;
  --tp-accent: #e36b3c;
  --tp-accent-2: #c24f24;
  --tp-chrome: #2a1a14;
  --tp-chrome-text: rgba(255, 248, 243, 0.82);
  --tp-line: rgba(42, 26, 20, 0.1);
  --tp-display: "Fraunces", Georgia, serif;
  --tp-body: "Manrope", system-ui, sans-serif;
  --tp-radius: 16px;
  --tp-btn-radius: 999px;
}

body.home-template-forge {
  --tp-bg: #f4f2ee;
  --tp-surface: #ffffff;
  --tp-ink: #151515;
  --tp-muted: #66605a;
  --tp-accent: #d97706;
  --tp-accent-2: #b45309;
  --tp-chrome: #151515;
  --tp-chrome-text: rgba(255, 255, 255, 0.78);
  --tp-line: rgba(21, 21, 21, 0.12);
  --tp-display: "Space Grotesk", system-ui, sans-serif;
  --tp-body: "IBM Plex Sans", system-ui, sans-serif;
  --tp-radius: 8px;
  --tp-btn-radius: 8px;
}

body.home-template-grove {
  --tp-bg: #f5f7f2;
  --tp-surface: #ffffff;
  --tp-ink: #1d2a1f;
  --tp-muted: #5f6d61;
  --tp-accent: #3f6b4b;
  --tp-accent-2: #2f5239;
  --tp-chrome: #1d2a1f;
  --tp-chrome-text: rgba(245, 247, 242, 0.82);
  --tp-line: rgba(29, 42, 31, 0.12);
  --tp-display: "Literata", Georgia, serif;
  --tp-body: "DM Sans", system-ui, sans-serif;
  --tp-radius: 14px;
  --tp-btn-radius: 999px;
}

body.home-template-executive {
  --tp-bg: #fbfaf6;
  --tp-surface: #ffffff;
  --tp-ink: #101820;
  --tp-muted: #59636b;
  --tp-accent: #e95232;
  --tp-accent-2: #c83e23;
  --tp-chrome: #071421;
  --tp-chrome-text: rgba(244, 240, 231, 0.8);
  --tp-line: rgba(16, 24, 32, 0.12);
  --tp-display: "Newsreader", Georgia, serif;
  --tp-body: "DM Sans", system-ui, sans-serif;
  --tp-radius: 0;
  --tp-btn-radius: 0;
}

body.home-template-authority {
  --tp-bg: #F8F5EE;
  --tp-surface: #ffffff;
  --tp-ink: #3A2A1C;
  --tp-muted: #8A7F72;
  --tp-accent: #3A2A1C;
  --tp-accent-2: #2F2218;
  --tp-chrome: #3A2A1C;
  --tp-chrome-text: #F1E9DE;
  --tp-line: rgba(58, 42, 28, 0.12);
  --tp-display: "Instrument Serif", Georgia, serif;
  --tp-body: "Manrope", system-ui, sans-serif;
  --tp-radius: 0;
  --tp-btn-radius: 0;
}

/* ---------- Shared chrome (non-Authority templates; Authority already styles nav) ---------- */
body[class*="home-template-"]:not(.home-template-authority):not(.auth-studio):not(.learner-studio) .sub-header,
body[class*="home-template-"]:not(.home-template-authority):not(.auth-studio):not(.learner-studio) .header-area {
  border: 0 !important;
  background: var(--tp-chrome) !important;
  box-shadow: none !important;
}

body[class*="home-template-"]:not(.home-template-authority) .sub-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .sub-header a,
body[class*="home-template-"]:not(.home-template-authority) .sub-header .nice-select .current,
body[class*="home-template-"]:not(.home-template-authority) .sub-header .right-sub i,
body[class*="home-template-"]:not(.home-template-authority) .header-area .primary-menu > li > a,
body[class*="home-template-"]:not(.home-template-authority) .header-area .toggle-bar,
body[class*="home-template-"]:not(.home-template-authority) .header-area .floating-searchbar > button {
  color: var(--tp-chrome-text) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .sub-header svg path,
body[class*="home-template-"]:not(.home-template-authority) .header-area .primary-end > div > a svg path {
  stroke: var(--tp-chrome-text) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .primary-end > div > a svg path[fill] {
  fill: var(--tp-chrome-text) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .header-dark-logo {
  display: none !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .header-light-logo {
  display: block !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .primary-menu > li > a.active,
body[class*="home-template-"]:not(.home-template-authority) .header-area .primary-menu > li > a:hover {
  color: var(--tp-accent) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .primary-menu > li > a::after {
  background: var(--tp-accent) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .Esearch_entry input {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .Esearch_entry input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .Esearch_entry button,
body[class*="home-template-"]:not(.home-template-authority) .header-area .Esearch_entry button i {
  color: rgba(255, 255, 255, 0.65) !important;
}

body[class*="home-template-"]:not(.home-template-authority) .header-area .eBtn.gradient {
  color: #fff !important;
  border: 0 !important;
  background: var(--tp-accent) !important;
  box-shadow: none !important;
  border-radius: var(--tp-btn-radius) !important;
}

/* Language select on non-authority skins */
body[class*="home-template-"]:not(.home-template-authority) .sub-header .primary-end .nice-control {
  color: var(--tp-chrome-text) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--tp-btn-radius);
}

body[class*="home-template-"]:not(.home-template-authority) .sub-header .primary-end .nice-control .current {
  color: var(--tp-chrome-text) !important;
}

/* ---------- Page shell: Courses / Bootcamp / Tutors ---------- */
body[class*="home-template-"]:not(.auth-studio):not(.learner-studio) > section {
  background: var(--tp-bg);
  font-family: var(--tp-body);
  color: var(--tp-ink);
}

/* Page headers: light band under dark nav so they never read as the content area */
body[class*="home-template-"] .breadcum-area,
body[class*="home-template-"] .lms1-breadcrumb-section {
  background: var(--tp-bg) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--tp-line) !important;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  margin-bottom: 0 !important;
}

body[class*="home-template-"] .breadcum-area .breadcrumb,
body[class*="home-template-"] .lms1-breadcrumb {
  background: transparent !important;
  margin-bottom: 8px !important;
}

body[class*="home-template-"] .breadcum-area .breadcrumb-item,
body[class*="home-template-"] .breadcum-area .breadcrumb-item a,
body[class*="home-template-"] .breadcum-area .breadcrumb-item.active,
body[class*="home-template-"] .lms1-breadcrumb a,
body[class*="home-template-"] .lms1-breadcrumb span,
body[class*="home-template-"] .lms1-breadcrumb .breadcrumb-item,
body[class*="home-template-"] .lms1-breadcrumb .breadcrumb-item.active {
  color: var(--tp-muted) !important;
}

body[class*="home-template-"] .breadcum-area .breadcrumb-item a:hover,
body[class*="home-template-"] .lms1-breadcrumb a:hover {
  color: var(--tp-accent-2) !important;
}

body[class*="home-template-"] .breadcum-area .g-title,
body[class*="home-template-"] .lms1-breadcrumb-section .in-title-44px {
  color: var(--tp-ink) !important;
  font-family: var(--tp-display) !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 !important;
}

body[class*="home-template-"] .breadcum-area .showing-text {
  color: var(--tp-muted) !important;
}

body[class*="home-template-"] .breadcum-area .tab-list a,
body[class*="home-template-"] .breadcum-area .tab-list li {
  color: var(--tp-muted) !important;
}

body[class*="home-template-"] .breadcum-area .tab-list li.active a,
body[class*="home-template-"] .breadcum-area .tab-list a:hover {
  color: var(--tp-accent-2) !important;
}

/* Tutors: pull the filters/results up so content is obvious right after the title */
body[class*="home-template-"] .lms1-breadcrumb-section + section {
  background: var(--tp-bg) !important;
  padding-top: 28px;
  padding-bottom: 72px;
}

body[class*="home-template-"] .lms1-breadcrumb-section + section .in-subtitle-14px {
  color: var(--tp-muted) !important;
}

body[class*="home-template-"] .eNtery-item,
body[class*="home-template-"] .lms1-category-offcanvas {
  background: var(--tp-bg) !important;
  padding-top: 28px;
  padding-bottom: 72px;
}

/* Filters / sidebars */
body[class*="home-template-"] .sidebar,
body[class*="home-template-"] .widget,
body[class*="home-template-"] .lms1-category-sidebar,
body[class*="home-template-"] .side-accordion-item {
  background: var(--tp-surface) !important;
  border: 1px solid var(--tp-line) !important;
  border-radius: var(--tp-radius) !important;
  box-shadow: none !important;
}

body[class*="home-template-"] .widget-title,
body[class*="home-template-"] .side-accordion-button,
body[class*="home-template-"] .lms1-category-sidebar h4,
body[class*="home-template-"] .lms1-category-sidebar h5 {
  color: var(--tp-ink) !important;
  font-family: var(--tp-display) !important;
  font-weight: 600 !important;
}

body[class*="home-template-"] .sidebar .form-control,
body[class*="home-template-"] .sidebar input,
body[class*="home-template-"] .sm-search-input,
body[class*="home-template-"] .lms1-category-sidebar input[type="text"],
body[class*="home-template-"] .lms1-category-sidebar input[type="search"] {
  border: 1px solid var(--tp-line) !important;
  border-radius: var(--tp-radius) !important;
  background: #fff !important;
  color: var(--tp-ink) !important;
  box-shadow: none !important;
}

body[class*="home-template-"] .form-check-label,
body[class*="home-template-"] .entry-widget a,
body[class*="home-template-"] .category a,
body[class*="home-template-"] .side-accordion-body label {
  color: var(--tp-muted) !important;
}

body[class*="home-template-"] .form-check-input:checked {
  background-color: var(--tp-accent) !important;
  border-color: var(--tp-accent) !important;
}

/* Cards */
body[class*="home-template-"] .card.Ecard,
body[class*="home-template-"] .eBar-card,
body[class*="home-template-"] .bootcamp-grid-card,
body[class*="home-template-"] .tutor-bootcamp-card,
body[class*="home-template-"] .single-feature {
  background: var(--tp-surface) !important;
  border: 1px solid var(--tp-line) !important;
  border-radius: var(--tp-radius) !important;
  box-shadow: none !important;
  overflow: hidden;
}

body[class*="home-template-"] .card.Ecard:hover,
body[class*="home-template-"] .tutor-bootcamp-card:hover {
  border-color: color-mix(in srgb, var(--tp-accent) 45%, var(--tp-line)) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}

body[class*="home-template-"] .entry-title,
body[class*="home-template-"] .entry-title a,
body[class*="home-template-"] .cText h4,
body[class*="home-template-"] .cText h5,
body[class*="home-template-"] .tutor-bootcamp-card .in-title-20px,
body[class*="home-template-"] .tutor-bootcamp-card h3,
body[class*="home-template-"] .tutor-bootcamp-card h4 {
  color: var(--tp-ink) !important;
  font-family: var(--tp-display) !important;
}

body[class*="home-template-"] .entry-details,
body[class*="home-template-"] .cText p,
body[class*="home-template-"] .showing-text,
body[class*="home-template-"] .tutor-bootcamp-card p,
body[class*="home-template-"] .tutor-bootcamp-card .in-subtitle-14px {
  color: var(--tp-muted) !important;
}

body[class*="home-template-"] .learn-more,
body[class*="home-template-"] .learn-more a,
body[class*="home-template-"] a.eBtn,
body[class*="home-template-"] .eBtn.gradient,
body[class*="home-template-"] .gradient-border-btn,
body[class*="home-template-"] .sm-search-btn,
body[class*="home-template-"] button.eBtn {
  color: #fff !important;
  background: var(--tp-accent) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: var(--tp-btn-radius) !important;
  box-shadow: none !important;
}

body[class*="home-template-"] .learn-more:hover,
body[class*="home-template-"] .eBtn.gradient:hover,
body[class*="home-template-"] .sm-search-btn:hover {
  background: var(--tp-accent-2) !important;
}

body.home-template-authority .learn-more,
body.home-template-authority .eBtn.gradient,
body.home-template-authority .sm-search-btn,
body.home-template-authority .gradient-border-btn,
body.home-template-authority button.eBtn {
  color: #F1E9DE !important;
  background: var(--tp-accent) !important;
}

body.home-template-authority .learn-more:hover,
body.home-template-authority .eBtn.gradient:hover,
body.home-template-authority .sm-search-btn:hover {
  background: #4A3726 !important;
}

/* Empty / back states */
body[class*="home-template-"] .no-data,
body[class*="home-template-"] .empty-state,
body[class*="home-template-"] .text-center .g-title {
  color: var(--tp-ink) !important;
}

/* Pagination */
body[class*="home-template-"] .pagination .page-link {
  color: var(--tp-ink) !important;
  border-color: var(--tp-line) !important;
  background: var(--tp-surface) !important;
}

body[class*="home-template-"] .pagination .page-item.active .page-link {
  color: #fff !important;
  background: var(--tp-accent) !important;
  border-color: var(--tp-accent) !important;
}

body.home-template-authority .pagination .page-item.active .page-link {
  color: var(--tp-chrome) !important;
}

/* Tutor fee slider / accents */
body[class*="home-template-"] .ui-slider .ui-slider-range,
body[class*="home-template-"] .ui-widget-header {
  background: var(--tp-accent) !important;
  border: 0 !important;
}

body[class*="home-template-"] .ui-slider .ui-slider-handle {
  border-color: var(--tp-accent) !important;
  background: #fff !important;
}

/* ---------- Footer ---------- */
body[class*="home-template-"] .footer-area {
  background: var(--tp-chrome) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[class*="home-template-"] .footer-area .description,
body[class*="home-template-"] .footer-area .footer-widget ul li a,
body[class*="home-template-"] .footer-area p,
body[class*="home-template-"] .footer-area .copy-right,
body[class*="home-template-"] .footer-area .footer-bottom,
body[class*="home-template-"] .footer-area .footer-bottom a {
  color: rgba(255, 255, 255, 0.55) !important;
}

body[class*="home-template-"] .footer-area .footer-widget h4,
body[class*="home-template-"] .footer-area h4 {
  color: #fff !important;
  font-family: var(--tp-display) !important;
}

body[class*="home-template-"] .footer-area .footer-widget ul li a:hover,
body[class*="home-template-"] .footer-area .footer-bottom a:hover {
  color: var(--tp-accent) !important;
}

body[class*="home-template-"] .footer-area .f-socials a,
body[class*="home-template-"] .footer-area .f-socials i {
  color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 0 !important;
}

body[class*="home-template-"] .footer-area .gradient-border-btn,
body[class*="home-template-"] .footer-area .gradient-border2 a {
  color: #fff !important;
  background: var(--tp-accent) !important;
  background-image: none !important;
  border-radius: var(--tp-btn-radius) !important;
}

body.home-template-authority .footer-area .gradient-border-btn,
body.home-template-authority .footer-area .gradient-border2 a {
  color: var(--tp-chrome) !important;
}

body[class*="home-template-"] .footer-area input.form-control,
body[class*="home-template-"] .footer-area input[type="email"] {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--tp-radius) !important;
}

body[class*="home-template-"] .footer-area .btn,
body[class*="home-template-"] .footer-area button[type="submit"] {
  background: var(--tp-accent) !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: var(--tp-btn-radius) !important;
}

body.home-template-authority .footer-area .btn,
body.home-template-authority .footer-area button[type="submit"] {
  color: var(--tp-chrome) !important;
}

/* ---------- Responsive polish ---------- */
@media (max-width: 767.98px) {
  body[class*="home-template-"] .breadcum-area,
  body[class*="home-template-"] .lms1-breadcrumb-section {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  body[class*="home-template-"] .breadcum-area .g-title,
  body[class*="home-template-"] .lms1-breadcrumb-section .in-title-44px {
    font-size: 28px !important;
  }

  body[class*="home-template-"] .eNtery-item,
  body[class*="home-template-"] .lms1-breadcrumb-section + section {
    padding-top: 20px;
    padding-bottom: 48px;
  }
}

/* ---------- Authority course product page ---------- */
body.home-template-authority .breadcum-area,
body.home-template-authority .breadcum-area.bg-white,
body.home-template-authority .breadcum-area.page-content-pb-100 {
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(201, 191, 178, 0.22), transparent 55%),
    linear-gradient(180deg, #3A2A1C 0%, #2F2218 100%) !important;
  border-bottom: 0 !important;
  padding-top: 36px !important;
  padding-bottom: 56px !important;
  color: #F1E9DE !important;
}

/* Kill theme white wash that made the hero title disappear */
body.home-template-authority .breadcum-area::after,
body.home-template-authority .breadcum-area.bg-white::after,
body.home-template-authority .breadcum-area.bg-default::after,
body.home-template-authority .breadcum-area.page-content-pb-100::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Course details needs extra band for overlapping purchase card */
body.home-template-authority .breadcum-area.page-content-pb-100 {
  padding-bottom: 120px !important;
}

body.home-template-authority .breadcum-area .breadcrumb-item,
body.home-template-authority .breadcum-area .breadcrumb-item a,
body.home-template-authority .breadcum-area .breadcrumb-item.active {
  color: rgba(241, 233, 222, 0.62) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.04em;
}

body.home-template-authority .breadcum-area .breadcrumb-item a:hover {
  color: #F1E9DE !important;
}

body.home-template-authority .breadcum-area .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(241, 233, 222, 0.32) !important;
}

body.home-template-authority .breadcum-area .g-title,
body.home-template-authority .breadcum-area h3.g-title {
  color: #F1E9DE !important;
  font-family: "Instrument Serif", Georgia, serif !important;
  font-size: clamp(34px, 5vw, 52px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em;
  line-height: 1.12 !important;
  margin: 10px 0 8px !important;
}

body.home-template-authority .breadcum-area .showing-text {
  color: rgba(241, 233, 222, 0.62) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 13px !important;
}

body.home-template-authority .course-details .g-title {
  color: #F1E9DE !important;
  font-family: "Instrument Serif", Georgia, serif !important;
  font-size: clamp(34px, 5vw, 56px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em;
  line-height: 1.12 !important;
  margin: 10px 0 16px !important;
}

body.home-template-authority .course-details .g-text,
body.home-template-authority .course-details .g-text.text-dark {
  color: rgba(241, 233, 222, 0.78) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  max-width: 54ch;
}

body.home-template-authority .course-details .text-dark,
body.home-template-authority .course-details a.text-dark,
body.home-template-authority .course-details p {
  color: rgba(241, 233, 222, 0.78) !important;
}

body.home-template-authority .course-details .fa-star {
  color: #C9BFB2 !important;
}

body.home-template-authority .course-details .fa-star.text-secondary {
  color: rgba(241, 233, 222, 0.28) !important;
}

body.home-template-authority .breadcum-area + section {
  margin-top: -88px;
  padding-bottom: 88px;
  background: #F8F5EE !important;
}

/* Keep title band and body columns on the same left edge */
body.home-template-authority .breadcum-area .col-lg-8.px-4 {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

body.home-template-authority .breadcum-area + section > .container > .row {
  --bs-gutter-x: 1.5rem;
}

body.home-template-authority .details-page-content,
body.home-template-authority .ps-box.static-menu {
  border: 1px solid rgba(58, 42, 28, 0.12) !important;
  border-radius: var(--at-card-radius, 18px) !important;
  background: #FFFFFF !important;
  box-shadow: 0 18px 44px rgba(58, 42, 28, 0.08) !important;
  width: 100%;
  overflow: hidden;
}

body.home-template-authority .ps-box.static-menu {
  margin-top: 0 !important;
  padding: 8px 28px 28px !important;
}

body.home-template-authority .nav-bordered {
  gap: 4px;
  border-bottom: 1px solid rgba(58, 42, 28, 0.1) !important;
  margin-bottom: 22px !important;
}

body.home-template-authority .nav-bordered .nav-link {
  color: rgba(58, 42, 28, 0.55) !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 12px !important;
}

body.home-template-authority .nav-bordered .nav-link:hover {
  color: #3A2A1C !important;
}

body.home-template-authority .nav-bordered .nav-link.active {
  color: #3A2A1C !important;
  border-bottom-color: #3A2A1C !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.home-template-authority section.breadcum-area.bg-white,
html body.home-template-authority section.breadcum-area.page-content-pb-100 {
  background:
    radial-gradient(720px 340px at 88% 0%, rgba(201, 191, 178, 0.22), transparent 55%),
    linear-gradient(180deg, #3A2A1C 0%, #2F2218 100%) !important;
  color: #F1E9DE !important;
}

html body.home-template-authority .breadcum-area .course-details .g-title,
html body.home-template-authority .course-details h2.g-title {
  color: #F1E9DE !important;
  font-family: "Instrument Serif", Georgia, serif !important;
}

body.home-template-authority .course-details .row.row-gap-4 {
  row-gap: 18px !important;
  margin-top: 22px;
}

body.home-template-authority .nav-bordered {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.home-template-authority .nav-bordered .nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

body.home-template-authority .nav-bordered .nav-link i {
  color: #3A2A1C;
  font-size: 14px;
  line-height: 1;
}

body.home-template-authority .ps-sidebar .hero-details {
  background: #3A2A1C;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

body.home-template-authority .ps-sidebar .hero-details img {
  width: 100%;
  opacity: 0.4;
  mix-blend-mode: luminosity;
}

body.home-template-authority .ps-sidebar .hero-details .cfm-course-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2F2218;
}

body.home-template-authority .ps-sidebar .hero-details .cfm-course-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.home-template-authority .course-banner-brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 15, 0.94));
  color: #F1E9DE;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px;
  letter-spacing: -0.02em;
  pointer-events: none;
}

/* White content cards: espresso type, never cream-on-white */
body.home-template-authority .ps-box .g-title,
body.home-template-authority .details-page-content h3,
body.home-template-authority .details-page-content h4,
body.home-template-authority .details-page-content .title {
  font-family: "Instrument Serif", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  color: #3A2A1C !important;
}

body.home-template-authority .details-page-content .description,
body.home-template-authority .details-page-content .description p,
body.home-template-authority .details-page-content .description li,
body.home-template-authority .details-page-content .ps-box p,
body.home-template-authority .details-page-content .text-center {
  color: rgba(58, 42, 28, 0.78) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  line-height: 1.7 !important;
}

body.home-template-authority .details-page-content .s_stext,
body.home-template-authority .details-page-content #more_description {
  color: #3A2A1C !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.home-template-authority .ps-box .accordion-button,
body.home-template-authority .ps-box .accordion-button:not(.collapsed) {
  color: #3A2A1C !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-weight: 600 !important;
}

body.home-template-authority .ps-box .accordion-button:focus {
  box-shadow: none !important;
  border-color: rgba(58, 42, 28, 0.45) !important;
}

body.home-template-authority .ps-box .accordion-button::after {
  filter: none;
}

body.home-template-authority .ps-box .accordion-item {
  border-color: rgba(58, 42, 28, 0.12) !important;
  background: transparent !important;
}

body.home-template-authority .ps-box .accordion-body {
  color: rgba(58, 42, 28, 0.72) !important;
}

body.home-template-authority .ps-box.ps-sidebar,
body.home-template-authority .gradient-border.page-static-sidebar {
  border-radius: var(--at-card-radius, 18px) !important;
  border: 1px solid rgba(58, 42, 28, 0.12) !important;
  background: #FFFFFF !important;
  box-shadow: 0 22px 48px rgba(58, 42, 28, 0.12) !important;
  overflow: hidden;
}

body.home-template-authority .gradient-border.page-static-sidebar::before {
  display: none !important;
}

body.home-template-authority .ps-sidebar .ps-image img,
body.home-template-authority .ps-box.ps-sidebar img.w-100 {
  border-radius: 0 !important;
}

body.home-template-authority .ps-price {
  padding: 8px 22px 0 !important;
}

body.home-template-authority .ps-price .g-title {
  color: #3A2A1C !important;
  font-family: "Instrument Serif", Georgia, serif !important;
  font-size: 40px !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em;
}

body.home-template-authority .ps-price del {
  color: rgba(58, 42, 28, 0.45) !important;
  font-size: 16px !important;
}

body.home-template-authority .trophy-text {
  color: #3A2A1C !important;
  background: #F8F5EE !important;
  border-radius: var(--at-chip-radius, 14px) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 12px 22px 0 !important;
  width: auto !important;
}

body.home-template-authority .eBtn.gradient,
body.home-template-authority .ps-sidebar .eBtn.gradient {
  color: #F1E9DE !important;
  border: 0 !important;
  border-radius: var(--at-chip-radius, 14px) !important;
  background: #3A2A1C !important;
  box-shadow: 0 12px 28px rgba(58, 42, 28, 0.18) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px !important;
  min-height: 48px;
  margin-inline: 22px !important;
  width: calc(100% - 44px) !important;
}

body.home-template-authority .eBtn.gradient:hover,
body.home-template-authority .ps-sidebar .eBtn.gradient:hover {
  background: #4A3726 !important;
}

body.home-template-authority .eBtn.learn-btn,
body.home-template-authority .eBtn.border,
body.home-template-authority .ps-sidebar .learn-btn {
  color: #3A2A1C !important;
  border-radius: var(--at-chip-radius, 14px) !important;
  border: 1px solid rgba(58, 42, 28, 0.22) !important;
  background: #FFFFFF !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px !important;
  margin-inline: 22px !important;
  width: calc(100% - 44px) !important;
}

body.home-template-authority .eBtn.learn-btn:hover,
body.home-template-authority .ps-sidebar .learn-btn:hover {
  border-color: #3A2A1C !important;
  background: #F8F5EE !important;
}

body.home-template-authority .ps-sidebar .description,
body.home-template-authority .ps-sidebar .description li,
body.home-template-authority .ps-sidebar .course-includes li {
  color: #3a4148 !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 13px !important;
}

body.home-template-authority .ps-sidebar .description i,
body.home-template-authority .ps-sidebar .course-includes i {
  color: #3A2A1C !important;
}

body.home-template-authority .ps-side-feature {
  margin: 8px 22px 18px !important;
  padding: 0 !important;
  list-style: none !important;
}

body.home-template-authority .ps-side-feature li {
  color: #3A2A1C !important;
  border-bottom: 1px solid rgba(58, 42, 28, 0.1) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body.home-template-authority .ps-side-feature li p {
  margin: 0 !important;
  color: rgba(58, 42, 28, 0.62) !important;
  font-weight: 500 !important;
}

body.home-template-authority .at-pay-plans {
  margin: 12px 22px 0 !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(58, 42, 28, 0.12);
  border-radius: var(--at-card-radius, 18px);
  background: #F8F5EE;
}

body.home-template-authority .at-pay-plans,
body.home-template-authority .at-pay-plans p,
body.home-template-authority .at-pay-plans li,
body.home-template-authority .at-pay-plans a {
  color: #3A2A1C !important;
}

@media (max-width: 991.98px) {
  body.home-template-authority .breadcum-area,
  body.home-template-authority .breadcum-area.bg-white,
  body.home-template-authority .breadcum-area.page-content-pb-100 {
    padding-bottom: 48px !important;
  }

  body.home-template-authority .breadcum-area + section {
    margin-top: 0;
  }

  body.home-template-authority .ps-box.static-menu {
    padding: 8px 18px 22px !important;
  }
}

/* ---------- Authority listing pages (Bootcamps / Courses / Tutors) ---------- */
body.home-template-authority .eNtery-item {
  margin-top: -28px;
  padding-top: 40px !important;
  padding-bottom: 88px !important;
  background: #F8F5EE !important;
}

body.home-template-authority .eNtery-item .sidebar,
body.home-template-authority .eNtery-item .widget {
  border: 1px solid rgba(21, 25, 29, 0.1) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.home-template-authority .eNtery-item .widget {
  padding: 22px 20px !important;
  margin-bottom: 16px !important;
}

body.home-template-authority .eNtery-item .widget-title {
  color: #3A2A1C !important;
  font-family: "Instrument Serif", Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  margin-bottom: 16px !important;
}

body.home-template-authority .eNtery-item .sidebar .form-control,
body.home-template-authority .eNtery-item .sidebar input[type="text"],
body.home-template-authority .eNtery-item .sidebar input[type="search"],
body.home-template-authority .eNtery-item .sidebar input:not([type="radio"]):not([type="checkbox"]) {
  height: 46px !important;
  border: 1px solid rgba(21, 25, 29, 0.14) !important;
  border-radius: 0 !important;
  background: #F8F5EE !important;
  font-family: "Manrope", system-ui, sans-serif !important;
}

body.home-template-authority .eNtery-item .sidebar .search {
  position: relative;
}

body.home-template-authority .eNtery-item .sidebar .search .submit {
  color: #3A2A1C !important;
  background: transparent !important;
}

body.home-template-authority .eNtery-item .entry-widget .category a,
body.home-template-authority .eNtery-item .down-text {
  color: #3a4148 !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 13px !important;
}

body.home-template-authority .eNtery-item .entry-widget .category.active a,
body.home-template-authority .eNtery-item .entry-widget .category a:hover,
body.home-template-authority .eNtery-item .down-text:hover {
  color: #F1E9DE !important;
}

body.home-template-authority .eNtery-item .down-text {
  color: #2F2218 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px !important;
  cursor: pointer;
}

body.home-template-authority .bootcamp-grid-card,
body.home-template-authority .eNtery-item .card.Ecard {
  border: 1px solid rgba(21, 25, 29, 0.1) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.home-template-authority .bootcamp-grid-card:hover,
body.home-template-authority .eNtery-item .card.Ecard:hover {
  border-color: rgba(58, 42, 28, 0.55) !important;
  box-shadow: 0 18px 40px rgba(11, 13, 15, 0.08) !important;
  transform: translateY(-3px);
}

body.home-template-authority .eNtery-item .entry-title a,
body.home-template-authority .eNtery-item .entry-title h3 {
  color: #3A2A1C !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  width: auto !important;
}

body.home-template-authority .eNtery-item .card.Ecard.eBar-card,
body.home-template-authority .cfm-course-card {
  height: auto !important;
}

body.home-template-authority .overlay-content {
  isolation: isolate;
}

body.home-template-authority .overlay-content.show-more p:last-child,
body.home-template-authority .overlay-content.show-less p:last-child {
  z-index: 2 !important;
}

body.home-template-authority .eNtery-item .empty {
  min-height: 360px;
  padding: 48px 28px;
  border: 1px dashed rgba(21, 25, 29, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

body.home-template-authority .eNtery-item .empty .g-title {
  color: #F1E9DE !important;
  font-family: "Instrument Serif", Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 28px !important;
}

body.home-template-authority .eNtery-item .empty p {
  color: #687078 !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  max-width: 36rem;
}

body.home-template-authority .eNtery-item .empty .eBtn.gradient {
  color: #F1E9DE !important;
  background: #3A2A1C !important;
  border-radius: 0 !important;
}

/* Cart / payment continuity under Authority */
body.home-template-authority.learner-studio .eBtn.gradient,
body.home-template-authority .payment-gateway .btn-primary,
body.home-template-authority form .btn-primary {
  color: #F1E9DE !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #3A2A1C !important;
  box-shadow: none !important;
}

/* —— Authority × Learner Studio —— */
body.learner-studio.home-template-authority {
  --ls-ink: #3A2A1C;
  --ls-ink-2: #161a1f;
  --ls-mist: #f4efe6;
  --ls-paper: #f7f3ea;
  --ls-surface: rgba(255, 255, 255, 0.92);
  --ls-teal: #3A2A1C;
  --ls-teal-deep: #2F2218;
  --ls-amber: #3A2A1C;
  --ls-text: #1a1d21;
  --ls-muted: #6b6558;
  --ls-line: rgba(11, 13, 15, 0.1);
  --ls-radius: 0;
  --ls-shadow: 0 18px 50px rgba(11, 13, 15, 0.1);
  --ls-shadow-sm: 0 8px 24px rgba(11, 13, 15, 0.07);
  --ls-display: "Instrument Serif", Georgia, serif;
  --ls-body: "Manrope", system-ui, sans-serif;

  background:
    radial-gradient(900px 420px at 12% -10%, rgba(58, 42, 28, 0.18), transparent 55%),
    radial-gradient(800px 380px at 88% 0%, rgba(11, 13, 15, 0.06), transparent 50%),
    linear-gradient(180deg, #f4efe6 0%, var(--ls-paper) 40%, #ebe4d6 100%);
}

body.learner-studio.home-template-authority .profile-banner-area {
  background:
    linear-gradient(135deg, rgba(11, 13, 15, 0.92), rgba(22, 26, 31, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(58, 42, 28, 0.35), transparent 45%),
    #3A2A1C !important;
}

body.learner-studio.home-template-authority .profile-banner-area::before {
  background: radial-gradient(circle at 20% 80%, rgba(58, 42, 28, 0.22), transparent 40%);
}

body.learner-studio.home-template-authority .course-sideBar,
body.learner-studio.home-template-authority .ls-panel,
body.learner-studio.home-template-authority .my-panel,
body.learner-studio.home-template-authority .message-panel,
body.learner-studio.home-template-authority .g-card.c-card,
body.learner-studio.home-template-authority .g-card.wish-card,
body.learner-studio.home-template-authority .Ecard {
  border-radius: 0 !important;
}

body.learner-studio.home-template-authority .ls-sidebar-eyebrow,
body.learner-studio.home-template-authority .ls-panel-kicker {
  color: #2F2218 !important;
}

body.learner-studio.home-template-authority .ls-sidebar-eyebrow::before {
  background: #3A2A1C !important;
}

body.learner-studio.home-template-authority .couses-tab-list li.active a {
  color: #3A2A1C !important;
  background: rgba(58, 42, 28, 0.28) !important;
}

body.learner-studio.home-template-authority .couses-tab-list li a:hover {
  background: rgba(58, 42, 28, 0.14) !important;
}

body.learner-studio.home-template-authority .progress-bar,
body.learner-studio.home-template-authority .learn-btn,
body.learner-studio.home-template-authority a.eBtn.learn-btn,
body.learner-studio.home-template-authority .my-course-btn .eBtn.gradient,
body.learner-studio.home-template-authority .eBtn.gradient,
body.learner-studio.home-template-authority .ls-empty .eBtn {
  color: #F1E9DE !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #3A2A1C !important;
  box-shadow: none !important;
}

body.learner-studio.home-template-authority .learn-btn:hover,
body.learner-studio.home-template-authority a.eBtn.learn-btn:hover,
body.learner-studio.home-template-authority .eBtn.gradient:hover {
  background: #C9BFB2 !important;
}

body.learner-studio.home-template-authority .ls-avatar-initials {
  background: linear-gradient(145deg, #3A2A1C, #2F2218) !important;
  color: #F1E9DE !important;
}

body.learner-studio.home-template-authority .g-title,
body.learner-studio.home-template-authority .ls-panel .g-title,
body.learner-studio.home-template-authority .ls-empty h3 {
  font-family: var(--ls-display) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
}

/* Public storefront: hide social + review chrome */
body[class*="home-template-"] .f-socials,
body[class*="home-template-"] .sub-header .fa-brands,
body.at-funnel-page .f-socials {
  display: none !important;
}

body[class*="home-template-"] .details-page-content .nav-bordered .nav-link {
  font-weight: 600;
  letter-spacing: 0.01em;
}

body[class*="home-template-"] .cfm-video-embed {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.12);
}
