/* 메인 비주얼 */
.main-visual.newsroom-detail {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
}

.main-visual.newsroom-detail .main-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  overflow: hidden;
}

.main-visual.newsroom-detail .main-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-header {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  padding-bottom: 80px;
}

.news-detail-header .news-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;

}

.news-detail-header .news-category {
  font-family: "Pretendard";
  font-size: 1rem;
  font-weight: 600;
  color: #0073e6;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 20px;
  border-radius: 30px;
  letter-spacing: -0.02em;
}

.news-detail-header .news-date {
  font-family: "Pretendard";
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
}

.news-detail-title {
  font-family: "Pretendard";
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: -0.03em;
  max-width: 1040px;
}

/* 상세 콘텐츠 영역 */
.newsroom-detail-content {
  padding: 100px 0;
  background-color: #fafafa;
  position: relative;
}

.newsroom-detail-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 115, 230, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(204, 245, 75, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.news-detail-article {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 64px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.news-detail-article p {
  font-family: "Pretendard";
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.news-detail-article h2 {
  font-family: "Pretendard";
  font-size: 2.25rem;
  font-weight: 700;
  color: #111;
  margin: 64px 0 32px;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.news-detail-article h3 {
  font-family: "Pretendard";
  font-size: 1.75rem;
  font-weight: 600;
  color: #111;
  margin: 48px 0 24px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.news-detail-article img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.news-detail-article blockquote {
  position: relative;
  border-left: 4px solid #0073e6;
  padding: 24px 32px;
  margin: 40px 0;
  font-style: italic;
  color: #444;
  background: #f8f9fa;
  border-radius: 0 16px 16px 0;
  font-size: 1.125rem;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.news-detail-article blockquote::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: #0073e6;
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.news-detail-article ul {
  margin: 24px 0;
  padding-left: 24px;
}

.news-detail-article ul li {
  font-family: "Pretendard";
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 8px;
}

.news-detail-article ul li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 12px;
  width: 6px;
  height: 6px;
  background: #0073e6;
  border-radius: 50%;
}

.news-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  justify-content: center;
  align-items: center;
  display: flex;
}

/* 목록으로 돌아가기 버튼 */
.back-to-list {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  background: none;
  border: 2px solid #0073e6;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.back-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0073e6;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 0;
}

.back-btn span {
  font-family: "Pretendard";
  font-size: 1.125rem;
  font-weight: 600;
  color: #0073e6;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.back-btn:hover::before {
  transform: translateX(0);
}

.back-btn:hover span {
  color: #ffffff;
}

/* 표준화된 컨테이너 사용 */
.news-detail-container {
  width: var(--container-width-desktop);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

.news-detail-grid {
  display: grid;
  gap: var(--grid-gutter);
  grid-template-columns: repeat(var(--grid-columns), 1fr);
}

/* 반응형 스타일 */
@media screen and (max-width: 1280px) {
  .news-detail-header,
  .news-detail-article {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media screen and (max-width: 768px) {
  .main-visual.newsroom-detail {
    height: 400px;
  }

  .news-detail-header {
    padding: 0 24px;
  }

  .news-detail-header .news-meta {
    gap: 16px;
    margin-bottom: 24px;
  }

  .news-detail-title {
    font-size: 1.5rem;
  }

  .newsroom-detail-content {
    padding: 60px 0;
  }

  .news-detail-article {
    padding: 48px 24px;
  }

  .news-detail-article p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .news-detail-article h2 {
    font-size: 1.75rem;
    margin: 48px 0 24px;
  }

  .news-detail-article h3 {
    font-size: 1.5rem;
    margin: 36px 0 20px;
  }

  .news-detail-article blockquote {
    padding: 20px 24px;
    font-size: 1rem;
  }

  .news-detail-article ul li {
    font-size: 1rem;
  }

  .back-btn {
    padding: 16px 40px;
  }

  .back-btn span {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .main-visual.newsroom-detail {
    height: 320px;
  }

  .news-detail-header {
    padding: 0 20px;
  }

  .news-detail-title {
    font-size: 1.5rem;
  }

  .news-detail-article {
    padding: 32px 20px;
  }

  .back-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* -------------------- 모바일 반응형 (767px 이하) -------------------- */
@media screen and (max-width: 767px) {
  .news-detail-container {
    width: var(--container-width-mobile);
    padding: 0 var(--grid-margin);
  }

  .news-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .main-visual.newsroom-detail {
    height: 320px;
  }

  .news-detail-header {
    padding: 0 1rem 40px;
  }

  .news-detail-header .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .news-detail-header .news-category,
  .news-detail-header .news-date {
    font-size: 0.95rem;
  }

  .news-detail-title {
    font-size: 1.5rem;
    line-height: 1.4;
    word-break: keep-all;
  }

  .newsroom-detail-content {
    padding: 40px 0;
  }

  .news-detail-article {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .news-detail-article p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .news-detail-article h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
  }

  .news-detail-article h3 {
    font-size: 1.3rem;
    margin: 24px 0 12px;
  }

  .news-detail-article blockquote {
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.95rem;
  }

  .news-detail-article ul {
    margin: 16px 0;
  }

  .news-detail-article ul li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .news-detail-article img {
    margin: 24px 0;
    border-radius: 12px;
  }

  .back-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .back-btn span {
    font-size: 0.95rem;
  }
}

/* Mobile base styles */
@media screen and (max-width: 375px) {
  .news-detail-container {
    font-size: 0.875em;
  }

  .news-detail-title {
    font-size: 1.3rem;
  }
}