@charset "utf-8";

/* ★ 관리자 뱃지 - bbstab과 동일 디자인 */
.NOTICE1 .bbstab_badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
  transition: all 0.2s;
}
.NOTICE1 .bbstab_badge:hover {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}
.NOTICE1 .bbstab_badge i {
  font-size: 14px;
}

/* ★ 인라인 편집 */
.NOTICE1.admin_div .wg_edit_title {
  cursor: pointer;
  outline: 1px dashed transparent;
  transition: outline-color 0.2s;
}
.NOTICE1.admin_div .wg_edit_title:hover {
  outline-color: var(--primary, #667eea);
}

/* ★ 제목 영역 - sub_stit 리셋 */
.NOTICE1 .title-left .sub_stit {
  margin: 0;
  padding: 0;
}

.NOTICE1 {
  overflow: hidden;
  position: relative;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.NOTICE1 .contents-inner {
  width: 100%;
}

.NOTICE1 .title-area {
  position: relative;
  margin-bottom: 6rem;
  width: 100%;
}

.NOTICE1 .title-area .title-left {
  flex: 1;
}

.NOTICE1 .title-area h2 {
  margin-bottom: 0.8rem;
}

/* 더보기 버튼 - 타이틀 영역 우측 중앙 */
.NOTICE1 .notice1-more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  padding: 1rem 2rem;
  border: 1px solid var(--border-color, #d1d5db);
  border-radius: 5rem;
  transition: all 0.3s ease;
}

.NOTICE1 .notice1-more:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.NOTICE1 .notice1-more i {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.NOTICE1 .notice1-more:hover i {
  transform: translateX(3px);
}

.NOTICE1 .news-area li+li {
  margin-top: 2rem;
}

.NOTICE1 .news-area a {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem;
  border: 1px solid var(--border-color);
  border-radius: 1.2rem;
  transition: border-color 0.3s;
}

.NOTICE1 .news-area a:hover {
  border-color: var(--primary);
}

.NOTICE1 .news-area a:hover .link {
  color: var(--black);
}

.NOTICE1 .number {
  flex-shrink: 0;
  color: var(--primary);
  order: 1;
}

.NOTICE1 .news-area .date {
  order: 3;
}

.NOTICE1 .news-area .wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4rem;
  min-width: 0;
  order: 2;
}

.NOTICE1 .news-area .desc {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.NOTICE1 .news-area .desc strong {
  font-weight: var(--fw-bold);
}

.NOTICE1 .news-area .desc p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  margin-top: 0.8rem;
  color: var(--text-color3);
}

.NOTICE1 .news-area .date {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #999;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.NOTICE1 .news-area .link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  font-size: 2.4rem;
  color: #999;
  transition: color 0.3s;
}

@media (max-width: 992px) {
  .NOTICE1 {
    padding-top: 5rem;
    padding-bottom: 0rem;
  }

  .NOTICE1 .title-area {
    position: relative;
    margin-bottom: 10px;
  }

  .NOTICE1 .title-area h2 {
    margin-bottom: 0.4rem;
  }

  .NOTICE1 .notice1-more {
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
  }

  .NOTICE1 .news-area li+li {
    margin-top: 1.6rem;
  }

  .NOTICE1 .news-area a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 0.6rem;
    padding: 2rem;
    min-height: auto;
    border-radius: 1rem;
  }

  .NOTICE1 .news-area .number {
    font-size: 1.6rem;
    line-height: 1;
  }

  .NOTICE1 .news-area .wrap {
    display: block;
  }

  .NOTICE1 .news-area .date {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.2rem;
  }

  .NOTICE1 .news-area .desc {
    padding: 0 0.4rem;
  }

  .NOTICE1 .news-area .desc strong {
    line-height: 120%;
  }

  .NOTICE1 .news-area .desc p {
    margin-top: 0.4rem;
    line-height: 120%;
  }

  .NOTICE1 .news-area .link {
    display: none;
  }
}
