/* Content Container */
.content-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 50px;
  background-color: #ffffff; /* 전체 흰색 배경 */
  gap: 50px;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  color: #D32F2F; /* 붉은색 */
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #161616;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555555;
}

.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;                  /* 글자색 변경 */
}

.hero-image img {
  width: 550px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-main {
    flex-direction: column-reverse;
    text-align: center;
    padding: 80px 30px;
  }

  .hero-image img {
    width: 100%;
    max-width: 400px;
  }
}



.container-header {
  text-align: center;
  margin: 80px 0 60px;
}

.container-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #161616;
  margin-bottom: 15px;
}

.container-desc {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}


  /* Responsive */
  @media (max-width: 1024px) {
    .hero {
      flex-direction: column;
      text-align: center;
      gap: 40px;
    }

    .hero-text {
      max-width: 100%;
    }
  }

  @media (max-width: 768px) {
    .company-logos {
      gap: 20px;
    }

    .nav-center ul {
      gap: 15px;
    }

    .sub-navbar ul {
      gap: 20px;
    }
  }


  

.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; }

  /* FILTER BAR */
  .filter-bar{
    width:100%;
    padding: 8px 6vw;
    border-bottom:1px solid #f0f0f0;
    background:#fff;
  }











  /* 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;
}

/* 8가지 색상을 반복 */
.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; }
    .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;
  }

/* 상세보기 모달 */
  /* 모달 본문에서 이미지 반응형 처리 */
  #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;
}


/* 상세보기 모달 끝 */
