/* ==========
  Base
========== */
:root{
  --wrap: 1100px;
  --bg: #ffffff;
  --ink: #111;
  --muted: #666;
  --line: #e8e8e8;

  --black: #0b0b0b;
  --pill: #111;
  --pillText: #fff;

  --cta: #fff36a;
  --ctaText: #111;

  --shadow: 0 10px 24px rgba(0,0,0,.08);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: 'Pretendard', 'Nanum Gothic', "Apple SD Gothic Neo", "Noto Sans KR", Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.wrap{
  width: var(--wrap);
  margin: 0 auto;
}

/* ==========
  Header (optional mock)
========== */
.site-header{
  background: var(--black);
  color: #fff;
  height: 56px;
  display: flex;
  align-items: center;
}
.site-header__inner{
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand__logo{
  font-weight: 800;
  letter-spacing: .5px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
}
.gnb{
  display: flex;
  gap: 60px;
  margin-left: 12px;
  opacity: .95;
}
.gnb__item{
  font-size: 14px;
  letter-spacing: .6px;
}
.gnb__item:hover{ opacity: .8; }
.icon-btn{
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  opacity: .9;
}

.ec-bar{
  background-color: #000; /* 원하는 배경색 */
}

.ec-bar img{
  display: block; /* ⬅️ 핵심 */
}

/* ==========
  Hero
========== */
.hero{
  position: relative;
  height: 420px;
  overflow: hidden;
  background: url("/images/top_bg.jpg") no-repeat center center;
  background-size: cover;
}

.hero__inner{
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 22px;
}
.hero__kicker{
  margin: 0 0 6px 0;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  letter-spacing: .4px;
}
.hero__title{
  margin: 0 0 10px 0;
  color: #fff;
  font-size: 43px;
  line-height: 1.2;
  font-weight: 800;
}
.hero__desc{
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 21px;
  line-height: 1.6;
  max-width: 900px;
}

/* badge */
.badge{
  width: 185px;
  height: 150px;
}
.badge__top{
  font-size: 11px;
  opacity: .9;
  letter-spacing: .6px;
}
.badge__brand{
  margin-top: 6px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .6px;
  color: #ff2d2d;
}
.badge__title{
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

/* ==========
  Intro
========== */
.intro{
  padding: 26px 0 0;
}
.intro__inner{
  padding-bottom: 18px;
}
.intro__lead{
  max-width: 788px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px; /* 로고(label)와 타이틀 간격 */
  padding-left: 60px;
}

.intro__lead .label{
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.intro__lead .intro__title{
  margin: 0; /* 한줄 정렬용: 기존 margin(0 0 8px 0) 제거 */
}

.intro__lead .intro__text{
  flex: 0 0 100%;
  margin-top: 10px; /* 타이틀 줄과 본문 간격 */
}

.intro__title{
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 800;
  color: #e60012;     /* CNET 레드 */
  font-style: italic;/* 살짝 기울어짐 */

  letter-spacing: -0.2px;
}

.intro__text{
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.intro__text_s{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.intro__author{
  margin-top: 18px;
  padding-left : 60px;
}
.author{
  display: flex;
  align-items: center;
  gap: 10px;
}
.author__avatar{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.author__name{
  font-size: 18px;
  font-weight: 700;
}
.author__role{
  font-size: 15px;
  color: var(--muted);
  margin-top: 2px;
}

.rule{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

/* pills */
.pills{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 6px 0 10px;
}
.pill{
  border: 0;
  cursor: pointer;
  height: 40px;
  padding: 6px 25px;          /* ⬅️ 둘레(상하/좌우) 크게 */
  border-radius: 999px;       /* 알약 모양 유지 */
  border: 1.5px solid #000;   /* 둘레 강조 */
  background: #111;
  color: #fff;
  font-size: 17px;
  letter-spacing: .2px;
  opacity: .85;
}
.pill:hover{ opacity: .95; color: #FCF958; }
.pill.is-active{
  opacity: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
  color: #FCF958;
}

/* ==========
  Sections
========== */
.section{
  padding: 34px 0 10px;
}
.section--alt{
  padding-top: 40px;
}
.section__head{
  text-align: center;
  margin-bottom: 26px;
}
.section__title{
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.section__desc{
  margin: 10px auto 0;
  max-width: 840px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========
  Product card blocks
========== */
.product{
  padding: 18px 0 28px;
  border-top: 1px solid transparent;
}
.product + .product{ margin-top: 4px; }

.product__name{
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 700;
}

.product__grid{
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 26px;
  align-items: start;
}

.media-card{
  background: #f3f3f3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
  position: relative;
}

.media-card__flag{
  background: #000;
  margin-bottom: -7px;
}

.flag{
  display: inline-flex;
  align-items: center;
}
.media-card__img{
  width: 100%;
  height: auto;
}

.flag img{
  display: block;
}

.cta{
  display: block;
  width: 100%;
  margin-top: 10px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: var(--cta);
  color: var(--ctaText);
  font-weight: 700;
  font-size: 16px;
  border-radius: 2px;
}

.bullets{
  margin: 0;
}
.bullets dt{
  font-weight: 700;
  margin-top: 10px;
  font-size: 18px;
}
.bullets dd{
  margin: 6px 0 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.bullets dt:first-child{ margin-top: 0; }

/* ==========
  Footer (optional mock)
========== */
.site-footer{
  margin-top: 34px;
  background: var(--black);
  color: rgba(255,255,255,.85);
  padding: 26px 0;
}
.site-footer__inner{
  display: grid;
  grid-template-columns: 120px 1fr 140px;
  align-items: start;
  gap: 16px;
}
.footer-brand{
  font-weight: 900;
  letter-spacing: .5px;
}
.footer-meta p{
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.footer-links{
  margin-top: 8px !important;
  opacity: .9;
}
.footer-links a{ opacity: .9; }
.footer-links a:hover{ opacity: 1; }
.sep{ margin: 0 6px; opacity: .5; }
.footer-sns{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.footer-sns a{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: .9;
}
.footer-sns a:hover{ opacity: 1; }


/* 검색 버튼 */
#searchMenu {
    display: flex;
    align-items: center;
}

#searchMenu .cnet-searchButton {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

#searchMenu .icon-search {
    font-size: 18px;
    color: #ff3b3b;   /* 빨간 검색 아이콘 */
}

#searchMenu img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;   /* 혹시라도 비율 깨지지 않게 */
}

.intro__headline{
  display: flex;
  align-items: center;
  gap: 8px;          /* 로고와 타이틀 사이 간격 */
}

.intro__headline .label{
  display: inline-flex;
  align-items: center;
}

.intro__headline .label img{
  display: block;
  width: 35px;       /* 필요 시 조절 */
  height: auto;
}

.intro__headline .intro__title{
  margin: 0;         /* h2 기본 margin 제거 */
  white-space: nowrap; /* 줄바꿈 방지 */
}

