/*
 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.0
 Text Domain:  bricks
*/



.form {
  gap: var(--space-xs)
}

:where(.brxe-form) .form-group {
  flex-basis: 100%;
  width: unset;
  padding: unset;
}



:where(.form--row) {
  flex-direction: row;
  align-items: flex-end;
}
:where(.form--row) .form-group {
  flex-basis: 30%;
  flex-grow: 1;
}

:where(.form--row) .captcha {
  flex-basis: 100%;
  order: 1;
}

:where(.form--row) .submit-button-wrapper {
  width: auto;
  flex-basis: 10%;
}

@media (max-width: 767px) {
    .form--row {
        flex-direction: column;
        flex-wrap: wrap;
    }
}

textarea {
  min-height: 20rem
}



.wp-block-image,
.wp-block-video,
figcaption,
figure {
  margin: 0;
}


.post__img-row {
  display: flex;
  flex-direction: row;
  gap: var(--content-gap);
  margin-bottom: var(--space-lg);
  align-items: stretch;
}

.house__group {
  display: flex;
  width: 100%;
  max-width: var(--width-md);
  align-self: center;
  margin-bottom: var(--space-md);
}

.house__post-content img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
}


blockquote {
  background-color: var(--bg-beta);
  padding: var(--card-space-lg);
  border-radius: var(--radius-card);
  border: none
}

figcaption {
  color: var(--bricks-text-light);
  font-size: .9em;
  text-align: center;
  margin: 0.5em 0;
}


/*
.wp-block-table.is-style-stripes {
  border: none !important;
  border-radius: var(--radius-card);
}

.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th {
  border: none !important;
}

.wp-block-table td, .wp-block-table th {
    border: 1px solid;
    padding: var(--card-space-sm);
  text-align: left;
}

.wp-block-table thead {
    border-bottom: 2px solid var(--border-primary)!important;
}

.wp-block-table tfoot {
    border-top: 2px solid var(--border-primary)!important;
} */

@media (max-width: 768px) {

  /* Контейнер таблицы */
  .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Таблица */
  .wp-block-table table {
    min-width: 700px;
    /* оставляем скролл */
    border-collapse: collapse;
  }

  /* Ячейки */
  .wp-block-table th,
  .wp-block-table td {
    max-width: 240px;
    white-space: normal;
    /* разрешаем перенос */
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}



.wp-block-table {
  border-radius: var(--radius-card);
  margin-bottom: var(--space-md);
}


.wp-block-table thead {
  background: var(--bg-alpha);
  border: 1px solid var(--border-secondary) !important;
}

.wp-block-table tfoot {
  background: var(--bg-alpha);
  border-top: 1px solid var(--border-secondary) !important;
}

.wp-block-table td,
.wp-block-table th {
  border: 1px solid var(--border-secondary) !important;
  padding: .5em;
}

/* GLOBALCLASS: DESKTOP */
.divider {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
  justify-content: center;
  max-width: 100%;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid !important;
  color: var(--border-secondary);
}

.post__faq {
  padding-top: var(--card-space-lg);
  padding-right: var(--card-space-lg);
  padding-bottom: var(--card-space-lg);
  padding-left: var(--card-space-lg);
  border-radius: var(--radius-card);
  background-color: var(--bg-alpha);
}

.text--lg {
  font-size: var(--text-lg);
}

.text--xl {
  font-size: var(--text-xl);
}

.link--white,
.link--white a {
  color: var(--white)!important
}

.link--white:hover {
  color: var(--primary-l-2)!important
}