/*
Theme Name: Instinct Science
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Instinct Science is a Child theme of Hello Elementor. Built by the team at 17thandblake.com in collaboration with Instinct Science, LLC.
Author: 17thandblake.com
Author URI: https://www.17thandblake.com
Template: hello-elementor
Version: 2.0.0
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
*/


/* ────────────────────────────────────────────────────────────────
   Mobile Styles
───────────────────────────────────────────────────────────────── */
@media only screen and (max-width: 767px) {
  /* Mobile styles go here */
  .full_width_cta_b .alternate_layout { padding-left: 0px !important; }
  .full_width_cta_b .alternate_layout .full_width_cta_b_image { padding-left: 40px !important; }
}

/* ────────────────────────────────────────────────────────────────
   Product Hero Cards
───────────────────────────────────────────────────────────────── */
.product_hero_cards { margin-top: -80px !important; }

/* ────────────────────────────────────────────────────────────────
   Yellow Button Styles
───────────────────────────────────────────────────────────────── */
.yellow-btn .elementor-button {
  padding: 24px 30px !important;
  background-color: #FBBB00 !important;
  border-radius: 8px !important;
}
.yellow-btn .elementor-button:hover { background-color: #FAD400 !important; }
.yellow-btn span.elementor-button-text {
  color: #0A2447 !important;
  transition: background-color 0.3s ease;
}
.yellow-btn .elementor-button:hover .elementor-button-text { background-color: #E5AB00 !important; }
.yellow-btn .elementor-button-icon { display: none !important; }


/* ────────────────────────────────────────────────────────────────
   Navy Button Styles
───────────────────────────────────────────────────────────────── */
  .color_navy span.elementor-button-text { color: #fff !important;}

/* ────────────────────────────────────────────────────────────────
   Royal Blue Button Styles
───────────────────────────────────────────────────────────────── */
.royal-blue-btn .elementor-button {
  padding: 24px 30px !important;
  background-color: #1550D7 !important;
  border-radius: 8px !important;
}

.royal-blue-btn span.elementor-button-text {
    color: #fff !important;

}

.royal-blue-btn .elementor-button:hover { background-color: #0E3EAA !important; }
.royal-blue-btn .elementor-button-text {
  color: #fff !important;
  transition: background-color 0.3s ease;
  weight: 700;
}
.royal-blue-btn .elementor-button:hover .elementor-button-text { background-color: #0E3EAA !important; }
.royal-blue-btn .elementor-button-icon { display: none !important; }

.e-n-tabs-content .elementor-button-text

/* ────────────────────────────────────────────────────────────────
   Alternate Layout Controls
───────────────────────────────────────────────────────────────── */
.tcc_alternate_layout { flex-direction: row-reverse !important; }
.alternate_layout { --flex-direction: row-reverse !important; }
.component_e_alternate_layout { --flex-direction: row-reverse !important; }
.component_e_alternate_layout .offset-photo {
  margin-right: 0px;
  margin-left: -348px;
}
.full_width_cta_a .alternate_layout {
  --flex-direction: row-reverse !important;
  padding-right: 60px !important;
}
.elementor-widget-button.e_link_arrow .elementor-button-icon svg { transition: transform 0.3s ease; }
.elementor-widget-button.e_link_arrow:hover .elementor-button-icon svg { transform: translateX(5px); }
.h3_color_white h3 { color: #fff !important; }
.component_f .elementor-widget-text-editor p { color: #0A2447 !important; }

/* ────────────────────────────────────────────────────────────────
   Column & Image Alignment
───────────────────────────────────────────────────────────────── */
#column_wrap { flex-wrap: wrap !important; }
#column_wrap .left-column-text { width: 100% !important; padding-right: 60px; }
#column_wrap .right-column-image { width: 100% !important; }
#image_align_left { align-items: flex-start !important; }
#image_align_right { align-items: flex-right !important; }
#image_align_center { align-items: center !important; }

/* ────────────────────────────────────────────────────────────────
   Section Backgrounds & Gradients
───────────────────────────────────────────────────────────────── */
.elementor-195 .tcc_alternate_layout.elementor-element.elementor-element-248617a8::before {
  background-color: transparent;
  --background-overlay: '';
  background-image: linear-gradient(-280deg, #0A2447 45%, #C07F8F00 100%) !important;
}
.full_width_cta_b .alternate_layout { padding-right: 0px; padding-left: 60px; }
.full_width_cta_b .alternate_layout .full_width_cta_b_image {
  justify-content: flex-end !important;
  align-items: flex-end !important;
}
.full_width_cta_b .color_sky_blue h2 { color: #fff !important; }

/* ────────────────────────────────────────────────────────────────
   Mobile Gradient Adjustment for 3-column Callout
───────────────────────────────────────────────────────────────── */
@media only screen and (max-width: 767px) {
  .elementor-element.elementor-element-248617a8::before {
    background-image: none !important;
    background-color: rgba(10, 36, 71, 0.7) !important;
  }
}

/* ────────────────────────────────────────────────────────────────
   FAQ Accordion
───────────────────────────────────────────────────────────────── */
.accordionjs .acc_section.acc_active > .acc_head { border-bottom: 0px !important; }
.description-text-blue { color: #0A2447 !important; }
.yellow-btn span.elementor-button-text { color: #0A2447 !important; }

/* ────────────────────────────────────────────────────────────────
   Component Section Background Colors & Textures
───────────────────────────────────────────────────────────────── */
.color_yellow {
  background-color: #FBBB00 !important;
  background-image: url('/wp-content/uploads/2025/05/yellow-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_royal_blue {
  background-color: #1550D7 !important;
  background-image: url('/wp-content/uploads/2025/05/royal-blue-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_navy {
  background-color: #0A2447 !important;
  background-image: url('/wp-content/uploads/2025/05/navy-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_sky_blue {
  background-color: #81B7FF !important;
  background-image: url('/wp-content/uploads/2025/05/sky-blue-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_sky_blue p { color: #0A2447; }
.color_orange {
  background-color: #FF7107 !important;
  background-image: url('/wp-content/uploads/2025/05/orange-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_gray {
  background-color: #F4F6FC;
  background-image: url('/wp-content/uploads/2025/05/light-gray-texture2x.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_royal_blue h2,
.color_royal_blue p,
.color_royal_blue .e_link_arrow .elementor-button-text,
.color_royal_blue .elementor-button-icon svg {
  color: #fff;
}
.color_gray h2,
.color_gray p,
.color_gray .elementor-button-text,
.color_gray .elementor-button-icon svg {
  color: #1550D7 !important;
}
.color_white {
  background-color: #fff !important;
  box-shadow: 0px 2px 38px 14px rgba(90, 161, 255, 0.08);
}
.color_white h2 { color: #1550D7 !important; }
.color_white p { color: #0A2447 !important; }
.color_white .elementor-button-text { color: #0A2447 !important; }
.color_white .royal-blue-btn .elementor-button-text { color: #fff !important; }
.color_white_no_shadow { background-color: #fff !important; }
.color_white_no_shadow .component_text { /* This scopes everything inside .component_text for easier styling */ }
.color_white_no_shadow .component_text h2 { color: #1550D7 !important; }
.color_white_no_shadow .component_text p,
.color_white_no_shadow .component_text .elementor-button-text { color: #0A2447 !important; }
.color_white_no_shadow .e_link_arrow .elementor-button-icon svg { color: #0A2447; }

/* ────────────────────────────────────────────────────────────────
   Client Logo Slider Gradient (Commented Out)
───────────────────────────────────────────────────────────────── */
/*
.client-logos {
  position: relative;
  overflow: hidden;
}
.client-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(to right, white, transparent);
  z-index: 2;
  pointer-events: none;
}
.client-logos::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(to left, white, transparent);
  z-index: 2;
  pointer-events: none;
}
*/

/* ────────────────────────────────────────────────────────────────
   DCE ACF Repeater Grid
───────────────────────────────────────────────────────────────── */
.dce-acf-repeater-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-box-comp .dce-acf-repeater-item {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.grid-box-comp .dce-acf-repeater-item:nth-child(2n) { border-right: none; }
.grid-box-comp .dce-acf-repeater-item:nth-child(n+5) { border-bottom: none; }

@media (max-width: 1200px) {
  .grid-box-comp .dce-acf-repeater-grid { grid-template-columns: 1fr; }
  .grid-box-comp .dce-acf-repeater-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .grid-box-comp .dce-acf-repeater-item:last-child { border-bottom: none; }
  .grid-box-comp .dce-acf-repeater-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* ────────────────────────────────────────────────────────────────
   FAQ Wrapper
───────────────────────────────────────────────────────────────── */
.faq_wrapper button.acc_button {
  background-color: transparent !important;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.acc_head { background-color: transparent !important; }

/* ────────────────────────────────────────────────────────────────
   e-N Tab Icon Styles
───────────────────────────────────────────────────────────────── */
.e-n-tab-title .e-n-tab-icon { font-size:30px !important; line-height:1; }
.e-n-tab-title .e-n-tab-icon svg:nth-child(2) { display:none; }
.e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg:nth-child(1) { display:none; }
.e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg:nth-child(2) { display:inline-block; }
.e-n-tab-icon svg {
  height:1em;
  width:auto;
  vertical-align:middle;
}
.e-n-tab-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  font-size: inherit !important;
}

/* ────────────────────────────────────────────────────────────────
   News Single Post Typography
───────────────────────────────────────────────────────────────── */
.single-news h2, .single-post h2, .page-template-default h2 {
  color: #1550D7;
  margin-bottom: 32px;
}
.single-news h3, .single-post h3, .page-template-default h3 {
  color: #0A2447;
  margin-bottom: 32px;
}
.single-news h4, .single-post h4, .page-template-default h4 {
  color: #1550D7;
  margin-bottom: 32px;
  line-height: 34px;
}
.single-news h5, .single-post h5, .page-template-default h5 {
  color: #0A2447;
  margin-bottom: 20px;
  line-height: 28px;
}
.single-news  .elementor-widget-theme-post-content p,
.page-template-default .elementor-widget-theme-post-content p, .single-post .elementor-widget-theme-post-content p {
  font-family: "REM Regular", Sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  color: #535E79;
  margin-bottom: 32px;
}
.single-news p a, .single-post p a, .page-template-default p a {
  color: #1550D7;
  font-weight: 400;
}
.page-template-default ul, .single-post ul {
  margin-bottom: 30px;
  font-family: "REM Regular", Sans-serif;
  font-weight: 400;
  color: #535E79;
  font-size: 18px;
  margin-top: 0px;
}
.page-template-default ul li, .single-post ul li { margin-bottom: 15px; }
.single-news p a:hover, .single-post p a:hover, .page-template-default p a:hover { color: #0A2447; }
nav.dce-menu ul li a { font-weight: 400 !important; }
.single-news figure, .single-post figure, .page-template-default figure {
  margin-bottom: 32px;
}

/* ────────────────────────────────────────────────────────────────
   Sidebar Nav Active Link Styling
───────────────────────────────────────────────────────────────── */
.dce-menu.vertical a {
  position:relative;
  display:block;
  padding-left:1rem;
  text-decoration:none;
  color:#0A2447;
  transition:color .2s ease;
}
.dce-menu.vertical a::before {
  content:"";
  position:absolute;
  left:0; top:0;
  width:3px; height:100%;
  background:#1550D7;
  transform:scaleY(0);
  transform-origin:top;
  transition:transform .2s ease;
}
.dce-menu.vertical a:hover::before,
.dce-menu.vertical a:focus::before,
.dce-menu.vertical a.active::before { transform:scaleY(1); }
.dce-menu.vertical a:hover,
.dce-menu.vertical a:focus,
.dce-menu.vertical a.active { color:#1550D7; }

/* ────────────────────────────────────────────────────────────────
   Table Box Shadows (Commented Out)
───────────────────────────────────────────────────────────────── */
/*
.table-header-box-shadow {
  box-shadow:
    -10px 0   20px -10px rgba(90, 161, 255, 0.08),
     10px 0   20px -10px rgba(90, 161, 255, 0.08),
      0px -10px 20px -10px rgba(90, 161, 255, 0.08);
}
.table-row-box-shadow {
  box-shadow:
    -10px 0 20px -10px rgba(90, 161, 255, 0.08),
     10px 0 20px -10px rgba(90, 161, 255, 0.08);
}
*/

/* ────────────────────────────────────────────────────────────────
   Mega Menu Styles Product
───────────────────────────────────────────────────────────────── */
/* --- Base Button Style --- */
button#tab-one,
button#tab-six,
button#tab-two,
button#tab-three,
button#tab-four,
button#tab-five,
button#tab-seven {
  width: 282px;
  height: 80px;
  padding: 0 20px;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}
/* --- Border Radius Overrides --- */
button#tab-one { border-radius: 12px 12px 0 0; margin-top: 10px; }
button#tab-two { border-radius: 0 0 12px 12px; margin-bottom: 25px; }
button#tab-three { border-radius: 12px 12px 0 0; margin-top: 10px; }
button#tab-four { border-radius: 0 0 12px 12px; }
button#tab-five { border-radius: 12px; margin-top: 30px; }
button#tab-seven { border-radius: 12px; margin-top: 30px; }
/* --- Container Padding --- */
.e-n-tabs-heading { padding: 30px 10px 10px 10px; }
/* --- Logos --- */
button#tab-one::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-instinct-emr.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-six::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-instinct-emr-for-primary-care.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-two::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-instinct-treatment-plan.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-three::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-standards.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-four::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-plumbs.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-five::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-clinicians-brief.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-seven::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-scribble-vet.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
/* --- Logo on Hover + Active --- */
button#tab-one:hover::before,
button#tab-one[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-instinct-emr.svg');
}
button#tab-six:hover::before,
button#tab-six[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-instinct-emr-for-primary-care.svg');
}
button#tab-two:hover::before,
button#tab-two[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-instinct-treatment-plan.svg');
}
button#tab-three:hover::before,
button#tab-three[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-standards.svg');
}
button#tab-four:hover::before,
button#tab-four[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-plumbs.svg');
}
button#tab-five:hover::before,
button#tab-five[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-clinicians-brief.svg');
}
button#tab-seven[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-scribble-vet.svg');
}
/* --- Arrows Inside Text Span --- */
button#tab-one .e-n-tab-title-text::after,
button#tab-six .e-n-tab-title-text::after,
button#tab-two .e-n-tab-title-text::after,
button#tab-three .e-n-tab-title-text::after,
button#tab-four .e-n-tab-title-text::after,
button#tab-five .e-n-tab-title-text::after,
button#tab-seven .e-n-tab-title-text::after {
  content: '›';
  color: #000000;
  font-size: 28px;
  font-weight: bold;
  margin-left: auto;
  transition: color 0.3s ease;
}
/* --- Chevron turns white on Hover + Active --- */
button#tab-one:hover .e-n-tab-title-text::after,
button#tab-one[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-six:hover .e-n-tab-title-text::after,
button#tab-six[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-two:hover .e-n-tab-title-text::after,
button#tab-two[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-three:hover .e-n-tab-title-text::after,
button#tab-three[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-four:hover .e-n-tab-title-text::after,
button#tab-four[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-five:hover .e-n-tab-title-text::after,
button#tab-five[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-seven:hover .e-n-tab-title-text::after,
button#tab-seven[aria-selected="true"] .e-n-tab-title-text::after {
  color: #ffffff;
}
/* --- Background on Hover + Active --- */
button#tab-one:hover,
button#tab-one[aria-selected="true"],
button#tab-six:hover,
button#tab-six[aria-selected="true"],
button#tab-two:hover,
button#tab-two[aria-selected="true"],
button#tab-three:hover,
button#tab-three[aria-selected="true"],
button#tab-four:hover,
button#tab-four[aria-selected="true"],
button#tab-five:hover,
button#tab-five[aria-selected="true"] ,
button#tab-seven[aria-selected="true"] {
  background-color: #0A2447;
}
/* --- Top Labels --- */
button#tab-one::after {
  content: 'Practice Software';
  position: absolute;
  top: -20px;
  left: 20px;
  color: #7E8BA8;
  font-family: 'REM', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.228px;
  text-transform: uppercase;
  pointer-events: none;
}
button#tab-three::after {
  content: 'Decision Support';
  position: absolute;
  top: -20px;
  left: 20px;
  color: #7E8BA8;
  font-family: 'REM', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.228px;
  text-transform: uppercase;
  pointer-events: none;
}
button#tab-five::after {
  content: 'Education';
  position: absolute;
  top: -20px;
  left: 20px;
  color: #7E8BA8;
  font-family: 'REM', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.228px;
  text-transform: uppercase;
  pointer-events: none;
}
button#tab-one:hover::after,
button#tab-one[aria-selected="true"]::after,
button#tab-three:hover::after,
button#tab-three[aria-selected="true"]::after,
button#tab-four:hover::after,
button#tab-four[aria-selected="true"]::after {
  color: #7E8BA8;
}

/* ────────────────────────────────────────────────────────────────
   Mobile-only horizontal scroll for feature table
───────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .table-scroll-wrapper::-webkit-scrollbar { height: 6px; }
  .table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
  }
  .table-row { flex-wrap: nowrap; min-width: 640px; }
  .table-column:first-child { flex: 0 0 200px; }
  .table-column:not(:first-child) { flex: 0 0 140px; }
}

/* ────────────────────────────────────────────────────────────────
   Mega Menu Mobile Adjustments
───────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  button#tab-one,
  button#tab-six,
  button#tab-two,
  button#tab-three,
  button#tab-four,
  button#tab-five {
    border-radius: 0 !important;
    background-color: #F4F6FC;
  }
  .elementor-element-b6ad6fb,
  .elementor-element-5843e0a,
  .elementor-element-88ff258,
  .elementor-element-a2aa181 { display: none; }
  button#tab-one { border-bottom: 1px solid #ccc; margin-top: 0 !important; }
  button#tab-six { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin: 0 !important; }
  button#tab-two { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin: 0 !important; }
  button#tab-three { margin-top: 0 !important; }
  button#tab-four { border-top: 1px solid #ccc; margin-top: 0 !important; }
  button#tab-five { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin-top: 0 !important; }
  button#tab-one::after,
  button#tab-three::after,
  button#tab-five::after { display: none; }
}

/* ────────────────────────────────────────────────────────────────
   Utility: No Bullet List
───────────────────────────────────────────────────────────────── */
li.no-bullet {
  list-style-type: none;
  padding-left: 1.5em;
  text-indent: -1.5em;
}


/* ────────────────────────────────────────────────────────────────
  Table Tooltip Positioning
───────────────────────────────────────────────────────────────── */

.tooltip-box::after {
  content: "";
  position: absolute;
  left: 20px;
  border: 8px solid transparent;
}

.tooltip-box[data-position="bottom"]::after {
  top: -16px;
  border-bottom-color: #0a2447;
}

.tooltip-box[data-position="top"]::after {
  bottom: -16px;
  border-top-color: #0a2447;
}

/* external link icon in menu */

/* External Link Icon Styling */
.external-link .elementor-icon-box-title a {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.external-link .elementor-icon-box-title a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  background: url('/wp-content/uploads/2025/07/external-link-icon.svg') no-repeat center / contain;
  vertical-align: middle;
}


/* Taxonomy Link Buttons */
.tax-cat ul li a {
  display: inline-block;
  padding: 10px;
  margin-right: 15px;
  color: #fff !important;
  border-radius: 5px;
  background:
    url('/wp-content/uploads/2025/05/royal-blue-texture.png') repeat center / contain,
    #0a2447;
  transition: background 0.3s ease;
}

.tax-cat ul li a.active,
.tax-cat ul li a:hover {
  background:
    url('/wp-content/uploads/2025/05/navy-texture.png') repeat center / contain,
    #1550D7;
}


.elementor-loop-item:has(.latest-post) {
  align-self: flex-start !important;
  height: auto !important;
}

.archive .dce-menu li a,
.blog .dce-menu li a {
  font-weight: 700 !important;
}

.archive .dce-menu li a:hover,
.archive .dce-menu li a.active,
.blog .dce-menu li a:hover,
.blog .dce-menu li a.active {
  border-bottom: 4px solid #1550D7;
  padding-bottom: 5px;
}


.wp-singular span.elementor-icon-list-text a:hover {
  color: #0a2447 !important;
}

.elementor hr {
  margin-bottom: 25px !important;
  border-color: #D0D7E8 !important;
}

a.elementor-post-info__terms-list-item {
  font-weight: 700;
}

/* ────────────────────────────────────────────────────────────────
  Blog/News Post Style Updates -- Reverting to old Pick the Brain styles from the Ghost blog
───────────────────────────────────────────────────────────────── */
.single-post .elementor-2823 .elementor-element.elementor-element-8d8c4a9,
.single-news .elementor-2823 .elementor-element.elementor-element-8d8c4a9 {
    width: 100%;
    max-width: 660px;
}

.single-post .elementor-widget-theme-post-content h2,
.single-news .elementor-widget-theme-post-content h2,
.single-post .elementor-widget-theme-post-content h3,
.single-news .elementor-widget-theme-post-content h3,
.single-post .elementor-widget-theme-post-content h4,
.single-news .elementor-widget-theme-post-content h4,
.single-post .elementor-widget-theme-post-content h5,
.single-news .elementor-widget-theme-post-content h5,
.single-post .elementor-widget-theme-post-content h6,
.single-news .elementor-widget-theme-post-content h6 {
    margin: 0;
    font-family: "avenir next", helvetica, sans-serif;
    color: #0A2447;
}

.single-post .elementor-widget-theme-post-content h4,
.single-news .elementor-widget-theme-post-content h4,
.single-post .elementor-widget-theme-post-content h5,
.single-news .elementor-widget-theme-post-content h5,
.single-post .elementor-widget-theme-post-content h6,
.single-news .elementor-widget-theme-post-content h6 {
    font-family: "avenir-heavy-85", sans-serif
}

.single-post .elementor-widget-theme-post-content h2,
.single-news .elementor-widget-theme-post-content h2,
.single-post .elementor-widget-theme-post-content h2 b,
.single-news .elementor-widget-theme-post-content h2 b,
.single-post .elementor-widget-theme-post-content h2 strong,
.single-news .elementor-widget-theme-post-content h2 strong,
.single-post .elementor-widget-theme-post-content h3,
.single-news .elementor-widget-theme-post-content h3,
.single-post .elementor-widget-theme-post-content h3 b,
.single-news .elementor-widget-theme-post-content h3 b,
.single-post .elementor-widget-theme-post-content h3 strong,
.single-news .elementor-widget-theme-post-content h3 strong,
.single-post .elementor-widget-theme-post-content h4,
.single-news .elementor-widget-theme-post-content h4,
.single-post .elementor-widget-theme-post-content h4 b,
.single-news .elementor-widget-theme-post-content h4 b,
.single-post .elementor-widget-theme-post-content h4 strong,
.single-news .elementor-widget-theme-post-content h4 strong,
.single-post .elementor-widget-theme-post-content h5,
.single-news .elementor-widget-theme-post-content h5,
.single-post .elementor-widget-theme-post-content h5 b,
.single-news .elementor-widget-theme-post-content h5 b,
.single-post .elementor-widget-theme-post-content h5 strong,
.single-news .elementor-widget-theme-post-content h5 strong,
.single-post .elementor-widget-theme-post-content h6,
.single-news .elementor-widget-theme-post-content h6,
.single-post .elementor-widget-theme-post-content h6 b,
.single-news .elementor-widget-theme-post-content h6 b,
.single-post .elementor-widget-theme-post-content h6 strong,
.single-news .elementor-widget-theme-post-content h6 strong {
    font-weight: 700;
}

.single-post .elementor-widget-theme-post-content h2,
.single-news .elementor-widget-theme-post-content h2 {
    padding-top: 26px !important;
    font-size: 26px;
    line-height: 29px;
}

.single-post .elementor-widget-theme-post-content h3,
.single-news .elementor-widget-theme-post-content h3 {
    padding-top: 22px !important;
    font-size: 22px;
    line-height: 29px;
}

.single-post .elementor-widget-theme-post-content h4,
.single-news .elementor-widget-theme-post-content h4 {
    padding-top: 25px !important;
    font-size: 25px;
    line-height: 30px;
}

.single-post .elementor-widget-theme-post-content h5,
.single-news .elementor-widget-theme-post-content h5 {
    padding-top: 18px !important;
    font-size: 18px;
    line-height: 22px;
}

.single-post .elementor-widget-theme-post-content h6,
.single-news .elementor-widget-theme-post-content h6 {
    padding-top: 13px !important;
    font-size: 13px;
    line-height: 30px;
}

.single-post .elementor-widget-theme-post-content p,
.single-news .elementor-widget-theme-post-content p,
.single-post .elementor-widget-theme-post-content ul,
.single-news .elementor-widget-theme-post-content ul,
.single-post .elementor-widget-theme-post-content ol,
.single-news .elementor-widget-theme-post-content ol,
.single-post .elementor-widget-theme-post-content * a,
.single-news .elementor-widget-theme-post-content * a {
    color: #293040;
    font-family: "georgia", "times new roman", serif !important;
    font-size: 20px;
    margin: 0;
    font-weight: 400;
}

.single-post .elementor-widget-theme-post-content p,
.single-news .elementor-widget-theme-post-content p {
    padding-bottom: 16px;
}

.single-post .elementor-widget-theme-post-content * a,
.single-news .elementor-widget-theme-post-content * a,
.single-post .elementor-widget-theme-post-content * a *,
.single-news .elementor-widget-theme-post-content * a * {
    border-bottom: 1px solid #293040;
}

.single-post .elementor-widget-theme-post-content figure a,
.single-news .elementor-widget-theme-post-content figure a,
.single-post .elementor-widget-theme-post-content img,
.single-news .elementor-widget-theme-post-content img {
    border-bottom: none;
}

.single-post .elementor-widget-theme-post-content * a,
.single-news .elementor-widget-theme-post-content * a,
.single-post .elementor-widget-theme-post-content * a *,
.single-news .elementor-widget-theme-post-content * a *,
.single-post .elementor-widget-theme-post-content a *,
.single-news .elementor-widget-theme-post-content a * {
    text-decoration: none;
}

.single-post .elementor-widget-theme-post-content * a:hover,
.single-news .elementor-widget-theme-post-content * a:hover {
    color: #1550D7;
}

.single-post .elementor-widget-theme-post-content ul > li:before,
.single-news .elementor-widget-theme-post-content ul > li:before {
    margin-top: 5px;
    content: "*";
}

.single-post .elementor-widget-theme-post-content ul,
.single-news .elementor-widget-theme-post-content ul,
.single-post .elementor-widget-theme-post-content ol,
.single-news .elementor-widget-theme-post-content ol {
  padding-bottom: 20px;
  list-style: none;
}

.single-post .elementor-widget-theme-post-content ul > li:before,
.single-news .elementor-widget-theme-post-content ul > li:before,
.single-post .elementor-widget-theme-post-content ol > li:before,
.single-news .elementor-widget-theme-post-content ol > li:before {
    position: absolute;
    width: 30px;
    margin-left: -40px;
    font-family: "Fira Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    text-align: right;
    color: #293040;
}

.single-post .elementor-widget-theme-post-content ul > li,
.single-news .elementor-widget-theme-post-content ul > li {
    margin: 0;
}

.single-post .elementor-widget-theme-post-content #references + ol li,
.single-news .elementor-widget-theme-post-content #references + ol li {
  font-size: 16px;
  font-weight: 400;
}

.single-post .elementor-widget-theme-post-content .kg-callout-card-grey,
.single-news .elementor-widget-theme-post-content .kg-callout-card-grey {
    background: #F4F6FC;
}

.single-post .elementor-widget-theme-post-content .kg-callout-card,
.single-news .elementor-widget-theme-post-content .kg-callout-card {
    display: flex;
    padding: 24px 32px;
    border-radius: 8px;
}

.single-post .elementor-widget-theme-post-content .kg-callout-card,
.single-news .elementor-widget-theme-post-content .kg-callout-card,
.single-post .elementor-widget-theme-post-content .kg-callout-card *,
.single-news .elementor-widget-theme-post-content .kg-callout-card * {
    box-sizing: border-box;
}

.single-post .elementor-widget-theme-post-content .kg-callout-card div.kg-callout-text,
.single-news .elementor-widget-theme-post-content .kg-callout-card div.kg-callout-text {
    font-size: 19px;
    line-height: 29px;
    font-family: "georgia", "times new roman", serif !important;
    color: #293040;
    font-weight: 400;
}

.single-post .elementor-widget-theme-post-content .kg-callout-card div.kg-callout-emoji,
.single-news .elementor-widget-theme-post-content .kg-callout-card div.kg-callout-emoji {
    padding-right: 18px;
    line-height: 29px;
    font-size: 23px;
}

.single-post .elementor-widget-theme-post-content blockquote,
.single-news .elementor-widget-theme-post-content blockquote {
    padding: 0 0 0 20px;
    margin: 10px 0;
    border-left: 3px solid #1550D7;
    color: #293040;
    font-style: italic;
    font-weight: 400;
}

.single-post .elementor-widget-theme-post-content blockquote p,
.single-news .elementor-widget-theme-post-content blockquote p,
.single-post .elementor-widget-theme-post-content blockquote p span,
.single-news .elementor-widget-theme-post-content blockquote p span {
  font-weight: 400 !important;
  font-style: italic;
}

.single-post .elementor-widget-theme-post-content blockquote strong,
.single-news .elementor-widget-theme-post-content blockquote strong,
.single-post .elementor-widget-theme-post-content blockquote b,
.single-news .elementor-widget-theme-post-content blockquote b {
  font-weight: 700 !important;
}

.single-post .elementor-widget-theme-post-content figure figcaption,
.single-news .elementor-widget-theme-post-content figure figcaption {
    font-family: "Fira Sans", sans-serif;
    color: #7E8BA8;
    text-align: center;
    max-width: 480px;
    margin: auto;
    font-size: 15px;
    line-height: 19px;
    padding: 10px 0;
    font-style: normal;
}

.single-post .elementor-widget-theme-post-content hr,
.single-news .elementor-widget-theme-post-content hr {
    display: block;
    height: 1px;
    margin: 0 0 40px !important;
    padding: 0;
    background: #D0D7E8;
    border: 0;
}

.single-post .elementor-widget-theme-post-content .separator,
.single-news .elementor-widget-theme-post-content .separator {
    height: 1px;
    background-color: #D0D7E8;
    margin: 50px auto;
}

.single-post .elementor-widget-theme-post-content .kg-image-card,
.single-news .elementor-widget-theme-post-content .kg-image-card {
  margin: 0 0 40px;
  max-width: none !important;
}

.single-post .elementor-widget-theme-post-content .kg-image-card .kg-image,
.single-news .elementor-widget-theme-post-content .kg-image-card .kg-image {
    margin: 0 auto;
}

.single-post .elementor-widget-theme-post-content img,
.single-news .elementor-widget-theme-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ────────────────────────────────────────────────────────────────
  Fancy Bullets - This still needs work
───────────────────────────────────────────────────────────────── */
.instinct-fancy-bullets ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 16px;
    line-height: 24px;
    padding: 0;
}

.instinct-fancy-bullets li {
  background: #fff;
  padding: 24px 28px;
  border-radius: 8px;
  width: calc(50% - 6px);
  min-height: 136px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ────────────────────────────────────────────────────────────────
  Hiding elements at specific breakpoints
───────────────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .hide-mobile-portrait {
    display: none;
  }
}

/* ────────────────────────────────────────────────────────────────
   Inline Text Link Arrows
───────────────────────────────────────────────────────────────── */

/* Add the arrow to text links in a pseudo class so we can inline it */
.text-link .elementor-button .elementor-button-text::after,
.e_link_arrow:not(.yellow-btn, .navy-btn, .royal-blue-btn) .elementor-button .elementor-button-text::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 13px;
  margin-left: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='13' viewBox='0 0 24 13' fill='none'><path d='M1.82227 6.05493H21.5355' stroke='%230A2447' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/><path d='M16.3223 11.0549L22.3223 6.05561L16.3223 1.05493' stroke='%230A2447' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
  transition: 250ms all;
}

/* Use white for darker backgrounds */
.elementor-element-fd208e4 .e_link_arrow:not(.yellow-btn, .navy-btn, .royal-blue-btn) .elementor-button .elementor-button-text::after, /* Exception */
.color_navy .text-link .elementor-button .elementor-button-text::after,
.color_navy .e_link_arrow:not(.yellow-btn, .navy-btn, .royal-blue-btn) .elementor-button .elementor-button-text::after,
.color_royal_blue .text-link .elementor-button .elementor-button-text::after,
.color_royal_blue .e_link_arrow:not(.yellow-btn, .navy-btn, .royal-blue-btn) .elementor-button .elementor-button-text::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='13' viewBox='0 0 24 13' fill='none'><path d='M1.82227 6.05493H21.5355' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/><path d='M16.3223 11.0549L22.3223 6.05561L16.3223 1.05493' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* Royal Blue Links */
.elementor-element-07e1aac .e_link_arrow:not(.yellow-btn, .navy-btn, .royal-blue-btn) .elementor-button .elementor-button-text::after /* Exception */ {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='13' viewBox='0 0 24 13' fill='none'><path d='M1.82227 6.05493H21.5355' stroke='%231550D7' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/><path d='M16.3223 11.0549L22.3223 6.05561L16.3223 1.05493' stroke='%231550D7' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* Make sure the arrow flows inline */
.text-link .elementor-button .elementor-button-text,
.e_link_arrow .elementor-button .elementor-button-text {
  display: inline;
}

.text-link .elementor-button:hover .elementor-button-text::after,
.e_link_arrow .elementor-button:hover .elementor-button-text::after {
  margin-left: 16px;
}

/* Just in case there is a text link icon, hide it */
.text-link .elementor-button .elementor-button-icon,
.e_link_arrow .elementor-button .elementor-button-icon {
  display: none;
}

.elementor-175 .e_link_arrow .elementor-button .elementor-button-text::after {
  display: none;
}
