/* =========================================================
   00. 자료실 페이지 초기화 · 공통
========================================================= */
#wrapper.is_resources_page,#wrapper.is_resources_page #container,#wrapper.is_resources_page .shop-content{width:100%;max-width:none;margin:0;padding:0;float:none;display:block}
.resources-page{--res-charcoal:#2e2e2b;--res-yellow:#ffda00;--res-bg:#fff;--res-soft:#f5f5f3;--res-line:#d9d9d5;color:var(--res-charcoal);background:var(--res-bg);font-family:"Pretendard","Noto Sans KR",sans-serif;word-break:keep-all}
.resources-page *{box-sizing:border-box}
.resources-inner{width:min(calc(100% - 48px),1200px);margin:0 auto}

/* =========================================================
   02. 자료실 제목
========================================================= */
.resources-download{scroll-margin-top:145px;padding:68px 0 90px}
.resources-heading{margin-bottom:34px}
.resources-eyebrow{margin:0 0 16px;color:#555;font-size:14px;font-weight:900;letter-spacing:.2px}
.resources-heading h2{margin:0;color:var(--res-charcoal);font-size:52px;line-height:1.08;letter-spacing:-1.7px}
.resources-lead{margin:14px 0 0;color:#777;font-size:16px;line-height:1.7}

/* =========================================================
   03. 자료 목록
========================================================= */
.resources-table{border-top:3px solid var(--res-yellow)}
.resources-table-head,.resources-row{display:grid;grid-template-columns:160px minmax(240px,1fr) minmax(430px,1.25fr);align-items:center}
.resources-table-head{min-height:58px;background:var(--res-soft);color:#555;font-size:16px;font-weight:800;text-align:center}
.resources-table-head span{padding:16px 24px}
.resources-row{min-height:98px;border-bottom:1px solid var(--res-line);background:#fff}
.resources-row>*{padding:20px 24px}
.resources-category{color:#777;font-size:15px}
.resources-name{color:var(--res-charcoal);font-size:16px;line-height:1.45}
.resources-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.resource-button{display:inline-flex;min-width:136px;height:46px;align-items:center;justify-content:center;gap:12px;padding:0 15px;border:1px solid #ccc;border-radius:0;background:#fff;color:var(--res-charcoal);font-size:13px;font-weight:800;transition:border-color .2s ease,color .2s ease,background .2s ease}
.resource-button i{color:var(--res-charcoal);font-size:19px;font-style:normal;font-weight:400;line-height:1}
.resource-button:hover,.resource-button:focus-visible{border-color:var(--res-yellow);background:#fffbea;color:#222}
.resource-button.is-view{min-width:136px}

/* =========================================================
   04. 관련 페이지
========================================================= */
.resources-related{display:grid;margin-top:48px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.resources-related a{display:flex;min-height:54px;align-items:center;justify-content:center;padding:0 18px;border:1px solid #ccc;background:#fff;color:var(--res-charcoal);font-size:15px;font-weight:800;transition:border-color .2s ease,background .2s ease}
.resources-related a:hover{border-color:var(--res-yellow);background:#fffbea;color:var(--res-charcoal)}
.resources-related .is-primary{border-color:var(--res-yellow);background:var(--res-yellow);color:var(--res-charcoal)}
.resources-related .is-primary:hover{border-color:#e8c200;background:#e8c200;color:var(--res-charcoal)}

/* =========================================================
   05. 반응형
========================================================= */
@media(max-width:1024px){
    .resources-page{padding-top:64px}
    .resources-table-head,.resources-row{grid-template-columns:130px minmax(210px,.8fr) minmax(360px,1.2fr)}
    .resources-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
    .resources-table-head,.resources-table-body{min-width:800px}
}
@media(max-width:760px){
    .resources-inner{width:calc(100% - 48px)}
    .resources-download{padding:48px 0 65px}
    .resources-heading{margin-bottom:26px}
    .resources-eyebrow{margin-bottom:10px}
    .resources-heading h2{font-size:28px}
    .resources-lead{margin-top:11px;font-size:14px}
    .resources-table{overflow:visible;border-top-width:2px}
    .resources-table-head{display:none}
    .resources-table-body{display:grid;min-width:0;gap:12px}
    .resources-row{display:grid;min-height:0;padding:20px;border:1px solid var(--res-line);border-radius:7px;grid-template-columns:1fr}
    .resources-row>*{padding:0}
    .resources-category{font-size:12px;font-weight:700}
    .resources-name{margin-top:8px;font-size:17px}
    .resources-actions{margin-top:18px;justify-content:flex-start}
    .resource-button{min-width:0;height:42px;flex:1 1 calc(50% - 4px);padding:0 12px;font-size:12px}
    .resource-button.is-view{min-width:130px;flex:0 1 150px}
    .resources-related{margin-top:30px;grid-template-columns:1fr;gap:8px}
    .resources-related a{min-height:52px}
}
@media(max-width:420px){
    .resource-button{flex-basis:100%}
}


