/* TrendyPicker Help Center
   /service/cs → service/cs.html

   1. Page chrome / tokens
   2. Hero
   3. Directory + contact card
   4. Responsive — last
*/

/* ——— Page chrome ——— */
.bo-help-shell {
  --help-purple: #7b3fe4;
  --help-muted: #6f687d;
  --help-soft: #f7f1ff;
  --bo-account-content-width: 1680px;
  background: #fff;
}

.bo-help-shell::before {
  height: 100%;
  background: #fff;
}

.bo-help-page,
.bo-help-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.bo-help-page {
  width: 100% !important;
  max-width: min(1680px, 100%) !important;
  box-sizing: border-box;
}

/* ——— Hero ——— */
.help-hero,
.help-directory-card {
  border: 1px solid rgba(123, 63, 228, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(49, 19, 108, 0.08);
}

.help-hero {
  display: flex;
  align-items: flex-end;
  min-height: 178px;
  box-sizing: border-box;
  padding: 30px 40px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 216, 244, 0.82), transparent 34%),
    linear-gradient(135deg, #25105c 0%, #7b3fe4 54%, #c283ff 100%);
}

.help-hero span {
  color: #eadfff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.help-hero h1,
.help-hero p,
.help-directory-card a,
.help-directory-card small {
  margin: 0;
}

.help-hero h1 {
  margin-top: 6px;
  color: #fff;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1;
  font-weight: 900;
}

.help-hero p {
  max-width: 920px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.45;
}

/* ——— Directory + contact ——— */
.help-directory-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(226, 214, 255, 0.55), transparent 36%),
    linear-gradient(180deg, #fbf8ff 0%, #fff 100%);
}

.help-directory-group {
  display: grid;
  gap: 5px;
  align-content: start;
  min-height: 100%;
  box-sizing: border-box;
  padding: 16px 18px 14px;
  border: 1px solid rgba(123, 63, 228, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(49, 19, 108, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.help-directory-group:hover {
  border-color: rgba(123, 63, 228, 0.28);
  box-shadow: 0 14px 28px rgba(49, 19, 108, 0.1);
  transform: translateY(-2px);
}

.help-directory-group > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin-bottom: 5px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--help-purple);
  background: var(--help-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.help-directory-card a,
.help-directory-card small {
  color: #241d30;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.help-directory-card small {
  color: var(--help-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.help-directory-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.help-directory-card a::after {
  content: "›";
  flex: 0 0 auto;
  color: #b4a8c8;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.help-directory-card a:hover,
.help-directory-card a:focus-visible {
  color: var(--help-purple);
  background: var(--help-soft);
}

.help-directory-card a:hover::after,
.help-directory-card a:focus-visible::after {
  color: var(--help-purple);
  transform: translateX(2px);
}

.help-directory-contact {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 216, 244, 0.35), transparent 34%),
    linear-gradient(145deg, #2a1460 0%, #7b3fe4 58%, #a56bff 100%);
  box-shadow: 0 16px 32px rgba(49, 19, 108, 0.18);
}

.help-directory-contact:hover {
  border-color: transparent;
  box-shadow: 0 18px 36px rgba(49, 19, 108, 0.24);
}

.help-directory-contact > span {
  color: #eadfff;
  background: rgba(255, 255, 255, 0.14);
}

.help-directory-contact .help-directory-email {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 16px;
  font-weight: 800;
}

.help-directory-contact .help-directory-email::after {
  color: rgba(255, 255, 255, 0.72);
}

.help-directory-contact .help-directory-email:hover,
.help-directory-contact .help-directory-email:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.help-directory-contact .help-directory-email:hover::after,
.help-directory-contact .help-directory-email:focus-visible::after {
  color: #fff;
}

.help-directory-contact small {
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.78);
}

/* ——— Responsive ——— */
@media (min-width: 1121px) {
  .bo-help-shell .subpage_container.bo-help-page {
    padding-top: 60px;
  }
}

@media (max-width: 1120px) {
  .bo-help-shell {
    padding-block: 30px 36px;
    overflow-x: clip;
    max-width: 100%;
  }

  .bo-help-page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    overflow-x: clip;
  }

  .bo-help-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    overflow-x: clip;
    gap: 18px;
  }

  .help-hero,
  .help-directory-card,
  .help-directory-group {
    max-width: 100%;
    min-width: 0;
  }

  .help-directory-card a,
  .help-directory-email {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .help-hero {
    min-height: 156px;
    padding: 24px 28px;
  }

  .help-directory-card {
    gap: 12px;
    padding: 14px;
  }
}

@media (max-width: 760px) {
  .bo-help-content {
    gap: 16px;
  }

  .help-hero,
  .help-directory-card {
    border-radius: 16px;
  }

  .help-hero {
    min-height: 142px;
    padding: 20px 22px;
  }

  .help-hero h1 {
    font-size: 34px;
  }

  .help-hero p {
    font-size: 13px;
  }

  .help-directory-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .help-directory-group {
    padding: 16px 14px 12px;
  }

  .help-directory-group:hover {
    transform: none;
  }
}
