/* Performance overrides — preserve visual identity after h3→p and CLS fixes */

.section__bottom-container > p.section__bottom-title {
  font-family: "Domine", serif !important;
  font-size: 32px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 40px !important;
  letter-spacing: -0.64px !important;
}

html[lang="bg"] .section__bottom-container > p.section__bottom-title {
  font-family: "InterTight", sans-serif !important;
}

@media (max-width: 1200px) {
  .section__bottom-container > p.section__bottom-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    letter-spacing: -0.48px !important;
  }
}

@media (max-width: 480px) {
  .section__image-card img,
  .section__item.small .section__card-image,
  .section__item.medium .section__card-image,
  .section__item.large .section__card-image {
    width: 100%;
    height: 220px;
    max-height: 220px;
    object-fit: cover;
  }

  #start .section__image,
  #reg .section__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

@media (max-width: 588px) {
  .section__image-card img {
    height: 220px;
    max-height: 220px;
    object-fit: cover;
  }
}

#about .section__item .section__image {
  height: auto;
}

#formula .section__image {
  height: auto;
}