/* Grid */
.jjs-mtw-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .jjs-mtw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .jjs-mtw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Card */
.jjs-mtw-card {
  background: #CFD8E0;
  border-radius: 12px;
  /*ox-shadow: 0 2px 10px rgba(0,0,0,.08); */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Media (16:9) */
.jjs-mtw-card-media {
  display: block;
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
}

/* Body */
.jjs-mtw-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jjs-mtw-card-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
}
.jjs-mtw-card-title a {
  text-decoration: none;
  color: #1f2937;
	font-weight: bold;
}
.jjs-mtw-card-title a:hover { text-decoration: underline; }

.jjs-mtw-meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4b5563;
  font-size: 0.95rem;
}
.jjs-mtw-icon { width: 1.1em; display: inline-flex; justify-content: center; }

.jjs-mtw-desc {
  color: #374151;
  margin: 6px 0 0;
}

/* Actions */
.jjs-mtw-actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: #002855;
  color: #fff;
	border-color: #002855;
}
.btn-primary:hover { background: #fff; color: #002855; border-color:#002855 }
.btn-outline {
  background: #fff;
  color: #002855;
  border-color: #002855;
}
.btn-outline:hover {
  background: #002855;
  border-color: #002855;
	color: #FFF;
}
.jjs-mtw-detail .back-btn {
	    margin: 0 0 15px;
    display: block;
    font-weight: bold;
}

