.page-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 1.5rem 1rem 4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-heading {
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.page-heading h1 {
  color: #0a174e;
  font-family: "Basic", sans-serif;
  font-size: 2rem;
  line-height: 1.2;
}

.page-heading p {
  max-width: 800px;
  margin-top: 0.4rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.tool-card {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.85rem 1rem;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.tool-card:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.25);
  outline-offset: 2px;
}

.tool-card h2 {
  color: #0a174e;
  font-family: "Basic", sans-serif;
  line-height: 1.25;
}

.tool-card p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 950px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:680px){

  .page-container{
    padding:.75rem .6rem 2rem;
  }

  .breadcrumb{
    margin-bottom:.75rem;
    gap:.3rem;
    font-size:.75rem;
  }

  .page-heading{
    padding:.75rem;
  }

  .page-heading h1{
    font-size:1.2rem;
  }

  .page-heading p{
    margin-top:.2rem;
    font-size:.8rem;
    line-height:1.3;
  }

  .tool-grid{
    grid-template-columns:repeat(2,1fr);
    gap:.45rem;
    margin-top:.75rem;
  }

  .tool-card{
    min-height:64px;
    padding:.55rem .65rem;
    border-radius:10px;
  }

  .tool-card h2{
    font-size:1.1rem;
    line-height:1.15;
  }

  .tool-card p{
    margin-top:.12rem;
    font-size:.68rem;
    line-height:1.2;
  }

}