@charset "UTF-8";

/* ==========================================================================
   NEOK JAPAN - DOWNLOAD PAGE STYLES
   (greeting.css / product_list.css 서브페이지 폼 완벽 통일)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PAGE HEADER & BREADCRUMB & TITLE & INTRO P (기존 서브페이지 동일)
   -------------------------------------------------------------------------- */
.page-header {
  padding: 40px 0 50px;
  background-color: var(--white, #ffffff);
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-gray, #666666);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--text-gray, #666666);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--main-navy, #0f2645);
}

.breadcrumb .separator {
  margin: 0 10px;
  color: #cbd5e0;
  font-weight: 300;
}

.breadcrumb .current {
  color: var(--main-navy, #0f2645);
  font-weight: 600;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--main-navy, #0f2645);
  letter-spacing: -0.5px;
}

/* greeting-paragraph 스타일 폼 적용 */
.download-intro-text {
  font-size: 15px;
  line-height: 2.0;
  color: var(--text-dark, #222222);
  margin-top: 25px;
  /* [수정] 모바일 화면 넘어침 방지 및 부드러운 줄바꿈 처리 */
  white-space: normal;
  word-break: break-word;     /* 긴 단어나 연속 문장도 폭에 맞게 부드럽게 줄바꿈 */
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   2. MAIN CATALOG HERO SECTION (회색 배경 시작)
   -------------------------------------------------------------------------- */
.main-catalog-hero-section {
  width: 100%;
  background-color: var(--bg-light, #f8f9fa);
  padding: 60px 0;
  margin-bottom: 70px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-thumb {
  flex-shrink: 0;
  width: 480px;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  background-color: #e2e8f0;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-thumb:hover img {
  transform: scale(1.03);
}

.hero-info {
  flex-grow: 1;
}

.hero-subtext {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--main-navy, #0f2645);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--main-navy, #0f2645);
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-gray, #666666);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-meta .dot {
  color: #ccc;
}

.btn-main-download {
  display: inline-block;
  background-color: var(--main-navy, #0f2645);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1px solid var(--main-navy, #0f2645);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-main-download:hover {
  background-color: #ffffff;
  color: var(--main-navy, #0f2645);
}

/* --------------------------------------------------------------------------
   3. SUB MATERIALS SECTION (영업용 자료)
   -------------------------------------------------------------------------- */
.sub-materials-section {
  padding-bottom: 80px;
}

.sub-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--main-navy, #0f2645);
  margin-bottom: 8px;
}

.sub-section-desc {
  font-size: 0.95rem;
  color: var(--text-gray, #666666);
  margin-bottom: 35px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.material-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #f1f5f9;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.material-card:hover .card-thumb img {
  transform: scale(1.04);
}

.card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--main-navy, #0f2645);
  background-color: #eef6ff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark, #222222);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-gray, #666666);
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.btn-sub-download {
  display: block;
  text-align: center;
  background-color: #ffffff;
  color: var(--main-navy, #0f2645);
  border: 1px solid var(--main-navy, #0f2645);
  padding: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-sub-download:hover {
  background-color: var(--main-navy, #0f2645);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE (반응형)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-thumb {
    width: 100%;
  }

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

@media (max-width: 768px) {
  .page-header {
    padding: 30px 0 35px;
  }

  .page-title {
    font-size: 26px;
  }

  .main-catalog-hero-section {
    padding: 40px 0;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }
}

/* PC용 기본 설정 */
.pc-only-br {
  display: inline;
}

/* 768px 이하 모바일 반응형 */
@media (max-width: 768px) {
  /* 모바일에서는 PC용 강제 줄바꿈(<br>)을 숨겨서 문장이 흐르듯 자동 줄바꿈되게 함 */
  .pc-only-br {
    display: none;
  }
}