
  /* HERO SECTION */
  .hero {
    position: relative;
    width: 100%;
    height: 66vh;
    overflow: hidden;
    background: linear-gradient(90deg, #f1f1ee 30%, #384869 100%);
  }
  .hero-left, .hero-right {
    position: absolute;
    top: 0;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .hero-left { left: 0; width: 40%; }
  .hero-right { right: 0; width: 40%; }
  .hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    top: 0;
    left: 0;
    z-index: 1;
  }
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1000px;
    width: 100%;
    padding: 40px;
    text-align: center;
    z-index: 2;
  }
  .hero-content h1 {
    font-size: 5.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  .hero-content p {
    font-size: 1.55rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 2rem;
  }
  .hero-btn {
    background-color: transparent; /* 배경 없앰 */
    color: #161616;               /* 글자색 */
    padding: 10px 22px;
    border: 2px solid #bbbaba;    /* 테두리 색상 */
    border-radius: 12px;           /* 라운드 */
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }

  .hero-btn:hover {
    background-color: #e9e7e7;     /* 호버 시 배경 색상 */
    color: #161616;                  /* 글자색 변경 */
  }
  
  /* 반응형 */
  @media (max-width: 992px) {
    .hero-left, .hero-right { width: 30%; }
    .hero-overlay { background: rgba(255,255,255,0.6); }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
  }
  @media (max-width:720px){
    .hero{ padding:36px 6vw; flex-direction:column; text-align:center; gap:18px;}
    .hero-left, .hero-right { display: none; } /* 모바일에서는 이미지 숨김 */
    .filter-bar{ padding-left:14px; padding-right:14px; }
  }

  /* FILTER BAR */
  .filter-bar{
    width:100%;
    padding: 8px 6vw;
    border-top:1px solid #f0f0f0;
    border-bottom:1px solid #f0f0f0;
    background:#fff;
  }
  .filters{
    display:flex; flex-wrap: wrap; gap:12px; align-items:center; padding:10px 0; justify-content: center;
  }
  .filter-btn{
    white-space:nowrap;
    padding:8px 14px;
    border-radius:20px;
    background:transparent; border:1px solid #e9e9e9;
    font-weight:600; font-size:0.95rem; cursor:pointer;
  }
  .filter-btn.active{ background:#19191a; color:#fff; border-color:transparent; }

  /* FEED GRID */
  .feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 28px 6vw 80px;
  }

  .highlight { color: #D32F2F; font-weight: 800; }

  .card {
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(10,10,10,0.06);
    transition:transform .22s ease, box-shadow .22s ease;
    width:100%;
  }
  .card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(10,10,10,0.12); }
  .card .thumb img{ width:100%; height:auto; display:block; object-fit:cover; }
  .card .card-body{ padding:16px 16px 18px; }
  .card .kicker{ display:inline-block; font-size:12px; color:#888; margin-bottom:8px; }
  .card h3{ font-size:1.05rem; margin-bottom:8px; line-height:1.25; }
  .card p{ font-size:0.95rem; color:#555; line-height:1.5; margin-bottom:10px; }
  .card .meta{ display:flex; gap:12px; align-items:center; font-size:12px; color:#8a8a8a; }

.card .tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.tags .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  color: #fff;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* 4가지 색상을 반복 */
.tags .tag:nth-child(8n+1) { background: #D32F2F; }  /* 빨강 */
.tags .tag:nth-child(8n+2) { background: #1976D2; }  /* 파랑 */
.tags .tag:nth-child(8n+3) { background: #388E3C; }  /* 초록 */
.tags .tag:nth-child(8n+4) { background: #FBC02D; color:#000; } /* 노랑 */
.tags .tag:nth-child(8n+5) { background: #7B1FA2; } /* 보라색 */
.tags .tag:nth-child(8n+6) { background: #F57C00; } 
.tags .tag:nth-child(8n+7) { background: #0288D1; } 
.tags .tag:nth-child(8n+8) { background: #C2185B; } 

  @media (max-width:720px){
    .feed{ gap:16px; padding-left:14px; padding-right:14px; }
    .card .card-body{ padding:14px; }
  }

  /* LOAD MORE BUTTON */
  .load-more{
    display:block;
    margin:30px auto 80px;
    padding:10px 18px;
    border-radius:10px;
    border:1px solid #e6e6e6;
    background:#fff;
    cursor:pointer;
  }






.search-tags {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-input.full-width {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  font-size: 0.95rem;
}

.tag-list {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding-top: 5px;
  padding-bottom: 5px;
  gap: 8px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Webkit browsers */
.tag-list::-webkit-scrollbar {
  display: none;
}

.tag-list .tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  background: #eee;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tag-list .tag:hover {
  background: #D32F2F;
  color: #fff;
}

.tag-list .tag.active{ background:#D32F2F; color:#fff; }

/* 상세보기 모달 */
  /* 모달 본문에서 이미지 반응형 처리 */
  #modalContent img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px 0; /* 위아래 간격 */
    border-radius: 8px; /* 옵션: 이미지 둥글게 */
  }

  /* 본문 전체 스타일 */
  #modalContent p {
    line-height: 1.6;
    margin-bottom: 12px;
  }
  #modalContent h2, #modalContent h3 {
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 700;
  }
  #modalContent ul {
    margin-left: 20px;
    margin-bottom: 12px;
  }
  #modalContent pre {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 12px;
  }

.separator {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  margin: 12px 0;
}
/* 상세보기 모달 끝 */