/* 기존 WordPress 화면에 인라인으로 들어 있던 스타일 + 정적 사이트용 보완 */
body { font-family: Arimo, Arial, sans-serif !important; }
body.custom-background { background-color: #dbdbdb; }

/* fitvids.js 대체: 유튜브 영상을 가로폭에 맞춰 16:9로 */
.fitvid iframe,
.copy iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.fitvid img { max-width: 100%; height: auto; }

/* 슬라이더: 자바스크립트가 너비를 계산하기 전에도 첫 장만 보이게 */
.slider .gallery-container,
.portfolio-slider ul.portfolio-list {
  transition: left 0.5s ease;
}

/* 검색 결과 */
.search-results li { margin-bottom: 18px; }
.search-results .search-snippet { font-size: 13px; color: #666; }

/* 바닥글 Documents 제목 링크: 다른 칸 제목(h4)과 같은 모양 */
#footer h4 a.footer-heading-link { color: #fff; font-weight: 600; }
#footer h4 a.footer-heading-link:hover { text-decoration: underline; }

/* /documents/ 목록 */
.documents-list .document-summary { clear: both; margin: 6px 0 0; font-size: 13px; color: #666; }

/* 약관·정책 문서 상세 */
.document-body h3 { margin: 28px 0 10px; font-size: 16px; font-weight: 600; }
.document-body h4 { margin: 20px 0 8px; font-size: 14px; font-weight: 600; }
.document-body p { margin-bottom: 10px; }
.document-body ul, .document-body ol { margin: 0 0 14px 20px; }
.document-body ul li { list-style: disc; margin-bottom: 4px; }
.document-body ol li { list-style: decimal; margin-bottom: 4px; }
.document-body :lang(ko), .document-body[lang="ko"], [lang="ko"] .document-body { word-break: keep-all; }
.document-nav li { padding: 6px 0; border-bottom: 1px solid #eee; }

/* 테마 버그 보정: 두 칸 너비 합(99.69%) + 오른쪽 칸 테두리 3px 이 100%를 넘어
   화면 폭이 좁으면 오른쪽 칸이 본문 아래로 떨어진다. 테두리만큼 여유를 준다. */
#right-column { margin-left: -4px; }
