/* ============================================================
   EXISTING RULES — kept as-is
   ============================================================ */
.logo {
    display: block;
    width: 90px;
}
element.style {
    margin-top: 8px;
}
.tribe-events-c-events-bar__search-container .tribe-common-c-btn.tribe-events-c-search__button,
.contact-form .contact-submit .pushbutton-wide,
.wpcf7-submit,
[class*="btn"].btn-style-3,
.author-box .author-icon .svg,
[class*="carousel-type"] .owl-dots .owl-dot.active,
.entry .label-top {
  background-color: #C1502E !important;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
.lwa-bones {
    --avatar-size: 60px;
    --avatar-rounded: 50%;
    --links-case: none;
    display: none;
}

body, p, div, span {
    font-family: 'Poppins', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Prata', serif !important;
}

.ys-header {
    display: none !important;
}


/* ============================================================
   NEW PALETTE SYSTEM
   ============================================================ */

/* --- Headings --- */
h1, h2 {
  color: #3B2A20 !important;
}
h3, h5 {
  color: #4A3627 !important;
}
h4 {
  color: #C1502E !important;
}
h6 {
  color: #2B211B !important;
}

/* --- Body / paragraph text — excludes header, footer & flip boxes --- */
p:not(.elementor-location-header *):not(.elementor-location-footer *):not(.wpr-flip-box-description *),
li:not(.elementor-location-header *):not(.elementor-location-footer *) {
  color: #2B211B !important;
}

/* --- Hyperlinks inside body text (excluding header/footer) --- */
.elementor-widget-text-editor a:not(.elementor-location-header *):not(.elementor-location-footer *),
.elementor-widget-theme-post-content a:not(.elementor-location-header *):not(.elementor-location-footer *),
p a:not(.elementor-location-header *):not(.elementor-location-footer *) {
  color: #C1502E !important;
}
.elementor-widget-text-editor a:hover:not(.elementor-location-header *):not(.elementor-location-footer *),
p a:hover:not(.elementor-location-header *):not(.elementor-location-footer *) {
  color: #9C3F23 !important;
}
.elementor-widget-text-editor a:visited:not(.elementor-location-header *):not(.elementor-location-footer *),
p a:visited:not(.elementor-location-header *):not(.elementor-location-footer *) {
  color: #3B2A20 !important;
}

/* --- Buttons (Apply Today / Register / general CTAs) --- */
.elementor-button,
.elementor-button-link,
[class*="btn"]:not(.btn-style-3) {
  background-color: #C1502E !important;
  color: #FFFDF9 !important;
  border-color: #C1502E !important;
}
.elementor-button:hover,
.elementor-button-link:hover,
[class*="btn"]:not(.btn-style-3):hover {
  background-color: #9C3F23 !important;
  border-color: #9C3F23 !important;
}

/* --- Accordion / Toggle widgets --- */
.elementor-accordion-title,
.elementor-toggle-title {
  color: #3B2A20 !important;
}
.elementor-tab-title.elementor-active,
.elementor-accordion-item .elementor-tab-title.elementor-active {
  color: #C1502E !important;
}
.elementor-tab-content,
.elementor-accordion-content {
  color: #2B211B !important;
  background-color: #FFFDF9 !important;
}
.elementor-accordion-icon,
.elementor-toggle-icon {
  color: #C9A227 !important;
}
.elementor-tab-title.elementor-active .elementor-accordion-icon,
.elementor-tab-title.elementor-active .elementor-toggle-icon {
  color: #C1502E !important;
}
.elementor-accordion-item,
.elementor-toggle-item {
  border-color: #E6D8C4 !important;
}

/* --- Schedule / data tables --- */
table thead th {
  color: #3B2A20 !important;
}
table tbody td {
  color: #2B211B !important;
}
table tbody tr:nth-child(even) {
  background-color: #F1E6D3 !important;
}
table tbody tr:nth-child(odd) {
  background-color: #FAF3E7 !important;
}
table, table td, table th {
  border-color: #E6D8C4 !important;
}

/* --- Icon lists (fees, course dates, benefits) — excludes header & footer --- */
.elementor-icon-list-icon i,
.elementor-icon-list-icon svg {
  color: #C9A227 !important;
  fill: #C9A227 !important;
}
.elementor-icon-list-text:not(.elementor-location-header *):not(.elementor-location-footer *) {
  color: #2B211B !important;
}

/* --- On Demand service icons --- */
.e-font-icon-svg.e-fas-hot-tub,
.e-font-icon-svg.e-far-snowflake {
  fill: #C9A227 !important;
  color: #C9A227 !important;
}

/* --- Flip box cards (100/300/500 Hour training course cards) --- */
.wpr-flip-box-title,
.wpr-flip-box-title * {
  color: #FAF3E7 !important;
}
.wpr-flip-box-description,
.wpr-flip-box-description * {
  color: #FAF3E7 !important;
}
.wpr-flip-box-title,
.wpr-flip-box-description {
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 10px rgba(0,0,0,0.6) !important;
}

/* --- Ninja Forms --- */
.nf-form-cont .nf-field-label label {
  color: #3B2A20 !important;
  font-weight: 600 !important;
}
.nf-form-cont select,
.nf-form-cont input[type="text"],
.nf-form-cont input[type="email"],
.nf-form-cont input[type="tel"],
.nf-form-cont textarea {
  background: #FAF3E7 !important;
  border: 1px solid #C9A227 !important;
  color: #2B211B !important;
  border-radius: 3px !important;
}
.nf-form-cont input[type="submit"],
.nf-form-cont button[type="submit"],
.nf-form-cont .submit-wrap input[type="submit"] {
  background-color: #C1502E !important;
  color: #FFFDF9 !important;
  border: none !important;
  border-radius: 3px !important;
  font-weight: 600 !important;
}
.nf-form-cont input[type="submit"]:hover,
.nf-form-cont button[type="submit"]:hover {
  background-color: #9C3F23 !important;
}


/* ============================================================
   ID-SCOPED FIXES
   ============================================================ */

/* Special Benefits box — light text/icons on dark umber background
   NOTE: this ID must be added to the same widget on every course
   page individually (100/300/500-hour etc.), since this section
   is not a shared global template. */
#special-benefits-list .elementor-icon-list-text {
  color: #FAF3E7 !important;
}
#special-benefits-list .elementor-icon-list-icon i,
#special-benefits-list .elementor-icon-list-icon svg {
  color: #C9A227 !important;
  fill: #C9A227 !important;
}

/* Header topbar — phone/email text */
#header-contact-list .elementor-icon-list-text,
#header-contact-list a {
  color: #E4D5C3 !important;
}
#header-contact-list .elementor-icon-list-icon i,
#header-contact-list .elementor-icon-list-icon svg {
  color: #C9A227 !important;
  fill: #C9A227 !important;
}

/* Header topbar — Yoga Alliance ID text */
#header-yoga-alliance-id,
#header-yoga-alliance-id p,
#header-yoga-alliance-id span,
#header-yoga-alliance-id .elementor-icon-list-text {
  color: #E4D5C3 !important;
}