

/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/style.css?1757052365891*/
/* Стили для описания раздела */
.section-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid var(--theme-base-color);
}

.section-description__content {
    max-width: 100%;
}

.section-description__title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.section-description__text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .section-description {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .section-description__title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .section-description__text {
        font-size: 14px;
    }
}



/* End */


/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/page_blocks/element_school/style.css?17615657397470*/
/* Стили для школьного шаблона элемента */

.element-school-block {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Шапка с изображением */
.school-header-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.school-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 1));
    padding: 40px 30px 30px;
    display: flex;
    align-items: flex-end;
}

.school-header-title {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.school-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.school-description,
.school-details,
.school-documents,
.school-properties {
    margin-bottom: 30px;
}

.school-description h3,
.school-details h3,
.school-documents h3,
.school-properties h3,
.school-videos h3 {
    color: var(--theme-base-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--theme-base-color);
}

.description-text,
.details-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    word-wrap: break-word;
}

/* Документы */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
    border: 1px solid #E9ECEF;
    transition: all 0.3s ease;
}

.document-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #4CAF50;
}

.document-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.document-info {
    flex-grow: 1;
    margin-right: 15px;
}

.document-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: #333;
    font-weight: 600;
	overflow-wrap: anywhere;
}

.document-size {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-view,
.btn-download {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view {
    background: #2196F3;
    color: white;
}

.btn-view:hover {
    background: #1976D2;
    color: white;
    text-decoration: none;
}

.btn-download {
    background: #4CAF50;
    color: white;
}

.btn-download:hover {
    background: #45a049;
    color: white;
    text-decoration: none;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-item h4 {
    margin: 0;
	padding: 12px;
	font-size: 14px;
}

.video-preview {
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.video-info {
    padding: 20px;
}

.video-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #888;
}

.video-duration {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.video-views {
    font-weight: 500;
}

.video-embed {
    width: 100%;
    background: #000;
}

.video-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Состояние загрузки */
.video-item.loading .video-thumbnail {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.school_btn {
	margin-top: 30px;
}


.video-preview {
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.video-preview img {
    width: 100%;
    height: 100%;
    display: block;
	object-fit: cover;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}
.video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}


/* Адаптивность */
@media (max-width: 768px) {
    .school-header-image {
        height: 300px;
    }
    
    .school-header-overlay {
        padding: 30px 20px 20px;
    }
    
    .school-header-title {
        font-size: 2em;
    }
    
    .school-content {
        padding: 20px;
    }
    
    .document-item {
        flex-direction: column;
        text-align: center;
    }
    
    .document-info {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .document-actions {
        justify-content: center;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-embed iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .school-header-image {
        height: 250px;
    }
    
    .school-header-title {
        font-size: 1.5em;
    }
    
    .school-content {
        padding: 15px;
    }
    
    .btn-view,
    .btn-download {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

/* End */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/style.css?1757052365891 */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/page_blocks/element_school/style.css?17615657397470 */
