@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");

:root {
  color-scheme: light;
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: #202020;
  background: #dedede;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #dedede;
}

a {
  color: inherit;
  text-decoration: none;
}

.board-page {
  min-height: 100vh;
  padding: 26px clamp(18px, 4vw, 52px) 60px;
}

.board-head {
  max-width: 980px;
  margin-bottom: 34px;
}

.board-head p,
.figma-row h2 {
  margin: 0 0 8px;
  color: #9a9a9a;
  font-size: 16px;
  font-weight: 700;
}

.board-head h1 {
  margin: 0;
  max-width: 840px;
  color: #1c1c1c;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.actions a,
.caption-box a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #202020;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.actions a + a {
  background: #ffffff;
  color: #202020;
}

.figma-row {
  margin-top: 26px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 22px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
}

figure {
  min-width: 160px;
  margin: 0;
}

figcaption {
  margin: 0 0 8px;
  color: #9a9a9a;
  font-size: 15px;
  font-weight: 700;
}

figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.caption-box {
  max-width: 760px;
  margin-top: 42px;
  padding: 24px;
  background: #ffffff;
}

.caption-box h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.caption-box p {
  margin: 14px 0 0;
  color: #444444;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
}

.caption-box a {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(5, 72vw);
  }
}
