/* Text-cover fallback: used when a card has no unique image.
   Wrap with the same aspect/overflow class as the image anchor (e.g. sl-portfolio-image, sl-article-image, or a fixed-height block). */
.sl-text-cover {
  display: flex;
  position: relative;
  text-decoration: none;
}
.sl-text-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 16px);
  pointer-events: none;
}
.sl-text-cover-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 20px;
  width: 100%;
  position: relative;
}
.sl-tc-label {
  color: #8be9e4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sl-tc-title {
  color: #eaf4f6;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tc-navy   { background: linear-gradient(135deg, #0b2237, #123a52); }
.tc-teal   { background: linear-gradient(135deg, #0d3d3d, #0f5e5e); }
.tc-violet { background: linear-gradient(135deg, #2b2350, #43357a); }
.tc-rust   { background: linear-gradient(135deg, #4a2413, #7a3b1d); }
.tc-forest { background: linear-gradient(135deg, #15351f, #265636); }
