@font-face {
  font-family: "BK Hotline Acrom";
  src: url("https://www.belokurikha-san.ru/nomera-temp/fonts/Acrom-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "BK Hotline Acrom";
  src: url("https://www.belokurikha-san.ru/nomera-temp/fonts/Acrom-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Fluid component: insert inside the site's existing content container. */
.bk-hotline-slot {
  container: bk-hotline / inline-size;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.bk-hotline-slot .bk-hotline,
.bk-hotline-slot .bk-hotline * {
  box-sizing: border-box;
}

.bk-hotline-slot .bk-hotline {
  display: grid;
  grid-template-columns: 52px minmax(0, 500px) auto;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 34px 32px;
  border: 1px solid #d8eaf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px #1d628008;
  color: #2e3038;
  font: 400 14px/1.5 "BK Hotline Acrom", Arial, sans-serif;
  text-align: left;
}

.bk-hotline-slot .bk-hotline__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eaf6fc;
  color: #188dc6;
}

.bk-hotline-slot .bk-hotline__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.bk-hotline-slot .bk-hotline__title {
  margin: 0;
  padding: 0;
  color: #2e3038;
  font: 700 26px/1.25 "BK Hotline Acrom", Arial, sans-serif;
  letter-spacing: -.6px;
  text-transform: none;
  text-align: left;
}

.bk-hotline-slot .bk-hotline__description {
  max-width: none;
  margin: 7px 0 0;
  padding: 0;
  color: #677482;
  font: 400 15px/1.55 "BK Hotline Acrom", Arial, sans-serif;
  letter-spacing: normal;
  text-align: left;
}

.bk-hotline-slot .bk-hotline__contact {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px 12px;
  min-width: max-content;
}

.bk-hotline-slot .bk-hotline__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  margin: 0;
  padding: 14px 22px;
  border: 0;
  border-radius: 9px;
  background: #167aaa;
  color: #fff;
  font: 700 20px/1.3 "BK Hotline Acrom", Arial, sans-serif;
  letter-spacing: -.35px;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.bk-hotline-slot .bk-hotline__call:visited {
  color: #fff;
}

.bk-hotline-slot .bk-hotline__call:hover {
  background: #146e9a;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px #198bc324;
}

.bk-hotline-slot .bk-hotline__call:focus-visible {
  outline: 3px solid #167aaa;
  outline-offset: 4px;
}

.bk-hotline-slot .bk-hotline__max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  margin: 0;
  padding: 13px 17px;
  border: 1px solid #ded9f3;
  border-radius: 9px;
  background: #f8f7fc;
  color: #45356d;
  font: 700 16px/1.3 "BK Hotline Acrom", Arial, sans-serif;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.bk-hotline-slot .bk-hotline__max:visited { color: #45356d; }

.bk-hotline-slot .bk-hotline__max:hover {
  background: #efebfb;
  border-color: #c7bce9;
  color: #45356d;
  text-decoration: none;
}

.bk-hotline-slot .bk-hotline__max:focus-visible {
  outline: 3px solid #6846ca;
  outline-offset: 4px;
}

.bk-hotline-slot .bk-hotline__max-icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  background: url("https://www.belokurikha-san.ru/temp-hotline/assets/max-logo.svg") center / contain no-repeat;
}

.bk-hotline-slot .bk-hotline__call svg {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
}

.bk-hotline-slot .bk-hotline__note {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding: 0;
  color: #6d7884;
  font: 400 12px/1.4 "BK Hotline Acrom", Arial, sans-serif;
  letter-spacing: normal;
  text-align: center;
}

/* Respond to the available column width, not only the device width. */
@container bk-hotline (max-width: 1000px) {
  .bk-hotline-slot .bk-hotline {
    grid-template-columns: 52px minmax(0, 1fr);
    row-gap: 22px;
  }
  .bk-hotline-slot .bk-hotline__contact {
    grid-column: 2;
    justify-self: start;
  }
}

@container bk-hotline (max-width: 760px) {
  .bk-hotline-slot .bk-hotline {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
  }

  .bk-hotline-slot .bk-hotline__icon {
    width: 40px;
    height: 40px;
    align-self: start;
    margin-top: 2px;
  }

  .bk-hotline-slot .bk-hotline__title { font-size: 20px; }
  .bk-hotline-slot .bk-hotline__description { font-size: 14px; }
  .bk-hotline-slot .bk-hotline__call { font-size: 18px; }

  .bk-hotline-slot .bk-hotline__contact {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-self: stretch;
    min-width: 0;
    align-items: stretch;
    margin-top: 4px;
  }
}

@container bk-hotline (max-width: 500px) {
  .bk-hotline-slot .bk-hotline__contact { grid-template-columns: minmax(0, 1fr); }
  .bk-hotline-slot .bk-hotline__max { grid-column: 1; grid-row: 3; margin-top: 10px; }
}

/* Fallback for browsers without CSS container queries. */
@supports not (container-type: inline-size) {
  @media (max-width: 1100px) {
    .bk-hotline-slot .bk-hotline { grid-template-columns: 52px minmax(0, 1fr); row-gap: 22px; }
    .bk-hotline-slot .bk-hotline__contact { grid-column: 2; justify-self: start; }
  }
  @media (max-width: 900px) {
    .bk-hotline-slot .bk-hotline {
      grid-template-columns: 40px minmax(0, 1fr);
      gap: 14px;
      padding: 22px;
    }
    .bk-hotline-slot .bk-hotline__icon { width: 40px; height: 40px; align-self: start; margin-top: 2px; }
    .bk-hotline-slot .bk-hotline__title { font-size: 20px; }
    .bk-hotline-slot .bk-hotline__description { font-size: 14px; }
    .bk-hotline-slot .bk-hotline__call { font-size: 18px; }
    .bk-hotline-slot .bk-hotline__contact {
      grid-column: 1 / -1;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      justify-self: stretch;
      min-width: 0;
      align-items: stretch;
      margin-top: 4px;
    }
  }
  @media (max-width: 560px) {
    .bk-hotline-slot .bk-hotline__contact { grid-template-columns: minmax(0, 1fr); }
    .bk-hotline-slot .bk-hotline__max { grid-column: 1; grid-row: 3; margin-top: 10px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .bk-hotline-slot .bk-hotline__call,
  .bk-hotline-slot .bk-hotline__max { transition: none; }
}