@charset "utf-8";
/* ═══════════════════════════════════════════
   achievements.css — achievements.php(得獎事蹟 목록) 전용 스타일 (awds.css와 완전 동일)
   공통 영역(reset/root/body/sub-nav/page-title/breadcrumb)은
   style.css + page-common.css 에 있으므로 여기서는 재정의하지 않습니다.
═══════════════════════════════════════════ */

/* ══════════════════════════════════════
   achievements.css – ผลงานที่ได้รับรางวัล
   ══════════════════════════════════════ */

.awards-section {
  max-width: 1400px;
  margin: 60px auto 80px;
  padding: 0 40px;
}

/* ── 3열 그리드 ── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 50px;
}

@media (max-width: 900px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .awards-grid { grid-template-columns: 1fr; }
  .awards-section { padding: 0 20px; }
}

/* ── 카드 ── */
.award-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ── 이미지 영역 ── */
.award-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8f8f8;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s ease;
}

.award-card:hover .award-card-img img {
  transform: scale(1.04);
}

/* ── 텍스트 영역 ── */
.award-card-body {
  padding: 20px;
  flex: 1;
}

.award-date {
  color: #1e6bbf;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.award-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
  line-height: 1.55;
}

.award-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 빈 상태 ── */
.awards-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #94a3b8;
  font-size: 15px;
}

/* ── 페이지네이션 ── */
.awards-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 50px 0 10px;
}

.awards-pagination .pg-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: #333;
}

.awards-pagination .pg-btn:hover:not(:disabled):not(.active) {
  border-color: var(--green);
  color: var(--green);
  border-radius: 4px;
}
.awards-pagination .pg-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  border-radius: 4px;
  font-weight: 700;
}

.awards-pagination .pg-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.awards-pagination .pg-btn.pg-prev,
.awards-pagination .pg-btn.pg-next {
  font-size: 18px;
}


/* ═══════════════════════════════════════════
   HORIZONTAL SCROLL WRAPPER (mobile projects)
═══════════════════════════════════════════ */
.scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-wrapper::-webkit-scrollbar { display: none; }

/* Swipe hint dots */
.swipe-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.swipe-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ccc;
  transition: background .3s;
}
.swipe-dots span.active { background: var(--green); }

/* ══════════════════════════
   RESPONSIVE  ≤ 1024px 
══════════════════════════ */
@media (max-width: 1024px){
  .sub-nav { top: 76px; }
  .sub-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px; 
    scrollbar-width: none;
  }
  .sub-nav-inner::-webkit-scrollbar { display: none; }
  
  .sub-nav-inner a { padding: 0 20px; font-size: 14px; }
  .sub-nav-inner a::before { display: none; } 

  
  .breadcrumb-bar::after {
    margin: 0 auto 30px;  /* 기존 PC용 60px에서 30px로 절반 축소 */
  }

  /* Footer */
  footer { padding: 36px 24px 20px !important; width: 100% !important; box-sizing: border-box !important; }
  .footer-inner { width: 100% !important; max-width: 100% !important; padding: 0 28px; box-sizing: border-box !important; }
  .footer-top { flex-direction: column; gap: 20px; }
}


/* ⚙ 이 페이지만 breadcrumb 여백이 공통값(page-common.css)과 달라서 오버라이드 */
.breadcrumb { padding-bottom: 70px; }
.breadcrumb-bar::after { margin-bottom: 60px; }

/* ══════════════════════════
   RESPONSIVE ≤ 768px (모바일 및 타임라인 통합 보정)
══════════════════════════ */
@media (max-width: 768px) {
  .sub-nav { top: 52px; }
  .sub-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 8px;
    scrollbar-width: none;
  }
  .sub-nav-inner::-webkit-scrollbar { display: none; }
  .sub-nav-inner a { padding: 0 18px; font-size: 14px; }

  .page-title-block { padding: 60px 0 0; }
  .page-title-block h1 { font-size: 24px; }
  .title h4 { font-size: 60px; }
  .breadcrumb-bar::after { margin: 0 20px 30px; }

   

  /* 🎯 모바일 푸터 레이아웃 완벽 일치 */
  footer { padding: 28px 16px 16px !important; }
  .footer-top { flex-direction: column; gap: 16px; }
  .footer-info { font-size: 16px; color: var(--text); line-height: 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-inner { padding: 0 14px; }
  .footer-family { margin-top: 20px; }
} /* 💡 768px 미디어쿼리를 닫아주는 중괄호 배치 완료 */


/* ═══════════════════════════════════════════
     SMALL MOBILE (≤ 390px)  
═══════════════════════════════════════════ */
@media (max-width: 390px) {
  .footer-links { gap: 10px; }
  .footer-links a { font-size: 11px; }
}