/* Keep the intro and the three disclosures on their own full-width rows. */
.getting-started .getting-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.getting-started .getting-intro {
  min-width: 0;
}

.getting-started .getting-intro > p {
  max-width: 850px;
  white-space: pre-line;
}

.steps.steps--tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  min-width: 0;
  border-top: 0;
}

.steps.steps--tiles article {
  display: block;
  min-width: 0;
  padding: 0;
  border-bottom: 0;
}

.steps--tiles .steps__tile {
  border: 1px solid #3a4037;
  background: #1b1f1a;
  color: #f4f3ed;
}

.steps--tiles .steps__tile > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-content: start;
  align-items: start;
  gap: 14px 12px;
  min-height: 280px;
  padding: 22px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}

.steps--tiles .steps__tile > summary::-webkit-details-marker {
  display: none;
}

.steps--tiles .steps__tile > summary > span:first-child {
  font-family: "Barlow Condensed", sans-serif;
  color: #f47721;
  font-size: calc(18px * var(--text-scale));
  font-weight: 700;
}

.steps.steps--tiles h3.steps__heading--large {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.steps--tiles .steps__indicator {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #c56829;
  border-radius: 3px;
  background: #2c231a;
  color: #ff984c;
  font-size: calc(13px * var(--text-scale));
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .06em;
  overflow-wrap: anywhere;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.steps--tiles .steps__indicator-label--closed {
  display: inline;
}

.steps--tiles .steps__indicator-label--open {
  display: none;
}

.steps--tiles .steps__tile[open] > summary .steps__indicator-label--closed {
  display: none;
}

.steps--tiles .steps__tile[open] > summary .steps__indicator-label--open {
  display: inline;
}

.steps--tiles .steps__tile > summary:hover .steps__indicator,
.steps--tiles .steps__tile[open] > summary .steps__indicator {
  background: #3a291c;
  border-color: #ff984c;
  color: #ffb177;
}

.steps--tiles .steps__tile > summary:focus-visible .steps__indicator {
  outline: 2px solid #f4f3ed;
  outline-offset: 3px;
}

.steps--tiles .steps__chevron {
  flex: none;
  width: 20px;
  height: 20px;
  transform: rotate(0deg);
  transition: transform .15s ease;
}

.steps--tiles .steps__tile[open] > summary .steps__chevron {
  transform: rotate(180deg);
}

.steps--tiles .steps__tile > summary:hover,
.steps--tiles .steps__tile[open] > summary {
  background: #25291f;
}

.steps--tiles .steps__tile > summary:focus-visible {
  outline: 3px solid #f47721;
  outline-offset: 3px;
}

.steps--tiles .steps__content {
  min-width: 0;
  padding: 22px;
  border-top: 1px solid #3a4037;
}

.steps.steps--tiles .steps__content p {
  max-width: none;
  overflow-wrap: anywhere;
}

.steps.steps--tiles p.steps__equipment {
  font-weight: 700;
}

.steps.steps--tiles p.steps__note {
  grid-column: 1 / -1;
  max-width: none;
  margin: 2px 0 0;
  font-weight: 600;
}

/* Override the old finder CTA's text-link styles only in Start Close to Home. */
.state-club-browser .club-submission-cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 24px;
}

.state-club-browser .club-submission-cta > a.button--orange {
  display: inline-flex;
  min-height: 50px;
  max-width: 100%;
  gap: 20px;
  background: #f47721;
  color: #131512;
  white-space: normal;
}

.state-club-browser .club-submission-cta > a.button--orange:hover {
  background: #ff9854;
}

.state-club-browser .club-submission-cta > a.button--orange:focus-visible {
  outline: 3px solid #f47721;
  outline-offset: 4px;
}

@media (max-width: 850px) {
  .steps.steps--tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps--tiles .steps__tile > summary {
    min-height: 44px;
    grid-template-rows: auto auto auto;
  }
}

@media (max-width: 560px) {
  .getting-started .getting-layout {
    gap: 28px;
  }

  .steps--tiles .steps__tile > summary,
  .steps--tiles .steps__content {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps--tiles .steps__tile > summary,
  .steps--tiles .steps__indicator,
  .steps--tiles .steps__chevron {
    transition: none;
  }
}

/* The junior tile points at the single shared guide in the hub Licensing subsection. */
.steps--tiles .steps__link-row { margin: 14px 0 0; }
.steps--tiles .steps__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #f47721;
  color: #f4f3ed;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  background: #241c15;
  transition: background-color .15s ease, color .15s ease;
}
.steps--tiles .steps__link > svg { flex: none; color: #f47721; }
.steps--tiles .steps__link:hover { background: #f47721; color: #101211; }
.steps--tiles .steps__link:hover > svg { color: #101211; }
.steps--tiles .steps__link:focus-visible { outline: 2px solid #ff984c; outline-offset: 3px; }
