/* ===============================
   THEME PREVIEW – MOMENLINK
   =============================== */

:root{
  --sage:#9caf88;
  --sage-dark:#7e9070;
  --bg:#f6f8f5;
  --text:#2f3a2f;
  --muted:#6f7f63;

  --radius-lg:18px;
  --radius-md:14px;

  --shadow-soft:0 10px 28px rgba(0,0,0,.08);
  --shadow-hover:0 18px 40px rgba(0,0,0,.14);
}

/* RESET */
body{
  margin:0;
  font-family:'Poppins',system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* TITLE */
.page-title{
  padding:28px 24px 8px;
}

.page-title h2{
  margin:0;
  font-size:22px;
  font-weight:600;
}

.page-title p{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:22px;
  padding:24px;
}

/* CARD */
.card{
  background:#fff;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-hover);
}

/* IMAGE */
.card img{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  background:#eee;
}

/* INNER */
.card .inner{
  padding:14px 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* TITLE */
.card h3{
  margin:0;
  font-size:14px;
  font-weight:600;
}

/* BUTTON */
.card a{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:var(--sage);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:500;
  transition:background .2s ease, transform .2s ease;
}

.card a:hover{
  background:var(--sage-dark);
  transform:translateY(-1px);
}

@media (max-width:600px){
  .page-title{
    padding:22px 14px 6px;
  }

  .page-title h2{
    font-size:20px;
  }
  
  .grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:14px;
  }

  /* inner jadi vertical */
  .card .inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  /* judul di atas */
  .card h3{
    font-size:13px;
    line-height:1.4;
  }

  /* tombol full width di bawah */
  .card a{
    width:100%;
    text-align:center;
    font-size:12px;
    padding:9px 0;
  }
}

