/*
 * Tools hub content blocks (/tools/): FAQ, howto, single-link cards.
 * Component namespace: sve-tools-hub*, post-card__link
 */

.sve-tools-hub__intro {
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-text);
}

.sve-tools-hub__lead {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.sve-tools-hub__howto {
  max-width: 42rem;
  margin: 1.5rem auto 2rem;
}

.sve-tools-hub__howto h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.sve-tools-hub__howto p {
  margin: 0;
  line-height: 1.55;
  color: var(--color-text);
}

.sve-tools-hub__faq {
  max-width: 42rem;
  margin: 2.5rem auto 0;
}

.sve-tools-hub__faq h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.sve-tools-hub__faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 0.65rem 0;
}

.sve-tools-hub__faq-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.sve-tools-hub__faq-q {
  cursor: pointer;
  list-style: none;
}

.sve-tools-hub__faq-q::-webkit-details-marker {
  display: none;
}

.sve-tools-hub__faq-heading {
  display: inline;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.sve-tools-hub__faq-a {
  margin: 0.5rem 0 0.75rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

.post-card__link:hover,
.post-card__link:focus-visible,
.post-card__link:visited {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

.post-card__link .post-card__title {
  color: var(--color-text);
}

.post-card__link:hover .post-card__title,
.post-card__link:focus-visible .post-card__title {
  color: var(--color-accent, var(--color-text));
}

.sve-tools-hub .masonry-grid .post-card {
  margin-bottom: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sve-tools-hub .masonry-grid .post-card .post-card__thumb--tool-icon {
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.sve-tools-hub .masonry-grid .post-card .post-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sve-tools-hub .masonry-grid .post-card .post-card__excerpt {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.sve-tools-icons8 {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.sve-tools-icons8 a {
  color: var(--color-text-muted);
}

.sve-tools-icons8 a:hover {
  color: var(--color-text);
}
