/* Shared answer video card. */
.citydent-answer-card {
  align-items: flex-start;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--gapX5);
  text-decoration: none;
}

.citydent-answers .citydent-answer-card[hidden] {
  display: none !important;
}

.citydent-answer-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.citydent-answer-card__image,
.citydent-answer-card__video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.citydent-answer-card__play {
  align-items: center;
  backdrop-filter: blur(1.4px);
  background: rgba(255, 255, 255, 0.38);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  height: 60px;
  justify-content: center;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
}

.citydent-answer-card__play .ph-fill {
  --xleb-icon-size: 28px;
  font-size: 28px;
}

.citydent-answer-card__media.is-playing .citydent-answer-card__play {
  display: none;
}

@media (max-width: 991px) {
  .citydent-answer-card {
    gap: var(--gapX4);
  }
}

.citydent-about-hero {

  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.vc_section.citydent-about-hero {
  left: 0 !important;
}

.vc_section.citydent-about-hero h1 {
  margin-top: 0;
}

.vc_section.citydent-about-hero>.vc_row {
  min-height: 100%;
  position: static;
}

.citydent-about-hero__content-column {
  padding-top: 122px;
  position: relative;
  z-index: 2;
}

.citydent-about-hero__visual-column {
  position: static !important;
}

.citydent-about-hero__people {
  display: block;
  height: 100%;
  inset: 0;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.citydent-about-hero__content-column>.vc_column-inner,
.citydent-about-hero__content-column>.vc_column-inner>.wpb_wrapper {
  height: 100%;
}

.citydent-about-hero__content-column .xleb-button-wrapper:has(.citydent-about-hero__play) {
  bottom: 72px;
  left: 0;
  position: absolute;
  z-index: 3;
}

.citydent-about-hero__play.btn {
  align-items: center;
  background: var(--primaryOpacity100, rgba(0, 89, 183, .06)) !important;
  border: 0;
  border-radius: 50%;
  color: var(--primary500, #0059b7) !important;
  display: inline-flex;
  height: 80px;
  justify-content: center;
  padding: 0;
  width: 80px;
}

.citydent-about-hero__play .xleb-icons {
  --xleb-icon-size: 32px;
  font-size: 32px;
}

@media (hover: hover) {
  .citydent-about-hero__play.btn:hover {
    background: var(--primaryOpacity200, rgba(0, 89, 183, .12)) !important;
    border: unset;
  }
}

.popup-content:has(.citydent-about-video-popup) {
  background: #000;
  border-radius: var(--roundedS, 8px);
  max-width: min(1200px, calc(100vw - 32px));
  overflow: hidden;
  padding: 0;
  width: calc(100% - 32px);
}

.citydent-about-video-popup,
.citydent-about-video-popup .vc_column_container,
.citydent-about-video-popup .vc_column-inner,
.citydent-about-video-popup .wpb_wrapper,
.citydent-about-video-popup .xleb-clip-wrapper {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.citydent-about-video-popup .xleb-clip-wrapper {
  aspect-ratio: 16 / 9;
}

.citydent-about-video-popup video {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.citydent-about-hero h1 {
  margin: var(--gapX15) 0 0;
  max-width: 560px;
}

.citydent-about-hero h1 span {
  color: var(--primary500);
}

.citydent-about-responsibility__copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.citydent-about-responsibility__copy :is(h2, p) {
  margin: 0;
}

.citydent-person-competencies {
  display: flex;
  flex-direction: column;
  gap: var(--gapX5);
}

.citydent-person-competencies p {
  line-height: 1.55;
}

.citydent-person ul.citydent-person-competencies {
  margin: 0;
  padding: 0;
  list-style: none;
}

.citydent-person ul.citydent-person-competencies>li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--gapX1);
}

.citydent-person ul.citydent-person-competencies>li::before {
  content: "—";
}

.citydent-person-accreditations,
.citydent-person-education,
.citydent-person-additional-education {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.citydent-person-section>h2 {
  margin: 0 0 var(--gapX12);
}

.citydent-person-services {
  background: #eeeff3;
}

.citydent-person-services .posts-container.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 992px) {
  .citydent-person-services--count-1 .citydent-person-services__cards .swiper-wrapper {
    justify-content: center;
  }
}

.citydent-person .citydent-answers .citydent-answer-card__media {
  cursor: pointer;
}

.citydent-person-consultation .xleb-form {
  display: grid;
  gap: var(--gapX5) var(--gapX4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.citydent-person-consultation .xleb-form>.row-name {
  grid-column: 1;
}

.citydent-person-consultation .xleb-form>.row-phone {
  grid-column: 2;
}

.citydent-person-consultation .xleb-form>.row-problem,
.citydent-person-consultation .xleb-form>.citydent-contact__agreement,
.citydent-person-consultation .xleb-form>.row-submit {
  grid-column: 1 / -1;
}

.citydent-person-consultation .xleb-form>.row-submit {
  margin-top: var(--gapX4);
  width: max-content;
}

.citydent-person-consultation .xleb-form .input-box>label:empty {
  display: none;
}

.citydent-person-consultation .xleb-form input:not([type="submit"], [type="checkbox"], [type="hidden"]),
.citydent-person-consultation .xleb-form textarea {
  background: transparent;
  border: 1px solid #00000040;
  border-radius: var(--roundedXS);
  color: var(--contentColor);
  outline: 0;
  width: 100%;
}

.citydent-person-consultation .xleb-form input:not([type="submit"], [type="checkbox"], [type="hidden"]) {
  height: 48px;
  padding: 0 var(--gapX4);
}

.citydent-person-consultation .xleb-form textarea {
  height: 120px;
  padding: var(--gapX4);
}

.citydent-person-consultation .xleb-form input::placeholder,
.citydent-person-consultation .xleb-form textarea::placeholder {
  color: var(--contentOpacityColor);
  opacity: 1;
}

.citydent-person-consultation .citydent-contact__agreement {
  align-items: flex-start;
  gap: var(--gapX3);
  min-height: 24px;
}

.citydent-person-consultation .citydent-contact__agreement input[type="checkbox"] {
  border: 1.2px solid var(--dividerDefault);
  border-radius: 2px;
  box-sizing: border-box;
  flex: 0 0 24px;
  height: 24px;
  min-height: 24px;
  min-width: 24px;
  padding: 0;
  width: 24px;
}

.citydent-person-consultation .citydent-contact__agreement label {
  color: var(--contentColor);
  font-size: var(--textSsize);
  line-height: 20px;
  padding-top: 2px;
}

.citydent-person-consultation .row-submit input[type="submit"] {
  background: var(--primary500);
  border: 0;
  border-radius: var(--roundedXS);
  color: var(--white);
  font-size: var(--textMsize);
  height: 48px;
  padding: 0 var(--gapX5);
  width: max-content;
}

.citydent-promotions-hero {
  background: #f2f5fa;
  border-radius: var(--roundedM);
  min-height: 448px;
  overflow: hidden;
}

.citydent-promotions-hero__copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  padding: var(--gapX10);
}

.citydent-promotions-hero h1 span {
  color: var(--primary500);
}

.citydent-promotions-hero__image {
  display: flex;
}

.citydent-promotions-hero__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.posts-container.grid.citydent-promotions-grid {
  row-gap: var(--gapX16);
}

.citydent-promotions-grid>.article-item {
  display: flex;
  min-width: 0;
}

.citydent-promotions-grid>.custom-content {
  grid-column: span 12 !important;
}

.citydent-promotions-grid .citydent-promo-card {
  border: 0;
  border-radius: var(--roundedM);
  overflow: hidden;
  width: 100%;
}

.citydent-promotions-grid .citydent-promo-card--blue {
  background: rgba(182, 217, 224, 0.16);
}

.citydent-promotions-grid .citydent-promo-card--peach {
  background: #fdf6f1;
}

.citydent-promotions-grid .citydent-promo-card--gray {
  background: #f5f5f7;
}

/* .citydent-promotions-grid .citydent-promo-card>.tag-group-container {
  margin: 0 0 var(--gapX5);
  padding: 0;
} */

.citydent-promotions-grid .citydent-promo-card .tag-item {
  background: rgba(255, 255, 255, .75);
  border-radius: var(--roundedXS);
  display: inline-flex;
  padding: 3px 8px;
  line-height: var(--textSheightT);
}

/* .citydent-promotions-grid .citydent-promo-card__title,
.citydent-promotions-grid .citydent-promo-card__meta {
  margin: 0;
} */

.citydent-promotions-grid .citydent-promo-card__meta {
  margin-top: var(--gapX4);
}

.citydent-promotions-grid .xleb-button-wrapper {
  margin-top: var(--gapX6);
}

.citydent-promotions-grid .citydent-promo-card__image {
  display: block;
  margin: var(--gapX8) calc(-1 * var(--gapX6)) 0;
  max-width: none;
  mix-blend-mode: darken;
  width: calc(100% + (2 * var(--gapX6)));
}

.citydent-review-sources__grid {
  row-gap: var(--gapX6);
}

.citydent-review-source {
  --cardIndentTop: var(--gapX6);
  --cardIndentRight: var(--gapX6);
  --cardIndentBottom: var(--gapX7);
  --cardIndentLeft: var(--gapX6);
  background: var(--gray200);
  border: 0;
}

.citydent-review-source__body {
  display: flex;
  flex-direction: column;
  gap: var(--gapX12);
  height: 100%;
  width: 100%;
}

.citydent-review-source__head {
  align-items: flex-start;
  display: flex;
  gap: var(--gapX3);
  justify-content: space-between;
  min-width: 0;
  width: 100%;
}

.citydent-review-source__summary {
  align-items: flex-start;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: var(--gapX5);
}

.citydent-review-source__stars {
  align-items: center;
  display: flex;
  gap: 6px;
  height: 18px;
}

.citydent-review-source__star {
  color: var(--dividerDefault);
  font-size: 18px;
  line-height: 1;
}

.citydent-review-source__star--full {
  color: #ffc423;
}

.citydent-review-source__star--partial-70::before {
  background: linear-gradient(to right, #ffc423 70%, var(--dividerDefault) 70%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.citydent-review-source__metrics {
  display: flex;
  gap: var(--gapX3);
  white-space: nowrap;
}

.citydent-review-source__rating {
  color: var(--contentColor);
}

.citydent-review-sources .citydent-review-source__count {
  color: var(--contentOpacityColor);
}

.citydent-review-source__brand {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  /* max-width: 55%; */
  /* min-height: var(--gapX7); */
  min-width: 0;
}

.citydent-review-source__brand>img,
.citydent-review-source__brand .review-source-brand__image {
  display: block;
  /* height: var(--gapX7); */
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

@media(max-width:991px) {
  .citydent-review-source__brand {
    max-height: var(--gapX6);
  }

  .citydent-review-source__brand>img {
    height: var(--gapX6);
  }

  .citydent-review-source.xleb-card>*:not(.vc_empty_space) {
    padding-right: var(--gapX5);
    padding-left: var(--gapX5);
  }

  .citydent-review-source.xleb-card>*:first-child {
    padding-top: var(--gapX5);
  }

  .citydent-review-source.xleb-card>*:last-child {
    padding-bottom: var(--gapX6);
  }
}

.citydent-review-source__body>a {
  align-items: center;
  color: var(--linkDefaultColor);
  display: inline-flex;
  gap: var(--gapX1);
  line-height: 24px;
  margin-top: auto;
  text-decoration: none;
  width: fit-content;
}

.citydent-review-source__body>a:hover {
  color: var(--linkDefaultHoverColor);
}

.citydent-review-source__body>a::after {
  align-self: center;
  content: "\e13a";
  font-family: "Phosphor" !important;
  font-size: 0.75em;
  font-weight: bold;
  line-height: 1;
  margin-left: 0.1em;
  margin-top: 0.13lh;
}

.citydent-review-modal {
	align-items: stretch;
	display: none;
	inset: 0;
	justify-content: flex-end;
	padding: 0;
	position: fixed;
	z-index: 10020;
}

.citydent-review-modal.is-open {
  display: flex;
}

.citydent-review-modal__backdrop {
	background: rgba(0, 0, 0, .25);
	border: 0;
	cursor: pointer;
	inset: 0;
	padding: 0;
	position: absolute;
}

.citydent-review-modal__body {
	background: #fff;
	border-radius: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	max-width: 592px;
	overflow-y: auto;
	padding: 76px 36px 16px;
	position: relative;
	width: min(592px, 100%);
	z-index: 1;
}

.citydent-review-modal__close {
	align-items: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 28px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 28px;
}

.citydent-review-modal__content {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
}

.citydent-review-modal__text {
	padding-right: var(--gapX1);
	white-space: normal;
}

.citydent-review-modal__text p {
	margin-bottom: var(--gapX3);
	margin-top: 0;
}

.citydent-review-modal__text p:last-child {
	margin-bottom: 0;
}

.citydent-review-modal__footer {
	align-items: flex-end;
	display: flex;
	flex-direction: row;
	gap: var(--gapX6);
	justify-content: space-between;
	margin-top: var(--gapX10);
	width: 100%;
}

.citydent-review-modal__meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--gapX3);
	min-width: 0;
}

.citydent-review-modal__meta .author-info,
.citydent-review-modal__meta .date-views {
	margin-top: 0;
}

.citydent-review-modal__source {
	align-items: flex-end;
	display: flex;
	flex: 0 0 auto;
}

.citydent-review-modal .review-source-brand {
	display: inline-flex;
}

.citydent-review-modal .review-source-brand__fallback {
	background-color: transparent;
	background-position: right center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	font-size: 0;
	height: 28px;
	overflow: hidden;
	text-indent: -9999px;
}

.citydent-review-modal .review-source-brand--two_gis .review-source-brand__fallback {
	background-image: url(/wp-content/plugins/xleb/shortcodes/reviews-sources/assets/review-source-logos/2gis.svg);
	width: 69px;
}

.citydent-review-modal .review-source-brand--yandex .review-source-brand__fallback {
	background-image: url(/wp-content/plugins/xleb/shortcodes/reviews-sources/assets/review-source-logos/yandex.svg);
	width: 91px;
}

body.citydent-review-modal-open {
	overflow: hidden;
}

.citydent-success {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  padding: 48px;
  text-align: center;
}

.citydent-success__icon {
  align-items: center;
  background: rgba(0, 89, 183, .08);
  border-radius: 50%;
  color: var(--primary500);
  display: flex;
  height: 72px;
  justify-content: center;
  margin-bottom: var(--gapX8);
  width: 72px;
}

.citydent-success__icon .ph {
  --xleb-icon-size: 36px;
  font-size: 36px;
}

.citydent-success h2,
.citydent-success p {
  margin: 0;
}

.citydent-success p {
  margin-top: var(--gapX5);
}

@media (hover: hover) {
  .citydent-answer-card__media:has(video):hover .citydent-answer-card__play {
    background: var(--whiteOpacity800);
    backdrop-filter: blur(2.79px);
  }

  .citydent-answer-card__media:has(video):hover .citydent-answer-card__play span {
    color: var(--primaryOpacity500);
  }
}

.citydent-answer-card__media:has(video) {
  cursor: pointer;
}

.citydent-answer-card__play {
  pointer-events: none;
  transition: background-color .2s ease, transform .2s ease;
}

.wpb-content-wrapper:has(.vc_section.citydent-about-hero) .citydent-features__grid{
    row-gap: var(--gapX6);
  }

  .wpb-content-wrapper:has(.vc_section.citydent-about-hero) .citydent-features__grid .citydent-feature-card{
    height: 100%;
  }

@media(min-width:991px){
  .custom-slider-about .swiper-slide img{
    width: 100%;
  }
}

@media (max-width: 991px) {
  .citydent-about-hero {
    min-height: 640px;
  }

  .vc_section.citydent-about-hero {
    aspect-ratio: auto;
    background: #fdf8f6;
  }


  .wpb-content-wrapper:has(.vc_section.citydent-about-hero) .citydent-features__grid{
    row-gap: var(--gapX4);
  }

  .wpb-content-wrapper:has(.vc_section.citydent-about-hero) .citydent-features__grid .citydent-feature-card{
    --cardIndentTop: var(--gapX5);
    --cardIndentLeft: var(--gapX5);
    --cardIndentRight: var(--gapX6);
    --cardIndentBottom: var(--gapX6);
  }

  .citydent-about-hero__content-column {
    padding-top: 80px;
  }

  .citydent-about-hero__people {
    bottom: 0;
    height: 70%;
    inset: auto auto 0 50%;
    min-height: 400px;
    transform: translateX(-68%);
    max-width: none !important;
    width: auto !important;
  }

  .citydent-about-hero__content-column .xleb-button-wrapper:has(.citydent-about-hero__play) {
    bottom: auto;
    left: auto;
    margin-top: var(--gapX6, 24px);
    position: relative;
  }

  .citydent-about-hero__play.btn {
    height: 56px;
    width: 56px;
  }

  .citydent-about-hero__play .xleb-icons {
    --xleb-icon-size: 24px;
    font-size: 24px;
  }

  .citydent-about-hero h1 {
    margin-top: var(--gapX10);
    max-width: 100%;
  }

  .citydent-person-services .posts-container.grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .citydent-person-consultation .xleb-form {
    gap: var(--gapX4);
    grid-template-columns: minmax(0, 1fr);
  }

  .citydent-person-consultation .xleb-form>.row-name,
  .citydent-person-consultation .xleb-form>.row-phone,
  .citydent-person-consultation .xleb-form>.row-problem,
  .citydent-person-consultation .xleb-form>.citydent-contact__agreement,
  .citydent-person-consultation .xleb-form>.row-submit {
    grid-column: 1;
  }

  .citydent-person-consultation .xleb-form>.row-submit {
    width: 100%;
  }

  .citydent-person-consultation .row-submit input[type="submit"] {
    width: 100%;
  }

  .citydent-promotions-hero>.vc_column_container {
    grid-column: span 12 !important;
  }

  .citydent-promotions-hero__copy {
    padding: 24px 20px;
  }

  .citydent-promotions-hero__image {
    order: -1;
  }

  .citydent-promotions-hero__image img {
    aspect-ratio: 3 / 2;
  }

  .posts-container.grid.citydent-promotions-grid {
    row-gap: var(--gapX6);
  }

  .citydent-review-modal {
	align-items: stretch;
	padding: 0;
  }

  .citydent-review-modal__body {
	border-radius: 0;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	max-width: none;
	padding: 76px 16px 16px;
	width: 100%;
  }

  .citydent-success {
    padding: 36px 20px;
  }

}
