:root {
  --teacher-banner-height: 64px;
}

.teacher-finder-banner {
  position: sticky;
  top: 0;
  z-index: 1100;
  min-height: var(--teacher-banner-height);
  background: #256FA3;
  color: #FFFFFF;
}

.teacher-finder-banner__inner {
  width: min(1120px, calc(100% - 40px));
  min-height: var(--teacher-banner-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.teacher-finder-banner__profiles {
  display: flex;
  align-items: center;
  min-width: 58px;
}

.teacher-finder-banner__profile {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  object-fit: cover;
  background: #EAF4FB;
}

.teacher-finder-banner__profile + .teacher-finder-banner__profile {
  margin-left: -14px;
}

.teacher-finder-banner__copy {
  margin: 0;
  color: #FFFFFF;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  word-break: keep-all;
}

.teacher-finder-banner__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #183B5B;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.teacher-finder-banner__link:hover {
  background: #F6FBFF;
}

.teacher-finder-banner__link:focus-visible {
  outline: 3px solid rgba(242, 140, 40, 0.56);
  outline-offset: 3px;
}

.teacher-finder-banner__arrow {
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 760px) {
  :root {
    --teacher-banner-height: 56px;
  }

  .teacher-finder-banner__inner {
    width: min(100% - 24px, 1120px);
    gap: 10px;
  }

  .teacher-finder-banner__profiles {
    min-width: 45px;
  }

  .teacher-finder-banner__profile {
    width: 30px;
    height: 30px;
    border-width: 1.5px;
  }

  .teacher-finder-banner__profile + .teacher-finder-banner__profile {
    margin-left: -12px;
  }

  .teacher-finder-banner__copy {
    font-size: 14px;
    line-height: 1.25;
  }

  .teacher-finder-banner__link {
    min-height: 42px;
    padding: 0 12px;
    gap: 5px;
    font-size: 14px;
  }
}

@media (max-width: 370px) {
  .teacher-finder-banner__inner {
    width: min(100% - 20px, 1120px);
    gap: 8px;
  }

  .teacher-finder-banner__copy {
    font-size: 13px;
  }

  .teacher-finder-banner__link {
    padding: 0 10px;
    font-size: 13px;
  }
}
