/* Mobile: keep the page inside the screen. Desktop ≥1200 is unchanged. */

@media (max-width: 1024px) {
  .hero {
    overflow-x: clip;
  }
}

@media (max-width: 820px) {
  .nav-luxe .brand {
    min-width: 0;
    overflow: hidden;
  }

  .nav-luxe .brand-mark {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sb-hub-essay__table-wrap,
  .sb-stil-essay__table-wrap {
    overflow-x: clip;
  }

  .sb-hub-essay__table,
  .sb-hub-essay__table--wide,
  .sb-stil-essay__table {
    min-width: 0;
    width: 100%;
  }

  .sb-hub-essay__table--wide thead {
    display: none;
  }

  .sb-hub-essay__table--wide,
  .sb-hub-essay__table--wide tbody,
  .sb-hub-essay__table--wide tr {
    display: block;
  }

  .sb-hub-essay__table--wide tr {
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 180, 210, 0.22);
    border-radius: 12px;
  }

  .sb-hub-essay__table--wide td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0;
    border-bottom: 0;
  }

  .sb-hub-essay__table--wide td::before {
    color: #f3c89a;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1.35;
  }

  .sb-hub-essay__table--wide td:nth-child(1)::before { content: "Аудитория"; }
  .sb-hub-essay__table--wide td:nth-child(2)::before { content: "1-я комната"; }
  .sb-hub-essay__table--wide td:nth-child(3)::before { content: "2-я"; }
  .sb-hub-essay__table--wide td:nth-child(4)::before { content: "3-я"; }
  .sb-hub-essay__table--wide td:nth-child(5)::before { content: "Триггер"; }
}
