.header-lang {
  position: relative;
  height: 100%;
  margin-left: 10px;
}

.header-lang:hover .header-lang__menu {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.header-lang__trigger {
  border-radius: 8px;
  background: rgb(255, 105, 60);
  width: 61px;
  height: 61px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  pointer-events: none;
  transition: border-color 0.3s ease;
  color: #fff;
}

@media (max-width: 768px) {
  .header-lang__trigger {
    width: 56px;
    height: 56px;
  }
}

.header-lang__menu {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  height: fit-content;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 10;
  background: #f2ffe6;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header-lang__item {
  background: rgb(242, 209, 41);
  width: 61px;
  height: 61px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Apartments Single Page */
.card {
  width: 38vw;
  padding: 2.5vw;
  background: #f6efe8;
  color: #1f1f1f;
}

.title {
  font-size: 2vw;
  font-weight: 600;
  margin-bottom: 2vw;
}

.info {
  margin-bottom: 2.5vw;
}

.row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1vw;
  padding: 0.6vw 0;
  border-bottom: 0.05vw dashed #d6cfc7;
}

.row span:first-child{
  color: #824D37;
}

.row span:nth-of-type(2){
  font-weight: 700;
}

.price {
  display: flex;
  justify-content: space-between;
  margin: 2.5vw 0 1vw;
  align-items: flex-end;
}

.label {
  font-size: 1vw;
}

.value {
  font-size: 1.6vw;
  font-weight: 600;
}

.total {
  font-size: 1.9vw;
  font-weight: 700;
}

.btn {
  width: 100%;
  padding: 1.2vw 0;
  border-radius: 0.6vw;
  font-size: 1.2vw;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.primary {
  background: #5663d6;
  color: #fff;
  margin-bottom: 1vw;
}

.secondary {
  background: #63b45f;
  color: #fff;
}

h2.wp-block-heading {
  position: relative;
  z-index: 2;
  margin-bottom: max(32px, 3.26vw);
  font-family: Riel, sans-serif;
  font-style: normal;
  line-height: 100%;
  text-decoration: none;
  font-size: max(40px, 5vw);
  font-weight: 700;
  text-align: center;
  margin-top: 4.2vw;
}

.footer__left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.3vw;
}

.footer__left .footer__title {
  grid-column: span 2;
}

.footer__left_item:nth-of-type(2){
  grid-column: span 2 !important;
  max-width: 22vw;
}

.footer__left_item:last-child{
  grid-column: span 2 !important;
  border: none;
}

.footer__left_item:nth-last-child(2){
  max-width: 100%;
  width: 100%;
  grid-column: span 2;
}

.footer__top .container {
  max-width: initial;
}

.section_location__wrapper_map {
  opacity: 0.5;
}

.entry-content p {
  padding: 0.5vw;
}

@media (max-width: 768px) {
  .header-lang__item {
    width: 56px;
    height: 56px;
  }
}

.header-lang__item a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.header__top-right-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.header-lang-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header-lang__item-desktop {
  color: #f2ffe6;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.header-lang__item-desktop a {
  color: #f2ffe6;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.header-lang__item-desktop .active {
  color: rgb(255, 146, 113);
}

.header.headroom--not-top .header-lang__item-desktop a {
  color: rgba(3, 25, 21, 1);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.header.headroom--not-top .header-lang__item-desktop {
  color: rgba(3, 25, 21, 1);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.header.headroom--not-top .header-lang__item-desktop .active {
  color: rgb(255, 146, 113);
}

@media screen and (min-width: 768px) {
  .terms {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 768px){
  .promo-btn {
        background-color:rgb(41, 41, 37);
        color: white;
    }

}
.social-icon svg{
  transition: transform 0.3s ease;

}

.social-icon:hover svg{
  transform: scale(1.1) rotate(10deg);
  transition: transform 0.3s ease;
}

/* SINGLE PAGE STYLES (NEWS + FLATS) */
.single-news {
  background: #f6efe7;
  padding: 5vw 1vw;
}

/* HEADER */
.single-news__hero {
  padding: 3vw 0 0;
}

.single-news__hero-inner {
  max-width: 86vw;
}

.single-news__title {
  font-size: 5vw;
  margin-bottom: 1.2vw;
  font-weight: 700;
  max-width: 70vw;
}

.single-news__meta {
  font-size: 1.2vw;
  color: #292925;
  margin-bottom: 2.5vw;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* BODY */
.single-news__body {
  padding: 3vw 0 6vw;
}

.single-news__grid {
  max-width: 86vw;
  display: grid;
  grid-template-columns: 1fr 20vw;
  gap: 4vw;
}

/* CONTENT */
.single-news__content {
  font-size: 1.1vw;
  line-height: 1.7;
  padding-top: 1vw;
}

.entry-content .wp-block-image {
  margin: 2.5vw 0;
}

.entry-content .wp-block-image img {
  width: 100%;
  border-radius: 1vw;
  display: block;
}

/* SIDEBAR */

.single-news__sidebar {

}

.sidebar-title {
  font-size: max(25px, 3.4vw);
  margin-bottom: 1.5vw;
  font-weight: 700;
}

.sidebar-news {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.sidebar-news__date {

}

.sidebar-news__title {
  font-size: 1vw;
  line-height: 1.4;
}

.sidebar-news {
  display: flex;
  flex-direction: column;
}

.sidebar-news__item {
  padding: 1.6vw 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.sidebar-news__item:last-child {
  border-bottom: none;
}

.sidebar-news__meta {
  display: flex;
  gap: 0.6vw;
  font-size: max(13px, 1.1vw);
  color: #292925;
  margin-bottom: 0.6vw;
}

.sidebar-news__title {
  font-size: max(15px, 1.4vw);
  line-height: 1.4;
}


.entry-content strong { font-weight: 700 }



/* Apartments Single Page */
.card {
  width: 38vw;
  padding: 2.5vw;
  background: #f6efe8;
  color: #1f1f1f;
}

.title {
  font-size: 2vw;
  font-weight: 600;
  margin-bottom: 2vw;
}

.info {
  margin-bottom: 2.5vw;
}

.row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1vw;
  padding: 0.6vw 0;
  border-bottom: 0.05vw dashed #d6cfc7;
}

.row span:first-child{
  color: #824D37;
}

.row span:nth-of-type(2){
  font-weight: 700;
}

.price {
  display: flex;
  justify-content: space-between;
  margin: 2.5vw 0 1vw;
  align-items: flex-end;
}

.label {
  font-size: 1vw;
}

.value {
  font-size: 1.6vw;
  font-weight: 600;
}

.total {
  font-size: 1.9vw;
  font-weight: 700;
}

.btn {
  width: 100%;
  padding: 1.2vw 0;
  border-radius: 0.6vw;
  font-size: 1.2vw;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.primary {
  background: #5663d6;
  color: #fff;
  margin-bottom: 1vw;
}

.secondary {
  background: #63b45f;
  color: #fff;
}

h2.wp-block-heading {
  position: relative;
  z-index: 2;
  margin-bottom: max(32px, 3.26vw);
  font-family: Riel, sans-serif;
  font-style: normal;
  line-height: 100%;
  text-decoration: none;
  font-size: max(40px, 5vw);
  font-weight: 700;
  text-align: center;
  margin-top: 4.2vw;
}

.footer__left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.3vw;
}

.footer__left .footer__title {
  grid-column: span 2;
}

.footer__left_item:nth-of-type(2){
  grid-column: span 2 !important;
  max-width: 22vw;
}

.footer__left_item:last-child{
  grid-column: span 2 !important;
  border: none;
}

.footer__left_item:nth-last-child(2){
  max-width: 100%;
  width: 100%;
  grid-column: span 2;
}

.footer__top .container {
  max-width: initial;
}

.section_location__wrapper_map {
  opacity: 0.5;
}

.entry-content p {
  padding: 0.5vw;
}


.youtube-embed {
  position: relative;
  z-index: 1;
  background: white;
  width: 100%;
  text-align: center;
  height: 35vw;
  padding: max(3vw, 30px) 0;
}

.youtube-embed .wp-block-embed__wrapper{
  height: 100%;
}

.youtube-embed iframe {
  width: 65vw;
  height: 100%;
}

.mb-10vw {
  margin-bottom: 10vw;
}


@media (max-width: 768px) {

  .primary {
    margin-bottom: 3vw;
  }

  .header-lang__item {
    width: 56px;
    height: 56px;
  }

  .single-news {
    padding: 5vw 3vw;
  }

  .single-news__title { max-width: 100%;}

  .single-news__meta {
    font-size: 2.8vw;
  }

  .single-news__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .single-news__hero {
    margin-top: 70px;
  }

  .single-news__hero-inner {
    max-width: 100%;
  }

  .single-news__content {
    font-size: 3.5vw;
    line-height: 1.5;
  }

  body .swiper-button-next, body .swiper-button-prev {
    top: 47%;
  }
}

@media screen and (min-width: 768px) {
  body .menu-container {
    width: 15vw;
    min-width: 260px;
  }

  .swiper-btns-wrap {
    display: none;
  }

}

.planning-card__title {
  align-items: center;
}

.info-block__descr p:nth-of-type(even) {
  opacity: 0.5;
}

.m-5 {
  margin: max(50px, 3vw) 0;
}

body .pc {display: block}
body .mobile {display: none}

@media (max-width: 768px) {
  body .pc {display: none}
  body .mobile {display: block}
}

body ul.wp-block-list, body .wp-block-list li {
  margin-left: max(10px, 1vw);
  list-style: square;
}




