* {
  font-family: "Pretendard", "Dotum", "돋움", "Arial", sans-serif;
}
/* ========== 공통: 컨테이너 ========== */
.framework-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  font-family: "굴림", Gulim, AppleGothic, Sans-serif;
  user-select: none;

  /* 모바일에서만 가로 스크롤 */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== 섹션(라벨+내용) ========== */
.framework-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;

  /* 데스크톱 기준 한 줄 폭 확보(필요 시 스크롤) */
  min-width: 1200px;
}
.section-label {
  background: #e8e8e8;
  height: 8rem;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  width: 10rem;
  min-width: 8rem;
  text-align: center;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.implementation-tasks .section-label,
.research-contents .section-label {
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ========== 연구 목표(상단 알약) ========== */
.research-goal .goal-content {
  background: #f0f0f0;
  border-radius: 8px;
  padding: 1rem 0;
  text-align: center;
}
.goal-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* ========== 단계별 추진과제 ========== */

/* 상단 Chevron 스타일 */
.implementation-tasks .section-content {
  position: relative;
  padding-top: 40px; /* Chevron 아래쪽 여백 확보 */
}

.implementation-tasks .section-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  margin: -1rem 0;

  /* 아래쪽으로 갈수록 어두워지는 음영 */
  background: linear-gradient(180deg, #ccc, #f5f5f5 70%, transparent 100%);

  /* 중앙이 아래로 내려오는 Chevron 모양 */
  clip-path: polygon(0% 100%, 50% 0%, 100% 100%, 100% 100%, 0% 100%);
}

/* 2) 단계 플로우(Grid 레이아웃) */
.implementation-tasks .tasks-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}
.arrow svg {
  width: 24px;
  height: 100%;
  stroke: #999;
  stroke-width: 2;
  transition: 0.3s;
}
.arrow:hover svg {
  stroke: #666;
  transform: scale(1.1);
}

/* 3) 단계 카드 */
.task-stage {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.stage-number {
  background: #f0f0f0;
  color: #333;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 15px;
  margin-bottom: 1rem;
  text-align: center;
  border-radius: 0.5rem;
}
.stage-content {
  font-size: 13px;
  color: #333;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  gap: 0.5rem;
  min-height: 6rem;
  text-align: center;
}
/* 하위 문단 없는 단일 메시지일 때 연한 배경 */
.stage-content:not(:has(.stage-sub)) {
  background: #f5f5f5;
}
/* 하위 문단(두 줄 박스) */
.stage-sub {
  font-size: 12px;
  background: #f5f5f5;
  width: 100%;
  padding: 0.4rem 0;
  border-radius: 0.5rem;
}

/* ========== 부문별 연구 목표 ========== */
.sectoral-goals {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
}
.sectoral-goals .sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  width: 100%;
}
.sector-item {
  display: flex;
  flex-direction: column;

  text-align: center;
  min-width: 0;
}
/*
.sector-title {
  font-weight: bold;
  color: #333;
  font-size: 14px;
  margin-bottom: 10px;
  background: #f5f5f5;
  border-radius: 0.5rem;
  padding: 0.4rem 0;
}
*/
.sector-title {
  display:flex;
  justify-content: center;
  align-items: center;
  gap:8px;

  margin-bottom: 10px;
  border-radius: 0.5rem;
  padding: 0.4rem 0;

  background: #f5f5f5;
}
.sector-title-text {
  font-weight: bold;
  color: #333;
  font-size: 14px;
}
.sector-title-icon {
  width: 18px;
  height: 18px;

  display: inline-block;
}
.sector-title-icon svg {
  width: 100%;
  height: 100%;
}
.sector-desc {
  display: flex;
  flex: 1;
  align-items: center;

  font-size: 12px;
  color: #555;
  line-height: 1.45;
  background: #f5f5f5;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

/* ========== 주요 연구 내용(Grid 레이아웃) ========== */
.research-contents .contents-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  width: 100%;
}
.content-sector {
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  min-height: 10rem;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
  min-width: 0;
}
/* 확대경 아이콘 */
.content-sector::after {
  content: "🔍";
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 14px;
  opacity: 0;
  transition: 0.3s;
}
.content-sector:hover::after {
  opacity: 0.6;
}

.content-title {
  font-weight: bold;
  color: #333;
  font-size: 14px;
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}
.content-list {
  list-style: none;
  margin: 0;
  padding: 0 1rem;
}
.content-list li {
  font-size: 12px;
  color: #555;
  line-height: 1.45;
  margin-bottom: 6px;
  padding-left: 12px;
  position: relative;
}
.content-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #666;
  font-weight: bold;
}
.content-list li:last-child {
  margin-bottom: 0;
}



/* =========================================================== */
/*                      25.10.15 추가                           */
/*             pagenation 코드 publication.jsp에서 추출          */
/* =========================================================== */

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination .arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.pagination .arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #6c757d;
}

.pagination .arrow i {
  font-size: 12px;
}

.paging_align {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 기존 페이지네이션 스타일 개선 */
.pagination a {
  display: inline-block;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #f8f9fa;
}

.pagination .on a {
  color: #fff;
}