@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Nanum+Myeongjo:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Nanum+Myeongjo&family=Noto+Serif+KR:wght@200..900&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');


* {
  box-sizing: border-box;
}

p {
  font-size: 17px;
  line-height: 1;
  color: #222;
  margin: 0 0 12px 0; /* 줄 간 여백 */
}

body {
  margin: 0;
  font-family: 'Pretendard', 'Noto Serif KR', 'Nanum Myeongjo', 'Gowun Batang', serif;
  background-color: #fff;
  color: #111;
    user-select:none;
  -webkit-user-select:none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}

.logo {
  font-size: 12px;
  cursor: pointer;
  color:#444;
}

.logo span {
  color: #999;
  font-weight: normal;
  margin-left: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: #333;
  cursor: pointer;
}

.nav a.follow {
  color: #3366cc;
  font-weight: bold;
}

.write-btn {
  border: 1px solid #ccc;
  background-color: white;
  padding: 5px 10px;
  margin-left: 10px;
  font-size: 13px;
  cursor: pointer;
}

/* Title */
.container {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 30px 20px;
}

.title {
  font-size: 38px;
  line-height: 1.4;
  text-align: left;
  white-space: pre-line;
}

/* Author */
.author-info {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.author-name {
  font-size: 15px;
  color: #111;
  margin-bottom: 8px; /* ← 요거로 간격 조절 */
}

.author-detail {
  font-size: 13px;
  color: #888;
}

hr {
  margin-top: 20px;
  border: none;
  border-top: 1px solid #eee;
}

.spacer {
  height: 40px;
}

/* 본문 */
.content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.content .main p{
  font-size: 21px;
  font-weight: bold;
  text-align: center;
}

.in p{
  font-size: 21px;
  font-weight: 550;
}

.highlight-red {
  color: red;
  font-weight: bold;
}

.bold-mark {
  font-weight: bold;
}

.highlight-yellow {
  background-color: yellow;
  display: inline-block;
  padding: 2px 4px;
  font-weight: bold;
}

.compare-images {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 30px 0;
}

.compare-images img {
  width: 100%;
  border-radius: 6px;
}

.compare-images > div {
  flex: 1;
  text-align: center;
}

.notice,
.red-bold {
  color: red;
  font-weight: bold;
}

/* 제품 카드 */
.product-section {
  margin-top: 10px;
  line-height: 1.8;
}

.product-card {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  border: 1px solid #eee;
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-card img {
  display: block;
  width: 100%;
  height: auto;
}

.product-card-text {
  padding: 15px 15px 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-text .N{
  font-weight: 550;
  font-size: 14px;
  color:#444;
  font-weight: 400;
}

.product-card-text .SN{
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  font-weight: 300;
}

.product-card-text .card-url {
  font-size: 12px;
  color: #02bb39;
  font-weight: 300;
}

.notice-card-title {
  font-weight: bold;
  color: #111;
  margin-top: 10px;
}

.notice-card-desc {
  font-size: 15px;
  color: #777;
  margin-top: 5px;
}

/* 참고자료 */
.references {
  margin-top: 40px;
  font-size: 15px;
}

.references ul {
  padding-left: 0;
  list-style: none;
}

.references li {
  margin-bottom: 6px;
}

/* 구분선 + 여백 */
.post-end-spacer {
  margin: 60px auto 30px;
  max-width: 40%;
  padding: 20% 20px;
}

.end-divider {
  border: none;
  border-top: 1px solid #ddd;
  height: 1px;
  margin: 0 auto;
}

/* 좋아요 바 */
.bottom-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding: 15px 20px;
  max-width: 800px;
  margin: 40px auto 0;
  font-size: 14px;
  color: #444;
}

.like-count {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.more-button {
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
}

/* 작성자 푸터 */
.author-footer {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

.author-footer img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.author-footer-meta {
  margin-top: 10px;
}

.author-footer-meta strong {
  display: block;
  font-size: 16px;
  color: #111;
}

.author-footer-meta p {
  margin: 4px 0;
  font-size: 13px;
  color: #666;
}

.desc {
  color: #888;
  margin-top: 50px;
}

.follow-footer-btn {
  margin-top: 8px;
  background-color: #00c73c;
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* 댓글 */
.comment-section {
  width: 100%;
  background-color: #fff;
  padding: 40px 0;
}

.comment-header-bar {
  width: 100%;
  padding: 0 20px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #111;
}

.full-divider {
  width: 100%;
  border: none;
  border-top: 1px solid #ddd;
  margin: 6px 0 0;
}

.comment-center-wrap {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 20px;
}

.comment-disabled {
  margin-top: 40px;
}

.comment-icon img {
  width: 28px;
  height: 28px;
  opacity: 0.5;
  margin-bottom: 10px;
}

.comment-text {
  font-size: 14px;
  color: #999;
}

.end p{
  line-height: 1.6;
}

/* Footer */
.main-footer {
  width: 100%;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}

.main-footer-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: #888;
  padding: 0 20px;
}


/*이미지*/
.image-block {
  text-align: center;
  margin: 20px 0;
}

.image-block img {
  max-width: 100%;
  height: auto;
}

.image-caption{
  font-size: 15px;
  color: #888;
  margin-top: 10px;
}

.in .image-caption{
  font-size: 15px;
}


/* 반응형 */
@media (max-width: 600px) {
  header {
    height: 50px;   /* 모바일에서도 동일하게 유지 */
    padding: 0 16px;
  }

  .title {
    font-size: 30px;
  }

  .container {
    margin: 40px auto 0;
  }

  .content .main p{
    font-size: 21px;
    font-weight: bold;
    text-align: center;
  }

  .nav a:nth-child(3),  /* 공유하기 */
  .nav .write-btn {     /* 포스트 쓰기 버튼 */
    display: none;
  }

  .image-caption{
    font-size: 15px; 
  }

  .in .image-caption{
    font-size: 15px;
  }
}