/* Overrides for page147043506 exported variant (upload to /tilda-src/css/)
   - Experience badges overlay for specialists (absolute labels over photos)
   - Ensure key heading is visible
   - Unhide Envybox UI if it was hidden by old styles
   - Mobile corrections for injected badges (Цепляева, Умаров) and new (Бадаева)
*/

/* Envybox widget elements: make sure not hidden */
.cbk-phone, .yButton { visibility: visible !important; }

/* Ensure the section title is visible: "Автор знаменитого метода Санчир Хан" */
#rec2355432961, #rec2355432961 .t120 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Experience labels injected via script (desktop coords) */
#molecule-as-exp-cep,
#molecule-as-exp-umar,
#molecule-as-exp-badaeva {
  position: absolute !important;
  z-index: 10000 !important;
}

#molecule-as-exp-cep .tn-atom,
#molecule-as-exp-umar .tn-atom,
#molecule-as-exp-badaeva .tn-atom {
  color: #0E7D49 !important;
  font-size: 16px;
  line-height: 1.1;
}
#molecule-as-exp-cep .tn-atom,
#molecule-as-exp-umar .tn-atom,
#molecule-as-exp-badaeva .tn-atom { font-weight: 700 !important; }
#molecule-as-exp-cep .tn-atom span,
#molecule-as-exp-umar .tn-atom span,
#molecule-as-exp-badaeva .tn-atom span { font-weight: 400 !important; }

/* Per request: hide exp labels for two specialists (and any script-injected badges) */
.tn-group__as-exp-cep,
#molecule-as-exp-cep,
#molecule-as-exp-umar { display: none !important; }

/* Desktop base positions (align with existing grid of rec2484446751) */
#molecule-as-exp-cep { top: 704px; left: 310px; }
#molecule-as-exp-umar { top: 1154px; left: 320px; }
#molecule-as-exp-badaeva { top: 1178px; left: 1097px; }

/* Mobile tweaks: lock coordinates to prevent drift on narrow viewports */
@media (max-width: 960px) {
  /* Tune if needed after visual check on a real device */
  #molecule-as-exp-cep { top: 832px !important; left: 344px !important; }
  #molecule-as-exp-umar { top: 1190px !important; left: 240px !important; }
  #molecule-as-exp-badaeva { top: 1480px !important; left: 231px !important; }

  /* Optional: smaller font for labels on very small screens */
  #molecule-as-exp-cep .tn-atom,
  #molecule-as-exp-umar .tn-atom,
  #molecule-as-exp-badaeva .tn-atom { font-size: 14px; }
}

/* AS: увеличить высоту арткорда для блока Специалисты (rec2484446751), чтобы вместить 4-ю строку */
#rec2484446751 .t396__artboard,
#rec2484446751 .t396__filter,
#rec2484446751 .t396__carrier { height: 1700px !important; }

@media screen and (max-width: 1199px) {
  #rec2484446751 .t396__artboard,
  #rec2484446751 .t396__filter,
  #rec2484446751 .t396__carrier { height: 1600px !important; }
}

@media screen and (max-width: 959px) {
  #rec2484446751 .t396__artboard,
  #rec2484446751 .t396__filter,
  #rec2484446751 .t396__carrier { height: 1850px !important; }
}

@media screen and (max-width: 639px) {
  #rec2484446751 .t396__artboard,
  #rec2484446751 .t396__filter,
  #rec2484446751 .t396__carrier { height: 1750px !important; }
}

@media screen and (max-width: 359px) {
  #rec2484446751 .t396__artboard,
  #rec2484446751 .t396__filter,
  #rec2484446751 .t396__carrier { height: 1700px !important; }
}
