/* ===========================
   FORTY RESOURCES
   Tools grid + banner variant
============================ */

/* ---------- Banner variant ---------- */
.forty-banner-res::after {
  background: rgba(43, 45, 51, 0.3);
}

/* ---------- Per-section accent rules ---------- */
.spotlight:nth-of-type(1) .spotlight-rule { background: #6bafc4; opacity: 0.5; }
.spotlight:nth-of-type(2) .spotlight-rule { background: #d4899b; opacity: 0.5; }
.spotlight:nth-of-type(3) .spotlight-rule { background: #8ca3a8; opacity: 0.5; }
.spotlight:nth-of-type(4) .spotlight-rule { background: #5c7a88; opacity: 0.5; }

/* ---------- Tools Grid Section ---------- */
.tools-section {
  background: #1e2024;
  padding: 60px 50px 70px;
}
.tools-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0 0 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tools-section { padding: 40px 20px 50px; }
}

/* Tool card */
.tool-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.35s ease;
}
.tool-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.tool-img {
  height: 160px;
  overflow: hidden;
  background: #24262b;
}
.tool-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.85);
  opacity: 0.75;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.tool-card:hover .tool-img img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.tool-body {
  padding: 20px;
}
.tool-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  padding: 0;
  border: none;
}
.tool-body h3 a {
  color: rgba(255,255,255,0.85);
  border-bottom: none;
  transition: color 0.25s ease;
}
.tool-body h3 a:hover {
  color: #6bafc4;
}
.tool-body h3 i {
  color: rgba(255,255,255,0.3);
  margin-right: 6px;
  font-size: 15px;
}
.tool-body p {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
}
.tool-body p a {
  color: #6bafc4;
  border-bottom: 1px dotted rgba(107,175,196,0.3);
}
.tool-body p a:hover {
  color: #d4899b;
  border-bottom-color: transparent;
}
