/* Wrapper */
.sti-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card */
.sti-item {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  background: #111;            /* dark card like your screenshot */
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.sti-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

/* Title (white → red on hover) */
/* Title (white → red on hover) */
.sti-title {
  font-family: 'Lato', sans-serif;  /* Lato font */
  font-weight: 700;                 /* Bold */
  font-size: 28px;                  /* Size */
  line-height: 1.18;                /* Line height */
  color: #fff;                      /* white default */
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color .2s ease;
}
.sti-title:hover {
  color: #e63946;                   /* red on hover */
  text-decoration: underline;
}


/* Category (small, uppercase, subtle) */
.sti-category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #bbb;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Image (below category) */
.sti-thumb {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.sti-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Powered by (8px under image, gray) */
.sti-powered {
  margin-top: 8px;
  font-size: 13px;
  color: #888;
}
.sti-powered a {
  color: #888;
  text-decoration: none;
}
.sti-powered a:hover {
  color: #666;
  text-decoration: underline;
}

/* Excerpt */
.sti-excerpt {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #e6e6e6;
}

/* Grid layout */
.sti-grid {
  display: grid;
  grid-template-columns: repeat(var(--sti-cols, 2), 1fr);
  gap: 22px;
}

/* Make images shorter on smaller cards in grid if you like */
@media (max-width: 720px) {
  .sti-thumb img { height: 200px; }
  .sti-title { font-size: 20px; }
}
