/* ===============================
   BOARD : TEXT LIST
================================ */

.board-text {
  list-style: none;
  margin: 0;
  padding: 0;
}

.board-text li {
  border-bottom: 1px solid var(--border);
}

.board-text a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  transition: background .2s;
}

.board-text a:hover {
  background: rgba(255,255,255,.03);
}

.board-text .subject {
  font-weight: 500;
}

.board-text time {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

/* ===============================
   BOARD : CARD LIST
================================ */

.board-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 24px;
}

.board-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background: var(--bg-soft);
  transition: transform .2s, box-shadow .2s;
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.board-card .subject {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.board-card .excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.board-card .date {
  font-size: 12px;
  color: var(--muted);
}

/* ===============================
   BOARD : GALLERY LIST
================================ */

.board-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.7),
    transparent
  );
  color: #fff;
}

.gallery-item strong {
  display: block;
  font-size: 15px;
}

.gallery-item span {
  font-size: 12px;
  opacity: .8;
}

/* ===============================
   BOARD HEADER
================================ */

.board-header {
  margin-bottom: 48px;
}

.board-header-inner {
  max-width: 960px;
}

.board-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.board-desc {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

.board-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

/* ===============================
   BOARD FOOTER SPACE
================================ */

.board-footer-space {
  height: 120px;
}

/* ===============================
   LATEST MARQUEE
================================ */

.latest-marquee {
  overflow: hidden;
  position: relative;
}

.latest-track {
  display: flex;
  gap: 32px;
  animation: marquee 30s linear infinite;
}

.latest-marquee:hover .latest-track {
  animation-play-state: paused;
}

.latest-item {
  min-width: 280px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.latest-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.latest-item span {
  font-size: 12px;
  color: var(--muted);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


