

/* Start:/local/templates/generator/components/bitrix/news.list/documents/style.css?17762585615346*/
/* ============================================
   Список документов — на всю ширину с контейнером
   ============================================ */

.documents-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.documents-page__title {
    font-size: 36px;
    font-weight: 600;
    color: #231f20;
    margin: 0 0 32px 0;
}

.documents-wrapper {
    width: 100%;
}

/* Секция */
.documents-section {
    margin-bottom: 48px;
}

.documents-section:last-of-type {
    margin-bottom: 0;
}

.documents-section__title {
    font-size: 22px;
    font-weight: 600;
    color: #231f20;
    margin: 0 0 24px 0;
}

/* Список */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Карточка */
.documents-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f3;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.documents-card:hover {
    box-shadow: 0 4px 12px rgba(66, 174, 69, 0.08);
    border-color: #42ae45;
}

/* Изображение */
.documents-card__image {
    flex-shrink: 0;
    width: 80px;
    height: 113px;
    border-radius: 6px;
    overflow: hidden;
    background: #f7f8fa;
    border: 1px solid #eef0f3;
}

.documents-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.documents-card__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f8fa;
}

.documents-card__image--empty svg {
    width: 32px;
    height: 32px;
    opacity: 0.3;
}

/* Контент */
.documents-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.documents-card__content {
    flex: 1;
}

.documents-card__title {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1e24;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.15s ease;
}

.documents-card__title:hover {
    color: #42ae45;
}

.documents-card__description {
    font-size: 15px;
    line-height: 1.5;
    color: #5f6b7a;
    margin-bottom: 12px;
}

.documents-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.documents-card__types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.documents-card__type-badge {
    font-size: 11px;
    font-weight: 500;
    color: #42ae45;
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Пагинация */
.documents-pagination {
    margin-top: 40px;
}

.documents-pagination .modern-page-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.documents-pagination .modern-page-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background: #fff;
    border: 1px solid #e0e3e8;
    border-radius: 6px;
    font-size: 14px;
    color: #5f6b7a;
    text-decoration: none;
    transition: all 0.15s ease;
}

.documents-pagination .modern-page-navigation a:hover {
    background: #f7f8fa;
    border-color: #42ae45;
    color: #42ae45;
}

.documents-pagination .modern-page-navigation span.modern-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background: #42ae45;
    border: 1px solid #42ae45;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* Пустой список */
.documents-empty {
    padding: 60px 0;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f3;
}

.documents-empty p {
    font-size: 15px;
    color: #7f8ea4;
    margin: 0;
}

/* Адаптив — картинка всегда слева от текста */
@media (max-width: 768px) {
    .documents-page {
        padding: 24px 16px 40px;
    }
    
    .documents-page__title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .documents-section {
        margin-bottom: 36px;
    }
    
    .documents-section__title {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .documents-card {
        padding: 16px;
        gap: 14px;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    
    .documents-card__image {
        width: 70px;
        height: 99px;
    }
    
    .documents-card__body {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .documents-page {
        padding: 20px 12px 32px;
    }
    
    .documents-page__title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .documents-section__title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .documents-card {
        padding: 14px;
        gap: 12px;
        flex-wrap: nowrap;
    }
    
    .documents-card__image {
        width: 60px;
        height: 85px;
    }
    
    .documents-card__title {
        font-size: 15px;
    }
    
    .documents-card__description {
        font-size: 13px;
    }
}
/* End */
/* /local/templates/generator/components/bitrix/news.list/documents/style.css?17762585615346 */
