:root{
  --bg:#f5f6f8;
  --card:#ffffff;
  --text:#111;
  --muted:#667085;
  --line:#e5e7eb;
  --primary:#03c75a; /* ³×ÀÌ¹ö ´À³¦ */
  --shadow: 0 1px 0 rgba(17,24,39,.04);
  --radius: 14px;
}

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

.container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}

/* Header */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 0 10px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:-.2px;
}
.brand-badge{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:10px;
  background: var(--primary);
  color:#fff;
  font-weight:900;
}
.brand span{ font-size: 20px; }
.search{
  flex: 1;
  max-width: 520px;
  position: relative;
  margin: 0 8px;
}
.search input{
  width:100%;
  height:42px;
  border:1px solid var(--line);
  border-radius: 999px;
  padding: 0 44px 0 16px;
  outline:none;
  background:#fff;
  box-shadow: var(--shadow);
}
.search .icon{
  position:absolute;
  right: 14px;
  top:50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
}
.top-actions{
  display:flex;
  gap:10px;
  align-items:center;
  white-space:nowrap;
}
.btn{
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
  color:#111;
  cursor:pointer;
}
.btn.primary{
  border-color: rgba(3,199,90,.25);
  background: rgba(3,199,90,.10);
  color:#0a6b36;
}

/* Sticky menu */
.sticky-wrap{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,246,248,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(229,231,235,.8);
}
.menu-bar{
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  display:flex;
  gap:10px;
  align-items:center;
}
.menu-scroll{
  display:flex;
  gap:8px;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding-bottom: 2px;
}
.menu-scroll::-webkit-scrollbar{ display:none; }
.pill{
  white-space:nowrap;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  font-size: 13px;
  color:#1f2937;
}
.pill.active{
  border-color: rgba(3,199,90,.35);
  background: rgba(3,199,90,.12);
  color:#0a6b36;
}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 22px;
  align-items:start;
  margin-top: 16px;
}
@media (max-width: 1140px){
  .grid{ grid-template-columns: 320px minmax(0,1fr); }
  .right-col{ grid-column: 1 / -1; }
}
@media (max-width: 860px){
  .topbar{ flex-wrap: wrap; }
  .search{ order: 3; flex-basis:100%; max-width:100%; margin: 10px 0 0; }
  .grid{ grid-template-columns: 1fr; }
  .left-col, .right-col{ order: 2; }
  .main-col{ order: 1; }
}

/* Cards */
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.section-head{
  padding: 14px 14px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.section-title{
  font-size: 15px;
  font-weight: 900;
  letter-spacing:-.2px;
}
.section-more{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

/* Featured */
.featured{
  display:flex;
  flex-direction:column;
}
.featured .thumb{
  width:100%;
  aspect-ratio: 16/9;
  background:#ddd center/cover no-repeat;
}
.featured .body{
  padding: 14px 14px 16px;
}
.meta-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom: 8px;
}
.cat{
  font-size: 12px;
  font-weight: 900;
  color:#0a6b36;
  background: rgba(3,199,90,.12);
  border: 1px solid rgba(3,199,90,.25);
  padding: 4px 8px;
  border-radius: 999px;
}
.tag{
  font-size: 11px;
  font-weight: 900;
  color:#fff;
  background:#ef4444;
  padding: 4px 7px;
  border-radius: 999px;
}
.featured h2{
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing:-.3px;
}
.featured p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}
.submeta{
  display:flex;
  gap:10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* List */
.list{
  padding: 0 8px 10px;
}
.item{
  display:flex;
  gap: 10px;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
}
.item:first-child{ border-top: none; }
.item .t{
  width: 84px;
  height: 64px;
  border-radius: 10px;
  background:#e5e7eb center/cover no-repeat;
  flex: 0 0 auto;
  border: 1px solid rgba(229,231,235,.9);
}
.item .info{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.item .title{
  font-weight: 900;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing:-.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.item .meta{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  display:flex;
  gap: 8px;
  align-items:center;
}

/* Rank list */
.rank{
  padding: 0 10px 12px;
}
.rank-row{
  display:flex;
  gap: 10px;
  padding: 10px 6px;
  border-top: 1px solid var(--line);
  align-items:flex-start;
}
.rank-row:first-child{ border-top:none; }
.rank-no{
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(3,199,90,.12);
  border: 1px solid rgba(3,199,90,.25);
  display:grid;
  place-items:center;
  font-weight: 900;
  color:#0a6b36;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 1px;
}
.rank-title{
  font-weight: 900;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing:-.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.rank-meta{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  display:flex;
  gap: 8px;
}

.footer-note{
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  text-align:center;
}

/* -----------------------------
   SINGLE (±â»ç »ó¼¼)
------------------------------ */
.single-wrap{
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}
.breadcrumb{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin: 10px 0 12px;
}
.single-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.single-header{
  padding: 18px 18px 12px;
}
.single-title{
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing:-.4px;
  font-weight: 900;
}
.single-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.single-thumb{
  width:100%;
  aspect-ratio: 16/9;
  background:#ddd center/cover no-repeat;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.single-body{
  padding: 16px 18px 22px;
  line-height: 1.75;
  font-size: 15px;
}
.single-body p{
  margin: 0 0 14px;
}
.single-actions{
  display:flex;
  gap:10px;
  padding: 0 18px 18px;
}
.single-actions a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background:#fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
}
.notice{
  padding: 16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-weight: 700;
}
