
:root{--osz-w:1140px;--osz-pad:20px}
/* 공통 컨테이너 = 헤더와 동일 (1180 - 좌우 20) */
.osize-wrap,.os-foot-in,.os-foot-corp,.os-foot-bottom{max-width:calc(var(--osz-w) + var(--osz-pad)*2)!important;padding-left:var(--osz-pad)!important;padding-right:var(--osz-pad)!important;box-sizing:border-box}
@media (min-width:1100px){
  body.home .osize-wrap,body.home .os-hero3-in{max-width:calc(var(--osz-w) + var(--osz-pad)*2)!important;padding-left:var(--osz-pad)!important;padding-right:var(--osz-pad)!important}
  body.page-id-1677 .ots,body.page-id-1677 .ots-result,body.page-id-1677 .ots-hub,body.page-id-1677 .ots-empty{max-width:calc(var(--osz-w) + var(--osz-pad)*2)!important;padding:0 var(--osz-pad)!important;box-sizing:border-box}
  body.page-id-1677 h1.wp-block-post-title{max-width:var(--osz-w)!important}
  /* 정보글 허브 */
  body.page-id-530 .wp-block-post-content,body.page-id-530 .entry-content{max-width:none!important;padding-left:0!important;padding-right:0!important}
  body.page-id-530 .wp-block-post-content>*,body.page-id-530 .osz-finder{max-width:var(--osz-w)!important;margin-left:auto!important;margin-right:auto!important}
  body.page-id-530 h1.wp-block-post-title{max-width:var(--osz-w)!important}
  /* 검색 결과 */
  body.search main>.wp-block-query-title,body.search main>form.wp-block-search{max-width:var(--osz-w)!important;margin-left:auto!important;margin-right:auto!important}
  body.search main>.wp-block-query>ul.wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px;max-width:var(--osz-w)!important;margin:40px auto 0!important;padding:0!important}
  body.search main>.wp-block-query>ul.wp-block-post-template>li>.wp-block-group{padding:0!important;margin:0!important}
  body.search main>.wp-block-query>ul.wp-block-post-template>li>.wp-block-group>*{max-width:none!important}
  body.search main>.wp-block-query>ul.wp-block-post-template h2{font-size:1.25rem!important;margin:.6em 0 .3em!important}
  body.search main>.wp-block-query>ul.wp-block-post-template p{font-size:.95rem!important;line-height:1.75!important}
  body.search main .wp-block-query-pagination,body.search main>.alignwide,body.error404 main>*{max-width:var(--osz-w)!important;margin-left:auto!important;margin-right:auto!important}
}
/* 본문 아래 공통 블록(관련글·이전/다음·더 많은 게시물)도 같은 폭 */
@media (min-width:1100px){
  body.single main ol[class*=nseo-microdata],body.page main ol[class*=nseo-microdata],body.single main>.wp-block-group>.wp-block-group:not(.wp-block-post-content),body.single main>.wp-block-group.alignwide,body.page main>.wp-block-group.alignwide,body.single main nav.wp-block-post-navigation-link,body.single main .wp-block-post-navigation-link{max-width:var(--osz-w)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
  body.single main>.wp-block-group.alignwide>*,body.single main>.wp-block-group>.wp-block-group>*{max-width:none!important}
  body.page-id-530 .wp-block-post-content>.osize-wrap{max-width:calc(var(--osz-w) + var(--osz-pad)*2)!important;padding:0 var(--osz-pad)!important}
  body.page-id-530 .wp-block-post-content>.osize-wrap .os-sec-title{padding-left:0!important;padding-right:0!important}
  body.page-id-530 h1.wp-block-post-title,body.page-id-1677 h1.wp-block-post-title,body.search h1.wp-block-query-title{text-align:left!important;margin-left:auto!important;margin-right:auto!important}
}
/* 읽기형: 본문 + 사이드 */
.osz-read{box-sizing:border-box}
@media (min-width:1100px){
  body.osz-readpage h1.wp-block-post-title{max-width:var(--osz-w)!important;margin-left:auto!important;margin-right:auto!important;text-align:left!important;padding:0!important}
  body.osz-readpage .wp-block-post-content.alignfull,body.osz-readpage .entry-content.alignfull{max-width:none!important;padding:0!important}
  .osz-read{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;max-width:var(--osz-w);margin:0 auto;align-items:start}
  .osz-read-main>.entry-content{max-width:none!important;padding:0!important;margin:0!important}
  .osz-read-main>.entry-content>*{max-width:none!important;margin-left:0!important;margin-right:0!important}
  .osz-read-main>.entry-content>.os-related .os-pop{grid-template-columns:repeat(3,1fr)!important}
}
.osz-rail-in{position:sticky;top:84px;display:flex;flex-direction:column;gap:16px;font-size:.92rem}
.osz-rail-s{display:flex;gap:6px}
.osz-rail-s input{flex:1;min-width:0;font:inherit;padding:10px 12px;border:1px solid #d6d6db;border-radius:10px}
.osz-rail-s button{font:inherit;font-weight:700;border:0;border-radius:10px;background:#1b1b1d;color:#fff;padding:0 14px;cursor:pointer}
.osz-rail-box{background:#fff;border:1px solid #e7e7ea;border-radius:16px;padding:16px}
.osz-rail-box>b{display:block;font-size:.8rem;letter-spacing:.04em;color:#c0392b;margin-bottom:8px}
.osz-rail-box>a{display:block;text-decoration:none;color:#1b1b1d;padding:9px 0;border-top:1px solid #f0f0f2}
.osz-rail-box>a:first-of-type{border-top:0}
.osz-rail-box>a span{display:block;font-weight:700;line-height:1.45}
.osz-rail-box>a small{display:block;color:#8a8a92;font-size:.8rem;margin-top:2px}
.osz-rail-box>a:hover span{color:#c0392b}
.osz-rail-p span{font-weight:600!important;font-size:.9rem}
.osz-rail-cats{display:flex;flex-wrap:wrap;gap:6px}
.osz-rail-cats a{font-size:.82rem;text-decoration:none;color:#3a3a3f;background:#f4f4f6;border-radius:999px;padding:6px 11px}
.osz-rail-cats a:hover{background:#1b1b1d;color:#fff}
@media (max-width:1099px){.osz-rail{margin-top:32px}.osz-rail-in{position:static}.osz-rail-box>a:nth-of-type(n+4).osz-rail-p{display:none}}
@media (max-width:700px){.osz-rail{padding:0 20px}}
