/* ==========================================================================
Global variables

--breakpoint-wide: >1400px
--breakpoint-desktop: <1200px
--breakpoint-large-tablet: <980px
--breakpoint-tablet: <768px
--breakpoint-large-mobile: <670px
--breakpoint-mobile: <510px

========================================================================== */

:root {
  --wp--admin-bar-offset: 32px;
}

@media (max-width: 768px) {
  :root {
    --wp--admin-bar-offset: 46px;
    --wp--custom--section--spacing-y: var(--wp--preset--spacing--35);
    --wp--custom--section--spacing-x: var(--wp--preset--spacing--15);
  }
}

/* ==========================================================================
Base styles

Styles that are consistent site-wide.
========================================================================== */

/* Body
========================================================================== */

body {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: var(--wp--custom--background--body);
}

html.is-locked {
  overflow: hidden;
}

section[id],
div[id] {
  scroll-margin-top: var(--wp--custom--header-height--total);
}

/* Headings
========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: var(--wp--preset--spacing--10);
}

.wp-block-heading:only-child {
  margin-bottom: 0;
}

/* .wp-block-heading:only-of-type {
	margin-bottom: 0;
} */

@media (max-width: 670px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: var(--wp--preset--spacing--05);
  }
}

/* Paragraphs
========================================================================== */

p {
  margin-bottom: 1em;
}

p:only-of-type {
  margin-bottom: 0;
}

p:last-of-type {
  margin-bottom: 0;
}

/* Typography spacing
========================================================================== */

h1 ~ h2 {
  margin-top: var(--wp--preset--spacing--20);
}

h2 ~ h3 {
  margin-top: var(--wp--preset--spacing--20);
}

p ~ h2 {
  margin-top: var(--wp--preset--spacing--20);
}

p ~ h3 {
  margin-top: var(--wp--preset--spacing--20);
}

.wp-block-heading ~ :is(figure, iframe, video, table) {
  margin-top: var(--wp--preset--spacing--20);
}

:is(figure, iframe, video, table) + .wp-block-heading {
  margin-top: var(--wp--preset--spacing--20);
}

.wp-block-heading ~ .wpcf7 {
  margin-top: var(--wp--preset--spacing--20);
}

/* Three and four column grid */
.qt-section :is(.grid-col-3, .grid-col-4) .wp-block-image + .wp-block-heading {
  margin-top: var(--wp--preset--spacing--10);
  margin-bottom: var(--wp--preset--spacing--05);
}

/* Links
========================================================================== */

p a:hover {
  text-decoration: var(--wp--custom--link--decoration-hover);
  color: var(--wp--custom--link--color-hover);
  opacity: 0.75;
}

.qt-container:has(a) * {
  text-decoration: none;
}

/* Lists
========================================================================== */

.wp-block-list {
  list-style-position: inside;
  margin-left: 0;
  margin-top: 0;
}

.wp-block-list + .wp-block-list {
  margin-top: 1em;
}

.wp-block-list + p {
  margin-top: 1em;
}

p + .wp-block-list,
.wp-block-list + p {
  margin-top: 1em;
}

/* Buttons
========================================================================== */

/* Inputs
========================================================================== */

/* Label */
label {
  display: block;
  margin-bottom: var(--wp--preset--spacing--05);

  font-size: var(--wp--custom--form-label--font-size);
  font-weight: var(--wp--custom--form-label--font-weight);
  font-family: var(--wp--custom--form-label--font-family);

  letter-spacing: var(--wp--custom--form-label--letter-spacing);
  text-transform: var(--wp--custom--form-label--text-transform);
  line-height: var(--wp--custom--form-label--line-height);
}

/* Input fields */
input,
textarea,
select {
  width: 100%;
  box-sizing: border-box;

  padding: var(--wp--custom--form-input--padding);
  border: var(--wp--custom--form-input--border);
  border-radius: var(--wp--custom--form-input--border-radius);
  background-color: var(--wp--custom--form-input--background-color);
  color: var(--wp--custom--form-input--text-color);

  font-size: var(--wp--custom--form-text--font-size);
  font-family: var(--wp--custom--form-text--font-family);
  font-weight: var(--wp--custom--form-text--font-weight);
  letter-spacing: var(--wp--custom--form-text--letter-spacing);
  text-transform: var(--wp--custom--form-text--text-transform);
  line-height: var(--wp--custom--form-text--line-height);
}

/* Focus and active statements */
:is(select, input, textarea, radio, checkbox):is(
    :focus,
    :focus-visible,
    :focus-within,
    :active,
    :checked
  ) {
  box-shadow: 0 0 0 1px var(--wp--custom--background--primary);
  outline: none;
  /* border-color: var(--wp--custom--background--primary); */
}

/* Select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  cursor: pointer;

  background-image: url(../../images/icon-select-dropdown.svg);
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 11px;
}

/* Radio, checkbox */
input[type='radio'],
input[type='checkbox'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  cursor: pointer;
  position: relative;

  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: var(--wp--custom--checkbox--border);
  background-color: transparent;
}

input[type='checkbox'] {
  border-radius: var(--wp--custom--checkbox--border-radius);
}

input[type='radio'] {
  border-radius: var(--wp--custom--radio--border-radius);
}

input[type='checkbox']:checked,
input[type='checkbox']:not(:disabled):checked {
  background-color: var(--wp--custom--checkbox--checked-color);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32" xml:space="preserve"><path style="fill: %23163039" d="M11.941,28.877l-11.941-11.942l5.695-5.696l6.246,6.246l14.364-14.364L32,8.818"/></svg>');
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

input[type='radio']:checked,
input[type='radio']:not(:disabled):checked {
  background-color: var(--wp--custom--radio--checked-color);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 32 32"><circle cx="16" cy="16" r="8" style="fill: %23163039"/></svg>');
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Acceptance */
.acceptance {
  font-size: var(--wp--preset--font-size--s);
}

/* Submit */
.submit {
  margin: var(--wp--custom--buttons--margin);
}

input[type='submit'] {
  cursor: pointer;
  width: auto;
  line-height: 1;

  padding: var(--wp--custom--button--padding);
  border: var(--wp--custom--button--border);
  border-radius: var(--wp--custom--button--border-radius);
  transition: var(--wp--custom--button--transition);

  font-size: var(--wp--custom--button--font-size);
  font-family: var(--wp--custom--button--font-family);
  font-weight: var(--wp--custom--button--font-weight);
  text-transform: var(--wp--custom--button--text-transform);
  line-height: var(--wp--custom--button--line-height);
}

/* Colors
========================================================================== */

/* Images & videos
========================================================================== */

.wp-block-image,
picture {
  font-size: 0;
  line-height: 0;
}

.wp-block-image img {
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
}

/* Iframe & embedded
========================================================================== */

.embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.embed-container:not(:last-of-type) {
  margin-bottom: var(--wp--style--block-gap);
}

/* ==========================================================================
Layout
========================================================================== */

/* Paddings & margins
========================================================================== */

main {
  margin-top: var(--wp--custom--header-height--total);
}

.qt-section {
  padding: 0 var(--wp--custom--section--spacing-x)
    var(--wp--custom--section--spacing-y);
}

/* main > .qt-section:first-of-type:not(.is-style-breadcrumbs),
.entry-content > .qt-section:first-of-type {
	padding-top: var(--wp--custom--section--spacing-y);
} */

.is-style-breadcrumbs + .entry-content > .qt-section:first-of-type {
  padding-top: 0;
}

.qt-section .qt-section {
  padding: 0 !important;
}

.qt-section.has-background,
.qt-section__inner.has-background {
  padding: 0 var(--wp--custom--section--spacing-x);
}

.qt-section.has-background,
.qt-section__inner.has-background {
  padding: var(--wp--custom--section--spacing-y)
    var(--wp--custom--section--spacing-x);
}

.qt-section.container-fullwidth {
  padding: 0;
}

.qt-section.container-fullwidth,
.qt-section.has-background {
  margin-bottom: var(--wp--custom--section--spacing-y);
}

.qt-container.has-background {
  padding: var(--wp--preset--spacing--20);
}

.qt-section:last-of-type:is(.container-fullwidth, .has-background) {
  margin-bottom: 0;
}

/* Grids
========================================================================== */

.grid {
  display: grid;
  grid-gap: var(--wp--style--block-gap);
}

@media screen and (max-width: 1200px) {
  .grid-col-5,
  .grid-col-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 980px) {
  .grid-col-4,
  .grid-col-5,
  .grid-col-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .grid-col-3,
  .grid-col-4,
  .grid-col-5,
  .grid-col-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 670px) {
  .grid.grid-col-2 {
    grid-gap: var(--wp--preset--spacing--20);
  }

  .grid-col-2 {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 510px) {
  .grid-col-3,
  .grid-col-4,
  .grid-col-5,
  .grid-col-6 {
    grid-template-columns: 1fr;
  }
}

/* Max widths
========================================================================== */
.qt-section {
  max-width: unset !important;
  margin: unset;
}

.qt-section
  :is(
    .container-xs,
    .container-s,
    .container-m,
    .container-default,
    .container-l,
    .container-xl
  ) {
  margin: 0 auto;
  width: 100%;
}

.qt-section__inner {
  margin: 0 auto;
  max-width: var(--wp--custom--maxwidth--default);
  z-index: 2 !important;
}

.container-default,
.container-default > .qt-section__inner {
  max-width: var(--wp--custom--maxwidth--default);
}

.container-xs,
.container-xs > .qt-section__inner {
  max-width: var(--wp--custom--maxwidth--xs);
}

.container-s,
.container-s > .qt-section__inner {
  max-width: var(--wp--custom--maxwidth--s);
}

.container-m,
.container-m > .qt-section__inner {
  max-width: var(--wp--custom--maxwidth--m);
}

.container-l,
.container-l > .qt-section__inner {
  max-width: var(--wp--custom--maxwidth--l);
}

.container-xl,
.container-xl > .qt-section__inner {
  max-width: var(--wp--custom--maxwidth--xl);
}

.container-fullwidth,
.container-fullwidth > .qt-section__inner {
  max-width: var(--wp--custom--maxwidth--none);
}

/* Containers
========================================================================== */

/* Columns
========================================================================== */

/* Header banner
========================================================================== */
.header-banner {
  background-color: var(--wp--preset--color--weldingred);
  color: var(--wp--custom--text-color--inverted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  align-items: center;
  padding: 0.25rem 3rem 0.25rem var(--wp--custom--section--spacing-x);
  height: auto;
  min-height: var(--wp--custom--header-height--header-banner);
  overflow: hidden;
  transition: height 0.2s ease;
}

.header-banner p,
.header-banner a {
  color: var(--wp--custom--text-color--inverted);
}

.banner-header .accordion__header {
  margin-bottom: 0;
  cursor: initial;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#toggle-header-banner[aria-expanded='true'] {
  transform: rotate(180deg);
}

#close-header-banner {
  position: absolute;
  right: 0;
  top: 22px;
  transform: translateY(-50%);
}

.header-banner p {
  margin: 0;
  font-family: var(--wp--preset--font-family--body);
  line-height: 1.15;
}

.header-banner button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  transition: transform 0.2s ease;
}

.header-banner button.is-open {
  transform: rotate(180deg);
}

.header-banner button img {
  filter: invert(1);
}

.header-banner .accordion__header {
  display: flex;
  align-items: center;
}

/* Header
========================================================================== */

.admin-bar header.wp-block-template-part {
  top: var(--wp--admin-bar-offset);
}

header.wp-block-template-part {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--wp--custom--background--body);
  z-index: 2;
}

.is-style-header-top {
  height: var(--wp--custom--header-height--header-top);
  padding: 0.875rem var(--wp--custom--section--spacing-x);
}

.is-style-header-top .qt-section__inner {
  height: 100%;
}

.is-style-header-top .grid {
  grid-template-columns: auto 1fr auto;
}

.is-style-header-bottom {
  height: var(--wp--custom--header-height--header-bottom);
  padding: 0.875rem var(--wp--custom--section--spacing-x);
}

/* Navigation menu */
.is-style-header-top .qt-container:has(.mega-menu) {
  display: flex;
  align-items: center;
  gap: var(--wp--style--block-gap);
  justify-content: flex-end;
}

header .menu .menu-item {
  color: var(--wp--custom--text-color--primary);
}

/* Hamburger menu */
.admin-bar .mega-menu.is-open {
  margin-top: var(--wp--admin-bar-offset);
  padding: 1rem var(--wp--custom--section--spacing-x) 3rem;
  overflow-y: auto;
  height: calc(100% - 2rem);
}

@media (max-width: 1100px) {
  .admin-bar .mega-menu-item > .sub-menu,
  .admin-bar .mega-menu-item .sub-menu .sub-menu {
    top: 0;
    height: 100%;
    max-height: 100%;
  }

  .mega-menu-item-parent .chevron {
    transform: rotate(-90deg) scale(1.25) !important;
  }

  .mega-menu-back {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .mega-menu-back .mega-menu-back-btn {
    font-size: 0;
  }

  .mega-menu-back button img {
    transform: rotate(90deg) scale(1.25);
  }

  .mega-menu-item .sub-menu.is-open {
    padding-top: var(--wp--preset--spacing--15);
    max-height: 100%;
    height: 100%;
  }

  .mega-menu-item .sub-menu.is-open .submenu-heading {
    margin: 0;
    justify-content: center;
  }

  .mega-menu.is-open .mega-menu-overlay {
    top: 0 !important;
    opacity: 1 !important;
  }

  .mega-menu-overlay.is-sub-menu-open {
    top: 0 !important;
    opacity: 1 !important;
  }

  .mega-menu .menu > .menu-item > span {
    font-size: var(--wp--preset--font-size--m);
  }

  .mega-menu .menu > .menu-item > a {
    font-size: 1rem;
  }
}

/* Footer
========================================================================== */

.is-style-footer-top {
  background-color: var(--wp--custom--background--primary);
}

.is-style-footer-top .grid {
  grid-gap: var(--wp--preset--spacing--40);
}

.is-style-footer-bottom {
  background-color: var(--wp--custom--background--primary);
}

.is-style-footer-bottom .qt-section__inner {
  border-top: var(--wp--custom--border--width) var(--wp--custom--border--style)
    var(--wp--custom--border--color);
  padding-top: var(--wp--preset--spacing--25);
}

/* Footer text */
.is-style-footer-top .is-style-footer-heading {
  font-size: var(--wp--preset--font-size--l);
  font-family: var(--wp--preset--font-family--heading);
}

.is-style-footer-top :is(p, a),
.is-style-footer-bottom :is(p, a) {
  font-size: var(--wp--preset--font-size--s);
}

/* Footer menu */
.footer-menu .menu {
  display: block;
}

.footer-menu .menu a {
  display: inline-block;
  padding: 0.25em 0;
}

.accordion-menu .accordion-icon__inner {
  border-color: var(--wp--preset--color--white);
}

.accordion-menu .accordion-icon__inner:before,
.accordion-menu .accordion-icon__inner:after {
  background-color: var(--wp--preset--color--white);
}

@media (min-width: 769px) {
  .accordion-menu .accordion-item {
    cursor: text;
  }

  .accordion-menu .accordion-item__heading {
    pointer-events: none;
  }

  .accordion-menu .accordion-item__content {
    max-height: unset;
  }

  .accordion-menu .accordion-item__icon {
    display: none;
  }
}

@media (max-width: 768px) {
  .is-style-footer-top .grid {
    grid-gap: var(--wp--preset--spacing--20);
  }

  .is-style-footer-bottom .wp-block-site-logo {
    text-align: center;
  }

  .is-style-footer-bottom .payment-methods {
    justify-content: center !important;
  }
}

/* ==========================================================================
Utility classes

Reusable classes for global styles.
========================================================================== */

.is-horizontally-stretched {
  grid-column: 1 / -1;
}

.qt-section.is-style-align-left {
  margin-left: 0;
}

.qt-section.is-style-align-right {
  margin-right: 0;
}

.qt-section.is-style-no-padding-bottom {
  padding-bottom: 0;
}

.qt-section.is-style-no-margin-bottom {
  margin-bottom: 0;
}

/* ==========================================================================
Component styles

Make sure the styles are neutral so it can be customized in theme style.
========================================================================== */

/* Google Map
========================================================================== */
.acf-map {
  width: 100%;
  height: 450px;
}

.acf-map img {
  max-width: inherit !important;
}

/* Buttons
========================================================================== */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  grid-gap: var(--wp--custom--buttons--gap);
  margin: var(--wp--custom--buttons--margin);
}

.wp-block-button__link {
  display: inline-block;
  transition: var(--wp--custom--button--transition);
  border: var(--wp--custom--button--border);
}

/* Forms
========================================================================== */

.wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: var(--wp--preset--spacing--15);
}

.wpcf7-form p:nth-last-of-type(-n + 3) {
  grid-column: 1 / -1;
}

.wpcf7-form p {
  margin-bottom: 0;
}

.wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--05);
}

span.wpcf7-spinner {
  display: none;
}

.wpcf7-form .submit {
  margin: 0;
}

.wpcf7-form p:has(.wpcf7-validates-as-required) label::after {
  content: '';
  margin: 0 0.2em 0;
  padding: 0.15em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill="%23000000" d="M110 16 76 57v1l51-10v32l-51-9-1 1 35 39-28 17-18-50-1 1-18 49-28-17 34-40-50 9V48l50 10v-1L17 17 46 1l17 48h1L82 1l28 15z"/></svg>')
    no-repeat 0 25%;
  filter: invert(20%) sepia(30%) saturate(2402%) hue-rotate(319deg)
    brightness(110%) contrast(95%);
}

.wpcf7-not-valid-tip {
  font-size: var(--wp--preset--font-size--xs);
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  font-size: var(--wp--preset--font-size--xs);
  border-width: 1px;
  padding: 0.5em 0.75em;
  grid-column: 1 / -1;
  margin: 0;
  color: #ffb900;
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7-radio,
.wpcf7-checkbox,
.wpcf7-acceptance {
  display: flex;
  grid-gap: 8px;
  flex-direction: column;
}

.wpcf7-radio label,
.wpcf7-checkbox label,
.wpcf7-acceptance label {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 670px) {
  .wpcf7-form {
    grid-template-columns: minmax(0, 1fr);
    grid-gap: var(--wp--preset--spacing--15);
  }
}

/* Cards
========================================================================== */

/* Accordion
========================================================================== */

.accordion-item {
  height: fit-content;
  margin-bottom: var(--wp--preset--spacing--30);
}

.accordion-item:last-of-type {
  margin-bottom: 0;
}

/* Accordion heading */
.accordion-item__heading * {
  pointer-events: none;
}

.accordion-item__heading {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
  align-items: center;
  grid-gap: var(--wp--style--block-gap);
  cursor: pointer;
  line-height: normal;
}

.accordion-item__heading h2 {
  line-height: inherit;
  font-size: var(--wp--preset--font-size--l);
  margin: 0;
}

/* Accordion content */
.accordion-item__content {
  max-height: 0;
  transition: max-height 150ms linear;
  overflow: hidden;
  max-width: 100%;
  height: fit-content;
}

.accordion-item__content * {
  font-size: var(--wp--preset--font-size--regular);
}

.accordion-content__inner {
  padding-top: var(--wp--preset--spacing--10);
}

/* Accordion icon */
.accordion-item__icon {
  display: flex;
  cursor: pointer;
  padding: 3.5px;
  height: 100%;
}

.accordion-item__icon {
  padding: 0;
}

.accordion-item__icon img {
  transition: all 150ms linear;
}

.accordion-item.is-open .accordion-item__icon img {
  transform: rotate(-180deg);
}

.accordion-icon__inner::before,
.accordion-icon__inner::after {
  display: none;
}

.accordion-icon__inner {
  border: none;
  border-radius: 0;
}

/* Splide slider
========================================================================== */

.splide .splide__arrow {
  height: 3em;
  width: 3em;
  background-color: #fff;
  opacity: 1;
}

.splide .splide__arrow:disabled {
  opacity: 0;
}

.splide__arrow--prev {
  left: 0;
}

.splide__arrow--next {
  right: 0;
}

/* Content with read more
========================================================================== */
[data-readmore-content] {
  max-height: 75px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.2s linear;
}

[data-readmore-content]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2rem;
  background: linear-gradient(
    0deg,
    var(--wp--custom--background--body),
    rgba(255, 255, 255, 0)
  );
  transition: max-height 0.2s linear;
}

.is-open[data-readmore-content]::after {
  display: none;
}

[data-readmore-button] {
  background-color: transparent;
  box-shadow: none;
  border: none;
  margin-top: 1em;
  transition: var(--wp--custom--button--transition);
  cursor: pointer;

  font-size: var(--wp--preset--font-size--regular);
  color: inherit;
  font-family: inherit;
  font-weight: 400;
}

[data-readmore-button]:hover {
  opacity: 0.75;
  text-decoration: underline;
}

@media (max-width: 510px) {
  [data-readmore-content] {
    max-height: 100px;
  }

  [data-readmore-content]::after {
    height: 2rem;
    background: linear-gradient(
      0deg,
      var(--wp--custom--background--body),
      rgba(255, 255, 255, 0.25)
    );
  }
}

/* Breadcrumbs
========================================================================== */

.is-style-breadcrumbs {
  padding-top: var(--wp--preset--spacing--10);
  /* padding-bottom: 0; */
}

/* ==========================================================================  
Custom Sections & Blocks  
========================================================================== */

/* Hero & Subhero
========================================================================== */

main > .qt-section:is(.is-style-hero, .is.style-subhero),
.entry-content > .qt-section:is(.is-style-hero, .is-style-subhero) {
  padding-top: 0;
}

.is-style-hero .wp-block-cover {
  min-height: unset !important;
  height: calc(100vh - var(--wp--custom--header-height--total));
  max-height: 700px;
  align-items: center;
  padding: var(--wp--custom--section--spacing-y)
    var(--wp--custom--section--spacing-x);
}

.is-style-hero .wp-block-cover__inner-container {
  max-width: var(--wd-container-extra-large);
  width: 100% !important;
  margin: 0 auto var(--section-padding) !important;
}

.is-style-subhero .wp-block-cover {
  min-height: unset !important;
  height: 400px;
  align-items: center;
  padding: var(--wp--custom--section--spacing-y)
    var(--wp--custom--section--spacing-x);
}

@media (max-width: 768px) {
  .is-style-hero .wp-block-cover {
    height: calc(75vh - var(--wp--custom--header-height--total));
  }

  .is-style-subhero .wp-block-cover {
    min-height: 300px;
  }
}

/* FAQ
========================================================================== */
.faq {
  background-color: var(--wp--custom--background--secondary);
  border-radius: 0;
}

.faq .accordion-item {
  margin-bottom: 0;
  padding: 1.25rem var(--wp--preset--spacing--20);
  transition: all 150ms linear;
}

.faq .accordion-item:hover {
  cursor: pointer;
}

.faq .accordion-item:not(:last-of-type) {
  border-bottom: 1px solid var(--wp--custom--border--color);
}

.faq .accordion-item__heading {
  line-height: inherit;
  margin: 0;
  align-items: baseline;
}

.faq .accordion-item__heading .wp-block-heading {
  font-size: var(--wp--preset--font-size--m);
}

@media screen and (max-width: 670px) {
  .faq .accordion-item {
    padding-left: var(--wp--preset--spacing--15);
    padding-right: var(--wp--preset--spacing--15);
  }
}

/* ==========================================================================
Responsive styles (?)
========================================================================== */
