* {
  padding: 0;
  margin: 0;
}
.photo_box, #projects .banner_img {
 outline: 2px solid black;
}
@media screen and (max-width: 933px) {
.travel-box .text_box {
 margin-right: 5% !important;

}
}
.travel-box {
 gap: 0!important;
}
.travel-box .text_box {
 margin-right: 15%;

}
.desc-travel {
margin-top: 50px;
padding-top: 60px;
border-top: 2px solid black;
}

.desc-travel .container {
display: flex;
}

.desc-travel .text_box {
width: 70%;
padding-right: 10%;
}
.desc-travel .btn-box {
width: 30%;
display: flex;

align-items: center;
}
.quote-h {
 border-left: 2px solid black;
 padding-left: 40px;
 margin-bottom: 60px;
}

.quote-h::after {
 content: none;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Playfair Display", serif;
  color: #000;
}

html.lock {
  overflow: hidden;
}

.main-font {
 font-family: 'Jost';
 font-weight: 400;
}

.font-italic {
 font-family: 'Jost';
 font-weight: 300;
 font-style: italic;
}

img {
  pointer-events: none;
}
p a {
  color: #A65844;
  text-decoration: underline;
}

.flex {
  display: flex;
}

.column {
  flex-direction: column;
}

.just-space-btw {
  justify-content: space-between;
}

.just-center {
  justify-content: center;
}

.center {
  align-items: center;
}

.h100 {
  height: 100%;
}

.w100 {
  width: 100%;
}

.container {
  height: 100%;
  margin: 0 auto;
  max-width: 1140px;
  position: relative;
}

.s-message {
    display:none;
}
@media screen and (max-width: 1280px) {
  .container {
    margin: 0 3%;
    max-width: unset;
  }
}
@media screen and (max-width: 768px) {
  .container {
    margin: 0 5%;
  }
.desc-travel {
margin-top: 0;
border-top: none;
}
.travel-box {
 padding-bottom: 0!important;
}
.travel-box .text_box {
 margin-right: 0 !important;
 margin-bottom: 30px;
}

.quote-h {
margin-bottom:30px;

margin-top: 30px;
}
}

@media screen and (max-width: 673px) {
.desc-travel .container {
flex-direction: column;
}
.desc-travel .text_box, .desc-travel .btn-box {
 width: 100%;
 padding-right: 0;
}

.desc-travel .btn-box {
margin-top: 30px;
justify-content: center;
}

}

section#orange_hr {
  width: 100%;
  background-color: #A65844;
  height: 137px;
  margin-bottom: 100px;
}
@media screen and (max-width: 768px) {
  section#orange_hr {
    height: 103px;
    margin-bottom: 70px;
  }
}

h1 {
  font-size: 54px;
  text-align: center;
  margin: 0 auto;
}
h1::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 20px;
  margin-bottom: 30px;
  background-color: #000;
  width: 100%;
}
@media screen and (max-width: 768px) {
  h1 {
    font-size: 24px;
  }
  h1::after {
    margin-top: 15px;
  }
}

h2 {
  font-size: 36px;
  text-transform: uppercase;
}
h2::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 30px;
  margin-bottom: 0px;
  background-color: #000;
  width: 100%;
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 24px;
  }
  h2::after {
    margin-top: 25px;
  }
}

h3 {
  font-size: 24px;
  margin-bottom: 70px;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  h3 {
    font-size: 20px;
    margin-bottom: 30px;
  }
}

p {
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  p {
    font-size: 18px;
  }
}

a {
  text-decoration: none;
  font-size: 16px;
  color: #000;
  font-weight: 400;
  max-width: fit-content;
}
a.btn:hover {
  text-decoration: none;
}
a.link_underline {
  position: relative;
}
a.link_underline:after {
  position: absolute;
  content: "";
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid;
  transform: scaleX(0);
  transform-origin: 100% 100%;
  transition: transform 0.3s;
  transition-timing-function: cubic-bezier(0.39, 0.575, 0.28, 0.995);
}
a.link_underline:hover:after {
  transform: scaleX(1);
  transform-origin: 0 0;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #fff;
}

.absolute {
  position: absolute;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 22px 20px;
  width: 100%;
  max-width: 296px;
  text-align: center;
  /* font-family: "Playfair Display", serif; */
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  color: #000;
  background: transparent;
  border: 2px solid #000;
  cursor: pointer;
  transition: ease-out 0.5s;
}
.btn.black{ /* new */
  border: 2px solid black;
  background-color: black;
  box-sizing: border-box;
  color: #fff;
}

.btn.white {
  border: 2px solid #fff;
  box-sizing: border-box;
  color: #fff;
}
.btn.white::after {
  bottom: -2px;
  right: -2px;
  border-left: 2px solid #A65844;
  border-bottom: 2px solid #A65844;
  transition: width 0.1s ease 0.1s, height 0.1s ease, visibility 0s 0.2s;
}
.btn.white::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid #A65844;
  border-right: 2px solid #A65844;
  transition: width 0.1s ease 0.3s, height 0.1s ease 0.2s, visibility 0s 0.4s;
}
.btn.white:hover {
  animation: pulse 1s ease-out 0.4s;
  color: #A65844;
  background-color: #fff;
}
.btn::after, .btn::before {
  position: absolute;
  content: "";
  width: 0%;
  height: 0%;
  visibility: hidden;
}
.btn::after {
  bottom: -2px;
  right: -2px;
  border-left: 2px solid #A65844;
  border-bottom: 2px solid #A65844;
  transition: width 0.1s ease 0.1s, height 0.1s ease, visibility 0s 0.2s;
}
.btn::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid #A65844;
  border-right: 2px solid #A65844;
  transition: width 0.1s ease 0.3s, height 0.1s ease 0.2s, visibility 0s 0.4s;
}
 .btn:hover {
  animation: pulse 1s ease-out 0.4s;
  background-color: #A65844;
} 
.btn:hover::after, .btn:hover::before {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  visibility: visible;
  transition: width 0.1s ease 0.2s, height 0.1s ease 0.3s, visibility 0s 0.2s;
}
.btn:hover::after {
  transition: width 0.1s ease 0.2s, height 0.1s ease 0.3s, visibility 0s 0.2s;
}
.btn:hover::before {
  transition: width 0.1s ease, height 0.1s ease 0.1s;
}
@media screen and (max-width: 768px) {
  .btn {
    font-size: 18px;
    padding: 9px 55px;
    max-width: 261px;
  }
}

.input_pseudo {
  position: relative;
}
.input_pseudo::after, .input_pseudo::before {
  position: absolute;
  pointer-events: none;
  content: "";
  width: 0%;
  height: 0%;
  visibility: hidden;
}
.input_pseudo::after {
  z-index: 2;
  bottom: -2px;
  right: -2px;
  border-left: 2px solid #A65844;
  border-bottom: 2px solid #A65844;
  transition: width 0.1s ease 0.1s, height 0.1s ease, visibility 0s 0.2s;
}
.input_pseudo::before {
  z-index: 2;
  top: -2px;
  left: -2px;
  border-top: 2px solid #A65844;
  border-right: 2px solid #A65844;
  transition: width 0.1s ease 0.3s, height 0.1s ease 0.2s, visibility 0s 0.4s;
}
.input_pseudo:hover {
  animation: pulse 1s ease-out 0.4s;
  color: #A65844;
}
.input_pseudo:hover::after, .input_pseudo:hover::before {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  visibility: visible;
  transition: width 0.1s ease 0.2s, height 0.1s ease 0.3s, visibility 0s 0.2s;
}
.input_pseudo:hover::after {
  transition: width 0.1s ease 0.2s, height 0.1s ease 0.3s, visibility 0s 0.2s;
}
.input_pseudo:hover::before {
  transition: width 0.1s ease, height 0.1s ease 0.1s;
}

.input {
  position: relative;
  display: inline-block;
  background: transparent;
  border-radius: 0;
  font-style: normal;
  font-weight: 400;
  font-family: "Jost";
  font-size: 16px;
  padding: 24px 22px;
  border: none;
  outline: 2px solid #000;
  color: #000;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: ease-out 0.5s;
}
.input::placeholder {
  color: #000;
}
@media screen and (max-width: 768px) {
  .input {
    padding: 13px 22px;
  }
}

.btn-up {
  position: fixed;
  right: 65px;
  bottom: 130px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease-in-out, transform 0.3s ease-in-out;
  color: #fff;
  width: 35px;
  height: 169px;
  opacity: 1;
  transform: translateY(0);
  animation: scroll_anim 4s infinite cubic-bezier(0.68, 0, 0.21, 0.99);
}
@media (pointer: coarse) {
  .btn-up {
    display: none;
  }
}

.btn-up svg path {
  transition: opacity 0.15s ease-in-out;
}

.btn-up_hide {
  display: none;
}

.btn-up_hiding {
  opacity: 0;
  transform: translateY(100px);
}

.btn-up-icon {
  width: 40px;
  height: 40px;
  fill: currentcolor;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover svg path {
    opacity: 0.5;
    transition: opacity 0.15s ease-in-out;
  }
}
@keyframes scroll_anim {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(0, -25px);
  }
  100% {
    transform: translate(0);
  }
}
header {
  padding-top: 33px;
}
header.blog_header .main_box_header {
  align-items: center;
}
header.blog_header .main_box_header .header_logo img {
  height: 40px;
}
header.blog_header .main_box_header .links_header {
  gap: 30px;
}
header.blog_header .main_box_header .number a {
  font-size: 20px;
}
header::after, .main-block-blog::after, .main-block-article::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #6C6C6C;
  margin-top: 33px;
}

.main-block-article::after {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  header {
    display: none;
  }
  header::after {
    margin-top: -2px;
  }
}

header#mobile {
  display: none;
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2196078431);
  z-index: 999;
}

header#mobile .header_menu.open {
  left: 0;
}

header#mobile .header_menu {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  top: 0;
  left: -100%;
  overflow: auto;
}

header#mobile .header_menu .header_close-btn {
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.431372549);
  height: 64px;
  /* background-color: #A65844; */
  background-color: black;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: fixed;
  z-index: 10;
}

header#mobile .header_menu .header_close-btn .close-btn {
  outline: none;
  border: 0;
  background: transparent;
  margin-right: 3%;
}

header#mobile .header_menu .header_list {
  width: 100%;
  margin-top: 64px;
}

header#mobile .header_menu .header_list .header-list-mobile_second {
  position: relative;
}

header#mobile .social_links {
  margin-top: 21px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
header#mobile .social_links .phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
header#mobile .social_links .social {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}
header#mobile .social_links .social a svg {
  fill: #000;
}

header#mobile .header_menu .header_list li {
  font-size: 18px;
  line-height: 22px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

header#mobile .header_menu .header_list li a {
  text-decoration: none;
  margin-left: 4%;
  color: #000;
  font-size: 18px;
}

header#mobile .header_menu .header_list li .first-img,
header#mobile .header_menu .header_list li .second-img {
  margin-left: 15px;
  width: 18px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

header#mobile .header_menu .header_list li .second-img {
  margin-right: 20px;
}

header#mobile .header_menu .header_list li .first-img.down {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

header#mobile .header_menu .header_list li .second-img.down {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

header#mobile .header_menu .header_list .extend-menu-mobile {
  background-color: #F5FBFE;
  padding-bottom: 16px;
  padding-top: 10px;
  display: none;
}

header#mobile .header_menu .header_list .extend-menu-mobile ul li {
  margin: 15px 0;
  font-size: 14px;
  line-height: 17px;
  font-weight: 600;
  height: auto;
}

header#mobile .header_menu .header_list .extend-menu-mobile ul li a {
  margin-left: 10%;
}

.header_logo {
  height: 100%;
  max-width: 202px;
}

/* Large desktops and laptops */
/* Portrait tablets and medium desktops */
/* Portrait tablets and small desktops */
@media screen and (max-width: 768px) {
  header {
    display: none;
  }
  header#mobile .header_body .header_logo img {
    height: 100%;
    margin-right: 10px;
    padding: 14px 0;
    box-sizing: border-box;
  }
  header#mobile .header_logo a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 10px;
  }
  header#mobile {
    display: block;
    height: 64px;
    padding: 0;
    position: fixed;
  }
  header#mobile .header_body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 64px;
    width: 100%;
    background-color: transparent;
  }
  header#mobile .header_body .header_burger_bg {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  header#mobile .header_body .header_burger_bg .header_burger {
    width: 30px;
    height: 22px;
    display: block;
    position: relative;
  }
  header#mobile .header_body .header_burger_bg .header_burger:before,
header#mobile .header_body .header_burger_bg .header_burger:after {
    content: "";
    background-color: #000;
    border-radius: 0;
    width: 100%;
    height: 4px;
    left: 0;
    display: block;
    position: absolute;
  }
  header#mobile .header_body .header_burger_bg .header_burger:before {
    top: 0;
  }
  header#mobile .header_body .header_burger_bg .header_burger:after {
    bottom: 0;
  }
  header#mobile .header_body .header_burger_bg .header_burger span {
    position: absolute;
    background-color: #000;
    border-radius: 0;
    width: 100%;
    height: 4px;
    top: 9px;
  }
  header#mobile .header_body .header_call {
    width: 64px;
    height: 64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  header#mobile .header_body .header_call a {
    width: 23px;
    height: 23px;
    color: #000;
  }
  header#mobile .header_body .header_call a svg {
    width: 23px;
    height: 23px;
  }
}
/* Landscape phones and portrait tablets */
/* Landscape phones and smaller */
#home {
  margin-bottom: 30px;
  margin-top: 70px;
}
#home .home_container {
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
#home .home_container h1 {
  display: inline-block;
}
#home .home_container .orange_box {
  /* background-color: #A65844; */
  border: 2px solid black;
  display: flex;
  flex-direction: row;
  max-height: 667px;
  justify-content: space-between;
  margin-top: 25px;
}
#home .home_container .orange_box .text_box {
  width: 100%;
 /* color: #fff; */
  display: flex;
  flex-direction: column;
  gap: 70px;
  text-align: left;
  max-width: 625px;
  margin-left: 190px;
  justify-content: center;
}
#home .home_container .orange_box .text_box h2 {
  text-transform: none;
}
#home .home_container .orange_box .text_box h2::after {
  display: none;
}
#home .home_container .orange_box .photo_box {
  width: 42%;
}
#home .home_container .orange_box .photo_box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
@media screen and (max-width: 1520px) {
  #home .home_container .orange_box .text_box {
    margin-left: calc(50vw - 569px);
  }
}
@media screen and (max-width: 1280px) {
  #home .home_container .orange_box .text_box {
    margin: 20px 0 20px 44px;
    width: 50%;
  }
}
@media screen and (max-width: 768px) {
  #home {
    padding: 100px 0 0 0;
    margin-bottom: 70px;
    margin-top: 0;
  }
  #home .home_container {
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  #home .home_container .orange_box {
    flex-direction: column-reverse;
    max-height: unset;
    padding: 30px 5% 70px 5%;
  }
  #home .home_container .orange_box .text_box {
    margin-left: 0;
    margin-top: 30px;
    gap: 30px;
    width: 100%;
  text-align: center;
  }
#home .home_container .orange_box .btn {
margin: 0 auto;
}
  #home .home_container .orange_box .text_box h2 {
    font-size: 20px;
  }
  #home .home_container .orange_box .photo_box {
    width: fit-content;
    height: 420px;
    margin: 0 auto;
  }
}

#aboutMe {
  margin-bottom: 70px;
}
#aboutMe .main_flex_box {
  display: flex;
  gap: 55px;
  margin-top: 70px;
}
#aboutMe .main_flex_box .photo_box {
  max-height: 722px;
  max-width: 677px;
}
#aboutMe .main_flex_box .photo_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#aboutMe .main_flex_box .text_box {
  max-width: 408px;
}
@media screen and (max-width: 768px) {
  #aboutMe {
    margin-bottom: 30px;
  }
  #aboutMe .main_flex_box {
    margin-top: 30px;
    flex-direction: column;
    gap: 30px;
  }
  #aboutMe .main_flex_box .photo_box {
    max-height: 378px;
    overflow: hidden;
  }
  #aboutMe .main_flex_box .text_box {
    max-width: unset;
  }
}

#projects {
  margin-top: 100px;
  margin-bottom: 100px;
}
#projects h2 {
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  #projects h2 {
    margin-bottom: 30px;
  }
}
#projects h3 {
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  #projects h3 {
    margin-bottom: 20px;
  }
}
#projects .banner_img {
  width: 100%;
  max-height: 416px;
  overflow: hidden;
  margin: 0 0 70px 0;
}
#projects .banner_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#projects .flex_box {
  display: flex;
  flex-direction: row;
  gap: 85px;
  margin-bottom: 50px;
}
#projects .flex_box p {
  max-width: 657px;
}

#projects .flex_box p a:hover {
  text-decoration: none;
}
#projects .flex_box .photo_box {
  max-width: 400px;
  max-height: 483px;
  min-width: 307px;
  overflow: hidden;
}
#projects .flex_box .photo_box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  #projects {
    margin-bottom: 70px;
    margin-bottom: 70px;
  }
  #projects .banner_img {
    margin: 0 0 30px 0;
    max-height: 130px;
  }
  #projects .flex_box {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  #projects .flex_box p {
    max-width: 657px;
  }
  #projects .flex_box p a {
    font-size: 18px;
  }
  #projects .flex_box .photo_box {
    max-width: unset;
    max-height: 483px;
  }
  #projects .flex_box .photo_box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

#news {
  margin-bottom: 108px;
}
#news a.btn {
  display: block;
  margin: 0 auto;
}
#news .news_slider {
  margin: 0 -42px;
  margin-top: 47px;
}
#news .news_slider .slide {
  margin: 0 42px;
  margin-bottom: 70px;
}
#news .news_slider .slide .slide_box {
  max-width: 528px;
}
#news .news_slider .slide .slide_box span {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 50px;
  display: block;
}
#news .news_slider .slide .slide_box .photo_box {
  height: 298px;
  /*width: 528px;*/
  width: 100%;
  margin-bottom: 70px;
  overflow: hidden;
}
#news .news_slider .slide .slide_box .photo_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#news .news_slider .slide .slide_box p {
  margin-bottom: 70px;
  min-height: 68px;
}
#news .news_slider .slide .slide_box p:nth-of-type(1),
#news .news_slider .slide .slide_box p:nth-of-type(3){
  margin: 0;
  display: none;
}
#news .news_slider .slide .slide_box h3{
  margin-bottom: 25px;
}
@media screen and (max-width: 768px) {
  #news {
    margin-bottom: 70px;
  }
  #news a.btn {
    padding: 9px 9px;
  }
  #news .news_slider {
    margin-top: 30px;
  }
  #news .news_slider .slide {
    margin-bottom: 30px;
  }
  #news .news_slider .slide .slide_box {
    max-width: unset;
  }
  #news .news_slider .slide .slide_box span {
    font-size: 16px;
    margin-bottom: 28px;
  }
  #news .news_slider .slide .slide_box .photo_box {
    max-height: 200px;
    max-width: 100%;
    margin-bottom: 30px;
  }
  #news .news_slider .slide .slide_box p {
    margin-bottom: 30px;
    min-height: 144px;
  }
}

#contacts {
  padding: 70px 0 145px;
  background-color: #D3D3D3;
}
#contacts .main_flex_box {
  margin-top: 70px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
}
#contacts .main_flex_box .form_box {
  border: 2px solid #000;
  padding: 70px 75px;
  width: 100%;
  max-width: 753px;
  box-sizing: border-box;
}
#contacts .main_flex_box .form_box form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


#contacts .main_flex_box .form_box form button.btn::after, #contacts .main_flex_box .form_box form button.btn::before {
  border-color: transparent;
}
#contacts .main_flex_box .form_box form button.btn:hover {
  color: #fff;
  background-color: #000;
}
#contacts .main_flex_box .links_box {
  max-width: 309px;
}
#contacts .main_flex_box .links_box .photo_box {
  max-height: 538px;
  max-width: 309px;
  overflow: hidden;
  margin-bottom: 70px;
}
#contacts .main_flex_box .links_box .photo_box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#contacts .main_flex_box .links_box .social_btns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 33px;
}
#contacts .main_flex_box .links_box .social_btns a {
  transition: all 0.3s ease-in-out;
}
#contacts .main_flex_box .links_box .social_btns a img {
  width: 63px;
  height: 63px;
  transition: all 0.3s ease-in-out;
}
#contacts .main_flex_box .links_box .social_btns a:hover img {
  filter: drop-shadow(0px 0px 7px rgba(0, 0, 0, 0.322));
}
@media screen and (max-width: 768px) {
  #contacts {
    padding: 30px 0 70px;
  }
  #contacts .main_flex_box {
    margin-top: 30px;
    flex-direction: column;
  }
  #contacts .main_flex_box .form_box {
    padding: 30px;
  }
  #contacts .main_flex_box .form_box form {
    gap: 20px;
  }
  #contacts .main_flex_box .form_box form button {
    margin-top: 10px;
  }
  #contacts .main_flex_box .links_box {
    max-width: unset;
    width: 100%;
  }
  #contacts .main_flex_box .links_box .photo_box {
    display: none;
  }
  #contacts .main_flex_box .links_box .social_btns {
    gap: 25px;
  }
  #contacts .main_flex_box .links_box .social_btns a img {
    width: 40px;
    height: 40px;
  }
}

#rorshah .flex_box {
  margin-top: 70px;
}
#rorshah .flex_box .image {
  height: 732px;
  width: 722px;
  float: left;
  shape-outside: polygon(78% 0, 78% 14%, 100% 14%, 100% 83%, 78% 83%, 78% 100%, 0% 100%, 0% 0%);
  clip-path: polygon(78% 0, 78% 14%, 100% 14%, 100% 85%, 78% 85%, 78% 100%, 0% 100%, 0% 0%);
  position: relative;
  top: -26px;
  margin-right: 30px;
}
@media screen and (max-width: 1162px) {
  #rorshah .flex_box .image {
    width: 50%;
    height: auto;
    shape-outside: unset;
    clip-path: unset;
    top: 0;
    margin-left: 0;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 768px) {
  #rorshah {
    margin-top: 30px;
  }
  #rorshah .flex_box {
    margin-top: 30px;
  }
  #rorshah .flex_box .image {
    width: 100%;
    height: auto;
    shape-outside: unset;
    clip-path: unset;
    top: 0;
    margin-left: 0;
    margin-bottom: 30px;
  }
}

.fancybox__container {
  width: 100vw;
  height: 95%;
}

#certificates .certificates_slider {
  margin: 0 -10px;
  margin-top: 70px;
  margin-bottom: 100px;
}
#certificates .certificates_slider a {
  margin: 0 10px;
  height: 358px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  max-width: unset;
}
#certificates .certificates_slider a .photo_box {
  width: 100%;
  height: 100%;
  outline: none;
}
#certificates .certificates_slider a .photo_box img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}
@media screen and (max-width: 1290px) {
  #certificates .certificates_slider {
    max-width: 90%;
    margin: 30px auto 70px;
  }
}
@media screen and (max-width: 768px) {
  #certificates .certificates_slider {
    max-width: calc(100% - 16px);
    margin: 30px auto 70px;
  }
  #certificates .certificates_slider a {
    margin: 0 8px;
    min-height: 208px;
    max-height: 208px;
    width: 100%;
  }
  #certificates .certificates_slider a img {
    max-height: 208px;
    object-position: center;
  }
}

#services .flex_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
  margin-bottom: 30px;
}
#services .flex_box .cell {
  width: 40%;
}
#services .flex_box .cell:nth-child(odd) {
  margin-bottom: 70px;
}
#services .flex_box .cell:nth-child(even) {
  position: relative;
  top: 100px;
}
#services .flex_box .cell:nth-last-child(1):nth-child(even) {
  margin-bottom: 170px;
}
#services .flex_box .cell .cell-head {
  margin-bottom: 70px;
}
#services .flex_box .cell .cell-head .photo_box {
  height: 391px;
  overflow: hidden;
}
#services .flex_box .cell .cell-head .photo_box:hover img {
  transform: scale(1.1);
}
#services .flex_box .cell .cell-head .photo_box img {
  transition: 0.5s ease-in-out all;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#services .flex_box .cell .cell-head .text_box h3 {
  padding: 25px 28px;
  /* background: #A65844; color: #fff; */
  
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  border: 2px solid black;
}
#services .flex_box .cell p {
  margin-bottom: 70px;
}
#services .flex_box .cell a {
  margin: 0 auto;
  display: block;
}
@media screen and (max-width: 900px) {
  #services .flex_box {
    margin-top: 30px;
    margin-bottom: 70px;
    gap: 30px;
  }
  #services .flex_box .cell {
    width: 100%;
  }
  #services .flex_box .cell:nth-child(odd) {
    margin-bottom: 0;
  }
  #services .flex_box .cell:nth-child(even) {
    position: relative;
    top: unset;
  }
  #services .flex_box .cell:nth-last-child(1):nth-child(even) {
    margin-bottom: 0;
  }
  #services .flex_box .cell .cell-head {
    margin-bottom: 30px;
  }
  #services .flex_box .cell .cell-head .photo_box {
    height: 300px;
  }
  #services .flex_box .cell .cell-head .text_box h3 {
    padding: 15px 18px;
  }
  #services .flex_box .cell p {
    margin-bottom: 30px;
  }
  #services .flex_box .cell a {
    box-sizing: border-box;
  }
}

#education .education_main_flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 70px;
  margin-bottom: 100px;
  gap: 47px;
}
#education .education_main_flex a {
  max-width: 30%;
  min-height: 432px;
}
#education .education_main_flex a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 1000px) {
  #education .education_main_flex {
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 70px;
    justify-content: center;
    gap: 30px;
  }
  #education .education_main_flex a {
    max-width: 100%;
    min-height: 300px;
  }
  #education .education_main_flex a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

#blog {
  padding-bottom: 100px;
}
#blog .main_flex_box {
  display: flex;
  flex-direction: row;
}
#blog .main_flex_box .left_coll {
  width: 66%;
  padding-top: 70px;
  padding-right: 74px;
}

#blog .main_flex_box .main-block-travel {
  padding-top: 0;
height: 500px;

}


#blog .main_flex_box .main-block-travel img{
  width:100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: -34%;
   border-right: 2px solid #6C6C6C;
}

.main-block-article h2 {
margin-top: 40px;

}
.main-block-article h2::after {
 display:none;
}

.article-travel-description {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  margin-top: 50px;
  padding: 20px 0;
  font-size: 18px;

}



#blog .main_flex_box .left_coll .post_page .info_row {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 70px;
}
#blog .main_flex_box .left_coll .post_page .post_photo {
  max-height: 290px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 70px;
}
#blog .main_flex_box .left_coll .post_page .post_photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#blog .main_flex_box .left_coll .post_page p {
  margin-bottom: 20px;
}
#blog .main_flex_box .left_coll .post_page a.btn {
  margin: 70px auto 0;
}
#blog .main_flex_box .left_coll .orange_heads {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 80px;
}
#blog .main_flex_box .left_coll .orange_heads .cell-100 {
  flex: 1;
  min-width: 100%;
}
#blog .main_flex_box .left_coll .orange_heads .cell-100:hover .photo_box img {
  transform: scale(1.1);
}
#blog .main_flex_box .left_coll .orange_heads .cell-100 .photo_box {
  height: 202px;
  overflow: hidden;
}
#blog .main_flex_box .left_coll .orange_heads .cell-100 .photo_box img {
  transition: 0.5s ease-in-out all;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#blog .main_flex_box .left_coll .orange_heads .cell-100 .text_box h3 {
  padding: 13px 28px;
  border: 2px solid black;
  margin: 0;
  box-sizing: border-box;
}

.white-background {
  background: white !important;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  border-left: 1px solid black;
  color: black !important;
  text-align:center;
}

.photo-border {
  border: 1px solid black;
}

.img-main-block {
  width:100%;
  min-height: 500px;
  object-fit: cover;
  margin: 40px 0;
  border: 1px solid black;
}

.header-italic {
  text-align: start;
  margin-top: 40px;
  font-size: 36px;
  font-style: italic;
}

.text-description {
  margin-bottom: 40px;
}

.name-country {
  margin-bottom:30px !important;
}


#blog .main_flex_box .left_coll .orange_heads .cell-50 {
  flex: 2;
}

#blog .main_flex_box .left_coll .orange_heads .cell-50-travel {
  max-width: 47%;
  flex: none;
}

#blog .main_flex_box .left_coll .orange_heads .cell-50:hover .photo_box img {
  transform: scale(1.1);
}
#blog .main_flex_box .left_coll .orange_heads .cell-50 .photo_box {
  max-width: 100%;
  height: 222px;
  overflow: hidden;
}
#blog .main_flex_box .left_coll .orange_heads .cell-50 .photo_box img {
  transition: 0.5s ease-in-out all;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#blog .main_flex_box .left_coll .orange_heads .cell-50 .text_box {
  height: calc(100% - 222px);
}
#blog .main_flex_box .left_coll .orange_heads .cell-50 .text_box h3 {
  padding: 13px 28px;
  border: 2px solid black; 
  margin: 0;
  box-sizing: border-box;
  height: 100%;
}
#blog .main_flex_box .left_coll .posts_list {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 100px;
}
#blog .main_flex_box .left_coll .posts_list .post {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

#blog .main_flex_box .left_coll .posts_list .post-travel {
  border: 1px solid black;
  
}

#blog .main_flex_box .left_coll .posts_list .post .photo_box {
  width: 323px;
  /*height: 343px;*/
  overflow: hidden;
}

/* #blog .main_flex_box .left_coll .posts_list .post-travel .photo_box {
  border-right: 1px solid black;
} */

#blog .main_flex_box .left_coll .posts_list .post .photo_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#blog .main_flex_box .left_coll .posts_list .post .text_box {
  width: 323px;
  display: flex;
  flex-direction: column;
}

#blog .main_flex_box .left_coll .posts_list .post-travel .text_box {
  padding: 20px 20px  20px 0;
}
#blog .main_flex_box .left_coll .posts_list .post .text_box a {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 45px;
  display: block;
  text-decoration: underline;
}

#blog .main_flex_box .left_coll .posts_list .post-travel .text_box a {
  margin-bottom: 30px; 
  text-decoration: underline;
}  


#blog .main_flex_box .left_coll .posts_list .post .text_box a:hover {
  text-decoration: underline;
}
#blog .main_flex_box .left_coll .posts_list .post .text_box p {
  margin-bottom: 30px;
}



#blog .main_flex_box .left_coll .posts_list .post .text_box p:nth-of-type(1),
#blog .main_flex_box .left_coll .posts_list .post .text_box p:nth-of-type(3){
  margin: 0;
  display: none;
}

#blog .main_flex_box .left_coll .posts_list .post .text_box p:nth-of-type(1) {
display: block !important;
}

#blog .main_flex_box .left_coll .posts_list .post .text_box span {
  font-weight: 400;
  font-size: 14px;
  color: #A65844;
  margin-top: auto;
  margin-bottom: 5px;
}
#blog .main_flex_box .left_coll .pagination_box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
#blog .main_flex_box .left_coll .pagination_box .btns_box {
  display: flex;
  flex-direction: row;
  gap: 10px;
  list-style-type:none;
}
#blog .main_flex_box .left_coll .pagination_box .btns_box a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid #000;
  transition: 0.15s ease-in-out all;
}
#blog .main_flex_box .left_coll .pagination_box .btns_box a:hover {
  border-color: #A65844;
  background-color: #A65844;
  color: #fff;
}
#blog .main_flex_box .left_coll .pagination_box .btns_box a.active {
  border-color: #A65844;
  background-color: #A65844;
  color: #fff;
}
#blog .main_flex_box .right_coll {
  width: 34%;
}
#blog .main_flex_box .right_coll .join_us_box {
  padding-top: 70px;
  padding-left: 46px;
  padding-bottom: 100px;
  border-left: 2px solid #6C6C6C;
}
#blog .main_flex_box .right_coll .join_us_box .links_box {
  display: flex;
  flex-direction: row;
  gap: 33px;
}
#blog .main_flex_box .right_coll .join_us_box .links_box a {
  width: 63px;
  height: 63px;
  margin: 0;
}
#blog .main_flex_box .right_coll .join_us_box .links_box a img {
  width: 100%;
  height: 100%;
}
#blog .main_flex_box .right_coll .join_us_box::after {
  content: "";
  background: #6C6C6C;
  height: 2px;
  width: 100vw;
  display: block;
  position: relative;
  left: -46px;
  bottom: -100px;
}
#blog .main_flex_box .right_coll .form_box {
  padding-top: 70px;
  padding-left: 46px;
  padding-bottom: 100px;
  border-left: 2px solid #6C6C6C;
  margin-bottom: 0px;
}
#blog .main_flex_box .right_coll .form_box form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#blog .main_flex_box .right_coll .form_box::after {
  content: "";
  background: #6C6C6C;
  height: 2px;
  width: 100vw;
  display: block;
  position: relative;
  left: -46px;
  bottom: -100px;
}
#blog .main_flex_box .right_coll a:last-of-type {
  margin-top: 70px;
  margin-left: 46px;
}


.post_page img {
max-width: 100%;
object-fit: contain;
 margin: 15px 0;
}



@media screen and (max-width: 1190px) {
  #blog .main_flex_box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #blog .main-block-article  .main_flex_box {

    flex-direction: row;
  }

  #blog .main_flex_box .main-block-travel img {
    left: -52%;
    
  }

  #blog .main_flex_box .left_coll {
    margin-bottom: 70px; 
    padding-right: 0;
    width: 100%;
  }

  .anonce-left-coll {
margin-bottom: 0 !important;
  }

#blog .main_flex_box .anonce-right-coll .form_box {
 padding-top: 40px;
}

  #blog .main_flex_box .left_coll .posts_list {
    align-items: center;
  }
  #blog .main_flex_box .left_coll .orange_heads .cell-50 {
    width: 100%;
    max-width: unset;
  }
  #blog .main_flex_box .right_coll {
    width: 100%;
  }
  #blog .main_flex_box .right_coll .join_us_box {
    border: none;
  }
  #blog .main_flex_box .right_coll .join_us_box::before {
    content: "";
    background: #6C6C6C;
    height: 2px;
    width: 120vw;
    display: block;
    position: relative;
    left: -20%;
    top: -70px;
  }
  #blog .main_flex_box .right_coll .join_us_box::after {
    width: 120vw;
    left: -20%;
  }
  #blog .main_flex_box .right_coll .form_box {
    border: none;
  }
  #blog .main_flex_box .right_coll .form_box::after {
    width: 120vw;
    left: -20%;
  }
}
@media screen and (max-width: 768px) {
 
  #blog {
    margin-top: 64px;
    padding-bottom: 70px;
  }
  #blog .main_flex_box .left_coll {
    padding-top: 40px;
  }
  #blog .main_flex_box .left_coll .post_page .info_row {
   /* flex-direction: column;
    justify-content: start;
    margin-bottom: 30px;
    gap: 20px; */
   display:none;
  }
  #blog .main_flex_box .left_coll .post_page .post_photo {
    margin-bottom: 30px;
    max-height: fit-content;
  }
  #blog .main_flex_box .left_coll .post_page p {
    margin-bottom: 30px;
  }
  #blog .main_flex_box .left_coll .post_page a.btn {
    margin: 0 auto;
    box-sizing: border-box;
    display: block;
  }
  #blog .main_flex_box .left_coll .orange_heads {
    margin-bottom: 40px;
    flex-direction: column;
  }
  #blog .main_flex_box .left_coll .orange_heads .cell-100 .text_box h3 {
    padding: 10px 15px;
  }
  #blog .main_flex_box .left_coll .orange_heads .cell-100 .photo_box {
    height: 151px;
  }
  #blog .main_flex_box .left_coll .orange_heads .cell-50 .text_box h3 {
    padding: 10px 15px;
  }
  #blog .main_flex_box .left_coll .orange_heads .cell-50 .photo_box {
    height: 151px;
  }
  #blog .main_flex_box .left_coll .posts_list {
    gap: 30px;
    margin-bottom: 50px;
  }
  #blog .main_flex_box .left_coll .posts_list .post {
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }
  #blog .main_flex_box .left_coll .posts_list .post .photo_box {
    width: 100%;
    height: 343px;
  }
  #blog .main_flex_box .left_coll .posts_list .post .text_box {
    width: 100%;
  }
  #blog .main_flex_box .left_coll .posts_list .post .text_box a {
    margin-bottom: 30px;
  }
  #blog .main_flex_box .left_coll .posts_list .post .text_box p {
    margin-bottom: 30px;
  }
  #blog .main_flex_box .left_coll .pagination_box {
    flex-direction: column;
  }
  #blog .main_flex_box .right_coll a:last-of-type {
    margin: 0 auto;
    margin-top: 30px;
    max-width: unset;
    box-sizing: border-box;
  }
  #blog .main_flex_box .right_coll .join_us_box {
    padding: 30px 0;
  }
  #blog .main_flex_box .right_coll .join_us_box::before {
    top: -30px;
  }
  #blog .main_flex_box .right_coll .join_us_box::after {
    bottom: -30px;
  }
  #blog .main_flex_box .right_coll .join_us_box .links_box a {
    height: 40px;
    width: 40px;
  }
  #blog .main_flex_box .right_coll .form_box {
    padding: 30px 0;
  }
  #blog .main_flex_box .right_coll .form_box::after {
    bottom: -30px;
  }
  #blog .main_flex_box .right_coll .form_box form {
    gap: 20px;
  }
  #blog .main_flex_box .right_coll .form_box form .btn {
    margin: 0 auto;
  }
}

section#section-404 {
  background-color: #A65844;
  height: 80vh;
  margin-top: 70px;
}
section#section-404 .main_box-404 {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
  color: #fff;
}
section#section-404 .main_box-404 h2 {
  text-transform: none;
}
section#section-404 .main_box-404 h2::after {
  display: none;
}
section#section-404 .main_box-404 span {
  font-weight: 600;
  font-size: 54px;
}
@media screen and (max-width: 768px) {
  section#section-404 {
    margin-top: 90px;
  }
  section#section-404 .main_box-404 {
    gap: 33px;
  }
}

footer {
  background-color: #000;
  color: #fff;
  padding: 138px 0 78px;
}
footer .name_box {
  font-size: 24px;
}
footer .name_box .underline-name {
  font-weight: 600;
  font-size: 36px;
  width: fit-content;
}
footer .name_box .underline-name::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  margin-top: 30px;
  margin-bottom: 70px;
}
footer .contacts a {
  color: #fff;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}
footer .contacts .social {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 60px;
}
footer .contacts .social a {
  height: 63px;
  width: 63px;
  margin-bottom: 0;
  transition: all 0.3s ease-in-out;
}
footer .contacts .social a:hover img {
  filter: drop-shadow(0px 0px 7px rgba(255, 255, 255, 0.3215686275));
}
footer .contacts .social a img {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-in-out;
}
footer .copyright {
  justify-content: center;
  gap: 110px;
  width: 100%;
  font-weight: 500;
  margin-top: 104px;
}
footer .copyright a {
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  footer {
    padding: 30px 0 70px;
  }
  footer .flex.just-space-btw {
    flex-direction: column;
    align-items: center;
  }
  footer .flex.just-space-btw .name_box {
    font-size: 18px;
    margin-bottom: 30px;
  }
  footer .flex.just-space-btw .name_box .underline-name {
    font-size: 20px;
    margin: 0 auto;
  }
  footer .flex.just-space-btw .name_box .underline-name::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    margin-top: 20px;
    margin-bottom: 30px;
  }
  footer .flex.just-space-btw .contacts a {
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    margin: 0 auto 30px;
    display: block;
  }
  footer .flex.just-space-btw .contacts .social {
    display: flex;
    flex-direction: row;
    gap: 25px;
    justify-content: center;
  }
  footer .flex.just-space-btw .contacts .social a {
    height: 40px;
    width: 40px;
    margin: 0;
  }
  footer .copyright {
    flex-direction: column;
    gap: 25px;
    align-items: center;
    margin-top: 30px;
  }
  footer .copyright a {
    text-align: center;
  }
}

#confidentially {
  padding: 50px 0;
}
#confidentially h2 {
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  #confidentially {
    margin-top: 130px;
    padding: 30px 0;
  }

   .post_page img {
   // max-height: 300px;
    
   }
  
  .img-main-block {
    min-height: 300px;
  }

  #blog .main_flex_box .main-block-travel {
   margin-bottom: 0;
  }

  #blog .main_flex_box .left_coll .posts_list .post-travel .text_box {
   padding: 20px;
   width: 90%;
  }

  #blog .main_flex_box .main-block-travel img {
   top: 0;

  }
} 

@media screen and (max-width: 673px) {
   #blog .main_flex_box .main-block-travel img {
     position: inherit;
     border-right: none;
   }
   .main-block-article::after {
 display:none;
}

   #blog .main-block-article .main_flex_box {
    flex-direction: column;
   }

   .main_flex_box {
    padding-bottom: 0;
   }

   .main-block-article h2 {
     margin-top: 35px;
   }
}

.travel-link::before {
 position: absolute;
 top: -15px;
 right: -30px;
 content: 'new';
 color: #fff;
 background-color: #000;
 font-size: 16px;
}

@media screen and (max-width: 1190px) {
.anonce-block-join::before {
 display:none !important;
}
}
#afisha {
  margin: 50px 0;
}


#afisha .card-afisha {
display:flex; 
border-top: 2px dashed grey;
}

.margin-top-card {
margin-top:50px; 
}

#afisha .text-card-afisha {
width:50%; 
height:216px; 
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

#afisha .text-row-card-afisha {
display: flex; 
justify-content: space-between;
}

#afisha .location-p {
font-size:24px;
position: relative;
}

#afisha .location-p img {
position:absolute;
top: 5px;
left: -30px;
}

#afisha .img-card-afisha {
width:50%; 
height:256px; 
display:flex; 
align-items:end; 
text-align: end; 
justify-content: flex-end;
}
#afisha .img-card-afisha h2 {
color:white; 
margin: 0 20px 20px 0;
}
#afisha h2::after {
 display: none;
}

@media screen and (max-width: 846px) {
  #afisha .card-afisha {
  flex-direction: column-reverse;
  }
  #afisha .text-card-afisha, #afisha .img-card-afisha {
  width: 100%;
  }
  #afisha .text-card-afisha {
   padding: 20px 0;
  }
}

@media screen and (max-width: 768px) {
  #afisha .text-card-afisha {
   padding: 20px 0;
   height: 146px;
  }
  #afisha .text-card-afisha .btn {
  max-width:100%;
  width:100%;
  }
}

#afisha .border-bottom-card {
 border-bottom: 2px dashed grey;
}