/* JStudio 커스텀 스타일 (템플릿 main.css 위에 덮어씀) */
body, input, select, textarea {
  font-family: "Open Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 700; word-break: keep-all;
}
p { word-break: keep-all; }

#banner h1 { font-size: 2.2em; line-height: 1.3; }
@media screen and (max-width: 736px) { #banner h1 { font-size: 1.7em; } }

.state-msg { color: #7f888f; padding: 3em 0; text-align: center; }
.empty-box { border: 1px dashed #c9d1d6; border-radius: 6px; padding: 3em 1.5em; text-align: center; color: #7f888f; }
.empty-box code { background: #f3f6fa; padding: .15em .5em; border-radius: 4px; }

.post-meta { font-size: .85em; color: #7f888f; margin: 0 0 .6em; }
.post-meta .cat { color: #f56a6a; font-weight: 600; }

.posts article .image { position: relative; display: block; }
.posts article .image img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.badge-row { position: absolute; left: .6em; bottom: .6em; display: flex; gap: .35em; flex-wrap: wrap; }
.badge { background: rgba(33,37,41,.82); color: #fff; font-size: .75em; line-height: 1; padding: .45em .65em; border-radius: 4px; font-weight: 600; }
.badge.verdict { background: rgba(245,106,106,.95); }

.filter-bar { display: flex; align-items: center; gap: 1em; flex-wrap: wrap; margin: 0 0 1.5em; }
.filter-bar a { font-size: .9em; }

.tag-list { margin: 0 0 1.5em; display: flex; flex-wrap: wrap; gap: .4em; }
.tag-list a { border: 0; background: #f3f6fa; color: #5a6670; padding: .25em .75em; border-radius: 1em; font-size: .85em; }
.tag-list a:hover { background: #e9eef5; color: #f56a6a; }

#post-frame { width: 100%; border: 0; display: block; min-height: 60vh; background: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 1em; margin-top: 2em; padding-top: 1.5em; border-top: 1px solid rgba(210,215,217,.75); }
.post-nav a { max-width: 48%; border: 0; font-size: .95em; }
.post-nav .next { text-align: right; margin-left: auto; }
.post-nav small { display: block; color: #7f888f; }

#more-wrap { text-align: center; margin-top: 2em; }
.mini-posts article .post-meta { margin: .3em 0 0; }

header.main h1 { font-size: 1.9em; line-height: 1.35; }
@media screen and (max-width: 736px) { header.main h1 { font-size: 1.45em; } }

/* 글 첫 이미지를 썸네일로 쓸 때: 잘리지 않게 전체 표시 */
.image.fit img { object-fit: contain !important; }
.image.object.fit { background-size: contain !important; background-repeat: no-repeat; }
.posts article .image.fit, .mini-posts article .image.fit { background-color: #f3f6fa; }
.mini-posts article .image img { aspect-ratio: 16 / 10; width: 100%; }

/* 게시 날짜 배지 */
.post-date { display: inline-block; margin: 0 0 .7em; padding: .3em .85em; border-radius: 1em; background: #f3f6fa;
  color: #3d4449; font-size: .9em; font-weight: 700; letter-spacing: .01em; line-height: 1.5; white-space: nowrap; }
.post-date i { color: #f56a6a; margin-right: .35em; }
.post-date.lg { font-size: 1.1em; padding: .4em 1em; margin-bottom: .5em; }
.post-date.sm { font-size: .8em; padding: .2em .7em; margin: .6em 0 .2em; }
#banner .post-date { margin-bottom: 1em; }
.posts article > .post-date { margin-top: .2em; }
