.amb-page {
  background: #eff0f5;
  color: #333;
}
.amb-page h2,
.amb-form h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
}
.amb-page p {
  line-height: 1.5;
}
.amb-hero {
  position: relative;
  min-height: 764px;
  background-color: #a5a7ae;
  color: #fff;
}
.amb-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.amb-hero__slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 800ms ease;
}
.amb-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.amb-hero__slide.is-prev {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .amb-hero__slide {
    transition: none;
  }
}
.amb-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
}
.amb-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #eff0f5;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.amb-hero__breadcrumbs a { color: inherit; font-weight: 400; }
.amb-hero__breadcrumbs img { width: 12px; height: 12px; flex: none; }
.amb-hero__breadcrumbs [aria-current="page"] { opacity: .4; }
.amb-hero h1 {
  margin: 190px 0 48px;
  color: #fff;
}
.amb-button {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  min-height: 56px;
  padding-left: 32px;
  border-radius: 40px;
  background: #fff;
  color: #333;
  text-transform: uppercase;
  font-family: Stratos, sans-serif;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.amb-button span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-right: 2px;
  border-radius: 50%;
  background: #01b87b;
  color: #fff;
  transition: background-color 180ms ease;
}
.amb-button span img { width: 24px; height: 24px; transition: transform 180ms ease; }
.amb-button:hover,
.amb-button:focus-visible { background: #01b87b; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.amb-button:hover span,
.amb-button:focus-visible span { background: transparent; }
.amb-button:hover span img,
.amb-button:focus-visible span img { transform: translateX(2px); }
.amb-content {
  position: relative;
  z-index: 1;
  margin-top: -55px;
  padding: 80px 0 96px;
  background: #eff0f5;
  border-radius: 64px 64px 0 0;
}
.amb-content section + section,
.amb-content .amb-form {
  margin-top: 96px;
}
.amb-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.amb-intro p {
  font-size: 18px;
  margin: 24px 0;
}
.amb-intro img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}
.amb-catalog h2 {
  margin-bottom: 40px;
}
.amb-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.amb-filters label,
.amb-form__fields label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.amb-filters select,
.amb-form input:not([type="checkbox"]) {
  width: 100%;
  height: 64px;
  background: #fff;
  border: 1px solid #edf0f1;
  border-radius: 8px;
  padding: 0 16px;
  color: #333;
  font: inherit;
}
.amb-filters select {
  appearance: none;
  padding-right: 48px;
  background: #fff url("arrow-down.svg") no-repeat right 16px center / 24px 24px;
  color: #99a2a3;
  font: 400 16px/1.5 NotoSans, sans-serif;
}
.amb-filters select.is-selected { color: #333; }
.amb-hint {
  margin: 40px 0;
  font-size: 14px;
}
.amb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.amb-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  min-width: 0;
  height: 260px;
  min-height: 0;
}
.amb-card[hidden],
.amb-empty[hidden] {
  display: none;
}
.amb-card__photo {
  width: 31%;
  height: 100%;
  flex-shrink: 0;
  background: #f6f7fa;
  border-radius: 8px;
  overflow: hidden;
}
.amb-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.amb-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0 24px 16px;
}
.amb-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 16px;
  overflow-wrap: break-word;
}
.amb-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.amb-card__tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f6f7fa;
  border-radius: 8px;
  padding: 4px;
  font-size: 12px;
}
.amb-card__tags span:before {
  content: none;
}
.amb-card__tags img { width: 16px; height: 16px; flex: none; }
.amb-card__link {
  color: #01b87b;
  text-transform: uppercase;
  font: 500 14px/1.5 Stratos, sans-serif;
  transition: color 180ms ease;
}
.amb-card__link:hover,
.amb-card__link:focus-visible,
.amb-card__product a:hover,
.amb-card__product a:focus-visible,
.ambassador-detail__product a:hover,
.ambassador-detail__product a:focus-visible { color: #009d69; text-decoration: underline; text-underline-offset: 3px; }
.amb-card__product {
  display: flex;
  flex-direction: column;
  width: 198px;
  flex: 0 0 198px;
  box-sizing: border-box;
  height: 100%;
  flex-shrink: 0;
  padding: 8px;
  background: #f6f7fa;
  border-radius: 16px;
  font-size: 16px;
}
.amb-card__product img {
  width: 100%;
  height: 160px;
  flex: none;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 16px;
}
.amb-geography > p {
  font-size: 18px;
  margin: 32px 0;
}
.amb-map {
  position: relative;
  overflow: hidden;
  background: #e7f4fa;
  border-radius: 24px;
  height: 640px;
}
.amb-map__marker { display: block; padding: 0; cursor: pointer; width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; overflow: hidden; background: #01b87b; box-shadow: 0 1px 5px #0006; }
.amb-map__marker img { width: 100%; height: 100%; object-fit: cover; }
.amb-map__dot { display: block; width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%; background: #01b87b; cursor: pointer; }
.amb-map img[data-demo-crop] { transform: scale(1.7); }
.amb-map img[data-demo-crop="anna-vorontsova"] { transform-origin: 55% 48%; }
.amb-map img[data-demo-crop="mariya-lebedeva"] { transform-origin: 50% 37%; }
.amb-map img[data-demo-crop="dmitriy-sokolov"] { transform-origin: 65% 48%; }
.amb-map img[data-demo-crop="polina-kravets"] { transform-origin: 50% 29%; }
.amb-map img[data-demo-crop="sergey-nikitin"] { transform-origin: 53% 18%; }
.amb-map img[data-demo-crop="viktoriya-aleksandrovskaya"] { transform-origin: 20% 25%; }
.amb-map img[data-demo-crop="nikita-orlov"] { transform-origin: 31% 25%; }
.amb-map__cluster { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; cursor: pointer; }
.amb-map__cluster-photo { display: block; width: 36px; height: 36px; overflow: hidden; border: 2px solid white; border-radius: 50%; background: #01b87b; }
.amb-map__cluster-photo img { width: 100%; height: 100%; object-fit: cover; }
.amb-map__cluster-count { position: absolute; right: -5px; bottom: -5px; min-width: 18px; height: 18px; padding: 0 3px; border: 1px solid white; border-radius: 10px; background: #01b87b; color: white; font: 11px/16px sans-serif; text-align: center; }
.amb-map__balloon { position: absolute; width: var(--amb-map-balloon-width, 255px); box-sizing: border-box; padding: 2px; border-radius: 16px; background: #fff; box-shadow: 0 4px 12px #00000014; }
.amb-map__close { position: absolute; z-index: 1; right: 4px; top: 4px; width: 24px; height: 24px; padding: 2px; border: 0; border-radius: 12px; background: #fff; cursor: pointer; }
.amb-map__close img { display: block; width: 20px; height: 20px; }
.amb-map__preview { width: 100%; color: #333; }
.amb-map__preview > img { display: block; width: 100%; height: 226px; object-fit: cover; object-position: center 35%; border-radius: 14px; }
.amb-map__preview-body { padding: 8px; }
.amb-map__preview h3 { margin: 0 0 8px; font: 500 16px/1.4 Stratos, sans-serif; text-transform: uppercase; }
.amb-map__preview-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.amb-map__preview-tags span { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 4px; border-radius: 8px; background: #f6f7fa; font-size: 12px; line-height: 1.2; }
.amb-map__preview-tags img { width: 16px; height: 16px; }
.amb-map__preview a { display: inline-flex; align-items: center; gap: 2px; margin-top: 16px; color: #01b87b; font: 500 14px/1.5 Stratos, sans-serif; text-transform: uppercase; }
.amb-map__preview a img { width: 16px; height: 16px; }
@media (max-width: 767px) {
  .amb-map__preview > img { height: 110px; }
}
.amb-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 24px;
}
.amb-form__image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.amb-form__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.amb-form__content { min-width: 0; padding: 32px; align-self: center; }
.amb-form__intro p {
  font-size: 14px;
  margin: 16px 0 0;
  line-height: 1.2;
}
.amb-form__intro p + p {
  font-size: 14px;
  line-height: 1.2;
  margin-top: 4px;
}
.amb-form__intro .amb-form__survey { font-size: 14px; line-height: 1.5; font-weight: 600; margin-top: 16px; }
.amb-form__description { margin-top: 16px; }
.amb-form__description p:first-child { margin-top: 0; }
.amb-form__description p + p { margin-top: 4px; }
@media (max-width: 767px) {
  .amb-form__intro .amb-form__survey { font-size: 18px; font-weight: 400; margin-top: 24px; }
  .amb-form__description { margin-top: 24px; }
  .amb-form__description p:first-child { display: none; }
}
.amb-form__intro { margin-bottom: 32px; }
.amb-form__intro[hidden] { display: none; }
.amb-form__fields {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.amb-form__field { display: grid; gap: 8px; min-width: 0; }
.amb-form__field,
.amb-form__fields > label { position: relative; }
.amb-form__fields label { line-height: 1.2; }
.amb-form input:not([type="checkbox"]) { font-size: 16px; line-height: 1.5; }
.amb-form input::placeholder { color: #99a2a3; opacity: 1; }
.amb-form .iti { width: 100%; }
.amb-form .iti__country-container button { padding: 0; text-transform: none; }
.amb-form__consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.2;
}
.amb-form__consent label { display: inline; }
.amb-form__consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #01b87b;
}
.amb-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 40px;
  padding: 14px 32px;
  background: #01b87b;
  color: #fff;
  text-transform: uppercase;
  font-family: Stratos, sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.amb-form__submit:disabled { opacity: .3; }
.amb-form__submit-arrow { display: none; }
.amb-form__submit:not(:disabled):hover { background: #009d69; }
.amb-form__fields .amb-form__error { margin: 0; font-size: 12px; }
.amb-form__fields label > .amb-form__error,
.amb-form__field > .amb-form__error {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  line-height: 1.2;
}
.amb-form__notice {
  margin: 0 !important;
  font-size: 14px !important;
  color: #737373;
}
@media (max-width: 767px) {
  .amb-page h2,
  .amb-form h2 {
    font-size: 28px;
  }
  .amb-hero {
    min-height: 567px;
  }
  .amb-hero__content {
    padding-top: 88px;
  }
  .amb-hero h1 {
    margin: 230px 0 32px;
  }
  .amb-content {
    margin-top: -32px;
    padding: 40px 0 64px;
    border-radius: 32px 32px 0 0;
  }
  .amb-content section + section,
  .amb-content .amb-form {
    margin-top: 64px;
  }
  .amb-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .amb-intro p {
    font-size: 18px;
    margin: 16px 0;
  }
  .amb-intro img {
    height: 188px;
  }
  .amb-catalog h2 {
    margin-bottom: 24px;
  }
  .amb-filters {
    grid-template-columns: 1fr;
  }
  .amb-hint {
    margin: 24px 0;
  }
  .amb-grid {
    grid-template-columns: 1fr;
  }
  .amb-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: 52px 52px auto auto;
    height: auto;
    min-height: 0;
    column-gap: 12px;
    row-gap: 8px;
  }
  .amb-card__photo {
    width: 96px;
    height: 112px;
  }
  .amb-card__body {
    padding: 8px 0;
  }
  .amb-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .amb-card__tags {
    gap: 4px;
  }
  .amb-card__link {
    margin-top: 16px;
  }
  .amb-card__product {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 8px;
  }
  .amb-card__product img {
    width: 96px;
    height: 72px;
    margin: 0;
  }
  .amb-map {
    height: 260px;
  }
  .amb-geography > p {
    margin: 24px 0;
  }
}
@media (max-width: 767px) {
  .amb-form {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 4px;
    border-radius: 16px;
  }
  .amb-form__image { min-height: 0; aspect-ratio: 320 / 176; }
  .amb-form__image img { position: static; width: 100%; height: 100%; object-fit: cover; }
  .amb-form__content { padding: 16px 12px; }
  .amb-form__intro { margin-bottom: 24px; }
  .amb-form__intro p { margin-top: 24px; font-size: 18px; line-height: 1.5; }
  .amb-form__intro p + p { margin-top: 24px; font-size: 14px; line-height: 1.2; }
  .amb-form__submit { width: 100%; }
}
.amb-hero {
  background-color: #d6dae5;
}
.amb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.amb-hero__slide[data-hero-fit="framed"] {
  background-position: right top;
  background-size: auto 104.82%;
}
.amb-reset {
  display: block;
  border: 0;
  padding: 0;
  margin-top: 32px;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.amb-card__product a,
.ambassador-detail__product a {
  display: block;
  margin-top: 8px;
  color: #01b87b;
  font-size: 16px;
  transition: color 180ms ease;
}
.amb-card__product a { white-space: nowrap; }
.amb-card__product strong { font-size: 16px; font-weight: 600; line-height: 1.5; }
.amb-city {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 14px;
}
.amb-city__toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 64px;
  padding: 0 40px 0 16px;
  text-align: left;
  background: #fff url("arrow-down.svg") no-repeat right 16px center / 24px 24px;
  border: 1px solid #edf0f1;
  border-radius: 8px;
  color: #99a2a3;
  font: 400 16px/1.5 NotoSans, sans-serif;
}
.amb-filter__picker { position: relative; width: 100%; }
.amb-filter__toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 64px;
  padding: 0 40px 0 16px;
  border: 1px solid #edf0f1;
  border-radius: 8px;
  background: #fff url("arrow-down.svg") no-repeat right 16px center / 24px 24px;
  color: #99a2a3;
  font: 400 16px/1.5 NotoSans, sans-serif;
  text-align: left;
}
.amb-city__caption,
.amb-filter__caption {
  display: none;
  font-size: 12px;
  line-height: 1.2;
  color: #99a2a3;
}
.amb-city__toggle.is-selected .amb-city__caption,
.amb-filter__toggle.is-selected .amb-filter__caption {
  display: block;
}
.amb-city__value,
.amb-filter__value {
  display: block;
  line-height: 1.5;
}
.amb-city__toggle.is-selected,
.amb-filter__toggle.is-selected { color: #333; }
.amb-city__panel,
.amb-select__panel {
  position: absolute;
  z-index: 15;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px #0002;
}
.amb-city__panel[hidden],
.amb-select__panel[hidden] {
  display: none;
}
.amb-select__panel { max-height: 228px; overflow-y: auto; padding: 8px; }
.amb-city__panel input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #dfe3e3;
  border-radius: 8px;
}
.amb-city__panel input:focus,
.amb-form input:not([type="checkbox"]):focus,
.amb-form select:focus,
.amb-form textarea:focus {
  outline: none;
}
.amb-city__options {
  max-height: 228px;
  overflow-y: auto;
  margin-top: 8px;
}
.amb-city__options button {
  width: 100%;
  display: block;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}
.amb-select__options button {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font: 400 14px/1.5 NotoSans, sans-serif;
  text-align: left;
}
.amb-city__options button:hover,
.amb-city__options button:focus-visible,
.amb-select__options button:hover,
.amb-select__options button:focus-visible {
  background: #eff0f5;
}
.amb-city__options button[hidden] {
  display: none;
}
.amb-city__empty { margin: 0; padding: 12px; color: #737373; font-size: 14px; }
.amb-city__empty[hidden] { display: none; }
.amb-grid[hidden], .amb-form__fields[hidden], .amb-form__success[hidden] { display: none; }
.amb-form__success p { margin: 16px 0 0; font-size: 18px; line-height: 1.5; }
.amb-form__success a { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 16px; padding: 14px 32px; border-radius: 40px; background: #01b87b; color: #fff; text-transform: uppercase; font: 500 16px/1.4 Stratos, sans-serif; transition: background-color 180ms ease; }
.amb-form__success a:hover,
.amb-form__success a:focus-visible { background: #009d69; }
.amb-form.is-success .amb-form__image { display: block; aspect-ratio: 1.28 / 1; min-height: 0; }
.amb-form.is-success .amb-form__content { align-self: center; }
.amb-form.is-success .amb-form__success { width: 100%; }
@media (max-width: 767px) { .amb-form__success a { width: 100%; margin-top: 24px; } .amb-form__success p { margin-top: 24px; } }
@media (max-width: 767px) {
  .amb-form.is-success .amb-form__image { aspect-ratio: 320 / 176; }
}
.amb-form__error {
  color: #e05756;
  font-size: 12px;
}
.amb-form input[aria-invalid="true"] {
  border-color: #e05756;
}
.amb-form__fields [data-form-failure] { font-size: 14px; line-height: 1.2; }
.amb-form__consent a {
  text-decoration: underline;
}
.amb-reset[hidden] {
  display: none;
}
.amb-empty {
  padding: 40px;
  background: #fff;
  border-radius: 24px;
}
.amb-empty h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-family: Stratos, sans-serif;
  font-weight: 500;
}
.amb-empty p {
  font-size: 18px;
  margin: 24px 0;
  font-family: NotoSans, sans-serif;
  font-weight: 400;
}
.amb-empty button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border: 1px solid #01b87b;
  border-radius: 40px;
  padding: 2px 2px 2px 32px;
  background: #fff;
  text-transform: uppercase;
  cursor: pointer;
  font: 500 14px/1.2 Stratos, sans-serif;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.amb-empty button span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #01b87b;
  color: white;
  transition: background-color 180ms ease;
}
.amb-empty button span img { width: 24px; height: 24px; transition: transform 180ms ease; }
.amb-empty button:hover,
.amb-empty button:focus-visible { border-color: #01b87b; background: #01b87b; color: #fff; }
.amb-empty button:hover span,
.amb-empty button:focus-visible span { background: transparent; }
.amb-empty button:hover span img,
.amb-empty button:focus-visible span img { transform: translateX(2px); }
@media (min-width: 1101px) and (max-width: 1599px) {
  .amb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .amb-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: 52px 52px auto auto;
    height: auto;
    min-height: 0;
    column-gap: 12px;
    row-gap: 8px;
  }
  .amb-card__photo {
    width: 96px;
    height: 112px;
    grid-row: 1 / span 2;
  }
  .amb-card__body,
  .amb-card__profile { display: contents; }
  .amb-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    font-size: 20px;
  }
  .amb-card__link {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 0;
  }
  .amb-card__tags {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .amb-card__product {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: auto;
    flex-shrink: 1;
    padding: 8px;
  }
  .amb-card__product img {
    width: 96px;
    height: 72px;
    margin: 0;
  }
  .amb-card__product > div {
    min-width: 0;
  }
}
@media (max-width: 1100px) {
  .amb-intro {
    grid-template-columns: 1fr;
  }
  .amb-filters {
    grid-template-columns: 1fr;
  }
  .amb-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    height: auto;
    min-height: 0;
    gap: 12px;
  }
  .amb-card__photo {
    width: 96px;
    height: 112px;
    grid-row: 1 / span 2;
  }
  .amb-card__body,
  .amb-card__profile { display: contents; }
  .amb-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    font-size: 20px;
  }
  .amb-card__link {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 0;
  }
  .amb-card__tags {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .amb-card__product {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    height: auto;
    padding: 8px;
  }
  .amb-card__product img {
    width: 110px;
    height: 84px;
    margin: 0 0 20px;
  }
  .amb-card__product > div {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .amb-card__product strong {
    font-size: 18px;
  }
  .amb-card__product a {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .amb-card {
    grid-template-columns: 104px 1fr;
    grid-template-rows: 61px 61px auto auto;
  }
  .amb-card__photo {
    width: 104px;
    height: 130px;
  }
  .amb-card__link {
    margin-top: 0;
  }
  .amb-empty {
    padding: 24px;
  }
  .amb-empty h3 {
    font-size: 24px;
  }
}

/* Размеры и расположение блоков по адаптивным макетам раздела. */
.amb-hero__content { padding-top: 108px; }
.amb-hero h1 { margin: 218px 0 63px; }
.amb-intro h2 { margin-bottom: 32px; }
.amb-intro p { margin: 0; }
.amb-intro p + p { margin-top: 16px; }
.amb-intro .amb-button { margin-top: 32px; }
.amb-intro > img { height: auto; aspect-ratio: 858 / 500; }
.amb-map { height: auto; aspect-ratio: 1756 / 640; }
.amb-reset { margin-top: 40px; }
.amb-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 48px; }
.amb-empty h3 { font-size: 40px; line-height: 1.1; }
.amb-empty p { margin: 0; }
.amb-empty button { height: 56px; padding: 1px 1px 1px 32px; font-size: 16px; line-height: 1.4; }
.amb-card { height: auto; min-height: 242px; }
.amb-card__photo { width: min(251px, 31%); height: 226px; align-self: start; }
.amb-card__tags { max-width: 316px; }
.amb-card__link { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; line-height: 1.4; }
.amb-card__link img { width: 16px; height: 16px; }
.amb-card__product { height: auto; align-self: stretch; }
.amb-card__product > div { padding: 0 4px; min-width: 0; }
.amb-card__product a { font-size: 14px; line-height: 1.2; white-space: normal; }
.amb-card__product .amb-card__product-image {
  display: block;
  flex: none;
  width: 100%;
  height: 118px;
  min-height: 0;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  line-height: 0;
}
.amb-card__product .amb-card__product-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  background: transparent;
}
.amb-card__product[data-product="Manifesto Fingers"] .amb-card__product-image img { transform: rotate(30.2deg); }

@media (max-width: 1919px) {
  .amb-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: minmax(56px, auto) minmax(56px, auto) auto auto;
    gap: 8px 12px;
    height: auto;
    min-height: 0;
  }
  .amb-card__photo { width: 96px; height: 120px; grid-row: 1 / span 2; }
  .amb-card__body, .amb-card__profile { display: contents; }
  .amb-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0 0 0 8px;
    font-size: 20px;
    line-height: 1.1;
  }
  .amb-card__link { grid-column: 2; grid-row: 2; align-self: start; margin: 0 0 0 8px; }
  .amb-card__tags { grid-column: 1 / -1; grid-row: 3; gap: 8px; max-width: none; }
  .amb-card__product {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    height: auto;
  }
  .amb-card__product .amb-card__product-image { width: 88px; height: 72px; margin: 0; }
  .amb-card__product .amb-card__product-image img { padding: 10px; box-sizing: border-box; }
  .amb-card__product > div { flex: 1; padding: 0; text-align: left; }
  .amb-card__product strong { font-size: 16px; }
  .amb-card__product a { display: flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 14px; }
}
@media (min-width: 1200px) and (max-width: 1919px) {
  .amb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .amb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1201px) and (max-width: 1919px) {
  .amb-hero__slide[data-hero-fit="framed"] { background-position: calc(100% + 640px - 33.333vw) top; }
}
@media (max-width: 1200px) {
  .amb-hero { min-height: 567px; }
  .amb-hero__content { position: relative; height: 567px; padding-top: 80px; }
  .amb-hero h1 { position: absolute; top: 351px; margin: 0; max-width: 328px; font-size: 36px; line-height: 1; }
  .amb-hero__content > .amb-button { position: absolute; top: 460px; }
  .amb-content { margin-top: -32px; border-radius: 32px 32px 0 0; }
}
@media (min-width: 600px) and (max-width: 1200px) {
  .amb-hero__slide[data-hero-fit="framed"] {
    background-size: auto 104.82%;
    background-position: calc(100% + 480px - 33.333vw) top;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .amb-hero__slide[data-hero-fit="framed"] { background-position: calc(100% + 280px - 11.111vw) top; }
}
@media (max-width: 599px) {
  .amb-hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .05) 45%, rgba(0, 0, 0, .7));
  }
  .amb-hero__slide { background-image: var(--hero-photo-mobile); }
  .amb-hero__slide[data-hero-fit="framed"] { background-position: 32% center; background-size: cover; }
}
@media (max-width: 1100px) {
  .amb-page h2, .amb-form h2 { font-size: 28px; }
  .amb-content { padding: 40px 0 64px; }
  .amb-content section + section, .amb-content .amb-form { margin-top: 64px; }
  .amb-intro { gap: 24px; }
  .amb-intro h2 { margin-bottom: 24px; }
  .amb-intro p { margin: 0; }
  .amb-intro p + p { margin-top: 16px; }
  .amb-intro .amb-button { margin-top: 24px; }
  .amb-intro > img { height: auto; aspect-ratio: 328 / 188; }
  .amb-catalog h2 { margin-bottom: 24px; }
  .amb-hint { margin: 24px 0; }
  .amb-reset { margin-top: 24px; }
  .amb-empty h3 { font-size: 28px; }
  .amb-map { height: 500px; aspect-ratio: auto; }
  .amb-geography > p { margin: 24px 0; }
  .amb-form { grid-template-columns: 1fr; gap: 8px; padding: 4px; border-radius: 16px; }
  .amb-form__image { min-height: 0; aspect-ratio: 320 / 176; }
  .amb-form__image img { position: static; width: 100%; height: 100%; object-fit: cover; }
  .amb-form__content { padding: 16px 12px; }
  .amb-form__intro { margin-bottom: 24px; }
  .amb-form__submit { width: 100%; }
}
@media (min-width: 600px) and (max-width: 1100px) {
  .amb-page .amb-hero__content, .amb-content > .container { width: 100%; max-width: none; padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 1200px) {
  body:has(.amb-page, .ambassador-detail) header { top: 8px; }
  body:has(.amb-page, .ambassador-detail) header > .container > div > div:first-child { padding-left: 16px; padding-right: 16px; }
  body:has(.amb-page, .ambassador-detail) header > .container img[alt="Логотип сайта"] { width: 108px; }
}
@media (min-width: 600px) and (max-width: 1200px) {
  body:has(.amb-page, .ambassador-detail) header > .container { width: 100%; max-width: none; padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 767px) {
  .amb-map { height: auto; min-height: 260px; aspect-ratio: 328 / 260; }
  .amb-empty { padding: 24px; }
  .amb-empty[data-amb-empty] { padding: 16px 24px; }
}
