/* ===============================
   PAGE
=============================== */
.program-page {
  max-width: 1300px;
  padding: 40px 0;
  margin: 0 auto;
}

.program-section {
  margin-bottom: 60px;
}

/* 섹션 내부 컨테이너 */
.program-title,
.program-list {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.program-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

/* ===============================
   GRID
=============================== */
.program-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===============================
   CARD
=============================== */
.program-card {
  border-radius: 16px;
  background: #212121;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}


.program-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #111;
}

/* ===============================
   IMAGE
=============================== */
.program-card__image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.program-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ❌ STATUS BADGE 제거됨 */

/* ===============================
   CONTENT
=============================== */
.program-card__content {
  padding: 16px;
  flex: 1;
}

.program-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-card__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===============================
   CTA
=============================== */
.program-card__cta {
  margin: 16px;
  padding: 12px 0;
  border-radius: 10px;
  background: #ea541a;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* ===============================
   EMPTY
=============================== */
.program-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: #999;
}

/* ===============================
   WRITE BUTTON
=============================== */
.program-write-fixed {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  z-index: 1000;
  height: 56px;
  padding: 0 26px;
  border-radius: 28px;
  background: #ea541a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 1200px) {
  .program-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .program-list {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FILTER
========================= */

.program-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.program-filter button {
  padding: 8px 18px;
  border-radius: 999px;
  background: #1c1d20;
  color: #aaa;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #333;
  cursor: pointer;
  transition: all .2s ease;
}

.program-filter button:hover {
  color: #fff;
  border-color: #555;
}

.program-filter .is-active {
  color: #fff;
  border-color: #ea541a;
  background: rgb(234 84 26);
}

@media(max-width:500px){
  .program-page{
    padding: 0 16px;
  }
}