/* otzyvy_post */
.otzyvy_post {
  width: 100%;
  padding: 0 15px;
}
.otzyvy_post .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.single_content {
  width: calc(100% - 300px);
  padding: 60px 0;
}
.single_content > *:first-child {
  margin-top: 0;
}
.single_content > *:last-child {
  margin-bottom: 0;
}
.single_content p {
  font-weight: 400;
  font-size: calc(16px + 2 * ((100vw - 370px) / (1920 - 370)));
  line-height: 160%;
  color: #39464a;
  margin: 10px 0 20px;
}
.single_content h2 {
  font-weight: 700;
  font-size: calc(20px + 12 * ((100vw - 370px) / (1920 - 370)));
  line-height: 130%;
  color: #243d3a;
  margin: 40px 0 20px;
}
.single_content h3 {
  font-size: calc(18px + 6 * ((100vw - 370px) / (1920 - 370)));
  margin: 20px 0 20px 0;
  color: #243d3a;
  line-height: 130%;
}
.single_content blockquote {
  padding: 30px 30px 30px 80px;
  background-color: #f5f5f5;
  position: relative;
  margin: 20px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.single_content blockquote p {
  font-weight: 400;
  font-size: calc(16px + 2 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #243d3a;
  font-style: italic;
  margin: 0;
}
.single_content blockquote::after {
  content: "";
  width: 45px;
  height: 45px;
  background-image: url(/wp-content/themes/Emigras/images/Quote.svg);
  position: absolute;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  top: 15px;
  left: 40px;
  transform: translateX(-50%);
}
.single_content ul,
.single_content ol {
  width: 100%;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.single_content ul li {
  list-style: none;
  font-weight: 500;
  font-size: calc(15px + 1 * ((100vw - 370px) / (1920- 370)));
  line-height: 160%;
  color: #39464a;
  position: relative;
  margin-left: 20px;
}
.single_content ul li::before {
  content: "";
  background-image: url(/wp-content/themes/Emigras/images/ul_list.svg);
  display: block;
  width: 10px;
  height: 10px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: -15px;
  top: 14px;
  transform: translate(-50%, -50%);
}
.single_content ol li {
  font-size: calc(15px + 1 * ((100vw - 370px) / (1920 - 370)));
  line-height: 160%;
  color: #39464a;
  position: relative;
  margin-left: 20px;
}
.single_content ol li::marker {
  color: #967340;
}
.single_content .table_otzyvy {
  width: 100%;
}
.single_content .table_otzyvy table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  min-width: 700px;
}
.single_content .table_otzyvy tr td {
  border: 1px solid #dddddd;
  padding: 7px 20px;
  text-align: center;
}
.single_content .table_otzyvy tr td:first-of-type {
  font-weight: bold;
  background: #efefef;
}
.single_content .table_otzyvy a {
  text-decoration: none;
}
.single_content .otzyvy_img_wrap {
  width: 100%;
  margin: 20px 0;
}
.single_content .otzyvy_img {
  width: 100%;
}
/* otzyvy_post */
/* other_otzyvy */

.other_otzyvy {
  width: 100%;
  padding: 0 15px;
}
.other_otzyvy .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0 100px;
}
.other_otzyvy_title {
  font-size: 36px;
  color: #243d3a;
  text-align: center;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 40px;
}
.other_otzyvy_items {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.other_otzyvy_item {
  background-color: white;
  width: calc(100% / 3 - 40px / 3);
  box-shadow: 0px 5px 80px rgba(161, 189, 225, 0.21);
}
.other_otzyvy_item_img {
  position: relative;
}
.other_otzyvy_item_img img {
  width: 100%;
  height: 100%;
}
.other_otzyvy_item_tag {
  position: absolute;
  display: flex;
  position: absolute;
  left: 15px;
  bottom: 10px;
  background: #9c7130;
  opacity: 0.9;
  border-radius: 20px 0px;
  padding: 10px 10px;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: white;
  text-transform: capitalize;
}

.other_otzyvy_item_content {
  padding: 15px 15px 30px 15px;
}
.other_otzyvy_item_content a {
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  color: #2d4744;
  margin-bottom: 10px;
  display: block;
  transition: 0.5s color;
  text-decoration: none;
  transition: 0.5s color;
}
.other_otzyvy_item_wrap {
  align-items: center;
  font-weight: 500;
  font-size: 12px;
  color: #9d8d75;
  display: flex;
  gap: 10px;
}
.other_otzyvy_item_date_author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.other_otzyvy_item_wrap span {
  height: 10px;
  width: 1px;
  background-color: #9d8d75;
  display: block;
}
.other_otzyvy_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 600;
  font-size: 18px;
  font-size: calc(15px + 3 * ((100vw - 370px) / (1920 - 370)));
  line-height: 22px;
  color: #243d3a;
  margin-top: 40px;
  text-decoration: none;
}
/* other_otzyvy */

@media (hover: hover) {
  .other_otzyvy_item_tag {
    backdrop-filter: blur(300px);
  }

  .other_otzyvy_item_content a:hover {
    color: #967340;
    transition: 0.5s color;
  }
  .other_otzyvy_btn:hover {
    text-decoration: underline;
  }
}
@media screen and (max-width: 1000px) {
  .otzyvy_post .container {
    flex-direction: column;
  }
  .single_content {
    width: 100%;
  }

  .other_otzyvy_title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .other_otzyvy .container {
    padding-bottom: 80px;
  }
}
@media screen and (max-width: 900px) {
  .other_otzyvy_items {
    gap: 10px;
  }
  .other_otzyvy_item {
    width: calc(100% / 3 - 20px / 3);
  }
  .other_otzyvy_item_tag {
    left: 10px;
  }
  .other_otzyvy_item_content {
    padding: 10px 10px 20px 10px;
  }
  .other_otzyvy_btn {
    margin-top: 30px;
  }
  .other_otzyvy .container {
    padding-bottom: 60px;
  }
  .single_content {
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 800px) {
  .single_content ul,
  .single_content ol {
    margin: 15px 0;
  }
  .single_content p {
    margin: 15px 0;
  }
  .single_content blockquote {
    padding: 40px 20px 30px 20px;
  }
  .single_content .table_otzyvy {
    padding: 10px 0;
    overflow: scroll;
  }
  .single_content blockquote::after {
    width: 25px;
    height: 25px;
    top: 10px;
    left: 35px;
  }
  .other_otzyvy_items {
    flex-wrap: wrap;
  }
  .other_otzyvy_item {
    width: calc(100% / 2 - 20px / 2);
  }
  .other_otzyvy_item:last-of-type {
    margin: 0 auto;
  }
  .other_otzyvy_items {
    gap: 20px;
  }
}
@media screen and (max-width: 600px) {
  .single_content h2 {
    margin: 30px 0 20px;
  }
}
@media screen and (max-width: 550px) {
  .other_otzyvy_item {
    width: 100%;
  }
  .other_otzyvy .container {
    padding-top: 0;
  }
}
