.header {
    background: #051234;
}
.header-img {
    text-align: center;
    padding: 25px 0;
}
.main-content {
    margin-top: 20px;
}
.fs-block {
    gap: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.fs-col-min {
    display: flex;
    gap: 30px;
    width: 250px;
    flex-wrap: wrap;
}
.fs-col{
    width: calc(100% - 580px);
}
.about-site {
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    background: #051234;
    text-align: center;
    margin: 15px auto;
    width: 840px;
}
.about-site__title {
    font-size: 25px;
font-weight: 400;
}
.about-site__text {
    font-size: 18px;
font-weight: 400;
}
.content {
    color: black;
font-size: 17px;
font-weight: 400;
}

.download {
    margin: 60px auto;
    text-align: center;
}
.download a{
    background: #051234; 
    border-radius: 12px;
    padding: 15px 50px;
    color: white;
    font-size: 24px;
    font-weight: 400;
}

.gallery-map {
    position: relative;
    display: flex;
}
.gm-min {
    object-fit: cover;
    width: 176px;
    display: flex;
     flex-wrap:wrap;
}
.gm-mid {
     width: 352px;
     display: flex;
     flex-wrap:wrap;
}
.gm-big {
     display: flex;
    width: calc(100% - 528px);
    flex-wrap: wrap;
}
.city-bg {
        z-index: 2;
    background: linear-gradient(270deg, white 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    right: 0;
  height: 540px; 
  width: 120px;
}
.city-list-wrapper {
        z-index: 10;
    position: absolute;
    right: -80px;
  max-height: 540px; /* или любая нужная вам высота */
  overflow-y: auto;
  border-radius: 8px;
  width: 120px;
}

.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.city-list li {
  margin-bottom: 8px;
  font-size: 18px;
  color: #000;
}


.trigger-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.trigger-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

.trigger-img.clicked {
    cursor: default;
    transform: none;
    filter: none;
    display: none;
}

.hidden-img {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hidden-img.visible {
    display: block;
    opacity: 1;
}
.image-gallery .gm-mid__img, .image-gallery .gm-big__img, .image-gallery .gm-min__img {
object-fit: cover;
}
.gm-mid__img,  .gm-big__img, .gm-min__img {
        padding: 2px;
    width: 176px;
    height: 146px;
    /* object-fit: cover; */
    }
    
    .gm-min a:nth-child(2) .gm-min__img{
        height: 292px;
    }
    .gm-mid a:last-child .gm-mid__img{
        width: 352px;
        height:296px;
    }
    .gm-big a:nth-child(2) .gm-big__img{
        width: 352px;
    }
    .gm-big a:nth-child(4) .gm-big__img{
        width: 352px;
    }
    .gm-big a:nth-child(6) .gm-big__img{
        width: 352px;
    }
    
    
     .elements-gride {
        display: flex;
        flex-wrap: wrap;
        
    }
    .element-item { 
        padding: 2px;
    height: 146px;
    width: 176px;
    object-fit: cover;
    } 
    
  
    
    
  .custom-video-player {
    position: relative;
    width: 100%;
  }
  .video-preview {
    position: relative;
    cursor: pointer;
  }
  .video-preview img {
    width: 100%;
    max-height: 404px;
    display: block;
  }
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }

.cities-buttons {
    z-index: 10;
    width: 120px;
    position: absolute;
    top: 465px;
    right: -70px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.city-btn {
    font-size: 18px;
    color: #000;
}
.city-bg{
    height: 732px;
    position: absolute;
    top: 440px;
    right: 0;
    width: 155px;
    background: linear-gradient(270deg, white 0%, rgba(255, 255, 255, 0) 100%)
}

.arrow-block {
    margin: 60px 0 45px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    padding-right: 80px;
}

.arrow-block span {
    color: #3C3C3C;
    font-size: 20px;
}

.title-gallery {
    margin-bottom: 20px;
    font-size: 24px;
}

.fancybox_modal {
    width: 80%;
}
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.arrow-d {
    display: block;
}
.arrow-m {
    display: none;
}

.gallery-map iframe {
        height: 440px;
        width: 100%;
    }







.footer {
    background: #051234;
}
.footer-text {
    text-align: center;
    padding: 15px 0;
    color: #fff;
    font-size: 17px;
}
.footer-text a{
    color: #1F90D3;
}

.video-gallery {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.video-gallery video {
    width: 50%;
    padding: 10px;
}




@media (max-width: 1400px) {
    .gm-big a:nth-child(6){
       width:  calc(100% - 352px);
    }
.gm-big a:nth-child(6) .gm-big__img {
    width: 100%;
}
.gm-big a:nth-child(4) .gm-big__img {
    width: 176px; 
}
.gm-big a:nth-child(2) {
    width: calc(100% - 352px);
}
    .gm-big a:nth-child(2) .gm-big__img {
        width: 100%;
    }
.gm-big a:last-child {
    display: none;
}
.city-bg {
        height: 732px;
        width: 200px;
    }
    .cities-buttons {
        width: 100px;
        right: 0;
    }
    
}

@media (min-width: 981px) {
    .city-bg {
        top: 0;
    }
    .cities-buttons {
        top: 25px;
    }
}

@media (max-width: 981px) {
    .fs-block {
        gap: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .fs-col-min {
        display: flex;
        gap: 30px;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .fs-col {
        width: 100%;
    }
    .about-site {
        width: 100%;
    }
    .video-preview img {
        width: 100%;
    }
    iframe {
        height: 220px;
    }
    .about-site__title {
        font-size: 18px;    
    }
    .about-site__text {
        margin-top: 15px;
        font-size: 16px;
    }
    .content {
        color: black;
        font-size: 16px;
    }
    .gallery-map {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
         flex-direction: column;
    }
    .gm-big { order: 1; }
  .gm-mid { order: 2; }
  .gm-min { order: 3; }
    .gm-mid {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .gm-mid__img, .gm-big__img, .gm-min__img {
        width: 100%;
        height: 100%;
    }
    .gm-big {
        width: 100%;
    }
    .gallery-map a.item.fancybox , .elements-gride a.item.fancybox{
        max-height: 300px;
        width: 50%;
    }
    .elements-gride {
        width: 100%;
    }
    .gm-min {
        object-fit: cover;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .gm-min a:nth-child(2) .gm-min__img {
        height: 100%;
    }
    .element-item {
        height: 100%;
        width: 100%;
    }
    .gallery-map .gm-mid a.item.fancybox:last-child {
        height: 300px;
        width: 100%;
    }
    .gm-mid a:last-child .gm-mid__img {
        width: 100%;
        height: 100%;
    }
    
    .gm-big a:last-child{
        display: none;
    }
    .download a {
        display: block;
        width: 100%;
        padding: 15px;
        font-size: 22px;
    }
    .image-gallery .item {
        width: 50%;
    }
    .city-bg {
        height: 748px;
        width: 200px;
    }
    .cities-buttons {
        width: 100px;
        right: 0;
    }
    .arrow-block {
        margin: 40px 0 20px;
        align-items: flex-start;
        justify-content: flex-end;
        padding-right: 60px;
    }
    .arrow-block span {
        color: #3C3C3C;
        font-size: 18px;
    }
    .arrow-d {
    display: none;
    }
    .arrow-m {
        display: block;
    }
    .video-gallery video {
    width: 100%;
}
.gm-big a:nth-child(4) .gm-big__img {
        width: 100%;
    }

}