@font-face {
  font-family: 'TTFirs';
  src: url('/local/templates/topjob/fonts/TTFirs/TTFirs-ExtraBold.woff2') format('woff2'),
      url('/local/templates/topjob/fonts/TTFirs/TTFirs-ExtraBold.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TTFirs';
  src: url('/local/templates/topjob/fonts/TTFirs/TTFirs-Bold.woff2') format('woff2'),
      url('/local/templates/topjob/fonts/TTFirs/TTFirs-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.yellow-button{
  font-family: 'TTFirs';
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
  padding: 22px 50px;
  color: #000 !important;
  background-color: #fce832;
  border-radius: 14px;
  display: block;
  width: fit-content;
  transition: background-color 0.3s;
}
@media (hover:hover){
  .yellow-button:hover{
    background-color: #fcd232;
  }
}
@media (max-width: 992px){
  .yellow-button{
    font-size: 14px;
    line-height: 14px;
    padding: 12px 15px;
    border-radius: 8px;
  }
}


.certpage{
  margin: 0 -40px;
  position: relative;
}
@media (max-width: 768px) {
  .certpage{
    margin: 0 -35px;
    padding: 0 1rem;
  }
}

.certpage strong{
  padding: 0;
  background: none;
  line-height: inherit;
}

.certpage h2{
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
  padding: 0;
  color: #383838;
}
@media (max-width: 1200px) {
  .certpage h2{
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .certpage h2{
    font-size: 24px;
  }
  .certpage h2 br{
    display: none;
  }
}

.certpage,
.certpage ul,
.certpage p{
  color: #383838;
}

.fancybox__slide.vk-video-clip .fancybox__content{
  width: auto !important;
  height: auto !important;
  aspect-ratio: 9 / 18;
}
@media screen and (orientation: landscape){
  .fancybox__slide.vk-video-clip .fancybox__content{
    max-width: 460px !important;
    max-height: 80vh !important;
    border-radius: 10px !important;
  }
}
@media screen and (orientation: portrait){
  .fancybox__slide.vk-video-clip .fancybox__content,
  .fancybox__slide.vk-video-clip video{
    border-radius: 0 !important;
  }
}
