/* Shared channel shortcuts: normal flow after the page cover. */
#docent_wrap:has(.home-channel-links) > .qm { display:none; }
.home-channel-links { position:relative; z-index:10; background:#faf8f4; border-bottom:1px solid #e8e2d9; padding:16px 24px; }
.home-channel-links ul { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; max-width:980px; margin:0 auto; padding:0; list-style:none; }
.home-channel-links a { display:flex; align-items:center; justify-content:center; gap:14px; min-height:50px; padding:10px 18px; border:1px solid #e0d9cf; border-radius:6px; background:#fff; color:#40382f; text-decoration:none; transition:background-color .15s,border-color .15s; }
.home-channel-links img { display:block; flex:none; width:30px; height:30px; object-fit:contain; }
.home-channel-links li:first-child img { width:46px; height:40px; margin:-5px -8px; }
.home-channel-links span { font-size:15px; font-weight:600; line-height:1.4; white-space:nowrap; }
.home-channel-links a:hover { background:#f3eee6; border-color:#a79781; }
.home-channel-links a:focus-visible { outline:3px solid #91363b; outline-offset:3px; }
@media(max-width:700px) {
  .home-channel-links { padding:16px; }
  .home-channel-links ul { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-width:460px; }
  .home-channel-links li:last-child { grid-column:1 / -1; }
  .home-channel-links a { min-height:48px; padding:10px 12px; gap:12px; }
  .home-channel-links img { width:26px; height:26px; }
  .home-channel-links li:first-child img { width:40px; height:34px; margin:-4px -7px; }
  .home-channel-links span { font-size:14px; }
}

/* Compensate only for the supplied Blog icon's built-in whitespace. */
.home-channel-links img[src$="/naver-blog.jpg"] { width:34px; height:34px; margin:-2px; }
@media(max-width:700px) {
  .home-channel-links img[src$="/naver-blog.jpg"] { width:32px; height:32px; margin:-3px; }
}
