.tools-showcase-section {
  min-height: 560px;
  color: var(--default-color);
  font-family: var(--default-font);
}

.tools-showcase-section .portfolio-showcase-intro h2 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.tools-showcase-section .portfolio-showcase-intro p {
  color: var(--default-color);
  font-family: var(--default-font);
}

.tools-showcase-section .tools-filters {
  margin-bottom: 34px;
}

.tools-showcase-section .tools-filters li {
  font-family: var(--heading-font);
}

.tools-showcase-section .tools-filters li:last-child {
  cursor: default;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  background: #f2f4f6;
}

.tools-showcase-section .tools-filters li:last-child:hover {
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  background: #f2f4f6;
}

.tools-grid {
  align-items: stretch;
}

.tools-grid > *,
.tools-card,
.tools-card-head,
.tools-card-content,
.tools-card-footer,
.tools-card-labels {
  min-width: 0;
}

.tools-card {
  position: relative;
  height: 100%;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(85, 98, 112, 0.16);
  border-top: 3px solid var(--accent-color);
  border-radius: 8px;
  color: var(--default-color);
  background: #fff;
  box-shadow: 0 16px 40px rgba(42, 55, 70, 0.07);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tools-card:hover {
  color: var(--default-color);
  border-color: rgba(217, 35, 45, 0.34);
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(42, 55, 70, 0.13);
}

.tools-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 26px 20px;
}

.tools-card-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  text-decoration: none;
}

.tools-card-icon img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.tools-card-icon > i {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 31, 43, .2);
  border-radius: 8px;
  background: rgba(229, 31, 43, .05);
  color: #df1f2d;
  font-size: 34px;
}

.tools-card-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.tools-card-labels small,
.tools-card-labels > span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.tools-card-labels small {
  color: var(--heading-color);
  background: #f2f4f6;
}

.tools-card-labels > span {
  color: #34833a;
  background: #edf8ee;
}

.tools-card-labels > span i {
  font-size: 11px;
}

.tools-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2px 26px 24px;
}

.tools-card-title {
  display: block;
  margin-bottom: 10px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tools-card-title:hover,
.tools-card-title:focus-visible {
  color: var(--accent-color);
}

.tools-card-description {
  display: block;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  font-size: 15px;
  line-height: 1.7;
}

.tools-feature-list {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.tools-feature-list > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 500;
}

.tools-feature-list i {
  color: #46a33e;
  font-size: 17px;
}

.tools-card-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  border-top: 1px solid rgba(85, 98, 112, 0.11);
  background: #fafbfc;
}

.tools-access-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  font-size: 12px;
  line-height: 1.35;
}

.tools-access-note i {
  color: #46a33e;
  font-size: 15px;
}

.tools-use-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.tools-use-link i {
  transition: transform 0.2s ease;
}

.tools-use-link:hover i,
.tools-use-link:focus-visible i {
  transform: translateX(4px);
}

@media (max-width: 575.98px) {
  .tools-showcase-section {
    overflow: hidden;
  }

  .tools-showcase-section .container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    overflow: hidden;
  }

  .tools-showcase-section .portfolio-showcase-intro {
    margin-bottom: 26px;
  }

  .tools-showcase-section .portfolio-showcase-intro h2 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tools-showcase-section .portfolio-showcase-intro p {
    max-width: 100%;
  }

  .tools-showcase-section .tools-filters {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
    padding-bottom: 2px;
    text-align: left;
  }

  .tools-showcase-section .tools-filters li {
    flex: 0 0 auto;
    margin: 0;
  }

  .tools-card {
    width: 100%;
    min-height: 0;
  }

  .tools-grid {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .tools-grid > .portfolio-item {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .tools-card-head {
    align-items: flex-start;
    padding: 22px 20px 18px;
  }

  .tools-card-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .tools-card-icon img {
    width: 62px;
    height: 62px;
  }

  .tools-card-labels {
    flex: 1;
    gap: 6px;
  }

  .tools-card-labels small,
  .tools-card-labels > span {
    min-height: 27px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .tools-card-content {
    padding: 2px 20px 22px;
  }

  .tools-card-title {
    font-size: 25px;
  }

  .tools-card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 15px 20px;
  }
}
