/* Help Centre (/help): search, guide lists and guide pages. Builds on content.css. */

.h-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h-hero { position: relative; overflow: hidden; padding: 70px 24px 100px; background: radial-gradient(60% 70% at 85% 0%, rgba(255, 201, 60, 0.22), transparent 60%), linear-gradient(180deg, var(--c-indigo) 0%, #2c3290 55%, #3a3fa3 100%); color: #fff; text-align: center; }
.h-hero h1 { max-width: 860px; margin: 0 auto; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.08; }

/* search */
.h-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 680px; margin: 26px auto 0; padding: 8px 8px 8px 18px; border-radius: 999px; background: #fff; box-shadow: 0 16px 36px rgba(10, 12, 50, 0.25); }
.h-search svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #6b7178; stroke-width: 2; stroke-linecap: round; }
.h-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--c-ink); font: inherit; font-size: 1.05rem; outline: none; }
.h-search .c-btn { flex: none; }
.h-search:focus-within { box-shadow: 0 0 0 4px var(--c-sun), 0 16px 36px rgba(10, 12, 50, 0.25); }

/* audience tabs, lists and cards */
.h-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 30px; }
.h-tabs a { padding: 9px 18px; border-radius: 999px; background: #fff; color: var(--c-ink); font-weight: 700; text-decoration: none; box-shadow: var(--c-shadow); }
.h-tabs a[aria-current="page"] { background: var(--c-indigo); color: #fff; }
.h-prodh span { color: var(--c-muted); font-size: 0.9rem; font-weight: 600; }
.h-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.h-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 22px; border-radius: 20px; background: #fff; color: var(--c-text); text-decoration: none; box-shadow: var(--c-shadow); transition: transform 150ms ease; }
.h-card:hover { transform: translateY(-3px); }
.h-card strong { color: var(--c-ink); font-size: 1.1rem; line-height: 1.3; }
.h-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--c-muted); font-size: 0.85rem; font-weight: 600; }
.h-card__sum { font-size: 0.95rem; line-height: 1.5; }
.h-card__foot { margin-top: auto; color: var(--c-raspberry-dark); font-size: 0.85rem; font-weight: 700; }
.h-list { display: grid; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.h-list a { color: var(--c-indigo); font-weight: 700; }
.h-list span { color: var(--c-muted); font-size: 0.88rem; }
.h-count { margin: 0 0 16px; color: var(--c-muted); font-weight: 700; }
.h-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #eef0f8; color: var(--c-indigo); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; }
.h-tag--staff { background: #e8e9fb; color: #212771; }
.h-tag--parents { background: #fbe9ef; color: #9c2a50; }
.h-tag--students { background: #eef6e4; color: #4c6112; }
.h-tag--plain { background: #fff; }
.h-contact { padding: 28px 30px; border-radius: 22px; background: #fff; box-shadow: var(--c-shadow); }
.h-contact h2 { margin: 0 0 8px; color: var(--c-ink); }

/* one guide */
.h-ghero { position: relative; padding: 48px 24px 40px; background: linear-gradient(180deg, #f3f4fb 0%, #fff 100%); border-bottom: 1px solid #eceef4; }
.h-guide--parents .h-ghero { background: linear-gradient(180deg, #fdf1f5 0%, #fff 100%); }
.h-guide--students .h-ghero { background: linear-gradient(180deg, #f3f8ea 0%, #fff 100%); }
.h-ghero .c-wrap { max-width: 860px; }
.h-crumb { margin: 0 0 14px; color: var(--c-muted); font-size: 0.9rem; }
.h-crumb a { color: var(--c-indigo); font-weight: 700; }
.h-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.h-ghero h1 { margin: 0; color: var(--c-ink); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.12; }
.h-summary { margin: 12px 0 0; color: var(--c-text); font-size: 1.12rem; line-height: 1.6; }
.h-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--c-muted); font-size: 0.95rem; }
.h-facts b { color: var(--c-ink); }
.h-print { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--c-ink); font: inherit; font-weight: 700; cursor: pointer; }
.h-print svg, .h-callout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h-body { max-width: 860px; padding: 30px 24px 60px; }
.h-steps-h { margin: 22px 0 14px; color: var(--c-ink); font-size: 1.35rem; }
.h-blocks { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.h-step { padding: 20px 22px; border: 1px solid #e6e8ee; border-radius: 20px; background: #fff; box-shadow: 0 8px 22px rgba(33, 39, 113, 0.05); }
.h-step__head { display: flex; align-items: center; gap: 14px; }
.h-step__head h3 { margin: 0; color: var(--c-ink); font-size: 1.15rem; line-height: 1.3; }
.h-step__n { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--c-indigo); color: #fff; font-weight: 800; }
.h-guide--parents .h-step__n { background: var(--c-raspberry-btn); }
.h-guide--students .h-step__n { background: var(--c-green); }
.h-step__text { margin: 10px 0 0 52px; line-height: 1.65; }
.h-step__text p, .h-para p { margin: 0 0 10px; }
.h-step__text ul, .h-step__text ol, .h-para ul, .h-para ol { margin: 0 0 10px; padding-left: 22px; }
.h-step__img { margin: 14px 0 0 52px; }
.h-step__img img { display: block; max-width: 100%; height: auto; border: 1px solid #e6e8ee; border-radius: 14px; }
.h-sub { margin: 26px 0 10px; color: var(--c-ink); font-size: 1.3rem; }
.h-para { line-height: 1.7; }
.h-callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; line-height: 1.6; }
.h-callout > svg { flex: none; margin-top: 3px; }
.h-callout strong { display: block; margin-bottom: 2px; }
.h-callout p { margin: 0; }
.h-callout--tip { background: #eef6e4; color: #3f5210; }
.h-callout--warn { background: #fdf0e1; color: #7a3f06; }
.h-callout--info { margin-bottom: 18px; background: #eef1fc; color: #262c6e; }
.h-trouble details { margin: 0 0 10px; border: 1px solid #e6e8ee; border-radius: 14px; background: #fff; }
.h-trouble summary { padding: 14px 18px; color: var(--c-ink); font-weight: 700; cursor: pointer; }
.h-trouble details > div { padding: 0 18px 12px; line-height: 1.6; }
.h-video { margin-top: 10px; }
.h-helpful { margin: 34px 0 0; padding: 22px 24px; border-radius: 20px; background: #f6f7fb; text-align: center; }
.h-helpful h2 { margin: 0 0 12px; color: var(--c-ink); font-size: 1.15rem; }
.h-helpful__btns { display: flex; justify-content: center; gap: 10px; }
.h-helpful__more { display: grid; gap: 8px; max-width: 520px; margin: 14px auto 0; text-align: left; }
.h-helpful__more label span { color: var(--c-muted); font-weight: 400; }
.h-helpful__more textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--c-line); border-radius: 12px; font: inherit; }
.h-helpful__more .c-btn { justify-self: start; }
.h-hp { position: absolute; left: -9999px; }
.h-helpful__done { margin: 10px 0 0; font-weight: 700; }
.h-related { margin-top: 20px; }
.h-footer-note { margin: 30px 0 0; padding: 14px 18px; border-left: 5px solid var(--c-sun); border-radius: 12px; background: #fffbea; font-weight: 600; }

@media (max-width: 600px) {
  .h-hero { padding: 48px 18px 80px; }
  .h-search { padding-left: 14px; }
  .h-search .c-btn { padding: 10px 14px; }
  .h-step__text, .h-step__img { margin-left: 0; }
  .h-body { padding: 22px 18px 40px; }
}
@media (prefers-reduced-motion: reduce) { .h-card { transition: none; } .h-card:hover { transform: none; } }

/* print or save as PDF: just the guide */
@media print {
  .site-header, .site-footer, .h-noprint, .h-helpful, .c-video button, .site-help, #br-consent, .c-preview { display: none !important; }
  body { background: #fff; }
  .h-ghero { padding: 0 0 12px; background: none !important; border: 0; }
  .h-body { padding: 0; }
  .h-step { break-inside: avoid; box-shadow: none; }
  .h-step__img img { max-height: 420px; width: auto; }
  a { color: inherit; text-decoration: none; }
}
