/* Consolidated user-requested typography, sidebar and comment styles. */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6,
.site-title, .main-title, .main-navigation a {
 font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif !important;
}
.single-post .inside-article { display: flex; flex-direction: column; }
.single-post .inside-article > .entry-header { order: -2; margin-bottom: 20px; }
.single-post .inside-article > :is(.featured-image, .post-image) { order: -1; margin-top: 0; }
.single-post .entry-header .entry-title { font-size: 32px; font-weight: 800; line-height: 1.4; color: #111; word-break: keep-all; overflow-wrap: anywhere; }
.single-post .entry-content h2 { margin: 42px 0 22px; padding: 16px 20px; border-left: 5px solid #e6353b; border-radius: 0 8px 8px 0; background: #f5f6f8; color: #1b2430; font-size: 28px; font-weight: 800; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.single-post .entry-content h3 { margin: 32px 0 18px; padding-bottom: 10px; border-bottom: 2px solid #e2e5ea; color: #262f3d; font-size: 24px; font-weight: 700; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.sidebar :is(.search-form, .wp-block-search__inside-wrapper) { display: flex; align-items: stretch; gap: 8px; padding: 0; border: 0; }
.sidebar .search-form > label { flex: 1; min-width: 0; margin: 0; }
.sidebar :is(.search-field, .wp-block-search__input) { box-sizing: border-box; width: 100%; min-width: 0; height: 46px; padding: 10px 12px; border: 1px solid #e2e5ea; border-radius: 6px; background: #f7f8fa; font-size: 15px; }
.sidebar :is(.search-submit, .wp-block-search__button) { box-sizing: border-box; flex: 0 0 auto; width: auto; min-width: 68px; height: 46px; margin: 0; padding: 0 16px; border: 0; border-radius: 6px; background: #1b2430; color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; word-break: keep-all; }
.sidebar :is(.search-submit, .wp-block-search__button):hover { background: #e6353b; }
.sidebar :is(.widget_search .widget-title, .wp-block-search__label) { display: block; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid #1b2430; color: #1b2430; font-size: 23px; font-weight: 800; }
.sidebar :is(.widget_categories ul, .wp-block-categories-list) { list-style: none; margin: 0; padding: 0; }
.sidebar :is(.widget_categories li, .wp-block-categories-list li) { margin: 0 0 8px; padding: 0; }
.sidebar :is(.widget_categories, .wp-block-categories-list) a { display: block; padding: 13px 16px; border: 1px solid #eceef1; border-left: 4px solid #1b2430; border-radius: 6px; background: #f7f8fa; color: #1b2430; font-size: 16px; font-weight: 700; text-decoration: none; }
.sidebar :is(.widget_categories, .wp-block-categories-list) a:hover { border-left-color: #e6353b; background: #fff1f2; color: #e6353b; }
.sidebar .widget { margin-bottom: 24px; }
.single-post .comments-area { margin-top: 36px; padding: 28px; background: #fff; border: 1px solid #eceef1; border-radius: 12px; }
.single-post .comments-area :is(.comments-title, .comment-reply-title) { margin: 0 0 22px; padding-bottom: 12px; border-bottom: 3px solid #1b2430; color: #1b2430; font-size: 23px; font-weight: 800; line-height: 1.4; }
.single-post .comments-area .comment-list { margin: 0; padding: 0; list-style: none; }
.single-post .comments-area .comment-body { margin-bottom: 18px; padding: 20px; border: 1px solid #eceef1; border-radius: 10px; background: #f7f8fa; }
.single-post .comments-area .avatar { border-radius: 50%; }
.single-post .comments-area .comment-author { color: #1b2430; font-weight: 700; }
.single-post .comments-area .comment-metadata { margin-top: 4px; font-size: 12px; }
.single-post .comments-area .comment-metadata a { color: #7a8290; text-decoration: none; }
.single-post .comments-area .comment-content { margin-top: 14px; color: #333; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.single-post .comments-area .children { margin-left: 20px; padding-left: 14px; border-left: 2px solid #e2e5ea; list-style: none; }
.single-post .comments-area .comment-reply-link { display: inline-block; padding: 5px 12px; border: 1px solid #dce0e6; border-radius: 6px; background: #fff; color: #1b2430; font-size: 13px; font-weight: 700; text-decoration: none; }
.single-post .comments-area .comment-respond { margin-top: 28px; }
.single-post .comment-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.single-post .comment-form > * { flex: 0 0 100%; box-sizing: border-box; }
.single-post .comment-form label { display: block; margin-bottom: 7px; color: #333; font-size: 14px; font-weight: 600; }
.single-post .comment-form :is(textarea, input[type='text'], input[type='email'], input[type='url']) { box-sizing: border-box; width: 100%; padding: 13px 15px; border: 1px solid #dce0e6; border-radius: 8px; background: #f7f8fa; color: #222831; font: inherit; }
.single-post .comment-form :is(textarea, input):focus-visible { border-color: #1b2430; outline: 2px solid #b8c8df; outline-offset: 2px; background: #fff; }
.single-post .comment-form :is(.comment-notes, .logged-in-as) { color: #7a8290; font-size: 13px; line-height: 1.6; }
.single-post .comment-form-cookies-consent label { display: inline; margin-left: 6px; font-weight: 400; }
.single-post .comment-form .comment-form-comment { order: 10; flex: 1 1 0%; min-width: 0; margin: 0; }
.single-post .comment-form-comment > label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.single-post .comment-form textarea { display: block; height: 64px; min-height: 64px; margin: 0; resize: vertical; }
.single-post .comment-form .form-submit { order: 11; display: flex; flex: 0 0 auto; margin: 0; }
.single-post .comment-form .form-submit .submit { width: auto; min-height: 64px; padding: 12px 20px; border: 0; border-radius: 8px; background: #1b2430; color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.single-post .comment-form .submit:hover, .single-post .comments-area .comment-reply-link:hover { background: #e6353b; color: #fff; }
@media (max-width: 768px) {
 .single-post .entry-header .entry-title { font-size: 26px; }
 .single-post .entry-content h2 { padding: 13px 15px; font-size: 24px; }
 .single-post .entry-content h3 { font-size: 21px; }
}
@media (max-width: 600px) {
 .single-post .comments-area { padding: 20px 16px; }
 .single-post .comments-area .comment-body { padding: 16px; }
 .single-post .comments-area .children { margin-left: 8px; padding-left: 8px; }
 .single-post .comment-form { gap: 8px; }
 .single-post .comment-form .form-submit .submit { padding: 12px; font-size: 14px; }
}

/* Automatic H2/H3 table of contents. */
.single-post .entry-content .bene-toc { margin: 0 0 30px; border: 1px solid #e2e5ea; border-top: 3px solid #1b2430; border-radius: 8px; background: #f7f8fa; }
.single-post .entry-content .bene-toc summary { padding: 16px 20px; color: #1b2430; font-size: 18px; font-weight: 800; cursor: pointer; }
.single-post .entry-content .bene-toc[open] summary { border-bottom: 1px solid #e2e5ea; }
.single-post .entry-content .bene-toc nav { padding: 16px 20px; }
.single-post .entry-content .bene-toc ul { margin: 0; padding: 0; list-style: none; }
.single-post .entry-content .bene-toc ul ul { margin: 6px 0 8px 10px; padding-left: 14px; border-left: 2px solid #dce0e6; }
.single-post .entry-content .bene-toc li { margin: 0; }
.single-post .entry-content .bene-toc a { display: block; padding: 5px 0; color: #333e4d; font-size: 15px; font-weight: 600; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.single-post .entry-content .bene-toc ul ul a { font-size: 14px; font-weight: 400; }
.single-post .entry-content .bene-toc a:hover { color: #e6353b; }
.single-post .entry-content .bene-toc :is(a, summary):focus-visible { outline: 2px solid #2e6fdb; outline-offset: 3px; }
.single-post .entry-content .bene-toc-target { scroll-margin-top: 100px; }
@media (max-width: 600px) {
 .single-post .entry-content .bene-toc summary { padding: 13px 16px; }
 .single-post .entry-content .bene-toc nav { padding: 12px 16px; }
}

/* Zero homepage category summaries. */
.zero-category-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.zero-category-card { min-width: 0; border: 1px solid #eceef1; border-radius: 8px; padding: 16px; background: #fff; }
.zero-category-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid #1b2430; padding-bottom: 10px; margin-bottom: 12px; }
.zero-category-head h3 { font-size: 18px; font-weight: 800; margin: 0; overflow-wrap: anywhere; }
.zero-category-more { flex-shrink: 0; font-size: 12px; color: #7a8290; }
.zero-category-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.zero-category-posts li { min-width: 0; }
.zero-category-post { display: flex; flex-direction: column; gap: 10px; padding: 0; }
.zero-category-thumb { display: block; width: 100%; }
.zero-category-thumb img { display: block; box-sizing: border-box; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #e2e5ea; border-radius: 6px; }
.zero-category-copy { display: block; min-width: 0; }
.zero-category-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.zero-category-copy time { display: block; font-size: 12px; color: #7a8290; margin-top: 5px; }
.zero-category-expand { margin-top: 20px; }
.zero-category-expand summary { padding: 13px 16px; border: 1px solid #e2e5ea; border-radius: 6px; background: #f7f8fa; font-size: 14px; font-weight: 700; cursor: pointer; }
.zero-category-expand[open] summary { margin-bottom: 20px; }
.zero-category-latest a:focus-visible, .zero-category-expand summary:focus-visible { outline: 2px solid #2e6fdb; outline-offset: 3px; }
@media (max-width: 600px) {
 .zero-category-posts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* Keep pagination centered even when GeneratePress removes its wrapper. */
.bene-listing .bene-listing-pagination { width: 100%; box-sizing: border-box; padding-top: 48px; text-align: center; }
.bene-listing .bene-listing-pagination .nav-links { display: flex; width: 100%; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.bene-listing .bene-listing-pagination .pagination { margin: 0; padding: 0; }
