/* achievements.css — ผลงานและรางวัล: trophy cards grouped by year (chrome in site.css) */

.achv-intro { font-size:.95rem; color:#555; line-height:1.8; margin:1.4rem 0 1rem; }

.achv-year-group { margin:1.6rem 0 2rem; }
.achv-year-h {
  display:inline-flex; align-items:center; gap:.5rem; margin:0 0 1.1rem; font-size:1.05rem; font-weight:700; color:#fff;
  background:linear-gradient(135deg,#1f1f1f 0%,#444444 100%); padding:.4rem 1.2rem; border-radius:30px;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}

.achv-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:1.2rem; }
.achv-card {
  display:flex; gap:.95rem; align-items:flex-start; background:#fff; border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.08); padding:1.1rem 1.2rem; border-top:3px solid var(--accent);
  transition:transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s;
}
.achv-card:hover { transform:translateY(-5px); box-shadow:0 16px 32px rgba(0,0,0,.16); }
.achv-ic {
  flex-shrink:0; width:48px; height:48px; border-radius:13px; display:flex; align-items:center; justify-content:center; overflow:hidden;
  font-size:1.7rem; background:linear-gradient(160deg,#fff3b0,#ffd95b); box-shadow:0 5px 12px rgba(255,206,27,.4);
}
.achv-ic img { width:100%; height:100%; object-fit:cover; }
.achv-text { font-size:.92rem; line-height:1.65; color:#3a3a3a; }
.achv-text a { color:var(--primary); font-weight:600; }

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