/* Shared site header and Instagram icon */
.guide header,
.kanshi-page > header,
.faq-page header {
  justify-content: space-between;
}

header nav {
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.instagram-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: url(../images/social-official/instagram-official.png) center / contain no-repeat;
  flex: 0 0 auto;
}

.instagram-icon::before,
.instagram-icon::after { content: none; display: none; }

footer .instagram-link {
  justify-content: center;
}

@media (max-width: 900px) {
  header {
    height: auto;
    min-height: 88px;
    align-items: flex-start;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
  }
}

@media (max-width: 700px) {
  header {
    align-items: center;
    min-height: 72px;
    height: auto;
  }

  .brand {
    flex: 0 0 auto;
  }

  header nav,
  .blog-page > header nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px 13px;
    font-size: 10px;
  }

  .instagram-icon {
    width: 28px;
    height: 28px;
  }
}
