.mto-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.mto-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.mto-header {
    margin-bottom: 30px;
}

.mto-header h1 {
    color: var(--heading-color, #333333);
    font-size: var(--h2-font-size, 24px);
    font-weight: var(--heading-font-weight, 700);
    font-family: var(--heading-font-family, inherit);
    line-height: var(--heading-h2-line-height, 1.24);
    letter-spacing: var(--heading-letter-spacing, normal);
    margin: 0 0 15px 0;
}

.mto-subtitle {
    color: var(--body-text-color, #4a5568);
    font-size: var(--body-font-size, 16px);
    line-height: var(--body-line-height, 1.6);
    margin: 0;
}

.mto-accordion {
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.mto-accordion-item {
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.mto-accordion-item:last-child {
    border-bottom: none;
}

.mto-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.mto-accordion-header:hover {
    background-color: #f7fafc;
}

.mto-accordion-item.active .mto-accordion-header {
    background-color: #f7fafc;
}

.mto-accordion-title {
    font-size: var(--body-font-size, 16px);
    font-weight: 600;
    color: var(--heading-color, #2d3748);
    font-family: var(--heading-font-family, inherit);
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
}

.mto-icon {
    font-size: 20px;
    color: #718096;
    font-weight: 300;
    min-width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    line-height: 1;
}

.mto-accordion-item.active .mto-icon {
    transform: rotate(180deg);
}

.mto-accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #ffffff;
    transition: max-height 0.4s ease-out;
}

.mto-accordion-item.active .mto-accordion-content {
    max-height: 3000px;
    transition: max-height 0.6s ease-in;
}

.mto-accordion-content-inner {
    padding: 0 20px 20px 20px;
}

.mto-accordion-content p {
    color: var(--body-text-color, #4a5568);
    font-size: var(--body-font-size, 14px);
    line-height: var(--body-line-height, 1.7);
    margin: 0 0 15px 0;
}

.mto-accordion-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .mto-header h1 {
        font-size: var(--h3-font-size, 20px);
    }
    .mto-subtitle {
        font-size: 14px;
    }
    .mto-accordion-header {
        padding: 14px 16px;
    }
    .mto-accordion-title {
        font-size: 14px;
    }
    .mto-accordion-content-inner {
        padding: 0 16px 16px 16px;
    }
    .mto-accordion-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mto-header h1 {
        font-size: 18px;
    }
    .mto-subtitle {
        font-size: 13px;
    }
    .mto-accordion-title {
        font-size: 13px;
        padding-right: 10px;
    }
}

/* Секции с файлами */
.mto-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.mto-section:first-of-type {
    margin-top: 50px;
}

.mto-section-title {
    color: var(--heading-color, #1a202c);
    font-size: var(--h3-font-size, 22px);
    font-weight: var(--heading-font-weight, 700);
    font-family: var(--heading-font-family, inherit);
    line-height: var(--heading-h3-line-height, 1.42);
    margin: 0 0 12px 0;
}

.mto-section-description {
    color: var(--body-text-color, #4a5568);
    font-size: var(--body-font-size, 14px);
    line-height: var(--body-line-height, 1.6);
    margin: 0 0 8px 0;
}

.mto-found {
    color: #718096;
    font-size: 13px;
    margin: 0 0 20px 0;
}

.mto-file-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.mto-file-item:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.mto-file-icon {
    flex-shrink: 0;
    margin-right: 16px;
}

.mto-file-info {
    flex: 1;
}

.mto-file-title {
    color: var(--heading-color, #2d3748);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mto-file-meta {
    color: #718096;
    font-size: 12px;
    line-height: 1.4;
}

.mto-file-download {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mto-file-download:hover {
    background: #edf2f7;
    color: #2d3748;
}

.mto-download-icon {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 768px) {
    .mto-section {
        margin-top: 40px;
        padding-top: 25px;
    }
    
    .mto-section-title {
        font-size: 18px;
    }
    
    .mto-section-description {
        font-size: 13px;
    }
    
    .mto-file-item {
        padding: 12px 16px;
    }
    
    .mto-file-icon {
        margin-right: 12px;
    }
    
    .mto-file-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .mto-file-title {
        font-size: 14px;
    }
    
    .mto-file-meta {
        font-size: 11px;
    }
    
    .mto-file-download {
        width: 36px;
        height: 36px;
    }
    
    .mto-file-download svg {
        width: 20px;
        height: 20px;
    }
}

/* Дополнительные стили для новых разделов */
.mto-section-text {
    color: var(--body-text-color, #4a5568);
    font-size: var(--body-font-size, 14px);
    line-height: var(--body-line-height, 1.6);
    margin: 20px 0 10px 0;
}

.mto-list {
    margin: 10px 0 30px 20px;
    padding: 0;
}

.mto-list li {
    color: var(--body-text-color, #4a5568);
    font-size: var(--body-font-size, 14px);
    line-height: 1.8;
    margin-bottom: 8px;
}

.mto-subsection-title {
    color: var(--heading-color, #2d3748);
    font-size: var(--h4-font-size, 18px);
    font-weight: var(--heading-font-weight, 600);
    font-family: var(--heading-font-family, inherit);
    line-height: var(--heading-h4-line-height, 1.56);
    margin: 30px 0 12px 0;
}

.mto-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.mto-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f7fafc;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mto-card:hover {
    background: #fff;
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.mto-card-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.mto-card-title {
    color: var(--heading-color, #2d3748);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--heading-font-family, inherit);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .mto-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mto-card {
        padding: 16px;
    }
    
    .mto-card-icon {
        font-size: 28px;
        margin-right: 12px;
    }
    
    .mto-card-title {
        font-size: 14px;
    }
    
    .mto-subsection-title {
        font-size: 16px;
    }
    
    .mto-section-text,
    .mto-list li {
        font-size: 13px;
    }
}

/* Галерея фотографий */
.mto-gallery {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.mto-gallery-container {
    overflow: hidden;
    border-radius: 12px;
    background: #f7fafc;
}

.mto-gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.mto-gallery-item {
    min-width: 100%;
    flex-shrink: 0;
    aspect-ratio: 16/9;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mto-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mto-gallery-prev,
.mto-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color, #e2e8f0);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #2d3748;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 300;
}

.mto-gallery-prev {
    left: 20px;
}

.mto-gallery-next {
    right: 20px;
}

.mto-gallery-prev:hover,
.mto-gallery-next:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.05);
}

/* Баннер электронных ресурсов */
.mto-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(253, 203, 110, 0.3);
}

.mto-banner-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.mto-banner-content {
    flex: 1;
}

.mto-banner-title {
    color: #2d3748;
    font-size: var(--h4-font-size, 20px);
    font-weight: var(--heading-font-weight, 700);
    font-family: var(--heading-font-family, inherit);
    margin: 0 0 8px 0;
}

.mto-banner-text {
    color: #2d3748;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.mto-banner-button {
    padding: 12px 32px;
    background: #5b67ca;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mto-banner-button:hover {
    background: #4850b5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 103, 202, 0.4);
}

@media (max-width: 768px) {
    .mto-gallery-prev,
    .mto-gallery-next {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .mto-gallery-prev {
        left: 10px;
    }
    
    .mto-gallery-next {
        right: 10px;
    }
    
    .mto-gallery-item {
        aspect-ratio: 4/3;
    }
    
    .mto-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }
    
    .mto-banner-icon {
        font-size: 40px;
    }
    
    .mto-banner-title {
        font-size: 18px;
    }
    
    .mto-banner-text {
        font-size: 13px;
    }
    
    .mto-banner-button {
        width: 100%;
        text-align: center;
    }
}


.mto-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.mto-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.mto-header {
    margin-bottom: 40px;
}

.mto-header h1 {
    color: var(--heading-color, #333333);
    font-size: var(--h2-font-size, 24px);
    font-weight: var(--heading-font-weight, 700);
    font-family: var(--heading-font-family, inherit);
    line-height: var(--heading-h2-line-height, 1.24);
    letter-spacing: var(--heading-letter-spacing, normal);
    margin: 0;
}

/* Большая карточка */
.mto-main-card {
    display: flex;
    align-items: center;
    padding: 30px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.mto-main-card:hover {
    background: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mto-main-card-icon {
    flex-shrink: 0;
    margin-right: 24px;
    font-size: 56px;
}

.mto-main-card-content {
    flex: 1;
}

.mto-main-card-title {
    color: var(--heading-color, #2d3748);
    font-size: 20px;
    font-weight: 700;
    font-family: var(--heading-font-family, inherit);
    margin: 0 0 6px 0;
}

.mto-main-card-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Секция */
.mto-section-title {
    color: var(--heading-color, #1a202c);
    font-size: var(--h4-font-size, 18px);
    font-weight: var(--heading-font-weight, 700);
    font-family: var(--heading-font-family, inherit);
    line-height: var(--heading-h4-line-height, 1.56);
    margin: 0 0 24px 0;
}

/* Сетка карточек */
.mto-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mto-org-card {
    display: flex;
    align-items: center;
    padding: 24px;
    background: #f7fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.mto-org-card:hover {
    background: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mto-org-card-icon {
    flex-shrink: 0;
    margin-right: 16px;
    font-size: 40px;
}

.mto-org-card-title {
    color: var(--heading-color, #2d3748);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--heading-font-family, inherit);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 992px) {
    .mto-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mto-header h1 {
        font-size: 20px;
    }
    
    .mto-main-card {
        padding: 20px;
    }
    
    .mto-main-card-icon {
        font-size: 48px;
        margin-right: 16px;
    }
    
    .mto-main-card-title {
        font-size: 18px;
    }
    
    .mto-main-card-subtitle {
        font-size: 13px;
    }
    
    .mto-section-title {
        font-size: 16px;
    }
    
    .mto-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mto-org-card {
        padding: 18px;
    }
    
    .mto-org-card-icon {
        font-size: 36px;
        margin-right: 12px;
    }
    
    .mto-org-card-title {
        font-size: 14px;
    }
}