/* Shared look borrowed from the FTN iOS app. Applies only inside .app-style or .app-pills. */

.app-style,
.app-pills {
  --app-slate: #354b5e;
  --app-blue: #577594;
  --app-border: #dcdfe4;
  --app-muted: #596571;
  --app-chevron: #89949d;
  --app-tint: #edf1f5;
  --app-radius: 6px;
}

.app-style {
  margin-bottom: 0;
  background: #f2f2f7;
}

.app-style a:focus-visible,
.app-pills a:focus-visible {
  outline: 3px solid #337ab7;
  outline-offset: 3px;
}

.app-style .app-card {
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: #fff;
}

.app-style .app-card--accent {
  border-top: 3px solid var(--app-blue);
}

.app-style .app-card__body {
  padding: 24px;
}

.app-style .app-pills .nav-link,
.app-pills .list-group .list-group-item {
  min-height: 44px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: #fff;
  color: var(--app-slate);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.app-style .app-pills .nav-link:hover,
.app-pills .list-group .list-group-item:hover {
  background: var(--app-tint);
  color: var(--app-slate);
}

.app-style .app-pills .nav-link.active,
.app-pills .list-group .list-group-item.active {
  border-color: var(--app-blue) !important;
  background-color: var(--app-blue) !important;
  color: #fff !important;
}

.app-pills .sticky-md-top {
  top: 16px;
}

.app-pills .profile-avatar-img {
  border-color: var(--app-border);
  border-radius: var(--app-radius);
}

.app-pills .sticky-md-top > h6 {
  margin: 6px 0 14px;
  padding: 4px 0 !important;
  border: 0 !important;
  background: none;
}

.app-pills .list-group {
  gap: 3px;
}

.app-pills .list-group .list-group-item {
  min-height: 36px;
  padding: 7px 12px;
}

.app-pills .list-group-item > i:first-child {
  display: inline-block;
  width: 1.5em;
  text-align: center;
}

.app-pills .list-group-chevron {
  display: none;
}

@media (max-width: 767.98px) {
  .app-style .app-card__body {
    padding: 16px;
  }
}

.tournament-app {
  padding-top: 24px !important;
}

.tournament-app > .container-fluid {
  padding-right: 32px !important;
  padding-left: 32px !important;
}

.tournament-app > .container-fluid > .portlet {
  margin-bottom: 0;
}

.tournament-app > .container-fluid > .portlet > .portlet-body {
  padding: 24px;
  border: 1px solid var(--app-border);
  border-top: 3px solid var(--app-blue);
  border-radius: var(--app-radius);
  background: #fff;
}

.tournament-app > .page-header {
  margin-bottom: 24px;
}

.tournament-app > .page-header .page-title {
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1.25;
}

.tournament-app > .page-header .page-title a {
  color: var(--app-slate) !important;
}

.tournament-app > .page-header p {
  margin: 0;
  color: var(--app-muted);
  font-size: 14px;
}

@media (max-width: 767.98px) {
  .tournament-app > .container-fluid {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .tournament-app > .container-fluid > .portlet > .portlet-body {
    padding: 16px;
  }
}

.app-page {
  padding: 32px 0 64px;
  color: #252d34;
  font-size: 14px;
  line-height: 1.65;
}

.app-shell {
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 32px;
}

.app-page h1 {
  color: var(--app-slate);
  font-size: 34px;
  line-height: 1.25;
}

.app-page h2,
.app-page h3,
.app-page h4 {
  color: var(--app-slate);
}

.app-page h2:not(.h6) {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.25;
}

.app-page p + h2:not(.h6) {
  margin-top: 28px;
}

.app-page h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.3;
}

.app-page .app-price {
  margin-bottom: 12px;
  color: var(--app-slate);
  font-size: 36px;
  line-height: 1.1;
}

.app-page .app-price span {
  font-size: 16px;
}

.app-page h2.app-audience {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--app-border);
  font-size: 30px;
  line-height: 1.2;
}

.app-page .app-subhead {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.app-page .lead {
  color: var(--app-muted);
  font-size: 18px;
  line-height: 1.6;
}

.app-page .btn-outline-secondary {
  min-height: 44px;
  padding: 9px 12px;
  border-color: #89949d;
  border-radius: 4px;
  background: transparent;
  color: var(--app-slate);
  font-size: 13px;
}

.app-page .btn-outline-secondary:hover {
  border-color: var(--app-blue);
  background: #e5ebf0;
  color: var(--app-slate);
}

.app-page .app-icon-tile {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--app-radius);
  background: var(--app-tint);
  color: var(--app-blue);
  font-size: 20px;
}

.app-page .app-iconed {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-page .app-stats {
  padding: 20px 24px;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: var(--app-tint);
}

.app-page .app-stats__title {
  margin: 0 0 14px;
  font-size: 20px;
}

.app-page .app-stats__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-page .app-stats__value {
  display: block;
  color: var(--app-slate);
  font-family: Oswald, sans-serif;
  font-size: 28px;
  line-height: 1.15;
}

.app-page .app-stats__label {
  color: var(--app-muted);
  font-size: 13px;
}

.app-page .app-stats__note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--app-border);
}

.app-page .feature-sm {
  padding-left: 64px;
}

.app-page .feature-sm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--app-radius);
  background: var(--app-tint);
  color: var(--app-blue) !important;
  font-size: 20px;
}

.app-page .feature-sm-label {
  color: var(--app-slate);
  font-size: 18px;
}

.app-page .feature-sm-content {
  color: var(--app-muted);
}

@media (max-width: 767.98px) {
  .app-page {
    padding-top: 20px;
  }

  .app-shell {
    padding: 0 16px;
  }

  .app-page h1 {
    font-size: 30px;
  }

  .app-page .app-stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
