/*
 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
*/

html {
  scroll-behavior: smooth;
}

#brx-content > section {
  --content-max: 1240px;
  padding-top: 100px;
  padding-bottom: 100px;
  padding-inline: max(100px, calc((100% - var(--content-max)) / 2)) !important;

  @media (max-width: 1024px) {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-inline: 50px !important;
  }
  @media (max-width: 768px) {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-inline: 25px !important;
  }
}

.brxe-container {
  width: 100%;
  margin: 0;
}

/* Component instances at top level of the single post template render as div, not section */
.single-post #brx-content > div.brxe-section {
  padding-top: 100px;
  padding-bottom: 100px;
  padding-inline: max(100px, calc((100% - 1240px) / 2));

  @media (max-width: 1024px) {
    padding: 50px;
  }
  @media (max-width: 768px) {
    padding: 25px;
  }
}

.menu-footer.brxe-nav-menu .bricks-nav-menu > li {
  margin-top: 4px !important;
}

.menu-button {
  display: flex;
  height: 40px;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;

  border-radius: 12px;

  &.blue-transparent {
    border: 1.5px solid var(--Dark-Blue, #5a676f);
  }

  &.blue {
    border: 1.5px solid var(--Dark-Blue, #5a676f);
    background-color: var(--Dark-Blue, #5a676f);
    color: var(--White);
  }

  a,
  button {
    color: inherit;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  hyphens: auto;
}
