/*
 * Layout primitives reproducing Elementor's boxed sections (docs/design/tokens.md → Layout):
 * a section spans the viewport, its container is max 1200px (1024 tablet, 767 mobile) and centered,
 * each column has 15px padding (`.elementor-column-gap-default`), so content starts at x = 135 at 1440.
 *
 *   <section class="section">            full-width band (background, vertical padding)
 *     <div class="container">            flex row, max-width var(--container)
 *       <div class="col col--50">        column with 15px padding; widgets inside flow as flex-wrap items
 */
.container {
  display: flex;
  width: 100%;
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.col {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  width: 100%;
  min-height: 1px;
  padding: var(--gutter);
}

.col--50 { width: 50%; }

@media (max-width: 1024px) {
  .container { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .col--50 { width: 100%; }
}

.site-main {
  display: block;
}

/* 404 / error pages (WP Bricks 404): main is 80vh tall, h1 + 300px search form centered (docs/design/README.md). */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}
.error-page__title {
  margin: 0 0 15px;
}
.error-page__search {
  display: flex;
  width: 300px;
  max-width: 100%;
}
.error-page__search-input {
  width: 176px;
  height: 40px;
  padding: 7px 20px;
  border: 1px solid var(--gray-300);
  border-radius: 0;
  background-color: var(--color-white);
  color: var(--gray-700);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}
.error-page__text {
  margin: 0;
}
