/* ===== Troubleshooter (PC base styles) ===== */
.troubleshooter {
  text-align: left;
}

.ts-intro {
  text-align: center;
}

.ts-intro p{
  margin-bottom: 2rem;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ts-intro img{
  display: none;
}

.ts-intro h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.troubleshooter .ts-start {
  display: none;
}

.ts-panel {
  background: #E9EAF2;
  padding: 1.5rem 5rem;
}

.ts-panel__head h2,
.ts-sub-head h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ts-panel__head p {
  margin-bottom: 1.5rem;
}

/* Sub-level nav: on PC only the back control is shown. */
.ts-panel__nav {
  margin-bottom: 1.5rem;
}

.ts-back {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.ts-back__icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

/* Breadcrumb + heading block is mobile-only. */
.ts-sub-head {
  display: none;
}

.ts-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.ts-tile {
  width: 100%;
  height: 9.375rem;
  background: #fff;
  color: #000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  text-align: center;
  text-decoration: none;
}

.ts-tile__icon {
  width: 3.375rem;
  height: 3.375rem;
  stroke: #000;
}

.ts-tile__label{
  font-weight: 400 !important;
}

/* ===== Medium screens (max-width: 899px) ===== */
@media (max-width: 899px) {
  .ts-intro {
    text-align: center;
    background: #E9EAF2;
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
  }

  .ts-intro p{
    width: 100%;
    margin-bottom: 0;
  }

  .ts-intro img{
    display: block;
  }

  .ts-panel {
    background: transparent;
    padding: 0;
  }

  .troubleshooter .ts-start:not([hidden]) {
    display: inline-block;
    margin: 2rem 0 1.5rem 0;
  }
  /* Before the user starts, hide the category panel on small screens. */
  .troubleshooter:not(.is-started) .ts-panel {
    display: none;
  }

  /* Once started, collapse the big intro to leave room for the grid. */
  .troubleshooter.is-started .ts-intro {
    display: none;
  }

  /* Back control becomes an icon-only circle on small screens. */
  .ts-back__label {
    display: none;
  }

  .ts-sub-head {
    display: block;
    margin-top: 0.75rem;
  }

  .ts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .ts-tile {
    background: #E9EAF2;
  }

  .ts-panel__head h2{
    font-size: 1.625rem
  }

  .ts-panel__nav{
    display: flex;
    gap: 1rem;
    align-items: center;
  }

}
