/* =========================================
   DROPDOWN OVERFLOW & Z-INDEX FIXES
   (was inline <style> in <head>)
   ========================================= */

.page_wrapper,
.nav_all_component,
.nav_component,
.nav_container,
.w-nav,
.w-nav-overlay {
  overflow: visible !important;
}

.w-dropdown-list,
.dropdown-list,
.dropdown-list-2 {
  z-index: 99999 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 200px !important;
  transform: none !important;
}

/* Global background color consistency */
html,
body {
  background-color: #ffffff !important;
}

/* Header logo sizing and clipping fixes */
#header .logotype-container,
#header .nav_container > a.w-inline-block {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}

#header .logotype-container img {
  height: 18px !important;
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain !important;
}

#header .nav_component,
#header .nav_container,
#header .nav_menu {
  overflow: visible !important;
}

/* =========================================
   INLINE STYLE REMOVED FROM HTML
   ========================================= */
.div-block-98 {
  background-color: #fff !important;
}

/* =========================================
   GLOBAL STYLES (scoped to header/footer)
   ========================================= */
.ovc-header-scope,
.ovc-safe-footer {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.ovc-header-scope *[tabindex]:focus-visible,
.ovc-header-scope input[type="file"]:focus-visible,
.ovc-safe-footer *[tabindex]:focus-visible,
.ovc-safe-footer input[type="file"]:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

.ovc-header-scope .inherit-color *,
.ovc-safe-footer .inherit-color * {
  color: inherit;
}

.ovc-header-scope .w-richtext > :not(div):first-child,
.ovc-header-scope .w-richtext > div:first-child > :first-child,
.ovc-safe-footer .w-richtext > :not(div):first-child,
.ovc-safe-footer .w-richtext > div:first-child > :first-child {
  margin-top: 0 !important;
}

.ovc-header-scope .w-richtext > :last-child,
.ovc-header-scope .w-richtext ol li:last-child,
.ovc-header-scope .w-richtext ul li:last-child,
.ovc-safe-footer .w-richtext > :last-child,
.ovc-safe-footer .w-richtext ol li:last-child,
.ovc-safe-footer .w-richtext ul li:last-child {
  margin-bottom: 0 !important;
}

.ovc-safe-footer .container-medium,
.ovc-safe-footer .container-small,
.ovc-safe-footer .container-large {
  margin-right: auto !important;
  margin-left: auto !important;
}

.ovc-header-scope .text-style-3lines,
.ovc-safe-footer .text-style-3lines {
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ovc-header-scope .text-style-2lines,
.ovc-safe-footer .text-style-2lines {
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ovc-header-scope .hide,
.ovc-safe-footer .hide {
  display: none !important;
}

@media screen and (max-width: 991px) {
  .ovc-header-scope .hide,
  .ovc-header-scope .hide-tablet,
  .ovc-safe-footer .hide,
  .ovc-safe-footer .hide-tablet {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .ovc-header-scope .hide-mobile-landscape,
  .ovc-safe-footer .hide-mobile-landscape {
    display: none !important;
  }
}

@media screen and (max-width: 479px) {
  .ovc-header-scope .hide-mobile,
  .ovc-safe-footer .hide-mobile {
    display: none !important;
  }
}

/* Spacing utilities (scoped) */
.ovc-header-scope .margin-0,
.ovc-safe-footer .margin-0 {
  margin: 0rem !important;
}

.ovc-header-scope .padding-0,
.ovc-safe-footer .padding-0 {
  padding: 0rem !important;
}

.ovc-header-scope .spacing-clean,
.ovc-safe-footer .spacing-clean {
  padding: 0rem !important;
  margin: 0rem !important;
}

.ovc-header-scope .margin-top,
.ovc-header-scope .margin-right,
.ovc-header-scope .margin-bottom,
.ovc-header-scope .margin-left,
.ovc-header-scope .margin-horizontal,
.ovc-header-scope .margin-vertical,
.ovc-safe-footer .margin-top,
.ovc-safe-footer .margin-right,
.ovc-safe-footer .margin-bottom,
.ovc-safe-footer .margin-left,
.ovc-safe-footer .margin-horizontal,
.ovc-safe-footer .margin-vertical {
  margin: 0rem !important;
}

.ovc-header-scope .padding-top,
.ovc-header-scope .padding-right,
.ovc-header-scope .padding-bottom,
.ovc-header-scope .padding-left,
.ovc-header-scope .padding-horizontal,
.ovc-header-scope .padding-vertical,
.ovc-safe-footer .padding-top,
.ovc-safe-footer .padding-right,
.ovc-safe-footer .padding-bottom,
.ovc-safe-footer .padding-left,
.ovc-safe-footer .padding-horizontal,
.ovc-safe-footer .padding-vertical {
  padding: 0rem !important;
}

/* =========================================
   SLIMSELECT + FLATPICKR CUSTOM STYLES
   ========================================= */
:root {
  --ss-primary-color: #2962d1;
  --ss-bg-color: #ffffff;
  --ss-font-color: #4d4d4d;
  --ss-font-placeholder-color: #8d8d8d;
  --ss-disabled-color: #dcdee2;
  --ss-border-color: #dcdee2;
  --ss-highlight-color: #fffb8c;
  --ss-success-color: #00b755;
  --ss-error-color: #dc3545;
  --ss-focus-color: #2962d1;
  --ss-main-height: 30px;
  --ss-content-height: 300px;
  --ss-spacing-l: 7px;
  --ss-spacing-m: 5px;
  --ss-spacing-s: 3px;
  --ss-animation-timing: 0.2s;
  --ss-border-radius: 4px;
}

@keyframes ss-valueIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes ss-valueOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.ss-hide {
  display: none !important;
}

.ss-main {
  display: flex;
  position: relative;
  user-select: none;
  min-height: var(--ss-main-height);
  padding: var(--ss-spacing-l);
  border: 1px solid var(--netural--300);
  border-radius: var(--border-radius--5);
  background-color: var(--ss-bg-color);
  cursor: pointer;
}

.ss-content {
  position: absolute;
  border: 1px solid var(--ss-border-color);
  background-color: var(--ss-bg-color);
  max-height: var(--ss-content-height);
  transform: scaleY(0);
  opacity: 0;
  z-index: 10000;
}

.flatpickr-calendar {
  border: 1px solid #cdd5df;
  box-shadow: none;
}

.flatpickr-day {
  background: #f5f5f5;
}

.flatpickr-day.selected,
.flatpickr-day:hover {
  background: #eef2f6;
  color: #2856b0;
}

/* ======================================================
   GOOGLE FONT
   ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ======================================================
   DESIGN TOKENS (REQUIRED BY FOOTER)
   ====================================================== */
:root {
  --brand--blue: #2962d1;

  --base-color-neutral--white: #ffffff;

  --netural--100: #f0f4f8;
  --netural--200: #e4e7ec;
  --netural--300: #d0d5dd;
  --netural--400: #98a2b3;
  --netural--900: #101828;

  --text-color--text-primary: #101828;

  --border-radius--16px: 16px;

  --text-sizes--small-xxx-12px: 0.75rem;
  --text-sizes--normal-16px: 1rem;
}

/* ======================================================
   BASE / GLOBAL (SCOPED)
   ====================================================== */
.ovc-header-scope *,
.ovc-header-scope *::before,
.ovc-header-scope *::after,
.ovc-safe-footer *,
.ovc-safe-footer *::before,
.ovc-safe-footer *::after {
  box-sizing: border-box;
}

.ovc-safe-footer {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color--text-primary);
  background-color: var(--base-color-neutral--white);
  line-height: 1.6;
}

.ovc-header-scope a,
.ovc-safe-footer a {
  text-decoration: none;
  color: inherit;
}

.ovc-header-scope img,
.ovc-safe-footer img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.ovc-safe-footer .container-large {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.ovc-safe-footer .container-largex {
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}

/* Utility */
.ovc-header-scope .hide,
.ovc-safe-footer .hide {
  display: none !important;
}

.global_divider {
  border-bottom: 1px solid var(--netural--300);
}

/* ======================================================
   FOOTER STYLES (ONLY)
   ====================================================== */
.footer_component {
  background-color: var(--base-color-neutral--white);
  font-size: 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.footer_component .padding-section-medium {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer_links-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer_link {
  color: var(--brand--blue);
  line-height: 1.625;
  white-space: nowrap;
  font-size: 16px !important;
}

/* Footer typography + spacing tweaks to match reference */
.footer_component .container-largex {
  width: 100% !important;
  max-width: 100% !important;
}

.footer_component .padding-global {
  width: 100% !important;
}

.footer_component .padding-section-medium {
  width: 100% !important;
}

.footer_component .container-large {
  width: 100% !important;
  max-width: 100% !important;
}

.footer_component .text-size-small {
  font-size: 16px !important;
  line-height: 1.4;
}

.footer_component .text-size-regular {
  font-size: 16px !important;
  line-height: 1.6;
}

.footer_component .text-weight-semibold {
  font-weight: 500;
}

.footer_component .text-weight-medium {
  font-weight: 400;
}

.footer_component .footer_link {
  font-weight: 400;
  font-size: 16px !important;
}

/* Ensure header logo image is visible */
.logotype-container .dark-logo {
  display: block !important;
}

.logotype-container img.image-24.dark-logo {
  display: block !important;
  max-width: 100% !important;
}

.logotype-container img {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* =========================================
   SAFE HEADER/FOOTER SCOPE (CDN-PROOF)
   ========================================= */
.ovc-header-scope,
.ovc-safe-footer {
  position: relative !important;
  z-index: 10 !important;
}

.ovc-header-scope .dropdown-toggle .w-icon-dropdown-toggle {
  margin-left: 4px !important;
}

.ovc-header-scope .dropdown,
.ovc-header-scope .dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding-right: 0 !important;
}

.ovc-header-scope .dropdown.w-dropdown,
.ovc-header-scope .dropdown-toggle.w-dropdown-toggle,
.ovc-header-scope .dropdown-toggle.w-dropdown-toggle:hover,
.ovc-header-scope .dropdown-toggle.w-dropdown-toggle:focus,
.ovc-header-scope .dropdown-toggle.w-dropdown-toggle:active,
.ovc-header-scope .dropdown-toggle.w-dropdown-toggle.w--open {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ovc-header-scope button.dropdown-toggle.w-dropdown-toggle {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.ovc-header-scope .dropdown-toggle .w-icon-dropdown-toggle {
  position: static !important;
  margin-left: 6px !important;
}

.ovc-header-scope .logotype-container img:not(.dark-logo) {
  display: none !important;
}

/* Header sizing tweaks (scoped, minimal) */
.ovc-header-scope .logotype-container img.dark-logo {
  margin-left: 0 !important;
  width: auto !important;
  height: 16px !important;
  max-width: none !important;
}

.ovc-header-scope .nav_lvl2_link {
  margin-left: 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.ovc-header-scope .nav_lvl2_component {
  background: #e9f4f9 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.ovc-header-scope .nav_lvl2_container {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.ovc-header-scope .button {
  height: 32px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background-color: #2962d1 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  margin-top: 10px !important;
}

.ovc-header-scope .button .button-label {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.ovc-header-scope .button .icon-1x1-medium svg {
  display: block !important;
}

/* Header layout + typography to match reference */
.ovc-header-scope .nav_component {
  background-color: #e9f4f9 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.ovc-header-scope .nav_container {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.ovc-header-scope .menu_items-container {
  gap: 1.5rem !important;
}

.ovc-header-scope .nav_menu_link,
.ovc-header-scope .dropdown-toggle .text-block-9 {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2f3a45 !important;
}

.ovc-header-scope .button {
  height: 36px !important;
  padding: 0 18px !important;
}

.ovc-header-scope .button .button-label {
  font-size: 13px !important;
}

/* Keep header links on one line */
.ovc-header-scope .nav_menu_link,
.ovc-header-scope .dropdown-toggle .text-block-9 {
  white-space: nowrap !important;
}

.ovc-header-scope .menu_items-container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem !important;
}

.ovc-header-scope .link-block-3 {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: #2962d1 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.ovc-header-scope .nav_button.w-nav-button {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: #2962d1 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ovc-header-scope .nav_button.w-nav-button .w-icon-nav-menu {
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.ovc-header-scope .link-block-3 .header-phone-inline {
  display: none !important;
}

.ovc-header-scope .link-block-3 .icon-4,
.ovc-header-scope .link-block-3 .icon-5 {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  width: 20px !important;
  height: 20px !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
  fill: currentColor !important;
}

@media screen and (max-width: 991px) {
  .ovc-header-scope .link-block-3 {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background-color: #2962d1 !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu {
    display: none !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99998 !important;
    background: #ffffff !important;
    padding: 12px 20px !important;
    border-top: 1px solid #d0d5dd !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open .text-weight-semibold {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    max-height: none !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open .menu_items-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    max-height: none !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open .nav_menu_link,
  .ovc-header-scope .nav_menu.w-nav-menu.is-open .dropdown,
  .ovc-header-scope .nav_menu.w-nav-menu.is-open .dropdown-toggle {
    width: 100% !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open .dropdown-toggle {
    justify-content: space-between !important;
    min-height: 32px !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open .w-dropdown-list {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: none !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-top: 6px !important;
    background: #ffffff !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open .w-dropdown.w--open .w-dropdown-list {
    display: block !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open .w-dropdown-link {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .ovc-header-scope .nav_menu.w-nav-menu.is-open #phone-ref-cid {
    margin-top: 12px !important;
  }
}

.ovc-header-scope .w-dropdown-list,
.ovc-header-scope .dropdown-list,
.ovc-header-scope .dropdown-list-2 {
  z-index: 99999 !important;
}

.ovc-safe-footer {
  background-color: #ffffff !important;
}

.ovc-safe-footer .container-largex {
  max-width: 72rem !important;
  margin: 0 auto !important;
}

.ovc-safe-footer .footer-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.75rem !important;
}

.ovc-safe-footer .footer_links-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.75rem !important;
}

.ovc-safe-footer .category-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.625rem !important;
}

.ovc-safe-footer .category-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem 2.5rem !important;
}

.ovc-safe-footer .footer_link {
  font-size: 16px !important;
  color: #2962d1 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

.ovc-safe-footer .footer_bottom-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 0 !important;
}

.ovc-safe-footer .logotype-container img {
  width: 179px !important;
  height: auto !important;
}

@media screen and (max-width: 767px) {
  .ovc-safe-footer .footer_bottom-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
}

.footer_component .category-container p {
  margin: 0;
  font-size: 16px !important;
}

.footer_component .global_divider {
  margin: 0;
}

.footer_component .footer_links-container + .global_divider {
  margin: 12px 0 0;
}

/* Footer newsletter placeholder (kept empty in markup) */
.footer_newsletter {
  min-height: 0;
}

.footer_newsletter .div-block-6,
.footer_newsletter .max-width-medium {
  min-height: 0;
}

/* Categories */
.category-container {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.category-container p {
  font-size: 16px !important;
  margin: 0;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
}

.category-links a {
  font-size: 16px !important;
}

@media screen and (max-width: 479px) {
  .category-links {
    gap: 8px;
  }
}

/* Footer Bottom */
.footer_bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.footer_bottom-container .logotype-container img {
  width: 180px;
  height: auto;
}

.footer_bottom-container .footer-right-items {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (max-width: 767px) {
  .footer_bottom-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer_bottom-container .logotype-container img {
    width: 79px;
  }
}

/* Footer Text */
.paragraph-3 {
  color: var(--netural--400);
  font-size: 16px !important;
}

/* Ensure all footer text elements are properly sized */
.footer_component p,
.footer_component a,
.footer_component span,
.footer_component div {
  font-size: 16px !important;
}
