/* Campsites UK — restore original mobile header */
@media screen and (max-width: 767px) {

  #masthead,
  #masthead .header-b {
    background: #fff !important;
  }

  #masthead .site-branding {
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    width: auto !important;
    text-align: left !important;
  }

  #masthead .site-branding .site-title {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
  }

  #masthead .site-branding .site-title a {
    color: #174b35 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  #masthead .site-branding .site-description,
  #masthead .custom-logo-link {
    display: none !important;
  }

  #masthead .header-t {
    display: none !important;
  }

  #masthead .right {
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
  }

  #masthead .mobile-menu,
  #masthead .menu-opener,
  #masthead .toggle-btn {
    background: #174b35 !important;
    color: white !important;
    border-radius: 16px !important;
  }
}

/* Restore Campsites UK mobile header */
@media screen and (max-width: 767px) {

  #masthead .header-b {
    background: #ffffff !important;
  }

  #masthead .site-branding {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
  }

  #masthead .site-branding .site-title,
  #masthead .site-branding .site-title a {
    display: block !important;
    visibility: visible !important;
    color: #174b35 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
  }

  #masthead .mobile-menu-wrapper {
    display: flex !important;
    align-items: center !important;
  }

  #masthead #primary-toggle-button {
    background: #174b35 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
  }

  #masthead #primary-toggle-button svg,
  #masthead #primary-toggle-button svg * {
    stroke: #ffffff !important;
  }
}
/* Restore mobile hamburger button */
@media screen and (max-width: 767px) {

  #masthead .mobile-menu-wrapper {
    margin-left: auto !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }

  #masthead #primary-toggle-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    margin-left: auto !important;
    background: #174b35 !important;
    border: 0 !important;
    border-radius: 12px !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  #masthead #primary-toggle-button .fa-bars {
    display: inline-block !important;
    font-size: 27px !important;
    color: #ffffff !important;
    line-height: 1 !important;
  }
}
/* Remove mobile green navigation bar */
@media screen and (max-width: 767px) {
  #masthead .header-b {
    background: #ffffff !important;
    box-shadow: none !important;
  }

  #masthead .header-b .container {
    background: transparent !important;
  }
}
/* Remove full-width green mobile navigation bar */
@media screen and (max-width: 767px) {
  #masthead .nav-holder,
  #masthead .nav-holder > .container {
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
  }
}
/* Mobile homepage: replace Home icon with site name */
@media screen and (max-width: 767px) {

  body.home #masthead .nav-holder .home-link {
    font-size: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
  }

  body.home #masthead .nav-holder .home-link .fa-home {
    display: none !important;
  }

  body.home #masthead .nav-holder .home-link::after {
    content: "Campsites UK";
    display: inline-block;
    color: #174b35;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
  }
}
