/* .sr-fade-up,
.sr-fade-left,
.sr-fade-right,
.sr-scale-in,
.sr-stagger-up > * {
    backface-visibility: hidden;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    .sr-fade-up,
    .sr-fade-left,
    .sr-fade-right,
    .sr-scale-in,
    .sr-stagger-up > * {
        will-change: auto;
    }
} */

.footer-copy__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-copy__links li {
    margin: 0;
}

.mob-menu .header-btn {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

@media only screen and (max-width: 720px) {
    .footer-copy__links {
        gap: 10px;
    }
	.encyclopedia-title img {
		margin-top: 0px;
	}
	.encyclopedia-title {
		grid-gap: 2px;
	}
}
.art-photo-1 {
	z-index: 9999;
}


.encyclopedia-title h1, .encyclopedia-title h2 {
		text-transform: uppercase;
	}


/* Приветливое покачивание кнопки */
.more-link {
    transform-origin: center center;
}

.more-link.is-waving {
    animation: moreLinkWave 3.5s ease-in-out infinite;
}

@keyframes moreLinkWave {
    0%, 35%, 100% {
        transform: rotate(0deg);
    }
    8% {
        transform: rotate(-5deg);
    }
    16% {
        transform: rotate(5deg);
    }
    24% {
        transform: rotate(-3deg);
    }
    30% {
        transform: rotate(2deg);
    }
}

/* При наведении прекращаем покачивание */
.more-link.is-waving:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .more-link.is-waving {
        animation: none;
    }
}

/* Главная: подзаголовок энциклопедии */
.encyclopedia-home-subtitle {
    margin: 24px 0 0;
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 600;
    line-height: 1.15;
}
.encyclopedia-home-subtitle + .encyclopedia-banner { margin-top: 24px; }
.encyclopedia-slide--catalog { color: inherit; text-decoration: none; }
.encyclopedia-slide--catalog__image { overflow: hidden; }
.encyclopedia-slide--catalog .encyclopedia-slide__photo-main { transition: transform .5s ease; }
.encyclopedia-slide--catalog:hover .encyclopedia-slide__photo-main { transform: scale(1.05); }
.encyclopedia-slide--catalog .encyclopedia-slide__link { margin-top: auto; cursor: pointer; }
@media (max-width: 720px) {
    .encyclopedia-home-subtitle { margin-top: 18px; font-size: 23px; }
    .encyclopedia-home-subtitle + .encyclopedia-banner { margin-top: 18px; }
    /* Дорожная карта: виден край следующей карточки */
    .road-slider-wrap { min-width: 0; }
    .road-slider .road-slide { width: auto; }
}



.popup-idea { position: relative; width: min(780px, 100%); margin: auto; background: transparent; }
.popup-idea .idea-member-form { width: 100%; }
.popup-idea .idea-popup-close { position: absolute; right: 16px; top: 12px; z-index: 20; border: 0; background: none; color: #222; font-size: 34px; line-height: 1; cursor: pointer; }

.popup-idea .member-copy { padding: 18px 10px; background: #fff; border-radius: 0 0 20px 20px; }
.popup-idea .idea-form-status { color: #fff; font-size: 15px; padding: 5px; }
@media (max-width: 720px) { .popup-idea .idea-popup-close { right: 11px; top: 8px; } }

.popup-idea .member-copy__item { cursor: pointer; }


.art-photo-2 {
  width: 815px;
  display: block;
  pointer-events: none;
  position: absolute;
  right: -94px;
  top: -50px;
}
@media only screen and (max-width: 720px) {
  .art-photo-2 {
    width: 390px;
    right: -14px;
    top: -240px;
  }
}

/* Окно идей на главной: оформление анкеты участника без загрузки файлов. */
.club-idea-overlay[hidden] { display: none !important; }
.club-idea-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .84);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}
body.club-idea-open { overflow: hidden; }
.club-idea-panel {
    position: relative;
    width: min(780px, 100%);
    max-height: calc(100vh - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    margin: auto;
    border-radius: 24px;
    outline: none;
}
.club-idea-form { width: 100%; }
.club-idea-form .member-form__wrap { border-radius: 24px 24px 0 0; }
.club-idea-form .club-idea-consents {
    margin: 0;
    padding: 20px 65px 26px;
    background: #fff;
    border-radius: 0 0 24px 24px;
}
.club-idea-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; cursor: pointer; }
.club-idea-consent .member-copy__icon { margin-top: 2px; }
.club-idea-consent .member-copy__icon input:checked + i { transform: scale(1); }
.club-idea-consent .member-copy__text { display: block; }
.club-idea-status { margin: 12px 0 0; font-size: 14px; color: #9c1c1c; }
.club-idea-close {
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 10;
    background: transparent;
    border: 0;
    font-size: 36px;
    color: #222;
    line-height: 1;
    padding: 5px;
    cursor: pointer;
}
.club-idea-submit:disabled { opacity: .65; cursor: wait; }
@media (max-width: 720px) {
    .club-idea-overlay { padding: 12px; }
    .club-idea-panel { max-height: calc(100dvh - 24px); border-radius: 15px; }
    .club-idea-form .member-form__wrap { border-radius: 15px 15px 0 0; }
    .club-idea-form .club-idea-consents { padding: 16px 20px 22px; border-radius: 0 0 15px 15px; }
    .club-idea-close { top: 6px; right: 12px; font-size: 30px; }
}
