/* 고객 이용가이드 (/user-guide): only what the site CSS has no component for; colours from the site tokens. */
body.ea-site.gx-site .ug-rail-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Jump links under the page title */
body.ea-site.gx-site .ug-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

body.ea-site.gx-site .ug-jump a {
  padding: 8px 14px;
  border: var(--ea-card-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ea-ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

body.ea-site.gx-site .ug-jump a:hover {
  border-color: var(--ea-blue);
  color: var(--ea-blue-dark);
}

body.ea-site.gx-site .ug-jump a.is-key {
  border-color: var(--ea-blue);
  background: var(--ea-blue);
  color: #fff;
}

/* 주소 기재 방법: example address with the customer's own part marked */
body.ea-site.gx-site .ug-addr {
  max-width: 860px;
  margin: 0 0 22px 20px;
  padding: 20px 22px;
  border: 2px solid var(--ea-blue);
  border-radius: var(--ea-radius);
  background: #fff;
}

body.ea-site.gx-site .ug-addr__caption {
  margin: 0 0 12px;
  color: var(--ea-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

body.ea-site.gx-site .ug-addr__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.ea-site.gx-site .ug-addr__label {
  color: var(--ea-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

body.ea-site.gx-site .ug-addr__value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  color: var(--ea-ink);
}

body.ea-site.gx-site .ug-addr__given {
  color: var(--ea-muted);
}

body.ea-site.gx-site .ug-addr__mark {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  border: 2px dashed var(--ea-blue);
  border-radius: var(--ea-radius-sm);
  background: var(--ea-blue-soft);
}

body.ea-site.gx-site .ug-addr__mark > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}

body.ea-site.gx-site .ug-addr__mark b {
  color: var(--ea-ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.ea-site.gx-site .ug-addr__mark small {
  margin-top: 2px;
  color: var(--ea-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Two ways to write the address: 앱 회원 (GX번호, primary) / 앱 미가입 (이름 + 전화) */
body.ea-site.gx-site .ug-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 0 0 26px 20px;
}

body.ea-site.gx-site .ug-way {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  border: var(--ea-card-border);
  border-radius: var(--ea-radius);
  background: #fff;
}

body.ea-site.gx-site .ug-way--app {
  border: 2px solid var(--ea-blue);
  box-shadow: 0 10px 26px rgba(255, 106, 42, 0.12);
}

body.ea-site.gx-site .ug-way__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ea-blue-soft);
  color: var(--ea-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

body.ea-site.gx-site .ug-way--app .ug-way__tag {
  background: var(--ea-blue);
  color: #fff;
}

body.ea-site.gx-site .ug-way h3 {
  margin: 0;
  color: var(--ea-ink);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
}

body.ea-site.gx-site .ug-way p {
  margin: 0;
  color: var(--ea-muted);
  line-height: 1.65;
}

body.ea-site.gx-site .ug-way__ex {
  padding: 12px 14px;
  border-radius: var(--ea-radius-sm);
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.ea-site.gx-site .ug-way__ex .ug-addr__label {
  display: block;
  margin-bottom: 6px;
}

body.ea-site.gx-site .ug-way p.ug-way__keep {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ea-ink);
  font-weight: 700;
}

body.ea-site.gx-site .ug-way__keep i,
body.ea-site.gx-site .ug-way__app i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--ea-blue);
}

body.ea-site.gx-site .ug-way__app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

body.ea-site.gx-site .ug-way__app span {
  display: flex;
  gap: 8px;
  flex: 1 1 220px;
  color: var(--ea-ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

body.ea-site.gx-site .ug-addr-sub {
  max-width: 860px;
  margin: 0 0 12px 20px;
  color: var(--ea-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

body.ea-site.gx-site .ug-addr-points {
  max-width: 860px;
  margin: 0 0 0 20px;
}

body.ea-site.gx-site .ug-note.ug-note--warn {
  max-width: 860px;
  margin-left: 20px;
  border: 1px solid var(--ea-blue);
  background: #fff;
  font-weight: 700;
}

body.ea-site.gx-site .ug-addr-more {
  max-width: 860px;
  margin: 14px 0 0 20px;
}

body.ea-site.gx-site .ug-addr-more a {
  color: var(--ea-blue);
  font-weight: 700;
  text-decoration: none;
}

body.ea-site.gx-site .ug-addr-more a:hover {
  text-decoration: underline;
}

body.ea-site.gx-site [id^="ug-"] {
  scroll-margin-top: 80px;
}

/* One-line note under a section */
body.ea-site.gx-site .ug-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: var(--ea-radius-sm);
  background: var(--ea-blue-soft);
  color: var(--ea-ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

body.ea-site.gx-site .ug-note i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--ea-blue);
}

/* Tracking page steps */
body.ea-site.gx-site .ug-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

body.ea-site.gx-site .ug-track li {
  padding: 7px 14px;
  border: var(--ea-card-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ea-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

body.ea-site.gx-site .ug-track li:not(:last-child)::after {
  content: " →";
  color: var(--ea-blue);
}

/* FAQ */
body.ea-site.gx-site .ug-faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

body.ea-site.gx-site .ug-faq details {
  border: var(--ea-card-border);
  border-radius: var(--ea-radius);
  background: #fff;
}

body.ea-site.gx-site .ug-faq summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  color: var(--ea-ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

body.ea-site.gx-site .ug-faq summary::-webkit-details-marker { display: none; }

body.ea-site.gx-site .ug-faq summary::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 18px;
  color: var(--ea-blue);
  font-size: 1.4rem;
  font-weight: 800;
}

body.ea-site.gx-site .ug-faq details[open] summary::after { content: "−"; }

body.ea-site.gx-site .ug-faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--ea-muted);
  line-height: 1.7;
}

@media (max-width: 640px) {
  body.ea-site.gx-site .ug-rail-2 {
    grid-template-columns: 1fr;
  }

  body.ea-site.gx-site .ug-addr {
    margin-left: 0;
    padding: 16px;
  }

  body.ea-site.gx-site .ug-addr-points,
  body.ea-site.gx-site .ug-note.ug-note--warn,
  body.ea-site.gx-site .ug-addr-more,
  body.ea-site.gx-site .ug-addr-sub {
    margin-left: 0;
  }

  body.ea-site.gx-site .ug-ways {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  body.ea-site.gx-site .ug-way {
    padding: 16px;
  }

  body.ea-site.gx-site .ug-addr__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* 앱 미가입 card: link to 내 GX번호 찾기 (/find-gx) */
body.ea-site.gx-site .ug-way__find {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  border: 1px solid var(--ea-blue);
  border-radius: var(--ea-radius-sm);
  background: var(--ea-blue-soft);
}

body.ea-site.gx-site .ug-way__find span {
  flex: 1 1 200px;
  color: var(--ea-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

body.ea-site.gx-site .ug-way__find-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ea-blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

body.ea-site.gx-site .ug-way__find-btn:hover {
  color: #fff;
  filter: brightness(0.95);
}
