@charset "utf-8";
/**
 * Eoingti Board No.2 - Improved Modern Design
 * Base: KBoard Default + Custom Enhancements
 * 최종 완성 버전 - 깔끔하게 정리
 */

/* ========================================
   1. 기본 버튼 스타일
======================================== */
a.kboard-eoingti-board-data-button-small,
input.kboard-eoingti-board-data-button-small,
button.kboard-eoingti-board-data-button-small {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 10px 20px;
  height: auto;
  min-height: 38px;
  font-size: 14px;
  font-weight: 500;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

a.kboard-eoingti-board-data-button-small:hover,
input.kboard-eoingti-board-data-button-small:hover,
button.kboard-eoingti-board-data-button-small:hover {
  background: #f8f9fa !important;
  border-color: #d0d0d0;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kboard-eoingti-board-data-button-small.primary {
  color: #fff !important;
  background: #667eea !important;
  border: none;
}

.kboard-eoingti-board-data-button-small.primary:hover {
  background: #5568d3 !important;
}

/* ========================================
   2. 리스트 컨테이너
======================================== */
#kboard-eoingti-board-data-list {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

#kboard-eoingti-board-data-list ul,
.kboard-eoingti-board-data-pagination-pages {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* ========================================
   3. 헤더 영역 (정보 + 뷰 옵션 + 정렬)
======================================== */
.kboard-eoingti-board-data-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.kboard-eoingti-board-data-total-count {
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

.kboard-eoingti-board-data-total-count strong {
  color: #667eea;
  font-size: 18px;
  font-weight: 700;
  margin: 0 4px;
}

.kboard-eoingti-board-data-view-options {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 8px;
}

.kboard-eoingti-board-data-view-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kboard-eoingti-board-data-view-option:hover {
  color: #333;
  background: rgba(102, 126, 234, 0.1);
}

.kboard-eoingti-board-data-view-option.active {
  color: #667eea;
  background: #fff;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.15);
}

.kboard-eoingti-board-data-view-option .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.kboard-eoingti-board-data-sort {
  display: flex;
  align-items: center; /* ✅ 수직 중앙정렬 */
  justify-content: flex-end;
  height: 42px; /* ✅ 부모 높이를 select 높이와 동일하게 지정 */
}

.kboard-eoingti-board-data-sort form {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.kboard-eoingti-board-data-sort select {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-align-last: center;
  height: 42px;
  line-height: normal;
  padding: 8px 36px 8px 14px;
  font-size: 14px;
  color: #333;
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M6 9L1 4h10z"/></svg>') no-repeat right 12px center;
  background-size: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  vertical-align: middle;
}

.kboard-eoingti-board-data-sort select {
  margin: 0 !important;      /* ✅ 자동 마진 제거 */
  line-height: 42px !important; /* ✅ 텍스트 수직 중앙 맞춤 */
  height: 42px !important;
  padding: 0 36px 0 14px !important; /* ✅ 균등 여백 */
  position: relative;
  top: 1px; /* ✅ 미세 보정 */
}

.kboard-eoingti-board-data-sort select:hover {
  border-color: #667eea;
}

.kboard-eoingti-board-data-sort select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* ========================================
   4. 카테고리 영역
======================================== */
.kboard-category {
    padding: 0 40px 0px !important;
}

.kboard-category {
  margin-bottom: 25px;
}

/* ✅ PC 전용 표시 */
@media (max-width: 768px) {
  .kboard-category-list {
    display: none !important;
  }
}

.kboard-category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 20px;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.kboard-category-list li {
  margin: 0;
  padding-top: 10px;
  list-style: none;
}

.kboard-category-list li a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  background: #f8f9fa;
  border: 1px solid transparent;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.3s;
}

/* hover 효과 */
.kboard-category-list li a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border-color: #667eea;
}

/* ✅ 선택된 카테고리 버튼 */
.kboard-category-list li.kboard-category-selected a {
  background: #eef1ff;
  color: #4a55a2;
  border-color: #dce1f7;
  font-weight: 600;
  box-shadow: none;
}

/* ✅ "전체" 버튼은 선택되어도 너무 튀지 않게 */
.kboard-category-list li:first-child.kboard-category-selected a {
  background: #eef1ff;
  color: #4a55a2;
  border-color: #dce1f7;
  font-weight: 600;
  box-shadow: none;
}

/* ========================================
   5. 카드형 리스트
======================================== */
.kboard-eoingti-board-data-card-list-wrap {
  display: none !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.kboard-eoingti-board-data-card-item {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.5s ease-out;
}

.kboard-eoingti-board-data-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.kboard-eoingti-board-data-card-item:nth-child(1) { animation-delay: 0.05s; }
.kboard-eoingti-board-data-card-item:nth-child(2) { animation-delay: 0.1s; }
.kboard-eoingti-board-data-card-item:nth-child(3) { animation-delay: 0.15s; }
.kboard-eoingti-board-data-card-item:nth-child(4) { animation-delay: 0.2s; }
.kboard-eoingti-board-data-card-item:nth-child(5) { animation-delay: 0.25s; }
.kboard-eoingti-board-data-card-item:nth-child(6) { animation-delay: 0.3s; }

.kboard-eoingti-board-data-card-link,
.kboard-eoingti-board-data-card-item a {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

/* 썸네일 영역 */
.kboard-eoingti-board-data-card-thumbnail {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f5f7fa;
}

.kboard-eoingti-board-data-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kboard-eoingti-board-data-card-item:hover .kboard-eoingti-board-data-card-thumbnail img {
  transform: scale(1.08);
}

/* 이미지 없을 때 배경 */
.kboard-eoingti-board-data-no-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
}

.kboard-no-image-text {
  font-size: 14px;
  font-weight: 500;
  color: #a0a0a0;
  letter-spacing: -0.3px;
}

/* 썸네일 위 배지 (콘텐츠 유형 - cate04) */
.kboard-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  z-index: 2;
  text-decoration: none !important;
}

/* 공지사항, 인기글 배지 */
.kboard-eoingti-board-data-notice-item .kboard-card-badge {
  background: #ff5252;
}

.kboard-eoingti-board-data-popular-item .kboard-card-badge {
  background: #ffa726;
}

/* 대상 배지 영역 - 배경 없이 배지만 */
.kboard-card-target-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 15px;
  background: transparent;
  z-index: 1;
}

.kboard-card-target-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #4a90e2;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 카드 컨텐츠 영역 */
.kboard-eoingti-board-data-card-content {
  padding: 20px;
}

.kboard-eoingti-board-data-card-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.kboard-eoingti-board-data-card-item:hover .kboard-eoingti-board-data-card-title {
  color: #667eea;
}

/* 메타 정보 영역 */
.kboard-eoingti-board-data-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
}

.kboard-card-meta-row {
  display: flex;
  align-items: center;
  line-height: 1.4;
}

/* 태그 스타일 */
.kboard-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  text-decoration: none !important;
}

/* 출처 스타일 */
.kboard-card-source {
  display: inline-block;
  font-size: 12px;
  color: #999;
  font-weight: 400;
  line-height: 1.4;
}

.kboard-eoingti-board-data-date {
  color: #999;
  font-size: 12px;
  line-height: 1.4;
}

/* ========================================
   6. F, N 아이콘 스타일 (파스텔 색상)
======================================== */
/* F (첨부파일) 아이콘 - 파스텔 블루 */
.kboard-attach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  background: #A4C8FF;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: 0;
  user-select: none;
  margin: 0 0 0 4px;
}

/* N (NEW) 아이콘 - 파스텔 핑크 */
.kboard-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  background: #FFB4B4;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: 0;
  user-select: none;
  margin: 0 0 0 4px;
}

/* ========================================
   7. 목록형 테이블 (최소한의 스타일만 적용)
======================================== */
.kboard-eoingti-board-data-table-list {
  display: block !important;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 40px;
  padding: 0;
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.kboard-eoingti-board-data-table-list table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  padding: 0;
}

.kboard-eoingti-board-data-table-list thead {
  background: #fff;
  border-bottom: 2px solid #333;
}

.kboard-eoingti-board-data-table-list thead td {
  padding: 14px 12px;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', Arial, sans-serif !important;
  color: #222 !important;
  text-align: center;
  border: none;
  margin: 0;
  background: #fff;
  vertical-align: middle;
}

.kboard-eoingti-board-data-table-list tbody tr {
  border-bottom: 1px solid #ddd;
  transition: background 0.15s;
}

.kboard-eoingti-board-data-table-list tbody tr:hover {
  background: #f9f9f9;
}

.kboard-eoingti-board-data-table-list tbody tr:last-child {
  border-bottom: none;
}

.kboard-eoingti-board-data-table-list tbody td {
  padding: 14px 12px;
  font-size: 14px;
  color: #333;
  text-align: center;
  vertical-align: middle;
  border: none;
}

.kboard-eoingti-board-data-table-list td.kboard-list-uid {
  width: 80px;
  font-weight: 500;
  color: #666;
}

.kboard-eoingti-board-data-table-list td.kboard-list-category {
  width: 120px;
  color: #333;
  font-weight: 500;
}

.kboard-eoingti-board-data-table-list td.kboard-list-title {
  text-align: left;
  padding-left: 20px;
}

.kboard-eoingti-board-data-table-list td.kboard-list-title a {
  color: #333;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.kboard-eoingti-board-data-table-list td.kboard-list-title a:hover {
  color: #000;
}

.kboard-eoingti-board-data-table-list td.kboard-list-content-type {
  width: 130px;
}

.kboard-eoingti-board-data-table-list td.kboard-list-target {
  width: 150px;
  color: #666;
  font-size: 13px;
}

.kboard-eoingti-board-data-table-list td.kboard-list-date {
  width: 100px;
  color: #666;
  font-size: 13px;
}

.kboard-eoingti-board-data-table-list td.kboard-list-view {
  width: 80px;
  color: #666;
}

.kboard-eoingti-board-data-table-list tr.kboard-list-notice,
.kboard-eoingti-board-data-table-list tr.kboard-list-popular {
  background: #fafafa;
}

.kboard-eoingti-board-data-table-list tr.kboard-list-notice td.kboard-list-uid,
.kboard-eoingti-board-data-table-list tr.kboard-list-popular td.kboard-list-uid {
  color: #333;
  font-weight: 700;
}

/* ========================================
   8. 페이징
======================================== */
.kboard-eoingti-board-data-pagination {
  margin: 40px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

.kboard-eoingti-board-data-pagination-pages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.kboard-eoingti-board-data-pagination-pages li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.kboard-eoingti-board-data-pagination-pages li a:hover {
  color: #333;
  border-color: #d0d0d0;
  background: #f8f9fa;
}

.kboard-eoingti-board-data-pagination-pages li.active a {
  color: #333;
  background: #fff;
  border: 1px solid #667eea;
  font-weight: 600;
}

/* ========================================
   9. 검색 폼
======================================== */
.kboard-eoingti-board-data-search {
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.kboard-eoingti-board-data-search form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kboard-eoingti-board-data-search select {
  padding: 12px 36px 12px 14px;
  margin-top: 20px;
  font-size: 14px;
  color: #333;
  background: #f8f9fa url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M6 9L1 4h10z"/></svg>') no-repeat right 12px center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  height: 44px;
}

.kboard-eoingti-board-data-search select:hover,
.kboard-eoingti-board-data-search select:focus {
  border-color: #667eea;
}

.kboard-eoingti-board-data-search select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.kboard-eoingti-board-data-search input[type="text"] {
  flex: 1;
  min-width: 250px;
  margin-top: 20px;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.2s;
  height: 44px;
}

.kboard-eoingti-board-data-search input[type="text"]:focus {
  outline: none;
  background: #fff;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.kboard-eoingti-board-data-search button {
  padding: 12px 20px;
  height: 44px;
}

.kboard-eoingti-board-data-control {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* ========================================
   10. 상세 페이지
======================================== */
#kboard-eoingti-board-data-document {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

.kboard-eoingti-board-data-document-wrap {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.kboard-eoingti-board-data-document-header {
  padding: 40px 40px 0;
}

.kboard-eoingti-board-data-document-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  word-break: keep-all;
}

.kboard-eoingti-board-data-document-meta {
  padding: 20px 40px;
}

.kboard-eoingti-board-data-meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.kboard-eoingti-board-data-meta-badge-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 16px;
}

.kboard-eoingti-board-data-type-badge {
  color: #fff;
  background: #667eea;
}

.kboard-eoingti-board-data-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #999;
}

.kboard-eoingti-board-data-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kboard-eoingti-board-data-meta-label {
  font-weight: 600;
  color: #666;
}

.kboard-eoingti-board-data-meta-divider {
  color: #ddd;
}

.kboard-education-info-box {
  margin: 0 40px;
  padding: 25px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.15);
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* education-info-box 내부 요소 스타일 */
.kboard-education-info-box > div,
.kboard-education-info-box > p {
  margin: 10px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.kboard-education-info-box > div:first-child,
.kboard-education-info-box > p:first-child {
  margin-top: 0;
}

.kboard-education-info-box > div:last-child,
.kboard-education-info-box > p:last-child {
  margin-bottom: 0;
}

/* 필드 테이블 형식 지원 */
.kboard-education-info-box table {
  width: 100%;
  border-collapse: collapse;
}

.kboard-education-info-box table td {
  padding: 8px 12px;
  vertical-align: top;
  word-break: break-word;
}

.kboard-education-info-box table td:first-child {
  font-weight: 600;
  color: #666;
  width: 200px;
}

/* 필드 라벨 강조 */
.kboard-education-info-box strong {
  font-weight: 600;
  color: #666;
}

.kboard-eoingti-board-data-document-content {
  padding: 40px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  word-break: break-word;
}

.kboard-eoingti-board-data-document-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.kboard-eoingti-board-data-document-content p {
  margin: 0 0 1.2em;
}

.kboard-eoingti-board-data-document-content h1,
.kboard-eoingti-board-data-document-content h2,
.kboard-eoingti-board-data-document-content h3 {
  margin: 1.5em 0 0.8em;
  font-weight: 700;
  color: #222;
}

.kboard-eoingti-board-data-document-content h1 { font-size: 28px; }
.kboard-eoingti-board-data-document-content h2 { font-size: 24px; }
.kboard-eoingti-board-data-document-content h3 { font-size: 20px; }

.kboard-eoingti-board-data-document-content ul,
.kboard-eoingti-board-data-document-content ol {
  margin: 1em 0;
  padding-left: 2em;
}

.kboard-eoingti-board-data-document-content li {
  margin: 0.5em 0;
}

.kboard-eoingti-board-data-document-content blockquote {
  margin: 1.5em 0;
  padding: 20px 24px;
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  border-radius: 0 8px 8px 0;
  color: #555;
  font-style: italic;
}

.kboard-eoingti-board-data-document-content code {
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: #f1f1f1;
  border-radius: 4px;
  color: #e83e8c;
}

.kboard-eoingti-board-data-document-content pre {
  margin: 1.5em 0;
  padding: 20px;
  background: #2d2d2d;
  border-radius: 8px;
  overflow-x: auto;
}

.kboard-eoingti-board-data-document-content pre code {
  padding: 0;
  background: transparent;
  color: #f8f8f2;
}

.kboard-eoingti-board-data-document-attach {
  margin: 0 40px 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.kboard-eoingti-board-data-attach-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.kboard-eoingti-board-data-attach-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kboard-eoingti-board-data-attach-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none !important;
  color: #333;
  transition: all 0.2s;
}

.kboard-eoingti-board-data-attach-item:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
  transform: translateX(4px);
  text-decoration: none !important;
}

.kboard-eoingti-board-data-attach-name {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
}

.kboard-eoingti-board-data-comments-area {
  margin: 0 40px 30px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.kboard-eoingti-board-data-document-navi {
  display: flex;
  gap: 20px;
  margin: 0 40px 30px;
  padding: 25px 0;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

.kboard-eoingti-board-data-navi-item {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.kboard-eoingti-board-data-navi-item:hover {
  background: #fff;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none !important;
}

.kboard-eoingti-board-data-navi-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-decoration: none !important;
}

.kboard-eoingti-board-data-navi-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

.kboard-eoingti-board-data-navi-item:hover .kboard-eoingti-board-data-navi-title {
  color: #667eea;
  text-decoration: none !important;
}

.kboard-eoingti-board-data-document-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 25px 40px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}

.kboard-eoingti-board-data-control-left,
.kboard-eoingti-board-data-control-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kboard-eoingti-board-data-button-reply {
  color: #667eea !important;
  border-color: #667eea;
}

.kboard-eoingti-board-data-button-reply:hover {
  background: rgba(102, 126, 234, 0.1) !important;
}

.kboard-eoingti-board-data-button-edit {
  color: #28a745 !important;
  border-color: #28a745;
}

.kboard-eoingti-board-data-button-edit:hover {
  background: rgba(40, 167, 69, 0.1) !important;
}

.kboard-eoingti-board-data-button-delete {
  color: #dc3545 !important;
  border-color: #dc3545;
}

.kboard-eoingti-board-data-button-delete:hover {
  background: rgba(220, 53, 69, 0.1) !important;
}

/* ========================================
   11. 에디터 페이지
======================================== */
#kboard-eoingti-board-data-editor {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

#kboard-eoingti-board-data-editor .kboard-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

#kboard-eoingti-board-data-editor .kboard-attr-row {
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

#kboard-eoingti-board-data-editor .attr-name {
  width: 150px !important;
  min-width: 150px !important;
  font-weight: 400 !important;
  color: #333 !important;
  display: inline-block;
  vertical-align: middle;
}

#kboard-eoingti-board-data-editor .attr-value {
  display: inline-block;
  width: calc(100% - 160px);
  vertical-align: middle;
  line-height: 1.8;
}

#kboard-eoingti-board-data-editor input[type="text"],
#kboard-eoingti-board-data-editor input[type="email"],
#kboard-eoingti-board-data-editor input[type="number"],
#kboard-eoingti-board-data-editor input[type="date"],
#kboard-eoingti-board-data-editor select,
#kboard-eoingti-board-data-editor textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.2s;
  box-sizing: border-box;
}

#kboard-eoingti-board-data-editor input:focus,
#kboard-eoingti-board-data-editor select:focus,
#kboard-eoingti-board-data-editor textarea:focus {
  outline: none;
  background: #fff;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#kboard-eoingti-board-data-editor textarea {
  min-height: 280px;
  line-height: 1.6;
}

#kboard-eoingti-board-data-editor .attr-value label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #f8f9fa;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.2s;
  vertical-align: middle;
}

#kboard-eoingti-board-data-editor .attr-value label:hover {
  background: #f1f3f5;
}

#kboard-eoingti-board-data-editor .kboard-attr-row:has(input[type="file"]) {
  align-items: flex-start;
  margin-bottom: 12px;
}

#kboard-eoingti-board-data-editor .attr-value a[href*="upload"],
#kboard-eoingti-board-data-editor .attr-value a.kboard-button-file,
#kboard-eoingti-board-data-editor .attr-value a.kboard-button-photo {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px !important;
  min-height: 38px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 8px;
}

#kboard-eoingti-board-data-editor .attr-value a[href*="upload"]:hover,
#kboard-eoingti-board-data-editor .attr-value a.kboard-button-file:hover,
#kboard-eoingti-board-data-editor .attr-value a.kboard-button-photo:hover {
  background: #f8f9fa !important;
  border-color: #d0d0d0 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

#kboard-eoingti-board-data-editor input[type="file"] {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  background: transparent;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  margin-top: 6px;
}

#kboard-eoingti-board-data-editor input[type="file"]::-webkit-file-upload-button {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 10px;
}

#kboard-eoingti-board-data-editor input[type="file"]::-webkit-file-upload-button:hover {
  background: #f8f9fa;
  border-color: #d0d0d0;
}

#kboard-eoingti-board-data-editor .attr-value a:not([href*="upload"]):not([href*="delete"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  min-height: 38px;
  font-size: 14px;
  font-weight: 500;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-right: 8px;
}

#kboard-eoingti-board-data-editor .attr-value a:not([href*="upload"]):not([href*="delete"]):hover {
  background: #f8f9fa !important;
  border-color: #d0d0d0;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#kboard-eoingti-board-data-editor .attr-value a[href*="delete"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  min-height: 38px;
  font-size: 14px;
  font-weight: 500;
  color: #dc3545 !important;
  background: #fff !important;
  border: 1px solid #dc3545;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#kboard-eoingti-board-data-editor .attr-value a[href*="delete"]:hover {
  background: rgba(220, 53, 69, 0.1) !important;
  border-color: #bd2130;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#kboard-eoingti-board-data-editor .kboard-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 25px 40px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
  margin-top: 25px;
}

#kboard-eoingti-board-data-editor .kboard-control .left,
#kboard-eoingti-board-data-editor .kboard-control .right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 에디터 버튼 크기 완전히 통일 */
#kboard-eoingti-board-data-editor .kboard-control a.kboard-eoingti-board-data-button-small,
#kboard-eoingti-board-data-editor .kboard-control button.kboard-eoingti-board-data-button-small {
  padding: 10px 20px !important;
  min-height: 38px !important;
  height: auto !important;
  line-height: 1 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

/* dashicons 크기 고정 */
#kboard-eoingti-board-data-editor .kboard-control .dashicons {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

/* ========================================
   12. 반응형 디자인
======================================== */
@media screen and (max-width: 1200px) {
  .kboard-eoingti-board-data-card-list-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  #kboard-eoingti-board-data-list {
    padding: 20px 15px;
  }

  .kboard-eoingti-board-data-list-header {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }

  .kboard-eoingti-board-data-total-count {
    width: 100%;
    text-align: center;
  }

  .kboard-eoingti-board-data-sort {
    width: 100%;
    justify-content: center;
  }

  .kboard-eoingti-board-data-sort form {
    width: auto;
    display: flex;
    justify-content: center;
  }

  .kboard-eoingti-board-data-sort select {
    width: auto;
    min-width: 160px;
    text-align: center;
    text-align-last: center;
  }

  .kboard-eoingti-board-data-card-list-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kboard-eoingti-board-data-card-thumbnail {
    height: 200px;
  }

  .kboard-eoingti-board-data-table-list {
    border: none !important;
    background: transparent !important;
  }

  .kboard-eoingti-board-data-table-list table {
    display: block !important;
  }

  .kboard-eoingti-board-data-table-list thead {
    display: none !important;
  }

  .kboard-eoingti-board-data-table-list tbody {
    display: block !important;
  }

  .kboard-eoingti-board-data-table-list tbody tr {
    display: block !important;
    margin-bottom: 15px !important;
    padding: 15px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  }

  .kboard-eoingti-board-data-table-list tbody td {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 10px 0 !important;
    padding-left: 85px !important;
    position: relative !important;
    font-size: 14px !important;
  }

  .kboard-eoingti-board-data-table-list tbody td:before {
    content: attr(data-label) !important;
    position: absolute !important;
    left: 0 !important;
    width: 75px !important;
    font-weight: 600 !important;
    color: #666 !important;
    font-size: 13px !important;
  }

.kboard-eoingti-board-data-table-list td.kboard-list-uid:before { content: "번호" !important; }
.kboard-eoingti-board-data-table-list td.kboard-list-category:before { content: "주제" !important; }
.kboard-eoingti-board-data-table-list td.kboard-list-title:before { content: "제목" !important; }
.kboard-eoingti-board-data-table-list td.kboard-list-attach:before { content: "첨부" !important; } /* ✅ 추가 */
.kboard-eoingti-board-data-table-list td.kboard-list-content-type:before { content: "파일" !important; }
.kboard-eoingti-board-data-table-list td.kboard-list-target:before { content: "작성자" !important; }
.kboard-eoingti-board-data-table-list td.kboard-list-user:before { content: "작성자" !important; }
.kboard-eoingti-board-data-table-list td.kboard-list-date:before { content: "작성일" !important; }
.kboard-eoingti-board-data-table-list td.kboard-list-view:before { content: "조회수" !important; }


  .kboard-category.category-mobile select {
    display: block !important;
    width: 100%;
    margin-bottom: 10px;
  }

  .kboard-eoingti-board-data-search {
    padding: 20px 15px;
  }

  .kboard-eoingti-board-data-search form {
    flex-direction: column;
    align-items: stretch;
  }

  .kboard-eoingti-board-data-search select,
  .kboard-eoingti-board-data-search input[type="text"],
  .kboard-eoingti-board-data-search button {
    width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
  }

  #kboard-eoingti-board-data-document {
    padding: 20px 10px;
  }

  .kboard-eoingti-board-data-document-header {
    padding: 30px 20px 0;
  }

  .kboard-eoingti-board-data-document-title {
    font-size: 24px;
  }

  .kboard-eoingti-board-data-document-meta {
    padding: 15px 20px;
  }

  .kboard-education-info-box {
    margin: 0 20px;
    padding: 20px;
    font-size: 13px;
  }
  
  .kboard-education-info-box table td:first-child {
    width: 120px;
    font-size: 12px;
  }

  .kboard-eoingti-board-data-document-content {
    padding: 30px 20px;
    font-size: 15px;
  }

  .kboard-eoingti-board-data-document-attach,
  .kboard-eoingti-board-data-comments-area,
  .kboard-eoingti-board-data-document-navi {
    margin: 0 20px 20px;
  }

  .kboard-eoingti-board-data-document-navi {
    flex-direction: column;
  }

  .kboard-eoingti-board-data-navi-item {
    min-width: 100%;
  }

  .kboard-eoingti-board-data-document-control {
    flex-direction: column;
    padding: 20px;
  }

  .kboard-eoingti-board-data-control-left,
  .kboard-eoingti-board-data-control-right {
    width: 100%;
    justify-content: center;
  }

  #kboard-eoingti-board-data-editor .attr-name {
    display: block;
    width: 100% !important;
    margin-bottom: 6px;
  }

  #kboard-eoingti-board-data-editor .attr-value {
    width: 100%;
  }

/* 모바일 - 에디터 버튼 레이아웃 */
  #kboard-eoingti-board-data-editor .kboard-control {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  
  #kboard-eoingti-board-data-editor .kboard-control .left {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 10px;
  }
  
  #kboard-eoingti-board-data-editor .kboard-control .left a {
    flex: 1;
    max-width: calc(50% - 5px);
  }
  
  #kboard-eoingti-board-data-editor .kboard-control .right {
    width: 100%;
  }
  
  #kboard-eoingti-board-data-editor .kboard-control .right button {
    width: 100%;
  }

  .kboard-attach-icon,
  .kboard-new-badge {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    font-size: 10px;
  }
}

@media screen and (max-width: 480px) {
  .kboard-eoingti-board-data-card-thumbnail {
    height: 180px;
  }

  .kboard-eoingti-board-data-document-title {
    font-size: 20px;
  }

  .kboard-eoingti-board-data-document-content {
    font-size: 14px;
  }

  .kboard-eoingti-board-data-pagination-pages li {
    display: none;
  }

  .kboard-eoingti-board-data-pagination-pages li.active,
  .kboard-eoingti-board-data-pagination-pages li.first-page,
  .kboard-eoingti-board-data-pagination-pages li.last-page,
  .kboard-eoingti-board-data-pagination-pages li.prev-page,
  .kboard-eoingti-board-data-pagination-pages li.next-page {
    display: block;
  }
}

/* ========================================
   13. 유틸리티
======================================== */
.kboard-eoingti-board-data-table-list thead td.kboard-list-title {
  text-align: center !important;
}

.kboard-eoingti-board-data-navi-item,
.kboard-eoingti-board-data-navi-item *,
.kboard-eoingti-board-data-attach-item,
.kboard-eoingti-board-data-attach-item *,
.kboard-eoingti-board-data-document-navi a,
.kboard-eoingti-board-data-document-attach a {
  text-decoration: none !important;
}

.kboard-eoingti-board-data-navi-item:hover,
.kboard-eoingti-board-data-navi-item:hover *,
.kboard-eoingti-board-data-attach-item:hover,
.kboard-eoingti-board-data-attach-item:hover *,
.kboard-eoingti-board-data-document-navi a:hover,
.kboard-eoingti-board-data-document-attach a:hover {
  text-decoration: none !important;
}

select option {
  color: #333 !important;
  background: #fff !important;
}

.kboard-poweredby,
.kboard-powered-by,
.kboard-media-poweredby,
a.kboard-media-poweredby,
a[href*="cosmosfarm.com"],
a[href*="products/kboard"],
*[class*="powered"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5568d3;
}

*:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

@media print {
  .kboard-eoingti-board-data-list-header,
  .kboard-eoingti-board-data-view-options,
  .kboard-eoingti-board-data-search,
  .kboard-eoingti-board-data-pagination,
  .kboard-eoingti-board-data-control,
  .kboard-eoingti-board-data-document-control,
  .kboard-eoingti-board-data-document-navi {
    display: none !important;
  }

  .kboard-eoingti-board-data-card-item,
  .kboard-eoingti-board-data-document-wrap {
    box-shadow: none;
    page-break-inside: avoid;
  }
}

@media screen and (min-width: 769px) {
  .kboard-category.category-mobile select {
    display: none !important;
  }
}

.kboard-eoingti-board-data-button-save i,
.kboard-eoingti-board-data-button-save i:before {
  color: #333 !important; /* 또는 #555, #000 등 명확한 색상 */
  opacity: 1 !important;
  visibility: visible !important;
}


/* 첨부파일 셀 스타일 */
.kboard-list-attach {
  text-align: center;
  position: relative;
  padding: 8px 5px;
  vertical-align: middle;
}

/* 첨부 링크 공통 */
.kb-attach {
  display: inline-block;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s;
}

.kb-attach:hover {
  transform: scale(1.1);
}

.kb-attach img {
  vertical-align: middle;
  display: block;
}

/* 파일 개수 뱃지 */
.kb-attach-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 다중 첨부 */
.kb-attach-multiple {
  position: relative;
}

.kb-attach-multiple:hover .kb-attach-count {
  background: #cc0000;
}

/* 텍스트 폴백 */
.kb-attach-text {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  padding: 4px 8px;
}

/* 반응형 */
@media (max-width: 768px) {
  .kb-attach img {
    width: 20px;
    height: 20px;
  }
  
  .kb-attach-count {
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    line-height: 16px;
  }
}


/* ============================================
   Eoingti 최신글 스타일 (최종 완성본)
   ============================================ */

#kboard-eoingti-latest-list {
  width: 100%;
  color: #333;
}

/* 각 게시물 박스 */
#kboard-eoingti-latest-list .eoingti-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding: 22px 0;
  transition: color 0.3s ease;
  flex-wrap: wrap; /* 좁은 화면에서 줄바꿈 허용 */
}

#kboard-eoingti-latest-list .eoingti-item:last-child {
  border-bottom: none;
}

/* 날짜 영역 */
#kboard-eoingti-latest-list .eoingti-date {
  width: 90px;
  text-align: center;
  flex-shrink: 0;
  color: #DBDBDB;
  transition: color 0.3s ease;
}

#kboard-eoingti-latest-list .eoingti-date .day {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  color: #DBDBDB;
  transition: color 0.3s ease;
}

#kboard-eoingti-latest-list .eoingti-date .ym {
  font-size: 13px;
  color: #DBDBDB;
  margin-top: 4px;
  transition: color 0.3s ease;
}

/* 본문 전체 */
#kboard-eoingti-latest-list .eoingti-content {
  flex: 1;
  padding-left: 20px;
  min-width: 0; /* flex 구조에서 줄바꿈 깨짐 방지 */
}

/* 제목 */
#kboard-eoingti-latest-list .eoingti-content .title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* nowrap 해제 */
  overflow-wrap: break-word; /* 단어 단위 줄바꿈 */
  line-height: 1.4;
}

/* 본문 요약 */
#kboard-eoingti-latest-list .eoingti-content .excerpt {
  font-size: 14px;
  color: #9fa19f;
  line-height: 1.6;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2줄로 제한 */
  -webkit-box-orient: vertical;
  overflow-wrap: break-word; /* 긴 단어 자동 줄바꿈 */
}

/* N 표시 */
#kboard-eoingti-latest-list .eoingti-new {
  color: #ff4444;
  margin-right: 6px;
  font-weight: 700;
}

/* 마우스 오버 효과 */
#kboard-eoingti-latest-list .eoingti-item:hover .eoingti-content .title {
  color: #9fa19f;
}

#kboard-eoingti-latest-list .eoingti-item:hover .eoingti-date,
#kboard-eoingti-latest-list .eoingti-item:hover .eoingti-date .day,
#kboard-eoingti-latest-list .eoingti-item:hover .eoingti-date .ym {
  color: #111111;
}

/* ============================================
   반응형 (모바일/태블릿)
   ============================================ */
@media (max-width: 768px) {
  #kboard-eoingti-latest-list .eoingti-item {
    flex-direction: column;
    align-items: flex-start;
  }

  #kboard-eoingti-latest-list .eoingti-date {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }

  #kboard-eoingti-latest-list .eoingti-date .day {
    font-size: 34px;
    display: inline-block;
    margin-right: 6px;
  }

  #kboard-eoingti-latest-list .eoingti-date .ym {
    display: inline-block;
    font-size: 14px;
    vertical-align: bottom;
  }

  #kboard-eoingti-latest-list .eoingti-content {
    padding-left: 0;
  }

  #kboard-eoingti-latest-list .eoingti-content .title {
    font-size: 17px;
    line-height: 1.5;
    white-space: normal;
  }

  #kboard-eoingti-latest-list .eoingti-content .excerpt {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ============================================
   극소형 디바이스 (400px 이하)
   ============================================ */
@media (max-width: 400px) {
  #kboard-eoingti-latest-list .eoingti-date .day {
    font-size: 28px;
  }

  #kboard-eoingti-latest-list .eoingti-content .title {
    font-size: 16px;
  }
}

