/* Programs Section Styles */

/* 프로그램 섹션 */
.programs {
  padding: 40px 0;
  background-color: #d9d3c2;
}

.page-header {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.page-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 18px;
  color: #666;
}

/* 섹션 헤더 */
.section-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #333;
}

.section-description {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

.card-link.disabled {
  pointer-events: none;
  cursor: default;
}

.card-header-title {
  margin-top: 24px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  padding-bottom: 8px;
}

/* 카드 그리드 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

/* 카드 스타일 */
.card {
  background: linear-gradient(to right, #131215, #101010, #131216);
  border-radius: 12px;
  padding: 25px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-category {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #333;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
}

.card-subtitle {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 4px;
}

.card-date {
  font-size: 12px;
  font-weight: bold;
  color: #95a5a6;
  background: rgba(0, 0, 0, 0.557);
  padding: 4px 8px;
  border-radius: 8px;
  align-self: flex-start;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: fit-content;
}

.card-description {
  font-size: 12px;
  color: #ecf0f1;
  background: rgba(0, 0, 0, 0.4);
  padding: 12px;
  border-radius: 0, 0, 4, 4px;
  text-align: center;
  margin: 0 -25px -25px -25px;
}

.card.disabled {
  position: relative;
  pointer-events: none;
  cursor: default;
}

.card.disabled .card-content {
  opacity: 0.4; /* 카드 내용만 투명하게 */
}

.card.disabled::after {
  content: "2026년 프로그램 미운영 (개선 중)";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  z-index: 10;
}

/* 프로그램 섹션 컨테이너 간격 */
.programs .container {
  margin-bottom: 140px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  .section-title {
    font-size: 20px;
  }
}
