
/* Фикс перекрытия ссылок */
.cm-card-safe { position: relative; z-index: 1; }


/* Ховеры */
.cm-hover-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cm-hover-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important; border-color: #a3c7fa !important; }

/* Тексты */
.cm-section-title { font-size: 1.5rem; font-weight: bold; color: #212529; margin-bottom: 1.5rem; border-left: 4px solid #0d6efd; padding-left: 12px; }
.cm-meta-date { font-size: 0.85rem; font-weight: 700; color: #0d6efd; }
.cm-meta-spec { font-size: 0.8rem; color: #6c757d; }

/* Премиум фильтр (с защитой от перекрытия) */
















/* Ховер для целой карточки-ссылки */
a.cm-card-link-block { display: flex; flex-direction: column; text-decoration: none !important; color: inherit; }
a.cm-card-link-block:hover .cm-card-title-text { color: #0d6efd; }

/* --- ФИЛЬТР В СТИЛЕ AUTH.CON-MED.RU --- */
.cm-filter-box {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    position: relative;
    z-index: 1050;
}
.cm-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
    display: block;
    text-transform: none; /* Убираем капс, делаем как в формах регистрации */
    letter-spacing: normal;
}
.cm-filter-input {
    width: 100%;
    height: 48px; /* Крупные, удобные поля */
    padding: 0 16px;
    font-size: 15px;
    color: #111827;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.2s;
    box-sizing: border-box;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.cm-filter-input:focus {
    border-color: #2563eb; /* Акцентный синий при фокусе */
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.cm-filter-btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}
.cm-filter-btn-reset {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.cm-filter-btn-reset:hover {
    background: #e5e7eb;
    color: #111827;
}
