/* ===============================
   LIST (시안)
================================ */
.news-list {
  width: 100%;
  background: #fff;
  margin-top: -7%;
}

.news-topbar {
  width: min(1400px, 92%);
  margin: 0 auto 18px;
  display: flex;
  justify-content: flex-end
}

.sub__ceo_bg4 {
  position: relative;
  width: 100%;
  height: 598px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #f0f0f0;
}

/* ✅ 배경 확대 레이어 */
.sub__ceo_bg4::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url(/1x/s1/sub1_4__bg.png) no-repeat center;
  background-size: cover;

  transform: scale(1);
  transition: transform 2.5s ease;

  z-index: 0;
}

/* ✅ 페이지 진입시 서서히 확대 */
.sub__ceo_bg4.is-active::before {
  transform: scale(1.15);
}

/* 텍스트는 위로 유지 */
.sub__ceo_bg4 * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .sub__ceo_bg4 {
    height: 200px;
  }
}

.news-write-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap
}

.news-write-btn:hover {
  background: #000
}

.news-list__ul {
  width: min(1400px, 92%);
  margin: 0 auto
}

.news-item {
  list-style: none
}

.news-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0
}

.news-text {
  flex: 1;
  padding-right: 40px
}

.news-title {
  font-size: 18px;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  margin: 0
}

.news-title a {
  color: #111;
  text-decoration: none
}

.news-title a:hover {
  text-decoration: underline
}

.news-meta {
  margin-top: 6px;
  font-size: 13px;
  color: #777
}

.news-source {
  margin-left: 10px;
  color: #777;
  word-break: break-all
}

.news-btn a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #2f3b52;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap
}

.news-btn a:hover {
  background: #1f293d
}

.news-divider {
  width: 100%;
  height: 1px;
  background: #d6d6d6
}

.news-empty {
  padding: 40px 0;
  color: #777;
  text-align: center;
  list-style: none
}

.news-paging {
  width: min(1400px, 92%);
  margin: 22px auto 0
}

/* ===============================
   WRITE / VIEW
================================ */
.news-write,
.news-view {
  width: min(900px, 92%);
  margin: 40px auto 0;
  margin-top: -7%;
}

.news-write__title {
  font-size: 22px;
  margin: 0 0 18px;
  color: #111
}

.news-form {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 22px
}

.nf-label {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  color: #444
}

.nf-input {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  outline: none
}

.nf-input:focus {
  border-color: #9aa7bd
}

.nf-textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  outline: none;
  resize: vertical
}

.nf-textarea:focus {
  border-color: #9aa7bd
}

.nf-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end
}

.nf-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer
}

.nf-btn.is-ghost {
  background: #fff;
  border-color: #ddd;
  color: #111
}

.nf-btn.is-primary {
  background: #2f3b52;
  color: #fff
}

.nf-btn.is-danger {
  background: #b12020;
  color: #fff
}

.nf-btn.is-primary:hover {
  background: #1f293d
}

.nf-btn.is-ghost:hover {
  border-color: #bbb
}

.nf-btn.is-danger:hover {
  background: #8f1717
}

.news-view__head {
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 16px;
  margin-bottom: 18px
}

.news-view__title {
  font-size: 22px;
  margin: 0;
  color: #111
}

.news-view__meta {
  margin-top: 8px;
  font-size: 13px;
  color: #777
}

.news-view__body {
  font-size: 14px;
  line-height: 1.8;
  color: #222
}

.news-view__actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end
}

/* ===============================
   MOBILE
================================ */
@media (max-width:768px) {
  .news-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }

  .news-text {
    padding-right: 0
  }

  .news-btn {
    align-self: flex-end
  }
}