/* The shared page intro provides the hero shell, type, marble and breadcrumbs.
   The help section supplies its own editorial media and content layouts. */
.f4u-help-context { background: var(--f4u-white); }
.f4u-help-context main .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.f4u-help-context main .f4u-managed-icon {
  display: inline-grid;
  width: var(--f4u-managed-icon-size);
  height: var(--f4u-managed-icon-size);
  place-items: center;
  flex: 0 0 auto;
  color: var(--f4u-managed-icon-color);
  line-height: 0;
}
.f4u-help-context main .f4u-managed-icon > :is(svg, img, .f4u-managed-icon__mask) { width: 100%; height: 100%; }
.f4u-help-context main .f4u-managed-icon__mask {
  background: currentColor;
  mask: var(--f4u-managed-icon-mask) center / contain no-repeat;
}

.f4u-help-hero .f4u-help-hero__media-slot { display: block; }
.f4u-help-hero__media {
  display: flex;
  width: min(100%, 38rem);
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  gap: clamp(.45rem, 1vw, .9rem);
  padding: .5rem;
}
.f4u-help-cover {
  flex: 0 1 13rem;
  min-width: 0;
  max-width: 44%;
  margin: 0;
  border: clamp(.19rem, .55vw, .5rem) solid var(--f4u-white);
  border-radius: .2rem;
  background: var(--f4u-white);
  box-shadow: var(--f4u-shadow-card);
  transform: rotate(-3deg);
}
.f4u-help-cover:nth-child(2) { transform: rotate(3deg); }
.f4u-help-cover:nth-child(3) { transform: rotate(-2deg); }
.f4u-help-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: var(--f4u-cover-desktop, 50% 50%);
}

.f4u-help-search,
.f4u-faq-search {
  display: flex;
  min-width: 0;
  min-height: 3rem;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--f4u-line);
  border-radius: .45rem;
  background: var(--f4u-white);
}
.f4u-help-search { max-width: 34rem; }
.f4u-help-search input[type="search"],
.f4u-faq-search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .65rem .8rem;
  border: 0;
  border-radius: .45rem 0 0 .45rem;
  background: transparent;
  color: var(--f4u-ink);
}
.f4u-help-search input[type="submit"],
.f4u-faq-search button {
  flex: 0 0 auto;
  padding-inline: clamp(.65rem, 2vw, 1.65rem);
  border: 0;
  border-radius: 0 .4rem .4rem 0;
  background: var(--f4u-brand-pink);
  color: var(--f4u-ink);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}

.f4u-help-topics,
.f4u-help-community,
.f4u-help-resource-section,
.f4u-help-faq-preview,
.f4u-faq-browser,
.f4u-contact-routes,
.f4u-contact-starting { padding-block: clamp(1.1rem, 2.3vw, 2.2rem); }
.f4u-help-context main h2 {
  margin: 0;
  color: var(--f4u-ink);
  font: 400 var(--f4u-design-title-section) / 1.06 var(--f4u-font-heading);
  letter-spacing: -.032em;
}
.f4u-help-topics { background: linear-gradient(var(--f4u-white), var(--f4u-blush-soft)); }
.f4u-help-topic-grid,
.f4u-help-resources,
.f4u-contact-starting > div {
  display: grid;
  gap: clamp(.65rem, 1.35vw, 1.15rem);
}
.f4u-help-topic-grid,
.f4u-contact-starting > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f4u-help-topic-grid { margin-top: 1rem; grid-auto-rows: 1fr; }

.f4u-help-topic,
.f4u-help-resource,
.f4u-faq-item,
.f4u-contact-starting > div > a {
  border: 1px solid var(--f4u-line);
  border-radius: var(--f4u-radius-sm);
  background: var(--f4u-white);
  box-shadow: var(--f4u-shadow-card);
}
.f4u-help-topic__body {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  gap: .45rem;
  padding: clamp(.85rem, 1.7vw, 1.55rem);
  border-radius: inherit;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.f4u-help-topic__body:is(:hover, :focus-visible) { background: var(--f4u-blush-soft); }
.f4u-help-topic__icon,
.f4u-contact-community__icon {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--f4u-blush-soft);
}
.f4u-help-topic__icon:empty { visibility: hidden; }
.f4u-help-context main :is(.f4u-help-topic, .f4u-help-resource, .f4u-contact-community) h3 {
  margin: 0;
  color: var(--f4u-ink);
  font: 400 clamp(1.15rem, 1.8vw, 1.8rem) / 1.12 var(--f4u-font-heading);
}
.f4u-help-topic p,
.f4u-help-resource p,
.f4u-contact-community__copy p:not(.f4u-help-eyebrow) {
  margin: 0;
  color: var(--f4u-ink);
  line-height: 1.45;
}
.f4u-help-topic .f4u-help-text-link,
.f4u-help-text-link {
  color: var(--f4u-brand-brown);
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
}
.f4u-help-text-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.f4u-help-community,
.f4u-contact-community {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, var(--f4u-white), var(--f4u-blush-soft));
}
.f4u-help-community::before,
.f4u-contact-community::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(35%, 35rem);
  background: image-set(url("../images/f4u-gold-brush-native-v1.webp") type("image/webp"), url("../images/f4u-gold-brush-native-v1.png") type("image/png")) right center / contain no-repeat;
  opacity: .45;
  pointer-events: none;
}
.f4u-help-community p { max-width: 42rem; margin: .55rem 0 1rem; }
.f4u-help-community .f4u-button { display: inline-flex; align-items: center; gap: .55rem; }
.f4u-help-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f4u-help-resource { display: flex; align-items: center; gap: .9rem; padding: clamp(.8rem, 1.65vw, 1.4rem); }
.f4u-help-resource__icon:empty { display: none; }
.f4u-help-resource p { margin-block: .3rem; }

.f4u-help-faq-preview > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: 1rem;
}
.f4u-help-faq-preview header p { margin: .35rem 0 0; color: var(--f4u-muted); }
.f4u-faq-list { display: grid; gap: .55rem; }
.f4u-faq-item[hidden] { display: none; }
.f4u-faq-item h3 { margin: 0; font: 400 clamp(1.05rem, 1.45vw, 1.4rem) / 1.2 var(--f4u-font-heading); }
.f4u-faq-item button {
  display: flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .65rem .95rem;
  border: 0;
  border-radius: var(--f4u-radius-sm);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.f4u-faq-item__mark { color: var(--f4u-brand-brown); font: 400 1.4rem / 1 var(--f4u-font-body); }
.f4u-faq-item__panel {
  margin: 0 .75rem .75rem;
  padding: clamp(.75rem, 1.4vw, 1.1rem);
  background: var(--f4u-blush-soft);
  overflow-wrap: anywhere;
}
.f4u-faq-item__panel p { margin: 0 0 .55rem; }
.f4u-faq-categories { display: flex; flex-wrap: wrap; gap: .45rem; margin: .85rem 0 1.35rem; }
.f4u-faq-categories button {
  min-height: 44px;
  padding: .35rem .75rem;
  border: 1px solid var(--f4u-line);
  border-radius: var(--f4u-radius-sm);
  background: var(--f4u-white);
  color: var(--f4u-ink);
  cursor: pointer;
}
.f4u-faq-categories button.is-active { border-color: var(--f4u-brand-pink); background: var(--f4u-blush-soft); color: var(--f4u-brand-brown); }
.f4u-faq-results { margin: .3rem 0 .8rem; color: var(--f4u-muted); }
.f4u-faq-empty { margin: 0; padding: .85rem; background: var(--f4u-blush-soft); }

.f4u-contact-page :is(.f4u-contact-routes, .f4u-contact-starting) > h2 { margin-bottom: 1rem; }
.f4u-contact-community {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.6rem);
  padding: clamp(1rem, 2.8vw, 2.2rem);
  border: 1px solid var(--f4u-line);
  border-radius: var(--f4u-radius-sm);
}
.f4u-contact-community__icon { width: 3.65rem; height: 3.65rem; background: var(--f4u-white); }
.f4u-help-eyebrow { margin: 0 0 .3rem; color: var(--f4u-brand-brown); font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.f4u-contact-community__copy p:not(.f4u-help-eyebrow) { margin-top: .35rem; }
.f4u-contact-routes .f4u-help-resources { margin-top: .9rem; }
.f4u-contact-starting { padding-top: 0; }
.f4u-contact-starting > div > a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .55rem; align-items: center; min-height: 5rem; padding: .7rem; text-decoration: none; }
.f4u-contact-starting strong { display: block; font: 400 clamp(1.03rem, 1.45vw, 1.3rem) / 1.15 var(--f4u-font-heading); }
.f4u-contact-starting small { display: block; color: var(--f4u-muted); }
.f4u-private-support { margin: 1.4rem 0 0; padding-top: .8rem; border-top: 1px solid var(--f4u-line); color: var(--f4u-muted); }
.f4u-private-support a { color: var(--f4u-brand-brown); }

@media (max-width: 767px) {
  .f4u-help-cover img { object-position: var(--f4u-cover-mobile, 50% 50%); }
  .f4u-help-hero__media { width: min(100%, 23rem); }
  .f4u-help-topic-grid,
  .f4u-help-resources,
  .f4u-contact-starting > div { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .f4u-help-topic__body {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    justify-items: start;
    column-gap: .7rem;
    row-gap: .2rem;
    text-align: left;
  }
  .f4u-help-topic__icon { grid-row: 1 / 4; width: 2.75rem; height: 2.75rem; }
  .f4u-help-topic__icon .f4u-managed-icon { max-width: 1.8rem; max-height: 1.8rem; }
  .f4u-help-topic p, .f4u-help-resource p { font-size: .9rem; }
  .f4u-help-faq-preview > header { align-items: start; flex-direction: column; }
  .f4u-contact-community { grid-template-columns: 2.7rem minmax(0, 1fr); }
  .f4u-contact-community__icon { width: 2.7rem; height: 2.7rem; align-self: start; }
  .f4u-contact-community > .f4u-button { grid-column: 1 / -1; justify-self: start; }
  .f4u-faq-categories button { font-size: .78rem; }
}
