/* 나무위키 스타일을 적용할 wrapper */
.wiki-wrapper {
  font-family: "Pretendard", sans-serif;
  line-height: 1.6;
  background-color: #ffffff; /* 배경색 */
  color: #333; /* 글자 색 */
  margin: 0;
  padding: 0;
}

.wiki-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 헤딩 (제목) 스타일 */
.wiki-wrapper h1,
.wiki-wrapper h2,
.wiki-wrapper h3,
.wiki-wrapper h4,
.wiki-wrapper h5,
.wiki-wrapper h6 {
  font-family: "Pretendard", sans-serif;
  font-weight: bold;
  color: #333;
  margin: 32px 0 21px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.wiki-wrapper h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.wiki-wrapper h2 {
  font-size: 28px;
}

.wiki-wrapper h3 {
  font-size: 24px;
}

.wiki-wrapper h4 {
  font-size: 22px;
}

.wiki-wrapper h5 {
  font-size: 20px;
}

.wiki-wrapper h6 {
  font-size: 18px;
}

/* 링크 스타일 */
.wiki-wrapper a {
  color: #3498db; /* 링크 색상 */
  text-decoration: none; /* 기본 링크는 밑줄을 없앰 */
}

.wiki-wrapper a:hover {
  text-decoration: underline; /* 마우스를 올리면 밑줄 */
}

/* 코드 블록 스타일 */
.wiki-wrapper pre {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  font-family: "Courier New", monospace;
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.wiki-wrapper code {
  background-color: #f5f5f5;
  padding: 3px 5px;
  border-radius: 5px;
  font-family: "Courier New", monospace;
}

/* 이미지 스타일 */
.wiki-wrapper img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.wiki-wrapper hr {
  display: block;
}

/* 리스트 스타일 */
.wiki-skin ul,
.wiki-skin ol {
  margin-left: 20px;
  margin-bottom: 10px;
}
.wiki-skin ul li,
.wiki-skin ol li {
  margin-bottom: 4px;
}

/* 인용구 스타일 */
.wiki-skin blockquote {
  border-left: 5px solid #71bc6d;
  background: #eee;
  border: 2px dashed #ccc;
  display: table;
  margin: 15px 0;
  padding: 15px;
  color: #212529;
  font-weight: 700;
}

/* 테이블 기본 스타일 */
.wiki-skin table {
  width: 100%;
  background-color: #f5f5f5;
  border-collapse: collapse;
  border-color: #808080;
  text-indent: 0;
  font-size: 14px;
  margin-top: 8px;
}
.wiki-skin table th,
.wiki-skin table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
}
.wiki-skin table th {
  background: #eee;
  font-weight: bold;
}
.wiki-skin td iframe {
  max-width: 100%;
}

/* 코드 스타일 */
.wiki-skin pre,
.wiki-skin code {
  font-family: Consolas, monospace;
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.wiki-skin pre {
  overflow: auto;
  padding: 10px;
}

.write-category {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.write-category select {
  border: 1px solid #cccccc;
  padding: 8px 12px;
  height: auto;
  border-radius: 5px;
  font-size: 15px;
}
.write-category .wiki-notice-btn {
  position: absolute;
  right: 0;
  font-size: 15px;
  border: 1px solid #cccccc;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* 버튼 스타일 */
.wiki-wrapper button {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.wiki-wrapper button:hover {
  background-color: #2980b9;
}
