/* ==========================================================================
   Support / FAQ pages
   ========================================================================== */

/* Hero variant used by the support landing page */
.hero-gradient {
  background: linear-gradient(140deg, var(--black) 0%, var(--black-2) 55%, var(--black-3) 100%);
}

[data-bs-theme="dark"] .hero-gradient {
  background: linear-gradient(140deg, #141417 0%, #1b0f2e 60%, #241540 100%);
}

.hero-position {
  position: relative;
  z-index: 1;
}

.hero-media {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  display: block;
}

/* --------------------------------------------------------------------------
   Tiles used for support categories
   -------------------------------------------------------------------------- */
.support-section-area .tiles a,
.tiles a {
  display: block;
  height: 100%;
  color: inherit;
}

.tile-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
}

.tile-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 48px -32px rgba(14, 14, 16, 0.45);
}

.tile-card .tile-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.tile-card h3 {
  margin-bottom: 4px;
}

.tile-card p {
  color: var(--ink-2);
  margin: 0;
}

.tile-card .btn-arrow {
  margin-right: 0;
  transition: transform 0.3s var(--ease);
}

.tile-card:hover .btn-arrow {
  transform: translateX(3px) rotate(-45deg);
}

.tile-position {
  justify-content: center;
}

/* Decorative corner wash behind product tiles */
.tile-shape {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--apricot-soft), transparent 70%);
  pointer-events: none;
  opacity: 0.45;
  z-index: -1;
}

.tile-ic svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .support-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .tile-card .tile-content > [class*="col-"] + [class*="col-"] {
    margin-top: 12px;
  }

  .tile-card .justify-content-sm-end {
    justify-content: flex-start;
  }

  .tile-shape {
    display: none;
  }
}
