.wrapper {
    overflow-x: hidden;
}

.tags {
    max-width: 470px;
    padding-bottom: -13px;
    margin-bottom: 20px;
}

@media (max-width: 1322px) {
    .tags {
        margin-bottom: 0;
    }
}

.tags .tag {
    display: inline-block;
    height: 24px;
    margin-right: 19px;
    margin-bottom: 13px;
    padding: 4px 13px;
    border: 1px solid #fff;
    font-size: 16px;
    line-height: 16px;
    color: #ffffff;
    text-decoration: none;
    max-width: 100%;
}

.tags .tag-bottom {
    color: black;
    border: 1px solid #000000;
}

.tags .tag:hover {
    cursor: pointer;
    color: #000000;
    background-color: #ffffff;
}

.tags-bottom {
    max-width: 52%;
}

@media (max-width: 991px) {
    .tags-bottom {
        max-width: 100%;
    }
}

.tags-bottom .tag-bottom {
    display: inline-block;
    text-decoration: none;
    color: black;
    background-color: #E0E0E0;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
    border: none;
    margin-top: 16px;
    margin-right: 12px;
    padding: 5px 10px 3px;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}

.tags-bottom .tag-bottom:hover {
    cursor: pointer;
    background-color: #93C7EC;
}

.main-phrase {
    font-family: 'DINProLight';
    font-size: 48px;
    line-height: 71px;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .main-phrase {
        font-size: 24px;
        line-height: 35px;
    }
}

.key-phrase {
    font-family: 'DINProLight';
    font-size: 24px;
    line-height: 32px;
}

.note {
    font-size: 13px;
    line-height: 19px;
    color: #505050;
    font-style: italic;
}

.note strong {
    font-style: normal;
}

.sidenote p {
    font-size: 13px;
    line-height: 19px;
    color: #505050;
    font-style: italic;
}

.sidenote p strong {
    font-style: normal;
}

.img-block {
    display: -webkit-box;
    display: flex;
    flex-direction: column;
}

.img-block img {
    width: 100%;
}

.img-block .img-label {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    padding: 0 12px;
    margin: 8px 0;
}

.img-block .img-label span {
    font-style: italic;
    font-size: 12px;
    line-height: 16px;
}

.combo-gallery .img-block a {
    display: -webkit-box;
    display: flex;
    height: 100%;
}

.combo-gallery .img-block img {
    height: 100%;
}

.combo-gallery .img-block .img-label {
    -webkit-box-pack: start;
    justify-content: flex-start;
    padding: 0;
}

@media (min-width: 575.98px) {
    .img-block.top {
        flex-direction: column-reverse;
    }

    .img-block.top .img-label {
        margin-top: -24px;
    }
}

@media (max-width: 991.98px) {
    .img-block {
        margin-bottom: 24px;
    }
}

.img-block.wide {
    margin-bottom: 142px;
}

.img-block.wide .img-label {
    bottom: -78px;
    -webkit-box-pack: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .img-block.wide {
        margin-bottom: 132px;
    }

    .img-block.wide .img-label {
        bottom: -88px;
    }
}

.page-read-info-container {
    position: static;
    position: sticky;
    position: -webkit-sticky;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.page-read-info {
    padding-bottom: 2px;
    height: 56px;
    background-color: #2F444E;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

@media (max-width: 991.98px) {
    .page-read-info {
        height: 64px;
    }
}

.page-read-info.big {
    height: 80px;
}

.page-read-info .share {
    margin-right: 24px;
    color: #fff;
}

.page-read-info .social-links {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.ya-share2__list_direction_horizontal > .ya-share2__item {
    margin: 0 16px 0 0 !important;
}

.page-read-info .ya-share2__container.ya-share2__container_color-scheme_blackwhite .ya-share2__badge,
.page-read-info .ya-share2__container.ya-share2__container_color-scheme_blackwhite .ya-share2__mobile-popup-badge {
    background-color: transparent !important;
}

@media (max-width: 991.98px) {
    .article-author {
        flex-wrap: nowrap;
    }
}

.article-author .person-position {
    font-style: normal;
    color: #505050;
    font-family: 'DINProLight';
}

@media (max-width: 991.98px) {
    .article-author .person-position {
        font-size: 16px;
        line-height: 24px;
    }
}

.custom-title {
    font-size: 40px;
    line-height: 113.4%;
}

@media (max-width: 991.98px) {
    .custom-title {
        font-size: 24px;
        line-height: 32px;
    }
}

.custom-gray-text {
    font-size: 18px;
    line-height: 166.4%;
    color: #99A3AA;
    display: inline-block;
}

.tooltip-link {
    position: relative;
    display: inline;
    cursor: pointer;
}

.tooltip-link span {
    position: absolute;
    width: 370px;
    top: 30px;
    left: 50%;
    margin-left: -185px;
    color: #505050;
    background: #FFFFFF;
    border: 3px solid #577ABB;
    visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    padding: 16px 44px 16px 16px;
    font-size: 13px;
    line-height: 19px;
    -webkit-transition: visibility 0.3s ease-in-out;
    transition: visibility 0.3s ease-in-out;
}

@media (max-width: 767.98px) {
    .tooltip-link span {
        left: 0;
        margin-left: 0;
        width: calc(100vw - 24px);
    }
}

.tooltip-link span:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -12px;
    width: 0;
    height: 0;
    border-bottom: 16px solid #577ABB;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
}

.tooltip-link span:after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-bottom: 11px solid #FFFFFF;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.tooltip-link span.show {
    visibility: visible;
    opacity: 1;
    z-index: 999;
}

.tooltip-link span .close-tooltip {
    font-size: 10px;
    position: absolute;
    padding: 16px;
    top: 0;
    right: 0;
    color: #444444;
    cursor: pointer;
}

.gallery-slider {
    position: relative;
}

.gallery-slider .item img {
    margin: auto;
}

@media (max-width: 991.98px) {
    .gallery-slider .item img {
        max-height: 375px;
        object-fit: cover;
    }
}

.gallery-slider .owl-dots {
    display: none;
    position: absolute;
    bottom: 24px;
    z-index: 20;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
}

.gallery-slider .owl-dots .owl-dot {
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.gallery-slider .owl-dots .owl-dot:first-child ~ .owl-dot {
    margin-left: 4px;
}

.gallery-slider .owl-dots .owl-dot.active {
    width: 8px;
    height: 8px;
}

@media (max-width: 991.98px) {
    .gallery-slider .owl-dots {
        display: -webkit-box;
        display: flex;
    }
}

.gallery-slider .owl-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 20;
    display: -webkit-box;
    display: flex;
}

@media (max-width: 991.98px) {
    .gallery-slider .owl-nav {
        display: none;
    }
}

.gallery-slider .owl-nav button {
    display: block;
    font-style: normal;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #201600 !important;
    background: #fff !important;
    cursor: pointer;
}

.gallery-slider .owl-nav button:first-child {
    margin-right: 40px;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper .carousel-wrapper {
    position: relative;
}

.slider-wrapper .slider-counter {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 40px;
    bottom: 0;
    right: 40px;
    z-index: 20;
}

@media (max-width: 991.98px) {
    .slider-wrapper .slider-counter {
        display: none;
    }
}

.slider-wrapper .slider-label {
    font-size: 12px;
    line-height: 16px;
    font-style: italic;
    color: #505050;
    text-align: center;
}

@media (max-width: 991.98px) {
    .slider-wrapper .slider-label {
        text-align: center;
        width: 100%;
    }
}

.fw-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    -webkit-box-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: flex;
    text-align: center;
    overflow: hidden;
}

.fw-image-container .fw-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.fw-image-container .fw-image-stuff {
    position: relative;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    flex-wrap: nowrap;
    color: #fff;
    font-size: 1.5rem;
}

.fw-image-container .fw-image-stuff a {
    color: #ffffff;
}

.city-promo .fw-image-container {
    height: 45vh;
}

.city-promo .overlay {
    background-color: #000000;
    opacity: 0.3;
}

@media (max-width: 575.98px) {
    .fw-image-container .fw-image-stuff__title {
        font-size: 40px;
        line-height: 40px;
    }
}

@media (max-width: 660px) {
    .sequence h2 {
        font-size: 32px;
        line-height: 40px;
    }
}

@media (max-width: 991.98px) {
    .sequence .event-timeline {
        padding: 0 12px;
    }
}

.sequence .event-timeline .item {
    display: -webkit-box;
    display: flex;
}

@media (max-width: 991.98px) {
    .sequence .event-timeline .item {
        flex-wrap: wrap;
    }
}

.sequence .event-timeline .item:last-child .event-progress::after {
    display: none;
}

.sequence .event-timeline .event-progress {
    position: relative;
    padding: 6px 0 32px 24px;
}

@media (max-width: 991.98px) {
    .sequence .event-timeline .event-progress {
        width: 100%;
    }
}

.sequence .event-timeline .event-progress::after {
    content: '';
    position: absolute;
    left: -16px;
    width: 2px;
    border-left: 2px dashed rgba(87, 122, 187, 0.6);
    top: 40px;
    height: calc(100% - 48px);
}

@media (max-width: 991.98px) {
    .sequence .event-timeline .event-progress::after {
        top: 36px;
        left: 0;
        height: calc(100% - 40px);
    }
}

.sequence .event-timeline .event-progress .num {
    content: '';
    position: absolute;
    background: rgba(87, 122, 187, 0.5);
    width: 32px;
    height: 32px;
    left: -32px;
    top: 0;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    padding-top: 4px;
}

@media (max-width: 991.98px) {
    .sequence .event-timeline .event-progress .num {
        width: 24px;
        height: 24px;
        left: -12px;
        top: 4px;
        padding: 0;
    }
}

.sequence .event-timeline .event-progress p {
    margin: 0;
}

.image-card {
    width: 100%;
    margin-bottom: 40px;
}

.image-card .image-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card.image-card-responsive .image-card-img {
    position: relative;
    padding-top: 67%;
}

.image-card.image-card-responsive .image-card-img:before {
    display: block;
    content: "";
    width: 100%;
}

.image-card.image-card-responsive .image-card-img > .image-card-img__inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.image-card .image-card-title {
    font-size: 12px;
    line-height: 16px;
    margin-top: 4px;
}

.image-card .image-card-title a {
    color: #201600;
}

.image-card.city-card .image-card-title h5 {
    font-size: 1.75rem;
}

.image-card.city-card .image-card-description {
    min-height: 120px;
}

.image-card .image-card-img {
    margin-bottom: 24px;
}

.image-card .image-card-img img {
    object-fit: cover;
    object-position: center;
}

.image-card.image-card-responsive .image-card-img {
    padding-top: 67%;
}

.image-card .image-card-img.icon-img img {
    object-fit: contain;
    object-position: left;
}

.layers-list {
    position: relative;
}

.layers-list .static-bg {
    z-index: 0;
}

.layers-list .static-bg img,
.layers-list .layer img {
    width: 100%;
}

.layers-list .layer {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.layers-list .layer.active {
    opacity: 1;
}

.layer-description {
    display: none;
}

.layer-description.active {
    display: block;
}

.layers-controls {
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (max-width: 991.98px) {
    .layers-controls {
        justify-content: start;
    }
}

.layers-controls .control {
    width: 100px;
    text-align: center;
    cursor: pointer;
}

.layers-controls .control .icon {
    width: 72px;
    height: 72px;
    text-align: center;
    line-height: 70px;
    background: rgba(153, 163, 170, 0.1) no-repeat center;
    border-radius: 100%;
    margin-bottom: 16px;
    color: #444;
    font-size: 40px;
}

.layers-controls .control:not(.active) .icon {
    background-color: rgba(153, 163, 170, 0.1) !important;
}

.layers-controls .control-label {
    font-family: 'DINProLight';
    font-size: 12px;
    line-height: 16px;
    color: #000;
}

.layers-controls .control:first-child ~ .control {
    margin-left: 35px;
}

.author-list {
    list-style: none;
    margin: 0;
    padding: 0;
    -moz-column-count: 4;
    column-count: 4;
}

@media (max-width: 991.98px) {
    .author-list {
        -moz-column-count: 1 !important;
        column-count: 1 !important;
    }
}

.author-list .author-item {
    margin-bottom: 24px;
    overflow: hidden;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    break-inside: avoid-column;
}

.author-list .author-item .author-item-title {
    font-family: 'DINProBold';
    margin-bottom: 16px;
}

@media (max-width: 991.98px) {
    .author-list .author-item .author-item-title {
        margin-bottom: 8px;
    }
}

.author-list .author-item .author-item-description {
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0.005em;
    color: #505050;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: #000000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
    outline-width: 0;
}

h3.block-header-title {
    font-size: 32px;
    line-height: 32px;
    margin-top: 24px;
    margin-bottom: 0;
    text-transform: none;
}

.block-header-description {
    font-family: 'DINProLight';
    font-size: 24px;
    line-height: 32px;
}

@media screen and (max-width: 1200px) {
    .b-screenmin-1200px {
        display: none;
    }
}

@media screen and (max-width: 980px) {
    .b-screenmin-980px {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .b-screenmin-640px {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .b-screenmin-480px {
        display: none;
    }
}

@media screen and (max-width: 320px) {
    .b-screenmin-320px {
        display: none;
    }
}

@media screen and (min-width: 321px) {
    .b-screenmax-320px {
        display: none;
    }
}

@media screen and (min-width: 481px) {
    .b-screenmax-480px {
        display: none;
    }
}

@media screen and (min-width: 641px) {
    .b-screenmax-640px {
        display: none;
    }
}

@media screen and (min-width: 981px) {
    .b-screenmax-980px {
        display: none;
    }
}

@media screen and (min-width: 1201px) {
    .b-screenmax-1200px {
        display: none;
    }
}

.builder-block [class*=b-screenmin-], .builder-block [class*=b-screenmax-] {
    display: block !important;
}

span.img-label {
    display: block;
    font-style: italic;
    font-size: 12px;
    line-height: 16px;
    margin-top: 10px;
}

.city-map {
    height: 900px;
}

.add-idea-block {
    background: #577ABB;
    padding: 64px 0;
}

.add-idea-block .description {
    color: #ffffff;
    font-size: 36px;
    line-height: 53px;
    text-align: center;
}

.add-idea-block .description p {
    margin-bottom: 0;
}

.add-idea-block .description .add-idea-btn {
    margin-top: 64px;
}

.idea-categories {
    background-color: #EFEFEF;
    padding: 40px 0;
}

.idea-categories h3 {
    margin-bottom: 32px;
}

.idea-categories .categories-list {
    margin-top: 0;
    font-size: 16px;
    line-height: 32px;
    list-style: none;
    padding-left: 0;
    -webkit-columns: 4;
    -moz-columns: 4;
    columns: 4;
}

.idea-categories .categories-list li {
    margin-bottom: 0;
}

.idea-categories .categories-list a {
    color: #535266;
}

.idea-categories .categories-list a:hover {
    color: #74AD2B;
}

.idea-categories .categories-list a.underlined:hover {
    text-decoration: underline;
}

.idea-categories .categories-list a:focus, .idea-categories .categories-list li.active a {
    color: #8BC540;
}

@media (max-width: 991.98px) {
    .idea-categories .categories-list {
        -webkit-columns: 3 !important;;
        -moz-columns: 3 !important;;
        columns: 3 !important;;
    }
}

@media (max-width: 767.98px) {
    .idea-categories .categories-list {
        -webkit-columns: 2 !important;;
        -moz-columns: 2 !important;;
        columns: 2 !important;
    }
}

@media (max-width: 575.98px) {
    .idea-categories .categories-list {
        -webkit-columns: 1 !important;;
        -moz-columns: 1 !important;;
        columns: 1 !important;;
    }
}

.likes-btn {
    color: #201600;
    min-height: unset;
    padding: 8px 12px;
    font-size: 16px;
    text-decoration: none;
}

.likes-btn:hover {
    color: #201600;
}

.likes-btn i {
    color: #999999;
}

.likes-btn.active i {
    color: #EB5757;
}

.idea-marker {
    font-size: 20px;
    color: red;
}

.leaflet-marker-icon.idea-marker {
    font-size: 32px;
    margin-left: -9px !important;
    margin-top: -36px !important;
    width: 18px !important;
    height: 32px !important;
}

.idea-view .idea-view__gallery .idea-view__gallery-image img {
    width: 100%;
    margin-bottom: 16px;
}

.idea-view .idea-view__buttons .button {
    width: 100%;
    font-size: 16px;
}

.idea-view .idea-view__buttons .likes-btn {
    min-height: 56px;
    padding: 16px 24px;
}

.idea-view .idea-view__info {
    padding: 40px;
    background: rgba(153, 163, 170, 0.07);
    position: -webkit-sticky;
    position: sticky;
    top: 64px;
}

@media (max-width: 991.98px) {
    .idea-view .idea-view__info {
        padding: 16px;
        position: relative;
        top: auto;
    }
}

.idea-view .idea-view__info .btn.yellow {
    width: 100%;
}

.idea-view .idea-view__info .idea-view__info-items label {
    font-size: 14px;
    line-height: 16px;
    color: #677B82;
    display: block;
    margin-bottom: 4px;
}

.idea-view .idea-view__info .idea-view__info-items span {
    display: inline-block;
    font-size: 16px;
    margin-bottom: 24px;
}

.idea-view .idea-view__toolbar .idea-view__toolbar-item {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.005em;
    color: #fff;
}

.idea-view .idea-view__toolbar .idea-view__toolbar-item a {
    color: #fff;
}

@media (max-width: 991.98px) {
    .idea-view .idea-view__toolbar .idea-view__toolbar-item {
        display: none;
    }
}

.idea-view .idea-view__toolbar .idea-view__toolbar-item a:hover {
    text-decoration: none;
    color: #74AD2B;
}

.idea-view .idea-view__toolbar .idea-view__toolbar-item a.likes-btn:hover {
    color: #fff;
}

/** Idea popup **/
.idea-popup .idea-popup__marker {
    display: inline-block;
    margin-right: 8px;
}

.idea-popup .idea-popup__title .idea-popup__title-label {
    display: inline-block;
    font-size: 18px;
    line-height: 27px;
    font-weight: bold;
}

.idea-popup .idea-popup__author {
    margin-top: 16px;
    font-size: 12px;
    line-height: 18px;
    color: #4B4B4B;
}

.idea-popup .idea-popup__description {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
}

.idea-popup .idea-popup__link {
    margin-top: 18px;
    font-size: 14px;
    line-height: 18px;
}

.idea-popup .idea-popup__likes {
    margin-top: 24px;
}

.idea-popup .idea-popup__likes .likes-btn {
    background-color: rgba(0, 0, 0, 0.1);
    color: #201600;
}

/** Idea card **/
.idea-card {
    margin-bottom: 2rem;
}

.idea-card .idea-card__info {
    color: #4B4B4B;
    font-size: 11px;
    line-height: 24px;
}

.idea-card .idea-card__description {
    margin-top: 16px;
    line-height: 24px;
    margin-bottom: 16px;
}

.idea-card .idea-card__category {
    font-size: 11px;
    line-height: 16px;
    text-align: right;
}

.idea-card .idea-card__img {
    position: relative;
    margin-bottom: 20px;
}

.idea-card .idea-card__img img {
    width: 100%;
    object-fit: contain;
    max-height: 200px;
    object-position: center;
}

.idea-card .idea-card__likes {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.idea-form .field-wrapper {
    margin-bottom: 80px;
}

.idea-form {
    font-size: 16px;
    line-height: 24px;
    color: #535266;
}

.idea-form .field-description {
    line-height: 20px;
    margin: 16px 0;
}

.idea-form .field-description h4 {
    font-family: 'DINProBold';
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: #201E33;
    margin: 16px 0;
}

.idea-rejection-reason {
    font-size: 14px;
    color: #b70000;
}

.images-preview__image {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 400px) {
    .images-preview__image {
        -webkit-box-flex: 0;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 576px) {
    .images-preview__image {
        -webkit-box-flex: 0;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}

.images-preview__image img {
    width: 100%;
}

.moderation-block {
    padding: 40px;
    background: rgba(153, 163, 170, 0.07);
}

.status-history-item__comment {
    font-size: 14px;
    color: #4B4B4B;
}

.seminars-list__item {
    margin-bottom: 64px;
}

.seminars-list__item h3 {
    font-size: 22px;
    line-height: 28px;
}

.seminars-list__item__highlighted {
    color: #8BC540;
}

.seminars-list__item__button {
    margin-top: 8px;
}
