:root{
  --bg: #F5F6F8;
  --surface: #ffffff;
  --text: #111;
  --muted: #6b7280;
  --line: #e8eaee;
  --line2:#f0f2f5;
  --shadow: 0 1px 2px rgba(0,0,0,0.04);
  --radius: 18px;
  --container: 1160px;
}

*{ box-sizing: border-box; }
html,body{
  margin:0; padding:0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, Arial, sans-serif;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }
.muted{ color: var(--muted); }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== Header ===== */
.site-header{ padding: 10px 0 14px; }

.topbar{
  background: transparent;
  margin-bottom: 10px;
}
.topbar-inner{
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LEFT logo */
.brand{ display:flex; align-items:center; }
.brand-link{ display:flex; align-items:baseline; gap: 8px; }

.brand-logo{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.8px;
  color: #111;
}

/* RIGHT language */
.lang{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:flex-end;
}

.lang-link{
  font-size: 14px;
  color: #6b7280;

  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.lang-link:hover{
  background: rgba(17,17,17,0.05);
  color: #111;
}

.lang-link.active{
  color:#111;
  font-weight: 900;
}

/* (구) 아이콘 버튼: 지금은 제거했지만 혹시 남아있어도 깨지지 않게 */
.icon-btn{
  width: 36px; height: 36px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  color:#111;
}
.icon-btn:hover{ background: rgba(17,17,17,0.06); }

/* 큰 라운드 네비 카드(캡처 느낌) */
.nav-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 18px;
}

.nav-tabs{
  display:flex;
  gap: 28px;
  align-items:center;
  height: 44px;
}

.tab{
  font-size: 18px;
  font-weight: 800;
  color: #9aa0a6;
  padding: 10px 2px;
  border-bottom: 3px solid transparent;
}
.tab.active{
  color:#111;
  border-bottom-color:#111;
}

/* ===== Page ===== */
.page{ padding: 10px 0 38px; }

/* grid wrapper (기본은 2컬럼이지만, 홈은 grid-single로 1컬럼 사용) */
.grid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items:start;
}

/* 홈에서 사이드바 제거한 단일 컬럼 그리드 */
.grid.grid-single{
  grid-template-columns: 1fr;
}

.card-panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line2);
}

.panel-title{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.chev{
  margin-left: 6px;
  font-size: 22px;
  color: #9aa0a6;
  line-height: 1;
}

.panel-sub{
  padding: 10px 22px 0;
  font-size: 14px;
  color: var(--muted);
}

.panel-body{
  padding: 6px 22px 8px;
}

.featured-hero{
  position: relative;
  display: block;
  height: 100%;
  min-height: 300px;
  margin: 0;
  border-radius: 20px;
  border: 1px solid var(--line2);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-hero-media{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.featured-hero-media.no-image{
  background: linear-gradient(135deg, #e5e7eb, #cfd8e3);
}

.featured-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.08) 28%, rgba(17,17,17,0.78) 100%);
}

.featured-hero-content{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px;
}

.featured-hero-badges{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
  align-items: center;
}

.featured-hero-badge{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #621EE5;
  background: #fff;
  color: #621EE5;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 8px;
}

.featured-hero-new{
  margin-top: 0;
}

.featured-hero-title{
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-hero-meta{
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}

.featured-slider{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured-slider-track{
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0%);
  transition: transform 420ms ease;
}

.featured-slide{
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce){
  .featured-slider-track{
    transition-duration: 0ms;
  }
}

.featured-slider-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(17, 17, 17, 0.38);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.featured-slider-nav.prev{
  left: 10px;
}

.featured-slider-nav.next{
  right: 10px;
}

.featured-slider-dots{
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.featured-slider-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.featured-slider-dot.active{
  background: #fff;
}

.weekly-popular{
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.weekly-popular-head{
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.weekly-popular-list{
  padding: 0;
  flex: 1;
}

.weekly-popular-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.weekly-popular-item + .weekly-popular-item{
  border-top: 1px solid var(--line2);
}

.weekly-popular-rank{
  width: 20px;
  flex: 0 0 20px;
  font-size: 16px;
  font-weight: 900;
  color: #111;
  line-height: 1;
  text-align: center;
}

.weekly-popular-main{
  flex: 1;
  min-width: 0;
}

.weekly-popular-title-row{
  display: flex;
  align-items: center;
  gap: 6px;
}

.weekly-popular-new{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #621EE5;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 3px 6px;
}

.weekly-popular-title{
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.weekly-popular-meta{
  margin-top: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
}

.weekly-popular-thumb{
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  overflow: hidden;
}

.weekly-popular-thumb.no-image{
  background: linear-gradient(135deg, #f1f3f5, #e7eaee);
}

.home-main-grid{
  gap: 14px;
}

.home-top-nav .home-filter-controls{
  padding: 0;
  gap: 14px;
}

.home-content-body{
  padding: 22px;
}

.home-intro-head{
  padding: 0 0 14px;
  border-bottom: 0;
}

.home-row1{
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  margin-bottom: 0;
}

.home-row1-featured,
.home-row1-popular{
  display: flex;
  min-width: 0;
}

.home-row1-featured .featured-hero,
.home-row1-popular .weekly-popular{
  width: 100%;
  height: 100%;
}

.home-row1-featured .featured-slider{
  width: 100%;
  height: 100%;
}

.home-filter-controls{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap: 10px;
  padding: 10px 0 14px;
}

.home-tab-group{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.home-tab{
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

.home-tab.active{
  color: #621EE5;
  border-color: #621EE5;
}

.home-tab-sep{
  width: 1px;
  height: 22px;
  background: var(--line);
}

/* ===== 기존 row 리스트 스타일(혹시 list 페이지에서 계속 쓸 수도 있음) ===== */
.row{
  display:flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line2);
}
.row:last-child{ border-bottom: 0; }

.row-text{ flex:1; min-width: 0; }
.row-title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.35;
}
.row-desc{
  margin: 0 0 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.65;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.row-meta{
  display:flex;
  gap: 8px;
  align-items:center;
  font-size: 13px;
  color: #6b7280;
}
.meta-dot{ color:#d1d5db; }

.row-media{
  width: 210px;
  flex: 0 0 210px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

/* 기본 thumb */
.thumb{
  position: relative;
  width: 210px;
  height: 120px;
  border-radius: 16px;
  border: 1px solid var(--line2);
  overflow: hidden;
}
.thumb.placeholder{
  background: linear-gradient(135deg, #f1f3f5, #e7eaee);
}

/* ===== 콘텐츠 그리드 (post-grid / post-card) ===== */
.post-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 6px 0 10px;
}

.post-card{
  display:flex;
  flex-direction:column;
  height:100%;
  border: 1px solid var(--line2);
  border-radius: 16px;
  overflow:hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.post-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.post-thumb{
  padding: 12px 12px 0;
}

/* 그리드 카드용: 가로폭에 맞춰 채우기 */
.thumb.fill{
  width: 100%;
  height: 160px;
  border-radius: 14px;
  border: 1px solid var(--line2);
}

.card-image-picture{
  position: absolute;
  inset: 0;
  display: block;
}

.card-image-media{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-body{
  --post-title-font-size: 16px;
  --post-title-line-height: 1.35;
  --post-title-slot-height: calc(var(--post-title-font-size) * var(--post-title-line-height) * 2);
  padding: 12px 14px 14px;
  display:flex;
  flex: 1 1 auto;
  flex-direction:column;
  min-height:0;
}

.post-title-slot{
  height: var(--post-title-slot-height);
  min-height: var(--post-title-slot-height);
  margin-bottom: 8px;
  overflow:hidden;
}

.post-title-row{
  display: flex;
  align-items: flex-start;
  gap: 6px;
  height:100%;
}

[data-new-badge][hidden]{
  display: none !important;
}

.post-new-badge{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #621EE5;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 3px 6px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.post-title{
  flex: 1 1 auto;
  min-width:0;
  font-size: var(--post-title-font-size);
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: var(--post-title-line-height);
  margin: 0;
  max-height:100%;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-title.is-compact{
  font-size: 15px;
  line-height: 1.28;
  letter-spacing: -0.22px;
}

.post-desc{
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta{
  display:flex;
  gap: 8px;
  align-items:center;
  margin-top:auto;
  font-size: 12.5px;
  color: #6b7280;
}

.latest-card-meta{
  gap: 6px;
}

.post-category-chip{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
}

.meta-readtime{
  white-space: nowrap;
}

.empty{
  padding: 26px 0 30px;
  color: #9aa0a6;
  font-size: 14px;
}

/* ===== Sidebar (지금은 홈에서 제거했지만, 남아있어도 스타일 유지) ===== */
.side .panel-head{ justify-content: space-between; }
.side-head{ padding-right: 18px; }

.info-dot{
  width: 24px; height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  color: #6b7280;
}

.side-list{ padding: 8px 16px 14px; }

.side-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  padding: 14px 12px;
  border-radius: 14px;
}
.side-item:hover{
  background: #f7f8fa;
}

.side-title{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.side-sub{
  margin-top: 6px;
  font-size: 13px;
}

.side-logo{
  width: 86px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: linear-gradient(135deg, #f1f3f5, #e7eaee);
}

/* ===== Single ===== */
.single{ padding: 22px; }

.single-title-row{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.single-title{
  margin: 0;
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -1px;
  line-height: 1.2;
}

.single-new-badge{
  margin-top: 8px;
}

.single-meta{
  display:flex;
  gap: 8px;
  align-items:center;
  font-size: 13px;
  color:#6b7280;
  margin-bottom: 10px;
}

.single-desc{
  margin: 0 0 16px;
  color:#4b5563;
  line-height: 1.7;
  font-size: 14px;
}

.category-section-head{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 6px;
  padding: 14px 22px 12px;
}

.category-section-copy{
  display:flex;
  flex-direction:column;
  gap: 6px;
  width:100%;
  min-width:0;
}

.category-section-title{
  margin:0;
  line-height:1.15;
}

.category-section-subline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px 16px;
  width:100%;
  min-width:0;
}

.category-section-desc{
  margin:0;
  flex: 1 1 auto;
  min-width:0;
  max-width:56ch;
  line-height:1.5;
  font-size:14px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  overflow:hidden;
  text-overflow:ellipsis;
}

.category-section-meta{
  margin:0;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  white-space:nowrap;
  font-size:12px;
  font-weight:600;
  line-height:1.25;
}

.prose{
  font-size: 16px;
  line-height: 1.9;
  color:#111827;
}
.prose p{ margin: 0 0 14px; }

.article-inline-thumb{
  margin: 26px auto 28px;
  width:100%;
  max-width: 620px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
}

.article-inline-thumb-image{
  display:block;
  width:auto;
  max-width:100%;
  max-height: 360px;
  height:auto;
  border-radius: 18px;
}

.article-inline-thumb-caption{
  margin:0;
  max-width:100%;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align:center;
}

/* ===== Pager ===== */
.pager{
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line2);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.pager-link{
  font-size: 14px;
  font-weight: 900;
  color:#111;
}
.pager-link.disabled{
  opacity: 0.35;
  pointer-events:none;
}
.pager-mid{
  font-size: 13px;
  color:#6b7280;
}

/* ===== Footer ===== */
.footer{ padding: 18px 0 30px; }
.footer-inner{
  min-height: 44px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 6px;
  color:#9aa0a6;
  font-size: 13px;
  text-align:center;
}

.footer-links{
  line-height: 1.5;
}

.footer-feedback{
  margin:0;
  font-size: 12.5px;
  line-height: 1.55;
}

.footer-feedback-link,
.article-feedback-link{
  color:#374151;
  font-weight: 700;
}

.article-feedback{
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: #fbfcfd;
}

.article-feedback-title{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.35;
}

.article-feedback-text{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 1100px){
  .grid{ grid-template-columns: 1fr; }
  .row-media{ width: 180px; flex-basis: 180px; }
  .thumb{ width: 180px; height: 110px; }
  .featured-hero-title{ font-size: 26px; }

  .post-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .footer{
    padding: 18px 0 26px;
  }

  .footer-inner{
    gap: 4px;
  }

  .footer-feedback{
    font-size: 12px;
  }

  .article-feedback{
    margin-top: 18px;
    padding: 14px;
    border-radius: 14px;
  }

  .article-feedback-title{
    font-size: 14px;
  }

  .article-feedback-text{
    font-size: 12.5px;
  }

  .site-header{
    padding: 6px 0 8px;
  }

  .topbar{
    margin-bottom: 6px;
  }

  .topbar-inner{
    height: auto;
    min-height: 36px;
    gap: 10px;
  }

  .brand-link{
    gap: 6px;
  }

  .brand-logo{
    font-size: 18px;
    letter-spacing: -0.5px;
  }

  .lang{
    gap: 6px;
  }

  .lang-link{
    font-size: 12px;
    padding: 4px 8px;
  }

  .home-top-nav{
    padding: 8px 10px;
    border-radius: 15px;
  }

  .home-top-nav .home-filter-controls-scroll{
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-top-nav .home-filter-controls-scroll::-webkit-scrollbar{
    display: none;
  }

  .home-top-nav .home-tab-group{
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .home-top-nav .home-tab-group-home{
    padding-right: 2px;
  }

  .home-top-nav .home-tab-group-sections{
    min-width: max-content;
  }

  .home-top-nav .home-tab{
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.1;
    padding: 6px 10px;
  }

  .home-top-nav .home-tab-sep{
    display:none;
  }

  .nav-tabs{ gap: 16px; overflow:auto; }
  .tab{ font-size: 16px; }
  .row-media{ width: 140px; flex-basis: 140px; }
  .thumb{ width: 140px; height: 92px; border-radius: 14px; }
  .panel-head{ padding: 16px; }
  .panel-body{ padding: 6px 16px 8px; }
  .home-content-body{ padding: 16px; }
  .home-row1{ grid-template-columns: 1fr; gap: 12px; margin-bottom: 0; }
  .featured-hero{ min-height: 240px; }
  .featured-hero-content{ padding: 16px; }
  .featured-hero-title{ font-size: 22px; }
  .featured-hero-badges{ top: 10px; left: 10px; }
  .featured-slider-nav{ width: 26px; height: 26px; }
  .featured-slider-nav.prev{ left: 8px; }
  .featured-slider-nav.next{ right: 8px; }
  .article-inline-thumb{
    margin: 22px auto 24px;
  }
  .article-inline-thumb-image{
    max-height: 240px;
    border-radius: 16px;
  }
  .article-inline-thumb-caption{
    font-size: 11px;
  }
  .featured-slider-dots{ right: 10px; bottom: 10px; }
  .weekly-popular-item{ padding: 10px 12px; }
  .weekly-popular-thumb{ width: 48px; height: 48px; flex-basis: 48px; }
  .weekly-popular-title{ font-size: 13px; }
  .category-section-head{
    padding: 12px 16px 10px;
    gap: 0;
  }

  .category-section-copy{
    gap: 6px;
  }

  .category-section-title{
    font-size: 19px;
    letter-spacing: -0.4px;
    line-height: 1.12;
  }

  .category-section-subline{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap: 6px;
  }

  .category-section-meta{
    margin-top: 0;
    gap: 6px;
    font-size:11px;
    letter-spacing: -0.1px;
  }

  .category-section-desc{
    max-width:100%;
    font-size:13px;
    line-height:1.48;
    -webkit-line-clamp:2;
  }

  .category-section-head + .panel-body{
    padding-top: 2px;
  }

  .post-grid{ grid-template-columns: 1fr; }
  .thumb.fill{ height: 180px; }
}

/* 1) legal-page 내부 레이아웃: 과한 중앙정렬/폭 제한/들쑥날쑥한 규칙 통일 */
.legal-page .single{
  max-width: 960px;
  margin: 0 auto;
  padding: 22px;
}

/* 2) 문서 본문 톤 */
.legal-page .prose{
  font-size: 16px;
  line-height: 1.9;
  color: #111827;
}

/* 3) 문단 간격: 너무 큰 공백 줄이기 (특히 “제목 줄 + 본문” 사이) */
.legal-page .prose p{
  margin: 0 0 10px;
}

/* 4) 굵은 제목(**1. ...**)을 “섹션 제목”처럼 보이게 + 아래 간격 최소화 */
.legal-page .prose p > strong:first-child{
  display: inline-block;
  margin: 12px 0 6px;
  font-size: 15px;
  letter-spacing: -0.2px;
}

/* 5) 첫 문단 상단 여백 과다 방지 */
.legal-page .prose p:first-child{
  margin-top: 2px;
}

/* 6) 링크는 정상 문서 느낌(밑줄) */
.legal-page .prose a{
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 7) 마지막 줄(문의/연락처)은 구분선 + muted 처리 */
.legal-page .prose p:last-child{
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line2);
  color: var(--muted);
}
