/* ========= INMUU NEWS LAYOUT ========= */

.content_container {
  max-width: 1120px;
  margin: 80px auto 120px;
  padding: 0 20px;
  min-height: 600px;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

.content_container > .title {
  margin-bottom: 10px;
}

.content_container > .title > h2.text_title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #111827;
}

.content_container > .title_line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff9f43);
  border-radius: 999px;
  margin-bottom: 32px;
}

/* ========= NEWS CARD ========= */

.content_container > .news_box {
  border-radius: 20px;
  margin-top: 32px;
  padding: 0;
  display: flex;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(248, 250, 252, 0.9);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.content_container > .news_box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 42px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(248, 250, 252, 1);
}

/* 상단 얇은 컬러 바 */
.content_container > .news_box::before {
  content: "";
  position: absolute;
}

/* 이미지 영역 */
.content_container > .news_box > img {
  width: 40%;
  min-height: 260px;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

/* 텍스트 영역 */
.content_container > .news_box > .text_area {
  width: 60%;
  padding: 24px 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 뉴스 제목 */
.newsTitle {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.35;
  word-break: keep-all;
}

/* 본문 요약 */
.content_container > .news_box > .text_area > .text_detail {
  padding: 0;
  font-size: 0.98rem;
  color: #4b5563;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 16px;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  white-space: normal;
}

/* 버튼 영역 */
.content_container .news_box a {
  text-decoration: none;
}

.content_container > .news_box > .text_area > a > .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 10px 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: #1f2937;
  text-align: right;
  width: 100%;
  justify-content: flex-end;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.12s ease;
}

.content_container > .news_box > .text_area > a > .button::after {
  content: "↗";
  font-size: 0.9rem;
}

.content_container > .news_box > .text_area > a > .button:hover {
  color: #ff6b35;
  transform: translateY(-1px);
}

/* 인트로 텍스트 */
.news-intro-text {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #fff;
}

/* ========= RESPONSIVE ========= */

@media screen and (max-width: 1024px) {
  .content_container {
    max-width: 960px;
    margin: 60px auto 80px;
  }

  .content_container > .news_box {
    flex-direction: column;
  }

  .content_container > .news_box > img {
    width: 100%;
    max-height: 260px;
  }

  .content_container > .news_box > .text_area {
    width: 100%;
    padding: 20px 18px 18px;
  }

  .content_container > .news_box > .text_area > .text_detail {
    -webkit-line-clamp: 4;
  }

  /* 두 번째/네 번째 카드에서 모바일에서 이미지가 위로 오도록 유지 */
  .content_container > .news_box_2 {
    flex-direction: column-reverse;
  }

  .content_container > .news_box_4 {
    flex-direction: column-reverse;
  }

  .newsTitle {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  .content_container {
    margin: 40px auto 64px;
    padding: 0 16px;
  }

  .content_container > .title > h2.text_title {
    font-size: 24px;
  }

  .content_container > .title_line {
    width: 64px;
    margin-bottom: 20px;
  }

  .content_container > .news_box {
    margin-top: 24px;
    border-radius: 18px;
  }

  .content_container > .news_box > img {
    max-height: 220px;
  }

  .content_container > .news_box > .text_area {
    padding: 16px 14px 14px;
  }

  .newsTitle {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }

  .content_container > .news_box > .text_area > .text_detail {
    font-size: 0.9rem;
    -webkit-line-clamp: 5;
  }

  .content_container > .news_box > .text_area > a > .button {
    font-size: 0.9rem;
    padding-top: 6px;
  }
}
