.header__social .icon {
    width: 24px;
    height: 24px;
}

.team__avatar {
    width: 320px;
}

.programs__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.programs__item {
    height: auto;
    width: 100%;
    max-width: 370px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery img {
    border-radius: 5px;
    border: 1px solid hsl(0deg 0% 0% / 10%);
}

div#lbCaption {
    text-align: center;
    margin: 0;
}

a#lbCloseLink {
    display: none!important;
}

#lbImage {
  max-width: 90vw; /* 90% ширины окна */
  max-height: 90vh; /* 90% высоты окна */
  height: auto;
  width: auto;
}

/* Центрируем по экрану */
#lbCenter {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  margin-left: 0!important;
}

.post__row-line {
    display: flex;
    gap: 16px;
    width: 100%;
}

.post__preview_new {
    }

.post__preview_new img {
    max-width: 500px;
    max-height: 400px;
    border-radius: 16px;
}

@media only screen and (max-width: 767px) {
    .post__row-line {
        flex-direction: column;
    }    
    
    .post__preview_new img {
        max-width: 100%;
    }
    
    .gallery {
        padding: 0 16px;
    }
    
    .gal-item, .gal-item img {
        width: 100%;
    }
}

.uslugi_row {
	display: flex;
	row-gap: 35px;
	column-gap: 25px;
	flex-wrap: wrap;
	justify-content: space-around;
}

.uslugi_row img {
	width: 320px;
	height: 320px;
	border-radius: 16px;
	object-fit: cover;
}

.usluga_item {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    align-items: center;
    
}

.hidden {
	display: none;
}

.header__logo img {
	width: 100px;
}

.dark .header__logo img:first-child {
    display: none;
}

.dark .header__logo img:last-child {
	display: inline;
}