/* ===== SKILLWAYS - ENABLERS STYLE CARDS ===== */

.sw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.sw-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sw-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

.sw-trending {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4d00;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 3;
}

.sw-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #f0f0f0;
}

.sw-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.sw-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sw-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sw-tag {
  font-size: 11px;
  color: #555;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 3px 10px;
  font-weight: 500;
}

.sw-divider {
  border: none;
  border-top: 1px solid #ececec;
  margin: 10px 0;
}

.sw-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.sw-desc {
  font-size: 13px !important;
  color: #666 !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
  flex: 1;
}

.sw-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.sw-meta-item {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sw-btn {
  display: block !important;
  text-align: center !important;
  background: #1a1a2e !important;
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.3s ease !important;
  margin-top: auto;
}

.sw-btn:hover {
  background: #ff4d00 !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .sw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .sw-grid {
    grid-template-columns: 1fr;
  }
}