/* --------------------------------
      skin: notice_kr
--------------------------------- */

.sub .h2 {
  font-weight: 600;
  color: #333333;
}

/* ============ Overview Section ============ */
.fm-overview {
  width: min(100%, 1180px);
  margin: 80px auto;
  text-align: center;
}

.ov-title {
  font-size: 28px;
  font-weight: 900;
  color: #27a5f2;
  margin-bottom: 40px;
  position: relative;
  font-family: "Noto Serif KR", serif;
}

h2.ov-title1 {
  font-family: "Noto Serif KR", serif;
  font-size: 30px;
}

.ov-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #d9d9d9;
  margin: 10px auto 0;
}

/* 좌우 텍스트 */
.ov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}

.ov-left {
  text-align: left;
}

.ov-label {
  font-size: 14px;
  /* letter-spacing: 1.5px; */
  font-weight: 600;
  color: #383838;

}

.ov-main {
  font-size: 28px;
  font-weight: 900;
  margin-top: 10px;
  line-height: 1.4;
}

.ov-blue {
  color: #27a5f2;
}

.ov-right {
  text-align: right;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  font-weight: 800;
}

/* --------------------------------
      section: list.skin.php
--------------------------------- */

.recruit__list_wrap {
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #333;
}

.recruit__search_bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.recruit__search_bar select,
.recruit__search_bar input[type="text"] {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.select__wrap {
  position: relative;
  width: fit-content;
}

.search__wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search__wrap input {
  flex: 1;
  min-width: 200px;
}

.search__wrap button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.search__wrap img {
  width: 20px;
  height: 20px;
}

/* 테이블 헤더 */
.recruit__table_head {
  display: flex;
  padding: 1.2rem 1rem;
  background: #f5f5f5;
  border-top: 2px solid #000;
  border-bottom: 1px solid #ccc;
  font-weight: 600;
  color: #000;
  text-align: center;
}

.recruit__table_head .col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit__table_head .col.num {
  flex: 0.4;
}

.recruit__table_head .col.title {
  flex: 3;
  margin: 0;
  line-height: 0;
  font-size: 16px;
}

.recruit__table_head .col.date {
  flex: 0.8;
}

/* 리스트 */
.recruit__table_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recruit__table_row {
  display: flex;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #eee;
  align-items: center;
  transition: background 0.2s;
}

.recruit__table_row:hover {
  background: #f9f9f9;
}

.recruit__table_row.closed {
  opacity: 0.5;
}

.col {
  padding: 0 0.5rem;
}

.recruit__table_row .col.num {
  flex: 0.4;
  text-align: center;
  color: #666;
  font-weight: 500;
}

.recruit__table_row.notice .col.num {
  color: #f39c12;
  font-weight: 700;
}

.recruit__table_row .col.title {
  flex: 3;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col.title a {
  color: #000;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
}

.col.title a:hover {
  text-decoration: underline;
}

.recruit__table_row .col.date {
  flex: 0.8;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.recruit__table_row.empty {
  text-align: center;
  justify-content: center;
  color: #999;
  padding: 2.5rem 0;
  font-size: 0.95rem;
}

/* 버튼 */
.btn_write_wrap {
  margin-top: 2.5rem;
  text-align: right;
}

.btn_write {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.btn_write:hover {
  background: #0e2c4b;
}

/* 페이지네이션 */
.pagination_custom {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  text-align: center;
}

.pagination_custom a,
.pagination_custom .pg_page {
  color: #17375e;
  border: 1px solid #ddd;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination_custom a:hover,
.pagination_custom .pg_page:hover {
  background-color: #f5c634;
  border-color: #f5c634;
  color: #222;
}

.pagination_custom .pg_current {
  background-color: #17375e;
  border-color: #17375e;
  color: #fff;
  border-radius: 4px;
}

/* 반응형 */
@media screen and (max-width: 768px) {
  .recruit__search_bar {
    flex-direction: column;
    align-items: stretch;
  }

  .recruit__table_head,
  .recruit__table_row {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .recruit__table_head {
    display: none;
  }

  .recruit__table_row {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .recruit__table_row .col {
    width: 100%;
    padding: 0.3rem 0;
    display: flex;
    justify-content: space-between;
  }

  .recruit__table_row .col.title {
    font-size: 1rem;
    white-space: normal;
  }

  .btn_write_wrap {
    text-align: center;
  }
}

/* --------------------------------
      section: write.skin.php
--------------------------------- */

.write__wrap {
  background: #fff;
  padding: 3rem;
  margin: 3rem auto;
  max-width: 960px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.write__field {
  margin-bottom: 2rem;
}

.write__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
}

.write__required {
  color: #e74c3c;
  margin-left: 4px;
  font-size: 0.85rem;
}

.write__input,
.write__input_file,
.write__content_area {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.write__input:focus,
.write__content_area:focus {
  border-color: #0077cc;
  outline: none;
}

.write__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.write__btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.write__btn_cancel {
  background: #ccc;
  color: #fff;
}

.write__btn_cancel:hover {
  background: #bbb;
}

.write__btn_submit {
  background: #17375e;
  color: #fff;
}

.write__btn_submit:hover {
  background: #005fa3;
}

/* 반응형 */
@media screen and (max-width: 768px) {
  .write__wrap {
    padding: 2rem 1rem;
  }
}

/* --------------------------------
      section: view.skin.php
--------------------------------- */

.view__wrap {
  max-width: 1024px;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'SUIT', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.view__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #17375e;
}

.view__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.view__content {
  padding: 1rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 2rem;
}

.view__section.file-section {
  margin-top: 2rem;
}

.view__file_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.view__file_list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.8rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
}

.view__file_list li:hover {
  background: #f1f7ff;
  transform: translateY(-1px);
}

.view__file_list a {
  flex: 1;
  color: #17375e;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.view__btn_list {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f4f4f4;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
}

.view__btn_list:hover {
  background: #eaeaea;
}

.view__btn_delete {
  color: #c0392b;
  border-color: #c0392b;
}

.view__btn_delete:hover {
  background: #fceaea;
}

.view__btn_edit {
  color: #17375e;
  border-color: #17375e;
}

.view__btn_edit:hover {
  background: #e6f3fc;
}

.view__footer {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.view__footer_left {
  display: flex;
  gap: 0.75rem;
}

@media screen and (max-width: 768px) {
  .view__wrap {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }

  .view__footer {
    flex-direction: column;
    gap: 0.8rem;
  }

  .view__footer_left {
    flex-direction: column;
  }
}