		
		
 /* Лайтбокс */
  #lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
  }

  #lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }

  .lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    user-select: none;
  }

  #prevBtn { left: 20px; }
  #nextBtn { right: 20px; }
		
.lightbox-btn {
    position: static;
    border-radius: 0;
    padding: 0px;
}
		
 /* ❌ Кнопка закрытия */
#closeBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 12px;
    user-select: none;
    width: auto;
}	
	
		

		
/* контейнер (нужно, чтобы псевдоэлемент работал) */
.big::after {
    content: "🔍";
    position: absolute;
    font-size: 28px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 7px;
    border-radius: 50%;
    pointer-events: none;
    margin: 0 auto;

}	

.MarshMesto1::after {
    content: "🔍";
    position: absolute;
    font-size: 28px;
    color: white;
    padding: 5px 7px;
    pointer-events: none;
    margin-left: 146px;
    margin-top: 176px;
}
		
		
		
	.gallery {
    display: flex
;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    align-content: space-around;
    align-items: stretch;
    flex-direction: column;
}	
		.thumbs {
    width: auto;
    display: flex
;
    overflow-y: auto;
    max-height: 400px;
    flex-direction: row;
}
	.thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border 0.3s;
}	
	.big {
    flex: 1;
    display: flex
;
    justify-content: center;
    align-items: center;
    max-height: 600px;
}	
.dabl {
    display: flex
;
    color: black;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.infoMesto {
    padding: 20px;
    text-align: left;
    padding-top: 0;
    min-height: 250px; /* больше, если часто много текста */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

	img.imgMest {
    width: 340px;
}	
		.MarshMesto {
    display: flex
;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}
		
.big img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
		.thumbsBlk {
    overflow: hidden;
    flex: 1;
    display: block;
}
h1.section-title2 {
    margin: 0px;
    text-align: left;
}
.lb-actions {
    display: flex
;
    gap: 10px;
    flex-direction: column;
    margin-top: 40px;
}
.MarshMesto2 {
    display: flex
;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
}
		
.MarshMesto1 {
    display: flex
;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}
		
.MarshMesto {
    display: flex
;
    flex-direction: row;
    gap: 5px;
    align-items: stretch;
    margin-top: 15px;
    justify-content: space-between;
    align-content: space-around;
    font-weight: 600;
}
	.container {
    padding-top: 50px;
    padding-bottom: 0px;
}	
 @media (max-width:990px){
	 
	 .dabl {
    display: flex
;
    color: black;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
}
	 
h1.section-title2 {
    margin: 0px;
    text-align: center;
}	 
.MarshMesto {
    display: flex
;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
    margin-top: 15px;
    justify-content: center;
    align-content: space-around;
    font-weight: 600;
}

		}
		
	 @media (max-width:820px){  
		 
    .gallery {
        width: 100% !important;
    }	}
		
		  @media (max-width:720px){  
	    img.imgMest {
        width: 225px;
        height: 225px;
    }
			  
		.MarshMesto1::after {
    content: "🔍";
    position: absolute;
    font-size: 28px;
    color: white;
    padding: 5px 7px;
    pointer-events: none;
    margin-left: 95px;
    margin-top: 120px;
}	  
			  
			  
		}
	  @media (max-width:600px){  		
	.content p {
    font-size: 18px;
}	
		}		
		 @media (max-width:450px){ 
			 
			     .MarshMesto {
        display: flex
;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-top: 15px;
        justify-content: center;
        align-content: space-around;
        font-weight: 600;
    }
		.lb-actions {
    display: flex
;
    gap: 10px;
    flex-direction: row;
    margin-top: 40px;
}	
			 
			 .container {
    padding-top: 10px;
    padding-bottom: 0px;
}
		}