/* 가이드 hub (/guide): help-center style landing */
.desktop-site .guide-hub-main { background: #fff; padding-bottom: 90px; }

.hub-hero {
  background: #e5493a;
  color: #fff;
  text-align: center;
}

.hub-hero-inner {
  padding: 72px 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-logo {
  height: 34px;
  width: auto;
  margin-bottom: 26px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  box-sizing: content-box;
}

.hub-hero h1 { margin: 0; font-size: 40px; font-weight: 850; letter-spacing: -.04em; }
.hub-hero p { margin: 14px 0 0; font-size: 22px; font-weight: 700; }

.hub-search {
  width: min(100%, 760px);
  height: 64px;
  margin-top: 30px;
  padding: 0 12px 0 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 32px;
  background: #fff;
}

.hub-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222;
  font: inherit;
  font-size: 18px;
}

.hub-search input::placeholder { color: #8d9298; }
.hub-search input::-webkit-search-cancel-button { display: none; }

.hub-search button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #222;
  cursor: pointer;
}

.hub-tags {
  width: min(100%, 900px);
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}

.hub-tags button {
  border: 0;
  padding: 4px 2px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.hub-tags button:hover { text-decoration: underline; text-underline-offset: 4px; }

.hub-body { padding-top: 58px; display: grid; gap: 64px; }

.hub-heading {
  margin: 0 0 30px;
  color: #000;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.hub-heading em { color: #e5493a; font-style: normal; }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hub-card {
  position: relative;
  min-height: 228px;
  padding: 44px 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #d9d9d9;
  border-radius: 32px;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

a.hub-card:hover {
  border-color: #e5493a;
  box-shadow: 0 10px 26px rgba(229, 73, 58, .14);
  transform: translateY(-2px);
}

.hub-card-copy { max-width: calc(100% - 96px); }
.hub-card-copy strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.hub-card-copy p { margin: 14px 0 0; color: #333; font-size: 15px; font-weight: 600; line-height: 1.6; word-break: keep-all; }

.hub-card-arrow {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6e6e6;
  color: #444;
  font-size: 14px;
}

a.hub-card:hover .hub-card-arrow { background: #e5493a; color: #fff; }

.hub-card-icon {
  position: absolute;
  right: 30px;
  bottom: 32px;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f6f8fa;
  color: #333;
}

.hub-card-icon svg { stroke: #333; }

.hub-card-contact {
  border: 0;
  background: #eef3f5;
  justify-content: flex-start;
}

.hub-contact-mail { display: block; margin-top: 18px; color: #111; font-size: 21px; font-weight: 600; text-decoration: none; word-break: break-all; }
.hub-card-contact .hub-card-copy { max-width: calc(100% - 100px); }
.hub-card-contact .hub-card-copy p { color: #666; font-size: 14px; }
.hub-card-contact .hub-card-icon { background: #fff; }

.hub-empty {
  padding: 70px 20px;
  border-radius: 32px;
  background: #f6f8fa;
  text-align: center;
}

.hub-empty strong { font-size: 22px; }
.hub-empty p { margin: 12px 0 24px; color: #666; font-size: 16px; }
.hub-empty button { height: 48px; padding: 0 26px; border: 0; border-radius: 24px; background: #e5493a; color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }

@media (max-width: 1100px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hub-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hub-card { min-height: 190px; padding: 30px 26px 26px; border-radius: 26px; }
  .hub-card-copy { max-width: calc(100% - 84px); }
  .hub-card-icon { right: 22px; bottom: 24px; width: 68px; height: 68px; }
}

.hub-contact-mail { font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.hub-card-contact .hub-card-copy { max-width: 100%; }
.hub-card-contact .hub-card-copy p { max-width: 200px; }

/* White banner variant */
.desktop-site .guide-hub-main { background: #f2f4f7; }

.hub-hero {
  background: #fff;
  color: #111;
  border-bottom: 1px solid #e5e8ec;
}

.hub-hero p { color: #4b5666; }

.hub-search {
  border: 1px solid #ddd;
  box-shadow: 0 6px 20px rgba(32, 42, 55, .06);
}

.hub-search:focus-within {
  border-color: #e5493a;
  box-shadow: 0 6px 20px rgba(229, 73, 58, .12);
}

.hub-tags button { color: #7b8492; font-weight: 700; }
.hub-tags button:hover { color: #e5493a; }
.hub-heading { color: #111; }

.hub-hero h1 span { color: #e5493a; }

/* [겹침 수정] 이메일 문의 카드: 카드 폭이 좁아지면 아이콘이 이메일·운영시간 글자와 겹침
   → 겹치는 폭에서만 아이콘을 작게 해서 오른쪽 위 빈자리(제목 옆)로 옮김
   · 1101~1340px : 3칸 배치라 카드가 좁아짐 (카드 약 340~410px)
   · 761~870px   : 2칸 배치라 카드가 좁아짐 (카드 약 360~410px)
   · 400px 이하  : 1칸 배치, 휴대폰 */
@media (min-width: 1101px) and (max-width: 1340px), (min-width: 761px) and (max-width: 870px) {
  .hub-card-contact .hub-card-icon { top: 28px; bottom: auto; right: 24px; width: 64px; height: 64px; }
  .hub-card-contact .hub-card-icon svg { width: 28px; height: 28px; }
}
@media (max-width: 400px) {
  .hub-card-contact .hub-card-icon { top: 22px; bottom: auto; right: 18px; width: 52px; height: 52px; }
  .hub-card-contact .hub-card-icon svg { width: 24px; height: 24px; }
}
