/* Стили шаблона template-video.php. Порядок правил и подключения сохранён; файл кэшируется браузером. */
/* Кнопка "Показать ещё" */
.wm-load-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
}

.wm-load-more {
    min-width: 230px;
    min-height: 48px;
    padding: 12px 28px;
    cursor: pointer;
}

.wm-load-more:disabled {
    opacity: 0.65;
    cursor: default;
}

/* Стили для сворачиваемых блоков таксономий (вертикальное расположение) */
.wm-filter-row--taxonomies {
    margin-bottom: 20px;
}
.wm-filter-block--taxonomies {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wm-tax-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
}
.wm-tax-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.wm-tax-label {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}
.wm-collapse-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
.wm-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.wm-collapse-content {
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    opacity: 1;
}
.wm-collapse-content.collapsed {
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
}
.wm-tax-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
.wm-tax-link {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    transition: color 0.2s;
}
.wm-tax-link:hover {
    color: var(--accent);
}

.wm-districts-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wm-district-link {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}
.wm-district-link:hover {
    background: var(--accent);
    border-color: var(--accent);
}
/* Стили для блока районов (аналогично услугам) */
.wm-filter-row--districts {
    grid-template-columns: 1fr;
    margin-bottom: 14px;
}
