.hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hub-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-size: 14px;
  text-decoration: none;
}
.hub-nav a:hover {
  border-color: var(--blue);
}
.hub-nav span {
  color: var(--muted);
  font-size: 12px;
}
.hub-ad {
  margin: 0 0 32px;
  min-height: 150px;
  /* AdSense may expand mobile ads to the viewport using negative margins. */
  overflow: visible;
}
.tool-section {
  margin-bottom: 48px;
  scroll-margin-top: 24px;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 18px;
}
.section-heading h2 {
  margin: 0;
  font-size: 21px;
}
.section-heading p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}
.tool-card {
  display: flex;
  flex-direction: column;
}
.tool-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.tool-card p {
  flex: 1;
  margin-top: 0;
  line-height: 1.7;
}
.tool-symbol {
  display: block;
  height: 32px;
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 28px;
}
.tool-card svg {
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .hub-nav {
    gap: 8px;
  }
  .hub-nav a {
    padding: 9px 11px;
    font-size: 13px;
  }
  .tool-section {
    margin-bottom: 36px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    margin-bottom: 6px;
    font-size: 19px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .tool-symbol {
    margin-bottom: 20px;
  }
}

.tool-card .tool-mascot-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 0 18px;
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .tool-card .tool-mascot-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 14px;
  }
}
