.gpx-family-rail {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px 16px 0;
  pointer-events: auto;
}

.gpx-family-rail__card {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 44px 14px 0;
  color: #f6f3ec;
  background: transparent;
  border-top: 1px solid rgba(212, 184, 133, 0.18);
  border-bottom: 1px solid rgba(212, 184, 133, 0.1);
  box-shadow: none;
}

.gpx-family-rail__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #07131a;
  background: #d4b885;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.gpx-family-rail__eyebrow {
  margin: 0 0 2px;
  color: #d4b885;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gpx-family-rail__title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.12;
}

.gpx-family-rail__copy {
  margin: 3px 0 0;
  color: rgba(246, 243, 236, 0.68);
  font-size: 12.5px;
  line-height: 1.35;
}

.gpx-family-rail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #07131a;
  background: #d4b885;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.gpx-family-rail__close {
  position: absolute;
  top: 50%;
  right: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(246, 243, 236, 0.12);
  border-radius: 999px;
  color: #f6f3ec;
  background: rgba(246, 243, 236, 0.04);
  font: 700 17px/1 system-ui, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
}

.gpx-family-rail.is-main-app .gpx-family-rail__mark,
.gpx-family-rail.is-main-app .gpx-family-rail__cta {
  color: #fff;
  background: #ff006b;
}

.gpx-family-rail.is-main-app .gpx-family-rail__eyebrow {
  color: #ff6aa0;
}

@media (max-width: 640px) {
  .gpx-family-rail {
    padding: 8px 14px 0;
  }

  .gpx-family-rail__card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 0;
    border-top-color: rgba(246, 243, 236, 0.12);
  }

  .gpx-family-rail__mark {
    display: none;
  }

  .gpx-family-rail__eyebrow {
    display: none;
  }

  .gpx-family-rail__title {
    overflow: hidden;
    color: rgba(246, 243, 236, 0.72);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gpx-family-rail__cta {
    min-height: auto;
    padding: 0;
    color: #d4b885;
    background: transparent;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .gpx-family-rail__copy {
    display: none;
  }

  .gpx-family-rail__close {
    display: none;
  }
}
