/* Absolute PTF – global styles for the Elementor build (Divi-equivalent base). Loaded only in Elementor mode. */

/* ---------- Custom fonts (previously uploaded through Divi) ---------- */
@font-face{font-family:"Futura bt book";src:url("/wp-content/uploads/et-fonts/Futura-Book-font.otf") format("opentype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Avenir book";src:url("/wp-content/uploads/et-fonts/AvenirLTStd-Book.otf") format("opentype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Futura lt";src:url("/wp-content/uploads/et-fonts/futura-light-bt.ttf") format("truetype");font-weight:100 900;font-display:swap}

/* ---------- Base (matches the old Divi theme defaults) ---------- */
html{-webkit-text-size-adjust:100%}
body.absptf-el{margin:0;background:#fff;font-family:"Questrial",Helvetica,Arial,Lucida,sans-serif;font-size:14px;line-height:1.7em;color:#000;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.absptf-el *,.absptf-el *::before,.absptf-el *::after{box-sizing:border-box}
.absptf-el a{color:#0a568a;text-decoration:none}
.absptf-el a:hover{text-decoration:none}
.absptf-el strong,.absptf-el b{font-weight:700}
.absptf-el img{max-width:100%;height:auto}
.absptf-el h1,.absptf-el h2,.absptf-el h3,.absptf-el h4,.absptf-el h5,.absptf-el h6{font-family:"DM Serif Display",Georgia,"Times New Roman",serif;color:#0c4369;font-weight:500;line-height:1em;margin:0;padding-bottom:10px}
.absptf-el h1{font-size:30px}.absptf-el h2{font-size:26px}.absptf-el h3{font-size:22px}.absptf-el h4{font-size:18px}.absptf-el h5{font-size:16px}.absptf-el h6{font-size:14px}
.absptf-el p{margin:0;padding-bottom:1em}
.absptf-el p:last-of-type{padding-bottom:0}
.absptf-el .elementor-widget-text-editor ul,.absptf-el .elementor-tab-content ul,.absptf-el .elementor-widget-theme-post-content ul{list-style-type:disc;margin:0;padding:0 0 23px 1em;line-height:26px}
.absptf-el .elementor-widget-text-editor ol,.absptf-el .elementor-tab-content ol,.absptf-el .elementor-widget-theme-post-content ol{list-style-type:decimal;list-style-position:inside;margin:0;padding:0 0 23px;line-height:26px}
.absptf-el .elementor-widget-text-editor ul ul{padding:2px 0 0 20px;list-style-type:circle}
.absptf-el hr{border:0;height:1px;background:#e2e2e2;margin:0 0 1em}
.absptf-el blockquote{margin:20px 0 30px;padding-left:20px;border-left:5px solid #0a568a}
.absptf-el .elementor-widget-heading .elementor-heading-title{padding-bottom:10px}
.absptf-el .elementor-widget-text-editor > .elementor-widget-container > *:last-child,.absptf-el .elementor-widget-text-editor > *:last-child{padding-bottom:0}
.absptf-el .elementor-button{line-height:1.7em;transition:all .2s}
.absptf-el .elementor-image-box-description,.absptf-el .elementor-icon-box-description{margin:0}
.absptf-el .elementor-image-box-img img{width:100%}
.absptf-el .elementor-widget-image img{vertical-align:bottom}
.absptf-el .elementor-icon-list-items .elementor-icon-list-item{align-items:flex-start}

/* ---------- Link lists used on service/condition pages (was Divi row CSS) ---------- */
.absptf-el ul.custom-list{list-style:none;padding:0;margin:0}
.absptf-el ul.custom-list li{position:relative;padding:10px 0 10px 25px;cursor:pointer;transition:all .3s ease;border-bottom:1px solid #808080}
.absptf-el ul.custom-list li::before{content:"";position:absolute;left:0;top:0;color:#0073e6;font-size:20px;line-height:1}
.absptf-el ul.custom-list li:hover{background:#0073e6;color:#fff!important;font-weight:bold;transform:translateX(5px)}
.absptf-el ul.custom-list li:hover a{color:#fff}

/* ---------- Header ---------- */
.absptf-el .aptf-header{z-index:999}
.absptf-el .aptf-header .elementor-widget-theme-site-logo img,.absptf-el .aptf-header .aptf-logo img{max-height:52px;width:auto}
.absptf-el .aptf-header #mega-menu-wrap-primary-menu{background:transparent}

/* Max Mega Menu tweaks carried over from the old Additional CSS */
@media only screen and (max-width:768px){
	#mega-menu-wrap-primary-menu .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block{margin-right:0;margin-top:0}
}
@media only screen and (min-width:769px){
	#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu{max-height:70vh!important;overflow-y:scroll!important}
}

/* ---------- Footer ---------- */
.absptf-el .aptf-footer .elementor-widget-text-editor ul li{line-height:inherit}

/* ---------- Sidebar (single posts) ---------- */
.absptf-el .aptf-widget{margin-bottom:30px}
.absptf-el .aptf-widget ul{list-style:none;padding:0;margin:0}
.absptf-el .aptf-widget li{margin-bottom:.5em}

/* ---------- Fluent Forms: keep Divi-like inputs ---------- */
.absptf-el .fluentform .ff-el-form-control{font-family:inherit}

/* =====================================================================
   v2 – Professional header, language switcher, homepage polish
   ===================================================================== */
:root{--aptf-navy:#0C4369;--aptf-blue:#0A568A;--aptf-green:#86B81E;--aptf-ink:#1F2937;--aptf-muted:#475569;--aptf-line:#E6EDF3;--aptf-soft:#F3F8FC}

/* ---------- Top utility bar ---------- */
.absptf-el .aptf-topbar{position:relative;font-family:"Questrial",sans-serif}
.absptf-el .aptf-topbar .elementor-icon-list-item a,.absptf-el .aptf-topbar .elementor-icon-list-text{transition:color .2s}
.absptf-el .aptf-topbar .elementor-icon-list-item a:hover .elementor-icon-list-text{color:#fff;text-decoration:underline;text-underline-offset:3px}
.absptf-el .aptf-topbar__phone .elementor-icon-list-text{font-weight:700;letter-spacing:.02em}
.absptf-el .aptf-topbar .elementor-icon-list-items{flex-wrap:nowrap}

/* ---------- Language switcher ---------- */
.aptf-lang{position:relative;display:inline-block;font-family:"Questrial",sans-serif;line-height:1}
.aptf-lang__btn{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:999px;padding:6px 12px 6px 10px;font:inherit;font-size:13px;cursor:pointer;transition:background .2s,border-color .2s}
.aptf-lang__btn:hover,.aptf-lang.is-open .aptf-lang__btn{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.5)}
.aptf-lang__btn:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.aptf-lang__caret{transition:transform .2s}
.aptf-lang.is-open .aptf-lang__caret{transform:rotate(180deg)}
.aptf-lang__menu{position:absolute;right:0;top:calc(100% + 10px);min-width:190px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--aptf-line);border-radius:12px;box-shadow:0 18px 40px -12px rgba(15,23,42,.35);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s;z-index:100002}
.aptf-lang.is-open .aptf-lang__menu{opacity:1;visibility:visible;transform:none}
.aptf-lang__menu li{margin:0;padding:0}
.aptf-lang__menu button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;border:0;background:none;border-radius:8px;color:var(--aptf-ink);font:inherit;font-size:14px;line-height:1.2;text-align:left;cursor:pointer}
.aptf-lang__menu button:hover,.aptf-lang__menu button:focus-visible{background:var(--aptf-soft);color:var(--aptf-blue);outline:none}
.aptf-lang__menu button[aria-selected="true"]{font-weight:700;color:var(--aptf-blue)}
.aptf-lang__menu button[aria-selected="true"]::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--aptf-green)}
.aptf-gt{display:none!important}
/* hide Google Translate chrome */
.goog-te-banner-frame,.skiptranslate>iframe,iframe.skiptranslate,#goog-gt-tt,.goog-te-balloon-frame,.goog-tooltip,.goog-tooltip:hover,.VIpgJd-ZVi9od-ORHb-OEVmcd,.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,.VIpgJd-ZVi9od-l4eHX-hSRGPd,.VIpgJd-yAWNEb-L7lbkb{display:none!important}
html.aptf-translated body,body{top:0!important}
.goog-text-highlight,font[style]{background:none!important;box-shadow:none!important}

/* ---------- Main header bar ---------- */
.absptf-el .aptf-mainbar{transition:box-shadow .25s ease,min-height .25s ease}
.absptf-el .aptf-mainbar.elementor-sticky--effects{box-shadow:0 10px 30px -14px rgba(12,67,105,.35);border-bottom-color:transparent}
.absptf-el .aptf-mainbar .aptf-logo img{max-height:56px;width:auto;transition:max-height .25s}
.absptf-el .aptf-mainbar.elementor-sticky--effects .aptf-logo img{max-height:48px}
@media (max-width:767px){.absptf-el .aptf-mainbar .aptf-logo img{max-height:44px}}

/* Max Mega Menu – refined top level (desktop) */
@media only screen and (min-width:769px){
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item>a.mega-menu-link{font-family:"Questrial",sans-serif;font-size:15.5px;font-weight:500!important;color:var(--aptf-ink);letter-spacing:.01em;position:relative;transition:color .2s}
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item:not(:last-child)>a.mega-menu-link::after{content:"";position:absolute;left:10px;right:10px;bottom:4px;height:2px;border-radius:2px;background:var(--aptf-green);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item:not(:last-child)>a.mega-menu-link:hover,
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link,
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link,
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item.mega-toggle-on>a.mega-menu-link{color:var(--aptf-blue)!important;font-weight:500!important;background:transparent!important}
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item:not(:last-child)>a.mega-menu-link:hover::after,
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link::after,
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link::after{transform:scaleX(1)}
  /* CTA (last item) */
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item:last-child{margin-left:14px}
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item:last-child>a.mega-menu-link{background:var(--aptf-blue)!important;color:#fff!important;border-radius:10px!important;padding:0 22px!important;height:46px!important;line-height:46px!important;font-weight:600!important;letter-spacing:.02em;box-shadow:0 10px 22px -10px rgba(10,86,138,.65);transition:background .2s,transform .2s,box-shadow .2s}
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item:last-child>a.mega-menu-link:hover{background:var(--aptf-navy)!important;transform:translateY(-1px);box-shadow:0 14px 26px -12px rgba(12,67,105,.75)}
  /* dropdown panels */
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-flyout ul.mega-sub-menu{border-radius:12px;border:1px solid var(--aptf-line);box-shadow:0 22px 44px -18px rgba(15,23,42,.35);padding:6px 0;overflow:hidden}
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link{transition:background .15s,color .15s}
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover{background:var(--aptf-soft)!important;color:var(--aptf-blue)!important}
}

/* ---------- Shared polish ---------- */
.absptf-el .elementor-button{transition:background-color .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s}
.absptf-el .elementor-button:hover{transform:translateY(-2px)}
.absptf-el .aptf-btn-primary .elementor-button{box-shadow:0 14px 28px -14px rgba(10,86,138,.8)}
.absptf-el .aptf-btn-secondary .elementor-button{backdrop-filter:blur(4px)}
.absptf-el .aptf-title-bar .elementor-heading-title{position:relative;padding-bottom:22px}
.absptf-el .aptf-title-bar .elementor-heading-title::after{content:"";position:absolute;bottom:0;left:50%;width:56px;height:4px;border-radius:4px;background:var(--aptf-green);transform:translateX(-50%)}
.absptf-el .aptf-title-bar--left .elementor-heading-title::after{left:0;transform:none}
.absptf-el .aptf-title-bar--light .elementor-heading-title::after{background:var(--aptf-green)}
:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}

/* ---------- Homepage ---------- */
.absptf-el .aptf-h-hero .elementor-widget-text-editor{max-width:620px}
@media (max-width:767px){
  .absptf-el .aptf-h-hero::before{background-image:none!important;background-color:rgba(255,255,255,.88)!important}
  .absptf-el .aptf-h-hero .elementor-button{width:100%;justify-content:center}
}
.absptf-el .aptf-h-about .elementor-widget-text-editor a{color:#fff;text-decoration:underline;text-underline-offset:4px}
.absptf-el .aptf-stat{transition:transform .25s ease,box-shadow .25s ease}
.absptf-el .aptf-stat:hover{transform:translateY(-6px)}
.absptf-el .aptf-glass-card{transition:transform .25s ease,background-color .25s ease,border-color .25s ease}
.absptf-el .aptf-glass-card:hover{transform:translateY(-6px);background-color:rgba(255,255,255,.11)!important;border-color:rgba(134,184,30,.6)!important}
.absptf-el .aptf-glass-card .elementor-image-box-img img{filter:drop-shadow(0 6px 14px rgba(0,0,0,.25))}
/* condition cards */
.absptf-el .aptf-cond-card{background:#fff;border:1px solid var(--aptf-line);border-radius:16px;padding:26px 24px 18px;box-shadow:0 10px 30px -18px rgba(15,23,42,.35);transition:box-shadow .25s,transform .25s}
.absptf-el .aptf-cond-card:hover{box-shadow:0 18px 40px -18px rgba(12,67,105,.45);transform:translateY(-3px)}
.absptf-el .aptf-cond-card h3{font-size:22px;line-height:1.25;padding:0 0 14px 14px;margin-bottom:6px;border-left:4px solid var(--aptf-green)}
.absptf-el .aptf-cond-card ul.custom-list li{border-bottom:1px solid #EDF2F7;border-radius:8px;padding:10px 10px 10px 28px}
.absptf-el .aptf-cond-card ul.custom-list li:last-child{border-bottom:0}
.absptf-el .aptf-cond-card ul.custom-list li::before{content:"";top:50%;left:10px;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:var(--aptf-green)}
.absptf-el .aptf-cond-card ul.custom-list li a{color:var(--aptf-ink)}
.absptf-el .aptf-cond-card ul.custom-list li:hover{background:var(--aptf-blue);transform:translateX(4px)}
.absptf-el .aptf-cond-card ul.custom-list li:hover::before{background:#fff}
.absptf-el .aptf-cond-card ul.custom-list li:hover a{color:#fff}
/* insurance lists */
.absptf-el .aptf-ins-card{background:#fff;border:1px solid var(--aptf-line);border-radius:16px;padding:24px 26px;box-shadow:0 10px 30px -20px rgba(15,23,42,.35);height:100%}
.absptf-el .aptf-ins-card ul{list-style:none!important;padding:0!important;margin:0;display:grid;grid-template-columns:1fr;gap:2px 18px}
@media (min-width:981px){.absptf-el .aptf-ins-card ul{grid-template-columns:1fr 1fr}}
.absptf-el .aptf-ins-card li{position:relative;padding:7px 0 7px 26px;line-height:1.45;border-bottom:1px dashed #E2E8F0}
.absptf-el .aptf-ins-card li::before{content:"";position:absolute;left:2px;top:12px;width:12px;height:7px;border-left:2.5px solid var(--aptf-green);border-bottom:2.5px solid var(--aptf-green);transform:rotate(-45deg)}
/* reviews */
.absptf-el .aptf-h-reviews .aptf-review{position:relative}
.absptf-el .aptf-h-reviews .aptf-review::after{content:"\201C";position:absolute;top:6px;right:18px;left:auto;bottom:auto;width:auto;height:auto;background:none;font-family:"DM Serif Display",Georgia,serif;font-size:84px;line-height:1;color:rgba(134,184,30,.28);pointer-events:none}
.absptf-el .aptf-h-reviews .swiper-pagination-bullet{background:var(--aptf-blue);opacity:.25}
.absptf-el .aptf-h-reviews .swiper-pagination-bullet-active{opacity:1;width:22px;border-radius:6px}
.absptf-el .aptf-h-reviews .elementor-swiper-button{color:var(--aptf-blue)}
/* CTA */
.absptf-el .aptf-h-cta{background-image:radial-gradient(1200px 400px at 50% 0%,rgba(10,86,138,.10),transparent 70%)}
.absptf-el .aptf-form-card .ff-btn-submit{border-radius:10px!important;padding:14px 28px!important;font-weight:600!important}
