/* Сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Базовые стили */
body {
    font-family: sans-serif;
    display: flex;
    min-height: 100vh;
}

/* Сайдбар */
.sidebar {
    width: 300px; /* Ширина сайдбара */
    background-color: #f9f9f9;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.content,
main {
    margin-left: 300px; /* Соответствует ширине сайдбара */
    padding: 20px;
    flex: 1;
    box-sizing: border-box;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .sidebar {
        position: absolute;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
    }

    .content,
    main {
        margin-left: 0;
    }
}

/* Список меню */
.sidebar__menu {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.sidebar__list {
    list-style: none;
    padding: 0;
}

.sidebar__item {
    margin-bottom: 10px;
}

.sidebar__link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px;
    transition: background 0.2s;
}

.sidebar__link:hover {
    background-color: #e0e0e0;
    border-radius: 4px;
}

/* Аккордеон */
.accordion {
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    padding: 15px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion::after {
    content: "▼";
    font-size: 12px;
    color: #007BFF;
    transition: transform 0.3s ease;
}

.accordion.active::after {
    transform: rotate(180deg);
}

.accordion:hover {
    background-color: #ddd;
}

.panel {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: white;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

/* Кнопка закрытия */
.sidebar__close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    background: none;
    border: none;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Кнопка доступности */
.sidebar__accessibility-button {
    background: #f0f0f0;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 20px;
}

/* Секции */
.about-section {
    margin-top: 40px;
}

.about-section__main-block {
    max-width: 960px;
    margin: auto;
}

.about-section__title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-section__description {
    line-height: 1.6;
    font-size: 1rem;
}

.about-section__subtitle {
    margin-top: 30px;
    font-size: 1.25rem;
    color: #007BFF;
}

.about-section__info-list {
    list-style: none;
    padding-left: 0;
}

.about-section__info-list li {
    margin-bottom: 8px;
}

.about-section__info-list strong {
    color: #007BFF;
}

.contacts-map {
    margin-top: 20px;
    border: 2px solid #007BFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.download-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-link:hover {
    background-color: #005a87;
    text-decoration: none;
}

.download-link:before {
    content: "📥 ";
    margin-right: 5px;
}