/* 
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.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
*/

input {
  font-family: "PT Sans", Sans-serif;
}
::selection {
  background-color: #caeaf9;
}

html {
  overflow-x: hidden;
  word-break: break-word;
}
#page button,
#page a {
  text-decoration: none;
  transition: 0.3s ease all;
}
#page a:hover {
  color: var(--e-global-color-accent);
}
.wp-block-list {
  margin-bottom: 1rem;
}
.elementor-widget-video .e-hosted-video .elementor-video {
  object-fit: contain;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder {
  font-size: 0.8rem;
  color: #b9b9b9;
}
#page .no-fill svg {
  fill: none;
}

/* Error 404 page */
body.error404 .page-content p {
  text-align: center;
}

/* Header content */
#masthead {
  /* backdrop-filter: blur(3px); */
  position: sticky !important;
  top: 0;
}
#masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
  z-index: -1;
}
body.sticky-header-on #masthead {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}
.hndsm_header_content {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.hndsm_header_content svg {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}
.hndsm_header_content a {
  line-height: 1em;
}
.hndsm_header_search {
  border: 1px solid transparent;
  padding: 0;
  width: 2rem;
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  gap: 0rem;
  transition: 0.3s ease all;
}
.hndsm_header_search svg {
  flex-shrink: 0;
  cursor: pointer;
}
.hndsm_header_search svg:hover {
  stroke: var(--e-global-color-accent);
}
.hndsm_header_search_field {
  opacity: 0;
  visibility: hidden;
  /* width: 0; */
}
.hndsm_header_search_field form {
  line-height: 1.5rem;
}
.hndsm_header_search_field input[type="search"] {
  padding: 0;
  border: 0;
  font-size: 0.8rem;
  outline-offset: 0px;
}
.hndsm_header_search_field input[type="search"]:focus-visible,
.hndsm_header_search_field input[type="search"]:active {
  outline: none;
}

.hndsm_header_search.active {
  border-color: #0000000f;
  width: 10rem;
  padding: 0 0.5rem;
  gap: 1rem;
}
.hndsm_header_search.active .hndsm_header_search_field {
  opacity: 1;
  visibility: visible;
  width: 100%;
}
.hndsm_header_search.active .hndsm_header_search_field input[type="search"] {
  padding: 0 0.5rem;
}

/* Main Menu */
.hndsm_main_menu_wrapper ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hndsm_main_menu_wrapper ul li a {
  font-size: 1rem;
}
.hndsm_main_menu_wrapper ul li.current_page_item a {
  color: var(--e-global-color-accent);
}
.hndsm_main_menu_wrapper ul li.highlight a {
  font-weight: bold;
}
.hndsm_main_menu_wrapper ul li.menu-item-has-children {
  position: relative;
}
.hndsm_main_menu_wrapper ul li.menu-item-has-children a {
  display: flex;
  gap: 0.5rem;
  line-height: 1.3;
}
.hndsm_main_menu_wrapper ul li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>')
    no-repeat center;
  background-size: contain;
  width: 1rem;
  height: 1rem;
  margin-top: 2px;
}
.hndsm_main_menu_wrapper .sub-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background: #fff;
  border: 1px solid #0000000f;
  width: 13rem;
  top: 150%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  gap: 1rem;
  border-radius: 0.5rem;
  transition: 0.3s ease all;
  box-shadow: 0 11px 20px rgba(0, 0, 0, 0.1);
}
.hndsm_main_menu_wrapper ul li.menu-item-has-children.active .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.hndsm_header_mobile_toggle {
  display: none;
}

.page-wrapper {
  display: flex;
  gap: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: center;
}

.page-wrapper > *:first-child {
  width: 600px;
  max-width: 100%;
  flex-shrink: 0;
}
.page-wrapper aside#site-sidebar {
  width: 25rem;
  max-width: 100%;
  flex-shrink: 0;
}
.page-wrapper aside#site-sidebar > .elementor {
  position: sticky;
  top: 7rem;
  border-radius: 0;
  border-left: 1px solid #0000000f;
  padding-left: 2rem;
}

#site-sidebar form input[type="email"] {
  border: 0;
  height: auto;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #000;
}

#content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.breadcrumbs {
  margin-bottom: 2rem;
}
.breadcrumbs a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
#content .page-header .entry-title {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  font-family: "Source Sans Pro", Sans-serif;
}
#content article.post {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#content article.post + .post {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--e-global-color-accent);
}
#content article.post .post-date {
  text-transform: uppercase;
  color: #b9b9b9;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 300;
}
#page .elementor-heading-title a {
  font-family: "Source Sans Pro", Sans-serif;
}
#content article.post .entry-title {
  margin: 0;
  line-height: 1.1;
}
#content article.post .entry-title a {
  font-family: "Source Sans Pro", Sans-serif;
}
#content article.post .post-excerpt {
  color: #3f5987;
  margin-bottom: 2rem;
}
#content article.post .post-content {
  position: relative;
  text-align: left;
  padding-left: 3rem;
  padding-right: 3rem;
}
#content .dropcap p:first-of-type:first-letter,
#content article.post .post-content p:first-child:first-letter {
  color: #000;
  float: left;
  font-size: 3rem;
  font-weight: bold;
  line-height: 3rem;
  padding-top: 5px;
  padding-right: 8px;
}

body:not(.elementor-page) .page-content:not(:has(~ #site-sidebar)) {
  margin: 0 auto;
  max-width: 900px;
  padding: 1rem;
}
#content article.post .post-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem 0;
}
/* body.elementor-page .page-content > .elementor > .elementor-element {
  padding-left: 0;
  padding-right: 0;
} */

/* Blog page */
/* body.blog #content {
  max-width: 100%;
} */
/* body.blog .page-content {
  max-width: 600px;
} */
body.blog .page-wrapper {
  justify-content: center;
}
/* Search page */
body.search .page-header {
  margin-bottom: 3rem;
}
body.search #content article.post {
  text-align: left;
}
body.search #content article.post .entry-title {
  margin: 0;
}
body.search #content article.post + .post {
  margin-top: 3rem;
}

/* Forms */
.wpforms-form {
  --wpforms-button-background-color: #3f5987;
  --wpforms-button-background-color-alt: #3f5987;
  --wpforms-button-border-color: #3f5987;
  --wpforms-label-error-color: #3f5987;
  --wpforms-button-size-margin-top: 1rem;
}
.wpforms-field-label.wpforms-label-hide {
  display: none;
}
#content div.wpforms-container-full:not(:empty) {
  margin: 0;
}
#content #site-sidebar .wpforms-container .wpforms-field,
.wp-core-ui div.wpforms-container .wpforms-field {
  padding: 0;
}
input[type="email"] {
  border-color: var(--wpforms-field-border-color);
  padding: 0 var(--wpforms-field-size-padding-h);
  border-radius: var(--wpforms-field-border-radius);
}
[type="button"],
[type="submit"],
button {
  border: none;
  background-color: var(
    --wpforms-button-background-color-alt,
    var(--wpforms-button-background-color)
  );
  color: #fff;
  font-weight: bold !important;
  font-family: "Source Sans Pro", Sans-serif;
}
#content div.wpforms-container-full button[type="submit"] {
  color: #000;
}

/* Social sharing */
.hndsm_social_sharing {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}
.hndsm_social_sharing span {
  text-transform: uppercase;
  color: #b9b9b9;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 300;
  line-height: 1;
}
.hndsm_social_sharing svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: 0.3s ease all;
}
.hndsm_social_sharing svg:hover {
  fill: var(--e-global-color-accent);
}

.hndsm_social_sharing a {
  display: flex;
  align-items: center;
}

#site-sidebar-button {
  position: absolute;
  z-index: 9;
  top: 0;
  left: -1.9rem;
  writing-mode: sideways-lr;
  width: 2rem;
  display: none;
}
#site-sidebar-button a {
  padding: 0.5rem;
  border-radius: 3px 0 0 3px;
}
#site-sidebar-button a:hover {
  color: #000;
}

#site-sidebar-content {
  overflow-y: auto;
}

@media (min-width: 1200px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 100%;
  }
}

@media (max-width: 1100px) {
  .page-wrapper aside#site-sidebar > .elementor {
    top: unset;
    position: absolute;
    inset: 0;
  }
  #site-sidebar-button {
    display: block;
  }
  .page-wrapper aside#site-sidebar {
    position: fixed;
    top: 20dvh;
    bottom: 5dvh;
    right: 0;
    width: 50%;
    background: #fff;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
    padding: 1rem;
    transform: translateX(100%);
    transition: 0.3s ease all;
    z-index: 9;
    background: #3f5987;
    border-radius: 0 0 0 3px;
  }
  .page-wrapper aside#site-sidebar > .elementor {
    border: none;
    padding-left: 0;
  }
  .page-wrapper aside#site-sidebar.active {
    transform: translateX(0%);
  }
  .page-wrapper
    aside#site-sidebar.active
    #site-sidebar-button
    .elementor-button-icon {
    transform: scaleX(-100%);
  }
  .page-wrapper aside#site-sidebar.active .elementor-icon-list-text {
    color: #000;
  }
  .page-wrapper aside#site-sidebar.active svg {
    fill: #000;
  }
  #site-sidebar-content {
    flex-direction: column;
    gap: 3rem;
    height: 100%;
    overflow-y: scroll;
  }
  #site-sidebar-content > .e-con-inner {
    flex-wrap: nowrap;
    padding: 1rem;
  }
  #site-sidebar-content > .e-con-inner > .elementor-element:last-of-type {
    padding-bottom: 1rem;
  }
  .page-wrapper {
    justify-content: center;
    flex-direction: column;
  }
  .page-wrapper > *:first-child {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-open {
    overflow-y: hidden;
    height: 100dvh;
  }

  /* Mobile Menu */
  .hndsm_header_content {
    gap: 1rem;
  }
  .hndsm_main_menu_wrapper {
    position: fixed;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      0.3s ease background-color,
      opacity;
  }
  .hndsm_header_mobile_toggle {
    display: block;
  }

  /* Mobile Menu active */
  .hndsm_header_content.active .hndsm_main_menu_wrapper {
    opacity: 1;
    visibility: visible;
    z-index: b9b9b9;
    display: flex;
    background: rgba(0, 0, 0, 0.95);
    inset: 0;
    height: 100dvh;
    width: 100dvw;
    padding: 7rem 1rem 3rem 1rem;
    /* backdrop-filter: blur(3px); */
    animation: backdropFilter 0s 0.3s forwards;
  }
  @keyframes backdropFilter {
    0% {
      backdrop-filter: blur(0px);
    }
    100% {
      backdrop-filter: blur(3px);
    }
  }
  .hndsm_header_content.active .hndsm_main_menu_wrapper ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .hndsm_header_content .hndsm_main_menu_wrapper ul a {
    font-size: 1.5rem;
    color: #fff;
  }

  .hndsm_header_content .hndsm_main_menu_wrapper ul.sub-menu {
    background: transparent;
    transition: 0.3s ease opacity;
    box-shadow: none;
  }
  .hndsm_header_content .hndsm_main_menu_wrapper ul.sub-menu a {
    font-size: 1rem;
  }
  .hndsm_header_content .hndsm_main_menu_wrapper ul.sub-menu a:before {
    content: "-";
  }
  .hndsm_header_content.active .hndsm_main_menu_wrapper ul.sub-menu {
    opacity: 1;
    visibility: visible;
    text-align: left;
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    margin-top: 1rem;
  }

  .hndsm_header_content.active .menu-main-menu-container {
    width: 100%;
  }

  body.mobile-menu-open #masthead .logo {
    z-index: 9999;
  }
  body.mobile-menu-open #masthead .logo h1 {
    color: #fff;
  }
  .hndsm_header_content.active .hndsm_header_search {
    display: none;
  }
  #masthead .hndsm_header_search.active {
    width: 8rem;
  }
  .hndsm_header_content.active .hndsm_header_mobile_toggle {
    color: #fff;
    z-index: 9999;
  }
  .hndsm_header_content .hndsm_main_menu_wrapper ul li.highlight a {
    font-weight: normal;
    color: #fff;
  }
  .hndsm_header_content.active
    .hndsm_main_menu_wrapper
    ul
    li.menu-item-has-children
    > a::after {
    display: none;
  }
  .hndsm_header_content .hndsm_main_menu_wrapper ul.menu > li {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: 0.3s ease all;
  }
  .hndsm_header_content.active
    .hndsm_main_menu_wrapper
    ul.menu
    > li:nth-child(1) {
    animation: mobileMenuItems 0.3s 0s forwards;
  }
  .hndsm_header_content.active
    .hndsm_main_menu_wrapper
    ul.menu
    > li:nth-child(2) {
    animation: mobileMenuItems 0.3s 0.1s forwards;
  }
  .hndsm_header_content.active
    .hndsm_main_menu_wrapper
    ul.menu
    > li:nth-child(3) {
    animation: mobileMenuItems 0.3s 0.2s forwards;
  }
  .hndsm_header_content.active
    .hndsm_main_menu_wrapper
    ul.menu
    > li:nth-child(4) {
    animation: mobileMenuItems 0.3s 0.3s forwards;
  }
  .hndsm_header_content.active
    .hndsm_main_menu_wrapper
    ul.menu
    > li:nth-child(5) {
    animation: mobileMenuItems 0.3s 0.4s forwards;
  }
  @keyframes mobileMenuItems {
    0% {
      opacity: 0;
      visibility: hidden;
      transform: translateY(-0.5rem);
    }
    100% {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  }

  .hamburger {
    position: relative;
    width: 1em;
    height: 1em;
    font-size: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .hamburger-line {
    position: absolute;
    right: 0;
    width: 100%;
    height: 0.125em;
    border-radius: 0.125em;
    background: currentColor;
    transition: inherit;
  }
  .hamburger-line:nth-child(1) {
    top: 0.125em;
  }
  .hamburger-line:nth-child(2) {
    top: 0.438em;
  }
  .hamburger-line:nth-child(3) {
    top: 0.75em;
    width: 0.625em;
  }
  body.mobile-menu-open .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotateZ(-135deg);
  }
  body.mobile-menu-open .hamburger-line:nth-child(2) {
    right: 50%;
    width: 0;
  }
  body.mobile-menu-open .hamburger-line:nth-child(3) {
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotateZ(135deg);
  }
  body.mobile-menu-open #masthead {
    backdrop-filter: none;
  }
  #content article.post .post-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-wrapper aside#site-sidebar {
    width: 75%;
  }
  #site-sidebar-button {
    left: -1.8rem;
  }
}

@media (max-width: 575px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    padding-inline-end: 0;
    padding-inline-start: 0;
  }
}
