/*
 * UAE section type `help-search` (S9, 2026-11-08): live /ae/help-centre, drawn by
 * RegionHelpHub (lib/shared/site/ae-help-hub.ts) for UAE slot sections only, linked on UAE
 * pages only (JURISDICTION_SETTINGS.ae.stylesheets).
 *
 *   :help-hero    live `.section_deposits_hero.is-dark` holding `.helpcentre-hero_component`
 *                 (title + live's search box). Same dark grid band as S2's deposits-hero and
 *                 S8's newsroom-hero (520px, 128px top, 112px bottom, 64px on phones); the
 *                 DS Header those style has no search box, so the band is live markup here.
 *   :help-search  live `.section_help-search`: search results (5 per page, excerpts,
 *                 highlights, "No results", pager) and the category cards.
 *
 * Values: live's own CSS (deriv-uae.webflow.*.css and the page's inline style for
 * [data-fuse-highlight], :root variables resolved, read 2026-11-08), checked against
 * computed styles and used fonts at 1440, 1024, 768 and 390, EN and AR
 * (tmp/uae-batches/s9/measure/). Live's Arabic: title in Noto Sans Arabic (the frame's
 * RTL stack); the box and the category names are "Inter, Arial", so their Arabic draws
 * in Arial, as live. The grid picture is live's own SVG, inlined (as newsroom-hero.css).
 */

/* Base elements inside the bands (live's Webflow defaults) */
[data-raven-slot] .raven-ae-help {
  color: #181c25;
  font-size: 16px;
  line-height: 24px;
}
[data-raven-slot] .raven-ae-help h1 {
  margin: 0;
  color: #181c25;
  font-size: 5rem;
  line-height: 5.5rem;
  letter-spacing: -0.035rem;
  font-weight: 800;
}
[data-raven-slot] .raven-ae-help p {
  margin: 0;
}
[data-raven-slot] .raven-ae-help .text-color-white {
  color: #fff;
}
[data-raven-slot] .raven-ae-help .w-inline-block {
  max-width: 100%;
  display: inline-block;
}
[data-raven-slot] .raven-ae-help .section-container {
  width: 100%;
  max-width: 83rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
[data-raven-slot] .raven-ae-help .section-container.is-small {
  max-width: 69.5rem;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
[data-raven-slot$=":help-hero"] .raven-ae-help {
  background-color: #181c25;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .tertiary_hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
  padding-top: 8rem;
  padding-bottom: 7rem;
  background-image: linear-gradient(180deg, #181c2514, #181c25cc 20%, #181c25cc 70%, #181c2514), url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI1NDAiIHZpZXdCb3g9IjAgMCAxNDQwIDU0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gPGcgb3BhY2l0eT0iMC41IiBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzMyNF8zMTMxNykiPiA8ZyBvcGFjaXR5PSIwLjQiIGNsaXAtcGF0aD0idXJsKCNjbGlwMV8zMzI0XzMxMzE3KSI+IDxwYXRoIGQ9Ik02NzEuNjk5IDAuMDAwNDg4MjgxVjk4NS41MzEiIHN0cm9rZT0iI0ZGN0U4OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+IDxwYXRoIGQ9Ik03NjcuNjMzIDAuMDAwNDg4MjgxVjk4NS41MzEiIHN0cm9rZT0iI0ZGN0U4OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+IDxwYXRoIGQ9Ik04NjMuNTM1IDAuMDAwNDg4MjgxVjk4NS41MzEiIHN0cm9rZT0iI0ZGN0U4OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+IDxwYXRoIGQ9Ik05NTkuNDczIDAuMDAwNDg4MjgxVjk4NS41MzEiIHN0cm9rZT0iI0ZGN0U4OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+IDxwYXRoIGQ9Ik0xMDU1LjM4IDAuMDAwNDg4MjgxVjk4NS41MzEiIHN0cm9rZT0iI0ZGN0U4OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+IDxwYXRoIGQ9Ik0xMTUxLjMxIDAuMDAwNDg4MjgxVjk4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Ij4gPHJlY3Qgd2lkdGg9IjE0NDAiIGhlaWdodD0iNjI4IiBmaWxsPSJ3aGl0ZSIvPiA8L2NsaXBQYXRoPiA8L2RlZnM+IDwvc3ZnPg==");
  background-position: 0 0, 50%;
  background-size: auto, cover;
  background-repeat: repeat, no-repeat;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .secondary-hero-text-container {
  z-index: 30;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .secondary-hero-trigger {
  z-index: -1;
  position: absolute;
  inset: 0%;
  margin-top: 100vh;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .helpcentre-hero_component {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  text-align: center;
}
[data-raven-slot$=":help-hero"] .raven-ae-help h1 {
  color: #fff;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_form-block {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 50rem;
  margin-bottom: 0;
}
[data-raven-slot$=":help-hero"] .raven-ae-help:lang(ar-ae) .help-search_form-block {
  width: 39.5rem;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_form {
  position: relative;
  display: flex;
  flex-flow: column;
  gap: 1rem;
  width: 100%;
  margin: 0;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_search-wrapper {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin-bottom: 0;
  padding: 0.5rem 1rem;
  border: 1px solid #ffffff29;
  border-radius: 0.5rem;
  background-color: #ffffff14;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  vertical-align: middle;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_input::placeholder {
  color: #999;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_input:focus {
  border: 1px solid #000;
  outline: 0;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_clear-search {
  position: absolute;
  right: 16px;
  display: flex;
}
[data-raven-slot$=":help-hero"] .raven-ae-help:lang(ar) .help-search_clear-search {
  left: 16px;
  right: auto;
}
[data-raven-slot$=":help-hero"] .raven-ae-help .help-search_clear-search_icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Results ──────────────────────────────────────────────────────────── */
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_component {
  width: 100%;
  height: auto;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-list {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 7rem;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-item {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
  height: 100%;
  box-sizing: border-box;
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #f6f7f8;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-link {
  color: #181c25;
  text-decoration: none;
  transition: opacity 0.15s cubic-bezier(0.65, 0, 0.35, 1);
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-link:hover {
  opacity: 0.75;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-link.text-size-large {
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75rem;
}
/* Live Arabic draws the result titles in Noto Sans Arabic (used-font report), not Arial. */
[data-raven-slot$=":help-search"] .raven-ae-help:lang(ar) .help-search_result-link.text-size-large {
  font-family: inherit;
}
[data-raven-slot$=":help-search"] .raven-ae-help [data-fuse-highlight] {
  background: #ffe6e6;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-empty {
  width: 100%;
  box-sizing: border-box;
  padding: 4rem 2rem 2rem;
  text-align: center;
  justify-content: center;
  align-items: center;
}
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_component {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
  /* Live's page digits and dots draw in Inter on Arabic pages too (used-font report). */
  font-family: Inter, Arial, sans-serif;
}
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_prev-button,
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_next-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border-style: none;
  border-radius: 0.25rem;
  background-color: #0000;
  color: #000;
  text-decoration: none;
}
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_prev-button {
  order: -1;
}
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_next-button {
  order: 1;
}
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 2rem;
  height: 2rem;
  padding: 0.375rem;
  color: #181c25;
  transform-style: preserve-3d;
  transition: color 0.16s;
}
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_arrow:hover {
  color: #000000b8;
}
[data-raven-slot$=":help-search"] .raven-ae-help:lang(ar-ae) .pagination_arrow {
  transform: rotateY(180deg);
}
[data-raven-slot$=":help-search"] .raven-ae-help .pagination_buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
/* Live's script makes plain <button>s: the browser's own button look plus these. */
[data-raven-slot$=":help-search"] .raven-ae-help .fuse-page-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  /* The browser's own button padding, as live (its buttons have no padding rule). */
  padding: 1px 6px;
  border-radius: 1rem;
  text-decoration: none;
}
[data-raven-slot$=":help-search"] .raven-ae-help .fuse-page-button.is-fuse-current {
  background-color: #181c25;
  color: #fff;
}

/* ── Category cards ───────────────────────────────────────────────────── */
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_categories-wrapper {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_categories-grid {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  gap: 1.25rem;
  box-sizing: border-box;
  width: 100%;
  margin-top: 4rem;
  padding-bottom: 7rem;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_category-link {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  box-sizing: border-box;
  height: 100%;
  margin-bottom: 0;
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #f6f7f8;
  color: #181c25;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_category-link:hover {
  transform: scale(0.98);
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.75rem;
  height: 2.5rem;
  border-radius: 0.75rem;
}
[data-raven-slot$=":help-search"] .raven-ae-help .help-search_category-icon {
  display: inline-block;
  max-width: 100%;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
}
[data-raven-slot$=":help-search"] .raven-ae-help .heading-style-h6 {
  margin: 0;
  color: #181c25;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 2.25rem;
  letter-spacing: -0.01rem;
  font-weight: 800;
}

@media screen and (max-width: 991px) {
  [data-raven-slot] .raven-ae-help h1 {
    font-size: 4rem;
    line-height: 4.5rem;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help .tertiary_hero-container {
    justify-content: flex-start;
    overflow: hidden;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .heading-style-h6 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_categories-grid {
    grid-template-columns: 1fr 1fr 1fr;
    padding-bottom: 4rem;
  }
}

@media screen and (max-width: 767px) {
  [data-raven-slot] .raven-ae-help h1 {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  [data-raven-slot] .raven-ae-help .section-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help .tertiary_hero-container {
    justify-content: center;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help .secondary-hero-trigger {
    margin-top: 35rem;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help .helpcentre-hero_component {
    justify-content: flex-start;
    gap: 1.5rem;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help:lang(ar-ae) .help-search_form-block {
    width: 100%;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .heading-style-h6 {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_categories-grid {
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding-bottom: 0;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_category-link {
    padding: 1.5rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-list {
    padding-top: 1.5rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .pagination_component {
    margin-top: 0;
  }
}

@media screen and (max-width: 479px) {
  [data-raven-slot$=":help-hero"] .raven-ae-help .tertiary_hero-container {
    justify-content: flex-start;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help .helpcentre-hero_component {
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help:lang(ar) .helpcentre-hero_component {
    text-align: right;
    width: 100%;
  }
  [data-raven-slot$=":help-hero"] .raven-ae-help .help-search_form-block {
    gap: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help {
    padding-bottom: 4rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .heading-style-h6 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_categories-grid {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_category-link {
    min-height: 10rem;
    padding: 1rem;
    gap: 3rem;
    justify-content: flex-start;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-list {
    grid-template-columns: 1fr;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .help-search_result-item {
    justify-content: center;
    padding: 1rem;
    border-radius: 1rem;
  }
  [data-raven-slot$=":help-search"] .raven-ae-help .pagination_component {
    justify-content: flex-start;
    gap: 0.25rem;
    margin-top: 2rem;
  }
}
