/* Weapon category badges - badge left, explanation right. Rules are prefixed with .wc-block so they beat the theme's
   ".encyclopedia-body img / p" styles (frame, padding, shadow). */
.wc-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 24px;
}
.wc-block .wc-item {
    display: flex;
    align-items: stretch;
    gap: 22px;
}
.wc-block .wc-badge {
    display: block;
    flex: none;
    width: 150px;
    height: 190px;
    object-fit: contain;
    object-position: left center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.wc-block .wc-text {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 190px; /* same height as the badge, so every row is equally tall */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--panel, #10161d);
    border: 1px solid var(--border, rgba(255,255,255,.08));
}
/* Category A is prohibited weapons: red, semi-transparent block. */
.wc-block .wc-item--a .wc-text {
    background: rgba(200, 28, 38, .30);
    border-color: rgba(235, 70, 80, .65);
}
.wc-block .wc-text p { margin: 0 0 10px; }
.wc-block .wc-text p:last-child { margin-bottom: 0; }
.wc-block .wc-reasons { margin: 0 0 10px; padding: 0 0 0 22px; }
.wc-block .wc-reasons:last-child { margin-bottom: 0; }
.wc-block .wc-reasons li { margin: 0 0 4px; line-height: 1.6; }
.wc-block .wc-reasons li:last-child { margin-bottom: 0; }

@media (max-width: 520px) {
    .wc-block .wc-item { gap: 14px; }
    .wc-block .wc-badge { width: 100px; height: 130px; }
    .wc-block .wc-text { min-height: 130px; }
}
