/* Help centre — geometry from millennialbet-help-centre (1440) / -mobile (390) */

.help-hero .info-hero__inner { min-height: 524px; }
.help-search {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  background: var(--surface);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: box-shadow var(--t);
}
.help-search:focus-within { box-shadow: inset 0 0 0 1px var(--red); }
.help-search input {
  width: 100%;
  border: 0;
  background: none;
  font-size: 16px;
  color: var(--white);
}
.help-search input:focus:not(:focus-visible) { outline: none; }
.help-search input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.help-search input::placeholder { color: var(--grey); }
.help-popular { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
.help-tag {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: 12px;
  color: var(--slate);
  transition: box-shadow var(--t), color var(--t);
}
.help-tag:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }

.help-direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 541px;
  flex: none;
  padding: 32px;
  background: var(--bone);
  border-radius: var(--r-24);
  color: var(--ink-soft);
}
.help-direct__title { font-family: var(--font-display); font-size: 16px; line-height: 17.41px; letter-spacing: 1px; color: var(--ink-soft); }
.help-direct__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  transition: box-shadow var(--t), color var(--t);
}
.help-direct__row:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red-text); }
.help-direct__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--grey);
}

/* ============ workspace ============ */
.help-workspace {
  background: var(--bone);
  box-shadow: inset 0 1px 0 var(--line-light), inset 0 -1px 0 var(--line-light);
}
.help-workspace__inner { display: flex; align-items: flex-start; gap: 64px; padding-block: 96px; }
.help-nav { display: flex; flex-direction: column; gap: 8px; width: 260px; flex: none; position: sticky; top: 96px; }
.help-nav__title {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 13.06px;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin-bottom: 8px;
}
.help-nav__item {
  min-height: 40px;
  padding: 12px 16px;
  border-left: 3px solid transparent;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 16px;
  color: var(--grey);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.help-nav__item:hover { color: var(--ink-soft); background: var(--white); }
.help-nav__item.is-active { border-left-color: var(--red); color: var(--ink-soft); }

.help-content { display: flex; flex-direction: column; gap: 48px; flex: 1; min-width: 0; }
.help-topic { display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 96px; }
.help-topic__head { display: flex; flex-direction: column; gap: 12px; }
.help-topic__kicker { font-family: var(--font-display); font-size: 14px; letter-spacing: 1px; color: var(--red-text); }
.help-topic__title { font-family: var(--font-display); font-size: 44px; line-height: 46px; color: var(--ink-soft); }

/* ============ accordion ============ */
.accordion { display: flex; flex-direction: column; }
.accordion__item { box-shadow: inset 0 -1px 0 var(--line-light); }
.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 20px;
  color: var(--ink-soft);
  transition: color var(--t);
}
.accordion__trigger:hover { color: var(--red); }
.accordion__num { font-size: 14px; color: var(--red-text); flex: none; }
.accordion__label { flex: 1; }
.accordion__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--red);
  transform: translate(-50%, -50%);
  transition: transform var(--t);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__panel { padding: 0 0 20px 46px; }
.accordion__panel p { font-size: 16px; line-height: 26px; color: var(--grey); max-width: 760px; }
.help-empty { font-size: 15px; line-height: 24px; color: var(--grey); }
.help-empty a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199px) {
  .help-hero .info-hero__inner { min-height: 0; }
  .help-direct { width: auto; padding: 24px; }
  .help-workspace__inner { flex-direction: column; gap: 24px; padding-block: 32px; }
  .help-nav { position: static; width: auto; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .help-nav__title { width: 100%; }
  .help-nav__item { min-height: 44px; padding: 12px; border-left: 0; border-bottom: 2px solid transparent; font-size: 13px; }
  .help-nav__item.is-active { border-bottom-color: var(--red); }
  .help-topic { gap: 20px; }
  .help-topic__title { font-size: 28px; line-height: 30.5px; }
  .accordion__trigger { font-size: 16px; gap: 12px; }
  .accordion__panel { padding-left: 34px; }
}
