
@media (max-width: 1024px) {
    body.lock {
        overflow: hidden;
    }
    .header__committee-phone {
        display: none;
    }
    .header__container__top {
        flex-wrap: nowrap;
        padding-bottom: 0;
        border-bottom: none;
    }
    .header__logo {
        width: auto;
        max-width: calc(100% - 56px);
        min-width: 0;
    }
    .header__container__top > .header__contacts {
        display: none;
    }
    .header__burger {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 101;
    }
    .header__burger__button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 32px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
	.header__burger__button:focus-visible {
		outline: 2px solid var(--accent-text);
		outline-offset: 2px;
		border-radius: 0.25rem;
	}
    .header__burger__line {
        display: block;
        width: 100%;
        height: 0.25rem;
        background-color: var(--accent-text);
        border-radius: 0.5rem;
        transition: var(--transition);
        position: relative;
        transform-origin: left center;
    }
    .header__burger.active .header__burger__line:first-child {
        transform: rotate(45deg);
    }
    .header__burger.active .header__burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger.active .header__burger__line:last-child {
        transform: rotate(-45deg);
    }
    .header__container__bottom {
        padding-top: 0;
    }
    .header__overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 90;
    }
    .header__overlay.active {
        display: block;
    }
    .header__nav {
		padding: 5rem 2rem 2rem;
		display: block !important;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        z-index: 100;
        transform: translateX(-100%);
        overflow-y: auto;
    }
    .header__nav.active {
		left: 0;
        transform: translateX(0);
    }
    .header__nav.active .header__contacts {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
        border-bottom: 1px solid var(--gray);
    }
    .header__nav.active .header__contacts__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .header__contacts__item--committee {
        display: block;
    }
    .header__nav__list {
        flex-direction: column;
        align-items: flex-start;
    }
    .header__logo-mobile {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .header__nav__item {
        width: 100%;
        padding: 0;
    }
    .header__nav__link {
        display: block;
		padding: 0;

    }
    .dropdown-menu {
		display: none !important;
        position: static !important;
        box-shadow: none !important;
		padding-left: 20px;
		transition: var(--transition);
    }
    .dropdown-menu.active {
		display: block !important;
		padding-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
		transition: var(--transition);
    }
    .dropdown-menu__item-link {
        padding: 0.5rem 0;
        color: var(--accent-text);
    }
    .contacts__grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    section:not(:last-child) {
        margin-bottom: 1rem;
    }
    .header__nav.active {
        width: 100%;
        height: 100%;
    }
    .header__logo__text {
        font-size: 0.9375rem;
    }
    .header__contacts__list {
        flex-direction: column;
        gap: 0.75rem;
    }
	.hero__content {
		padding: 1rem;
	}
    .hero__content__text {
        padding-left: 1.25rem;
		padding-right: 1.25rem;
    }
	.hero__content__text p:first-child {
		text-align: left;
	}
	.hero__content__title {
		text-align: center;
		font-size: clamp(1.5rem, 6vw, 2rem);
	}
	.hero__content__text p:last-child {
		text-align: right;
	}
	.title {
		margin-bottom: 1rem;
	}
	.news__container:not(:last-child) {
		margin-bottom: 1rem;
	}
    .news__slider__container {
        max-width: 360px;
        padding: 0 1.25rem;
    }
    .news__slide__group {
        display: flex;
        justify-content: center;
        gap: 0;
    }
	.accordion-item {
		padding: 0.5rem;
	}
	.accordion-content {
		padding: 0 0.5rem;
	}
	.accordion-content p {
		margin: 0 0 0.5rem 0;
	}
	.accordion-content-blog {
		margin: 0.5rem 0;
	}
	.schedule__tab__button {
        flex: 1 1 100%;
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    .group-info {
        font-size: 0.875rem;
    }
    .mobile__container {
        flex-direction: column;
        gap: 1rem;
    }
    .mobile__app__block {
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
	.mobile__installation__steps {
		padding-left: 1rem;
	}
	.news__modal {
		padding: 1rem;
	}
	.news__modal__content {
        padding: 3rem 1rem;
        margin: 0 auto;
    }
    .news__slide__card {
		gap: 0.625rem;
        width: min(82vw, 290px);
        margin: 0 auto;
        padding: 0.875rem;
        border-radius: 1.25rem;
    }
    .news__image {
        height: 116px;
    }
    .news__title {
        font-size: 1rem;
    }
    .news__excerpt {
        font-size: 0.9375rem;
        -webkit-line-clamp: 3;
    }
    .news__btn {
        width: 100%;
        text-align: center;
    }
    .news__slider__arrow {
        top: 50%;
        width: 2.25rem;
        height: 2.25rem;
        background-color: rgba(255, 255, 255, 0.96);
    }
    .news__slider__arrow.prev {
        left: 0;
    }
    .news__slider__arrow.next {
        right: 0;
    }
    .documents__container {
        padding: 1rem;
    }
    .documents__folders-wrapper {
        gap: 0.5rem;
    }
    .documents__folders {
        gap: 0.75rem;
        overflow-x: auto;
    }
    .documents__folders-arrow {
        display: none;
    }
    .documents__folder {
        flex: 0 0 calc((100% - 0.75rem) / 2);
        min-width: calc((100% - 0.75rem) / 2);
        max-width: calc((100% - 0.75rem) / 2);
        padding: 0.875rem;
    }
    .documents__folder-name {
        font-size: 0.95rem;
    }
    .documents__folder-count {
        font-size: 0.75rem;
    }
    .documents__panel {
        padding: 1rem;
    }
    .documents__panel__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .contacts__card {
        padding: 1.25rem;
    }
	    .gallery__slider {
        height: 400px;
    }

    .gallery__thumbnail {
        width: 60px;
        height: 60px;
    }

    .gallery__arrow {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .header__logo__text {
        font-size: 0.875rem;
    }
	    .gallery__slider {
        height: 300px;
    }

    .gallery__thumbnail {
        width: 50px;
        height: 50px;
    }
}
