/**
 * research.css — 네이버 프리미엄콘텐츠(네프콘) 픽셀 단위 클론
 * 측정값: Playwright computed styles 기준
 * 용도: /preview/research 페이지 전용
 */

/* ============================================================
   전역 기본값
   ============================================================ */
body {
  background-color: #ffffff;
  font-family: "맑은 고딕","Malgun Gothic",나눔고딕,NanumGothic,돋움,Dotum,굴림,Gulim,Helvetica,sans-serif;
  font-size: 14px;
  line-height: 17.5px;
  color: #000;
}

/* ============================================================
   최상위 컨테이너
   display:flex, flex-direction:column, width:1280px
   ============================================================ */
.container_content {
  display: flex;
  flex-direction: column;
  width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ============================================================
   ① 채널 프로필 (main_content)
   max-width:1120px, padding:20px 20px 0, margin:0 80px
   ============================================================ */
.main_content_wrap {
  max-width: 1120px;
  padding: 20px 20px 0;
  margin: 0 80px;
  box-sizing: border-box;
}

/* display:flex, flex-direction:row */
.main_content_channel {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* 로고 img: 50x50, border-radius:50% */
.main_content_channel_logo {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.main_content_channel_logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.main_content_channel_info {
  flex: 1;
  min-width: 0;
  padding-left: 12px;
}

/* font-size:25px, font-weight:700, color:#1e1e23, line-height:31px, letter-spacing:-0.5px */
.main_content_title {
  display: block;
  font-size: 25px;
  font-weight: 700;
  color: #1e1e23;
  line-height: 31px;
  letter-spacing: -0.5px;
  text-decoration: none;
}

/* font-size:13px, color:#767678 */
.main_content_update_text {
  font-size: 13px;
  color: #767678;
  margin-top: 4px;
}

.main_content_channel_actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 20px;
}

/* 구독 버튼: bg:#111, color:white, font-size:14px, font-weight:700,
   padding:10px, border-radius:4px, width:170px, height:40px, letter-spacing:-0.6px */
.main_content_subscribe_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 40px;
  padding: 10px;
  background: #111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.6px;
  border-radius: 4px;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.main_content_share_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #767678;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

/* ============================================================
   ② 추천 캐러셀 (recommend)
   max-width:1120px, padding:21px 20px 0, margin:0 80px
   ============================================================ */
.recommend_wrap {
  max-width: 1120px;
  padding: 21px 20px 0;
  margin: 0 80px;
  box-sizing: border-box;
  position: relative;
}

/* display:flex, 3열 */
.recommend_list {
  display: flex;
  overflow: hidden;
  position: relative;
}

.recommend_slider {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

/* width:~365px, padding:0 7px */
.recommend_item {
  flex: 0 0 calc((100% - 28px) / 3);
  padding: 0 7px;
  box-sizing: border-box;
}

/* border-radius:10px, width:~351px, height:~208px (비율 약 670:400) */
.recommend_thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  /* 비율 670:400 = 59.7% */
  aspect-ratio: 670 / 400;
  background: #e9ecef;
}

.recommend_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recommend_thumb_default {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 썸네일 위 그라데이션 오버레이: 하단에서 상단으로 검정 그라데이션 */
.recommend_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  box-sizing: border-box;
}

.recommend_link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* color:white, font-size:19px, font-weight:700, line-height:24px, letter-spacing:-0.5px */
.recommend_title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  line-height: 24px;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

/* color:rgba(255,255,255,0.7), font-size:13px */
.recommend_info_text {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 캐러셀 네비게이션 */
.recommend_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}

.recommend_nav.prev { left: -18px; }
.recommend_nav.next { right: -18px; }

/* 점 인디케이터 */
.recommend_dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.recommend_dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #c9cdd2;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}

.recommend_dot.active {
  width: 18px;
  background: #111;
}

/* ============================================================
   ③ 탭 (channel_tab)
   max-width:1120px, padding:18px 20px 15px, margin:0 80px
   ============================================================ */
.channel_tab_wrap {
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 80px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

/* display:flex, role:tablist */
.channel_tab_list {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 0;
}

.channel_tab_list::-webkit-scrollbar {
  display: none;
}

/* font-size:17px, font-weight:700, padding:0 20px, letter-spacing:-0.57px, white-space:nowrap */
.channel_tab_link {
  display: inline-flex;
  align-items: center;
  padding: 18px 20px 15px;
  font-size: 17px;
  font-weight: 700;
  color: rgba(0,0,0,0.3);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.57px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  box-sizing: border-box;
}

/* active 탭: color:#000, border-bottom:3px solid #000 */
.channel_tab_link.active {
  color: #000;
  border-bottom: 3px solid #000;
}

/* ============================================================
   ④ 공지 (channel_notice)
   max-width:1120px, padding:0 20px, margin:0 80px
   ============================================================ */
.channel_notice_wrap {
  max-width: 1120px;
  padding: 10px 20px;
  margin: 0 80px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5e7eb;
  min-height: 40px;
}

/* bg:rgb(185,165,138), color:white, font-size:11px, font-weight:800,
   padding:3px 6px, border-radius:3px, letter-spacing:-0.3px */
.channel_notice_badge {
  flex-shrink: 0;
  background: rgb(185,165,138);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 3px;
  letter-spacing: -0.3px;
  line-height: 1.4;
}

/* margin-right:10px */
.channel_notice_text {
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  color: #555;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 10px;
  /* a 태그로 변경(StockClaw 링크) — 기본 파란 밑줄 방지 */
  text-decoration: none;
  cursor: pointer;
}

/* ============================================================
   ⑤ 구독 카드 (subscription) — 가로 1줄 바 형태
   ============================================================ */
.subscription_wrap {
  padding: 0;
  margin: 0 80px;
  box-sizing: border-box;
  border-bottom: 1px solid #e5e7eb;
}

/* 가로 flex row — 전체 클릭 가능한 링크 */
.subscription_bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  height: 60px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  max-width: 1120px;
}

.subscription_bar:hover {
  background: #f9fafb;
}

/* 좌측: 카드 아이콘 + 채널명 */
.subscription_bar_left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 작은 컬러 카드 아이콘 — 52x26 둥근 사각형 */
.subscription_bar_card {
  width: 52px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(124,58,237,0.25);
}

.subscription_bar_card_text {
  color: #ffffff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.subscription_bar_name {
  color: #767678;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* 중앙: 서비스명 */
.subscription_bar_title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #1e1e23;
  letter-spacing: -0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 우측: 가격 */
.subscription_bar_price {
  flex-shrink: 0;
  font-size: 13px;
  color: #767678;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* ============================================================
   ⑥ 콘텐츠 리스트 (channel_content) — 가장 중요
   max-width:1120px, padding:0 20px, margin:0 80px
   ============================================================ */
.channel_content_wrap {
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 80px;
  box-sizing: border-box;
}

/* display:flex, flex-wrap:wrap, margin:0 -7px (2열 그리드) */
.channel_content_list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7px;
  padding: 0;
  list-style: none;
}

/* width:50% (547px), padding:15px 7px 0, list-style:none */
.channel_content_item {
  width: 50%;
  padding: 15px 7px 0;
  list-style: none;
  box-sizing: border-box;
}

/* display:flex, flex-direction:column, bg:white, border-radius:10px
   box-shadow: rgba(0,0,0,0.05) 0px 2px 6px 0px, rgba(0,0,0,0.07) 0px 0px 1px 0px */
.channel_content_card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: rgba(0,0,0,0.05) 0px 2px 6px 0px, rgba(0,0,0,0.07) 0px 0px 1px 0px;
  overflow: hidden;
  height: 100%;
}

/* display:flex (텍스트+썸네일 가로 배치), padding:24px 28px 7px
   ★★★ 중요: 텍스트가 왼쪽, 썸네일이 오른쪽 ★★★ */
.channel_content_link {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: inherit;
  padding: 24px 28px 7px;
  flex: 1;
}

/* flex:1, overflow:hidden — 좌측 텍스트 영역 */
.channel_content_text {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

/* color:#222, font-size:14px, font-weight:700, line-height:22px
   ★ 제목은 최대 1줄까지 (-webkit-line-clamp:1) */
.channel_content_title {
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  margin: 0 0 4px;
  white-space: normal;
}

/* NEW 뱃지 — 빨간 원 */
.channel_content_icon_new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8344a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
  font-style: normal;
}
.channel_content_icon_new span { line-height: 1; }

/* color:#666, font-size:15px, line-height:22px, margin-top:6px, letter-spacing:-0.21px
   ★ 요약은 최대 3줄 (-webkit-line-clamp:3) */
.channel_content_desc {
  color: #666;
  font-size: 15px;
  line-height: 22px;
  margin-top: 6px;
  letter-spacing: -0.21px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}

/* width:96px, height:96px 고정, margin-left:15px, border-radius:4px, overflow:hidden
   box-shadow: rgba(0,0,0,0.04) 0px 2px 3px 0px — 우측 썸네일 영역 */
.channel_content_thumb {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  margin-left: 15px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f1f3;
  box-shadow: rgba(0,0,0,0.04) 0px 2px 3px 0px;
  align-self: flex-start;
}

/* width:96px, height:96px, object-fit:cover */
.channel_content_thumb img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
}

.channel_content_thumb_default {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f3;
}

.channel_content_thumb_default .thumb_label {
  font-size: 10px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: -0.2px;
  text-align: center;
}

/* display:flex, padding:12px 28px 20px, align-items:center, justify-content:space-between */
.channel_content_info {
  display: flex;
  padding: 12px 28px 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

/* display:flex, align-items:center */
.channel_content_info_text {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* width:13px, display:inline-block, margin:2px 5px 0 0 (자물쇠 아이콘) */
.channel_content_lock {
  width: 13px;
  display: inline-block;
  margin: 2px 5px 0 0;
  vertical-align: middle;
  flex-shrink: 0;
}

/* bg:rgb(245,79,32), color:white, font-size:11px, font-weight:800,
   padding:2px 7px, border-radius:3px, letter-spacing:-0.3px */
.channel_content_badge.as_free {
  background: rgb(245,79,32);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: -0.3px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
}

.channel_content_badge.as_lock {
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
  letter-spacing: -0.3px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
}

/* color:#767678, font-size:13px, line-height:19px, letter-spacing:-0.5px
   ★ 사이에 · 구분자 */
.channel_content_sub {
  color: #767678;
  font-size: 13px;
  line-height: 19px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.channel_content_sub_dot {
  color: #c4c4c4;
  margin: 0 2px;
}

/* 좋아요 영역 — 우측 정렬 */
.channel_content_count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #999;
  padding: 4px 6px;
  border-radius: 6px;
  letter-spacing: -0.3px;
}

.channel_content_count:hover {
  color: #e8344a;
  background: #fef2f2;
}

/* ─── 전체 콘텐츠 보기 버튼 ─── */
.feed_more_wrap {
  text-align: center;
  padding: 20px 0 8px;
  width: 100%;
}

.feed_more_btn {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.feed_more_btn:hover {
  color: #111;
  text-decoration: underline;
}

/* ─── 많이 본 콘텐츠 섹션 — 세로 번호 리스트 ─── */
.popular_wrap {
  max-width: 1120px;
  padding: 16px 20px 0;
  margin: 0 80px;
  box-sizing: border-box;
}

.popular_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.popular_title {
  font-size: 16px;
  font-weight: 700;
  color: #1e1e23;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.popular_info_icon {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  cursor: default;
}

/* 일간/주간 토글 */
.popular_toggle_wrap {
  display: flex;
  gap: 4px;
}

.popular_toggle {
  font-size: 12px;
  font-weight: 600;
  color: #767678;
  background: #f3f4f6;
  border: none;
  border-radius: 12px;
  padding: 5px 12px;
  cursor: pointer;
  letter-spacing: -0.3px;
}

.popular_toggle.active {
  color: #fff;
  background: #1e1e23;
}

/* 세로 번호 리스트 */
.popular_list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.popular_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
}

.popular_item:last-child {
  border-bottom: none;
}

.popular_item:hover .popular_item_title {
  color: #000;
  text-decoration: underline;
}

.popular_item_num {
  flex-shrink: 0;
  width: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #1e1e23;
  text-align: center;
  letter-spacing: -0.3px;
}

.popular_item_num.top3 {
  color: #e8344a;
}

.popular_item_info {
  flex: 1;
  min-width: 0;
}

.popular_item_title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 18px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  letter-spacing: -0.3px;
  margin: 0 0 2px;
}

.popular_item_date {
  font-size: 11px;
  color: #999;
  letter-spacing: -0.2px;
}

.popular_item_thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f1f3;
}

.popular_item_thumb img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  display: block;
}

.popular_item_thumb_default {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f3;
}

/* ─── 피드 내 많이 본 콘텐츠 카드 ─── */
.popular_in_feed {
  /* channel_content_item과 동일한 크기/패딩 */
  width: 50%;
  padding: 15px 7px 0;
  list-style: none;
  box-sizing: border-box;
}

.popular_feed_card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: rgba(0,0,0,0.05) 0px 2px 6px 0px, rgba(0,0,0,0.07) 0px 0px 1px 0px;
  overflow: hidden;
  height: 100%;
  padding: 18px 20px 4px;
  box-sizing: border-box;
}

/* popular_in_feed 안 헤더 — 여백 조정 */
.popular_in_feed .popular_header {
  margin-bottom: 8px;
}

/* popular_in_feed 안 리스트 — 하단 여백 */
.popular_in_feed .popular_list {
  margin-bottom: 8px;
}

/* ─── 로딩/빈 상태 ─── */
.feed_loading {
  display: flex;
  justify-content: center;
  padding: 32px;
  width: 100%;
}

.feed_spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: #111;
  border-radius: 50%;
  animation: feed-spin 0.7s linear infinite;
}

@keyframes feed-spin {
  to { transform: rotate(360deg); }
}

.feed_empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
  width: 100%;
}

/* ============================================================
   반응형 — 태블릿 768px~1280px
   ============================================================ */
@media (max-width: 1280px) {
  .container_content {
    width: 100%;
  }
}

@media (max-width: 1119px) {
  .main_content_wrap,
  .recommend_wrap,
  .channel_tab_wrap,
  .channel_notice_wrap,
  .popular_wrap,
  .subscription_wrap,
  .channel_content_wrap {
    margin: 0 40px;
  }

  .channel_content_item {
    width: 100%;
    padding: 12px 0 0;
  }

  .popular_in_feed {
    width: 100%;
    padding: 12px 0 0;
  }

  .recommend_item {
    flex: 0 0 calc((100% - 14px) / 2);
  }
}

/* ============================================================
   반응형 — 모바일 ~767px: 1열 레이아웃
   ============================================================ */
@media (max-width: 767px) {
  .main_content_wrap,
  .recommend_wrap,
  .channel_tab_wrap,
  .channel_notice_wrap,
  .popular_wrap,
  .subscription_wrap,
  .channel_content_wrap {
    margin: 0 12px;
  }

  .channel_content_item {
    width: 100%;
    padding: 10px 0 0;
  }

  .popular_in_feed {
    width: 100%;
    padding: 10px 0 0;
  }

  .channel_content_link {
    padding: 16px 18px 7px;
  }

  .channel_content_info {
    padding: 8px 18px 16px;
  }

  .channel_content_thumb {
    width: 76px;
    height: 76px;
  }

  .channel_content_thumb img {
    width: 76px;
    height: 76px;
  }

  .channel_content_thumb_default {
    width: 76px;
    height: 76px;
  }

  .recommend_item {
    flex: 0 0 100%;
    padding: 0;
  }

  .recommend_nav.prev { left: 8px; }
  .recommend_nav.next { right: 8px; }

  .recommend_title {
    font-size: 16px;
    line-height: 20px;
  }

  .channel_tab_link {
    font-size: 15px;
    padding: 14px 14px 12px;
  }

  .main_content_title {
    font-size: 18px;
    line-height: 24px;
  }

  .subscription_bar {
    padding: 10px 16px;
  }

  .main_content_subscribe_btn {
    width: 120px;
    font-size: 13px;
  }
}

@media (max-width: 479px) {
  .main_content_channel_logo img {
    width: 44px;
    height: 44px;
  }

  .main_content_channel_logo {
    width: 44px;
    height: 44px;
  }

  .channel_content_title {
    font-size: 13px;
    line-height: 16px;
  }

  .channel_content_desc {
    font-size: 13px;
    line-height: 19px;
  }

  .channel_content_thumb {
    width: 68px;
    height: 68px;
  }

  .channel_content_thumb img {
    width: 68px;
    height: 68px;
  }

  .channel_content_thumb_default {
    width: 68px;
    height: 68px;
  }
}

/* ============================================================
   블로그 서브칩 필터
   ============================================================ */
.blog_subfilter_wrap {
  max-width: 1120px;
  padding: 8px 20px;
  margin: 0 80px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.blog_subfilter_list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.blog_subfilter_chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.blog_subfilter_chip:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111;
}

.blog_subfilter_chip.active {
  background: #111;
  border-color: #111;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 1023px) {
  .blog_subfilter_wrap {
    margin: 0 20px;
  }
}

@media (max-width: 767px) {
  .blog_subfilter_wrap {
    margin: 0;
    padding: 8px 16px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .blog_subfilter_wrap::-webkit-scrollbar {
    display: none;
  }
  .blog_subfilter_list {
    flex-wrap: nowrap;
  }
}

/* ============================================================
   카테고리 리스트 페이지 (channel_category_*)
   /premiumcontents/category
   ============================================================ */
.channel_category_wrap {
  max-width: 1120px;
  margin: 0 80px;
  padding: 12px 20px 40px;
  box-sizing: border-box;
}

.channel_category_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.channel_category_item {
  border-bottom: 1px solid #e5e5e5;
}

.channel_category_item:first-child {
  border-top: 1px solid #e5e5e5;
}

.channel_category_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s;
}

.channel_category_link:hover {
  background-color: #f7f7f7;
}

.channel_category_name {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  flex: 1;
}

.channel_category_name_text {
  display: inline;
}

.channel_category_num {
  font-size: 13px;
  color: #888;
  margin-left: 12px;
  flex-shrink: 0;
}

/* 카테고리 선택 헤더 (research.ejs 내 selectedCategory 표시) */
.selected_category_header {
  max-width: 1120px;
  margin: 0 80px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e5e5;
  box-sizing: border-box;
}

.selected_category_name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.selected_category_count {
  font-size: 13px;
  color: #888;
}

@media (max-width: 1023px) {
  .channel_category_wrap,
  .selected_category_header {
    margin: 0 20px;
  }
}

@media (max-width: 767px) {
  .channel_category_wrap,
  .selected_category_header {
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
}
