.bo-tools-category-page {
  background:
    radial-gradient(circle at top left, rgba(16, 121, 255, .12), transparent 34rem),
    radial-gradient(circle at top right, rgba(38, 216, 211, .16), transparent 30rem),
    linear-gradient(135deg, #f7fbff 0%, #eefaf5 100%);
  padding: clamp(32px, 6vw, 72px) 18px;
}

.bo-tools-category-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.bo-tools-category-hero {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 42px);
  position: relative;
}

.bo-tools-category-eyebrow,
.bo-tools-category-meta {
  color: #005bc5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bo-tools-category-hero h1 {
  color: #081b3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  margin: 10px 0 16px;
}

.bo-tools-category-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bo-tools-category-pill {
  background: rgba(255, 255, 255, .78);
  border: 1px solid #cfe0f4;
  border-radius: 999px;
  color: #284466;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 14px;
}

.bo-tools-category-hero p {
  color: #4b5f7d;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  margin: 0 0 18px;
}

.bo-tools-category-back,
.bo-tools-category-link {
  color: #005bc5;
  font-weight: 800;
  text-decoration: none;
}

.bo-tools-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bo-tools-category-card {
  background: #fff;
  border: 1px solid #dce8f6;
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(8, 27, 58, .08);
  color: #081b3a;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 18px 18px 22px;
  position: relative;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bo-tools-category-card:hover,
.bo-tools-category-card:focus-visible {
  border-color: #b7d4f5;
  box-shadow: 0 22px 54px rgba(8, 27, 58, .14);
  outline: none;
  transform: translateY(-3px);
}

.bo-tools-category-thumb {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(16, 121, 255, .95) 0%, rgba(122, 53, 216, .95) 48%, rgba(5, 26, 58, .98) 100%);
  border-radius: 20px;
  display: grid;
  height: auto;
  margin-bottom: 18px;
  overflow: hidden;
  place-items: center;
  width: 100%;
}

.bo-tools-category-thumb--empty span {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 800;
  line-height: 1;
  opacity: .92;
}

.bo-tools-category-thumb img {
  display: block;
  height: calc(100% - 18px);
  max-width: calc(100% - 18px);
  object-fit: contain;
  width: auto;
}

.bo-tools-category-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  letter-spacing: .03em;
  margin: 0 6px 12px;
  text-transform: none;
}

.bo-tools-category-meta span {
  background: #eef6ff;
  border-radius: 999px;
  padding: 5px 10px;
}

.bo-tools-category-card strong {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  margin: 0 6px 10px;
}

.bo-tools-category-card small {
  color: #4b5f7d;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 6px;
}

.bo-tools-category-link {
  align-items: center;
  background: #087bff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  margin-top: auto;
  min-height: 42px;
  padding: 10px 18px;
  width: fit-content;
}

.bo-tools-category-card:hover .bo-tools-category-link,
.bo-tools-category-card:focus-visible .bo-tools-category-link {
  background: #005bc5;
}

.bo-tools-category-empty {
  background: #fff;
  border: 1px solid #dce8f6;
  border-radius: 18px;
  color: #4b5f7d;
  padding: 24px;
}

@media (max-width: 920px) {
  .bo-tools-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bo-tools-category-page {
    padding: 24px 14px 44px;
  }

  .bo-tools-category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bo-tools-category-card {
    border-radius: 18px;
    min-height: 0;
    padding: 14px 14px 18px;
  }

  .bo-tools-category-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bo-tools-category-pill,
  .bo-tools-category-back {
    justify-content: center;
    text-align: center;
  }
}
