/**
 * Custom Style Sheet
 * Connected to Global Design Tokens in main.css (:root)
 */

@import url('modules/home-hero.css');
@import url('modules/content_block_image_section.css');
@import url('modules/featured_solutions_section.css');
@import url('modules/proof_points_section.css');
@import url('modules/icon_grid_section.css');
@import url('modules/logo_slider_section.css');
@import url('modules/featured_insights_section.css');
@import url('modules/cta_block_section.css');
@import url('modules/template-partners.css');
@import url('modules/expert_cta_section.css');
@import url('modules/feature_callout_section.css');
@import url('modules/usps_grid_section.css');
@import url('modules/content_block_section.css');


/* ==========================================================================
   CTA Block Section Styles
   Matches live site CTA section design at /solutions/ai-managed-solutions/
   ========================================================================== */

/* Main Section Container */
.morae-cta-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--morae-bg-dark, #0f0f0f);
  color: var(--morae-text-dark, #f5f4f0);
  padding-top: var(--morae-section-py, clamp(3.6875rem, 2.030041436464088rem + 7.07182320441989vw, 7.6875rem));
  padding-bottom: var(--morae-section-py, clamp(3.6875rem, 2.030041436464088rem + 7.07182320441989vw, 7.6875rem));
  z-index: 0;
}

/* Dark semi-transparent overlay covering the entire section / background image */
.morae-cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--morae-overlay-dark, rgba(0, 0, 0, 0.4));
  z-index: 1;
  pointer-events: none;
}

/* Background Image (Full-Width Edge-to-Edge) */
.morae-cta-section .morae-cta-background {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Content Container (Static position allows image to break out to section) */
.morae-cta-section .morae-cta-container {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  row-gap: var(--spacing-xl, clamp(1.75rem, 1.4651243093922652rem + 1.2154696132596685vw, 2.4375rem));
  column-gap: var(--spacing-xs, clamp(0.875rem, 0.8491022099447514rem + 0.11049723756906078vw, 0.9375rem));
  max-width: 1920px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--morae-side-padding, clamp(1rem, -0.408rem + 6.009vw, 5rem)) !important;
  padding-right: var(--morae-side-padding, clamp(1rem, -0.408rem + 6.009vw, 5rem)) !important;
  box-sizing: border-box;
}

/* Header & Title (Stacked above background image and overlay with z-index 2) */
.morae-cta-section .morae-cta-header {
  position: relative;
  z-index: 2;
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
}

.morae-cta-section .morae-cta-title,
.morae-cta-section h2.morae-cta-title {
  position: relative;
  z-index: 2;
  color: var(--morae-title-color-dark, #ffffff) !important;
  font-family: var(--morae-font, 'IBM_Plex_Sans', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: var(--morae-font-size-display-3xl, clamp(2.3125rem, 1.639157458563536rem + 2.8729281767955803vw, 3.9375rem));
  line-height: var(--morae-line-height-display-3xl, clamp(2.8125rem, 2.0096685082872927rem + 3.4254143646408837vw, 4.75rem));
  font-weight: 400;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 90rem),
(min-width: 1440px) {

  .morae-cta-section .morae-cta-title,
  .morae-cta-section h2.morae-cta-title {
    font-size: 4.3854167vw !important;
    line-height: 1.2 !important;
  }
}

/* Action Buttons (Uses Global Button Tokens) */
.morae-cta-section .morae-expansion-actions {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0;
}

/* Base button styles */
.morae-cta-section a.morae-btn,
.morae-cta-section .morae-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: var(--morae-btn-radius, 2px);
  font-family: var(--morae-btn-font, var(--morae-font));
  font-weight: var(--morae-btn-font-weight, 500);
  line-height: 1.5;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  width: auto;
}

/* Default button sizing */
.morae-cta-section a.morae-btn,
.morae-cta-section .morae-btn,
.morae-cta-section .morae-btn-size-default {
  height: var(--morae-btn-height, 3.3533em);
  min-height: var(--morae-btn-min-height, 50px);
  padding: var(--morae-btn-padding, 0 1.25em);
  font-size: var(--morae-btn-font-size, clamp(0.9375rem, 0.90009rem + 0.15962vw, 1.04375rem));
  gap: var(--morae-btn-gap, 1.67665em);
  border-width: 0.05988024em;
  border-style: solid;
}

/* Primary Button */
.morae-cta-section a.morae-btn-primary,
.morae-cta-section .morae-btn-primary {
  background-color: var(--morae-btn-primary-bg, #e13000);
  border-color: var(--morae-btn-primary-border, #e13000);
  color: var(--morae-btn-primary-text, #ffffff) !important;
}

.morae-cta-section a.morae-btn-primary::before,
.morae-cta-section .morae-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--morae-btn-primary-gradient, linear-gradient(90deg, #e13000 52.63%, #ff3600 100.88%));
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

.morae-cta-section a.morae-btn-primary:hover::before,
.morae-cta-section .morae-btn-primary:hover::before {
  opacity: 0;
}

.morae-cta-section a.morae-btn-primary:hover,
.morae-cta-section .morae-btn-primary:hover {
  background-color: var(--morae-btn-primary-hover-bg, #e13000);
  border-color: var(--morae-btn-primary-hover-border, #e13000);
  color: var(--morae-btn-primary-hover-text, #ffffff) !important;
}

/* Secondary Button (Dark / Overlay background variant) */
.morae-cta-section a.morae-btn-secondary,
.morae-cta-section .morae-btn-secondary {
  background-color: var(--morae-btn-secondary-bg, transparent);
  border-color: var(--morae-btn-secondary-border, #f5f4f0);
  color: var(--morae-btn-secondary-text, #f5f4f0) !important;
}

.morae-cta-section a.morae-btn-secondary:hover,
.morae-cta-section .morae-btn-secondary:hover {
  background-color: var(--morae-btn-secondary-hover-bg, #f5f4f0);
  border-color: var(--morae-btn-secondary-hover-border, #f5f4f0);
  color: var(--morae-btn-secondary-hover-text, #1c1c1c) !important;
}

.morae-cta-section a.morae-btn-secondary:hover svg,
.morae-cta-section .morae-btn-secondary:hover svg,
.morae-cta-section a.morae-btn-secondary:hover .morae-btn-icon,
.morae-cta-section .morae-btn-secondary:hover .morae-btn-icon {
  fill: var(--morae-btn-secondary-hover-text, #1c1c1c);
}

/* Naked Button */
.morae-cta-section a.morae-btn-naked,
.morae-cta-section .morae-btn-naked {
  background-color: transparent;
  border-color: transparent;
  color: var(--morae-btn-naked-text, #ffffff) !important;
  padding: 0;
  min-height: auto;
  height: auto;
}

.morae-cta-section a.morae-btn-naked:hover,
.morae-cta-section .morae-btn-naked:hover {
  color: var(--morae-btn-naked-hover-text, #ff3600) !important;
}

/* Button Size Variants */
.morae-cta-section .morae-btn-size-sm {
  min-height: var(--morae-btn-sm-min-height, 42px);
  height: var(--morae-btn-sm-height, 42px);
  padding: var(--morae-btn-sm-padding, 0 0.85em);
  font-size: var(--morae-btn-sm-font-size, 13px);
  gap: var(--morae-btn-sm-gap, 1.15em);
}

.morae-cta-section .morae-btn-size-lg {
  min-height: var(--morae-btn-lg-min-height, 54px);
  height: var(--morae-btn-lg-height, 54px);
  padding: var(--morae-btn-lg-padding, 0 1.25em);
  font-size: var(--morae-btn-lg-font-size, 16px);
  gap: var(--morae-btn-lg-gap, 1.8em);
}

.morae-cta-section .morae-btn-size-xl {
  min-height: var(--morae-btn-xl-min-height, 58px);
  height: var(--morae-btn-xl-height, 58px);
  padding: var(--morae-btn-xl-padding, 0 1.5em);
  font-size: var(--morae-btn-xl-font-size, 18px);
  gap: var(--morae-btn-xl-gap, 1.35em);
}

/* Button Icons */
.morae-cta-section .morae-btn svg,
.morae-cta-section .morae-btn .morae-btn-icon {
  width: 1em;
  height: 1em;
  min-width: 1em;
  min-height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.morae-cta-section .morae-btn.morae-btn-icon-trailing:hover svg,
.morae-cta-section .morae-btn.morae-btn-icon-trailing:hover .morae-btn-icon {
  transform: translateX(3px);
}

.morae-cta-section .morae-btn.morae-btn-icon-leading:hover svg,
.morae-cta-section .morae-btn.morae-btn-icon-leading:hover .morae-btn-icon {
  transform: translateX(-3px);
}

/* Theme Variants (For CTA sections without background image) */
.morae-cta-section.morae-theme-natural:not(:has(.morae-cta-background)),
.morae-cta-section.theme-natural:not(:has(.morae-cta-background)) {
  background-color: var(--morae-bg-natural, #f5f4f0);
  color: var(--morae-text-natural, #0f0f0f);
}

.morae-cta-section.morae-theme-natural:not(:has(.morae-cta-background))::after,
.morae-cta-section.theme-natural:not(:has(.morae-cta-background))::after {
  display: none;
}

.morae-cta-section.morae-theme-natural:not(:has(.morae-cta-background)) .morae-cta-title,
.morae-cta-section.theme-natural:not(:has(.morae-cta-background)) .morae-cta-title {
  color: var(--morae-text-natural, #0f0f0f) !important;
}

.morae-cta-section.morae-theme-natural:not(:has(.morae-cta-background)) .morae-btn-secondary,
.morae-cta-section.theme-natural:not(:has(.morae-cta-background)) .morae-btn-secondary {
  border-color: var(--morae-btn-secondary-border, #262626);
  color: var(--morae-btn-secondary-text, #262626) !important;
}

.morae-cta-section.morae-theme-natural:not(:has(.morae-cta-background)) .morae-btn-secondary:hover,
.morae-cta-section.theme-natural:not(:has(.morae-cta-background)) .morae-btn-secondary:hover {
  background-color: var(--morae-btn-secondary-hover-bg, #262626);
  border-color: var(--morae-btn-secondary-hover-border, #262626);
  color: var(--morae-btn-secondary-hover-text, #ffffff) !important;
}

.morae-cta-section.morae-theme-natural:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) a.morae-btn-naked,
.morae-cta-section.morae-theme-natural:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) .morae-btn-naked,
.morae-cta-section.theme-natural:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) a.morae-btn-naked,
.morae-cta-section.theme-natural:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) .morae-btn-naked {
  color: #262626 !important;
}

.morae-cta-section.morae-theme-light:not(:has(.morae-cta-background)),
.morae-cta-section.theme-light:not(:has(.morae-cta-background)) {
  background-color: var(--morae-bg-light, #ffffff);
  color: var(--morae-text-light, #0f0f0f);
}

.morae-cta-section.morae-theme-light:not(:has(.morae-cta-background))::after,
.morae-cta-section.theme-light:not(:has(.morae-cta-background))::after {
  display: none;
}

.morae-cta-section.morae-theme-light:not(:has(.morae-cta-background)) .morae-cta-title,
.morae-cta-section.theme-light:not(:has(.morae-cta-background)) .morae-cta-title {
  color: var(--morae-text-light, #0f0f0f) !important;
}

.morae-cta-section.morae-theme-light:not(:has(.morae-cta-background)) .morae-btn-secondary,
.morae-cta-section.theme-light:not(:has(.morae-cta-background)) .morae-btn-secondary {
  border-color: var(--morae-btn-secondary-border, #262626);
  color: var(--morae-btn-secondary-text, #262626) !important;
}

.morae-cta-section.morae-theme-light:not(:has(.morae-cta-background)) .morae-btn-secondary:hover,
.morae-cta-section.theme-light:not(:has(.morae-cta-background)) .morae-btn-secondary:hover {
  background-color: var(--morae-btn-secondary-hover-bg, #262626);
  border-color: var(--morae-btn-secondary-hover-border, #262626);
  color: var(--morae-btn-secondary-hover-text, #ffffff) !important;
}

.morae-cta-section.morae-theme-light:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) a.morae-btn-naked,
.morae-cta-section.morae-theme-light:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) .morae-btn-naked,
.morae-cta-section.theme-light:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) a.morae-btn-naked,
.morae-cta-section.theme-light:not(:has(.morae-cta-background)):not(.morae-cta-fullwidth-section) .morae-btn-naked {
  color: #262626 !important;
}

/* ==========================================================================
   Common Section Spacing: Collapse Adjacent Same-Theme Padding
   When two sections share the same theme/background, remove the second section's
   top padding to prevent double padding (large space between sections).
   Matches live site: section.dark+section.dark, section.light+section.light, etc.
   ========================================================================== */

/* Dark + Dark */
section:is(.morae-theme-dark, .theme-dark, .dark, .morae-theme-light-dark, .theme-light-dark)+section:is(.morae-theme-dark, .theme-dark, .dark, .morae-theme-light-dark, .theme-light-dark):not(.ignore-same-theme-rule),
section:is(.morae-theme-dark, .theme-dark, .dark, .morae-theme-light-dark, .theme-light-dark)+section[id]:is(.morae-theme-dark, .theme-dark, .dark, .morae-theme-light-dark, .theme-light-dark):not(.ignore-same-theme-rule),
section:is(.morae-theme-dark, .theme-dark, .dark, .morae-theme-light-dark, .theme-light-dark)+[id]:is(.morae-theme-dark, .theme-dark, .dark, .morae-theme-light-dark, .theme-light-dark):not(.ignore-same-theme-rule),

/* Light/Default + Light/Default (excluding light-dark and light-natural) */
section:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light):not(.morae-theme-light-dark):not(.theme-light-dark):not(.morae-theme-light-natural):not(.theme-light-natural)+section:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light):not(.morae-theme-light-dark):not(.theme-light-dark):not(.morae-theme-light-natural):not(.theme-light-natural):not(.ignore-same-theme-rule),
section:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light):not(.morae-theme-light-dark):not(.theme-light-dark):not(.morae-theme-light-natural):not(.theme-light-natural)+section[id]:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light):not(.morae-theme-light-dark):not(.theme-light-dark):not(.morae-theme-light-natural):not(.theme-light-natural):not(.ignore-same-theme-rule),
section:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light):not(.morae-theme-light-dark):not(.theme-light-dark):not(.morae-theme-light-natural):not(.theme-light-natural)+[id]:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light):not(.morae-theme-light-dark):not(.theme-light-dark):not(.morae-theme-light-natural):not(.theme-light-natural):not(.ignore-same-theme-rule),
section.morae-content-block-image-section.morae-theme-light+#solutions:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light),
section.morae-content-block-image-section.morae-theme-light+.morae-proof-points-section.morae-theme-light,
#solutions+#solutions+section:is(.morae-theme-light, .morae-theme-default, .theme-light, .theme-default, .light),

/* Natural + Natural */
section:is(.morae-theme-natural, .theme-natural, .natural, .morae-theme-light-natural, .theme-light-natural)+section:is(.morae-theme-natural, .theme-natural, .natural, .morae-theme-light-natural, .theme-light-natural):not(.ignore-same-theme-rule),
section:is(.morae-theme-natural, .theme-natural, .natural, .morae-theme-light-natural, .theme-light-natural)+section[id]:is(.morae-theme-natural, .theme-natural, .natural, .morae-theme-light-natural, .theme-light-natural):not(.ignore-same-theme-rule),
section:is(.morae-theme-natural, .theme-natural, .natural, .morae-theme-light-natural, .theme-light-natural)+[id]:is(.morae-theme-natural, .theme-natural, .natural, .morae-theme-light-natural, .theme-light-natural):not(.ignore-same-theme-rule),
section.morae-icon-grid-section+.morae-logo-slider-section.morae-theme-natural,
section.morae-icon-grid-section+#logo_slider_id {
  padding-top: 0 !important;
}

/* Ensure top section immediately following hero retains its top padding */
.home-hero+section,
.solution-hero+section,
.hero-banner+section {
  padding-top: var(--morae-section-py-lg, clamp(4.4375rem, 2.054903314917127rem + 10.165745856353592vw, 10.1875rem)) !important;
}

/* Common Section Padding Utilities */
.morae-no-pt,
.no-padding-top,
.pt-0 {
  padding-top: 0 !important;
}

.morae-no-pb,
.no-padding-bottom,
.pb-0 {
  padding-bottom: 0 !important;
}

/* ==========================================================================
   Global Section Heading Line Heights & Non-Colliding Strong Highlights
   Ensures consistent, proportional line-height on all screen sizes & viewports
   ========================================================================== */
.section-heading,
.morae-expansion-title,
.morae-proof-title,
.morae-icon-grid-title,
.morae-leadership-title,
.morae-tab-group-title,
.morae-content-block-image-title,
.morae-pictogram-title,
.morae-bento-title,
.morae-cta-title,
.morae-lead-title,
.display-4xl,
.display-3xl,
.display-2xl,
.display-xl,
.display-lg {
  line-height: 1.4 !important;
  /* letter-spacing: -0.015em; */
}

@media (max-width: 991.98px) {

  .section-heading,
  .morae-expansion-title,
  .morae-proof-title,
  .morae-icon-grid-title,
  .morae-leadership-title,
  .morae-tab-group-title,
  .morae-content-block-image-title,
  .morae-pictogram-title,
  .morae-bento-title,
  .morae-cta-title,
  .morae-lead-title,
  .display-4xl,
  .display-3xl,
  .display-2xl,
  .display-xl,
  .display-lg {
    line-height: 1.42 !important;
  }
}

@media (max-width: 575.98px) {

  .section-heading,
  .morae-expansion-title,
  .morae-proof-title,
  .morae-icon-grid-title,
  .morae-leadership-title,
  .morae-tab-group-title,
  .morae-content-block-image-title,
  .morae-pictogram-title,
  .morae-bento-title,
  .morae-cta-title,
  .morae-lead-title,
  .display-4xl,
  .display-3xl,
  .display-2xl,
  .display-xl,
  .display-lg {
    line-height: 1.48 !important;
  }
}

.section-heading p,
.morae-expansion-title p,
.morae-proof-title p,
.morae-icon-grid-title p,
.morae-leadership-title p,
.morae-tab-group-title p,
/* .morae-content-block-image-title p - handled below with display: block */
.morae-pictogram-title p,
.morae-bento-title p,
.morae-cta-title p,
.morae-lead-title p,
.display-4xl p,
.display-3xl p,
.display-2xl p,
.display-xl p,
.display-lg p {
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
  line-height: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}

.section-heading strong,
.morae-expansion-title strong,
.morae-proof-title strong,
.morae-icon-grid-title strong,
.morae-leadership-title strong,
.morae-tab-group-title strong,
.morae-content-block-image-title strong,
.morae-pictogram-title strong,
.morae-bento-title strong,
.morae-cta-title strong,
.morae-lead-title strong,
.display-4xl strong,
.display-3xl strong,
.display-2xl strong,
.display-xl strong,
.display-lg strong {
  background-image: var(--morae-text-highlight, linear-gradient(119.49deg, #FF3600 12.98%, #FF7700 60.83%, #FFBD00 102.78%)) !important;
  color: #ffffff !important;
  font-weight: 400 !important;
  padding: 0em 0em !important;
  line-height: inherit !important;
  display: inline !important;
  box-decoration-break: clone !important;
  -webkit-box-decoration-break: clone !important;
  border-radius: 1px;
}

/* ==========================================================================
   Video Button Component
   ========================================================================== */
.morae-video-btn-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.morae-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.morae-video-btn:focus-visible {
  outline: 2px solid #ff3600;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Thumbnail */
.morae-video-btn-thumb {
  position: relative;
  width: 82px;
  height: 48px;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  background-color: #1a1a1a;
  flex-shrink: 0;
}

.morae-video-btn-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.morae-video-btn-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.morae-video-btn:hover .morae-video-btn-thumb-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Play button overlay */
.morae-video-btn-play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease;
  z-index: 1;
}

.morae-video-btn:hover .morae-video-btn-play-wrap {
  background-color: rgba(0, 0, 0, 0.15);
}

.morae-video-btn-play-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.morae-video-btn:hover .morae-video-btn-play-circle {
  transform: scale(1.12);
  background-color: #ff3600;
  color: #ffffff;
}

.morae-video-btn-play-circle svg {
  width: 10px;
  height: 10px;
  margin-left: 1.5px;
  fill: currentColor;
}

/* Text column */
.morae-video-btn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.morae-video-btn-title {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--tab-heading, #262626);
  line-height: 1.3;
  margin: 0 0 2px 0;
  display: block;
  transition: color 0.2s ease;
}

.morae-video-btn:hover .morae-video-btn-title {
  color: #ff3600;
}

.morae-video-btn-supporting {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: var(--tab-text-muted, #595959);
  line-height: 1.35;
  display: block;
  max-width: 280px;
}

/* Sizes */
.morae-video-btn-size-sm .morae-video-btn-thumb {
  width: 70px;
  height: 40px;
}

.morae-video-btn-size-sm .morae-video-btn-title {
  font-size: 13px;
}

.morae-video-btn-size-sm .morae-video-btn-supporting {
  font-size: 11px;
}

.morae-video-btn-size-sm .morae-video-btn-play-circle {
  width: 20px;
  height: 20px;
}

.morae-video-btn-size-sm .morae-video-btn-play-circle svg {
  width: 8px;
  height: 8px;
}

.morae-video-btn-size-lg .morae-video-btn-thumb {
  width: 96px;
  height: 54px;
}

.morae-video-btn-size-lg .morae-video-btn-title {
  font-size: 15px;
}

.morae-video-btn-size-lg .morae-video-btn-supporting {
  font-size: 13px;
}

.morae-video-btn-size-lg .morae-video-btn-play-circle {
  width: 26px;
  height: 26px;
}

.morae-video-btn-size-xl .morae-video-btn-thumb {
  width: 106px;
  height: 60px;
}

.morae-video-btn-size-xl .morae-video-btn-title {
  font-size: 16px;
}

.morae-video-btn-size-xl .morae-video-btn-supporting {
  font-size: 14px;
}

.morae-video-btn-size-xl .morae-video-btn-play-circle {
  width: 28px;
  height: 28px;
}

/* Theme support */
.morae-theme-dark .morae-video-btn-title,
.theme-dark .morae-video-btn-title {
  color: #ffffff;
}

.morae-theme-dark .morae-video-btn-supporting,
.theme-dark .morae-video-btn-supporting {
  color: #cac5be;
}

.morae-theme-dark .morae-video-btn:hover .morae-video-btn-title,
.theme-dark .morae-video-btn:hover .morae-video-btn-title {
  color: #ff3600;
}

/* Tab Group Actions */
.tab-group-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: center;
  margin-top: clamp(1.25rem, 2vw, 2rem);
}

/* ==========================================================================
   Video Modal Component
   ========================================================================== */
body.morae-modal-open {
  overflow: hidden !important;
}

.morae-video-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.5vw, 24px);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.morae-video-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.morae-video-modal-dialog {
  position: relative;
  background: #ffffff;
  color: #262626;
  width: 100%;
  max-width: min(1560px, calc(100vw - 30px));
  max-height: calc(100vh - 20px);
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  overflow-x: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: clamp(260px, 26%, 380px) 1fr;
  align-items: flex-start;
  box-sizing: border-box;
  padding: clamp(56px, 5vw, 76px) clamp(24px, 3.5vw, 44px) clamp(16px, 2vw, 24px) clamp(28px, 3.5vw, 44px);
  gap: clamp(28px, 3.5vw, 48px);
}

.morae-video-modal-backdrop.is-open .morae-video-modal-dialog {
  transform: scale(1) translateY(0);
}

.morae-video-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 20;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a1a1a;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  padding: 0;
}

.morae-video-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #ff3600;
  transform: scale(1.08);
}

.morae-video-modal-info {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: transparent;
  box-sizing: border-box;
}

.morae-video-modal-logo {
  width: clamp(24px, 2.5vw, 32px);
  height: clamp(12px, 1.25vw, 16px);
  color: #ff3600;
  margin-bottom: clamp(16px, 2vw, 24px);
  flex-shrink: 0;
}

.morae-video-modal-title {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  font-size: clamp(1.4rem, 1.15rem + 0.6vw, 1.85rem);
  font-weight: 500;
  color: #101010;
  line-height: 1.25;
  margin: 0 0 16px 0;
  text-wrap: balance;
}

.morae-video-modal-desc {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  font-size: clamp(0.9rem, 0.85rem + 0.15vw, 1rem);
  color: #595959;
  line-height: 1.55;
  margin: 0;
}

.morae-video-modal-player-wrap {
  position: relative;
  width: 100%;
  background: #eae5de;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  overflow: hidden;
}

.morae-video-modal-player-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.morae-video-modal-iframe,
.morae-video-modal-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .morae-video-modal-dialog {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px 20px 24px 20px;
    gap: 20px;
  }

  .morae-video-modal-player-wrap {
    order: 1;
    min-height: auto;
  }

  .morae-video-modal-info {
    order: 2;
  }

  .morae-video-modal-close {
    top: 12px;
    right: 12px;
  }
}


/* ==========================================================================
   Fullwidth CTA Section Padding (Matches live py-5xl: 123px at 1440px)
   ========================================================================== */
.morae-cta-fullwidth-section,
section.morae-cta-fullwidth-section,
.morae-cta-section.ignore-same-theme-rule,
section.morae-cta-section.ignore-same-theme-rule {
  padding-top: clamp(3.5rem, 2rem + 6vw, 7.6875rem) !important;
  padding-bottom: clamp(3.5rem, 2rem + 6vw, 7.6875rem) !important;
}

@media (min-width: 1440px) {

  .morae-cta-fullwidth-section,
  section.morae-cta-fullwidth-section,
  .morae-cta-section.ignore-same-theme-rule,
  section.morae-cta-section.ignore-same-theme-rule {
    padding-top: 123px !important;
    padding-bottom: 123px !important;
  }
}

/* ==========================================================================
   9. Full-Width CTA Section - Always Dark Mode Secondary & Naked Buttons
   Regardless of theme type (dark, light, light-dark, light-natural, natural),
   the fullwidth CTA section sits on a dark image background.
   Secondary and Naked buttons must ALWAYS use dark mode styling.
   ========================================================================== */

/* Secondary Button - Always Dark Mode Style across ALL themes */
.morae-cta-fullwidth-section a.morae-btn-secondary,
.morae-cta-fullwidth-section .morae-btn-secondary,
.morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-secondary,
.morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-secondary,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-secondary,
.morae-cta-section:has(.morae-cta-background) .morae-btn-secondary,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions a.morae-btn-secondary,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions .morae-btn-secondary,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-secondary,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-secondary,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions a.morae-btn-secondary,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions .morae-btn-secondary,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) a.morae-btn-secondary,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-btn-secondary,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions a.morae-btn-secondary,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions .morae-btn-secondary,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section a.morae-btn-secondary,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-btn-secondary,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-secondary,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-secondary {
  background-color: transparent !important;
  border-color: #f5f4f0 !important;
  color: #f5f4f0 !important;
}

/* Secondary Button SVG / Icon Default State */
.morae-cta-fullwidth-section a.morae-btn-secondary svg,
.morae-cta-fullwidth-section .morae-btn-secondary svg,
.morae-cta-fullwidth-section a.morae-btn-secondary .morae-btn-icon,
.morae-cta-fullwidth-section .morae-btn-secondary .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-secondary svg,
.morae-cta-section:has(.morae-cta-background) .morae-btn-secondary svg,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-secondary .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) .morae-btn-secondary .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-secondary svg,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-secondary svg,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-secondary .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-secondary .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-secondary svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-secondary svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-secondary .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-secondary .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-secondary svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-secondary svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-secondary .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-secondary .morae-btn-icon {
  fill: #f5f4f0 !important;
}

/* Secondary Button Hover State */
.morae-cta-fullwidth-section a.morae-btn-secondary:hover,
.morae-cta-fullwidth-section .morae-btn-secondary:hover,
.morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-secondary:hover,
.morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-secondary:hover,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-secondary:hover,
.morae-cta-section:has(.morae-cta-background) .morae-btn-secondary:hover,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions a.morae-btn-secondary:hover,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions .morae-btn-secondary:hover,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-secondary:hover,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-secondary:hover,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions a.morae-btn-secondary:hover,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions .morae-btn-secondary:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) a.morae-btn-secondary:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-btn-secondary:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions a.morae-btn-secondary:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions .morae-btn-secondary:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section a.morae-btn-secondary:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-btn-secondary:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-secondary:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-secondary:hover {
  background-color: #f5f4f0 !important;
  border-color: #f5f4f0 !important;
  color: #1c1c1c !important;
}

/* Secondary Button SVG / Icon Hover State */
.morae-cta-fullwidth-section a.morae-btn-secondary:hover svg,
.morae-cta-fullwidth-section .morae-btn-secondary:hover svg,
.morae-cta-fullwidth-section a.morae-btn-secondary:hover .morae-btn-icon,
.morae-cta-fullwidth-section .morae-btn-secondary:hover .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-secondary:hover svg,
.morae-cta-section:has(.morae-cta-background) .morae-btn-secondary:hover svg,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-secondary:hover .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) .morae-btn-secondary:hover .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-secondary:hover svg,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-secondary:hover svg,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-secondary:hover .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-secondary:hover .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-secondary:hover svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-secondary:hover svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-secondary:hover .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-secondary:hover .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-secondary:hover svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-secondary:hover svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-secondary:hover .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-secondary:hover .morae-btn-icon {
  fill: #1c1c1c !important;
}

/* Naked Button - Always Dark Mode Style across ALL themes */
.morae-cta-fullwidth-section a.morae-btn-naked,
.morae-cta-fullwidth-section .morae-btn-naked,
.morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-naked,
.morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-naked,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-naked,
.morae-cta-section:has(.morae-cta-background) .morae-btn-naked,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions a.morae-btn-naked,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions .morae-btn-naked,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-naked,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-naked,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions a.morae-btn-naked,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions .morae-btn-naked,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) a.morae-btn-naked,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-btn-naked,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions a.morae-btn-naked,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions .morae-btn-naked,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section a.morae-btn-naked,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-btn-naked,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-naked,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-naked {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

/* Naked Button SVG / Icon Default State */
.morae-cta-fullwidth-section a.morae-btn-naked svg,
.morae-cta-fullwidth-section .morae-btn-naked svg,
.morae-cta-fullwidth-section a.morae-btn-naked .morae-btn-icon,
.morae-cta-fullwidth-section .morae-btn-naked .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-naked svg,
.morae-cta-section:has(.morae-cta-background) .morae-btn-naked svg,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-naked .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) .morae-btn-naked .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-naked svg,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-naked svg,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-naked .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-naked .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-naked svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-naked svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-naked .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-naked .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-naked svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-naked svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-naked .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-naked .morae-btn-icon {
  fill: #ffffff !important;
}

/* Naked Button Hover State */
.morae-cta-fullwidth-section a.morae-btn-naked:hover,
.morae-cta-fullwidth-section .morae-btn-naked:hover,
.morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-naked:hover,
.morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-naked:hover,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-naked:hover,
.morae-cta-section:has(.morae-cta-background) .morae-btn-naked:hover,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions a.morae-btn-naked:hover,
.morae-cta-section:has(.morae-cta-background) .morae-expansion-actions .morae-btn-naked:hover,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-naked:hover,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-naked:hover,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions a.morae-btn-naked:hover,
.morae-cta-banner-card.morae-card-theme-dark .morae-expansion-actions .morae-btn-naked:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) a.morae-btn-naked:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-btn-naked:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions a.morae-btn-naked:hover,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-expansion-actions .morae-btn-naked:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section a.morae-btn-naked:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-btn-naked:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions a.morae-btn-naked:hover,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default, .theme-light, .theme-natural, .theme-dark, .theme-default, .light, .natural, .dark) .morae-cta-fullwidth-section .morae-expansion-actions .morae-btn-naked:hover {
  color: #ff3600 !important;
}

/* Naked Button Hover Span / Underline */
.morae-cta-fullwidth-section a.morae-btn-naked:hover span,
.morae-cta-fullwidth-section .morae-btn-naked:hover span,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-naked:hover span,
.morae-cta-section:has(.morae-cta-background) .morae-btn-naked:hover span,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-naked:hover span,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-naked:hover span,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-naked:hover span,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-naked:hover span,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-naked:hover span,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-naked:hover span {
  border-bottom-color: #ff3600 !important;
}

/* Naked Button Hover SVG / Icon */
.morae-cta-fullwidth-section a.morae-btn-naked:hover svg,
.morae-cta-fullwidth-section .morae-btn-naked:hover svg,
.morae-cta-fullwidth-section a.morae-btn-naked:hover .morae-btn-icon,
.morae-cta-fullwidth-section .morae-btn-naked:hover .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-naked:hover svg,
.morae-cta-section:has(.morae-cta-background) .morae-btn-naked:hover svg,
.morae-cta-section:has(.morae-cta-background) a.morae-btn-naked:hover .morae-btn-icon,
.morae-cta-section:has(.morae-cta-background) .morae-btn-naked:hover .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-naked:hover svg,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-naked:hover svg,
.morae-cta-banner-card.morae-card-theme-dark a.morae-btn-naked:hover .morae-btn-icon,
.morae-cta-banner-card.morae-card-theme-dark .morae-btn-naked:hover .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-naked:hover svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-naked:hover svg,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) a.morae-btn-naked:hover .morae-btn-icon,
:is(.morae-cta-fullwidth-section, .morae-cta-section:has(.morae-cta-background), .morae-cta-banner-card.morae-card-theme-dark):is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-btn-naked:hover .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-naked:hover svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-naked:hover svg,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section a.morae-btn-naked:hover .morae-btn-icon,
:is(.morae-theme-light, .morae-theme-natural, .morae-theme-dark, .morae-theme-default) .morae-cta-fullwidth-section .morae-btn-naked:hover .morae-btn-icon {
  fill: #ff3600 !important;
}

/* Banner Title for Light - Natural Theme: ONLY title text color changed to #262626 */
.morae-cta-banner-section.morae-theme-light-natural .morae-cta-banner-title,
.morae-cta-banner-section.morae-theme-light-natural h2.morae-cta-banner-title,
.morae-cta-banner-card.morae-card-theme-natural .morae-cta-banner-title,
.morae-cta-banner-card.morae-card-theme-natural h2.morae-cta-banner-title,
.morae-cta-banner-section.morae-theme-natural .morae-cta-banner-title,
.morae-cta-banner-section.morae-theme-natural h2.morae-cta-banner-title {
  color: #262626 !important;
}



/* Content Block Image Section Title: match Live display:block for multiline balance */
.morae-content-block-image-section .morae-content-block-image-title p,
.morae-content-block-image-header .morae-content-block-image-title p,
.morae-content-block-image-title p {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  line-height: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}

.morae-content-block-image-section .morae-content-block-image-title p:empty,
.morae-content-block-image-header .morae-content-block-image-title p:empty,
.morae-content-block-image-title p:empty {
  display: none !important;
}

/* Hide only when the form submission has validation errors */
.wpcf7-form.invalid .wpcf7-response-output {
  display: none !important;
}

/* ==========================================================================
   404 Page Styles - Morae (Matches Live Next.js pixel-for-pixel)
   ========================================================================== */

.morae-404-section {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  background-color: #f5f2ef !important;
  padding-left: clamp(1rem, -0.65746rem + 7.07182vw, 5rem);
  padding-right: clamp(1rem, -0.65746rem + 7.07182vw, 5rem);
  padding-top: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem);
  padding-bottom: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .morae-404-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem) !important;
    padding-bottom: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem) !important;
  }
}

/* Bracket Graphics */
.morae-404-bracket {
  display: none !important;
  min-height: 0;
  min-width: 0;
  align-self: stretch;
}

@media (min-width: 768px) {
  .morae-404-bracket {
    display: flex !important;
    align-items: center !important;
  }
  .morae-404-bracket-left {
    justify-content: flex-end !important;
  }
  .morae-404-bracket-right {
    justify-content: flex-start !important;
  }
}

.morae-404-bracket svg {
  pointer-events: none;
  height: auto;
  width: min(100%, 25.85em);
  max-width: 100%;
  min-width: 0;
  max-height: min(23.5em, 92dvh);
  aspect-ratio: 517 / 470;
  object-fit: contain;
  flex-shrink: 0;
}

.morae-404-bracket-right svg {
  transform: scaleX(-1);
}

/* Center Content */
.morae-404-content {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 20.6em;
  min-width: 0;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-wrap: balance;
  border-radius: 0.8em;
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem) !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .morae-404-content {
    margin: 0 !important;
    width: auto !important;
    padding: 2.4em 4em !important;
  }
}

/* 404 number */
.morae-404-code {
  font-size: clamp(2.8125rem, 1.80249rem + 4.30939vw, 5.25rem) !important;
  line-height: clamp(3.0625rem, 1.923rem + 4.86188vw, 5.8125rem) !important;
  font-weight: 400 !important;
  color: #262626 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Page Not Found title */
.morae-404-title {
  font-size: clamp(1.375rem, 1.24551rem + 0.552486vw, 1.6875rem) !important;
  line-height: clamp(2rem, 1.79282rem + 0.883978vw, 2.5rem) !important;
  font-weight: 400 !important;
  color: #262626 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Subtitle description */
.morae-404-desc {
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem) !important;
  line-height: 1.5 !important;
  color: #6e6e6e !important;
  margin-top: 0.479em !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* CTA Button */
.morae-404-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 0 !important;
  height: 2.8798em !important;
  padding: 0 0.8639em !important;
  gap: 1.15191em !important;
  font-size: clamp(0.78125rem, 0.75066rem + 0.130516vw, 0.868125rem) !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  background-color: #e03100 !important;
  border: 0.07199em solid #e03100 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  margin-top: clamp(1.75rem, 1.4651rem + 1.2155vw, 2.4375rem) !important;
  margin-bottom: 0 !important;
  cursor: pointer !important;
  transition: color 0.1s ease, border-color 0.1s ease !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.morae-404-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgb(225, 48, 0) 52.63%, rgb(255, 54, 0) 100.88%);
  transition: opacity 0.2s ease;
}

.morae-404-btn:hover::before {
  opacity: 0;
}

.morae-404-btn:hover {
  color: #ffffff !important;
}

.morae-404-btn span {
  color: #ffffff !important;
}

.morae-404-btn svg {
  width: 1em !important;
  height: 1em !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  color: #ffffff !important;
  stroke: currentColor !important;
}

/* Bottom description / Broken link text */
.morae-404-bottom {
  font-size: clamp(0.9375rem, 0.90009rem + 0.15962vw, 1.04375rem) !important;
  line-height: 1.5 !important;
  color: #6e6e6e !important;
  margin-top: clamp(2.125rem, 1.6588rem + 1.989vw, 3.25rem) !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.morae-404-bottom a {
  color: #6e6e6e !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s ease !important;
}

.morae-404-bottom a:hover {
  color: #e03100 !important;
}

/* ==========================================================================
   404 Page Styles - Morae (Matches Live Next.js pixel-for-pixel)
   Scoped strictly to .morae-404-section so header and navigation are untouched
   ========================================================================== */

.morae-404-section {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-x: hidden !important;
  background-color: #f5f2ef !important;
  padding-left: clamp(1rem, -0.65746rem + 7.07182vw, 5rem) !important;
  padding-right: clamp(1rem, -0.65746rem + 7.07182vw, 5rem) !important;
  padding-top: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem) !important;
  padding-bottom: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem) !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .morae-404-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem) !important;
    padding-bottom: clamp(3.6875rem, 2.03004rem + 7.07182vw, 7.6875rem) !important;
  }
}

/* Bracket Graphics */
.morae-404-section .morae-404-bracket {
  display: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  align-self: stretch !important;
}

@media (min-width: 768px) {
  .morae-404-section .morae-404-bracket {
    display: flex !important;
    align-items: center !important;
  }
  .morae-404-section .morae-404-bracket-left {
    justify-content: flex-end !important;
  }
  .morae-404-section .morae-404-bracket-right {
    justify-content: flex-start !important;
  }
}

.morae-404-section .morae-404-bracket svg {
  pointer-events: none !important;
  height: auto !important;
  width: min(100%, 25.85em) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  max-height: min(23.5em, 92dvh) !important;
  aspect-ratio: 517 / 470 !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

.morae-404-section .morae-404-bracket-right svg {
  transform: scaleX(-1) !important;
}

/* Center Content */
.morae-404-section .morae-404-content {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  max-width: 20.6em !important;
  min-width: 0 !important;
  flex-shrink: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  text-wrap: balance !important;
  border-radius: 0.8em !important;
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem) !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .morae-404-section .morae-404-content {
    margin: 0 !important;
    width: auto !important;
    padding: 2.4em 4em !important;
  }
}

/* 404 number */
.morae-404-section .morae-404-code {
  font-size: clamp(2.8125rem, 1.80249rem + 4.30939vw, 5.25rem) !important;
  line-height: clamp(3.0625rem, 1.923rem + 4.86188vw, 5.8125rem) !important;
  font-weight: 400 !important;
  color: #262626 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Page Not Found title */
.morae-404-section .morae-404-title {
  font-size: clamp(1.375rem, 1.24551rem + 0.552486vw, 1.6875rem) !important;
  line-height: clamp(2rem, 1.79282rem + 0.883978vw, 2.5rem) !important;
  font-weight: 400 !important;
  color: #262626 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Subtitle description */
.morae-404-section .morae-404-desc {
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem) !important;
  line-height: 1.5 !important;
  color: #6e6e6e !important;
  margin-top: 0.479em !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* CTA Button ONLY inside 404 content */
.morae-404-section .morae-404-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 0 !important;
  height: 2.8798em !important;
  padding: 0 0.8639em !important;
  gap: 1.15191em !important;
  font-size: clamp(0.78125rem, 0.75066rem + 0.130516vw, 0.868125rem) !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  background-color: #e03100 !important;
  border: 0.07199em solid #e03100 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  margin-top: clamp(1.75rem, 1.4651rem + 1.2155vw, 2.4375rem) !important;
  margin-bottom: 0 !important;
  cursor: pointer !important;
  transition: color 0.1s ease, border-color 0.1s ease !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.morae-404-section .morae-404-btn::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background-image: linear-gradient(90deg, rgb(225, 48, 0) 52.63%, rgb(255, 54, 0) 100.88%) !important;
  transition: opacity 0.2s ease !important;
}

.morae-404-section .morae-404-btn:hover::before {
  opacity: 0 !important;
}

.morae-404-section .morae-404-btn:hover {
  color: #ffffff !important;
}

.morae-404-section .morae-404-btn span {
  color: #ffffff !important;
}

.morae-404-section .morae-404-btn svg {
  width: 1em !important;
  height: 1em !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  color: #ffffff !important;
  stroke: currentColor !important;
}

/* Bottom description / Broken link text */
.morae-404-section .morae-404-bottom {
  font-size: clamp(0.9375rem, 0.90009rem + 0.15962vw, 1.04375rem) !important;
  line-height: 1.5 !important;
  color: #6e6e6e !important;
  margin-top: clamp(2.125rem, 1.6588rem + 1.989vw, 3.25rem) !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.morae-404-section .morae-404-bottom a {
  color: #6e6e6e !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s ease !important;
}

.morae-404-section .morae-404-bottom a:hover {
  color: #e03100 !important;
}

/* ==========================================================================
   404 Page 90rem Fluid Scaling (min-width: 90rem / 1440px)
   Matches Live Next.js pixel-for-pixel at 1440px, 1920px+
   ========================================================================== */
@media (min-width: 90rem), (min-width: 1440px) {
  .morae-404-section .morae-404-content {
    font-size: 1.38899vw !important;
    line-height: 1.5 !important;
    max-width: 20.6em !important;
    padding: 2.4em 4em !important;
    border-radius: 0.8em !important;
  }

  .morae-404-section .morae-404-code {
    font-size: 5.84514vw !important;
    line-height: 1.1 !important;
  }

  .morae-404-section .morae-404-title {
    font-size: 1.85417vw !important;
    line-height: 1.5 !important;
  }

  .morae-404-section .morae-404-desc {
    font-size: 1.38899vw !important;
    line-height: 1.5 !important;
    margin-top: 0.479em !important;
  }

  .morae-404-section .morae-404-btn {
    font-size: 0.964583vw !important;
    line-height: 1.5 !important;
    height: 2.8798em !important;
    padding: 0 0.8639em !important;
    gap: 1.15191em !important;
    margin-top: 2.7083vw !important;
  }

  .morae-404-section .morae-404-bottom {
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
    margin-top: 3.6111vw !important;
  }
}


/* ==========================================================================
   Footer Newsletter Form Styles & Live Alignment
   Matches Live Next.js pixel-for-pixel across all viewports
   ========================================================================== */

.morae-site-footer .morae-newsletter-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: space-between !important;
}

.morae-site-footer .morae-newsletter-title {
  font-size: 26.7px;
  line-height: 40.05px;
  font-weight: 400;
  color: #f5f2ef;
  margin: 0;
  letter-spacing: normal;
}

.morae-site-footer .morae-newsletter-description {
  font-size: 16.7px;
  line-height: 25.05px;
  font-weight: 400;
  color: #d0c9c3;
  margin-top: 7.86px;
  margin-bottom: 0;
  max-width: 486px;
}

.morae-site-footer .morae-newsletter-form {
  margin-top: auto !important;
  width: 100%;
  position: relative;
}

.morae-site-footer .morae-newsletter-error {
  color: #ff3600;
  font-size: 13px;
  line-height: 18px;
  margin-top: 6px;
  display: none;
}

.morae-site-footer .morae-newsletter-error.is-visible {
  display: block;
}

.morae-site-footer .morae-floating-field.has-error::after {
  background-color: #ff3600 !important;
  transform: scaleX(1) !important;
}

.morae-site-footer .morae-floating-field.has-error::before {
  background-color: #ff3600 !important;
}

.morae-site-footer .morae-input-group {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

.morae-site-footer .morae-floating-field {
  position: relative;
  flex: 1;
  background-color: #262626;
  height: 58.44px;
  border-radius: 0;
  border: none !important;
  box-sizing: border-box;
}

.morae-site-footer .morae-floating-field::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgb(208, 201, 195);
  pointer-events: none;
  z-index: 1;
}

.morae-site-footer .morae-floating-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: rgb(208, 201, 195);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.morae-site-footer .morae-floating-field:focus-within::after,
.morae-site-footer .morae-floating-field.is-focused::after {
  transform: scaleX(1);
}

.morae-site-footer .morae-floating-label {
  position: absolute;
  left: 16.7px !important;
  right: 43px;
  top: 18.37px !important;
  font-family: inherit;
  font-size: 16.7px !important;
  line-height: 25.05px !important;
  color: rgb(208, 201, 195) !important;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 5;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: 0 !important;
  max-width: none !important;
}

.morae-site-footer .morae-floating-field:focus-within .morae-floating-label,
.morae-site-footer .morae-floating-field.is-focused .morae-floating-label,
.morae-site-footer .morae-floating-field.has-value .morae-floating-label,
.morae-site-footer .morae-email-input:focus ~ .morae-floating-label,
.morae-site-footer .morae-email-input:not(:placeholder-shown) ~ .morae-floating-label {
  top: 6px !important;
  left: 19.2px !important;
  font-size: 12px !important;
  line-height: 16px !important;
  color: rgb(208, 201, 195) !important;
}

.morae-site-footer .morae-email-input {
  display: flex;
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 16.7px;
  line-height: 25.05px;
  padding: 23px 16.7px 8px 16.7px !important;
  border-radius: 0 !important;
  caret-color: #ffffff;
  box-sizing: border-box;
}

.morae-site-footer .morae-input-group {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
}

.morae-site-footer .morae-floating-field {
  flex: 1 1 auto !important;
  min-width: 180px !important;
}

.morae-site-footer .morae-btn-continue {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 0 !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: 120px !important;
  border: 1px solid rgb(224, 49, 0) !important;
  border-radius: 0 !important;
  background-color: rgb(224, 49, 0) !important;
  color: #ffffff !important;
  padding: 0 16.7px !important;
  height: 56px !important;
  font-size: 16.7px !important;
  line-height: 25.05px !important;
  font-weight: 400 !important;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 !important;
}

.morae-site-footer .morae-btn-continue::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgb(225, 48, 0) 52.63%, rgb(255, 54, 0) 100.88%);
  transition: opacity 0.2s ease;
}

.morae-site-footer .morae-btn-continue:hover::before {
  opacity: 0;
}

/* Fluid scaling for Footer Newsletter (min-width: 90rem / 1440px) */
@media (min-width: 90rem), (min-width: 1440px) {
  .morae-site-footer .morae-newsletter-title {
    font-size: 1.85417vw !important;
    line-height: 1.5 !important;
  }

  .morae-site-footer .morae-newsletter-description {
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
    margin-top: 0.5457vw !important;
    max-width: 33.79vw !important;
  }

  .morae-site-footer .morae-newsletter-card {
    justify-content: space-between !important;
  }

  .morae-site-footer .morae-newsletter-form {
    margin-top: auto !important;
  }

  .morae-site-footer .morae-input-group {
    gap: 0.5556vw !important;
  }

  .morae-site-footer .morae-floating-field {
    height: 4.0583vw !important;
  }

  .morae-site-footer .morae-email-input {
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
    padding: 1.5946vw 1.15972vw 0.57986vw !important;
  }

  .morae-site-footer .morae-floating-label {
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
    left: 1.15972vw !important;
    top: 1.2757vw !important;
  }

  .morae-site-footer .morae-floating-field:focus-within .morae-floating-label,
  .morae-site-footer .morae-floating-field.is-focused .morae-floating-label,
  .morae-site-footer .morae-floating-field.has-value .morae-floating-label,
  .morae-site-footer .morae-email-input:focus ~ .morae-floating-label,
  .morae-site-footer .morae-email-input:not(:placeholder-shown) ~ .morae-floating-label {
    top: 0.4137vw !important;
    left: 1.3333vw !important;
    font-size: 0.8344vw !important;
    line-height: 1.2vw !important;
  }

  .morae-site-footer .morae-btn-continue {
    height: 3.8883vw !important;
    padding: 0 1.15972vw !important;
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
  .morae-site-footer .morae-footer-newsletter-col {
    border-left: none !important;
    border-top: 1px solid var(--morae-charcoal-600) !important;
    padding-left: 0 !important;
    padding-top: 28px !important;
    margin-top: 41px !important;
  }

  .morae-site-footer .morae-newsletter-title {
    font-size: 22px !important;
    line-height: 32px !important;
  }

  .morae-site-footer .morae-newsletter-description {
    font-size: 15px !important;
    line-height: 22.5px !important;
    margin-top: 7px !important;
  }

  .morae-site-footer .morae-newsletter-form {
    margin-top: 14px !important;
  }

  .morae-site-footer .morae-input-group {
    gap: 7.2px !important;
  }

  .morae-site-footer .morae-floating-field {
    height: 52.5px !important;
  }

  .morae-site-footer .morae-email-input {
    font-size: 15px !important;
    line-height: 22.5px !important;
    padding: 20.6px 15px 7.5px !important;
  }

  .morae-site-footer .morae-floating-label {
    font-size: 15px !important;
    line-height: 22.5px !important;
    left: 15px !important;
    top: 16.5px !important;
  }

  .morae-site-footer .morae-floating-field:focus-within .morae-floating-label,
  .morae-site-footer .morae-floating-field.is-focused .morae-floating-label,
  .morae-site-footer .morae-floating-field.has-value .morae-floating-label,
  .morae-site-footer .morae-email-input:focus ~ .morae-floating-label,
  .morae-site-footer .morae-email-input:not(:placeholder-shown) ~ .morae-floating-label {
    top: 5.3px !important;
    left: 17.2px !important;
    font-size: 11px !important;
    line-height: 14px !important;
  }

  .morae-site-footer .morae-btn-continue {
    height: 50.3px !important;
    padding: 0 15px !important;
    font-size: 15px !important;
    line-height: 22.5px !important;
  }
}

/* Tablet & Medium Desktop (768px - 1439.98px) Footer Newsletter alignment with live site */
@media (min-width: 768px) and (max-width: 1439.98px) {
  .morae-site-footer .morae-footer-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .morae-site-footer .morae-footer-info-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }

  .morae-site-footer .morae-footer-newsletter-col {
    flex: 0 0 41.666667% !important;
    max-width: 41.666667% !important;
    width: 41.666667% !important;
    padding-left: 30px !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    border-left: 1px solid var(--morae-charcoal-600) !important;
    border-top: none !important;
    margin-top: 0 !important;
  }

  .morae-site-footer .morae-newsletter-card {
    justify-content: space-between !important;
  }

  .morae-site-footer .morae-newsletter-form {
    margin-top: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .morae-site-footer .morae-newsletter-title {
    font-size: 24.17px !important;
    line-height: 35.47px !important;
  }

  .morae-site-footer .morae-newsletter-description {
    font-size: 15.63px !important;
    line-height: 23.44px !important;
    margin-top: 7.35px !important;
  }

  .morae-site-footer .morae-input-group {
    gap: 7.5px !important;
  }

  .morae-site-footer .morae-floating-field {
    height: 54.7px !important;
  }

  .morae-site-footer .morae-email-input {
    font-size: 15.63px !important;
    line-height: 23.44px !important;
    padding: 21.5px 15.6px 7.8px !important;
  }

  .morae-site-footer .morae-floating-label {
    font-size: 15.63px !important;
    line-height: 23.44px !important;
  }

  .morae-site-footer .morae-btn-continue {
    height: 52.4px !important;
    font-size: 15.63px !important;
    line-height: 23.44px !important;
    padding: 0 15.6px !important;
  }
}

/* Ensure Expert CTA Selects have no default background arrow from Tailwind */
select.expert-cta-select,
.expert-cta-form-field select,
#morae-expert-cta-contact-from select {
  background-image: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}
