/* Decorative marks shared by the FAQ and Contact pages. */
body #MainContent {
  --polaris-mark-color: #ac845b;
  --polaris-mark-crystal: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2254%22%20height%3D%2254%22%20viewBox%3D%220%200%2054%2054%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Ccircle%20cx%3D%2227%22%20cy%3D%2227%22%20r%3D%2225.5%22%2F%3E%3Cpath%20d%3D%22M27%2012l10%207v16l-10%207-10-7V19Z%22%2F%3E%3Cpath%20d%3D%22M27%2012v30M17%2019l10%206%2010-6M17%2035l10-6%2010%206%22%20stroke-width%3D%22.8%22%2F%3E%3C%2Fsvg%3E");
  --polaris-mark-moon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2254%22%20height%3D%2254%22%20viewBox%3D%220%200%2054%2054%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Ccircle%20cx%3D%2227%22%20cy%3D%2227%22%20r%3D%2225.5%22%2F%3E%3Cpath%20d%3D%22M33.5%2015a13%2013%200%201%200%205%2019.8A12%2012%200%200%201%2033.5%2015Z%22%2F%3E%3Cpath%20d%3D%22m37%2013%201.2%204.8L43%2019l-4.8%201.2L37%2025l-1.2-4.8L31%2019l4.8-1.2Z%22%20fill%3D%22white%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E");
  --polaris-mark-star: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2254%22%20height%3D%2254%22%20viewBox%3D%220%200%2054%2054%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Ccircle%20cx%3D%2227%22%20cy%3D%2227%22%20r%3D%2225.5%22%2F%3E%3Cpath%20d%3D%22M27%2011l3.5%2012.5L43%2027l-12.5%203.5L27%2043l-3.5-12.5L11%2027l12.5-3.5Z%22%20fill%3D%22white%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E");
  --polaris-mark-divider: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%2016%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%208h40m20%200h40M50%201l7%207-7%207-7-7Z%22%2F%3E%3C%2Fsvg%3E");
}

body #MainContent .polaris-faq-cover__star,
body #MainContent:has(.hdt-contact-form) .hdt-main-heading .hdt-row-grid::before,
body #MainContent:has(.polaris-faq-cover) .hdt-accordion .hdt-heading-block::before,
.hdt-contact-form h3::before {
  content: '';
  display: block;
  width: 52px;
  height: 52px;
  flex: none;
  border: 0;
  border-radius: 0;
  background: var(--polaris-mark-color);
  mask: var(--polaris-mark-star) center / contain no-repeat;
  clip-path: none;
  pointer-events: none;
}

body #MainContent .polaris-faq-cover__star { margin: 0 auto 24px; }
body #MainContent:has(.polaris-faq-cover) .hdt-accordion .hdt-heading-block::before {
  margin: 0 0 18px;
  width: 44px;
  height: 44px;
}
body #MainContent:has(.polaris-faq-cover) [id$="__polarisShoppingFaq"] .hdt-heading-block::before {
  mask-image: var(--polaris-mark-crystal);
}
body #MainContent:has(.polaris-faq-cover) [id$="__polarisPaymentFaq"] .hdt-heading-block::before {
  mask-image: var(--polaris-mark-moon);
}
.polaris-faq-cover__topics a { gap: 11px; }
.polaris-faq-cover__topics a::before {
  content: '';
  width: 26px;
  height: 26px;
  flex: none;
  background: var(--polaris-mark-color);
  mask: var(--polaris-mark-star) center / contain no-repeat;
}
.polaris-faq-cover__topics a:first-child::before { mask-image: var(--polaris-mark-crystal); }
.polaris-faq-cover__topics a:nth-child(2)::before { mask-image: var(--polaris-mark-moon); }

.polaris-faq-support h2::before,
body #MainContent:has(.hdt-contact-form) .hdt-main-heading .hdt-row-grid::after {
  content: '';
  display: block;
  width: 90px;
  height: 15px;
  margin: 0 0 20px;
  background: var(--polaris-mark-color);
  mask: var(--polaris-mark-divider) center / contain no-repeat;
  pointer-events: none;
}

body #MainContent:has(.hdt-contact-form) .hdt-main-heading .hdt-row-grid::before {
  margin: 0 auto 13px;
}
body #MainContent:has(.hdt-contact-form) .hdt-main-heading .hdt-row-grid::after {
  margin: 13px auto 0;
}

.hdt-contact-form h3::before { margin: 0 0 22px; }
.hdt-contact-form .hdt-row-grid > :first-child h3::before {
  mask-image: var(--polaris-mark-crystal);
}
.hdt-contact-form .hdt-row-grid > :last-child h3::before {
  mask-image: var(--polaris-mark-moon);
}
@media (max-width: 767px) {
  body #MainContent .polaris-faq-cover__star,
  body #MainContent:has(.hdt-contact-form) .hdt-main-heading .hdt-row-grid::before,
  .hdt-contact-form h3::before {
    width: 44px;
    height: 44px;
  }
  body #MainContent:has(.polaris-faq-cover) .hdt-accordion .hdt-heading-block::before {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
  }
  .hdt-contact-form h3::before { margin-bottom: 18px; }
}

