/*
Theme Name: Purpose BHG
Theme URI: https://purposebhg.com/
Description: Purpose BHG child theme for Hello Elementor
Author: Purpose BHG
Author URI: https://purposebhg.com/
Template: hello-elementor
Version: 1.0.11
Text Domain: purpose-bhg
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
*/

/* Add your custom styles here */

/* Header blend: use the dedicated Elementor container #bg-blend */
#bg-blend {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: 0;
  right: 0;
  height: var(--header-height, 150px);
  z-index: 99;
  pointer-events: none;
  background-color: #004b52;
  mix-blend-mode: multiply;
  opacity: 1;
}

body:not(.admin-bar) #bg-blend {
  top: 0;
}

#bg-blend.elementor-sticky__spacer {
  display: none !important;
}


/* Hover-bold weights */
.hover-bold .elementor-item,
.hover-bold .elementor-button,
.hover-bold a.hover-bold,
.hover-bold button.hover-bold {
  font-weight: 500 !important;
  transition: font-weight .1s ease-in-out;
  white-space: nowrap;
}

.hover-bold h1,
.hover-bold h2,
.hover-bold h3,
.hover-bold h4,
.hover-bold h5,
.hover-bold h6 {
  font-weight: 500 !important;
  transition: font-weight .1s ease-in-out;
}

.hover-bold .elementor-item:hover,
.hover-bold .elementor-button:hover,
.hover-bold a.hover-bold:hover,
.hover-bold button.hover-bold:hover,
.hover-bold h1:hover,
.hover-bold h2:hover,
.hover-bold h3:hover,
.hover-bold h4:hover,
.hover-bold h5:hover,
.hover-bold h6:hover {
  font-weight: 600 !important;
}

ul.elementor-nav-menu--dropdown a {
  min-width: 200px;
}
/* Remove left transparent border on menu dropdown */
ul.elementor-nav-menu--dropdown a, 
ul.elementor-nav-menu--dropdown a:focus, 
ul.elementor-nav-menu--dropdown a:hover {
    border-inline-start: 0;
}

/* Rotate submenu caret when the menu item is active/highlighted */
.elementor-nav-menu .elementor-item.has-submenu > .sub-arrow {
  transition: transform .1s ease;
}

.elementor-nav-menu .elementor-item.has-submenu.highlighted > .sub-arrow {
  transform: scaleY(-1); /* mirror flip instead of full spin */
}

/* News card icon stripe */
.card-news,
a.card-news {
  position: relative;
  padding-right: 62px !important; /* room for stripe + icon */
  border-radius: 25px;
  box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 14px;
}

.card-resource,
a.card-resource {
  position: relative;
  padding-right: 62px !important; /* room for stripe + icon */
  border-radius: 25px;
  box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 14px;
}

.card-news::after,
a.card-news::after,
.card-resource::after,
a.card-resource::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52px;
  background: var(--e-global-color-6d79d94);
  z-index: 0;
  border-radius: 0 25px 25px 0;
}

.card-news::before,
a.card-news::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  left: auto;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  background: var(--e-global-color-secondary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M473.5 303C482.9 312.4 482.9 327.6 473.5 336.9L273.5 536.9C264.1 546.3 248.9 546.3 239.6 536.9C230.3 527.5 230.2 512.3 239.6 503L422.6 320L239.6 137C230.2 127.6 230.2 112.4 239.6 103.1C249 93.8 264.2 93.7 273.5 103.1L473.5 303.1z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M473.5 303C482.9 312.4 482.9 327.6 473.5 336.9L273.5 536.9C264.1 546.3 248.9 546.3 239.6 536.9C230.3 527.5 230.2 512.3 239.6 503L422.6 320L239.6 137C230.2 127.6 230.2 112.4 239.6 103.1C249 93.8 264.2 93.7 273.5 103.1L473.5 303.1z'/%3E%3C/svg%3E") center/contain no-repeat;
  z-index: 1;
  transition: transform .2s ease, filter .2s ease;
}

.card-resource::before,
a.card-resource::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  left: auto;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  background: var(--e-global-color-secondary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M360 512c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 464c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0zM175 377c9.4 9.4 24.6 9.4 33.9 0L345 241c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95 0-278.1c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 278.1-95-95c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L175 377z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M360 512c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 464c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0zM175 377c9.4 9.4 24.6 9.4 33.9 0L345 241c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95 0-278.1c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 278.1-95-95c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L175 377z'/%3E%3C/svg%3E") center/contain no-repeat;
  z-index: 1;
  transition: transform .2s ease, filter .2s ease;
}

.card-news:hover::before,
a.card-news:hover::before {
  transform: translateY(-50%) scale(1.1);
  filter: drop-shadow(0 0 10px var(--e-global-color-secondary));
}

.card-resource:hover::before,
a.card-resource:hover::before {
  transform: translateY(-50%) scale(1.1);
  filter: drop-shadow(0 0 10px var(--e-global-color-secondary));
}

/* Cookie banner styles. */
.cky-btn-accept {
  background: var(--e-global-color-primary) !important;
  color: #ffffff !important;
  border: 2px solid var(--e-global-color-primary) !important;
  padding: 12px 24px !important;
}


.cky-btn-preferences,
.cky-btn-customize,
.cky-btn-reject {
  color: var(--e-global-color-primary) !important;
  background: transparent !important;
  border: 2px solid var(--e-global-color-primary) !important;
  padding: 12px 24px !important;
}

@media (max-width: 767px) {
  .card-news,
  a.card-news,
  .card-resource,
  a.card-resource {
    padding-right: 72px;
  }

  .card-news::after,
  a.card-news::after,
  .card-resource::after,
  a.card-resource::after {
    width: 64px;
    z-index: 0;
  }

  .card-news::before,
  a.card-news::before,
  .card-resource::before,
  a.card-resource::before {
    right: 18px;
    width: 32px;
    height: 32px;
    z-index: 1;
  }
}

/* Left icon inside card content */
.card-news-content {
  position: relative;
  padding-left: 80px;
  min-height: 60px;
}

.card-resource-content {
  position: relative;
  padding-left: 80px;
  min-height: 60px;
}

.card-news-content::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 10px;
  width: 50px;
  height: 50px;
  background: var(--e-global-color-secondary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M232 144C218.7 144 208 154.7 208 168L208 472C208 480.4 206.6 488.5 203.9 496L504 496C517.3 496 528 485.3 528 472L528 168C528 154.7 517.3 144 504 144L232 144zM136 544C96.2 544 64 511.8 64 472L64 176C64 162.7 74.7 152 88 152C101.3 152 112 162.7 112 176L112 472C112 485.3 122.7 496 136 496C149.3 496 160 485.3 160 472L160 168C160 128.2 192.2 96 232 96L504 96C543.8 96 576 128.2 576 168L576 472C576 511.8 543.8 544 504 544L136 544zM256 216C256 202.7 266.7 192 280 192L328 192C341.3 192 352 202.7 352 216L352 264C352 277.3 341.3 288 328 288L280 288C266.7 288 256 277.3 256 264L256 216zM408 240L456 240C469.3 240 480 250.7 480 264C480 277.3 469.3 288 456 288L408 288C394.7 288 384 277.3 384 264C384 250.7 394.7 240 408 240zM280 320L456 320C469.3 320 480 330.7 480 344C480 357.3 469.3 368 456 368L280 368C266.7 368 256 357.3 256 344C256 330.7 266.7 320 280 320zM280 400L456 400C469.3 400 480 410.7 480 424C480 437.3 469.3 448 456 448L280 448C266.7 448 256 437.3 256 424C256 410.7 266.7 400 280 400z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M232 144C218.7 144 208 154.7 208 168L208 472C208 480.4 206.6 488.5 203.9 496L504 496C517.3 496 528 485.3 528 472L528 168C528 154.7 517.3 144 504 144L232 144zM136 544C96.2 544 64 511.8 64 472L64 176C64 162.7 74.7 152 88 152C101.3 152 112 162.7 112 176L112 472C112 485.3 122.7 496 136 496C149.3 496 160 485.3 160 472L160 168C160 128.2 192.2 96 232 96L504 96C543.8 96 576 128.2 576 168L576 472C576 511.8 543.8 544 504 544L136 544zM256 216C256 202.7 266.7 192 280 192L328 192C341.3 192 352 202.7 352 216L352 264C352 277.3 341.3 288 328 288L280 288C266.7 288 256 277.3 256 264L256 216zM408 240L456 240C469.3 240 480 250.7 480 264C480 277.3 469.3 288 456 288L408 288C394.7 288 384 277.3 384 264C384 250.7 394.7 240 408 240zM280 320L456 320C469.3 320 480 330.7 480 344C480 357.3 469.3 368 456 368L280 368C266.7 368 256 357.3 256 344C256 330.7 266.7 320 280 320zM280 400L456 400C469.3 400 480 410.7 480 424C480 437.3 469.3 448 456 448L280 448C266.7 448 256 437.3 256 424C256 410.7 266.7 400 280 400z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .1s ease, filter .1s ease, background-color .1s ease;
}

.card-resource-content::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 10px;
  width: 50px;
  height: 50px;
  background: var(--e-global-color-secondary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M176 48L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-240-88 0c-39.8 0-72-32.2-72-72l0-88zM316.1 160L224 67.9 224 136c0 13.3 10.7 24 24 24l68.1 0zM0 64C0 28.7 28.7 0 64 0L197.5 0c17 0 33.3 6.7 45.3 18.7L365.3 141.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M176 48L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-240-88 0c-39.8 0-72-32.2-72-72l0-88zM316.1 160L224 67.9 224 136c0 13.3 10.7 24 24 24l68.1 0zM0 64C0 28.7 28.7 0 64 0L197.5 0c17 0 33.3 6.7 45.3 18.7L365.3 141.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .1s ease, filter .1s ease, background-color .1s ease;
}

.card-news:hover .card-news-content::before {
  background: var(--e-global-color-secondary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M64 480L64 184C64 170.7 74.7 160 88 160C101.3 160 112 170.7 112 184L112 472C112 485.3 122.7 496 136 496C149.3 496 160 485.3 160 472L160 160C160 124.7 188.7 96 224 96L512 96C547.3 96 576 124.7 576 160L576 480C576 515.3 547.3 544 512 544L128 544C92.7 544 64 515.3 64 480zM224 192L224 256C224 273.7 238.3 288 256 288L320 288C337.7 288 352 273.7 352 256L352 192C352 174.3 337.7 160 320 160L256 160C238.3 160 224 174.3 224 192zM248 432C234.7 432 224 442.7 224 456C224 469.3 234.7 480 248 480L488 480C501.3 480 512 469.3 512 456C512 442.7 501.3 432 488 432L248 432zM224 360C224 373.3 234.7 384 248 384L488 384C501.3 384 512 373.3 512 360C512 346.7 501.3 336 488 336L248 336C234.7 336 224 346.7 224 360zM424 240C410.7 240 400 250.7 400 264C400 277.3 410.7 288 424 288L488 288C501.3 288 512 277.3 512 264C512 250.7 501.3 240 488 240L424 240z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M64 480L64 184C64 170.7 74.7 160 88 160C101.3 160 112 170.7 112 184L112 472C112 485.3 122.7 496 136 496C149.3 496 160 485.3 160 472L160 160C160 124.7 188.7 96 224 96L512 96C547.3 96 576 124.7 576 160L576 480C576 515.3 547.3 544 512 544L128 544C92.7 544 64 515.3 64 480zM224 192L224 256C224 273.7 238.3 288 256 288L320 288C337.7 288 352 273.7 352 256L352 192C352 174.3 337.7 160 320 160L256 160C238.3 160 224 174.3 224 192zM248 432C234.7 432 224 442.7 224 456C224 469.3 234.7 480 248 480L488 480C501.3 480 512 469.3 512 456C512 442.7 501.3 432 488 432L248 432zM224 360C224 373.3 234.7 384 248 384L488 384C501.3 384 512 373.3 512 360C512 346.7 501.3 336 488 336L248 336C234.7 336 224 346.7 224 360zM424 240C410.7 240 400 250.7 400 264C400 277.3 410.7 288 424 288L488 288C501.3 288 512 277.3 512 264C512 250.7 501.3 240 488 240L424 240z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: translateY(0) scale(1.05);
  filter: drop-shadow(0 0 6px var(--e-global-color-secondary));
}

.card-resource:hover .card-resource-content::before {
  background: var(--e-global-color-secondary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-277.5c0-17-6.7-33.3-18.7-45.3L258.7 18.7C246.7 6.7 230.5 0 213.5 0L64 0zM325.5 176L232 176c-13.3 0-24-10.7-24-24L208 58.5 325.5 176z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-277.5c0-17-6.7-33.3-18.7-45.3L258.7 18.7C246.7 6.7 230.5 0 213.5 0L64 0zM325.5 176L232 176c-13.3 0-24-10.7-24-24L208 58.5 325.5 176z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: translateY(0) scale(1.05);
  filter: drop-shadow(0 0 6px var(--e-global-color-secondary));
}

.card-news h4,
a.card-news h4,
.card-resource h4,
a.card-resource h4 {
  font-weight: 500;
  transition: font-weight .1s ease;
}

.card-news:hover h4,
a.card-news:hover h4,
.card-resource:hover h4,
a.card-resource:hover h4 {
  font-weight: 600;
}

/* Prevent hover-bold width locking when applied to card links */
.card-news.hover-bold,
a.card-news.hover-bold,
.card-resource.hover-bold,
a.card-resource.hover-bold {
  width: auto !important;
}
.hover-bold a.hover-bold:hover,
.hover-bold button.hover-bold:hover,
.hover-bold h1:hover,
.hover-bold h2:hover,
.hover-bold h3:hover,
.hover-bold h4:hover,
.hover-bold h5:hover,
.hover-bold h6:hover {
  font-weight: 600 !important;
}

/* Desktop layout guard */
@media (min-width: 1025px) {
  .hover-bold .elementor-nav-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .hover-bold .elementor-nav-menu > li.menu-item {
    flex: 0 0 auto !important;
  }
  .hover-bold .elementor-nav-menu > li.menu-item > a.elementor-item {
    display: flex !important;
    justify-content: center !important;
  }
}


.btn-neutral .elementor-button,
.btn-neutral .elementor-button:visited,
.btn-neutral .elementor-button:hover,
.btn-neutral .elementor-button:focus,
.btn-neutral .elementor-button:active {
  background-color: transparent !important;
  color: var(--e-global-color-secondary) !important;
  border-color: transparent !important;
  padding: 0;
}

.btn-neutral .elementor-button * {
  color: inherit !important;
}


/* Keep first content section under the transparent sticky header on desktop */
:root {
  --header-height-desktop: 150px;
  --header-height-desktop-shrink: 85px;
  --logo-height-desktop: 80px;
  --logo-height-desktop-shrink: 55px;
}

@media (min-width: 1025px) {
  /* Header shrink on scroll */
  .elementor-location-header .e-con.e-parent {
    min-height: var(--header-height-desktop);
    transition: min-height .25s ease, padding .25s ease;
  }

  .elementor-location-header .elementor-widget-theme-site-logo img {
    max-height: var(--logo-height-desktop);
    transition: max-height .25s ease;
  }

  body.header-shrink .elementor-location-header .e-con.e-parent {
    min-height: var(--header-height-desktop-shrink);
  }

  body.header-shrink .elementor-location-header .elementor-widget-theme-site-logo img {
    max-height: var(--logo-height-desktop-shrink);
  }

  /* Offset only the first container under the sticky header */
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor-element:first-of-type,
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor > .elementor-element:first-of-type {
    margin-top: calc(-1 * var(--header-height-desktop));
  }

  /* Push inner content (actual first page container) down while background stays behind header */
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor-element:first-of-type
    > .e-con-inner,
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor-section:first-of-type
    > .elementor-container,
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor-element:first-of-type
    .elementor > .elementor-element:first-of-type > .e-con-inner,
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor-element:first-of-type
    .elementor > .elementor-section:first-of-type > .elementor-container,
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor > .elementor-element:first-of-type
    > .e-con-inner,
  body:not(.elementor-editor-active)
    .elementor-location-single > .elementor > .elementor-section:first-of-type
    > .elementor-container {
    padding-top: var(--header-height-desktop);
  }

  /* Prevent in-page anchors from hiding behind the header */
  html {
    scroll-padding-top: var(--header-height-desktop);
  }
}

/* LinkedIn icon for nav item (no ::before to avoid Elementor pointers) */
.icon-linkedin > a,
.icon-linkedin > .elementor-item {
  padding-left: 40px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23007EBB' d='M8 72h56c4.418 0 8-3.582 8-8V8c0-4.418-3.582-8-8-8H8C3.582 0 0 3.582 0 8v56c0 4.418 3.582 8 8 8Z'/%3E%3Cpath fill='%23FFF' d='M62 62h-10.684V43.802c0-4.99-1.896-7.778-5.845-7.778-4.296 0-6.54 2.901-6.54 7.777V62H28.633V27.333h10.297v4.67s3.096-5.729 10.452-5.729C56.736 26.274 62 30.764 62 40.051V62ZM16.349 22.794C12.842 22.794 10 19.93 10 16.397 10 12.864 12.842 10 16.349 10c3.508 0 6.348 2.864 6.348 6.397 0 3.532-2.84 6.397-6.348 6.397ZM11.033 62h10.736V27.333H11.033V62Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 18px 50%;
}

@media (max-width: 767px) {

  .card-news,
  a.card-news {
    padding-right: 50px !important;
    border-radius: 16px;
    box-shadow: 0px 0px 8px 4px rgba(0,0,0,0.07);
    padding: 10px;
}

  .card-resource,
  a.card-resource {
    padding-right: 50px !important;
    border-radius: 16px;
    box-shadow: 0px 0px 8px 4px rgba(0,0,0,0.07);
    padding: 10px;
}

  .card-news-content::before {
    left: 5px;
    width: 40px;
    height: 40px;
  }

  .card-resource-content::before {
    left: 5px;
    width: 40px;
    height: 40px;
  }

  .card-news::after,
  a.card-news::after {
    width: 50px;
    border-radius: 0 16px 16px 0;
}

  .card-resource::after,
  a.card-resource::after {
    width: 50px;
    border-radius: 0 16px 16px 0;
}

  .card-news-content {
    position: relative;
    padding-left: 60px;
    min-height: 50px;
}

  .card-resource-content {
    position: relative;
    padding-left: 60px;
    min-height: 50px;
}

  .card-news::before,
  a.card-news::before {
    right: 11px;
    width: 30px;
    height: 30px;
}

  .card-resource::before,
  a.card-resource::before {
    right: 11px;
    width: 30px;
    height: 30px;
}


  .icon-linkedin > a,
  .icon-linkedin > .elementor-item {
    padding-left: 30px !important;
    background-size: 14px 14px;
    background-position: 30px 50%;
  }
}




@media (max-width: 767px) {
  .elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu > li {
    width: 100% !important;
  }
  .elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item {
    width: 100% !important;
    display: block;
    text-align: center;
  }
}

.elementor-button-content-wrapper {
  align-items: center;
}

.elementor-button-icon svg {
    height: auto;
    width: 1.5em;
}


.elementor-menu-toggle {
    padding: 0px;
}

span.elementor-menu-toggle__icon--close, span.elementor-menu-toggle__icon--open {
    line-height: unset;
}


/* Gravity Forms: Contact page form inputs and submit button */
.page .gform_wrapper {
  max-width: 100%;
}

.page .gform_wrapper .gfield_required {
  color: #cb3636;
}

.page .gform_wrapper .gfield_label {
  color: #1a3232;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.page .gform_wrapper .gfield input,
.page .gform_wrapper .gfield textarea,
.page .gform_wrapper .gfield select {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(0, 75, 82, 0.25);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  height: 50px;
  background: #ffffff;
  color: #1a3232;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}



.page .gform_wrapper .gfield input::placeholder,
.page .gform_wrapper .gfield textarea::placeholder {
  color: rgba(26, 50, 50, 0.45);
}

.page .gform_wrapper .gfield input:focus,
.page .gform_wrapper .gfield textarea:focus,
.page .gform_wrapper .gfield select:focus {
  outline: none;
  border-color: var(--e-global-color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 75, 82, 0.12);
}

.page .gform_wrapper .gfield select {
  line-height: 1.2;
  min-height: 3.125rem;
  padding-right: 2.85rem;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231a3232'/%3E%3C/svg%3E");
  background-position: calc(100% - 14px) center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.page .gform_wrapper .gform_footer,
.page .gform_wrapper .gform_footer .gform_button,
.page .gform_wrapper .gform_page_footer {
  margin-top: 1.75rem;
  margin-bottom: 0;
  padding: 0;
}

.page .gform_wrapper .gform_footer input[type="submit"], 
.page .gform_wrapper .gform_footer input.gform_button, 
.page .gform_wrapper .gform_footer button.gform_button, 
.page .gform_wrapper .gform_footer .button, 
.page .gform_wrapper .gform_page_footer input.gform_button, 
.page .gform_wrapper .gform_page_footer button.gform_button {
    background-color: var(--e-global-color-secondary) !important;
    border: 1px solid var(--e-global-color-secondary) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    padding: 18px 30px !important;
    font: inherit;
    font-weight: 600 !important;
    font-size: 1rem !important;
    line-height: 1.3em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.page .gform_wrapper .gform_footer input[type="submit"]:hover,
.page .gform_wrapper .gform_footer input.gform_button:hover,
.page .gform_wrapper .gform_footer button.gform_button:hover,
.page .gform_wrapper .gform_footer .button:hover,
.page .gform_wrapper .gform_page_footer input.gform_button:hover,
.page .gform_wrapper .gform_page_footer button.gform_button:hover {
  background-color: #00373d !important;
  border-color: #00373d !important;
}

@media (max-width: 767px) {
  .page .gform_wrapper .gfield input,
  .page .gform_wrapper .gfield textarea,
  .page .gform_wrapper .gfield select {
    font-size: 0.97rem;
    padding: 0.8rem 0.95rem;
  }
  .page .gform_wrapper .gform_footer input[type="submit"],
  .page .gform_wrapper .gform_footer input.gform_button,
  .page .gform_wrapper .gform_footer button.gform_button,
  .page .gform_wrapper .gform_footer .button,
  .page .gform_wrapper .gform_page_footer input.gform_button,
  .page .gform_wrapper .gform_page_footer button.gform_button {
    width: 100%;
    padding: 0.9rem 1.75rem;
  }
}
