.wiki-profile {
  --profile-color: #0d4a43;
  --profile-bg: #ffffff;
  --profile-text: #ffffff;
  --profile-border: var(--profile-color);

  width: 430px;
  max-width: 100%;
  margin: 1.5rem auto;
  border-collapse: collapse;
  border: 3px solid var(--profile-border);
  background: var(--profile-bg);
  font-size: 0.95rem;
}

.wiki-profile th,
.wiki-profile td {
  border: 1px solid var(--lightgray);
  padding: 9px 12px;
}

.wiki-profile .profile-title th {
  background: var(--profile-color);
  color: var(--profile-text);
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.5;
  padding: 12px 10px;
}

.wiki-profile .profile-title small {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.95;
}

.wiki-profile .profile-image td {
  background: var(--profile-bg);
  padding: 0;
  text-align: center;
}

.wiki-profile .profile-image img {
  width: 100%;
  display: block;
}

.wiki-profile .profile-section th {
  background: var(--profile-color);
  color: var(--profile-text);
  text-align: center;
  font-weight: 700;
  padding: 8px 10px;
}

.wiki-profile .profile-label {
  width: 32%;
  background: var(--profile-color);
  color: var(--profile-text);
  text-align: center;
  font-weight: 700;
}

.wiki-profile .profile-value {
  background: var(--profile-bg);
  color: var(--dark);
  text-align: center;
}

@media (max-width: 700px) {
  .wiki-profile {
    width: 100%;
    font-size: 0.9rem;
  }

  .wiki-profile th,
  .wiki-profile td {
    padding: 8px 9px;
  }
}

/* 분류표: 얇고 깔끔하게 */
.wiki-category {
  margin: 0.8rem 0 1.2rem;
  padding: 7px 10px;
  border: 1px solid #d8dde3;
  border-radius: 3px;
  background: transparent;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--dark);
}

.wiki-category .label {
  color: var(--gray);
  font-weight: 400;
  margin-right: 0.2rem;
}

.wiki-category a {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-weight: 400;
  text-decoration: none;
}

.wiki-category a:not(:last-child)::after {
  content: "|";
  color: #b8b8b8;
  margin: 0 0.45rem;
}


/* 목차: 얇고 덜 투박하게 */
.wiki-toc {
  border: 1px solid #d8dde3;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--dark);
}

.wiki-toc-title {
  padding: 8px 12px;
  border-bottom: 1px solid #e2e6ea;
  font-weight: 400;
  color: var(--dark);
}

.wiki-toc ol {
  margin: 0;
  padding: 10px 14px 10px 1.7rem;
}

.wiki-toc li {
  margin: 3px 0;
  font-weight: 400;
}

.wiki-toc a {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-weight: 400;
  text-decoration: none;
}


.wiki-breadcrumb {
  margin: 0.6rem 0 0.9rem;
  padding: 8px 10px;
  border: 1px solid var(--lightgray);
  border-radius: 3px;
  background: var(--light);
  font-size: 0.9rem;
  color: var(--gray);
}

.wiki-breadcrumb a {
  font-weight: 600;
}

.wiki-top-layout {
  display: grid;
  grid-template-columns: 240px 430px;
  gap: 1.6rem;
  justify-content: space-between;
  align-items: start;
  margin: 1.4rem 0 2rem;
}

@media (max-width: 700px) {
  .wiki-top-layout {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* 문서 제목 크게 */
article h1:first-of-type {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 0.4rem;
  margin-bottom: 1.1rem;
}

/* 날짜/읽기 시간 숨김 */
.content-meta,
p.content-meta,
.article-meta,
.page-meta {
  display: none !important;
}

/* 링크 뒤 배경 제거 */
.wiki-category mark,
.wiki-toc mark,
.wiki-category a,
.wiki-toc a {
  box-shadow: none !important;
}