
/* GRID */
.sgmag-grid {
  display: grid;
  grid-template-columns: 1fr; /* ONE CARD PER ROW */
  gap: 24px;
  margin-bottom: 40px;
  /*max-width: 900px;  */
  margin-left: auto;
  margin-right: auto;
}

/* CARD */
.sgmag-card {
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  font-family: Georgia, serif;
}

.sgmag-card h4 {
  margin: 0;
  padding: 10px 12px;
  font-size: 18px;
  font-weight: 500;
  color: #d32f2f;
  border-bottom: 1px solid #e5e5e5;
}

/* SLIDER */
.sgmag-slider {
  overflow: hidden;
  height: 320px; /* visible area */
  position: relative;
}

.sgmag-track {
  display: flex;
  flex-direction: column;
  transition: transform .5s ease;
}

.sgmag-slide {
  flex: 0 0 100%;
}

/* IMAGE */
.sgmag-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* TITLE */
.sgmag-title {
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.sgmag-title a {
  color: #000;
  text-decoration: none;
}

.sgmag-title a:hover {
  text-decoration: underline;
}

/* META */
.sgmag-meta {
  font-size: 12px;
  color: #777;
  padding: 0 12px 12px;
  display: flex;
  justify-content: space-between;
}

/* RESPONSIVE */
@media (max-width:1024px){
  .sgmag-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width:600px){
  .sgmag-grid { grid-template-columns:1fr; }
}
