/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/*
 ██████╗ ██╗      ██████╗ ██████╗  █████╗ ██╗
██╔════╝ ██║     ██╔═══██╗██╔══██╗██╔══██╗██║
██║  ███╗██║     ██║   ██║██████╔╝███████║██║
██║   ██║██║     ██║   ██║██╔══██╗██╔══██║██║
╚██████╔╝███████╗╚██████╔╝██████╔╝██║  ██║███████╗
 ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝

NOTE: Elementor global color IDs below are unique to each site's Kit.
Update this reference block per site (Elementor → Site Settings → Global Colors).
*/

:root {
  --color-black: #0F0F0F;
  --color-dark-gray: #313130;
  --color-gray: #6C6C6C;
  --color-light-gray: #F0F0F0;
  --color-white: #FFFFFF;
  --color-deep-blue: #122136;
  --color-navy-blue: #1E3A5F;
  --color-medium-blue: #4F8FB8;
  --color-light-blue: #B3E9FA;
  --color-ice-blue: #F3FBFE;
  --color-tan: #C8A97E;
  --color-cream: #F6EFE6;
}

body p:last-child {margin-bottom: 0;}
body :is(ul, ol) {margin-bottom: 20px;}

.btn-icon .elementor-icon {display: block;}

/* BUTTONS */
.btn-text .elementor-button,
.btn-text .elementor-button:hover,
.btn-text .elementor-button:focus,
.btn-text .elementor-button:active {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0;
}

.btn-text .elementor-button-content-wrapper {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.btn-text .elementor-button svg path {
  stroke: currentColor;
  fill: none !important;
}

.btn-text.nounderline .elementor-button-content-wrapper {
  border-bottom: none;
  padding-bottom: 0;
}

.btn-sticky .elementor-button svg path{fill: var(--color-navy-blue);}


/* LEGACY TEXTS BLOCK (Sitemap/Privacy/Terms/HIPAA) */
.legacy-text-block :is(h1, h2) {margin: 60px 0 30px;}
.legacy-text-block h3 {margin: 40px 0 20px;}
.legacy-text-block :is(h1, h2, h3):first-child {margin-top: 0;}
.legacy-text-block :is(b, strong) {font-weight: 600;}

.default-list ul,
.default-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.default-list li {
  position: relative;
  padding-left: 20px; /* marker width + gap */
}

/* Bullet */
.default-list ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.5lh - 2.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-black);
}

/* Numbers */
.default-list ol {
  counter-reset: list-item;
}

.default-list ol > li {
  counter-increment: list-item;
}

.default-list ol > li::before {
  content: counter(list-item) ".";
  position: absolute;
  left: 0;
  top: 0;
}

.default-list b,
.default-list strong {
  color: var(--color-black);
}

.default-list a {
  color: var(--color-navy-blue);
}

.default-list li + li {
  margin-top: 10px;
}

/* FORM DEFAULT */
.form-default .elementor-field-group { position: relative; }

/* --- Marketing / non-marketing acceptance checkboxes --------------------- */
.form-default .elementor-field-group-marketing_acceptance .elementor-field-option,
.form-default .elementor-field-group-nonmarketing_acceptance .elementor-field-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.form-default .elementor-field-group-marketing_acceptance input[type="checkbox"],
.form-default .elementor-field-group-nonmarketing_acceptance input[type="checkbox"] {
  margin: 0;
  margin-top: 0.3em;
  accent-color: #383838;
}

.form-default .elementor-field-group-marketing_acceptance > .elementor-field-label,
.form-default .elementor-field-group-nonmarketing_acceptance > .elementor-field-label {
  display: none;
}

/* --- Custom select dropdown caret icon ------------------------------------*/
.form-default .select-caret-down-wrapper svg { display: none; }

.form-default .select-caret-down-wrapper {
  width: 12px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.495117 0.495117L5.99512 5.99512L11.4951 0.495117' stroke='%230F0F0F' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Acceptance field label color/size ------------------------------------*/
.form-default .elementor-field-type-acceptance label {
  color: var(--color-dark-gray) !important;
  font-size: 0.875rem !important;
}

/* --- Remove focus outline on all field types ------------------------------*/
.form-default .elementor-field-textual:focus,
.form-default .elementor-field-textual:focus-visible,
.form-default input:focus,
.form-default input:focus-visible,
.form-default textarea:focus,
.form-default textarea:focus-visible,
.form-default select:focus,
.form-default select:focus-visible {
  outline: none;
  box-shadow: none;
}

.form-default .elementor-field-type-html { margin: 0 !important; }

/* --- Legacy links row (e.g. privacy policy link under the form) --------- */
.form-default .form-legacy-menu {
  display: flex;
  position: absolute;
  right: 20px;
  bottom: -35px;
  z-index: 1;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-gray);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.form-default .form-legacy-menu li {
  margin: 0;
  padding: 0;
}

.form-default .form-legacy-menu a {
  color: var(--color-gray);
  text-decoration: none;
}

.form-default .form-legacy-menu a:hover { color: var(--color-navy-blue); }

/* --- Placeholder full opacity ---------------------------------------------*/
.form-default input::placeholder,
.form-default textarea::placeholder {
  opacity: 1 !important;
}

/* ==========================================================================
   4. SHARED UTILITY COMPONENTS
   ========================================================================== */

/* --- Responsive embed wrapper (e.g. Google Maps iframe) fills its parent - */
.map-embed {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 17px;
}

/* HOMEPAGE HERO */
.homepage-hero {
  position: relative;
  overflow: hidden;
}

.homepage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 314px),
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.homepage-hero > .e-con-inner {
  position: relative;
  z-index: 1;
}

/* FOOTER */
.site-main-footer .footer-menu .elementor-nav-menu{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* MEDIA QUERIES */
@media (max-width: 1024px){
  .site-main-footer .legacy-menu .elementor-nav-menu{
    margin: 0;
    justify-content: left;
    gap: 15px 0;
  }

  .site-main-footer .legacy-menu .elementor-item{
    margin-right: 20px !important;
    margin-left: 0 !important;
  }

  .sticky-buttons{
    background: none !important;
    border: 0 !important;
  }
}

/* ==========================================================================
   07. SITE NAVIGATION (custom markup, 3 levels)
   Level 2 opens below the top link; level 3 flies out to the right.
   The .is-resizing class is toggled by the nav script.
   Active state: .is-current (current page) and .is-ancestor (its parents)
   are added by Site_Nav_Walker.
   ========================================================================== */

.site-nav-wrapper { position: relative; }

.site-nav__list,
.site-nav__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav__item { position: relative; }

/* All menu links (levels 1-3) */
.site-nav__link,
.site-nav__sublink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.42em;
  color: var(--color-white);
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav__sublink {
  padding: 8px 24px 8px 16px;
}

/* Caret on any item that has a submenu (follows the link color) */
:is(.site-nav__item, .site-nav__subitem).has-children > :is(.site-nav__link, .site-nav__sublink)::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 5px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='7' height='5' viewBox='0 0 7 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.353516 0.353577L3.35352 3.35358L6.35352 0.353577' stroke='white'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg width='7' height='5' viewBox='0 0 7 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.353516 0.353577L3.35352 3.35358L6.35352 0.353577' stroke='white'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Level 2 items open to the right, so their caret points right */
.site-nav__subitem.has-children > .site-nav__sublink::after {
  transform: rotate(-90deg);
}

/* Hover: dim siblings, highlight the hovered link */
.site-nav__list:hover > .site-nav__item:not(:hover) > .site-nav__link { opacity: 0.3; }
.site-nav__item:hover > .site-nav__link { color: var(--color-light-blue); }

/* Dropdown panel. padding-top (not margin) keeps a hoverable bridge between
   the top link and the card, so the menu doesn't close on the way down. */
.site-nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  padding-top: 30px;
}

.site-nav__item.has-children:is(:hover, :focus-within) > .site-nav__panel { display: block; }

/* Level 2 column - grows with its longest item */
.site-nav__sublist--level-2 {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: max-content;
  min-width: 150px;
  min-height: 0;
  padding: 20px 0;
  background: var(--color-black);
  border-radius: 13px;
  transition: min-height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.12s ease-out;
}

/* Square the right corners while a level-3 flyout is open */
.site-nav__sublist--level-2:has(.site-nav__subitem.has-children:hover) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.site-nav__subitem {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* Level 3 flyout. Always laid out so it can fade; visibility + pointer-events
   stop it catching the cursor while hidden. padding-left (not margin) avoids
   a hover gap between the two columns. */
.site-nav__sublist--level-3 {
  position: absolute;
  top: 0;
  left: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: max-content;
  padding: 24px 24px 24px 49px;
  background: var(--color-black);
  border-radius: 0 13px 13px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease,
              visibility 0s linear 0.2s;
}

.site-nav__subitem.has-children:is(:hover, :focus-within) > .site-nav__sublist--level-3 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease,
              visibility 0s;
}

/* Levels 2-3: dim siblings, highlight hovered item */
:is(.site-nav__sublist--level-2, .site-nav__sublist--level-3):hover > .site-nav__subitem:not(:hover) { opacity: 0.3; }
.site-nav__subitem:hover > .site-nav__sublink { color: var(--color-light-blue); }

/* Active state: current page + its parent items (classes set by the walker) */
.site-nav__item:is(.is-current, .is-ancestor) > .site-nav__link,
.site-nav__subitem:is(.is-current, .is-ancestor) > .site-nav__sublink {
  color: var(--color-light-blue);
}

/* The current page link isn't clickable */
.site-nav__subitem.is-current > .site-nav__sublink { pointer-events: none; }

/* Popup menu (tablet/mobile: Elementor Nav Menu widget, class "popupmenu").
   Parents of the current page use WordPress's own ancestor class. !important
   beats the color Elementor sets on the widget's dropdown links. */
.popupmenu .elementor-nav-menu li.current-menu-ancestor > a {
  color: var(--color-light-blue) !important;
}

/* HEADER
   The whole <header> sticks, pulled up by the announcement bar's height, so the
   bar scrolls away and only .site-main-header stays on screen.
   js/interactions/sticky-header.js measures --announcement-height and
   --header-height, and adds .header-scrolled to <body> once it's stuck.
   Both are switched off inside the Elementor editor, where a sticky header
   gets in the way of editing. */
body:not(.elementor-editor-active) .elementor-location-header {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--announcement-height, 0px));
  z-index: 100;
}

/* Phones: the WP admin bar scrolls away, so don't leave room for it */
@media (max-width: 600px) {
  body.admin-bar:not(.elementor-editor-active) .elementor-location-header {
    top: calc(-1 * var(--announcement-height, 0px));
  }
}

.site-main-header {
  background-color: var(--color-deep-blue);
  transition: background-color 0.3s ease;
}

/* Homepage: main header transparent over the hero */
.home .elementor-location-header {
  margin-bottom: calc(-1 * var(--header-height, 0px));
}

.home .site-main-header {
  background-color: transparent;
}

/* Stuck (all pages): black background */
.header-scrolled .site-main-header {
  background-color: var(--color-black);
}

.header-scrolled .site-nav__panel,
body:not(.home) .site-nav__panel {
  padding-top: 54px;
}

/* INTERACTIONS — default styles for js/interactions/* (override per site) */
:root {--mavan-toc-offset: 150px;}

/* Carousel nav (class-based + Mavan Carousel Nav widget) */
.mavan-carousel-nav {display: flex; align-items: center; gap: 10px;}
.mavan-carousel-arrow {cursor: pointer; transition: opacity .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;}
.mavan-carousel-nav .mavan-carousel-arrow {display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; font-size: 16px; line-height: 1; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%;}
.mavan-carousel-nav .mavan-carousel-arrow:is(:hover, :focus) {color: inherit; background: transparent;}
.mavan-carousel-nav .mavan-carousel-arrow svg {width: 1em; height: 1em;}
.mavan-carousel-nav .mavan-carousel-arrow svg.e-font-icon-svg {fill: currentColor;}
.mavan-carousel-nav .mavan-carousel-arrow svg:not(.e-font-icon-svg) :is(path, line, polyline, polygon, circle, rect, ellipse) {stroke: currentColor;}
.mavan-carousel-arrow.is-disabled {opacity: .35; pointer-events: none;}
.mavan-carousel-arrow.is-hidden-nav {display: none;}

/* Table of contents */
.mavan-toc {display: flex; flex-direction: column; gap: 4px; scrollbar-width: thin;}
.mavan-toc-link {display: block; padding: 4px 0 4px 12px; border-left: 2px solid transparent; color: inherit; text-decoration: none; transition: color .2s ease, border-color .2s ease;}
.mavan-toc-link--h3 {margin-left: var(--mavan-toc-indent, 12px); font-size: .9em;}
.mavan-toc-link--h4 {margin-left: calc(var(--mavan-toc-indent, 12px) * 2); font-size: .85em;}
.mavan-toc-menu__title {margin: 0 0 12px; font-weight: 600;}
.mavan-toc-empty {font-size: .875em; opacity: .6;}
.mavan-toc-link:is(:hover, :focus-visible, .is-active) {color: var(--e-global-color-accent, currentColor);}
.mavan-toc-link.is-active {border-left-color: currentColor; font-weight: 600;}

/* Sidebar → carousel sync */
.mavan-slide-nav-item {cursor: pointer; opacity: .6; transition: opacity .2s ease;}
.mavan-slide-nav-item:is(:hover, :focus-visible, .is-active) {opacity: 1;}
