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


:root {
  /* WP resets */
  --wp--preset--color--primary: var(--wp--preset--color--dark-orange);
  /* IAR Presets */
  --iar--preset--border-radius: 2px;
  --iar--preset--transition: 0.3s all ease-in-out;
}

.wp-block-heading:is(h1, h2, h3, h4, h5, h6) .tdc-text-accent {
  text-decoration: none;
  color: var(--wp--preset--color--dark-orange);
}

p[class*="is-style-subtitle"] {
  font-size: var(--wp--preset--font-size--subtitle);
  color: var(--wp--preset--color--dark-orange);
  font-style: normal;
  font-weight: 700;
  line-height: 1.25; /* 127.273% */
  text-transform: uppercase;
}
p.is-style-prehead, .wp-block-heading:is(h1, h2, h3, h4, h5, h6).is-style-prehead {
  padding: 4px 8px;
  background-color: var(--wp--preset--color--dark-orange-30);
  border-radius: var(--iar--preset--border-radius);
  color: var(--wp--preset--color--text-color);
  font-size: var(--wp--preset--font-size--prehead);
  font-style: normal;
  font-weight: 700;
  line-height: 20px; /* 125% */
  text-transform: uppercase;
}
p.is-style-callout {
  font-size: var(--wp--preset--font-size--callout);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px; /* 127.273% */
}

/* Yoast Breadcrumbs */
.yoast-breadcrumbs > span {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}
.yoast-breadcrumbs span,
.yoast-breadcrumbs a {
  color: currentColor;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  transition: var(--iar--preset--transition);
}
.yoast-breadcrumbs a:hover {
  color: var(--wp--preset--color--light-blue-grey);
}
.yoast-breadcrumbs span.breadcrumb_last { color: var(--wp--preset--color--light-blue-grey); }
.yoast-breadcrumbs.is-centered > span,
.yoast-breadcrumbs.is-center > span {
  justify-content: center;
}
@media (max-width: 767px) {
	.wp-block-group.is-style-center-on-mobile .yoast-breadcrumbs * {
		width: auto !important;
	}
}


/* Page Hero - Home */
.wp-block-cover.page-hero--home .wp-block-cover__background {
  background: linear-gradient(270deg, rgba(255, 251, 248, 0.00) 34.3%, rgba(255, 253, 252, 0.53) 41.69%, #FFF 50.82%) !important;
}
.wp-block-cover.page-hero--home .wp-block-cover__video-background {
  transform: translateX(25%);
}
.wp-block-cover.page-hero--home .page-hero--home__logos,
.wp-block-group.trust-badges {
  display: flex;
  flex-direction: row;
  gap: var(--wp--preset--spacing--small);
  margin-top: var(--wp--preset--spacing--x-large);
}
.wp-block-cover.page-hero--home .page-hero--home__logos > *,
.wp-block-group.trust-badges > * {
  margin: 0;
}

@media (max-width: 768px) {
  .wp-block-cover.page-hero--home {
    padding-bottom: 200px !important;
  }
  .wp-block-cover.page-hero--home .wp-block-cover__video-background {
    transform: translateX(0);
    max-height: 200px;
    top: unset;
  }
  .wp-block-cover.page-hero--home .wp-block-cover__background {
    background: linear-gradient(to bottom, #FFF 80%, rgba(255,255,255,0) 100%) !important;
  }
  .wp-block-cover.page-hero--home .page-hero--home__logos,
  .wp-block-group.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: var(--wp--preset--spacing--medium);
  }
}

/* Single Post */
.single-post .yoast-breadcrumbs .breadcrumb_last {
  display: none;
}

/* Footer */
footer.site-footer .wp-block-columns.footer-links .wp-block-column:last-child {
  position: relative;
}
footer.site-footer .wp-block-columns.footer-links > .wp-block-column:last-child::before {
  content: "";
  position: absolute;
  top: calc(-1 * (var(--wp--preset--spacing--large) / 2 + 1px));
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255,255,255,0.1);
}
@media (min-width: 782px) and (max-width: 1129px) {
  footer.site-footer > .wp-block-group > .wp-block-columns:has(.footer-links) > .wp-block-column:first-child {
    flex-basis: 45% !important;
  }
  footer.site-footer .wp-block-columns.footer-links { flex-wrap: wrap !important; }
  footer.site-footer .wp-block-columns.footer-links > .wp-block-column {
    flex-basis: 100% !important;
  }
}
@media (min-width: 1130px) {
  footer.site-footer .wp-block-columns.footer-links > .wp-block-column:last-child::before {
    top: 0;
    left: calc(-1 * (var(--wp--preset--spacing--xxx-large) / 2 + 1px));
    bottom: auto;
    right: auto;
    width: 2px;
    height: 100%;
  }
}

@media (max-width: 781px) {
  footer.site-footer .wp-block-columns .wp-block-column.footer-copyright { text-align: center !important; }
  footer.site-footer .wp-block-columns .wp-block-column.footer-copyright ul.wp-block-social-links { justify-content: center !important; }
}

footer.site-footer .wp-block-columns.footer-logos>.wp-block-column > div > a { display: inline-block; }
footer.site-footer .wp-block-columns.footer-logos>.wp-block-column > div > a > img {
  width: 78%;
  height: auto;
  display: inline-block;
}
@media (max-width: 960px){
  footer.site-footer .wp-block-columns.footer-logos { flex-wrap: wrap !important; }
  footer.site-footer .wp-block-columns.footer-logos>.wp-block-column { flex-basis: 28% !important; }
}
@media (max-width: 480px){
  footer.site-footer .wp-block-columns.footer-logos>.wp-block-column { flex-basis: 44% !important; }
}