/* ZKS Help Centre Stable Designed Framework
   No AOS. No main.js. No registration embed. No PureChat.
   Built to stay visible and keep a professional ZKS Help Centre look.
*/

:root {
  --zks-navy: #060c22;
  --zks-blue: #0e1b4d;
  --zks-red: #f82249;
  --zks-red-dark: #e0072f;
  --zks-light: #f6f7fb;
  --zks-muted: #6c757d;
  --zks-border: #e7e9f1;
  --zks-shadow: 0 10px 25px rgba(6, 12, 34, 0.08);
}

/* Review journey components */
.review-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: review-stage;
}

.review-flow .review-step {
  position: relative;
  min-height: 0;
  padding: 56px 18px 18px;
  border: 2px solid var(--zks-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--zks-shadow);
  counter-increment: review-stage;
}

.review-flow .review-step::before {
  content: counter(review-stage);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--zks-red);
  color: #fff;
  font-weight: 900;
}

.review-flow .review-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  right: 50%;
  bottom: -32px;
  z-index: 2;
  width: 34px;
  transform: translateX(50%);
  color: var(--zks-red);
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.review-step i { display: block; margin-bottom: 10px; color: var(--zks-red); font-size: 26px; }
.review-step h3 { margin: 0 0 8px; font-size: 17px; text-transform: uppercase; }
.review-step p { margin: 0; color: var(--zks-muted); font-size: 14px; }
.review-step.is-complete { border-color: #2f9e63; background: #f3fbf6; }
.review-step.is-complete::before { content: "✓"; background: #2f9e63; }
.review-step.is-current { border-color: var(--zks-red); background: #fff7f9; }
.review-step.is-future { background: #f5f6f9; }

.review-cycle {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.review-cycle-stage { position: relative; padding: 16px 12px; border-radius: 12px; background: var(--zks-blue); color: #fff; text-align: center; font-family: Raleway, sans-serif; font-weight: 900; }
.review-cycle-stage:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -14px; z-index: 2; color: var(--zks-red); font-size: 18px; transform: translate(50%, -50%); }
.review-cycle-stage.complete { background: #218653; }
.review-cycle-stage.final { background: var(--zks-red); }

.review-statuses { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.review-statuses li { padding: 7px 11px; border: 1px solid var(--zks-border); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.review-reassurance { margin: 20px 0; padding: 18px; border-left: 5px solid var(--zks-red); border-radius: 8px; background: #fff7f9; font-size: 17px; }
.review-cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.review-hero-now { max-width: 900px; margin: 0 0 22px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; line-height: 1.55; }
.review-hero-now a { color: #fff; font-weight: 800; white-space: nowrap; }
.review-hero-now a:hover, .review-hero-now a:focus { color: #ffd8df; }

@media (max-width: 767.98px) {
  .review-cycle { grid-template-columns: 1fr; gap: 28px; }
  .review-cycle-stage:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -25px; transform: translateX(50%); }
  .review-cta-row .help-btn { width: 100%; text-align: center; }
  .review-help-page .article-hero { padding: 25px 0 27px; }
  .review-help-page .article-hero h1 { margin-bottom: 10px; font-size: clamp(30px, 9vw, 40px); }
  .review-help-page .article-hero > .container > p { margin-bottom: 13px; font-size: 16px; line-height: 1.4; }
  .review-help-page .article-hero .help-breadcrumb,
  .review-help-page .article-hero .article-meta,
  .review-help-page .review-jump-nav { display: none; }
  .review-help-page .review-hero-now { margin-bottom: 0; padding: 11px 13px; font-size: 14px; line-height: 1.45; }
  .review-help-page .help-section { padding-top: 28px; }
  .review-help-page .review-flow .review-step { padding: 48px 15px 15px; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--zks-light);
  color: #222;
  font-family: "Open Sans", Arial, sans-serif;
}

a {
  transition: .2s ease;
}

/* Header */
.help-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(6, 12, 34, 0.98);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.help-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.help-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.help-brand:hover {
  color: #fff;
}

.help-brand img {
  max-height: 58px;
  width: auto;
}

.help-brand-text {
  color: #fff;
  line-height: 1.05;
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.help-brand-text span {
  display: block;
  color: var(--zks-red);
  font-size: 13px;
  letter-spacing: .08em;
}

.help-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 12px 0;
}

.help-brand,
.help-header-actions {
  flex-shrink: 0;
}

.help-nav a {
  color: rgba(202, 206, 221, 0.95);
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.help-nav a:hover,
.help-nav a.active,
.help-nav a[aria-current="page"] {
  color: #fff;
}

.help-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-btn,
.help-header-btn {
  display: inline-block;
  color: #fff !important;
  background: var(--zks-red);
  border: 2px solid var(--zks-red);
  border-radius: 50px;
  padding: 9px 18px;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.help-btn:hover,
.help-header-btn:hover {
  background: var(--zks-red-dark);
  border-color: var(--zks-red-dark);
  color: #fff !important;
}

.help-btn.secondary,
.help-header-btn.secondary {
  background: transparent;
  border-color: #fff;
}

.help-btn.secondary:hover,
.help-header-btn.secondary:hover {
  background: #fff;
  color: var(--zks-navy) !important;
}

.help-mobile-toggle {
  display: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.help-mobile-panel {
  display: none;
  background: var(--zks-navy);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 0 18px;
}

.help-mobile-panel.open {
  display: block;
}

.help-mobile-panel a {
  display: block;
  color: #fff;
  padding: 10px 0;
  font-weight: 700;
  text-decoration: none;
}

/* Hero */
.help-hero,
.article-hero,
.category-hero,
.search-hero {
  width: 100%;
  background:
    linear-gradient(rgba(6, 12, 34, 0.86), rgba(6, 12, 34, 0.86)),
    url("/assets/img/hero-bg.jpg") center center;
  background-size: cover;
  color: #fff;
  padding: 88px 0 82px;
}

.help-hero {
  text-align: center;
}

.help-hero h1,
.article-hero h1,
.category-hero h1,
.search-hero h1 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.help-hero h1 span,
.article-hero h1 span,
.category-hero h1 span,
.search-hero h1 span {
  color: var(--zks-red);
}

.help-hero p,
.article-hero p,
.category-hero p,
.search-hero p {
  color: #fff;
  font-size: 20px;
  line-height: 1.55;
  max-width: 900px;
  margin: 0 auto 28px;
}

.help-breadcrumb {
  color: rgba(255,255,255,.82);
  margin-bottom: 18px;
  font-size: 14px;
}

.help-breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.help-breadcrumb a:hover {
  color: var(--zks-red);
}

/* Search */
.help-search,
.help-search-large {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.help-search input,
.help-search-large input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 13px 15px;
  font-size: 16px;
}

.help-search button,
.help-search-large button {
  background: var(--zks-red);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0 24px;
  font-weight: 800;
}

.help-search button:hover,
.help-search-large button:hover {
  background: var(--zks-red-dark);
}

/* Sections */
.help-section {
  padding: 62px 0;
}

.help-section.white {
  background: #fff;
}

.help-section-title {
  text-align: center;
  margin-bottom: 36px;
}

.help-section-title h2 {
  color: var(--zks-blue);
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.help-section-title p {
  color: var(--zks-muted);
  margin-bottom: 0;
}

/* Cards */
.help-card,
.help-category-card,
.article-card,
.search-result-card,
.help-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--zks-shadow);
}

.help-card,
.help-category-card {
  padding: 26px;
  height: 100%;
  transition: 0.3s;
}

.help-card:hover,
.help-category-card:hover {
  transform: translateY(-4px);
}

.help-card a {
  color: inherit;
  text-decoration: none;
}

.help-card i {
  display: block;
  color: var(--zks-red);
  font-size: 36px;
  margin-bottom: 14px;
}

.help-card h3,
.help-category-card h3,
.article-card h2,
.help-panel h2 {
  color: var(--zks-blue);
  font-weight: 900;
}

.help-card h3,
.help-category-card h3 {
  font-size: 20px;
}

.help-card p {
  color: var(--zks-muted);
  margin-bottom: 0;
}

.help-category-card {
  border-top: 4px solid var(--zks-red);
}

.help-category-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-category-card li {
  border-top: 1px solid #eee;
}

.help-category-card li:first-child {
  border-top: 0;
}

.help-category-card a {
  display: block;
  padding: 10px 0;
  color: var(--zks-navy);
  text-decoration: none;
  font-weight: 700;
}

.help-category-card a:hover {
  color: var(--zks-red);
}

/* Article */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.article-meta span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 7px 13px;
  font-size: 13px;
  color: #fff;
}

.article-card {
  padding: 30px;
  margin-bottom: 26px;
}

.article-card h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.article-card h3 {
  color: var(--zks-blue);
  font-size: 21px;
  font-weight: 800;
  margin-top: 24px;
}

.article-card p,
.article-card li {
  font-size: 16px;
  line-height: 1.7;
}

.quick-answer {
  border-left: 5px solid var(--zks-red);
}

.step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 58px;
  margin-bottom: 24px;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--zks-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.article-alert {
  background: #fff3f5;
  border-left: 5px solid var(--zks-red);
  padding: 18px 20px;
  border-radius: 6px;
  margin: 18px 0;
}

.rejoin-record-note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}

.rejoin-record-note i {
  flex: 0 0 auto;
  font-size: 1.5rem;
}

.rejoin-record-note strong,
.rejoin-record-note p {
  display: block;
}

.rejoin-record-note p {
  margin: .25rem 0 0;
}

.rejoin-guide-figure {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--zks-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(6, 12, 34, 0.08);
}

.rejoin-guide-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.rejoin-guide-figure figcaption {
  padding: .85rem 1rem;
  color: #4b5563;
  font-size: .95rem;
}

.article-side-card {
  background: var(--zks-navy);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 26px;
}

.article-side-card h3 {
  color: #fff;
  font-weight: 900;
  font-size: 21px;
}

.article-side-card p {
  color: rgba(255,255,255,.85);
}

.article-side-card .btn,
.article-side-card .help-btn {
  width: 100%;
  margin-top: 8px;
}

.related-links a {
  display: block;
  color: var(--zks-navy);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.related-links a:first-child {
  border-top: 0;
}

.related-links a:hover {
  color: var(--zks-red);
}

.article-side-card .related-links a {
  color: #fff;
  border-top-color: rgba(255,255,255,.25);
}

.article-side-card .related-links a:hover,
.article-side-card .related-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-item {
  border-top: 1px solid #eee;
  padding: 18px 0;
}

.faq-item:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Search results */
.search-result-card {
  padding: 24px;
  margin-bottom: 18px;
  border-left: 4px solid var(--zks-red);
}

.search-result-card h3 {
  margin: 0 0 8px;
  color: var(--zks-blue);
  font-size: 22px;
  font-weight: 800;
}

.search-result-card p {
  color: var(--zks-muted);
  margin-bottom: 12px;
}

.search-result-card a {
  color: var(--zks-red);
  font-weight: 800;
  text-decoration: none;
}

.search-empty {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--zks-shadow);
}

.search-tag {
  display: inline-block;
  background: #f4f4f4;
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
}

.help-note {
  background: var(--zks-navy);
  color: #fff;
  border-radius: 8px;
  padding: 30px;
}

.help-note h3 {
  color: #fff;
  font-weight: 900;
}

/* Footer */
.help-footer {
  background: var(--zks-navy);
  color: rgba(255,255,255,.78);
  padding: 46px 0 24px;
}

.help-footer h4 {
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.help-footer img {
  max-height: 58px;
  margin-bottom: 14px;
}

.help-footer a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.help-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.help-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-footer li {
  margin-bottom: 8px;
}

.help-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 1100px) {
  .help-nav {
    display: none;
  }

  .help-mobile-toggle {
    display: block;
  }

  .help-header-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .help-brand-text {
    display: none;
  }

  .help-header-inner {
    min-height: 76px;
  }

  .help-hero,
  .article-hero,
  .category-hero,
  .search-hero {
    padding: 64px 0 52px;
  }

  .help-hero p,
  .article-hero p,
  .category-hero p,
  .search-hero p {
    font-size: 17px;
  }

  .help-search,
  .help-search-large {
    flex-direction: column;
  }

  .help-search button,
  .help-search-large button {
    padding: 12px;
  }

  .article-card {
    padding: 22px;
  }

  .article-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(32px, 10vw, 44px);
  }

  .rejoin-record-note {
    gap: .65rem;
  }

  .rejoin-guide-figure figcaption {
    padding: .75rem .9rem;
    font-size: .9rem;
  }
}

.help-search-chips { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.help-btn.secondary { background:#ffffff; color:#111827; border:1px solid #e5e7eb; }
.help-btn.secondary:hover { color:#111827; }

/* Explicit screenshot slots for step-by-step member guides. */
.help-screenshot-placeholder{min-height:220px;padding:36px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f4f6fa;border:2px dashed #929bad;color:#303b52;gap:12px}.help-screenshot-placeholder i{font-size:32px}.help-screenshot-placeholder p{max-width:560px;margin:0;line-height:1.6}

/* Search topic links sit on a pale background, outside the dark hero. */
.help-search-chips .help-btn.secondary { color: var(--zks-blue) !important; border-color: var(--zks-border); }

/* Compact article introductions: keep the answer close on small screens. */
.article-hero,
.review-help-page .article-hero {
  background: #fff;
  color: var(--zks-navy);
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--zks-border);
}
.article-hero h1,
.review-help-page .article-hero h1 {
  color: var(--zks-navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  text-transform: none;
  margin: 0 0 12px;
  max-width: 900px;
}
.article-hero p,
.review-help-page .article-hero > .container > p {
  color: #475569;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 760px;
}
.article-hero .help-breadcrumb,
.review-help-page .article-hero .help-breadcrumb {
  display: block;
  color: #526075;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.article-hero .help-breadcrumb a { color: var(--zks-navy); text-decoration: underline; text-underline-offset: 3px; }
.article-hero .review-hero-now { background: #f4f6fa; color: var(--zks-navy); border-color: var(--zks-border); margin: 16px 0 0; }
.article-hero .review-hero-now a { color: var(--zks-navy); white-space: normal; }
.article-hero .article-meta { margin-top: 12px; }
.article-hero .article-meta span { color: #526075; background: none; border: 0; padding: 0; }
.article-hero + main .help-section { padding-top: 24px; }
.article-updated { color: #64748b; font-size: 13px; margin: 16px 0 24px; padding-top: 16px; border-top: 1px solid var(--zks-border); }
@media (max-width: 767.98px) {
  .article-hero, .review-help-page .article-hero { padding: 20px 0; }
  .article-hero h1, .review-help-page .article-hero h1 { font-size: 28px; }
  .article-hero p, .review-help-page .article-hero > .container > p { font-size: 16px; margin-bottom: 0; }
  .article-hero + main .help-section, .review-help-page .help-section { padding-top: 18px; }
  .article-card h2 { font-size: 23px; }
}

/* Simple Help Centre navigation, matching the main site's dark header. */
.help-header-inner { gap: 24px; min-height: 80px; }
.help-brand img { max-height: 54px; }
.help-brand-label { color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.help-nav { margin-left: auto; flex-wrap: nowrap; gap: 28px; }
.help-topics { position: relative; }
.help-topics summary { color: #cacedb; font-size: 14px; font-weight: 700; cursor: pointer; padding: 12px 0; }
.help-topics summary:hover, .help-topics[open] summary { color: #fff; }
.help-topics-menu { position: absolute; top: 100%; right: 0; width: 255px; padding: 10px 18px; background: var(--zks-navy); border: 1px solid #384055; border-radius: 8px; box-shadow: 0 12px 28px #0003; }
.help-topics-menu a { display: block; padding: 10px 0; }
.help-mobile-toggle { background: none; border: 0; padding: 6px; line-height: 1; }
.help-header a:focus-visible, .help-header summary:focus-visible, .help-mobile-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 1100px) {
  .help-header-actions { display: flex; margin-left: auto; }
  .help-header-inner { gap: 12px; }
}
@media (max-width: 600px) {
  .help-brand-label { display: none; }
  .help-brand img { max-height: 40px; max-width: 140px; }
  .help-header-inner { min-height: 68px; gap: 8px; }
  .help-header-btn { font-size: 12px; padding: 8px 12px; }
}
