@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

html {
  background: linear-gradient( rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1) ), url("/images/static/houses.svg") center/cover no-repeat;
  background-color: rgb(255 255 255 / 50%);
  background-origin: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Roboto Condensed', Arial, sans-serif;
  width: fit-content;
  margin: 0 auto;
}

div.container-topbar {
  background: var(--cassiopeia-color-link);
  padding: 0 0.5rem 0.5rem 1rem;
}

button.navbar-toggler {
  margin-top: 0.5rem;
}

.container-header nav {
  margin-top: 0;
  border-radius: 1rem;
}

/* если главное меню в позиции menu */
div.container-nav:has(ul#main-menu) {
  background: var(--cassiopeia-color-link);
  padding: 0 0.5rem 0.5rem 1rem;
}

@media (width < 576px) {
  div#header_content {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  div.header_content__banner {
    display: none;
  }
  div#header_content div {
    height: 80%;
  }
  div#header_content h1 {
    font-size: 1.5rem;
  }
}

body > header.header.container-header.full-width {
  background: white;
}

div#header_content  {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: white;
  color: black;
  gap: 1rem;
  padding: 1rem 1rem 0 1rem;
  /* border-bottom: 2px solid var(--cassiopeia-color-primary); */
}

section.moduletable.header_section {
    width: 100%;
}

@media (width < 576px) {
  div#footer_info {
    flex-direction: column;
  }
}

div#footer_info  {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.footer .grid-child {
  display: block;
}

.blog-item .item-image {
  min-width: 25%;
  max-width: 25%;
}

.blog-item a {
  text-decoration: none;
}

.blog-item a:hover {
  text-decoration: underline;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
  font-size: 1.25rem;
}

h3, .h3 {
  font-size: 1.2rem;
}

body > div.site-grid > div.grid-child.container-component > main > div > figure {
  float: none;
  margin-right: 2rem;
}

div.convertforms.cf {
  max-width: none;
}
