/*   
Theme Name: ZeFtUA
Theme URI: medeor.in.ua
Author: ZeFt
*/

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/PfybUH-csLekLIU-pU-o7w.woff2) format('woff2'), url(https://fonts.gstatic.com/s/opensans/v13/uYKcPVoh6c5R0NpdEY5A-Q.woff) format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSiUUniRZcd_wq8DYmIfsw2A.woff2) format('woff2'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSp1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
 font-family: Kyiv Type Serif;
 src: url(https://demon.vandrivka.com.ua/wp-content/themes/ZeFtUA/fonts/KyivTypeSerif-VarGX.ttf);
}

*{
	margin:0; 
	padding:0;
	border:0;
}
img{
	border:0;
	display:block;
}
a{
	text-decoration:none;
}
ul{
	list-style:none;
}
html {
    font-size: 16px;
}

body {
    min-height: 100%;
    background-color: #E7EAEF;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    font-style: normal;
}

h1{ 
	font-size:2.25rem; 
	line-height:2.5rem; 
	font-weight:bold; 
	font-style:normal;
	float:none;
	color:#0f81f5;
	width: 100%;
	padding: 40px 1px 20px 1px;
}
h2 {
	font-size:1rem; 
	line-height:1.5rem; 
	font-weight:400; 
	font-style:normal;
}
.sub-h2 {
	color: #555;
	font-size: 1.125rem;
	line-height: 1.25rem;
	font-weight: bold;
	padding: 120px 1px 20px 1px;
}
.big-sub-h2 {
	margin: 120px 1px 20px 1px;
    color: #666; 
    font-size: 1.4rem;
    line-height: 1.5rem;
    font-weight: bold;
    background-color: #f7f7f7; 
    padding: 8px;
    border-left: 3px solid #ff22bd; 
}
h3 {
    font-size: 1.125rem;
    line-height: 1.688rem;
    font-weight: bold;
    font-style: normal;
    margin-left: 0;
    padding: 10px 0;
    color: #000;
}
input, textarea {outline: none}








/* Кнопка-мітка з мініатюрою */
.img-tip.thumb{
  display:inline-block;
  position:absolute;
  width:28px;
  height:28px;
  border-radius:50%;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  vertical-align:text-bottom;
  cursor:pointer;
  padding:0;
  transition: transform .12s ease, box-shadow .12s ease;
  flex: none;
  /* для доступності: */
  outline: none;
}
/* hover / focus */
.img-tip.thumb:hover,
.img-tip.thumb:focus{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}
.img-tip.thumb:focus{
  box-shadow: 0 0 0 4px rgba(66,153,225,0.14);
}

/* якщо замінити рамку на "піктограму" */
.img-tip.thumb.has-placeholder{
  background-color: #f4f4f4;
  background-image: none;
}

/* Підтримка prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .img-tip.thumb { transition: none; transform: none; }
}

/* Поповер — мінімальний стиль (як в попередньому прикладі) */
.img-tip-popover {
  position: absolute;
  z-index: 1200;
  max-width: 360px;
  background: white;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform-origin: top left;
  animation: pop 140ms ease-out;
}
@keyframes pop { from { opacity:0; transform: scale(.96) } to { opacity:1; transform: scale(1) } }
.img-tip-popover img { width:100%; height:auto; display:block; border-radius:6px; }
.img-tip-caption { font-size:0.85rem; color:#333; }

/* Мобільна поведінка: фіксована "нижня шторка" */
@media (max-width:640px){
  .img-tip-popover { left:8px; right:8px; bottom:8px; top:auto; max-width:none; border-radius:10px; }
}









/* Header */
.header-wrapper{
	width:100%;
}
.head{ 
	max-width:1430px;
	margin:0 auto;
	padding-inline: 15px;
    box-sizing: border-box;
	overflow:hidden;
	display: block;
}
.logo{
	float:left;
	margin: 20px 0;
	display: block;
}
.logo a{
	display: block;
	width: 295px;
}
.atn{
	margin: 30px auto;
	display: block;
}
.descr{
	float:left;
	margin: 30px 0;
	display: block;
}

/* Top menu */
.menu-wrapper{
	width:100%;
	height:40px;
	background-color:#222;
}
.nav-menu{
	max-width:1430px;
	padding-inline: 15px;
    box-sizing: border-box;
	margin:0 auto;
	overflow:hidden;
}
.menu ul li {
	float:left; 
	margin:2px 15px 0px 0px; 
}
.menu ul li a {
	padding: 5px 0 5px 0; 
	display: block; 
	color:#fff; 
}
.menu ul li a:hover {
	color: #1fa2ff;
}
.social{
	height:40px;
	margin-right:4px;
	width:110px;
	float:right;
}
.instagram{ 
	margin:9px 9px 0 0;
	float:left;
	overflow:hidden;
}
.instagram svg:hover path {
    fill: #1FA2FF;
}
.facebook{ 
	margin: 9px 0 0 0;
	overflow:hidden;
}
.facebook svg:hover path { 
    fill: #1FA2FF;
}

.telegram {
    margin: 9px 9px 0 0;
    float: left;
    overflow: hidden;
}
.telegram svg:hover path {
    fill: #1FA2FF;
}

.search-button-menu .fa {  
  font-size: 20px !important;
  color: #fff;
  cursor: pointer;
}
.search-button-menu .fa:hover {
  color: #1FA2FF;
}
.search-button-menu button{
    float: left;
    margin: 9px 9px 0 0;
    background: none;
}
.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9); 
}
.overlay-content {
  position: relative;
  top: 40%;
  width: 60%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
  color: white;
}
.overlay .closebtn:hover {
  color: #ccc;
}
.overlay input[type=text] {
  padding: 15px;
  font-size: 18px;
  border: none;
  float: left;
  width: 90%;
  background: white;
  color: #222;
}
.overlay button {
  float: left;
  width: 10%;
  background: #ddd;
  font-size: 22px;
  border: none;
  cursor: pointer;
  height: 52px;
  color: #555;
}
.overlay button:hover {
  background: #1FA2FF;
}

/* Content */
.content-wrapper{
	width:100%;
	min-height:100%;
}
.content-main{ 
	max-width:1430px;
	padding-inline: 15px;
    box-sizing: border-box;
	margin:0 auto 0 auto;
}
.content{  
	padding-bottom:10px;
	flex: 1;
	min-width: 0;
}

.content-first-page { 
	padding-bottom:10px;
	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 25px 20px;
    width: 100%;
	max-width: 1150px;
}

.content-near{ 
	padding: 0 20px 15px 15px;
	color: #444;
	font-size: 1.125em;
	line-height: 1.5em;
	font-weight: bold;
	margin-top: 85px;
}

/* Оновлення мініатюр */
.content-post{ 
	border: 1px solid #BABABA;
	padding: 5px 5px 10px 5px;
	opacity:1;
	background-color:#FFFFFF;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777;
}
.post-img img:hover{
	opacity: 0.8;
	transition: opacity 0.1s linear 0s;
}
.post-img a img { 
	width: 100%;
	height: auto;
}
.post-text :hover{
	background-color:#FFFFFF;
	opacity: 1 !important;
}
.post-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 59px; 
	border-bottom: 1px dashed #ccc; 
    margin-bottom: 5px; 
}
.post-text h2 {
    font-size: 18px; 
    line-height: 1.2;
    max-height: 2.4em; 
    overflow: hidden; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}
.post-text h2 a { 
    padding: 0 5px;
    color: #222; 
    font-weight: bold;
    display: block;
    text-decoration: none; 
}
.post-text-excerpt { 
    font-size: 14px;
    line-height: 20px; 
    max-height: 80px;
    padding: 0 5px; 
    overflow: hidden; 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; 
	text-align: justify;
}


/* Content post */ 
.articles h1{ 
	width: 100%;
	padding: 50px 1px 20px 1px;
	float: none;
}

/* Gallery */ 
#gallery-1 img{ 
	border: 0 !important;
}
.gallery br{ 
	display:none;
	clear: none;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -3px !important; 
}
.gallery-item {
    width: calc(25% - 6px) !important; 
    margin: 3px !important; 
	overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
	border: 0 !important;
	transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.1); 
}



.su-list ul li{
	font-size: 0.938em;
}

.content-main-info{
	background: #fff;
	padding: 10px 16px;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777; 
}
.content-main-info a{
	color: #0f81f5;
}
.content-main-info a:hover{
	color: #1a86d4;
	text-decoration: underline;
}
.content-main-info p{
	margin-left: 0;
    padding: 8px 0;
}
.content-main-info-h2 h2 { 
    padding: 120px 1px 20px;
    color: #444;
	font-size: 1.375rem;
    line-height: 1.6rem;
    font-weight: bold;
}


/* Приховати лінію під першим заголовком */
.content-main-info h3:first-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.content-main-info-ul { 
	font-size: 0.875rem;
	line-height: 1.3rem;
}
.content-main-info-ul ul{
	display: block !important;
	overflow: hidden !important;
	white-space: normal !important;
}
.content-main-info-ul li{ 
	padding: 6px 0;
}
.content-main-info-column-one {
	float: left;
	width: 48%;
}
.content-main-info-column-two {
	float: left;
	width: 48%;
	margin: 0 0 0 4%;
}








.content-main-infoa {
	color: #0f81f5;
}

.noru{
    font-size:18px;
	font-weight:bold;
	text-align: center;
	padding:5px 0 !important;
}
.noruru{
    font-size:18px;
	font-weight:bold;
	text-align: center;
	padding:10px 0 15px 0 !important;
}
.noruru a{
	color:#1fa2ff;
	text-decoration:underline;
}


.short-info {
  margin-bottom: 100px;
}





/* Підпис на фото */
dl.gallery-item {
  position: relative;
}
dl.gallery-item dt.gallery-icon img {
  display: block;
  width: 100%;
  height: auto;
}
dl.gallery-item dd.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  margin: 0;
  padding: 4px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;      
  overflow: hidden;         
  text-overflow: ellipsis;  
}
dl.gallery-item dd.gallery-caption a {
  display: block;            
  color: inherit;             
  text-decoration: none;    
  white-space: nowrap;      
  overflow: hidden;           
  text-overflow: ellipsis;    
}




.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}


/* Show more */
.show-more-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #e7eaef);
    padding: 60px 0 0 0;
}
.show-more-button {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 1rem;
    line-height: 1.5rem;
    width: 176px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.5;
}
.content-single-top-info.collapsed {
	box-shadow: none;
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.5s ease;
	color: #000 !important;
}
.content-main-info.content-sources.collapsed {
	box-shadow: none;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.content-main-info.collapsed {
	box-shadow: none;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.gallery-single.collapsed {
    max-height: 700px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.content-single-top-gallery.collapsed {
    max-height: 700px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}



/* Content single post */






/* Lightbox */
.pswp__custom-caption {
	background: rgba(0, 0, 0, 0.65); 
    font-size: 16px;
    color: #fff; 
    display: inline-block; 
    padding: 6px 20px; 
    border-radius: 6px;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    text-align: center; 
	max-width: 760px;
}
.pswp__custom-caption:empty {
    display: none;
}
.pswp__custom-caption a {
    color: #f0f0f0;
    text-decoration: underline;
}
.hidden-caption-content {
    display: none;
}





/* Swiper */
.swiper-wrapper .attachment-medium { 
	border: none;
	padding: 0;
	margin-bottom: 20px;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777; 
	 width: auto !important;
	 height: auto !important;
	 max-width: 100%;
	 max-height: 763px;
	 margin-left: auto;
	 margin-right: auto;
	 box-sizing: border-box;
}
.swiper-pagination {
    position: relative !important;
}
.swiper-pagination-bullet-active {
    background: #000000 !important;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 10px) !important;
}
.vandrivka-swiper-gallery .swiper-slide { 
    text-align: center;
}
.vandrivka-swiper-gallery .swiper-slide a { 
    position: relative;
    display: inline-block;
}
.vandrivka-swiper-gallery .swiper-caption { 
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    color: #fff;
    background: rgba(0,0,0,.4);
    padding: 4px 8px;
    box-sizing: border-box;
    font-size: .813rem;
    line-height: 18px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}








/* Content single post */
.content .content-single-top p{
	margin-left:0;
}
.content-single-top{
	float: inherit;
}
.content-single-top h1 { 
	padding: 40px 0 20px 0;
}
.content-single-top h2.vtoc-section-article-group { 
    margin: 140px 0 55px;
    padding: 45px 25px;
    text-align: center;
    background: #EEF3FA;
    border: 0;
    border-radius: 8px;
    color: #23425c;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
}


#sticky-block #toc-header {
	margin: 0;

}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  margin: 0;
}


.number-color { 
	color: #222;
}.content-single-top-info { 
	background: #fff;
	padding: 10px 15px;
	color: #000 !important;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777; 
}
.content-single-top-info a{
	color: #0f81f5;
}
.content-single-top-info a:hover{
	color: #1fa2ff;
	text-decoration: underline;
}


/* Цитування */
.content-single-top-info blockquote.article-quote{
  margin: 10px 0px 20px 0px;
  padding: 10px 22px 18px 0px;
  background: #f7f8f9;           
  font-style: italic;
  color: #0a0a0a;
  position: relative;
  border-radius: 6px;
}
.content-single-top-info blockquote.article-quote cite{
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  font-style: normal;
  color: #555;
}
.content-single-top-info blockquote.article-quote{
  position: relative;
  padding-left: 50px;
}
.content-single-top-info blockquote.article-quote:before{
  content: "“";
  font-size: 48px;
  line-height: 1;
  position: absolute;
  left: 10px;
  top: 6px;
  color: #1fa2ff;
  opacity: 0.5;
  font-family: Georgia, serif;
}








.content-single-top-info-noimg{ 
	background: #fff;
	padding: 10px 15px;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777; 
}
.content-single-top-info p{
	margin-left: 0;
    padding: 8px 0;
}
.content-single-top .su-list {
    margin-bottom: 0;
}
.content-single-top .su-row {
    margin-bottom: 0;
}
.content-single-top-info-dot {
    margin: 8px 0 8px 0;
	border-width: 1px;
	border-color: #999999;
	border-bottom-style: dotted;
}

.content-single-top-info-dot-2 {
    margin: 6px 0 6px 0;
	border-width: 1px;
	border-color: #999999;
	border-bottom-style: dotted;
}
.content-single-top h2 {
	margin: 120px 1px 20px 1px;
	color: #555;
	font-size: 1.625rem;
	line-height: 1.7rem;
	font-weight: bold;
	background-color: #f9f9f9;
	padding: 10px;
	border-left: 5px solid #1fa2ff;
}
img.alignnone{ 
	border: 1px solid #BABABA;
	padding: 5px;
	background-color:#fff;
	margin-bottom: 20px;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777; 
	 max-height: 760px;
	 width: auto;
	 margin-left: auto;
	 margin-right: auto;
}
.map-multi-marker-div {
	margin-bottom: 20px;
    padding: 4px;
	background: #fff;
	border: 0;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777; 
}
.content-single-top .tags {
    margin-left: 5px;
	padding-bottom: 30px;
}
.content-single-top #comments {
    margin-left: 0 !important;
	margin-top: 30px !important;
}
.info-block{
	display:block;
}
img.alignnone-2{
	border-left: 1px solid #BABABA;
	border-right: 1px solid #BABABA;
	border-top: 1px solid #BABABA;
	padding: 10px;
	background-color:#fff;
}
.content-single-top-info-2{
	background: #fff;
	padding: 0 15px 10px 15px;
	margin: 0 0 25px 0;
	-webkit-box-shadow: 0 7px 6px -6px #777;
    -moz-box-shadow: 0 7px 6px -6px #777;
     box-shadow: 0 7px 6px -6px #777; 
}
.content-single-top-info-2 p{
	margin-left: 0;
    padding: 8px 0;
}
.content-single-top-info-2 p:first-child {
    padding-top: 0;
}
.content-single-top-info p:last-of-type {
    padding-bottom: 0;
}

/* Content single post Map */
.content-single-top .gm-style .gm-style-iw-c {
	border-radius: 0;
	padding: 0;
	display: block;
}
.content-single-top .map-multi-marker #infobulle {
	padding-top: 0 !important;
}
.content-single-top .map-multi-marker #infobulle .img-in-marqueur {
	width: 100% !important;
	padding: 2px !important;
	border: 0 !important;
}
.content-single-top .map-multi-marker #infobulle .wrap-desc-markeur {
	width: 100% !important;
	padding-left: 0 !important;
}
.content-single-top .map-multi-marker #infobulle h2, .map-multi-marker #infobulle .contact-list li, .map-multi-marker #infobulle .contact-list li a {
	color: #222 !important;
}
.content-single-top .map-multi-marker #infobulle h2 {
	margin: 0 !important;
	font-size:1.1125em !important;
	line-height:1.5em !important; 
	font-weight: normal !important;
	padding: 2px 5px 5px 10px;
}
.gm-style-iw-a {
	display: block !important;
}

/* Content donate */
.content .content-donate p{
	margin-left:0;
}
.content-donate{
	float: inherit;
}
.content-donate h3 {
	padding:65px 20px 0 10px;
}
.content-donate .content-single-top-info {
    margin: 20px 0 0 0;
}
.content-donate .content-single-top-info a{
    color: #FF424D;
	font-weight: bold;
}
.content-donate .content-single-top-info a:hover{
    color: #ff424е;
}
.patreon{
    width: 350px;
	margin: 100px auto;
}

/* Content donate single info */
.content-single-donate {
	clear: both;
}
.content-single-donate-info { 
	background: linear-gradient(90deg, #CDE7F9, #FFF4CC);
	padding: 10px 15px;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777; 
}
.content-single-donate-info  a{
	color: #0f81f5;
}
.content-single-donate-info  a:hover{
	color: #1fa2ff;
	text-decoration: underline;
}
.content-single-donate-info p{
	margin-left: 0;
    padding: 8px 0;
}
.content-single-donate-info p:first-child {
    padding-top: 0;
}
.content-single-donate-info p:last-of-type {
    padding-bottom: 0;
}

/* Загальний контейнер для пов'язаних записів */
.crp-list { 
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 15px 10px;
}
.related-post {
    border: 1px solid #BABABA;
    padding: 5px 5px 10px 5px;
    opacity: 1;
    background-color: #FFFFFF;
    box-shadow: 0 10px 6px -6px #777;
    list-style: none; 
}
.related-post-img img:hover {
    opacity: 0.8;
    transition: opacity 0.1s linear 0s;
}
.related-post-img a img {
    width: 100%;
    height: auto;
}
.related-post-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 59px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 5px; 
}
.related-post-text h2 {
    font-size: 18px; 
    line-height: 1.2; 
    max-height: 2.4em; 
    overflow: hidden; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}
.related-post-text h2 a {
    padding: 0 5px;
    color: #222;
    font-weight: bold;
    display: block;
    text-decoration: none;
}
.related-post-excerpt {
    font-size: 14px;
    line-height: 20px; 
    max-height: 80px;
    padding: 0 5px; 
    overflow: hidden; 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; 
    text-align: justify;
}

/* Інші записи */
.related-posts-list-2 { 
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 15px 10px;
}
.related-post-2 {
    border: 1px solid #BABABA;
    padding: 5px 5px 10px 5px;
    opacity: 1;
    background-color: #FFFFFF;
    box-shadow: 0 10px 6px -6px #777;
    list-style: none; 
}
.related-post-img-2 img:hover {
    opacity: 0.8;
    transition: opacity 0.1s linear 0s;
}
.related-post-img-2 a img {
    width: 100%;
    height: auto;
}
.related-post-text-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 59px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 5px; 
}
.related-post-text-2 h2 {
    font-size: 18px; 
    line-height: 1.2; 
    max-height: 2.4em; 
    overflow: hidden; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}
.related-post-text-2 h2 a {
    padding: 0 5px;
    color: #222;
    font-weight: bold;
    display: block;
    text-decoration: none;
}
.related-post-excerpt-2 {
    font-size: 14px;
    line-height: 20px; 
    max-height: 80px;
    padding: 0 5px; 
    overflow: hidden; 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; 
    text-align: justify;
}





.h2-style-1 h2::first-letter {
  color: #007bff; /* Колір першої літери */
  font-size: 2rem; /* Збільшення розміру першої літери */
  font-weight: bold; /* Товстий шрифт для першої літери */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Додаємо тінь до першої літери */
}

.h2-style-2 h2 {
  margin: 120px 1px 20px 1px;
  color: #444;
  font-size: 1.625rem;
  line-height: 1.7rem;
  font-weight: bold;
  background-color: #f9f9f9; /* Додаємо фон */
  padding: 10px;
  border-left: 5px solid #1fa2ff; /* Лінія зліва від заголовка */
}

.h2-style-2 h3 {
  color: #666; /* Трохи темніший колір тексту */
  font-size: 1.4rem; /* Зменшений розмір шрифту */
  line-height: 1.5rem;
  font-weight: bold;
  background-color: #f7f7f7; /* Легший фон, щоб відрізняти від H2 */
  padding: 8px;
  border-left: 3px solid #1fa2ff; /* Тонша лінія зліва */
}



/* Map */
.map .google-map-iframe{ 
	height: 500px;
}

/* Tags */
.tags a{
	margin-right:5px;
	background-color:#1FA2FF;
	margin-top:5px;
	white-space: nowrap;
	display: inline-block;
	padding: 3px 7px 4px 7px;
	color:#fff;
	font-size:0.813em; 
}
.tags a:hover{
	background-color:#1A86D4;
	transition: 0.5s ease;
}
.tag{ /* 24/06/2021 124 */
	margin: 0 0 20px 10px;
	width: 100%;
	display: inline-block;	
}
.tag p{
	background-color:#1FA2FF;
	white-space: nowrap;
	display: inline-block;
	padding: 3px 7px 4px 7px;
	color:#fff;
	font-size:0.813em; 
	text-transform: capitalize;
}

/* Other post */
.relatedposts{ 
	float: left;
	margin-bottom:55px;
	width: 100%;
}
.relatedthumb{
	margin:0 14px 20px 0;
	width:362px;
	float:left;
	border: 1px solid #BABABA;
	padding: 5px;
	background-color:#FFFFFF;
	-webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
     box-shadow: 0 10px 6px -6px #777;
}
.relatedthumb:last-child{
	margin:0;
}
.relatedthumb img{ 
	width:362px;
	height:225px;
}
.relatedthumb-post img:hover{
	opacity: 0.8;
	transition: opacity 0.1s linear 0s;
}
.relatedthumb h2{
	color:#222;
	text-overflow: ellipsis; 
	overflow: hidden; 
	white-space: nowrap; 
	padding: 0 5px;
    height: 25px;
    line-height: 27px;
}
.relatedthumb h2:hover{
	cursor: pointer;
}

/* Sidebar */
.vf-wrapper {
	position:sticky;
    top:10px;
    height:90dvh;
    overflow-y:auto;
	width: 262px;
    flex-shrink:0;
    margin-right:20px;
    border: 1px solid #BABABA;
    font-size: 0.875rem;
    background: white;
    color: #222;
	margin-bottom:50px;
	padding-bottom:15px;
	box-shadow: 0 10px 6px -6px #777;
	scrollbar-width:thin;
}
.vf-wrapper::-webkit-scrollbar{
    width:8px;
}
.vf-wrapper::-webkit-scrollbar-thumb{
    border-radius:10px;
    background:#bbb;
}
.vf-filter-content {
    display: flex;
    align-items: flex-start;
}
.vf-filters h3 {
    padding: 10px;
    font-size: 1rem;
    color: #222;
	border-top: 1px solid #BABABA;
}
.vf-filters h3:first-child {
	border-top: 0;
}
#vf-results {
    flex:1;
	transition: opacity .2s ease;
}
.vf-section {
    margin-bottom: 15px;
}
.vf-section label{
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding: 2px 5px 2px 10px;
    cursor:pointer;
}
.vf-section input[type="checkbox"]{
	accent-color: #0f81f5;
	flex-shrink: 0;
    margin-top: 4px;
}
.vf-label-text{
    flex:1;
}
.vf-count{
    color:#888;
    font-size:13px;
}
.vf-zero-selected{
    color:#777;
	text-decoration:line-through;
}
.vf-zero-selected .vf-count{
    color:#777;
}
.vf-limit-list{
    max-height:300px;
	min-height:300px;
    overflow:hidden;
}
.vf-limit-list.vf-expanded{
    max-height:none;
}
.vf-show-more{
    display:block;
    margin-top:5px;
    font-size: 0.875rem;
    color:#666;
    cursor:pointer;
    text-decoration:none;
	padding-left: 10px;
}
.vf-show-more::after{
    content:" ▾";
}
.vf-expanded + .vf-show-more::after{
    content:" ▴";
}
.vf-section-city.expanded {
    max-height: none;
}
.vf-disabled {
    opacity: .35;
}

#vf-active-bar-container{
    min-height:50px;
    transition:.3s;
}
.vf-active-bar{
	font-size: 0.875rem;
    display:flex;
	align-items: center;
    gap:15px;
    background:#fafafa;
    border:1px solid #e6e6e6;
	margin: 20px 0;
	padding: 8px 5px 8px 10px;
}
.vf-active-bar-show{
    animation:vfActiveBarShow .25s ease;
}
@keyframes vfActiveBarShow{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.vf-found-posts{
}
.vf-clear-filters a:any-link, .vf-clear-filters button {
	color: #0f81f5;
	background: none;     
	border: none;        
	padding: 0;           
	cursor: pointer;  
}
.vf-active-info{
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    min-width:110px;
	border-right:1px solid #ddd;
}
.vf-active-filters{
    flex:1;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.vf-tag {
    display: inline-flex;
    align-items: center;
	background: #fff;
	padding: 4px 9px;
    border: 1px solid #ccc;
    border-radius: 5px;
	color: #333;
}
.vf-tag-zero{
    background:#f7f7f7;
    color:#888;
	text-decoration: line-through;
}
.vf-city-search, .vf-raion-search{
    width:100%;
    box-sizing:border-box;
    padding:7px 12px 7px 36px;
    border:1px solid #ccc;
    font-size:12px;
}
.vf-city-search-wrap{
    position:relative;
    margin-bottom:10px;
	padding: 0 5px 0 10px;
}
.vf-search-icon{
    position:absolute;
    left:22px;
    top:50%;
    transform:translateY(-50%);
    pointer-events:none;
    opacity:.6;
}


/* Sidebar mobile */
.vf-mobile-footer,
.vf-mobile-toggle,
.vf-overlay{
    display:none;
}
body.vf-filter-open .vf-overlay{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    z-index:9998;
}
body.vf-filter-open{
    overflow:hidden;
}
.vf-mobile-active-filters {
    display: none;
}
.vf-mobile-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
	max-height:200px;
    overflow-y:auto;
}
.vf-mobile-tags .vf-tag{
    font-size:14px;
}

@media (hover: hover) {
.vf-section label:hover{
	background: #1fa2ff;
	color: #fff;
}
.vf-section label:hover .vf-count{
    color:#fff;
}
.vf-clear-filters a:hover {
	color: #1a86d4;
}
}

@media (max-width: 1000px){
.vf-active-bar{
	display:none;
}
.vf-filter-content {
	display: block;
}
#vf-mobile-toggle-wrap{
    position:sticky;
    top:0;
    z-index:50;
}
.vf-mobile-toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    height:36px;
    margin-bottom: 40px;
	margin-top: 20px;
	background-color: #f9f9f9;
	color: #333;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .10);
	font-size: 1rem;
	font-weight: 600;
	gap:8px;
}
.vf-wrapper{
	position:fixed;
	top:0;
	left:-100%;
	width: min(80vw, 380px);
	height:100dvh;
	background:#fff;
	z-index:9999;
	transition:.4s;
	display:flex;
	flex-direction:column;
	margin-bottom:0;
}
.vf-filter-form{
	display:flex;
	flex-direction:column;
	height:100%;
}
.vf-scroll-area{
	flex:1;
	min-height:0;
	overflow-y:auto;
}	
.vf-section label{
	font-size: 1rem;
}
.vf-mobile-footer{
	flex-shrink:0;
	padding:10px;
	background:#fff;
	display:flex;
}
.vf-mobile-apply{
	margin: 0 auto;
	background: #333;
	color: #fff;
	padding: 6px 12px;
	min-width: 105px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.vf-mobile-active-filters{
    padding: 10px;
    border-bottom:1px solid #ddd;
	display:block;
}
.vf-active-filters{
    gap:4px;
}
.vf-tag {
	padding: 2px 9px;
}
.vf-mobile-clear {
	padding-top: 10px !important;
	flex-shrink: 0 !important;
}
.vf-clear-filters {
    display: flex;
    justify-content: center;
}
.vf-city-search-wrap{
	padding: 0 10px 0 10px;
}
body.vf-filter-open .vf-wrapper{
	left:0;
}
#vf-filter-content{
    height:100%;
}
.vf-mobile-toggle-count{
    display:flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#1fa2ff;
    color:#fff;
    font-size:0.813rem;
    font-weight:700;
    line-height:1;
    flex-shrink:0;
}
.vf-mobile-toggle-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}
.vf-mobile-toggle-icon svg{
    width:18px;
    height:18px;
}
#vf-active-bar-container{
    min-height:0;
}
}


/* Table of Contents */
.content-main-toc {
    display: flex;
    align-items: flex-start;
}
.toc-sidebar {
	position:sticky;
    top:10px;
    flex-shrink:0;
	width: 290px;
    min-width: 260px;
	margin-top: 50px;
}
.vtoc-wrapper {
    max-height: 90dvh;
    overflow-y:auto;
    margin-right:30px;
    border: 1px solid #BABABA;
    font-size: 0.875rem;
    background: white;
	margin-bottom:50px;
	padding:8px 5px 20px 10px;
	box-shadow: 0 10px 6px -6px #777;
	scrollbar-width:thin;
	scrollbar-gutter: stable;
	scrollbar-color: #bbb transparent;
}
.vtoc-wrapper::-webkit-scrollbar {
	width: 8px;
}
.vtoc-wrapper::-webkit-scrollbar-track {
	background: transparent;
}
.vtoc-wrapper::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: #bbb;
}
.vtoc-wrapper a{
    color:#333;
    text-decoration:none;
}
.vtoc-title{
    font-size:16px;
    font-weight:700;
    margin-bottom:12px;
	text-align: center;
	border-bottom: 1px solid #BABABA;
    padding-bottom: 5px;
}
.vtoc-accordion > .vtoc-h3-list{
    max-height:0;
    overflow:hidden;
    opacity:0;
    transform:translateY(-4px);
    margin:0 0 0 26px;
}
.vtoc-accordion.open > .vtoc-h3-list{
    max-height:1500px;
    opacity:1;
    transform:none;
    margin:0 0 5px 10px;
}
.vtoc-expanded > .vtoc-h3-list{
    margin:0 0 10px 10px;
}
.vtoc-h2-row{
    line-height: 1.5rem;
	display:flex;
    align-items:flex-start;
    gap:6px;
}
.vtoc-h2-item {
	margin: 3px 0;
}
.vtoc-toggle{
    position:relative;
    width:18px;
    height:18px;
    flex:none;
    background:none;
    border:none;
    padding:0;
    margin-top:3px;
    cursor:pointer;
}
.vtoc-toggle::before{
    content:"▶";
    display:block;
    font-size:11px;
    line-height:18px;
    text-align:center;
    transition:
        transform .3s cubic-bezier(.4,0,.2,1);
    transform-origin:center;
}
.vtoc-h2-item.open .vtoc-toggle::before{
    transform:rotate(90deg);
}
.vtoc-h2-item.vtoc-active .vtoc-toggle::before{
    color:#1fa2ff;
}
.vtoc-h2-link{
	flex:1;
    display:block;
    text-decoration:none;
	font-weight:600;
}
.vtoc-h3-list{
    line-height: 1.3rem;
    list-style:none;
    padding:0;
}
.vtoc-h2-item:not(.vtoc-accordion) > .vtoc-h3-list{
    margin:0 0 10px 10px;
}
.vtoc-h3-item{
    margin:5px 0;
}
.vtoc-h3-link{
    color:#444;
    display:flex;
    align-items:flex-start;
    gap:9px;
}
.vtoc-h2-link{
    display:flex;
    align-items:flex-start;
    gap:4px;
}
.vtoc-h3-link::before{
    content:"";
    width:5px;
    height:1px;
    background:#666;
    margin-top:.65em;
    flex:none;
}
.vtoc-h3-item.vtoc-active .vtoc-h3-link::before{
    background:#1fa2ff;
}
.vtoc-h2-link,
.vtoc-h3-link{
    transition:
        color .2s,
        background-color .2s;
    border-radius:6px;
}
.vtoc-h2-item.vtoc-active > .vtoc-h2-row .vtoc-h2-link{
    color:#1fa2ff;
}
.vtoc-h3-item.vtoc-active .vtoc-h3-link{
    color:#1fa2ff;
}
.vtoc-wrapper a:hover{
    color:#1fa2ff;
}
.vtoc-h2-link::before{
    display:inline-block;
    width:18px;
    margin-right:2px;
	margin-bottom: 2px;
    text-align:center;
    vertical-align:middle;
}
.vtoc-mobile-button,
.vtoc-overlay,
.vtoc-mobile-header {
    display: none;
}
.vtoc-panel {
    display: block;
}
.vtoc-section-article-group {
    margin: 22px 0 10px;
    padding: 5px 0;
    border-top: 1px solid #dfe5ea;
    border-bottom: 1px solid #dfe5ea;
}
.vtoc-section-article-group > .vtoc-h2-row .vtoc-h2-link {
    font-size: 0.813rem;
    font-weight: 200;
	letter-spacing: .05rem;
    color: #8a8f96;
}
.vtoc-section-article-group > .vtoc-h2-row .vtoc-h2-link:hover {
    color: #1fa2ff;
}
.vtoc-section-article-group > .vtoc-h2-row .vtoc-h2-link::before {
    content: "";
}
.vtoc-section-learn .vtoc-h2-link::before{
    content:"🔍";
}
.vtoc-section-history .vtoc-h2-link::before{
    content:"ℹ️";
}
.vtoc-section-facts .vtoc-h2-link::before{
    content:"💡";
}
.vtoc-section-gallery .vtoc-h2-link::before{
    content:"📸";
}
.vtoc-section-route .vtoc-h2-link::before{
    content:"📍️";
}
.vtoc-section-trip .vtoc-h2-link::before{
    content:"🛣️";
}
.vtoc-section-hours .vtoc-h2-link::before{
    content:"🕒";
}
.vtoc-section-city-map .vtoc-h2-link::before{
    content:"🗺️";
}
.vtoc-section-location .vtoc-h2-link::before{
    content:"🗺️";
}
.vtoc-section-sources .vtoc-h2-link::before{
    content:"📚";
}
.vtoc-separator-marker {
    display: none;
}
.vtoc-separator {
    margin: 14px 4px 10px;
    padding-top: 10px;
    border-top: 1px solid #dfe5ea;
}
.vtoc-separator:first-child {
    margin-top: 0;
}
.vtoc-separator-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a8f96;
}



/* Прогрес читання */
.vtoc-reading-progress{
    display:none;
}

@media (max-width:1000px){

    .vtoc-reading-progress{
        display:block;
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:3px;
        background:rgba(0,0,0,.08);
        z-index:9999;
        pointer-events:none;
    }
    .vtoc-reading-progress-bar{
        width:0;
        height:100%;
        background:#1fa2ff;
        transition:width .08s linear;
    }

}










.post-content figure {
    display: inline-block;
    margin: 10px;
    width: calc(25% - 20px);
}

.post-content img {
    width: 100%;
    height: auto;
    display: block;
}




#filter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#filtered-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-item {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


#comments {
	margin: 120px auto 50px auto;
}



@media( pointer: coarse) {
.post-img img:hover{
	opacity: 1;
	transition: none;
	cursor: none;
}
.relatedthumb-post img:hover{
	opacity: 1;
	transition: none;
}
.sbOptions li:hover{
    background-color:#fff;
}
.sbOptions a:hover{
    border-bottom: 1px solid #e7eaef;
    background-color:#fff;
    color:#222;
}
.wp-pagenavi a:hover {
    background:#f5f5f8;
    color:#333;
}
input {
	outline: 0 !important;
}
*{        
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}    
}


/* Search */
.rezylt{ 
	overflow: hidden;
	display: inline-table;
}
.rezylt h1{
	padding-bottom:10px;
}
.rezylt span{
	color:#1FA2FF;
}
#___gcse_0{ 
	margin:15px 0 0 0 !important;
}
.cse .gsc-control-cse, .gsc-control-cse{
	padding:0 0 0 5px !important;
	border: 1px solid #bababa !important;
}
.gsc-orderby{
	display:none !important;
}

/* Pagination */
.wp-pagenavi{margin:0 0 0 8px;font-size:12pt;text-align:center;clear:both;padding-top:30px;padding-bottom:30px;}
.wp-pagenavi a,.wp-pagenavi span {
 display:inline-block;
 vertical-align:middle;
 -webkit-box-sizing:border-box;
 box-sizing:border-box;
 width:2em;
 height:2em;
 line-height:2.1em;
 margin:0 0 1px 0;
 background:#f5f5f8;
 -webkit-transition:all .1s;
 transition:all .1s;
 color:#333;
 text-decoration:none
}
.wp-pagenavi a:hover {
 background:#1FA2FF;
 color:#fff;
}
.wp-pagenavi a:focus {
 background:#1FA2FF;
 color:#fff;
}
.wp-pagenavi .current {
 background:#1FA2FF;
 color:#fff;
}
.wp-pagenavi .extend {
 background:#f5f5f8;
 width:1.2em;
}

/* Date */
.x-date {
	padding: 10px 2px;
	color: #666;
	font-weight: bold;
	display: inline-block;
	font-size: 0.875rem;
}
.x-date span{
	margin-right: 5px;
} 

/* Contacts */
.content-contact{ 
	width:100%;
	float:left;
	padding-top: 35px;
}
.content-contact a {
	color: #0f81f5;
}
.content-contact a:hover{
	color: #1fa2ff;
	text-decoration: underline;
}
.content-contact-contact{
	padding: 35px 0 5px 0;
    color: #444;
    font-size: 1.125em;
    line-height: 1.5em;
    font-weight: 700;
}

/* 404 */
.content404 h1{ 
	text-align: center;
	float: none;
}

/* Footer */
.footer-up {
	height:30px; 
}
.footer {
	background: #222; 
	width: 100%; 
	height:30px; 
	margin-top:-30px;
}

/* Main map */
.codespacing_progress_map_area{
	overflow:hidden !important;
}
.content-main-map{ 
	max-width:98%;
	overflow:hidden !important;
	margin:20px auto 0 auto;
}
.details_infos{
	display:none !important;
}
.details_container{
	height: 42px !important; 
}
#codespacing_progress_map_carousel_initial li{
	display:block !important;
}
#map2739{
	padding: 0 !important;
}
.faceted_search_btn{
	width:94px !important;
	height:38px !important;
}
.faceted_search_btn svg{
	width:94px !important;
	border-radius: 2px !important;
}
.faceted_search_btn svg:hover path{
	fill:#069dfb !important;
}
.gm-style-mtc div{
	height: 28px !important;
	font-size: 14px !important;
	padding: 0px 7px !important; 
}
.gm-style-mtc div:not(:first-child){
	display: none !important; 
}
.gm-fullscreen-control{
	height: 30px !important;
	width: 30px !important;
}
.gm-fullscreen-control img{
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	margin: auto !important;
}   
.faceted_search_container_map2739{
	height: 70% !important;
	padding: 15px 5px 15px 15px !important;
}
.mCustomScrollbar {
	height: 100% !important;
	max-height: 100% !important;
}

/* Кнопка нагору */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: none;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    border-radius: 5px;
    z-index: 1000;
    cursor: pointer;
	opacity: 0.7;
}




.article-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}
.article-text-2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.063rem;
  line-height: 1.7;
}

/* Кружечок-тригер в тексті */
.inline-photo {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  vertical-align: -10px;
  margin: 0 3px;
  background-size: cover;
  background-position: center;
  border: 0px solid #fff;
  box-shadow: 0 0 0 1.5px #ccc;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.inline-photo-2 {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  vertical-align: -10px;
  margin: 0 3px;
  background-size: cover;
  background-position: center;
  border: 0;
  box-shadow: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.inline-photo:hover,
.inline-photo:active {
  transform: scale(1.15);
}

/* Модалка */
.inline-photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.inline-photo-modal.active {
  display: flex;
}
.inline-photo-modal img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 4px;
}
.inline-photo-modal-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}
.inline-photo-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
}


@media only screen and (min-height: 900px) {

.codespacing_progress_map_area {
	height: 75% !important; 
	background: #E7EAEF none repeat scroll 0 0 !important;
}
#codespacing_progress_map_div_map2739 {
	height: 73% !important; 
}
}

@media only screen and (max-width: 400px) {
.faceted_search_btn{
	left:60px !important;
}
}

/*
@media only screen and (max-width: 1190px) { satan
.head{
	width:949px;
}
.nav-menu{
	width:949px;
}
.social{
	margin-right:0;
}
.content-main{
	width:956px;
	margin: 0 auto;
}
.content{ 
	margin: 0 auto;
}
.content-single-top { 
    margin-top: 15px;
}
img.alignnone{ 
	max-width: 934px;
	height: auto;
}
.overlay {
	display:none; 
}
}
*/

@media only screen and (max-width: 1000px) {

.head{
	width:736px;
}
.nav-menu{
	width:736px;
}
.overlay-content { 
  width: 80%;
}
.post-text h2 { 
	display: grid;
}

.content-single-top {
    max-width: 736px; 
	margin-top: 10px;
}
img.alignnone{ 
	max-width: 724px;
	height: auto;
	padding: 5px;
}
.gallery br{ 
	display:none;
}

.gallery {
    margin: -2px !important; 
}
.gallery-item {
    width: calc(33.33% - 4px) !important; 
	margin: 2px !important; 
}
.content-single-top dl:nth-of-type(3n){
	margin-right: 0 !important;
}
.content-single-top dl:nth-of-type(2n){
	margin-right: 0 !important;
}
.articles h1{ 
	max-width:736px;
}
.related-post:nth-child(3) {
    display: none;
}
.related-posts-list {
    grid-template-columns: 1fr 1fr;
}
.crp-list { 
    grid-template-columns: 1fr 1fr;
}


/* Table of Contents */
.content-main-toc { 
	display: block;
}
.toc-sidebar {
	position: static;
	width: auto;
	min-width: 0;
	margin-top: 0;
}
.vtoc-mobile-button {
	position: fixed;
	left: 20px;
	bottom: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 5px;
	background: rgba(0,0,0,.72);
	color: #fff;
	font-size: 1.375rem;
	line-height: 1;
	cursor: pointer;
	z-index: 99990;
}
.vtoc-title {
	display: none;
}
body.vtoc-open .vtoc-mobile-button {
	display: none;
}
.vtoc-overlay {
	position: fixed;
	inset: 0;
	display: block;
	background: rgba(0,0,0,.45);
	opacity: 0;
	visibility: hidden;
	transition: .25s;
	z-index: 99991;
}
.vtoc-panel {
	position: fixed;
	top: 0;
	left: 0;
	width: min(85vw, 380px);
	height: 100dvh;
	background: #fff;
	transform: translateX(-100%);
	transition: transform .3s cubic-bezier(.4,0,.2,1);
	z-index: 99992;
	display: flex;
	flex-direction: column;
	box-shadow: 0 0 25px rgba(0,0,0,.2);
}
body.vtoc-open {
	overflow: hidden;
}
body.vtoc-open .vtoc-overlay {
	opacity: 1;
	visibility: visible;
}
body.vtoc-open .vtoc-panel {
	transform: translateX(0);
}
.vtoc-mobile-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 16px;
	border-bottom: 1px solid #ddd;
	font-weight: 700;
	font-size: 1rem;
}
.vtoc-close {
	border: none;
	background: none;
	font-size: 1rem;
	cursor: pointer;
}
.vtoc-panel .vtoc-wrapper {
	flex: 1;
	max-height: none;
	overflow-y: auto;
	margin: 0;
	border: none;
	box-shadow: none;
	padding: 15px 10px;
	font-size: 1rem;
}
.vtoc-toggle::before{
    font-size:12px;
}
.vtoc-section-article-group > .vtoc-h2-row .vtoc-h2-link {
    font-size: 0.938rem;
    font-weight: 200;
	letter-spacing: .05rem;
    color: #8a8f96;
}
}


@media only screen and (max-width: 760px) { 
h1{
	font-size: 2rem; 
	padding: 40px 1px 20px 5px;
	padding-inline: 16px;
}
.content-main{ 
	padding-inline: 0;
}
.head{
	padding-inline: 16px;
}
.nav-menu{
	padding-inline: 16px;
}
.sub-h2 {
	padding: 120px 1px 20px 5px; 
}
.pswp__custom-caption {
	width: 100%;
}
.pswp--touch .pswp__button--arrow {
  display: none !important;
} 
.content-main-info-h2 h2 {
	padding: 120px 1px 20px 5px;
}
.content-main-info-contact p{ 
	padding: 6px 0;
    font-size: 0.875rem;
    line-height: 1.3rem;
}
.head{ 
	width: 96%;
}
.nav-menu{  
	width: 96%;
	min-width: 300px;
}
.menu ul li {
	margin:2px 10px 0px 0px; 
}
.menu ul li:first-child {
    display: none;
}
.social{
	width: 81px;
}
.instagram {
    display: none;
}
.facebook {
    float: right;
}
.x-date { 
	padding: 10px 5px;
}
.x-date span{
	margin-right: 3px;
} 
.content{ 
	width: auto;
	float: none;
	overflow: hidden;
}
.content-first-page { 
    grid-template-columns: 1fr;
}
.content-near{  
	padding: 0 20px 15px 5px;
}
.gallery {
    margin: -1px !important; 
}
.gallery-item {
    width: calc(50% - 2px) !important;
	margin: 1px !important; 
}
.content-single-top { 
	margin-left: 0;
	max-width: none;
}
.content-main-info-ul ul { 
	list-style: none;
}
.content-main-info-column-one { 
	float: none;
	width: 100%;
}
.content-main-info-column-two {
	float: none;
	width: 100%;
	margin: 0;
}

img.alignnone{ 
	width: 100%;
	height: auto;
	max-width: none;
	box-sizing: border-box;
	padding: 2px;
	max-height: none;
	border: 0px;
} 
.swiper-wrapper .attachment-medium {
	width: 100% !important;
	max-width: none;
	max-height: none;
} 
.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}
.sidebar{ 
	width: 100%;
	padding-left: 0;
	float: none;
	padding-right: 0;
}
.sidebar404 .lang{
	display: none;
}
.main1 {
	margin-left:0;
}
.articles h1{
	float: none;
	margin: 0;
	padding-inline: 16px;
}
.crp-list {  
    grid-gap: 10px 5px;
}
.related-posts-list {
    grid-template-columns: 1fr;
}
.wp-pagenavi .extend {
	width:0.75em;
}
.main-google{
    padding-left:0;	
}
.page-google{
	padding-left:0;	
}
.page-google2{
	padding-left:0;	
}
.relatedthumb {
	max-width: none;
	padding: 4px;
}
#comments {
    margin-left: 0 !important;
}
#wpcomm .wc-comment .wc-comment-left .avatar { 
    width: 25px !important; 
    height: 25px !important; 
    margin: 1px 5px 0 1px !important; 
	border: 0 !important; 
}
#wpcomm .wc-comment-header { 
    margin-left: 0 !important; 
}
#wpcomm .wc-reply.wc-comment .wc-comment-left .avatar { 
    width: 25px !important; 
    height: 25px !important; 
    margin: 1px 5px 0 1px !important;
}
#wpcomm .wc-comment-footer .wc-footer-left { 
    float: left; 
    padding: 0; 
}
#wpcomm .wc-reply .wc-footer-left .wc-cta-button, #wpcomm .wc-reply .wc-footer-left .wc-cta-button-x { 
    padding: 2px 0px 2px 8px; 
}
#wpcomm .wc-footer-left .wc-reply-button { 
    margin-right: 0 !important; 
}
#wpcomm .wc-footer-left .wc_editable_comment i { 
    display: none !important; 
}
#wpcomm .wc-comment-footer .wc-footer-right { 
    float: right; 
    padding: 0; 
}

/* Цитування */
.content-single-top-info blockquote.article-quote{
  padding: 10px 5px 18px 0px;
}
.content-single-top-info blockquote.article-quote cite{
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  font-style: normal;
  color: #555;
}
.content-single-top-info blockquote.article-quote{
  padding-left: 30px;
}
.content-single-top-info blockquote.article-quote:before{
  left: 3px;
}

}