.secondary p {
  margin   : 0.5rem 0;
  max-width: 55rem;
}

.tool-container {
  border        : 1px solid color-mix(in srgb, var(--ifm-background-color), var(--ifm-font-color-base) 20%);
  border-radius : 0.5rem;
  padding       : 1rem;
  margin        : 2rem;
  max-width     : 55rem;
  display       : flex;
  flex-direction: row;
  gap           : 1rem;
  align-items   : center;
}


@media (max-width: 480px) {
  .tool-container {
    flex-direction: column;
  }
}


a.tool-container {
  text-decoration: none;
  font-weight    : normal;
}

a.tool-container:hover {
  border-color: var(--ifm-font-color-base);
}

a.tool-container .tool-title {
  text-decoration: underline;
  font-weight    : bold;
}

a.tool-container:hover .tool-title {
  text-decoration: none;
}

.tool-image-container {
  height         : 7.5rem;
  width          : 7.5rem;
  margin-left    : 0.5rem;
  display        : flex;
  flex-direction : column;
  justify-content: center;
  align-items    : center;
  flex           : none;
}

.tool-image {
  max-width : 100%;
  max-height: 100%;
}

.tool-title-and-description {
  padding        : 0.625rem;
  display        : flex;
  flex-direction : column;
  justify-content: center;
  gap            : 0.25rem;
}

.tool-title {
  font-size: 1.5rem;
  margin   : 0;
}

.tool-description p {
  text-decoration: none;
  margin         : 0;
}

.resource-arrow {
  height: 2rem;
}

[data-theme='dark'] .resource-arrow {
  filter: invert(100%);
}

@media (max-width: 480px) {
  .resource-arrow {
    display: none;
  }
}