/*
Theme Name: Hyperdrive Child
Template: hyperdrive
Author: Striventa
Description: Hyperdrive is the last theme you'll ever need. Welcome to the future.
Version: 1.0.0
Requires at least: 6.1
Tested up to: 6.2.2
Requires PHP: 7.4
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hyperdrive
*/

@import url('blocks/css/link-block.css');

/* Header Styles */
header.site-header.is-scrolling > .wp-block-group {
  transition: 0.2s all ease-in-out;
  background-color: var(--wp--preset--color--primary);
}

/* Misc */
.wp-block-template-part { margin: 0; margin-block: 0; }
h1 span,
h2 span {
  font-style: italic;
  font-weight: 400;
}
.center-checkmark {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Text Link */
.text-link--default a {
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link--default a:hover {
  text-decoration: underline;
}

.text-link--arrow {
  margin-bottom: 10px;
}

.text-link--arrow a {
  display: inline-block;
  color: white;
  font-size: var(--wp--preset--font-size--small) !important;
  font-weight: 400;
  text-decoration: none !important;
  text-transform: none !important;
  position: relative;
  padding-left: 10px;
  -webkit-transition: 0.2s all ease-in-out;
          transition: 0.2s all ease-in-out;
}

.text-link--arrow a:hover {
  color: #b3985b;
  -webkit-transform: translateX(5px);
      -ms-transform: translateX(5px);
          transform: translateX(5px);
}

.text-link--arrow a::before {
  content: "";
  width: 5px;
  height: 0;
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 1;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 5px solid #b3985b;
  -webkit-transition: 0.2s all ease-in-out;
          transition: 0.2s all ease-in-out;
}

/* Corner Shape BG */
.corner-shape-bg > div {
  position: relative;
  z-index: 2;
}

.corner-shape-bg::before {
  content: "";
  background-image: url(/wp-content/uploads/2023/10/corner-shape.svg);
  background-repeat: no-repeat;
  position: absolute;
  left: -105px;
  bottom: 0;
  width: 142px;
  height: 602px;
  z-index: 10;
}

.corner-shape-bg::after {
  content: "";
  background-image: url(/wp-content/uploads/2023/10/corner-shape.svg);
  background-repeat: no-repeat;
  position: absolute;
  right: -105px;
  top: 0;
  width: 142px;
  height: 602px;
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
  z-index: 10;
}

/* Industry Blocks grid */
.industry-blocks .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.industry-blocks .wp-block-columns .wp-block-column {
  height: 100%;
}

.industry-blocks .wp-block-columns .wp-block-column > div {
  height: 100%;
  padding-right: 20px;
  position: relative;
}

.industry-blocks .wp-block-columns .wp-block-column > div::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 50px;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 15px solid var(--wp--preset--color--secondary);
  z-index: 1;
}

/* FAQ */
.wp-block-yoast-faq-block.mundial .schema-faq-section {
  background: white;
  border-radius: 0;
  margin-bottom: 16px;
}

.wp-block-yoast-faq-block.mundial .schema-faq-section .schema-faq-question {
  background: white;
  border: 2px solid var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--text-dark);
  font-size: 20px;
  font-weight: 700;
  padding: 25px 30px;
}

.wp-block-yoast-faq-block.mundial .schema-faq-section .schema-faq-question::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 50px;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 15px solid var(--wp--preset--color--secondary);
  z-index: 1;
}
.wp-block-yoast-faq-block.mundial .schema-faq-section .schema-faq-question.is-open {
  border-bottom: 0;
  border-color: var(--wp--preset--color--tertiary);
  color: var(--wp--preset--color--tertiary);
}
.wp-block-yoast-faq-block.mundial .schema-faq-section .schema-faq-question.is-open::before {
  border-left-color: var(--wp--preset--color--tertiary);
}

.wp-block-yoast-faq-block.mundial .schema-faq-section .schema-faq-question::after { content: none; }
.wp-block-yoast-faq-block.mundial .schema-faq-section .schema-faq-question.is-open::after { content: none; }

.wp-block-yoast-faq-block.mundial .schema-faq-section p.schema-faq-answer {
  margin: 0;
  padding: 25px 30px;
  background-color: #fff;
  border-radius: 0;
  color: var(--wp--preset--color--text-dark);
  border: 2px solid var(--wp--preset--color--tertiary);
  border-top: 0;
  display: none;
  position: relative;
}
.wp-block-yoast-faq-block.mundial .schema-faq-section p.schema-faq-answer.faq-a-open::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: calc(100% - 60px);
  height: 2px;
  background-color: var(--wp--preset--color--secondary);
  z-index: 1;
}


/* Blog Styles */
.single-post .wp-site-blocks { overflow: unset; }
.single-post .blog-single-content-columns .sticky-banner {
  position: sticky;
  top: 140px;
}
.single-post .blog-single-content-columns h2,
.single-post .blog-single-content-columns h3,
.single-post .blog-single-content-columns h4,
.single-post .blog-single-content-columns h5 {
  margin-top: 30px;
}

/* Case Studies */
.single-case-studies main.content .entry-content.case-study-content p {
  padding: 0;
}



/* Skewed overlay section */
.skewed-overlay.home > span.wp-block-cover__background {
  transform: skewX(7deg) translateX(-55%);
}
.skewed-overlay.get-started > span.wp-block-cover__background {
  transform: skewX(7deg) translateX(50%);
}
.skewed-overlay.two-thirds > span.wp-block-cover__background {
  transform: skewX(7deg) translateX(-35%);
}
.skewed-overlay > span.wp-block-cover__background {
  transform: skewX(7deg) translateX(-50%);
}

.wp-block-cover.skewed-overlay:before {
  content: "";
  width: 100%;
  height: 200px;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
  z-index: 1;
}

.skewed-overlay .taxonomy-category .link-block--term { font-size: 14px; padding: 5px 10px; border: 1px solid; }
.skewed-overlay .wp-block-read-more {
  color: #fff;
}
.skewed-overlay .wp-block-read-more:hover {
  color: var(--wp--preset--color--tertiary);
}


/* Form Styles */
.wp-site-blocks main.content .gform_wrapper .gform_required_legend { display: none; }
.wp-site-blocks main.content .gform_wrapper .gfield .gfield_label { font-weight: 400; font-style: italic; }
.wp-site-blocks main.content .gform_wrapper .gfield input, .wp-site-blocks main.content .gform_wrapper .gfield textarea {
  font-size: 18px;
  letter-spacing: -0.05em;
  color: var(--wp--preset--color--primary);
  border: 2px solid var(--wp--preset--color--secondary);
  border-radius: 0;
  padding: var(--wp--custom--spacing--small) calc(var(--wp--custom--spacing--small) + 4px);
  outline: none;
}
.wp-site-blocks main.content .gform_wrapper .gfield input::placeholder, .wp-site-blocks main.content .gform_wrapper .gfield textarea::placeholder {
  color: var(--wp--preset--color--highlight);
}
.wp-site-blocks main.content .gform_wrapper .gfield .ginput_container--name input {
  padding-left: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15.456' height='15.419' viewBox='0 0 15.456 15.419'%3E%3Cpath d='M7.478,8.737A4.369,4.369,0,1,0,3.109,4.369,4.376,4.376,0,0,0,7.478,8.737m0-7.846A3.477,3.477,0,1,1,4,4.369,3.482,3.482,0,0,1,7.478.892m2.493,8.66H4.985A5,5,0,0,0,0,14.537v.216a.157.157,0,0,0,.166.166H14.79a.157.157,0,0,0,.166-.166v-.216A5,5,0,0,0,9.971,9.551M1.112,14.029a3.981,3.981,0,0,1,4.032-3.65h4.67a3.981,3.981,0,0,1,4.032,3.65Z' transform='translate(0.25 0.25)' fill='%23263a74' stroke='%23263a74' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat no-repeat;
  background-position: center left 20px;
}
.wp-site-blocks main.content .gform_wrapper .gfield.gfield--type-phone input {
  padding-left: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.439' height='14.409' viewBox='0 0 14.439 14.409'%3E%3Cpath d='M0,1.179V2.6C.04,7.1,6,13.829,11.3,13.909h1.473A1.154,1.154,0,0,0,13.9,12.73l.038-2.784A1.212,1.212,0,0,0,12.76,8.762l-2.677-.076a1.172,1.172,0,0,0-.906.382l-.3.531A15.839,15.839,0,0,1,4.493,5.218l.383-.3A1.172,1.172,0,0,0,5.29,4L5.221,1.206A1.208,1.208,0,0,0,4.042.038L1.181,0A1.181,1.181,0,0,0,0,1.179m.9,0h0A.273.273,0,0,1,1.17.906L4.042.936a.3.3,0,0,1,.279.273l.069,2.8a.271.271,0,0,1-.1.214l-.749.621v.225c0,.848,1.59,2.523,2.267,3.2s2.354,2.264,3.213,2.3h.21l.618-.88a.272.272,0,0,1,.2-.089l2.689.069a.3.3,0,0,1,.284.266l-.038,2.784a.26.26,0,0,1,0,.047.254.254,0,0,1-.274.231H11.312C6.527,12.927.936,6.637.9,2.59Z' transform='translate(0.25 0.25)' fill='%23263a74' stroke='%23263a74' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat no-repeat;
  background-position: center left 20px;
}
.wp-site-blocks main.content .gform_wrapper .gfield.gfield--type-email input {
  padding-left: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.119' height='13.314' viewBox='0 0 18.119 13.314'%3E%3Cpath d='M17.418.33l-.06-.06c-.03,0-.03-.03-.06-.03a.029.029,0,0,1-.03-.03A1.56,1.56,0,0,0,16.517,0H1.5A1.56,1.56,0,0,0,.751.21a.029.029,0,0,0-.03.03c-.03,0-.03.03-.06.03A.065.065,0,0,0,.6.33,1.464,1.464,0,0,0,0,1.5V11.712a1.568,1.568,0,0,0,.6,1.2.1.1,0,0,0,.06.03c.03.03.06.03.09.06a1.56,1.56,0,0,0,.751.21H16.517a1.56,1.56,0,0,0,.751-.21c.03-.03.06-.03.09-.06.03,0,.03-.03.06-.03a1.478,1.478,0,0,0,.6-1.2V1.5a1.464,1.464,0,0,0-.6-1.171M15.586,1.2,9.22,6.727a.316.316,0,0,1-.39,0L2.433,1.2ZM1.2,11.472V1.742L6.817,6.607Zm1.231.541L7.748,7.388l.27.24a1.493,1.493,0,0,0,.991.36A1.551,1.551,0,0,0,10,7.628l.27-.24,5.316,4.625Zm14.385-.541L11.2,6.607l5.616-4.865Z' transform='translate(0.05 0.05)' fill='%23263a74' stroke='%23263a74' stroke-width='0.1'/%3E%3C/svg%3E");
  background-repeat: no-repeat no-repeat;
  background-position: center left 20px;
}

.wp-site-blocks main.content .gform_wrapper .gform_footer { padding-bottom: 0 }
.wp-site-blocks main.content .gform_wrapper .gform_footer .gform_button {
  color: var(--wp--preset--color--white);
  font-size: clamp(1rem, 4vw - 1rem, 1.125rem);
  position: relative;
  transition: 0.2s all ease-in-out;
  padding: 15px 20px 15px 35px;
  margin: 0;
  background-color: var(--wp--preset--color--button);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='53.625' viewBox='0 0 12 53.625'%3E%3Cpath d='M26.813,0,53.625,12H0Z' transform='translate(12) rotate(90)' fill='%23887242'/%3E%3C/svg%3E");
  background-repeat: no-repeat no-repeat;
  background-position: center left;
  background-size: 14px 100%;
  border-radius: 0;
  border-width: 0;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: inherit;
  text-decoration: none;
  text-transform: uppercase;
}
.wp-site-blocks main.content .gform_wrapper .gform_footer .gform_button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 15px;
  height: 64px;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
  border-left: 18px solid var(--wp--preset--color--button-arrow);
  z-index: 1;
}
.wp-site-blocks main.content .gform_wrapper .gform_footer .gform_button:hover {
  background-color: #C3A769 !important;
  transform: translateY(-5px) !important;
  box-shadow: none !important;
}

/* Checkbox */
.wp-site-blocks main.content .gform_wrapper .horizontal-checkboxes .ginput_container_checkbox .gfield_checkbox {
  display: grid;
  grid-template: auto / 1fr 1fr 1fr;
}
.wp-site-blocks main.content .gform_wrapper .ginput_container_checkbox .gfield_checkbox .gchoice {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.wp-site-blocks main.content .gform_wrapper .ginput_container_checkbox .gfield_checkbox .gchoice label:after {
  content: "";
  background: transparent;
  width: 18px;
  height: 18px;
  display: block;
  border: 2px solid white;
  border-radius: 0;
  position: absolute;
  left: 2px;
  top: 5px;
  z-index: 0;
}
.wp-site-blocks main.content .gform_wrapper .ginput_container_checkbox .gfield_checkbox .gchoice label:before {
  content: "";
  display: block;
  position: absolute;
  width: 4px;
  height: 12px;
  border: solid var(--wp--preset--color--tertiary);
  border-width: 0 2px 2px 0;
  left: 9px;
  top: 7px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  opacity: 0;
  z-index: 1;
  -webkit-transition: all 100ms;
          transition: all 100ms;
}
.wp-site-blocks main.content .gform_wrapper .ginput_container_checkbox .gfield_checkbox .gchoice input[type="checkbox"] {
  opacity: 0;
  outline: none;
  z-index: 100;
  width: 16px;
  height: 16px;
  top: 0;
  left: 0;
  position: absolute;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}
.wp-site-blocks main.content .gform_wrapper .ginput_container_checkbox .gfield_checkbox .gchoice input[type="checkbox"] + label {
  cursor: pointer;
}
.wp-site-blocks main.content .gform_wrapper .ginput_container_checkbox .gfield_checkbox .gchoice input[type="checkbox"]:checked + label:after {
  background: white;
}
.wp-site-blocks main.content .gform_wrapper .ginput_container_checkbox .gfield_checkbox .gchoice input[type="checkbox"]:checked + label:before {
  opacity: 1;
}


/* Our Pillars */
.our-pillars svg {
  width: 64px;
  height: 75px;
}



/* Misc mobile styles */
/* 1000px */
@media only screen and (max-width: 1000px) {
  
  .industry-blocks .wp-block-columns {
    grid-template-columns: repeat(6, 1fr);
  }
  .industry-blocks .wp-block-columns .wp-block-column {
    grid-column: span 2;
  }
  .industry-blocks .wp-block-columns .wp-block-column:is(:nth-child(4), :last-child) {
    grid-column: span 3;
  }

  .skewed-overlay.home h1 {
    font-size: 2.813rem;
  }
  .skewed-overlay.home h3 {
    font-size: 1.5rem;
  }
}

/* 900px */
@media only screen and (max-width: 900px) {

  .skewed-overlay > span.wp-block-cover__background {
    transform: none !important;
  }
  .skewed-overlay.get-started > span.wp-block-cover__background {
    opacity: 1 !important;
  }
  .skewed-overlay .wp-block-columns {
    flex-flow: column;    
  }
}

/* 781px this is where columns stack */
@media only screen and (max-width: 781px) {

  .industry-blocks .wp-block-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-blocks .wp-block-columns .wp-block-column {
    grid-column: span 1;
  }
  .industry-blocks .wp-block-columns .wp-block-column:nth-child(4) {
    grid-column: span 1;
  }
  .industry-blocks .wp-block-columns .wp-block-column:last-child {
    grid-column: span 2;
  }

  .wp-block-columns {
    &.mobile-reverse-columns{
      flex-direction: column-reverse;
    }
  }
  
  .center-on-mobile {
    text-align: center;
    .wp-block-buttons,
    .wp-block-group,
    .wp-block-social-links { justify-content: center; }
  }

  .industry-blocks .wp-block-columns > div figure {
    max-width: 32px;
  }

  /* Leadership Blocks */
  .wp-block-columns.leadership {
    margin-bottom: var(--wp--preset--spacing--x-large);
  }
  .wp-block-columns.leadership > div {
    border: 2px solid var(--wp--preset--color--secondary);
    border-radius: 0;
    padding: 30px 30px 0;
  }
}

/* 600px */
@media only screen and (max-width: 600px) {
  .wp-site-blocks main.content .gform_wrapper .horizontal-checkboxes .ginput_container_checkbox .gfield_checkbox {
    grid-template: auto / 1fr 1fr;
  }
  .industry-blocks .wp-block-columns {
    grid-template-columns: 1fr;
  }
  .industry-blocks .wp-block-columns .wp-block-column:last-child {
    grid-column: span 1;
  }
}