/* Экипировка, препараты и инструменты: каталог и открытые описания. */

.equipment-reference-heading {
    margin-bottom: 1.5rem;
}

.equipment-reference-heading h1 {
    margin-bottom: 0.35rem;
}

.equipment-reference-heading p {
    max-width: 76ch;
    text-align: left;
}

.equipment-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

.equipment-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-family: "Courier New", monospace;
    text-align: left;
}

.equipment-table th,
.equipment-table td {
    padding: 0.48rem 0.6rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.equipment-table th:last-child,
.equipment-table td:last-child {
    border-right: 0;
}

.equipment-table thead th {
    background: var(--table-header-bg);
    color: var(--table-header-color);
    white-space: nowrap;
}

.equipment-table tbody td:nth-child(n+2) {
    white-space: nowrap;
}

.equipment-table tfoot td {
    border-bottom: 0;
    color: var(--text-color);
}

.equipment-footnote-mark,
.equipment-table sup {
    color: var(--link-color);
    font-weight: bold;
}

.equipment-descriptions {
    margin-top: 2.25rem;
}

.equipment-entry {
    scroll-margin-top: 1rem;
}

.equipment-entry + .equipment-entry {
    margin-top: 2rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border-color);
}

.equipment-entry h2 {
    margin-bottom: 0.7rem;
}

.equipment-entry p {
    max-width: 90ch;
}

.equipment-reference-page > section > p,
.equipment-entry p {
    text-align: left;
}

.equipment-entry ul {
    max-width: 86ch;
}

.equipment-effects-wrap {
    max-width: 680px;
    margin-top: 0.8rem;
}

.equipment-effects {
    min-width: 460px;
}

.equipment-effects td:first-child {
    width: 7rem;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .equipment-table {
        min-width: 500px;
    }
}
