/* 컴퓨터 홈(#/)과 컴퓨터 위쪽 메뉴 한 줄. 휴대폰 폭에서는 쓰이지 않는다. */
.hpc{padding:16px 0 56px;background:#fff;color:#0a0a0a;font-family:"Pretendard Variable",Pretendard,"Gothic A1","Malgun Gothic",system-ui,sans-serif;letter-spacing:-.01em;word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased}
.hpc svg{flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
body.editorial .hpc a{text-decoration:none;color:inherit}
body.editorial .hpc .reference-cover{display:block;width:100%;margin:0;padding:0;border:0;border-radius:inherit!important;box-shadow:none;overflow:hidden;background:#f0f0f2!important}

.hpc-tops{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.editorial .hpc .hpc-top{display:block;min-width:0;color:#0a0a0a}
.hpc-top-cover{position:relative;display:block;border-radius:5px;box-shadow:0 4px 14px rgba(0,0,0,.16)}
.hpc-top-cover i{position:absolute;left:10px;top:10px;z-index:1;padding:3px 7px;border-radius:4px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-style:normal;font-weight:700;line-height:1.35}
body.editorial .hpc .hpc-top strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:10px;font-size:17px;font-weight:800;line-height:1.3;letter-spacing:-.02em;color:#0a0a0a}
body.editorial .hpc .hpc-top small{display:block;margin-top:3px;font-size:12.5px;line-height:1.4;color:#737373!important}
.hpc-empty{display:grid;justify-items:start;gap:6px;padding:48px 40px;border-radius:6px;background:#f4f4f5}
body.editorial .hpc .hpc-empty strong{font-size:24px;font-weight:800;color:#0a0a0a}
body.editorial .hpc .hpc-empty small{font-size:14px;color:#737373!important}
body.editorial .hpc .hpc-empty a{margin-top:8px;padding:9px 16px;border-radius:7px;background:#0a0a0a;color:#fff;font-size:14px;font-weight:700}

.hpc-admin{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:11px 14px;border-radius:6px;background:#f4f4f5;font-size:14px;color:#262626}
body.editorial .hpc .hpc-admin a{flex:0 0 auto;display:flex;align-items:center;font-weight:700;color:#0a0a0a}

.hpc-genres{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin-top:20px}
body.editorial .hpc .hpc-genres a{padding:11px 4px;border-radius:6px;background:#f4f4f5;font-size:13.5px;font-weight:600;color:#404040;text-align:center}

.hpc-sec{padding-top:32px}
.hpc-h{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px}
body.editorial .hpc .hpc-h h2{margin:0;font-size:19px!important;font-weight:800!important;line-height:1.3;letter-spacing:-.02em;color:#0a0a0a}
body.editorial .hpc .hpc-h a{display:flex;align-items:center;font-size:13px;color:#8e8e8e}

.hpc-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px}
body.editorial .hpc .hpc-row{display:flex;gap:16px;min-width:0;color:#0a0a0a}
.hpc-row-cover{flex:0 0 112px;width:112px;border-radius:4px}
.hpc-row-tx{display:block;min-width:0}
body.editorial .hpc .hpc-row-tx strong{display:block;font-size:17px;font-weight:800;line-height:1.3;letter-spacing:-.02em;color:#0a0a0a}
.hpc-row-tx strong b{margin-right:7px;color:#1e2a4a;font-weight:800}
body.editorial .hpc .hpc-row-tx small{display:block;margin-top:3px;font-size:13px;line-height:1.4;color:#737373!important}
.hpc-row-tx em{display:block;margin-top:3px;font-size:12.5px;line-height:1.4;font-style:normal;color:#737373}
body.editorial .hpc .hpc-row-tx p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:9px 0 0;font-size:13.5px;line-height:1.5;color:#404040}

.hpc-shelf{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
body.editorial .hpc .hpc-card{display:block;min-width:0;color:#0a0a0a}
.hpc-card-cover{position:relative;display:block;border-radius:4px}
.hpc-card-cover u{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:3px 0;border-radius:0 0 4px 4px;background:rgba(0,0,0,.66);color:#fff;font-size:11px;font-weight:600;line-height:1.3;text-align:center;text-decoration:none}
body.editorial .hpc .hpc-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:6px;font-size:13px;font-weight:600;line-height:1.3;color:#0a0a0a}

body.editorial.alona-bright .hpc .home-site-notices{padding:32px 0 0!important;border:0!important;border-radius:0;background:none}
body.editorial .hpc .home-site-notices .hpc-h{display:flex;width:auto;margin:0;padding:0 0 12px}
.hpc-notice{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:14px}
body.editorial .hpc .hpc-notice a{min-width:0;font-weight:600;color:#0a0a0a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.editorial .hpc .hpc-notice time{flex:0 0 auto;font-size:12.5px;color:#8e8e8e}

@media(max-width:860px){.hpc-rows{grid-template-columns:minmax(0,1fr)}.hpc-shelf{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 위쪽 메뉴: 넓은 화면에서 로고·메뉴·검색·아이콘을 한 줄로 합친다. 줄 위치만 바꾸고 메뉴 링크와 동작은 그대로다. */
.hpc-auth{display:none}
@media(min-width:1101px){
 body.editorial .header-row{grid-template-columns:auto minmax(0,1fr) 250px auto;gap:0 24px;align-items:center}
 body.editorial .brand{grid-column:1;grid-row:1}
 body.editorial .brand-name{font-size:28px!important}
 body.editorial .main-nav{grid-column:2;grid-row:1;gap:6px!important;width:auto;overflow:visible;align-items:center}
 body.editorial .main-nav a{padding:6px 8px!important;min-height:0;font-size:15px!important}
 body.editorial.alona-bright .main-nav a.on:after,body.editorial .main-nav a.on:after{display:none}
 body.editorial .header-search{grid-column:3;grid-row:1;width:100%!important;height:38px!important;border-radius:7px!important}
 body.editorial.alona-bright .header-search input{height:36px!important;background:transparent!important;border-radius:0!important}
 body.editorial .header-tools{grid-column:4;grid-row:1}
 .hpc-auth{display:flex;align-items:center;gap:12px;font-size:13.5px}
 body.editorial .hpc-auth button{width:auto;height:auto;min-height:0!important;margin:0;padding:0;border:0;background:none;box-shadow:none;font:inherit;font-size:13.5px!important;font-weight:500!important;color:#525252!important;cursor:pointer;white-space:nowrap}
 body.editorial .hpc-auth .join{padding:4px 10px;line-height:1.5;border:1px solid #d9d9dc;border-radius:6px;font-weight:600!important;color:#0a0a0a!important}
 .header-actions:has(.hpc-auth) .header-account{display:none}
}
