/* BANGENIS – kompaktiška antraštė */

.bgh-top-inner {
    min-height: 135px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    gap: 24px !important;
}

.bgh-brand {
    max-width: 340px !important;
}

.bgh-logo-image {
    max-width: 340px !important;
    height: auto !important;
}

.bgh-tools {
    flex: 1;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
}

.bgh-access {
    width: auto !important;
    white-space: nowrap;
}

.bgh-search {
    flex-shrink: 0;
}

.bgh-social {
    display: flex !important;
    flex-direction: row !important;
    flex-shrink: 0;
    align-items: center;
    gap: 9px;
}

.bgh-instagram {
    background: linear-gradient(
        45deg,
        #feda75 0%,
        #fa7e1e 25%,
        #d62976 55%,
        #962fbf 80%,
        #4f5bd5 100%
    );
}

.bgh-instagram svg {
    color: white;
}

.bgh-nav-inner {
    min-height: 65px !important;
    gap: 0 !important;
}

.bgh-menu-list {
    width: 100%;
}

.bgh-wp-menu {
    width: 100%;
    justify-content: space-around !important;
}

.bgh-wp-menu a {
    font-size: 16px;
}

/* Mažesni ekranai */
@media (max-width: 1250px) {
    .bgh-top-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .bgh-tools {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

@media (max-width: 700px) {
    .bgh-top-inner {
        min-height: 0 !important;
    }

    .bgh-brand,
    .bgh-logo-image {
        max-width: 260px !important;
    }

    .bgh-tools {
        gap: 10px !important;
    }

    .bgh-access {
        white-space: normal;
    }

    .bgh-search input {
        width: 145px;
    }
}

/* ===== BANGENIS: ANTRASTES AUKSCIO TAISYMAS ===== */

@media (min-width: 1201px) {

  .bgh-header .bgh-top,
  .bgh-header .bgh-top-inner {
      height: 90px !important;
      min-height: 90px !important;
      max-height: 90px !important;
  }

  .bgh-header .bgh-top-inner {
      padding: 5px 20px !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
  }

  .bgh-header .bgh-brand {
      width: 260px !important;
      max-width: 260px !important;
      height: 75px !important;
      min-height: 0 !important;
      max-height: 75px !important;
      overflow: hidden !important;
      flex: 0 0 260px !important;
  }

  .bgh-header .bgh-brand .bgh-logo-image {
      width: 260px !important;
      max-width: 260px !important;
      height: 75px !important;
      min-height: 0 !important;
      max-height: 75px !important;
      object-fit: contain !important;
  }

  .bgh-header .bgh-tools {
      flex-wrap: nowrap !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: flex-end !important;
      height: auto !important;
      min-height: 0 !important;
      gap: 12px !important;
  }
}

/* Melyno meniu aukstis */
.bgh-header .bgh-nav-inner {
    min-height: 55px !important;
}

/* Plansetems ir telefonams */
@media (max-width: 1200px) {

  .bgh-header .bgh-top,
  .bgh-header .bgh-top-inner {
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
  }

  .bgh-header .bgh-top-inner {
      padding: 10px 15px !important;
  }

  .bgh-header .bgh-brand {
      width: 230px !important;
      max-width: 230px !important;
      height: 70px !important;
      max-height: 70px !important;
      min-height: 0 !important;
  }

  .bgh-header .bgh-brand .bgh-logo-image {
      width: 230px !important;
      max-width: 230px !important;
      height: 70px !important;
      max-height: 70px !important;
      min-height: 0 !important;
      object-fit: contain !important;
  }
}


/* === BANGENIS: LOGOTIPAS KAIREJE, FACEBOOK DESINEJE === */

@media (min-width: 1201px) {

  .bgh-header .bgh-top-inner {
      max-width: 100% !important;
      width: 100% !important;
      height: 90px !important;
      min-height: 90px !important;
      max-height: 90px !important;
      padding: 5px 32px !important;
      justify-content: space-between !important;
      flex-wrap: nowrap !important;
  }

  .bgh-header .bgh-brand {
      flex: 0 0 320px !important;
      width: 320px !important;
      max-width: 320px !important;
      height: 80px !important;
      max-height: 80px !important;
      margin: 0 !important;
      justify-content: flex-start !important;
  }

  .bgh-header .bgh-brand .bgh-logo-image {
      width: 320px !important;
      max-width: 320px !important;
      height: 80px !important;
      max-height: 80px !important;
      object-fit: contain !important;
      object-position: left center !important;
  }

  .bgh-header .bgh-tools {
      margin-left: auto !important;
      justify-content: flex-end !important;
      flex-wrap: nowrap !important;
  }
}

/* Facebook mygtukas uz paieskos */
.bgh-header .bgh-facebook-extra {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    color: #fff !important;
    background: #0866c2 !important;
    border-radius: 7px !important;
    text-decoration: none !important;
}

.bgh-header .bgh-facebook-extra svg {
    width: 24px !important;
    height: 24px !important;
}

/* Neleidziame rodyti dvieju Facebook ikonu */
.bgh-header .bgh-social .bgh-facebook:not(.bgh-facebook-extra) {
    display: none !important;
}

/* Telefonams ir plansetems */
@media (max-width: 1200px) {
    .bgh-header .bgh-brand {
        width: 280px !important;
        max-width: 280px !important;
        height: 75px !important;
        max-height: 75px !important;
    }

    .bgh-header .bgh-brand .bgh-logo-image {
        width: 280px !important;
        max-width: 280px !important;
        height: 75px !important;
        max-height: 75px !important;
        object-fit: contain !important;
    }
}


/* === BANGENIS LOGOTIPAS V4 === */

@media (min-width: 1201px) {

    .bgh-header .bgh-top,
    .bgh-header .bgh-top-inner {
        height: 105px !important;
        min-height: 105px !important;
        max-height: 105px !important;
    }

    .bgh-header .bgh-top-inner {
        max-width: 100% !important;
        padding: 4px 25px !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .bgh-header .bgh-brand {
        width: 400px !important;
        max-width: 400px !important;
        flex: 0 0 400px !important;
        height: 95px !important;
        max-height: 95px !important;
        overflow: visible !important;
        margin: 0 !important;
    }

    .bgh-header .bgh-brand img.bgh-logo-image {
        display: block !important;
        width: 400px !important;
        max-width: 400px !important;
        height: 95px !important;
        max-height: 95px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .bgh-header .bgh-tools {
        margin-left: auto !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
    }
}


/* BANGENIS – kompaktiska mobili antraste */
@media (max-width: 768px) {

    .bgh-header .bgh-top-inner {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: 0 !important;
        padding: 12px 10px !important;
        gap: 12px !important;
    }

    .bgh-header .bgh-brand {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }

    .bgh-header .bgh-logo-image {
        max-width: 280px !important;
        height: auto !important;
    }

    .bgh-header .bgh-tools {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 420px !important;
        gap: 6px !important;
        margin: 0 auto !important;
    }

    .bgh-header .bgh-tools .bgh-access,
    .bgh-header .bgh-tools .bgh-easy-language {
        flex: 0 0 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .bgh-header .bgh-access::before {
        width: 30px !important;
        height: 30px !important;
    }

    .bgh-header .bgh-easy-language svg {
        width: 30px !important;
        height: 30px !important;
    }

    .bgh-header .bgh-tools .bgh-search {
        display: flex !important;
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        height: 44px !important;
    }

    .bgh-header .bgh-search #bgh-search-input {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        padding: 6px 8px !important;
        font-size: 14px !important;
        height: 44px !important;
    }

    .bgh-header .bgh-search button {
        flex: 0 0 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 44px !important;
    }

    .bgh-header .bgh-tools .bgh-social {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        gap: 0 !important;
    }

    .bgh-header .bgh-social a {
        width: 40px !important;
        height: 44px !important;
        margin: 0 !important;
    }
}

