/* index.css */
/* Articles index in a corkboard/newsboard style */

.page-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin: 28px 0;
  color: var(--ink);
}

/* Board grid */
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

/* Notice card (like pinned clipping) */
.notice {
  position: relative;
  background: #fffdf9;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 2px 4px 10px rgba(0,0,0,0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.notice:hover {
  transform: translateY(-4px);
  box-shadow: 4px 8px 14px rgba(0,0,0,0.12);
}

/* Decorative pin */
.notice .pin {
  width: 16px;
  height: 16px;
  background: var(--pink);
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.2);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

/* Image */
.notice-image {
  width: 100%;
  display: block;
  object-fit: cover;
  border-bottom: 3px solid var(--blue);
}

/* Text body */
.notice-body {
  padding: 14px 16px 18px;
}
.notice-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.notice-date {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.notice-snippet {
  font-family: "Merriweather", serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

/* Responsive adjustments */
@media (max-width:600px){
  .page-title { font-size:1.3rem; }
  .notice-title { font-size:1rem; }
}
