/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 16 2026 | 22:17:32 */
/* ==========================================
   NETLINE — МОБІЛЬНА ШАПКА
   Тільки смартфони
========================================== */

@media (max-width: 767px) {

  /* ЛОГОТИП */

  #masthead #header-left-section {
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    margin: 0 0 12px !important;
  }

  #masthead #header-logo-image {
    float: none !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  #masthead #header-logo-image img {
    width: auto !important;
    height: auto !important;
    max-width: min(245px, 85vw) !important;
    max-height: 85px !important;
  }

  /* РЯДОК НАВІГАЦІЇ */

  #masthead #header-right-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;

    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 12px !important;
  }

  /* БУРГЕР-МЕНЮ */

  #masthead .main-navigation {
    order: 1;
    flex: 0 0 auto;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
  }

  #masthead .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: auto !important;
    min-width: 98px;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 14px !important;

    background: #ff8000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;

    font-family: 'Rubik', Arial, sans-serif;
    font-size: 17px !important;
    line-height: 1.2;
    cursor: pointer;
  }

  /* Додаємо напис до іконки */

  #masthead .menu-toggle::after {
    content: "Меню";
    display: inline-block;
    color: #ffffff;
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* СОЦМЕРЕЖІ */

  #masthead #header-right-sidebar {
    order: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto;
    gap: 7px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  /* Віджети з кнопками соцмереж */

  #masthead #header-right-sidebar .widget,
  #masthead #header-right-sidebar .textwidget,
  #masthead #header-right-sidebar .custom-html-widget {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  /* Компактні круглі кнопки */

  #masthead a[href*="facebook.com/netlineplus"],
  #masthead a[href*="instagram.com/netlineplus"],
  #masthead a[href*="t.me/netlineplus"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    border-radius: 50% !important;
    background: #ff8000 !important;
    color: #ffffff !important;

    /* Приховуємо текстові назви */
    font-size: 0 !important;
    line-height: 0 !important;

    text-decoration: none !important;
    float: none !important;
    white-space: nowrap !important;
  }

  /* Іконки всередині кнопок */

  #masthead a[href*="facebook.com/netlineplus"] i,
  #masthead a[href*="instagram.com/netlineplus"] i,
  #masthead a[href*="t.me/netlineplus"] i {
    display: inline-block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #ffffff !important;
  }

  #masthead a[href*="facebook.com/netlineplus"] svg,
  #masthead a[href*="instagram.com/netlineplus"] svg,
  #masthead a[href*="t.me/netlineplus"] svg {
    width: 19px !important;
    height: 19px !important;
  }

  /* Якщо іконка створена через псевдоелемент */

  #masthead a[href*="facebook.com/netlineplus"]::before,
  #masthead a[href*="instagram.com/netlineplus"]::before,
  #masthead a[href*="t.me/netlineplus"]::before {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  /* ПОШУК */

  #masthead .header-action {
    order: 3;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px;

    width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  #masthead .header-action .search-wrapper .search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 42px;
  }

}

/* ДУЖЕ ВУЗЬКІ ЕКРАНИ */

@media (max-width: 360px) {

  #masthead .menu-toggle {
    min-width: 82px;
    padding: 9px 10px !important;
  }

  #masthead a[href*="facebook.com/netlineplus"],
  #masthead a[href*="instagram.com/netlineplus"],
  #masthead a[href*="t.me/netlineplus"] {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

}


/* NETLINE — Виправлення бургер-меню */

@media (max-width: 767px) {

  #masthead .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 112px !important;
    height: 44px !important;
    padding: 0 14px !important;
    gap: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  /* Прибираємо стару іконку теми */
  #masthead .menu-toggle::before,
  #masthead .menu-toggle i,
  #masthead .menu-toggle svg {
    display: none !important;
  }

  /* Нова іконка + текст */
  #masthead .menu-toggle::after {
    content: "☰  Меню" !important;
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;

    font-family: 'Rubik', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
  }

}
