

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news.list/spec_eduAccred/style.css?17802480435369*/
/* ==========================================================================
   1. СЕТКА ПЛИТОК (CSS Grid)
   ========================================================================== */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   2. КОНСТРУКЦИЯ КАРТОЧКИ
   ========================================================================== */
.edu-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.edu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Шапка карточки */
.edu-card__header {
    padding: 20px 20px 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    background-color: #f8fafc;
}

.edu-card__code {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
    background-color: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.edu-card__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    margin: 0;
}

/* Тело контента карточки */
.edu-card__body {
    padding: 20px;
    flex-grow: 1; /* Позволяет телу занимать все свободное место */
}

.edu-card__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edu-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.edu-card__meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}

.edu-card__meta-value {
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
}

/* Подвал карточки */
.edu-card__footer {
    padding: 0 20px 20px 20px;
    display: flex;
    gap: 10px;
}

.edu-card__action {
    flex: 1;
}

/* ==========================================================================
   3. КНОПКИ
   ========================================================================== */
.edu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 13px;
    padding: 8px 16px;
    color: #0d6efd;
    background-color: transparent;
    border: 1px solid #0d6efd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    box-sizing: border-box;
}

.edu-btn:hover {
    color: #fff;
    background-color: #0d6efd;
}

.edu-btn--full {
    width: 100%;
}

.edu-btn--secondary {
    color: #64748b;
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.edu-btn--secondary:hover {
    color: #1e293b;
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

.edu-btn--disabled {
    color: #94a3b8;
    border-color: #e2e8f0;
    background-color: #f8fafc;
    cursor: not-allowed;
}

/* ==========================================================================
   4. НАТИВНЫЕ МОДАЛЬНЫЕ ОКНА <dialog>
   ========================================================================== */
.edu-dialog {
    border: none;
    border-radius: 12px;
    padding: 0;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.edu-dialog::backdrop {
    background-color: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
}

.edu-dialog[open] {
    animation: eduFadeIn 0.2s ease-out;
}

.edu-dialog__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.edu-dialog__title {
    font-size: 16px;
    margin: 0;
    color: #1e293b;
}

.edu-dialog__close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    padding: 0;
}

.edu-dialog__close:hover {
    color: #1e293b;
}

.edu-dialog__body {
    padding: 24px;
    max-height: 60vh; /* Ограничиваем контент по высоте, если он огромный */
    overflow-y: auto;
}

.edu-dialog__subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.edu-dialog__content {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.edu-dialog__footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 24px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

@keyframes eduFadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news.list/spec_eduAccred/style.css?17802480435369 */
