/* Base */
:root {
  --primary-blue: #476ef3;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}

/* Font */
@font-face {
  font-family: "Wanted Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 1000;
  src: local("Wanted Sans ExtraBlack"), url("../font/woff2/WantedSans-ExtraBlack.woff2") format("woff2");
}
@font-face {
  font-family: "Wanted Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: local("Wanted Sans Black"), url("../font/woff2/WantedSans-Black.woff2") format("woff2");
}
@font-face {
  font-family: "Wanted Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: local("Wanted Sans ExtraBold"), url("../font/woff2/WantedSans-ExtraBold.woff2") format("woff2");
}
@font-face {
  font-family: "Wanted Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: local("Wanted Sans Bold"), url("../font/woff2/WantedSans-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Wanted Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: local("Wanted Sans SemiBold"), url("../font/woff2/WantedSans-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Wanted Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: local("Wanted Sans Medium"), url("../font/woff2/WantedSans-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Wanted Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: local("Wanted Sans Regular"), url("../font/woff2/WantedSans-Regular.woff2") format("woff2");
}


* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Wanted Sans";
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}


.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 8px 12px; background: #fff; color: #111; border-radius: 6px; z-index: 9999; }

.container { width: min(1100px, 95%); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); }

/* Topbar */
.topbar { 
  background: var(--primary-blue); 
  color: var(--white); 
  font-size: 14px; 
  transition: background 0.8s cubic-bezier(0.4, 0.0, 0.2, 1); /* 부드러운 배경 전환 */
}

/* 서브 페이지일 때 topbar 스타일 */
.site-header.sub-page .topbar {
  background: var(--white);
  color: var(--gray-800);
}

.site-header.sub-page .topbar-text {
  color: var(--gray-800);
  opacity: 0.8;
}

.site-header.sub-page .topbar-text:hover {
  opacity: 1;
}

.site-header.sub-page .topbar-divider {
  color: var(--gray-800);
  opacity: 0.5;
}

.site-header.sub-page .topbar-special {
  background: var(--primary-blue);
  color: var(--white);
  border: 1px solid var(--primary-blue);
}

.site-header.sub-page .topbar-special:hover {
  background: #3a5bd9;
}
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; padding: 12px 0; gap: 20px; }
.topbar-left { display: flex; gap: 20px; }
.topbar-text { color: var(--white); opacity: 0.9; cursor: pointer; text-decoration-line: none;}
.topbar-text:hover { opacity: 1; }
.topbar-divider { color: var(--white); opacity: 0.5; font-size: 12px; }
.topbar-special { background: rgba(255,255,255,0.1); color: var(--white); padding: 6px 12px; border-radius: 20px; text-decoration: none; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); }
.topbar-special:hover { background: rgba(255,255,255,0.2); }

/* 모바일에서 topbar 최적화 */
@media (max-width: 768px) {
  .topbar {
    padding: 8px 0;
  }
  
  .topbar-inner {
    padding: 8px 0;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .topbar-text {
    font-size: 12px;
    white-space: nowrap;
    padding: 4px 6px; /* 터치 영역 확대 */
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  .topbar-text:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .topbar-text:active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
  }
  
  .topbar-text:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }
  
  .topbar-special:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }
  
  .topbar-divider {
    font-size: 10px;
  }
  
  .topbar-special {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 12px;
    min-height: 24px; /* 터치 영역 확대 */
    display: flex;
    align-items: center;
  }
  
  /* 모바일에서 덜 중요한 링크들 숨기기 */
  /* .mobile-hide {
    display: none !important;
  } */
}

@media (max-width: 480px) {
  .topbar-inner {
    gap: 8px;
  }
  
  .topbar-text {
    font-size: 11px;
  }
  
  .topbar-special {
    padding: 3px 6px;
    font-size: 10px;
  }
  
  /* 매우 작은 화면에서는 더 간단하게 */
  .topbar-inner {
    gap: 2px;
  }
  
  .topbar-text {
    font-size: 10px;
  }
  
  .topbar-special {
    padding: 2px 5px;
    font-size: 9px;
  }
}

/* Mainbar */
.mainbar { 
  background: var(--primary-blue); 
  transition: background 0.8s cubic-bezier(0.4, 0.0, 0.2, 1); /* 부드러운 배경 전환 */
}

/* 서브 페이지일 때 mainbar 스타일 */
.site-header.sub-page .mainbar {
  background: var(--white);
  height: 70px;
}

.site-header.sub-page .hamburger-line{
  background: var(--gray-800);
}

/* 헤더 테마별 색상 */
.topbar.theme-blue { background: #476ef3; }
.topbar.theme-green { background: #00a1a6; }
.topbar.theme-purple { background: #796aff; }

.mainbar.theme-blue { background: #476ef3; }
.mainbar.theme-green { background: #00a1a6; }
.mainbar.theme-purple { background: #796aff; }
.mainbar-inner { display: flex; align-items: center; }

.logo img { height: 40px; }

.main-nav { margin-left: auto; margin-right: 60px; }
.main-nav ul { display: flex; gap: 40px; list-style: none; padding: 0; margin: 0; }
.main-nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 20px; }

/* 모바일에서 메인바 최적화 */
@media (max-width: 768px) {
  .mainbar-inner {
    padding: 0 16px;
  }
  
  .logo img {
    height: 32px;
  }
  
  .main-nav {
    display: none; /* 모바일에서는 햄버거 메뉴로 대체 */
  }
  
  .header-actions {
    margin-left: auto;
  }

}

@media (max-width: 480px) {
  .mainbar-inner {
    padding: 0 12px;
  }
  
  .logo img {
    height: 28px;
  }
}

/* 서브 페이지일 때 네비게이션 링크 색상 */
.site-header.sub-page .main-nav a {
  color: var(--gray-800);
}

.site-header.sub-page .main-nav a:hover {
  color: var(--primary-blue);
}
.main-nav a:hover { opacity: 0.8; }

/* 메인 네비게이션 링크 활성 상태 */
.main-nav-link[data-active="true"] {
  position: relative;
  font-weight: 600;
}

.main-nav-link[data-active="true"]:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* 서브 페이지에서의 활성 상태 */
.site-header.sub-page .main-nav-link[data-active="true"] {
  color: var(--primary-blue);
  font-weight: 600;
}

.site-header.sub-page .main-nav-link[data-active="true"]:after {
  background: var(--primary-blue);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; border-radius: 6px; }

/* 서브 페이지일 때 햄버거 메뉴 버튼 색상 */
.site-header.sub-page .hamburger-menu-btn {
  color: var(--gray-800);
}

.site-header.sub-page .hamburger-menu-btn:hover {
  color: var(--primary-blue);
}
.menu-btn:hover { opacity: 0.8; }

.slick-list{
  height: 530px;
}

/* Hero Section - 단순한 방법으로 다시 */
.hero-section { 
  background-color: #5469d4;
  background-image: linear-gradient(to bottom, transparent 90%, white 90%);
  min-height: 530px;
  position: relative;
  overflow: visible;
  margin-bottom: 80px;
  transition: background-color 0.8s ease;
}

/* 슬라이드별 테마 색상 */
.hero-section.theme-blue {
  background-color: #476ef3;
}

.hero-section.theme-green {
  background-color: #00a1a6;
}

.hero-section.theme-purple {
  background-color: #796aff;
}

.hero-section::after{
  content: '';
    position: absolute;
    right: 0;
    bottom: -128px;
    z-index: -1;
    width: 128px;
    height: 128px;
}

/* 오른쪽 하단 둥근 모서리 제거 - 왼쪽 하단만 둥글게 */

/* === Slick Slider 스타일 - 테스트용 단순화 === */
.hero-slider {
  width: 100%;
  height: 530px;
}

.hero-slide {
  outline: none;
  /* display 속성 제거 - Slick이 자체적으로 관리하도록 */
}

/* 커스텀 페이지네이션 스타일 */
.hero-slider .slick-dots {
  position: absolute !important;
  bottom: auto !important;
  left: calc((100vw - min(1100px, 95%)) / 2) !important;
  top: 350px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  gap: 16px !important;
  z-index: 10;
  transform: none !important;
}

.hero-slider .slick-dots li {
  width: 12px !important;
  height: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}

.hero-slider .slick-dots li button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  border: none !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
}

.hero-slider .slick-dots li button:before {
  display: none !important;
}

.hero-slider .slick-dots li.slick-active button {
  width: 12px !important;
  border-radius: 16px !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.hero-slide .slide-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.slide-content {
  position: relative;
  width: 100%;
  padding: 20px 0 60px 0;
}

.slide-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.slide-text {
  flex: 1;
  max-width: 450px;
  color: var(--white);
}

.slide-visual {
  flex: 0 0 300px;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

/* slide-login 제거됨 - 로그인박스가 고정으로 변경 */

.slide-visual img {
  width: 150%;
  height: 150%;
  object-fit: contain;
  margin-top: 100px;
  margin-right: 300px;
}



.slide-text h2 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
}

.slide-text p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 30px;
  opacity: 0.95;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary-blue);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.cta-btn:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

/* Login Box - 고정 위치 */
/* 서비스 섹션 스타일 */
.services-section {
  background-color: #ffffff;
}

.services-header {
  text-align: start;
  margin-bottom: 30px;
}

.services-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.services-grid a{
  text-decoration-line: none;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
}

.service-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item-icon img {
  width: 84px;
  height: 84px;
}

.service-icon svg {
  width: 64px;
  height: 64px;
}

.service-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 15px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 30px 0;
  }
  
  .services-header h2 {
    font-size: 24px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
  
  .service-item {
    padding: 15px;
  }
  
  .service-icon svg {
    width: 48px;
    height: 48px;
  }
  
  .service-item h3 {
    font-size: 14px;
  }

  .services-header{
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }
  .services-header{
    text-align: center;
  }
}

/* ===== 게시판 페이지 스타일 ===== */

/* 브레드크럼 */
.breadcrumb-section {
  background-color: #f8f9fa;
  padding: 16px 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin: 0 8px;
  color: #6c757d;
}

.breadcrumb a {
  color: #6c757d;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-blue);
}

.breadcrumb li[aria-current="page"] {
  color: #1a1a1a;
  font-weight: 600;
}

/* 페이지 헤더 */
.page-header {
  /* background: linear-gradient(135deg, #4285f4 0%, #6366f1 100%); */
  color: #000;
  padding: 60px 0 0 0;
  /* text-align: center; */
}

.page-header-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px 0;
  position: relative;
  display: inline-block;
  color: #154292;
}

.page-header-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #e0f3fe;
  z-index: -1;
}

.page-header-content p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
  max-width: 600px;
  /* margin-left: auto;
  margin-right: auto; */
}

/* 게시판 섹션 */
.board-section {
  padding: 60px 0;
  background-color: #ffffff;
}

/* 게시판 컨트롤 */
.board-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e9ecef;
}

.board-info {
  font-size: 16px;
  color: #495057;
}

.board-info strong {
  color: var(--primary-blue);
  font-weight: 700;
}

.board-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-type {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
}

.search-input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  width: 250px;
  font-size: 14px;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.search-btn {
  padding: 8px 16px;
  background-color: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background-color: #3367d6;
}

/* 게시판 리스트 */
.board-list {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.board-header {
  display: grid;
  grid-template-columns: 80px 100px 1fr 150px 100px 80px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
  font-size: 14px;
  color: #495057;
  text-align: center;
  padding: 16px 0;
}

.board-header > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.board-header .col-title {
  justify-content: flex-start;
  padding-left: 20px;
}

/* 게시물 아이템 */
.board-item {
  display: grid;
  grid-template-columns: 80px 100px 1fr 150px 100px 80px;
  border-bottom: 1px solid #f1f3f5;
  transition: background-color 0.2s ease;
  padding: 16px 0;
  align-items: center;
}

.board-item:hover {
  background-color: #f8f9fa;
}

.board-item.notice {
  background-color: #fff3cd;
}

.board-item.notice:hover {
  background-color: #ffeaa7;
}

.board-item > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 14px;
}

.board-item .col-title {
  justify-content: flex-start;
  padding-left: 20px;
}

.board-item .col-num,
.board-item .col-date,
.board-item .col-views {
  color: #6c757d;
}

.board-item .col-company {
  font-weight: 500;
  color: #495057;
}

/* 제목 링크 */
.board-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1a1a1a;
  line-height: 1.4;
}

.board-link:hover .title-text {
  color: var(--primary-blue);
}

.title-text {
  transition: color 0.2s ease;
}

/* 배지들 */
.notice-badge {
  background-color: #dc3545;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.new-badge {
  background-color: #28a745;
  color: white;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.hot-badge {
  background-color: #fd7e14;
  color: white;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.attachment-icon {
  font-size: 12px;
  opacity: 0.6;
}

/* 페이지네이션 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 40px 0;
}

.page-btn,
.page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  text-decoration: none;
  color: #6c757d;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.page-btn:hover,
.page-num:hover {
  background-color: #f8f9fa;
  color: #495057;
}

.page-num.active {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.page-btn.first,
.page-btn.last {
  font-weight: bold;
}

.page-btn.disabled,
.page-num.disabled {
  background-color: #f8f9fa;
  color: #adb5bd;
  border-color: #dee2e6;
  cursor: not-allowed;
  pointer-events: none;
}

/* 게시판 액션 */
.board-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background-color: #3367d6;
  transform: translateY(-1px);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .board-header,
  .board-item {
    grid-template-columns: 60px 80px 1fr 120px 80px 60px;
  }
  
  .search-input {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .page-header-content h1 {
    font-size: 32px;
  }
  
  .page-header-content p {
    font-size: 16px;
  }
  
  .board-controls {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .board-search {
    justify-content: center;
  }
  
  .search-input {
    width: 180px;
  }
  
  .board-header {
    display: none;
  }
  
  .board-item {
    display: block;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .board-item > div {
    justify-content: flex-start;
    padding: 4px 0;
  }
  
  .board-item .col-title {
    order: 1;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 0;
  }
  
  .board-item .col-category {
    order: 2;
  }
  
  .board-item .col-company {
    order: 3;
  }
  
  .board-item .col-date {
    order: 4;
  }
  
  .board-item .col-views {
    order: 5;
  }
  
  .board-item .col-num {
    display: none;
  }
  
  .board-item .col-category::before {
    content: '분류: ';
    color: #6c757d;
  }
  
  .board-item .col-company::before {
    content: '기업: ';
    color: #6c757d;
  }
  
  .board-item .col-date::before {
    content: '등록일: ';
    color: #6c757d;
  }
  
  .board-item .col-views::before {
    content: '조회: ';
    color: #6c757d;
  }
}

/* ===== 일자리 게시판 전용 스타일 ===== */

/* 검색 필터 */
.search-filter {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
  margin-right: 8px;
}

.search-filter:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

/* 일자리 목록 */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 일자리 카드 */
.job-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
}

.job-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.job-item.featured {
  border-left: 4px solid #ff6b35;
  background: linear-gradient(135deg, #fff8f6 0%, #ffffff 100%);
}

.job-item.featured::before {
  content: '추천';
  position: absolute;
  top: -1px;
  right: 20px;
  background: #ff6b35;
  color: white;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  font-size: 12px;
  font-weight: 600;
}

/* 일자리 헤더 */
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  margin-top: 4px;
}

.job-title-area {
  flex: 1;
}

.job-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.job-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.job-title a:hover {
  color: var(--primary-blue);
}

.job-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.featured {
  background-color: #ff6b35;
  color: white;
}

.badge.urgent {
  background-color: #dc3545;
  color: white;
  animation: pulse 2s infinite;
}

.badge.new {
  background-color: #28a745;
  color: white;
}

.badge.deadline {
  background-color: #ffc107;
  color: #212529;
}

.badge.expired {
  background-color: #6c757d;
  color: white;
}

.job-item.expired {
  opacity: 0.6;
  border-left: 3px solid #6c757d;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.job-company {
  text-align: right;
  min-width: 200px;
}

.company-name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 4px;
}

.job-location {
  display: block;
  font-size: 14px;
  color: #6c757d;
}

/* 일자리 내용 */
.job-content {
  margin: 30px;
}

.job-description {
  color: #495057;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.job-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.job-info-item {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.info-label {
  font-weight: 600;
  color: #6c757d;
  min-width: 60px;
  margin-right: 8px;
}

.info-value {
  color: #495057;
}

.info-value.deadline-soon {
  color: #dc3545;
  font-weight: 600;
}

/* 일자리 푸터 */
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
}

.job-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #6c757d;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* 반응형 디자인 - 일자리 */
@media (max-width: 768px) {
  .board-controls {
    flex-direction: column;
    gap: 16px;
  }
  
  .board-search {
    flex-direction: column;
    gap: 12px;
  }
  
  .search-filter,
  .search-type,
  .search-input {
    width: 100%;
    margin-right: 0;
  }
  
  .job-item {
    padding: 20px;
  }
  
  .job-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .job-company {
    text-align: left;
    min-width: auto;
  }
  
  .job-info {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .job-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .job-meta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .job-title {
    font-size: 18px;
  }
  
  .company-name {
    font-size: 16px;
  }
  
  .job-badges {
    gap: 4px;
  }
  
  .badge {
    padding: 2px 6px;
    font-size: 10px;
  }
}

/* ===== 상세보기 페이지 공통 스타일 ===== */

/* 에러 페이지 */
.error-section {
  padding: 80px 0;
  text-align: center;
}

.error-content h1 {
  font-size: 32px;
  color: #dc3545;
  margin-bottom: 16px;
}

.error-content p {
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 32px;
}

/* ===== 채용공고 상세보기 스타일 ===== */

.job-detail-section {
  padding: 40px 0 80px;
  background-color: #ffffff;
}

.job-detail {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 40px;
}

/* 채용공고 헤더 */
.job-detail-header {
  background: linear-gradient(135deg, #4285f4 0%, #6366f1 100%);
  color: white;
  padding: 40px;
}

.job-detail-title h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.job-detail-title .job-badges {
  margin-bottom: 24px;
}

.company-name {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 0 0;
  opacity: 0.95;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  opacity: 0.9;
  color: #000;
}

.meta-item {
  display: flex;
  align-items: center;
}

/* 주요 정보 요약 */
.job-summary {
  padding: 40px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.summary-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-item p {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

/* 상세 내용 */
/* .job-content {
  padding: 40px;
} */

.content-section {
  margin-bottom: 40px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.content-text {
  font-size: 16px;
  line-height: 1.7;
  color: #495057;
}

/* 지원 방법 */
.job-application {
  padding: 40px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.job-application h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px 0;
}

.application-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.application-method h4,
.contact-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 12px 0;
}

.contact-info p {
  margin: 8px 0;
  font-size: 14px;
  color: #495057;
}

.contact-info a {
  color: var(--primary-blue);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* 액션 버튼 */
.job-actions {
  padding: 40px;
  border-top: 1px solid #e9ecef;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* 관련 채용공고 */
.related-jobs {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.related-jobs h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: #1a1a1a;
}

.related-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-job-item {
  padding: 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.related-job-item:hover {
  border-color: var(--primary-blue);
  background: #f8f9fa;
}

.related-job-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 12px;
}

.related-region {
  font-size: 12px;
  background: var(--primary-blue);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.related-title {
  flex: 1;
  font-weight: 500;
  color: #1a1a1a;
}

.related-company {
  font-size: 14px;
  color: #6c757d;
  flex-shrink: 0;
}

/* ===== 게시물 상세보기 스타일 ===== */

.board-detail-section {
  padding: 40px 0 80px;
  background-color: #ffffff;
}

.board-detail {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 40px;
}

/* 게시물 헤더 */
.board-detail-header {
  padding: 40px 40px 32px;
  border-bottom: 1px solid #e9ecef;
}

.post-category {
  margin-bottom: 16px;
}

.category-badge {
  background: var(--primary-blue);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

.notice-badge {
  background: #dc3545;
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

.featured-badge {
  background: #ff6b35;
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.post-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1f3f5;
  font-size: 14px;
  color: #6c757d;
}

.meta-left,
.meta-right {
  display: flex;
  gap: 16px;
}

.company-name {
  font-weight: 600;
  color: #000;
}

/* 게시물 본문 */
.board-content {
  padding: 40px;
}

.content-body {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 32px;
}

.attachments {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
}

.attachments h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1a1a1a;
}

.attachment-info {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

/* 게시물 액션 */
.board-actions {
  padding: 32px 40px;
  border-top: 1px solid #e9ecef;
}

/* 이전/다음 네비게이션 */
.post-navigation {
  padding: 32px 40px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.nav-item {
  margin-bottom: 16px;
}

.nav-item:last-child {
  margin-bottom: 0;
}

.nav-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.nav-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* 관련 게시물 */
.related-posts {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.related-posts h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: #1a1a1a;
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-post-item {
  padding: 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.related-post-item:hover {
  border-color: var(--primary-blue);
  background: #f8f9fa;
}

.related-post-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 16px;
}

.related-title {
  flex: 1;
  font-weight: 500;
  color: #1a1a1a;
}

.related-company {
  font-size: 14px;
  color: #6c757d;
  flex-shrink: 0;
}

.related-date {
  font-size: 12px;
  color: #adb5bd;
  flex-shrink: 0;
}

/* 반응형 디자인 - 상세보기 */
@media (max-width: 768px) {
  .job-detail-header,
  .board-detail-header {
    padding: 24px;
  }
  
  .job-detail-title h1,
  .post-title {
    font-size: 24px;
  }
  
  .job-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .application-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .job-content,
  .board-content {
    padding: 24px;
  }
  
  .job-application {
    padding: 24px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .related-post-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.login-box {
  position: absolute;
  right: calc((100vw - min(1100px, 95%)) / 2); /* 컨테이너 오른쪽 끝에 맞춤 */
  bottom: -40px; /* 배너 섹션 아래로 조금 벗어나게 */
  background: var(--white);
  border-radius: 0 36px 0 36px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  width: 360px;
  z-index: 30; /* 오버레이보다 위에 표시 */
  transform: translateY(0); /* 추가 변형 제거 */
  height: 500px;
  display: flex;
  flex-direction: column;
}

/* 모바일에서 로그인박스 위치 조정 */
@media (max-width: 768px) {
  .login-box {
    position: static;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    border-radius: 16px;
    transform: none;
    height: auto;
    min-height: 400px;
  }
  
  /* 모바일에서 배너 이미지 숨기기 */
  .slide-visual {
    display: none !important;
  }
  
  /* 모바일에서 slick-dots 위치 조정 */
  .hero-slider .slick-dots {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    z-index: 10;
    transform: none !important;
  }
  
  /* 모바일에서 배너 높이 조정 */
  .hero-section {
    min-height: auto !important;
    padding-bottom: 20px !important;
    margin-bottom: 0;
  }
  
  .slick-list {
    height: auto !important;
  }
  
  .hero-slider {
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .login-box {
    max-width: 100%;
    margin: 20px auto 0;
    padding: 24px;
    min-height: 350px;
  }
  
  /* 작은 화면에서 배너 추가 최적화 */
  .hero-section {
    padding-bottom: 15px !important;
    margin-bottom: 0;
  }
  
  .hero-slider .slick-dots {
    margin: 15px auto 0 !important;
    gap: 12px !important;
  }
}

.login-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.4;
}

.login-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.login-btn {
  flex: 1;
  padding: 16px 24px;
  border: 0;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-btn.personal {
  background: var(--primary-blue);
  color: var(--white);
}

.login-btn.personal:hover {
  background: #3651e3;
  transform: translateY(-1px);
}

.login-btn.corporate {
  background: var(--primary-blue);
  color: var(--white);
}

.login-btn.corporate:hover {
  background: #3651e3;
  transform: translateY(-1px);
}

.login-btn::before {
  content: '';
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

.login-btn.personal::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2C13.1 2 14 2.9 14 4C14 5.1 13.1 6 12 6C10.9 6 10 5.1 10 4C10 2.9 10.9 2 12 2ZM21 9V7L15 7V9C15 11.8 13.8 14.3 11.8 16L13 17.2C15.3 15.9 17 13.1 17 10V9H21ZM3 9V7H7V9C7 13.1 8.9 15.9 11.2 17.2L12.5 16C10.5 14.3 9.3 11.8 9.3 9H3Z"/></svg>');
}

.login-btn.corporate::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 7V3H2V21H22V7H12ZM6 19H4V17H6V19ZM6 15H4V13H6V15ZM6 11H4V9H6V11ZM6 7H4V5H6V7ZM10 19H8V17H10V19ZM10 15H8V13H10V15ZM10 11H8V9H10V11ZM10 7H8V5H10V7ZM20 19H12V17H14V15H12V13H14V11H12V9H20V19ZM18 11H16V13H18V11ZM18 15H16V17H18V15Z"/></svg>');
}

.login-help {
  text-align: center;
  color: var(--gray-600);
  font-size: 15px;
  margin: 0;
}

/* Job Services - 채용공고 롤링 */
.job-services {
  flex: 1;
  margin-top: 20px;
}

.job-services-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.job-icon {
  margin-right: 8px;
  font-size: 18px;
}

.more-link {
  font-size: 12px;
  color: #6c757d;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.more-link:hover {
  color: var(--primary-blue);
}

.job-rolling-container {
  height: 150px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
}

.job-rolling-list {
  animation: jobRolling 20s linear infinite;
}

.job-rolling-item {
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.job-rolling-item:hover {
  background-color: #e3f2fd;
}

.job-rolling-item a {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.job-region {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-blue);
  background: rgba(66, 133, 244, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
  flex-shrink: 0;
}

.rolling-job-title {
  font-size: 13px;
  color: #495057;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.job-title {
  font-size: 26px;
  color: #495057;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin-bottom: 10px;
}

.job-rolling-item:hover .job-title {
  color: var(--primary-blue);
}

/* 롤링 애니메이션 */
@keyframes jobRolling {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* 롤링 멈춤 효과 */
.job-rolling-container:hover .job-rolling-list {
  animation-play-state: paused;
}

.quick-services {
  display: flex;
  justify-content: space-between;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.2s;
}

.service-item-icon {
  width: 100px;
  height: 100px;
  background: var(--gray-100);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.2s;
}



.service-item span {
  font-size: 13px;
  color: var(--gray-600);
  text-align: center;
  font-weight: 500;
}

.service-item:hover .service-item-icon {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Content Section */
.content-section {
  /* padding: 80px 0; */
  background: var(--white);
}

.content-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 16px;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--white);
  color: var(--gray-800);
  border-top: 1px solid var(--gray-200);
}

/* 고객지원 섹션 */
.footer-support {
  background: #e3f2fd;
  padding: 30px 0;
}

.support-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1976d2;
  margin: 0 0 8px 0;
}

.support-numbers {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.phone-number {
  font-size: 20px;
  font-weight: 700;
  color: #1976d2;
}

.hours {
  font-size: 14px;
  color: #666;
}

.support-buttons {
  display: flex;
  gap: 12px;
}

.btn-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-support.btn-primary {
  background: #1976d2;
  color: white;
}

.btn-support.btn-primary:hover {
  background: #1565c0;
}

.btn-support.btn-secondary {
  background: white;
  color: #333;
  border: 1px solid #ddd;
}

.btn-support.btn-secondary:hover {
  background: #f5f5f5;
}

.external-icon {
  width: 16px;
  height: 16px;
}

/* 네비게이션 링크 섹션 */
.footer-nav {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #1976d2;
}

.link-divider {
  color: #ddd;
  font-size: 12px;
}

/* 회사 정보 및 소셜미디어 섹션 */
.footer-info {
  background: white;
  padding: 40px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* 회사 정보 */
.company-info p {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.company-address {
  font-weight: 500;
  color: #333 !important;
}

.company-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-details .divider {
  color: #ddd;
}

.copyright {
  margin-top: 16px !important;
  font-size: 13px !important;
  color: #999 !important;
}

/* 고객지원센터 */
.customer-support h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
}

.support-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.phone-icon {
  color: #1976d2;
}

.support-number {
  font-size: 18px;
  font-weight: 700;
  color: #1976d2;
}

.support-hours {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* 소셜미디어 및 패밀리사이트 */
.social-family {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-media {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link.youtube {
  background: #ff0000;
  color: white;
}

.social-link.youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-link.instagram:hover {
  transform: translateY(-2px);
}

.social-link.facebook {
  background: #1877f2;
  color: white;
}

.social-link.facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

.family-site {
  display: flex;
  justify-content: flex-end;
}

.family-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.family-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.caret-icon {
  transition: transform 0.3s ease;
}

.family-btn:hover .caret-icon {
  transform: rotate(180deg);
}

/* 맞춤 상품 섹션 */
.custom-products-section {
  padding: 100px 0;
}

.custom-products-header {
  margin-bottom: 60px;
}

.custom-products-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.custom-products-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
  line-height: 1.3;
}

.q-product-btn {
  background: var(--primary-blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.q-product-btn:hover {
  background: #3b5fd9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(71, 110, 243, 0.3);
}

.products-carousel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 20px 0;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  min-width: 200px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.product-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 12px;
  line-height: 1.4;
}

.product-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

/* 지그재그 패턴 */
.product-card.zigzag-up {
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.product-card.zigzag-down {
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* 호버 시 모든 카드를 일직선으로 정렬 */
.products-carousel:hover .product-card.zigzag-up {
  transform: translateY(0);
}

.products-carousel:hover .product-card.zigzag-down {
  transform: translateY(0);
}

/* 개별 카드 호버 시 더 위로 올라가는 효과 */
.product-card.zigzag-up:hover {
  transform: translateY(-8px) !important;
}

.product-card.zigzag-down:hover {
  transform: translateY(-8px) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .slide-layout {
    gap: 20px;
  }
  
  .slide-visual {
    width: 250px;
    height: 200px;
  }
  
  .login-box {
    width: 300px;
    padding: 24px;
  }
  
  .products-carousel {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  /* 태블릿에서는 지그재그 효과 줄이기 */
  .product-card.zigzag-up {
    transform: translateY(-10px);
  }
  
  .product-card.zigzag-down {
    transform: translateY(10px);
  }
  
  /* 태블릿에서 호버 시 모든 카드를 일직선으로 정렬 */
  .products-carousel:hover .product-card.zigzag-up {
    transform: translateY(0);
  }
  
  .products-carousel:hover .product-card.zigzag-down {
    transform: translateY(0);
  }
  
  .product-card.zigzag-up:hover {
    transform: translateY(-8px) !important;
  }
  
  .product-card.zigzag-down:hover {
    transform: translateY(-8px) !important;
  }
  
  .custom-products-title {
    flex-direction: column;
    gap: 24px;
  }
  
  .custom-products-title h2 {
    font-size: 28px;
  }

  .custom-products-header{
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .topbar-left {
    display: none;
  }
  
  .main-nav {
    display: none;
  }
  
  .hero-slide {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  
  .slide-content {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .slide-layout {
    flex-direction: column;
    gap: 30px;
  }
  
  .slide-text {
    max-width: none;
  }
  
  .slide-visual {
    width: 200px;
    height: 150px;
  }
  
  .slide-login {
    flex: none;
  }
  
  .login-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transform: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px;
  }
  
  .custom-products-section {
    padding: 60px 0;
  }

  .custom-products-header{
    margin-bottom: 0;
  }
  
  .custom-products-title h2 {
    font-size: 24px;
  }
  
  .q-product-btn {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .products-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* 모바일에서는 지그재그 효과 더 줄이기 */
  .product-card.zigzag-up {
    transform: translateY(-5px);
  }
  
  .product-card.zigzag-down {
    transform: translateY(5px);
  }
  
  /* 모바일에서 호버 시 모든 카드를 일직선으로 정렬 */
  .products-carousel:hover .product-card.zigzag-up {
    transform: translateY(0);
  }
  
  .products-carousel:hover .product-card.zigzag-down {
    transform: translateY(0);
  }
  
  .product-card.zigzag-up:hover {
    transform: translateY(-8px) !important;
  }
  
  .product-card.zigzag-down:hover {
    transform: translateY(-8px) !important;
  }
  
  .product-card {
    padding: 24px 16px;
  }
  
  .product-card h3 {
    font-size: 16px;
  }
  
  .product-card p {
    font-size: 13px;
  }

  .custom-products-title h2 {
    font-size: 24px;
    text-align: center;
  }

  .news-content{
    margin-bottom: 0 !important;
  }

  .support-contact {
    display: block;
  }
}

@media (max-width: 480px) {
  .login-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .quick-services {
    justify-content: center;
    gap: 20px;
  }
  
  .custom-products-section {
    padding: 40px 0;
  }
  
  .custom-products-title h2 {
    font-size: 24px;
    text-align: center;
  }
  
  .products-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* 작은 화면에서는 지그재그 효과 제거 */
  .product-card.zigzag-up,
  .product-card.zigzag-down {
    transform: none;
  }
  
  .product-card.zigzag-up:hover,
  .product-card.zigzag-down:hover {
    transform: translateY(-8px);
  }
  
  .product-card {
    padding: 20px 16px;
  }

  .custom-products-header{
    margin-bottom: 0;
  }

  .news-content{
    margin-bottom: 0;
  }

  .support-contact {
    display: block;
  }
}

/* 고객 후기 섹션 */
.testimonials-section {
  padding: 50px 0;
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 16px;
  line-height: 1.3;
}

.testimonials-header p {
  font-size: 18px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 32px;
  font-size: 48px;
  color: var(--primary-blue);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.star {
  color: #fbbf24;
  font-size: 18px;
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 4px;
}

.author-info span {
  font-size: 14px;
  color: var(--gray-600);
}

.company-logo {
  flex-shrink: 0;
}

/* 반응형 디자인 - 고객 후기 */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .testimonials-header h2 {
    font-size: 28px;
  }
  
  .testimonials-header p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }
  
  .testimonials-header {
    margin-bottom: 40px;
  }
  
  .testimonials-header h2 {
    font-size: 24px;
  }
  
  .testimonials-header p {
    font-size: 15px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .testimonial-content p {
    font-size: 15px;
  }
  
  .author-info h4 {
    font-size: 16px;
  }
  
  .author-info span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 40px 0;
  }
  
  .testimonials-header h2 {
    font-size: 20px;
  }
  
  .testimonials-header p {
    font-size: 14px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-card::before {
    top: 16px;
    left: 20px;
    font-size: 36px;
  }
  
  .testimonial-content p {
    font-size: 14px;
  }
}

/* 뉴스 섹션 스타일 */
.news-section {
  padding: 60px 0;
  background: var(--white);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.news-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.news-header .more-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.news-header .more-link:hover {
  color: #333;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #ddd;
}

.news-item {
  background: var(--white);
  padding: 20px 15px;
  position: relative;
  border-right: 1px solid #ddd;
}

.news-item:last-child {
  border-right: none;
}

.news-item:hover {
  background: #f9f9f9;
}

.news-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.news-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-category {
  display: none; /* 카테고리 숨김 */
}

.news-date {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

/* 뉴스 상세 페이지 스타일 */
.news-detail-section {
  padding: 60px 0;
}

.news-detail {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.news-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.category-tag {
  background: var(--primary-blue);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.notice-badge {
  background: #ef4444;
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.featured-badge {
  background: #f59e0b;
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.news-info {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.news-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-info-item .label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.news-info-item .value {
  font-size: 14px;
  color: var(--gray-800);
  font-weight: 600;
}

.news-tags {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-tags .label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.news-tags .tag {
  background: var(--gray-100);
  color: var(--gray-800);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* .news-content {
  margin-bottom: 40px;
} */

.news-summary {
  background: var(--gray-50);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid var(--primary-blue);
}

.news-summary p {
  margin: 0;
  font-size: 16px;
  color: var(--gray-800);
  line-height: 1.6;
}

.news-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
}

.news-attachments {
  margin-bottom: 40px;
}

.news-attachments h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px 0;
}

.attachment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.attachment-item {
  margin-bottom: 8px;
}

.attachment-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-800);
  transition: background 0.3s ease;
}

.attachment-link:hover {
  background: var(--gray-100);
}

.attachment-icon {
  font-size: 16px;
}

.attachment-name {
  font-weight: 500;
  flex: 1;
}

.attachment-size {
  font-size: 14px;
  color: var(--gray-600);
}

.news-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 40px;
}

.news-navigation {
  display: flex;
  gap: 16px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-800);
  transition: background 0.3s ease;
  max-width: 300px;
}

.nav-link:hover {
  background: var(--gray-100);
}

.nav-link.prev {
  flex-direction: row;
}

.nav-link.next {
  flex-direction: row-reverse;
}

.nav-arrow {
  font-size: 18px;
  font-weight: bold;
}

.nav-title {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

.nav-text {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-share {
  display: flex;
  gap: 12px;
}

.share-btn, .list-btn {
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.share-btn {
  background: var(--primary-blue);
  color: var(--white);
}

.share-btn:hover {
  background: var(--gray-800);
}

.list-btn {
  background: var(--gray-100);
  color: var(--gray-800);
}

.list-btn:hover {
  background: var(--gray-200);
}

.related-news {
  margin-top: 60px;
}

.related-news h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 24px 0;
}

.related-news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.related-news-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-news-item:hover {
  transform: translateY(-2px);
}

.related-news-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.related-news-link h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.related-news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--gray-600);
}

/* 뉴스 목록 페이지 스타일 */
.news-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.news-info h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 8px 0;
}

.news-count {
  font-size: 16px;
  color: var(--gray-600);
  margin: 0;
}

.news-search {
  display: flex;
  gap: 16px;
  align-items: center;
}

.search-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

.category-select {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  color: var(--gray-800);
  min-width: 150px;
}

.search-input-group {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px 0 0 8px;
  background: var(--white);
  font-size: 14px;
  color: var(--gray-800);
  min-width: 200px;
}

.search-btn {
  padding: 10px 20px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: var(--gray-800);
}

.news-list {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-header {
  
  gap: 20px;
  padding: 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-800);
}

.news-header-item {
  font-size: 14px;
}

.news-items {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  
  gap: 10px;
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s ease;
}

.news-item:hover {
  background: var(--gray-50);
}

.news-item.notice {
  background: #fef3c7;
}

.news-item.featured {
  background: #f0f9ff;
}

.news-item-content {
  display: contents;
}

.news-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-badge, .featured-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
}

.notice-badge {
  background: #ef4444;
}

.featured-badge {
  background: #f59e0b;
}

.attachment-icon {
  font-size: 14px;
  color: var(--gray-600);
}

.news-link {
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: var(--primary-blue);
}

.news-category {
  display: flex;
  align-items: center;
}

.category-tag {
  background: var(--primary-blue);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.news-date, .news-views {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--gray-600);
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-600);
}

.no-results p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--gray-800);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 30px 20px;
  background: var(--gray-50);
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-link:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.page-link.active {
  background: var(--primary-blue);
  color: var(--white);
}

/* 반응형 디자인 - 뉴스 */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-item:nth-child(2) {
    border-right: none;
  }
  
  .news-header h2 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 40px 0;
  }
  
  .news-header h2 {
    font-size: 20px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }
  
  .news-item {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
  }
  
  .news-item:last-child {
    border-bottom: none;
  }
  
  .news-title {
    font-size: 15px;
  }
  
  .news-date {
    font-size: 11px;
  }

  .news-controls {
    display: block;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 20px;
    border: none;
  }

  .news-info {
    display: block;
  }

  .search-input {
    min-width: 160px;
  }

  .search-btn {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 30px 0;
  }
  
  .news-header h2 {
    font-size: 18px;
  }
  
  .news-header .more-link {
    font-size: 12px;
  }
  
  .news-item {
    padding: 12px 0;
  }
  
  .news-title {
    font-size: 14px;
  }
  
  .news-date {
    font-size: 10px;
  }

  .news-controls {
    display: block;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 20px;
    border: none;
  }

  .news-info {
    display: block;
  }

  .search-btn {
    padding: 0 20px;
  }
}

/* 반응형 디자인 - 푸터 */
@media (max-width: 1024px) {
  .support-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .support-numbers {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .social-family {
    align-items: center;
  }
  
  .family-site {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-support {
    padding: 20px 0;
  }
  
  .support-info h3 {
    font-size: 16px;
  }
  
  .phone-number {
    font-size: 18px;
  }
  
  .support-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .btn-support {
    justify-content: center;
  }
  
  .footer-nav {
    padding: 15px 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .link-divider {
    display: none;
  }
  
  .footer-info {
    padding: 30px 0;
  }
  
  .footer-content {
    gap: 25px;
  }
  
  .company-details {
    flex-direction: column;
    gap: 4px;
  }
  
  .company-details .divider {
    display: none;
  }
  
  .social-media {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .support-numbers {
    flex-direction: column;
    gap: 8px;
  }
  
  .phone-number {
    font-size: 16px;
  }
  
  .hours {
    font-size: 12px;
  }
  
  .btn-support {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .footer-link {
    font-size: 13px;
  }
  
  .company-info p {
    font-size: 13px;
  }
  
  .customer-support h4 {
    font-size: 15px;
  }
  
  .support-number {
    font-size: 16px;
  }
  
  .support-hours {
    font-size: 12px;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .family-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* 햄버거 메뉴 스타일 */
.hamburger-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

/* 모바일에서 햄버거 메뉴 최적화 */
@media (max-width: 768px) {
  .hamburger-menu-btn {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
  
  .hamburger-line {
    width: 18px;
    height: 2px;
  }
}

@media (max-width: 480px) {
  .hamburger-menu-btn {
    width: 32px;
    height: 32px;
    padding: 5px;
  }
  
  .hamburger-line {
    width: 16px;
    height: 1.5px;
  }
}

.hamburger-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--white);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 사이드바 오버레이 */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

  /* 사이드바 */
  .sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: var(--white);
    z-index: 999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  background-color: var(--primary-blue);
  color: var(--white);
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.sidebar-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

  /* 사이드바 네비게이션 */
  .sidebar-nav {
    padding: 0;
    flex: 1;
    overflow-y: auto;
  }

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu-item {
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.sidebar-menu-link:hover {
  background-color: var(--gray-50);
  color: var(--primary-blue);
}

.menu-arrow {
  transition: transform 0.3s ease;
}

.sidebar-menu-item.active .menu-arrow {
  transform: rotate(90deg);
}

.sidebar-menu-item.active .sidebar-menu-link {
  background-color: var(--gray-50);
  color: var(--primary-blue);
}

/* 서브메뉴 */
.sidebar-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--gray-50);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sidebar-menu-item.active .sidebar-submenu {
  max-height: 300px;
}

.sidebar-submenu-link {
  display: block;
  padding: 12px 24px 12px 48px;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  border-left: 3px solid transparent;
}

  .sidebar-submenu-link:hover {
    background-color: var(--gray-100);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
  }

  /* 사이드바 하단 전화번호 안내 */
  .sidebar-contact {
    margin-top: auto;
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
    background-color: var(--gray-50);
  }

  .contact-info h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
  }

  .phone-numbers {
    margin-bottom: 8px;
  }

  .phone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }

  .phone-label {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
  }

  .phone-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .phone-number:hover {
    color: var(--gray-800);
  }

  .contact-hours {
    margin: 0;
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
  }

  /* 반응형 디자인 */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    right: -100%;
  }
  
  .sidebar-header {
    padding: 16px 20px;
  }
  
  .sidebar-header h3 {
    font-size: 16px;
  }
  
  .sidebar-menu-link {
    padding: 14px 20px;
  }
  
  .sidebar-submenu-link {
    padding: 10px 20px 10px 40px;
  }
}

@media (max-width: 480px) {
  .hamburger-menu-btn {
    width: 36px;
    height: 36px;
  }
  
  .hamburger-line {
    width: 18px;
  }
  
  .sidebar-header {
    padding: 14px 16px;
  }
  
  .sidebar-menu-link {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .sidebar-submenu-link {
    padding: 8px 16px 8px 32px;
    font-size: 13px;
  }
  
  .sidebar-contact {
    padding: 16px;
  }
  
  .contact-info h4 {
    font-size: 15px;
  }
  
  .phone-number {
    font-size: 14px;
  }
  
  .contact-hours {
    font-size: 11px;
  }
}

/* 지원서 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 32px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px 32px;
  border-top: 1px solid #e5e7eb;
  background-color: #f9fafb;
  border-radius: 0 0 12px 12px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 0.875rem;
}

.form-group input[type="file"] {
  padding: 8px;
  border: 2px dashed #d1d5db;
  background-color: #f9fafb;
  cursor: pointer;
}

.form-group input[type="file"]:hover {
  border-color: #667eea;
  background-color: #f0f4ff;
}

/* 모바일 모달 최적화 */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
    max-height: 85vh;
  }
  
  .modal-header {
    padding: 20px 24px;
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
  
  .modal-body {
    padding: 24px;
  }
  
  .modal-footer {
    padding: 20px 24px;
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 5% auto;
    width: 98%;
    max-height: 90vh;
  }
  
  .modal-header {
    padding: 16px 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-footer {
    padding: 16px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}