.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: var(--border);
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--color-black);
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--secondary {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--blue {
  background: var(--color-blue);
  color: var(--color-white);
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: var(--color-gray-200);
  color: #777;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.graphic-frame {
  border: var(--border-strong);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.label-sticker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: var(--border);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  background: var(--color-yellow);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--border);
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.program-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.program-card__image {
  aspect-ratio: 4 / 3;
  border-bottom: var(--border);
  overflow: hidden;
}

.program-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.program-card__kicker {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.program-card--empathy .program-card__kicker { color: var(--color-empathy); }
.program-card--diagnosis .program-card__kicker { color: var(--color-diagnosis); }
.program-card--challenge .program-card__kicker { color: var(--color-challenge); }

.program-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  word-break: keep-all;
}

.program-card__text {
  color: var(--color-gray-700);
  font-size: 15px;
  word-break: keep-all;
}

.program-card__more {
  margin-top: auto;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.character-card {
  border: var(--border);
  background: var(--color-white);
  text-align: center;
}

.character-card__image {
  aspect-ratio: 1 / 1;
  border-bottom: var(--border);
}

.character-card__name {
  font-family: var(--font-display);
  font-size: 28px;
  padding: 20px 12px 24px;
}

.info-list {
  border: var(--border);
  background: var(--color-white);
}

.info-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: var(--border);
}

.info-item:last-child {
  border-bottom: 0;
}

.info-item .label {
  padding: 18px 20px;
  background: var(--color-yellow);
  font-weight: 800;
  border-right: var(--border);
}

.info-item .value {
  padding: 18px 20px;
  color: var(--color-gray-700);
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: var(--border);
}

.overview-table th,
.overview-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: var(--border);
  vertical-align: top;
}

.overview-table th {
  width: 180px;
  background: var(--color-yellow);
  font-weight: 800;
  border-right: var(--border);
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: 0;
}

.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.board-search {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.board-search input,
.board-search select {
  min-height: 48px;
  padding: 0 14px;
  border: var(--border);
  background: var(--color-white);
  font-size: 15px;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: var(--border);
}

.board-table th,
.board-table td {
  padding: 16px;
  border-bottom: var(--border);
  text-align: center;
}

.board-table th {
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
}

.board-table td:nth-child(2) {
  text-align: left;
}

.board-table a:hover {
  text-decoration: underline;
}

.board-empty {
  padding: 64px 20px;
  text-align: center;
  color: var(--color-gray-500);
}

.board-empty::before {
  content: none !important;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: var(--border);
  background: var(--color-white);
  font-weight: 700;
}

.pagination .is-current {
  background: var(--color-black);
  color: var(--color-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: var(--border);
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 28px;
}

.news-card__url {
  font-size: 14px;
  color: var(--color-gray-500);
  word-break: break-all;
}

.notice-view {
  border: var(--border);
  background: var(--color-white);
}

.notice-view__head {
  padding: 32px;
  border-bottom: var(--border);
}

.notice-view__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 12px;
}

.notice-view__meta {
  color: var(--color-gray-500);
  font-size: 14px;
}

.notice-view__body {
  padding: 40px 32px;
  min-height: 240px;
}

.notice-view__nav {
  display: flex;
  justify-content: center;
  padding: 24px;
  border-top: var(--border);
}

.zone-list {
  display: grid;
  gap: 24px;
}

.zone-block {
  border: var(--border);
  background: var(--color-white);
  padding: 28px;
}

.zone-block h3 {
  font-size: 32px;
  margin-bottom: 8px;
}

.zone-block p {
  color: var(--color-gray-700);
  margin-bottom: 16px;
}

.zone-block ul {
  display: grid;
  gap: 8px;
}

.zone-block li {
  padding-left: 16px;
  position: relative;
}

.zone-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border: 1px solid var(--color-black);
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.transport-card {
  border: var(--border);
  background: var(--color-white);
  padding: 28px;
}

.transport-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.transport-card ul {
  display: grid;
  gap: 6px;
}

.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-gray-700);
}

@media (max-width: 1023px) {
  .program-grid,
  .news-grid,
  .transport-grid {
    grid-template-columns: 1fr 1fr;
  }

  .character-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .program-grid,
  .news-grid,
  .transport-grid {
    grid-template-columns: 1fr;
  }

  .info-item,
  .overview-table,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
  }

  .overview-table th,
  .info-item .label {
    border-right: 0;
    border-bottom: var(--border);
  }

  .board-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .board-search {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .board-search input {
    flex: 1;
    min-width: 0;
  }

  .board-table thead {
    display: none;
  }

  .board-table,
  .board-table tbody,
  .board-table tr,
  .board-table td {
    display: block;
    width: 100%;
  }

  .board-table tr {
    border-bottom: var(--border);
    padding: 16px;
  }

  .board-table td {
    border: 0;
    padding: 4px 0;
    text-align: left;
  }

  .board-table td:nth-child(1)::before { content: '번호 '; font-weight: 700; }
  .board-table td:nth-child(3)::before { content: '작성일 '; font-weight: 700; }
  .board-table td:nth-child(4)::before { content: '조회 '; font-weight: 700; }
}
