.contact__notice {
  padding: 150px 0;
}

.contact__notice__title {
  font-weight: 600;
}

.contact__notice__desc {
  font-size: var(--title_font_size);
  font-weight: 600;
}


.contact__notice__board {
  padding: 100px 0;
}

.notice__list {
  display: flex;
  flex-direction: column;
}

.notice__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #ddd;
  transition: box-shadow 0.3s;
}

.notice__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notice__item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.notice__date {
  width: 60px;
  text-align: center;
  color: #00AA50;
}

.notice__date .day {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.notice__date .month {
  font-size: 14px;
  color: #999;
}

.notice__text {
  flex: 1;
  margin: 0 36px;
}

.notice__text .title {
  font-size: 1.5rem;
  font-weight: 600;
}

.notice__text .desc {
  font-size: 1rem;
  color: #444;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice__thumb {
  width: 120px;
  height: 90px;
  background: #eee;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notice__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.no__image {
  width: 100%;
  height: 100%;
  background: #eee;
  color: #888;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

/* 페이지네이션 */
.notice__paging {
  margin-top: 30px;
  text-align: center;
}

.notice__paging .pg_wrap {
  width: 100%;
  display: block;
  text-align: center;
  margin: 20px 0;
}

/* 기본 페이지 숫자 */
.notice__paging .pg_page {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  color: #ccc;
  background: transparent;
  text-decoration: none;
  border: none;
  transition: color 0.2s ease;
}

/* 현재 페이지 강조 */
.notice__paging .pg_current {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  color: var(--point-color);
  background: transparent;
}

/* 화살표 버튼(맨끝, 처음, 이전, 다음) */
.notice__paging .pg_start,
.notice__paging .pg_prev,
.notice__paging .pg_next,
.notice__paging .pg_end {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--point-color);
  font-size: 0rem;
  border-radius: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-indent: -9999px;
  /* 텍스트 화면 밖으로 */
  overflow: hidden;
  position: relative;
}

.notice__paging .pg_start::after {
  content: "«";
  font-size: 1.5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-indent: 0;
}

.notice__paging .pg_prev::after {
  content: "‹";
  font-size: 1.5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-indent: 0;
}

.notice__paging .pg_next::after {
  content: "›";
  font-size: 1.5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-indent: 0;
}

.notice__paging .pg_end::after {
  content: "»";
  font-size: 1.5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-indent: 0;
}

/* hover */
.notice__paging .pg_page:hover:not(.pg_current),
.notice__paging .pg_start:hover,
.notice__paging .pg_prev:hover,
.notice__paging .pg_next:hover,
.notice__paging .pg_end:hover {
  border-color: var(--point-color);
  color: var(--point-color);
}







.notice__write__btn {
  margin-top: 20px;
  text-align: right;
}

.notice__write__btn a {
  display: inline-block;
  padding: 10px 24px;
  background-color: #00AA50;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  text-decoration: none;
}

.notice__write__btn a:hover {
  background-color: #008944;
}






.contact__notice__write {
  background: #fff;
  padding: 40px 50px;
  border-top: 3px solid #00143c;
  margin: 40px auto;
}

/* 제목, 라벨 */
.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.form__group label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #00143c;
}

.required {
  color: #e74c3c;
  margin-left: 4px;
}

/* 인풋 */
.form__input[type="text"],
.form__input[type="file"],
.form__input,
input[type="file"] {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus {
  border-color: #41b76b;
  box-shadow: 0 0 0 3px rgba(65, 183, 107, 0.1);
}

/* 스마트에디터 영역 */
.write__content_area iframe {
  min-height: 400px !important;
  width: 100%;
}

/* 첨부파일 */
.form__group p {
  font-size: 0.85rem;
  color: #777;
  margin-top: 5px;
}

input[type="checkbox"] + label {
  font-size: 0.9rem;
  margin-left: 4px;
  color: #555;
}

/* 버튼 */
.form__btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 30px;
}

.btn__submit,
.btn__cancel {
  padding: 12px 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn__submit {
  background: #41b76b;
  color: #fff;
  border: none;
}

.btn__submit:hover {
  background: #36a05d;
}

.btn__cancel {
  background: transparent;
  border: 1px solid #ccc;
  color: #00143c;
}

.btn__cancel:hover {
  background: #f8f8f8;
}

/* Responsive */
@media (max-width: 768px) {
  .contact__notice__write {
    padding: 20px;
  }

  .btn__submit,
  .btn__cancel {
    width: 100%;
    padding: 12px;
  }
}







.view__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00143c;
  margin-bottom: 15px;
  line-height: 1.4;
}

.view__meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.view__content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}

.view__content img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  display: block;
}

/* 첨부 이미지 */
.view__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.view__attachments .attach {
  flex: 0 0 calc(33.33% - 10px);
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.view__attachments .attach img {
  width: 100%;
  height: auto;
  display: block;
}

/* 버튼 영역 */
.view__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 40px;
}

.view__buttons a {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn__list {
  background: #f1f1f1;
  color: #00143c;
}

.btn__list:hover {
  background: #e5e5e5;
}

.btn__edit {
  background: #41b76b;
  color: #fff;
}

.btn__edit:hover {
  background: #36a05d;
}

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

.btn__delete:hover {
  background: #b2b2b2;
}

/* 이전글/다음글 네비게이션 */
.view__nav {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  padding-top: 15px;
  color: #666;
}

.view__nav a {
  text-decoration: none;
  color: #666;
  transition: color 0.3s ease;
}

.view__nav a:hover {
  color: #41b76b;
}

/* Responsive */
@media (max-width: 768px) {
  .view__attachments .attach {
    flex: 0 0 100%;
  }

  .view__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .view__buttons a {
    width: 100%;
    text-align: center;
  }
}

/* ≤1440 */
@media (max-width:1440px) {
  .contact__notice {
    padding: 130px 0;
  }

  .contact__notice__board {
    padding: 90px 0;
  }

  .notice__item {
    padding: 22px;
  }

  .notice__date {
    width: 56px;
  }

  .notice__date .day {
    font-size: 2.75rem;
  }

  .notice__text {
    margin: 0 28px;
  }

  .notice__text .title {
    font-size: 1.375rem;
  }

  .notice__thumb {
    width: 110px;
    height: 82px;
  }

  .notice__paging .pg_page,
  .notice__paging .pg_current {
    width: 30px;
    height: 30px;
    font-size: .95rem;
  }

  .notice__paging .pg_start,
  .notice__paging .pg_prev,
  .notice__paging .pg_next,
  .notice__paging .pg_end {
    width: 36px;
    height: 36px;
  }

  .notice__paging .pg_start::after,
  .notice__paging .pg_prev::after,
  .notice__paging .pg_next::after,
  .notice__paging .pg_end::after {
    font-size: 1.3rem;
  }

  .contact__notice__write {
    padding: 36px 40px;
  }

  .btn__submit,
  .btn__cancel {
    padding: 12px 26px;
  }

  .view__title {
    font-size: 1.7rem;
  }

  .view__meta {
    gap: 16px;
    font-size: .9rem;
  }

  .view__buttons a {
    padding: 10px 18px;
    font-size: .9rem;
  }

  .view__attachments .attach {
    flex: 0 0 calc(33.33% - 10px);
  }
}

/* ≤1280 */
@media (max-width:1280px) {
  .contact__notice {
    padding: 120px 0;
  }

  .contact__notice__board {
    padding: 80px 0;
  }

  .notice__item {
    padding: 20px;
  }

  .notice__date {
    width: 52px;
  }

  .notice__date .day {
    font-size: 2.5rem;
  }

  .notice__text {
    margin: 0 24px;
  }

  .notice__text .title {
    font-size: 1.25rem;
  }

  .notice__text .desc {
    font-size: .95rem;
  }

  .notice__thumb {
    width: 104px;
    height: 78px;
  }

  .notice__paging .pg_page,
  .notice__paging .pg_current {
    width: 28px;
    height: 28px;
    font-size: .9rem;
  }

  .notice__paging .pg_start,
  .notice__paging .pg_prev,
  .notice__paging .pg_next,
  .notice__paging .pg_end {
    width: 34px;
    height: 34px;
  }

  .contact__notice__write {
    padding: 30px 32px;
  }

  .btn__submit,
  .btn__cancel {
    padding: 11px 22px;
    font-size: .925rem;
  }

  .view__title {
    font-size: 1.6rem;
  }

  .view__buttons a {
    padding: 9px 16px;
    font-size: .9rem;
  }
}

/* ≤1024 (tablet landscape) */
@media (max-width:1024px) {
  .contact__notice {
    padding: 110px 0;
  }

  .contact__notice__board {
    padding: 72px 0;
  }

  .notice__item {
    padding: 18px;
  }

  .notice__date {
    width: 50px;
  }

  .notice__date .day {
    font-size: 2.25rem;
  }

  .notice__text {
    margin: 0 18px;
  }

  .notice__text .title {
    font-size: 1.125rem;
  }

  .notice__thumb {
    width: 100px;
    height: 74px;
  }

  .notice__paging .pg_page,
  .notice__paging .pg_current {
    width: 26px;
    height: 26px;
    font-size: .875rem;
  }

  .notice__paging .pg_start,
  .notice__paging .pg_prev,
  .notice__paging .pg_next,
  .notice__paging .pg_end {
    width: 32px;
    height: 32px;
  }

  .contact__notice__write {
    padding: 26px;
  }

  .form__btns {
    gap: 8px;
  }

  .view__attachments .attach {
    flex: 0 0 calc(50% - 10px);
  }

  /* 2열 */
  .view__meta {
    gap: 14px;
    font-size: .85rem;
  }
}

/* ≤768 (tablet portrait / mobile) */
@media (max-width:768px) {
  .contact__notice {
    padding: 90px 0;
  }

  .contact__notice__board {
    padding: 56px 0;
  }

  .notice__item {
    padding: 16px;
  }

  .notice__item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .notice__date {
    width: auto;
    order: 1;
    text-align: left;
  }

  .notice__date .day {
    font-size: 2rem;
  }

  .notice__text {
    order: 2;
    margin: 6px 0 0 0;
    width: 100%;
  }

  .notice__text .title {
    font-size: 1rem;
  }

  .notice__text .desc {
    font-size: .9rem;
    white-space: normal;
  }

  .notice__thumb {
    order: 3;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .notice__paging .pg_page,
  .notice__paging .pg_current {
    width: 26px;
    height: 26px;
    font-size: .85rem;
  }

  .notice__paging .pg_start,
  .notice__paging .pg_prev,
  .notice__paging .pg_next,
  .notice__paging .pg_end {
    width: 30px;
    height: 30px;
  }

  .contact__notice__write {
    padding: 20px;
  }

  .btn__submit,
  .btn__cancel {
    width: 100%;
  }

  .view__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .view__buttons a {
    width: 100%;
    text-align: center;
  }

  .view__attachments .attach {
    flex: 0 0 100%;
  }

  /* 1열 */
}

/* ≤390 (small mobile) */
@media (max-width:390px) {
  .contact__notice {
    padding: 72px 0;
  }

  .contact__notice__board {
    padding: 48px 0;
  }

  .notice__item {
    padding: 14px;
  }

  .notice__date .day {
    font-size: 1.75rem;
  }

  .notice__text .title {
    font-size: .95rem;
  }

  .notice__text .desc {
    font-size: .85rem;
  }

  .notice__paging .pg_page,
  .notice__paging .pg_current {
    width: 24px;
    height: 24px;
    font-size: .8rem;
  }

  .notice__paging .pg_start,
  .notice__paging .pg_prev,
  .notice__paging .pg_next,
  .notice__paging .pg_end {
    width: 28px;
    height: 28px;
  }

  .contact__notice__write {
    padding: 18px;
  }

  .btn__submit,
  .btn__cancel {
    padding: 10px 16px;
    font-size: .9rem;
  }

  .view__title {
    font-size: 1.45rem;
  }

  .view__meta {
    font-size: .8rem;
  }
}