
/* ── PC: 메인 와이드 ───────────────────────────── */
@media (min-width:1100px){
  body.home .wp-block-post-content,body.home .entry-content,body.page-id-1677 .wp-block-post-content,body.page-id-1677 .entry-content{max-width:none!important;padding-left:0!important;padding-right:0!important}
  body.home .wp-block-post-content>*,body.home .entry-content>*{max-width:none!important}
  body.home .osize-wrap{max-width:1280px!important;padding:0 32px}
  body.home .os-hero3-in{max-width:1280px!important;min-height:520px;align-items:center}
  body.home .os-hero3 h1{font-size:clamp(3.4rem,5vw,4.6rem)!important;letter-spacing:-.04em}
  body.home .os-hero3-tx p{font-size:1.18rem;line-height:1.85;max-width:560px}
  body.home .os-hero3-vis{transform:scale(1.18);transform-origin:center}
  body.home .os-sec-title h2{font-size:2.1rem!important}
  body.home .os-sec-title p{font-size:1.08rem}
  body.home .os-section{padding:34px 0 14px}
  body.home .ot-list{grid-template-columns:repeat(4,1fr)!important}
  body.home .oq-grid{gap:20px} body.home .oq-card{padding:24px}
  body.home .oq-search{max-width:900px} body.home .oq-search input{font-size:1.15rem;padding:18px 22px}
  body.home .os-pop{grid-template-columns:repeat(4,1fr)!important}
  body.home .os-calc{max-width:980px;margin-left:auto;margin-right:auto}
  body.home #osize-trade .ot-grid{gap:18px}
  /* 수출입 통계(/trade/) 도 와이드 */
  body.page-id-1677 .wp-block-post-content>*,body.page-id-1677 .entry-content>*{max-width:none!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:1200px!important;margin-left:auto;margin-right:auto;padding:0 24px}
  body.page-id-1677 .ots-cats{grid-template-columns:repeat(5,1fr)!important}
  body.page-id-1677 .ots-kpis b{font-size:1.6rem}
  body.page-id-1677 .ots-chart svg{height:280px}
}
/* ── 모바일: 앱형 ─────────────────────────────── */
.osa-tab{display:none}
@media (max-width:760px){
  body.os-app{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .osa-tab{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9990;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    border-top:1px solid #e5e7eb;padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(15,23,42,.06)}
  .osa-tab a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;color:#64748b;font-size:.68rem;font-weight:700;padding:4px 0;border-radius:12px}
  .osa-tab a svg{width:22px;height:22px;fill:currentColor}
  .osa-tab a.on{color:#c0392b}.osa-tab a:active{background:#f1f5f9}
  /* 메인 섹션을 앱 카드처럼 */
  body.home .os-section,body.home #osize-calc{background:#fff;border-radius:22px;margin:12px 10px!important;padding:18px 14px!important;box-shadow:0 4px 18px rgba(15,23,42,.06)}
  body.home{background:#f3f4f6}
  body.home .os-sec-title{text-align:left!important}body.home .os-sec-title h2{font-size:1.25rem!important}body.home .os-sec-title p{font-size:.86rem}
  body.home .os-hero3{border-radius:0 0 28px 28px;overflow:hidden}
  body.home .ot-list{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  body.home .ot-item{flex:0 0 78%;scroll-snap-align:start}
  body.home .oq-tags{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
  body.home .oq-tags a{flex:none}
  .osa-install{display:flex}
}
/* 설치 안내 */
.osa-install{display:none;position:fixed;left:10px;right:10px;bottom:calc(74px + env(safe-area-inset-bottom));z-index:9991;background:#0f172a;color:#fff;border-radius:18px;padding:12px 12px 12px 14px;align-items:center;gap:10px;box-shadow:0 14px 30px rgba(15,23,42,.3)}
.osa-install[hidden]{display:none!important}
.osa-install img{width:40px;height:40px;border-radius:10px;flex:none}
.osa-install div{flex:1;min-width:0}.osa-install b{display:block;font-size:.92rem}.osa-install small{font-size:.76rem;color:#cbd5e1}
.osa-install button{font:inherit;border:0;border-radius:12px;padding:9px 12px;font-weight:800;cursor:pointer}
.osa-install .go{background:#c0392b;color:#fff}.osa-install .x{background:transparent;color:#94a3b8;padding:6px}
@media (min-width:761px){.osa-install{left:auto;right:24px;bottom:24px;width:360px;display:flex}}
.osa-ios{position:fixed;inset:0;z-index:9995;background:rgba(15,23,42,.55);display:flex;align-items:flex-end;justify-content:center}
.osa-ios[hidden]{display:none}.osa-ios .sh{background:#fff;width:100%;max-width:480px;border-radius:22px 22px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom))}
.osa-ios ol{padding-left:1.2em;line-height:1.9;margin:8px 0 14px}.osa-ios button{width:100%;font:inherit;font-weight:800;border:0;border-radius:14px;padding:13px;background:#0f172a;color:#fff}
/* 설치해서 앱으로 열었을 때 */
@media (display-mode:standalone){.osa-install{display:none!important}.os-head,.os-header{padding-top:env(safe-area-inset-top)}}
