
/* ===== ОНОВЛЕНІ СТИЛІ ДЛЯ МОБІЛЬНИХ І ПЛАНШЕТІВ ===== */

/* Забороняємо горизонтальну прокрутку */
html, body {
  overflow-x: hidden;
}

/* Планшети і менше */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
    color: #333 !important;
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  p {
    font-size: 1rem;
    margin-bottom: 1em;
    overflow-wrap: break-word;
    word-break: break-word;
    color: #333 !important;
  }

  .about-content .desc {
    font-size: 1rem;
    padding-right: 0;
  }

  img, .container, .row, .col-xs-*, .col-sm-*, .col-md-*, .col-lg-* {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
  }

  .about-content img {
    margin-bottom: 1.5em;
  }

  .button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 1em;
  }

  .button-grid a {
    flex: 1 1 140px;
    max-width: 200px;
    text-align: center;
  }
}

/* Телефони */
@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .about-content .desc {
    font-size: 0.95rem;
  }
}


@media screen and (max-width: 768px) {
  #fh5co-offcanvas a {
    font-size: 18px !important;
    padding: 14px 0 !important;
    color: white !important;
  }

  #fh5co-offcanvas ul li {
    margin-bottom: 10px;
  }

  .fh5co-nav-toggle i {
    background: white !important;
  }
}
