/* Стили для медиа-контента */
.media-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    font-style: italic;
    color: #666;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.video-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.video-placeholder {
    text-align: center;
    color: #6c757d;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.documents-list {
    margin-top: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.document-item:hover {
    transform: translateX(5px);
}

.document-icon {
    font-size: 2rem;
    color: #dc3545;
    margin-right: 1.5rem;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.document-info p {
    margin: 0 0 0.5rem 0;
    color: #666;
}

.document-size {
    font-size: 0.9rem;
    color: #999;
}

.download-btn {
    background: #28a745;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #218838;
    color: white;
}

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs i {
    margin: 0 0.5rem;
    color: #6c757d;
}

/* Заголовок страницы */
.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    color: #333;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Основной текстовый контент */
.text-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.text-content p {
    margin-bottom: 1.5rem;
}