/* commands.css — стили страницы списка команд (BEM) */

.commands__container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin: auto;
}

.commands__row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  justify-content: center;
}

.commands__craft {
  background: hsla(240, 7%, 12%, 0.88);
  padding: 25px;
  border-bottom: 7px solid rgba(85, 122, 149, 0.7);
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  border-radius: 10px;
  margin-bottom: 100px;
  margin-top: 0;
}

.commands__static img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.commands__table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.commands__table tbody tr:hover td {
  background-color: rgba(90, 185, 234, 0.08);
}

.commands__table td {
  border-bottom: 1px solid rgba(90, 185, 234, 0.15);
}

.commands__table th {
  border-bottom: 2px solid rgba(90, 185, 234, 0.3);
}

.commands__table thead {
  color: #d5dfea;
  text-align: center;
  border-bottom: 3px solid rgba(90, 185, 234, 0.3);
}

.commands__lead {
  font-size: 1rem;
  font-weight: 300;
  padding: 9px;
  margin-bottom: 0;
}

.commands__section-title { margin-left: 7px; }
.commands__edition       { float: right; }

@media (min-width: 576px)  { .commands__container { max-width: 540px; } }
@media (min-width: 768px)  { .commands__container { max-width: 720px; } }
@media (min-width: 992px)  { .commands__container { max-width: 960px; } }
@media (min-width: 1200px) { .commands__container { max-width: 1140px; } }

/* === table.css rules, scoped === */
.commands__table {
  border: 1px solid rgba(90, 185, 234, 0.2);
  margin: 0;
  padding: 0;
  table-layout: fixed;
}

.commands__table tr {
  border: 1px solid rgba(90, 185, 234, 0.12);
  padding: .35em;
}

.commands__table th,
.commands__table td {
  padding: .625em;
  text-align: center;
  color: #d5dfea;
}

.commands__table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5AB9EA;
}

@media screen and (max-width: 991px) {
  .commands__table { border: 0; }

  .commands__table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .commands__table tr {
    border-bottom: 3px solid rgba(90, 185, 234, 0.2);
    display: block;
    margin-bottom: .625em;
  }

  .commands__table td {
    border-bottom: 1px solid rgba(90, 185, 234, 0.15);
    display: block;
    font-size: .8em;
    text-align: right;
  }

  .commands__table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  .commands__table td:last-child { border-bottom: 0; }
}
