/* ==========================================================================
   Bokkiyaw — help centre
   ========================================================================== */

.hc-hero {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f6fbf9, #ffffff);
}

.hc-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.042em;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hc-sub {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 40rem;
}

.hc-search .visually-hidden,
.hc-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.hc-search {
  position: relative;
  max-width: 620px;
  margin: 0 0 1.4rem;
}

.hc-search input {
  width: 100%;
  height: 56px;
  padding: 0 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.hc-search input::placeholder {
  color: #94a39c;
}

.hc-search input:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(0, 194, 160, 0.16);
}

.hc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hc-chips a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.hc-chips a:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.hc-body {
  padding-block: clamp(2.5rem, 4vw, 4rem) clamp(3.5rem, 6vw, 6rem);
}

.hc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.hc-main h2 {
  font-size: 1.35rem;
  letter-spacing: -0.022em;
  margin: 0 0 1.2rem;
}

.hc-main h2 + .hc-grid + h2 {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.hc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hc-card {
  display: flex;
  gap: 0.95rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.hc-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 50px -34px rgba(10, 31, 25, 0.45);
}

.hc-card img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
}

.hc-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 0.15rem;
}

.hc-card span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.hc-card .hc-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--pale);
  color: var(--mint-dark);
  font-size: 1rem;
  flex: none;
}

.hc-videos {
  display: grid;
  gap: 10px;
}

.hc-video {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hc-video:hover {
  background: #fff;
  border-color: var(--line-strong);
}

.hc-video .play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff;
  font-size: 0.7rem;
  flex: none;
}

.hc-video strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
}

.hc-video span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.hc-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  background: var(--soft);
}

.hc-aside h2 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.hc-aside p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.hc-aside .hc-aside-links {
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.hc-aside a {
  color: var(--mint-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 121, 95, 0.28);
  justify-self: start;
  padding-bottom: 1px;
}

.hc-aside a:hover {
  color: var(--forest);
  border-color: var(--forest);
}

.hc-empty {
  display: none;
  padding: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.hc-empty.is-on {
  display: block;
}

@media (max-width: 960px) {
  .hc-layout {
    grid-template-columns: 1fr;
  }

  .hc-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .hc-grid {
    grid-template-columns: 1fr;
  }

  .hc-hero {
    padding-block: 1.8rem 2rem;
  }

  .hc-search input {
    height: 50px;
    font-size: 0.94rem;
  }
}
