/* ── 0. 웹폰트 불러오기 (반드시 맨 위) ── */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── 1. 한글 고딕 웹폰트 (옛한글 첫가끝 조합 지원) ──
   Source Han Sans KR 가변 글꼴, 굵기 250–900 */
@font-face {
  font-family: "Jeongeum Sans KR";
  src: url("https://cdn.jsdelivr.net/npm/@fontpkg/source-han-sans-kr-vf@2.5.2/SourceHanSansKR-VF.ttf.woff2") format("woff2");
  font-weight: 250 900;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF;
}

/* 사이트 전체(본문·메뉴·위젯)를 고딕으로 */
body, button, input, select, textarea,
blockquote, .entry-content, .entry-summary, .page-content,
.comment-content, .widget, .main-navigation, .site-description,
.wp-block-file, .wp-block-details summary {
  font-family: "Jeongeum Sans KR", "Noto Sans", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

/* 본문 글자 굵기 370 (조금 가볍고 유려하게) */
.entry-content, .entry-summary, .page-content, .comment-content {
  font-weight: 370;
}

/* 소제목·굵은 글씨는 제 굵기 유지 */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6,
.entry-content strong, .entry-content b, .entry-content th {
  font-weight: 700;
}

/* ── 2. 글 제목: 한컴 울주 천전리 각석체, 본문보다 약간만 크게 ── */
@font-face {
  font-family: "HancomUljuCheonjeonri";
  src: url("https://cdn.jsdelivr.net/npm/@noonnu/hancom-ulju-cheonjeonri@0.1.0/fonts/hancomuljucheonjeonri-normal.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
body .entry-title,
body .entry-title a,
body .page-title,
body .post-navigation .post-title {
  font-family: "HancomUljuCheonjeonri", "Jeongeum Sans KR", "Noto Sans", sans-serif !important;
  font-weight: normal !important;
}
body .entry-title,
body .page-title {
  font-size: 1.2em;      /* 본문 글자보다 약 1–2pt 큼 */
  line-height: 1.4;
  margin-bottom: 1em;
}

/* ── 3. EN edition 글에만 적용: 영문은 Source Sans 3 ── */
.category-en-edition .entry-content p,
.category-en-edition .entry-content li,
.category-en-edition .entry-content blockquote,
.category-en-edition .entry-content figcaption {
  font-family: "Source Sans 3", "Jeongeum Sans KR", sans-serif;
}
.category-en-edition .entry-content p,
.category-en-edition .entry-content li,
.category-en-edition .entry-content blockquote {
  font-size: 1.1em;      /* Source Sans는 작게 보여서 살짝 키움 */
  line-height: 1.7;
}
.category-en-edition .entry-content h1, .category-en-edition .entry-content h2,
.category-en-edition .entry-content h3, .category-en-edition .entry-content h4,
.category-en-edition .entry-content h5, .category-en-edition .entry-content h6 {
  font-family: "Source Sans 3", "Jeongeum Sans KR", sans-serif !important;
  font-weight: 600 !important;
}
.category-en-edition .entry-title,
.category-en-edition .entry-title a {
  font-family: "Source Sans 3", "Jeongeum Sans KR", sans-serif !important;
  font-weight: 700 !important;
}

/* ── 4. 사이드바 접이식 메뉴 ── */
.widget_categories .children,
.widget_nav_menu .sub-menu {
	display: none;
}
.widget_categories .cat-item:hover > .children,
.widget_nav_menu .menu-item:hover > .sub-menu {
	display: block;
}
.widget_categories .cat-item.cat-parent > a::after,
.widget_nav_menu .menu-item-has-children > a::after {
	content: " ▸";
	font-size: 12px;
}
.widget_categories .cat-item.cat-parent:hover > a::after,
.widget_nav_menu .menu-item-has-children:hover > a::after {
	content: " ▾";
}

/* ── 5. 소셜 메뉴의 목차(index) 아이콘 ── */
.social-navigation #menu-item-917 a:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
  top: 2px;
  vertical-align: top;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 2h4v3H1zM8 2h15v3H8zM1 8h4v3H1zM8 8h15v3H8zM1 14h4v3H1zM8 14h15v3H8zM1 20h4v3H1zM8 20h15v3H8z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 2h4v3H1zM8 2h15v3H8zM1 8h4v3H1zM8 8h15v3H8zM1 14h4v3H1zM8 14h15v3H8zM1 20h4v3H1zM8 20h15v3H8z'/%3E%3C/svg%3E") center / contain no-repeat;
}@media (hover: hover) and (pointer: fine) {
  .wp-block-file:has(.wp-block-file__embed) .wp-block-file__button { display: none; }
}/* 대표이미지를 825×400 비율로 표시 */
.post-thumbnail img,
.post-thumbnail .wp-post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 825 / 400;
  object-fit: cover;
  object-position: center;
}