/* 1120px */
@media (max-width: 70em) {
  .sections {
    display: none;
  }

  .sections-sidebar {
    display: flex;
    flex-direction: column;
    width: auto;
    border-bottom: 1px solid var(--background);
    gap: 0;
  }

  .section-item {
    padding: 1.2rem 2.4rem;
  }

  .selects {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 960 px */
@media (max-width: 60em) {
  .chart {
    padding: 0;
  }

  .table.mobile tbody {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .table.mobile thead {
    display: none;
  }

  .table.mobile label {
    font-weight: bold;
    display: block;
    margin: auto 0;
  }

  .table.mobile td:not(:last-child) {
    border-bottom: 1px solid var(--greyer);
  }

  .table.mobile td div {
    margin: auto 0;
  }

  .table.mobile tr {
    display: flex;
    flex-direction: column;
  }

  .table.mobile td {
    display: grid;
    grid-template-columns: 170px 1fr;
  }

  .blocks {
    grid-template-columns: 1fr;
    padding: 0;
  }
}

/* 864 px */
@media (max-width: 54em) {
  .grid--3-columns {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }
  .grid--2-columns {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }
  .justify-self-end {
    justify-self: auto;
  }
  .grid-column-2 {
    grid-column: auto;
  }
  .settings .d-grid .card:only-child {
    grid-column: 1;
  }
}

/* 672 px */
@media (max-width: 42em) {
  .selects {
    grid-template-columns: repeat(1, 1fr);
  }

  .offer-body {
    grid-template-columns: auto;
    gap: 0.4rem;
  }

  .offer-body > .value {
    margin-bottom: 0.8rem;
  }
}

/* 576 px */
@media (max-width: 36em) {
  table:not(.mobile) td {
    padding: 0.6rem 0.2rem;
  }
  .dropdown.expanded .dropdown-body {
    transform: none;
    width: 20rem;
    left: -8rem;
  }
  .table.mobile td {
    display: grid;
    grid-template-columns: 130px 1fr;
  }

  .block {
    padding: 1.6rem;
  }
}

/* 400 px */
@media (max-width: 25em) {
  .h1-bigger {
    font-size: 3.6rem;
  }
}
