

/* Start:/local/templates/moslombard/components/bitrix/news/documents/bitrix/news.list/.default/style.css?17751394475783*/
/* Блок документов */
.documents-section {
    width: 100%;
    padding: 0 20px;
    margin-top: 40px;
    margin-bottom: 60px;
    box-sizing: border-box;
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Карточка документа */
.document-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    height: 100%;
}

.document-card:hover {
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.12);
    border-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Верхняя часть карточки (иконка + контент) */
.document-card-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

/* Иконка документа */
.document-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #F6F5F5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-type-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Контент документа */
.document-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.document-title {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 8px 0;
    color: #1B1919;
}

.document-link {
    color: #1B1919;
    text-decoration: none;
    transition: color 0.2s;
}

.document-link:hover {
    color: #CC150D;
    text-decoration: underline;
}

.document-date {
    font-size: 1.2rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.document-description {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.4;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Кнопки документов */
.document-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #F0F0F0;
}

.doc-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background: #CC150D;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.doc-btn .btn-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.doc-btn span {
    color: #FFFFFF;
}

.doc-btn:hover {
    background: #A80E07;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(204, 21, 13, 0.3);
}

.doc-btn:active {
    transform: translateY(0);
}

/* Disabled состояние кнопок */
.doc-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.doc-btn.disabled:hover {
    background: #CC150D;
    transform: none;
    box-shadow: none;
}

/* Пагинация */
.documents-pager {
    margin-top: 30px;
    text-align: center;
}

.documents-pager.bottom {
    margin-top: 40px;
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .documents-section {
        padding: 0 10px;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .document-card {
        padding: 15px;
    }

    .document-title {
        font-size: 1.6rem;
    }

    .document-icon {
        width: 40px;
        height: 40px;
    }

    .doc-type-icon {
        width: 22px;
        height: 22px;
    }

    .document-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .doc-btn {
        padding: 8px 12px;
        font-size: 1.3rem;
    }

    .doc-btn .btn-icon {
        width: 16px;
        height: 16px;
    }
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 480px) {
    .document-card-top {
        flex-wrap: wrap;
    }

    .document-icon {
        width: 36px;
        height: 36px;
    }

    .doc-type-icon {
        width: 20px;
        height: 20px;
    }

    .document-title {
        font-size: 1.5rem;
    }

    .document-description {
        font-size: 1.3rem;
    }

    .doc-btn {
        padding: 7px 10px;
        font-size: 1.2rem;
    }

    .doc-btn .btn-icon {
        width: 14px;
        height: 14px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 375px) {
    .documents-section {
        padding: 0 8px;
    }

    .document-card {
        padding: 12px;
    }

    .document-buttons {
        gap: 6px;
    }

    .doc-btn {
        padding: 6px 8px;
        font-size: 1.1rem;
    }
}

/* Стили для пагинации */
.documents-pager .modern-page-navigation {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.documents-pager .modern-page-navigation a,
.documents-pager .modern-page-navigation span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    background: #F6F5F5;
    border-radius: 6px;
    font-size: 1.4rem;
    color: #1B1919;
    text-decoration: none;
    transition: all 0.3s ease;
}

.documents-pager .modern-page-navigation a:hover {
    background: #CC150D;
    color: #FFFFFF;
}

.documents-pager .modern-page-navigation .modern-page-current {
    background: #CC150D;
    color: #FFFFFF;
}

.documents-pager .modern-page-navigation .modern-page-dots {
    background: transparent;
}
/* End */
/* /local/templates/moslombard/components/bitrix/news/documents/bitrix/news.list/.default/style.css?17751394475783 */
