/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
Text Domain:  bricks
*/

.brxe-section.site-header,
.brxe-section.hero,
.brxe-section.section,
.brxe-section.footer {
  width: 100%;
}

.brxe-container.section__inner,
.brxe-container.footer__inner,
.brxe-container.footer__base {
  width: 100%;
  max-width: var(--max);
}

.hero__inner > *,
.section__head > *,
.services > *,
.who > *,
.team-stats > *,
.steps > *,
.contact > *,
.footer__inner > *,
.footer__inner ul,
.footer__inner li,
.footer__base > *,
.profile > *,
.credentials > *,
.contact__row > *,
.compliance-bar > * {
  min-width: 0;
  width: auto;
  max-width: 100%;
}

.services,
.who,
.team-stats,
.steps,
.contact,
.footer__inner,
.footer__base,
.profile,
.credentials,
.contact__row,
.compliance-bar {
  width: 100%;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
}

.site-logo--nav {
  height: 56px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: block !important;
  padding: 0 var(--gutter);
  background: transparent;
}

.brxe-container.nav {
  position: relative;
  max-width: none !important;
  width: min(calc(100vw - (var(--gutter) * 2)), var(--max)) !important;
  display: flex;
  margin: 0 auto;
  padding: 28px 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  box-sizing: border-box;
  align-self: stretch;
  flex: 0 0 auto;
}

.brxe-container.nav__links {
  display: flex;
  width: auto;
  max-width: none;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.hero__actions {
  flex-direction: row;
}

.hero__actions {
  width: auto;
}

.hero__visual {
  border: 0;
  background: transparent;
}

.hero__visual-corners {
  display: none;
}

.hero__actions .brxe-html {
  display: inline-flex;
  width: auto;
}

.hero__consultant,
.hero__direct {
  margin: 0;
  max-width: 560px;
}

.hero__consultant {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero__direct {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.5;
}

.nav__brand p,
.footer p,
.contact__row p,
.profile__body p {
  margin: 0;
}

.nav__links a {
  display: inline-flex;
  text-decoration: none;
}

.brxe-container.hero__inner,
.brxe-container.section__inner,
.brxe-container.footer__inner,
.brxe-container.footer__base {
  max-width: var(--max);
  width: 100%;
}

.section__head {
  justify-items: stretch;
}

.section__head > :first-child,
.section__head .section__meta {
  justify-self: stretch;
  width: 100%;
}

.section__head .accent-rule {
  margin-left: 0;
}

.services {
  align-items: stretch;
}

.service {
  height: 100%;
  min-height: 0;
}

.service > * {
  width: auto;
}

.profile,
.profile__photo,
.profile__body {
  width: 100%;
}

.profile__photo {
  aspect-ratio: 4 / 3.4;
  min-height: 0;
}

.brxe-container.credentials {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.credentials > * {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
}

.brxe-block.compliance-bar,
.compliance-bar {
  flex-direction: row;
  align-items: center;
}

.compliance-bar__label {
  flex: 0 0 auto;
}

.compliance-bar > :not(.compliance-bar__label) {
  flex: 1 1 auto;
}

.footer__inner > *,
.footer__inner ul,
.footer__inner li,
.footer__col,
.footer__list,
.footer__item {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  justify-items: start !important;
  place-items: start !important;
  text-align: left !important;
}

.footer__inner > .brxe-block,
.footer__col,
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  justify-self: stretch !important;
  text-align: left !important;
}

.footer__inner ul,
.footer__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: none;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 0;
  text-align: left !important;
}

.footer__inner .brxe-heading,
.footer__inner .brxe-text-basic,
.footer__item > * {
  align-self: flex-start !important;
  justify-self: start !important;
  width: auto;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

.footer__item {
  display: flex !important;
  width: 100% !important;
}

.footer__version {
  display: none;
}

.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.06;
  mix-blend-mode: screen;
}

.footer::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -45%;
  z-index: 0;
  width: 80%;
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 140, 180, 0.25) 0%, transparent 60%);
}

.footer__inner,
.footer__base {
  position: relative;
  z-index: 1;
}

.legal-page {
  background: var(--paper);
  color: var(--ink);
}

.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 180px var(--gutter) 92px;
}

.legal-hero__inner,
.legal-content__inner {
  width: min(calc(100vw - (var(--gutter) * 2)), 900px);
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 18px 0 20px;
  color: var(--white);
  font-size: clamp(44px, 7vw, 88px);
  line-height: .92;
  letter-spacing: 0;
}

.legal-hero p:last-child {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.55;
}

.legal-content {
  width: 100%;
  padding: 88px 0 110px;
  font-size: 18px;
  line-height: 1.7;
}

.legal-content__inner h2 {
  margin: 48px 0 12px;
  font-size: 28px;
  line-height: 1.1;
}

.legal-content__inner p {
  margin: 0 0 18px;
}

.legal-content__inner a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  color: var(--grey);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (min-width: 901px) {
  .brxe-container.nav__links {
    position: static;
    transform: none;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 900px) {
  .brxe-container.nav__links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
  }

  .nav__links a {
    display: block;
  }
}

.brxe-button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  min-height: auto;
  text-indent: 0;
  white-space: normal;
}

.brxe-form.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.brxe-form.form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.brxe-form.form .form-group:nth-child(5),
.brxe-form.form .submit-button-wrapper,
.brxe-form.form .message {
  grid-column: 1 / -1;
}

.brxe-form.form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey);
}

.brxe-form.form input,
.brxe-form.form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 10px 0 14px;
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
}

.brxe-form.form input:focus,
.brxe-form.form textarea:focus {
  outline: 0;
  border-bottom-color: var(--teal);
}

.brxe-form.form textarea {
  min-height: 120px;
  resize: vertical;
}

.brxe-form.form .bricks-button {
  justify-self: start;
  border: 0;
  border-radius: 0;
  padding: 18px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background .18s ease, transform .18s ease;
}

.brxe-form.form .bricks-button:hover {
  background: var(--orange-hover);
}

.brxe-form.form .bricks-button:active {
  transform: translateY(1px);
}

.brxe-form.form .message {
  font-size: 14px;
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .hero,
  .hero__inner,
  .hero__copy,
  .hero__title,
  .hero__sub {
    max-width: 100%;
    min-width: 0;
  }

  .hero__title {
    font-size: 38px;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .brxe-form.form {
    grid-template-columns: 1fr;
  }

  .hero__actions .brxe-button.btn {
    width: 100%;
    min-height: 58px;
    padding: 16px 22px;
  }

  .legal-hero {
    padding: 142px var(--gutter) 72px;
  }

  .legal-content {
    padding: 64px 0 86px;
    font-size: 16px;
  }
}
