/* ========================================================
   상단 광고 영역
======================================================== */
.top-display {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 메인 상단 팝업 */
.top-display-banner {
  width: 100%;
  height: 70px;
  overflow: hidden;
}

/* 가운데 정렬 영역 */
.top-display-inner {
  position: relative;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 링크 */
.top-display-inner a {
  display: block;
  height: 100%;
}

/* 이미지는 원본 크기 유지 */
.top-display-inner img {
  display: block;
  height: 70px;
  width: auto;
}

/* 오늘 하루 닫기 */
.top-display-close {
  position: absolute;
  right: 20px;
  bottom: 6px;
  height: 24px;
  padding: 0 10px;
  border: none;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

/* 모바일 숨김 */
@media (max-width: 768px) {
  .top-display-banner {
    display: none;
  }
}
/* ========================================================
   본문 영역 (LNB + 메인 콘텐츠)
======================================================== */
.main-wrap {
  flex: 1;
  width: 100%;
  /*padding-bottom: 50px;*/
}
/* ========================================================
   새로운 소식
======================================================== */
.main-news {
  width: 100%;
  background: #f6fbff;
  /*padding: 40px 0 48px;*/
  padding: 60px 0 40px;
}

/* 가운데 정렬 핵심 */
.main-news .inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.main-news-left h2 {
  line-height: 1.35;
  margin-bottom: 16px;
}

/* 위 */
.main-news-left h2 .line1 {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #303548;
  letter-spacing: -1;
}
/* 아래 */
.main-news-left h2 .line2 {
  display: block;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2;
  color: #303548;
}
.main-news-tabs {
  display: flex;
  flex-direction: column;
}
.main-news-tab {
  display: block;
  padding: 12px 35px;
  border-top-right-radius: 23px;
  font-size: 16px;
  font-weight: 600;
  color: #303548;
  cursor: pointer;
  border-bottom: 1px solid #e5eaf0;
  transition: 0.2s;
}
.main-news-tab.active {
  background: #353794;
  color: #ffffff;
}
.main-news-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.news-card-header {
  padding: 25px 25px 0;
}
.tag {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 5px;
}
.tag-notice {
  background: #e7e5ed;
  color: #333333;
  font-size: 14px;
  border-radius: 15px;
  padding: 3px 13px;
}
.tag-election {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 14px;
  border-radius: 15px;
  padding: 3px 13px;
}
.tag-new {
  background: #0071b2;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
}
.main-news-content {
  display: none;
}
.main-news-content.active {
  display: block;
}
.news-card {
  background: #ffffff;
  border-radius: 20px;
  /*box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e4ec;*/
  box-shadow: none;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}
.news-card:hover {
  /*box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);*/
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-card-title {
  padding: 0 25px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: #333;
  display: -webkit-box;
  /* 표준 */
  line-clamp: 3;
  /* 실제 동작용 */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
  margin-bottom: 10px;
}
.news-card-date {
  font-size: 13px;
  color: #666;
  margin-top: auto;
  padding: 14px 25px;
  /*border-top: 1px solid #e0e4ec;*/
}
/*주요소식*/
.feature-news-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-news-item {
  display: block;
  background: #fff;
  border: 1px solid #eceef2;
  border-left: 3px solid #d9dee8;
  border-radius: 8px;
  padding: 14px 20px;
  margin: 0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-news-item:hover {
  border-left-color: #1a4fa0;
  box-shadow: 0 4px 14px rgba(24, 4, 93, 0.08);
  transform: translateY(-2px);
}
.feature-main-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.feature-main-top h3 {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  color: #18045d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature-main-date {
  font-size: 13px;
  color: #999;
  margin-left: auto;
  flex-shrink: 0;
}
.feature-news-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* 태그: 개별 색 + hover 시 border-left 색도 각 항목에 맞게 */
.tag-law {
  background: #e8f0ff;
  color: #1e40af;
  font-size: 12px;
  border-radius: 15px;
  padding: 3px 13px;
  display: inline-block;
  font-weight: 600;
}
.tag-data {
  background: #e7f7ef;
  color: #166534;
  font-size: 12px;
  border-radius: 15px;
  padding: 3px 13px;
  display: inline-block;
  font-weight: 600;
}
.tag-news {
  background: #fff3e8;
  color: #c2410c;
  font-size: 12px;
  border-radius: 15px;
  padding: 3px 13px;
  display: inline-block;
  font-weight: 600;
}
/* ════════════════════════════════════════
       2. KMOA On the Scene
    ════════════════════════════════════════ */
/*.scene {
  background: #f6fbff;
  padding: 10px 0px 40px;
}*/
.scene {
  background: #ffffff;
  padding: 60px 0;
}
.scene .inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  align-items: start;
}
.section-title img {
  display: block;
  max-width: 100%;
}
.more-link {
  font-size: 14px;
  color: #003087;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 5px;
  transition: opacity 0.2s;
  padding-right: 30px;
  background: url("/image/home/ic-arrows.svg") no-repeat right center;
  background-size: 20px;
  margin-left: auto;
}
.more-link:hover {
  opacity: 0.7;
}

.scene-left {
  margin: 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scene-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.scene-item {
  display: flex;
  cursor: pointer;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.scene-thumb img {
  width: 195px;
  height: 100%;
  border-radius: 20px 0 0 20px;
  object-fit: cover;
  background: #c8d8ee;
  flex-shrink: 0;
  display: block;
}
.scene-body {
  padding: 20px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 0 20px 20px 0;
  flex: 1;
  min-width: 0;
}
.tag-photo {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3864be;
}
.scene-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(
    90deg,
    #353794 0%,
    #4a6fc0 35%,
    #7ba3dc 65%,
    #b8d4ef 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.scene-title {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.scene-desc {
  font-size: 13px;
  color: #535a72;
  line-height: 1.5;
  display: -webkit-box;
  /* 표준 */
  line-clamp: 2;
  /* 실제 동작용 */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 회원수 박스 */
.scene-right {
  margin-left: 10px;
}
.mem-box {
  text-align: left;
  margin-left: 5px;
}

.mem-box-title {
  color: #353794;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 800;
}

.mem-box-title .high {
  color: #333;
  font-weight: 600;
}
.mem-box-wrap {
  display: flex;
  grid-template-columns: 1.5fr 1fr;
  gap: 5px;
  justify-content: space-between;
}
.mem-box-row {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #e7e7e7;
  background: #f8f8f8;
  flex-direction: column;
  text-align: center;
}

.mem-box-label {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}
.mem-box-count {
  font-size: 18px;
  font-weight: 700;
  color: #c8005f;
  line-height: 1;
}
.mem-box-unit {
  font-size: 12px;
  color: #666666;
}
.mem-box-links {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mem-box-link {
  display: flex;
  align-items: center;
  border: 2px solid #d3d9dc;
  justify-content: space-between;
  background: #fff;
  border-radius: 14px;
  padding: 5px 10px 5px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #333333;
  transition: background 0.15s;
}
.mem-box-link:hover {
  background: #e8f1ff;
}
.mem-box-link::after {
  content: "›";
  font-size: 16px;
}
/* ════════════════════════════════════════
       3. 통합검색
    ════════════════════════════════════════ */
.search-bar {
  border-top: 1px solid#e7e7e7;
  border-bottom: 1px solid#e7e7e7;
  background: #f7f9fc;
  padding: 60px 0 40px;
}
.search-bar .inner {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.search-bar-left {
  margin-left: 25px;
}
.search-bar-left h3 {
  font-size: 32px;
  color: #333333;
  font-weight: 800;
  margin-bottom: 8px;
}
.search-bar-left p {
  font-size: 14px;
  color: #858585;
  line-height: 1.4;
  margin-left: 5px;
}
.search-bar-right {
  padding-right: 130px; /* 오른쪽 여백 */
}
.search-bar-input-wrap {
  display: flex;
  gap: 0;
  align-items: center;
  overflow: hidden;
  background: #fff;
  margin-bottom: 10px;
}
.search-bar-input {
  flex: 1;
  padding: 17px 18px;
  font-size: 16px;
  border: none;
  outline: none;
  border: 3px solid #103995;
  border-right: none;
  color: #999999;
}
.search-bar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #103995;
  color: #fff;
  padding: 16px 20px; /* 세로만 증가 */
  border: 3px solid #103995;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}
.icon-search {
  width: 22px;
  height: 22px;
}
.search-bar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
  align-items: center;
}
.search-bar-tag {
  background: #fff;
  border: 1px solid #e0e4ec;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: 0.15s;
}
.search-bar-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* ════════════════════════════════════════
       4. 지금 주목받는 채용
    ════════════════════════════════════════ */
.main-jobs {
  padding: 60px 0;
}
.main-jobs-top {
  padding: 60px 0;
}

.main-jobs-header {
  display: flex;
  align-items: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
  /*border-bottom: 1px solid #e1e8eb;*/
}
.main-jobs-title {
  font-size: 28px;
  font-weight: 800;
  color: #353794;
  margin-bottom: 12px;
}
.main-jobs-desc {
  font-size: 14px;
  color: #666;
}
.main-jobs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.main-job-card {
  border: 2px solid #f0f6f9;
  border-radius: 20px;
  padding: 16px 10px 0px;
  position: relative;
  transition: box-shadow 0.2s;
}

.main-job-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 0 20px 0 20px;
}
/*육상직*/
.job-land {
  background: #c8005f;
  color: #fff;
}
/*해상직*/
.job-sea {
  background: #0054ff;
  color: #fff;
}
.main-job-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-job-logo-img {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-job-logo-img img {
  max-height: 70px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  justify-content: center;
}

.main-job-company {
  font-size: 14px;
  font-weight: 800;
  color: #353794;
  text-align: left;
  padding: 0 10px;
}
.main-job-position {
  font-size: 17px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
  padding: 0 10px;
  letter-spacing: -0.8px;
  /* 말줄임 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.main-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
  padding: 0 10px;
}
.main-job-tag {
  font-size: 12px;
  padding: 2px 6px;
  border: 1px solid #e2ebf3;
  border-radius: 3px;
  font-weight: 600;
}
.main-job-tag.new {
  background: #ddf5f5;
  color: #19bebc;
}
.main-job-tag.exp {
  background: #e5effb;
  color: #2979d8;
}
.main-job-tag.gen {
  background: #fff;
  color: #7e8698;
}
.main-job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid #f0f6f9;
  padding: 5px 5px 5px;
}
.main-job-location {
  font-size: 13px;
  color: #333333;
  font-weight: 600;
}
.main-job-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-job-dday {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}
.dday-today {
  background: #fff3f3;
  color: #e8000d;
  border: 1px solid #ffcccc;
}
.dday-soon {
  background: #e8f1ff;
  color: #003087;
  border: 1px solid #bcd3f5;
}
.dday-d {
  background: #fffbe6;
  color: #b45309;
  border: 1px solid #fde68a;
}
.job-bookmark {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 0;
  cursor: pointer;
}
.job-bookmark img {
  width: 24px;
  height: 24px;
}
.job-bookmark:hover {
  color: #353794;
}
/*광고없을때*/
.slot-main {
  background: #fcfcfc;
  border: 1.5px dashed #e5e7eb;
  border-radius: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.slot-main:hover {
  background: #e6f1fb22;
  border-color: #378add66;
}
.slot-main img {
  font-size: 22px;
  color: #378add;
}
.slot-main .em-title {
  font-size: 13px;
  font-weight: 600;
  color: #185fa5;
}
.slot-main .em-sub {
  font-size: 11px;
  color: #4b5563;
  text-align: center;
  line-height: 1.4;
}
.slot-main .em-btn {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: #378add;
  color: #fff;
  border: none;
  margin-top: 2px;
}
/* PC에서는 더보기 버튼 숨김 */
.mobile-job-more {
  display: none;
}

/* ════════════════════════════════════════
       5. 광고 배너
    ════════════════════════════════════════ */
.display-banner {
  width: 100%;
}
.display-banner .inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ════════════════════════════════════════
       6. 기업 홍보관
    ════════════════════════════════════════ */
.promo-warp {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 80px;
  align-items: start;
  width: 100%;
  max-width: 1440px;
  margin: 60px auto 0;
}
.promo {
  min-width: 0;
}
.promo-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 5px;
  border-bottom: 6px solid #333333;
}
.promo-title {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.9;
  margin-bottom: 7px;
}
.promo-point {
  color: #18045d;
}
.promo-header-desc {
  font-size: 14px;
  color: #1a1a1a;
}
.promo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.promo-card {
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
  margin: 20px;
  position: relative;
}
.promo-thumb {
  width: 100%;
  height: 115px;
  background: #c8d8ee;
  object-fit: cover;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.promo-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.promo-body {
  padding: 5px;
}
.promo-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a1a1a;
}
.promo-desc {
  font-size: 14px;
  color: #333333;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-tags {
  margin-top: 8px;
  display: flex;
  gap: 4px;
  font-weight: 600;
  font-size: 12px;
  color: #313070;
}
.promo-arrow {
  position: absolute;
  bottom: 20%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-arrow img {
  width: 22px;
  height: 22px;
}
/*뉴스레터*/
.main-newsletter-block {
  min-width: 0;
}
.main-newsletter {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: center;
  background: url("/image/home/main_newsletter_back.png") no-repeat left;
  margin-bottom: 36px;
  overflow: hidden; /* ★ 추가 */
  min-width: 0;
}
.main-newsletter-left {
  min-width: 0;
}
.main-newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
  color: #00489e;
}
.main-newsletter-badge::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #02aced;
  border-radius: 50%;
  display: inline-block;
}
.newsletter-header {
  display: flex;
  align-items: center;
  gap: 25px;
}
.main-newsletter-title {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.main-newsletter-more-link {
  font-size: 14px;
  font-weight: bold;
  color: #000;
}
.main-newsletter-more-link:hover {
  color: #103995;
}
.newsletter_desc {
  font-size: 16px;
  color: #000;
  line-height: 1.2;
  margin-bottom: 50px;
}
.newsletter_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #00489e;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 50px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.15s;
}
.newsletter_btn:hover {
  background: #0050c8;
}
.newsletter_btn::after {
  content: "→";
}

.newsletter_right {
  display: flex;
  gap: 12px;
  min-width: 0; /* ★ 넘침 방지 */
  overflow: hidden; /* ★ 넘침 차단 */
  flex-shrink: 1;
  min-width: 0;
}
.magazine-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 1; /* ★ 카드도 줄어들게 */
  min-width: 0;
}
.magazine-thumb {
  overflow: hidden;
}
.magazine-thumb img {
  width: 100%; /* ★ 고정 155px 대신 100%로 */
  max-width: 160px; /* 최대 크기만 제한 */
  height: auto; /* ★ 비율 유지 */
  display: block;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  position: relative;
}
.magazine-thumb:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  border-color: #003087;
}
.magazine-issue {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-align: center;
}
/* ════════════════════════════════════════
       7. 해기사 직역소개 + 해운자료
    ════════════════════════════════════════ */
.main-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  width: 100%;
  max-width: 1440px;
  margin: 60px auto 40px;
}

.career {
  min-width: 0;
}
.career-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 5px;
  border-bottom: 6px solid #333333;
}
.career-title {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.8px;
  margin-bottom: 7px;
}
.career-point {
  color: #353794;
}
.career-desc {
  font-size: 14px;
  color: #1a1a1a;
}

/* 직역소개 */
.career-cards {
  display: flex;
  gap: 15px;
  padding: 15px;
}
.career-card {
  flex: 1;
  gap: 14px;
  padding: 25px 20px;
  border: 1px solid #e9e9e9;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.career-body {
  margin: 0;
  position: relative;
}
.career-txt-new {
  margin-right: 10px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  background: #c8005f;
  color: #fff;
}
.career-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #9e7c4a;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 56px; /* ★ 2줄 높이 고정 */
  margin-bottom: 20px;
}
.career-card-name {
  font-size: 14px;
  color: #333333;
  font-weight: 600;
  margin-bottom: 15px;
}
.career-arrow {
  position: absolute;
  right: 10px;
  transform: translateY(-15px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.career-arrow img {
  width: 50px;
  height: 14px;
}
/* 해운자료 */
.maritime {
  min-width: 0;
}
.maritime-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  border-bottom: 6px solid #333333;
}
.maritime-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #000;
  margin-bottom: 7px;
}
.maritime-point {
  color: #353794;
}
.maritime-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.maritime-tabs {
  padding: 10px;
  display: flex;
  gap: 8px;
}
.maritime-tab {
  border: 1px solid #e9e9e9;
  background: #ffffff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  transition: 0.15s;
}
.maritime-tab.active {
  background: #333333;
  border: 1px solid #e9e9e9;
  color: #fff;
}
.maritime-list {
  display: none;
  flex-direction: column;
  gap: 0;
}
.maritime-list.active {
  display: block;
}
.maritime-more-link {
  font-size: 12px;
  color: #9c9c9c;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 5px;
  transition: opacity 0.2s;
  padding-right: 30px;
  background: url("/image/home/ic_more.svg") no-repeat right center;
  background-size: 24px;
  margin-left: auto;
}
.maritime-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid #e9e9e9;
  cursor: pointer;
}
.maritime-item:hover .maritime-item-title {
  color: #313030;
}
.maritime-item-title {
  font-size: 15px;
  color: #333333;
  flex: 1;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.maritime-item-date {
  font-size: 13px;
  color: #666666;
  white-space: nowrap;
}
/* ════════════════════════════════════════
       8. Korea Marine Officer's Association (퀵메뉴)
    ════════════════════════════════════════ */
.quick {
  background: #f7fafe;
  padding: 60px 0;
}
.quick .inner {
  text-align: center;
}
.quick-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #e8f1ff;
  opacity: 0.7;
  text-align: right;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.quick-item {
  background: #fff;
  border-radius: 10px;
  padding: 28px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: 0.2s;
}
.quick-item:hover {
  border: 3px solid #eef1f8;
  transform: translateY(-3px);
}
.quick-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-item-icon img {
  width: 40px;
  height: 40px;
}
.quick-item-label {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  line-height: 1.4;
  text-align: center;
}
/* ════════════════════════════════════════
       9. 커뮤니티 + 해기사 시험안내
    ════════════════════════════════════════ */
.bottom-info {
  position: relative;
  background: #103995;
  padding: 60px 0;
  overflow: hidden;
}
.bottom-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 459px;
  height: 515px;
  background: url("/image/home/community-bg.png") no-repeat left top / cover;
  z-index: 0;
}
.bottom-info::after {
  content: "KMOA";
  position: absolute;
  left: 40px;
  bottom: -35px;
  font-size: 145px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.comm-wrap {
  position: relative;
  z-index: 1;
  width: calc(100% - 60px);
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 70px;
  align-items: start;
}

/* =========================
       커뮤니티
    ========================= */
.community {
  min-width: 0;
  margin-left: 20px;
}

.comm-header {
  margin-bottom: 32px;
}
.comm-title {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.comm-title::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #c30260;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  vertical-align: top;
}
.comm-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}
.comm-left {
  display: flex;
  flex-direction: column;
}
/* 탭 */
.comm-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comm-tab {
  padding: 10px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: #7c8bbb;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}
.comm-tab.active {
  color: #fff;
  font-weight: 700;
}
.comm-tab:hover {
  color: #fff;
}

/* 게시글 */
.comm-panel {
  min-width: 0;
}

.comm-list {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-direction: column;
}

.comm-list.active {
  display: flex;
  flex-direction: column;
}
.comm-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: 0.2s;
}
.comm-item:hover .comm-item-title {
  opacity: 0.8;
}
.comm-item-title {
  flex: 1;
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: 0.2s;
}
.comm-item-title sup {
  font-size: 14px;
  background: #c8005f;
  color: #fff;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 8px;
  vertical-align: middle;
  display: inline-block;
  margin-left: 10px;
}
.comm-item-date {
  flex-shrink: 0;
  font-size: 14px;
  color: #8ea3d4;
}

/* =========================
       시험안내
    ========================= */
.exam {
  min-width: 0;
}

.exam-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.exam-more-link {
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}
.exam-more-link::after {
  content: "▸";
  font-size: 14px;
}
.exam-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.exam-point {
  color: #58b2f8;
}
.exam-title::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #02aced;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  vertical-align: top;
}
.main-exam-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.main-exam-tab {
  width: fit-content;
  padding: 7px 5px;
  border-bottom: transparent;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: #c9d5ee;
  cursor: pointer;
  transition: 0.2s;
}
.main-exam-tab.active,
.main-exam-tab:hover {
  color: #fff;
  border-bottom: 4px solid #c8005f;
}

/* 카드 */
.exam-cards {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.exam-cards.active {
  display: grid;
  flex-direction: column;
}

.exam-card {
  background: #fff;
  border-radius: 20px;
  transition: 0.2s;
}
.exam-card:hover {
  transform: translateY(-2px);
}
.exam-card-title {
  padding: 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #333;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
}

.exam-card-date {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  text-align: right;
  padding: 10px 25px;
}
/* ════════════════════════════════
      우측 퀵 네비게이션
════════════════════════════════ */
.kmoa-quick-wrap {
  position: fixed;
  right: 50px;
  top: 35%;
  transform: translateY(-35%);
  /*z-index: 9999;*/
}

.kmoa-quick-title-box {
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
  padding: 3px 7px;
  margin-bottom: 8px;

  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  text-align: center;
}

.kmoa-quick-nav {
  position: relative;
}
.kmoa-quick-nav::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #e5e7eb;
}
.kmoa-quick-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  text-decoration: none;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.2px;
  transition: all 0.2s ease;
}
.kmoa-quick-nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d1d5db;
  flex-shrink: 0;
  z-index: 1;
  transition: all 0.2s ease;
}
.kmoa-quick-nav a:hover {
  color: #58b2f8;
}
.kmoa-quick-nav a:hover::before {
  border-color: #58b2f8;
}
.kmoa-quick-nav a.active {
  color: #58b2f8;
  font-weight: 600;
}
.kmoa-quick-nav a.active::before {
  background: #58b2f8;
  border-color: #58b2f8;
}
.kmoa-quick-nav a.active::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -5px;
  width: 24px;
  height: 2px;
  background: #c8005f;
}

/* =========================
   1400px 이하
========================= */
@media (max-width: 1400px) {
  .main-news .inner,
  .promo-warp,
  .main-dual,
  .comm-wrap {
    width: calc(100% - 40px);
  }

  .main-news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-jobs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   1200px 이하
========================= */
@media (max-width: 1200px) {
  .scene .inner,
  .promo-warp,
  .main-dual,
  .comm-wrap {
    grid-template-columns: 1fr;
  }

  .scene-right {
    margin-left: 0;
  }

  .main-news .inner {
    grid-template-columns: 1fr;
  }

  .main-news-left {
    flex-direction: column;
    gap: 20px;
  }

  .main-news-tabs {
    flex-direction: row;
    gap: 10px;
  }

  .main-news-tab {
    border-radius: 50px;
    border-bottom: none;
  }

  .search-bar .inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .search-bar-right {
    padding-right: 130px;
  }

  .main-jobs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-cards {
    flex-direction: column;
  }

  .comm-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .comm-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .exam-cards {
    grid-template-columns: 1fr 1fr;
  }
  .kmoa-quick-nav {
    display: none;
  }
}

/* =========================
   1024px 이하
========================= */
@media (max-width: 1024px) {
  .top-display,
  .top-display-banner {
    display: none;
  }
  .main-news-cards,
  .main-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scene-list {
    grid-template-columns: 1fr;
  }

  .main-newsletter {
    grid-template-columns: 310px 1fr;
    align-items: center;
  }

  .newsletter_right {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .main-dual {
    gap: 40px;
  }

  .career-card-title {
    font-size: 18px;
  }

  .comm-title,
  .exam-title {
    font-size: 28px;
  }
}

/* =========================
   768px 이하 (모바일)
========================= */
@media (max-width: 768px) {
  .scene,
  .main-jobs,
  .quick,
  .bottom-info {
    padding: 40px 0;
  }

  .main-news .inner,
  .promo-warp,
  .main-dual,
  .comm-wrap {
    width: calc(100% - 24px);
  }
  .main-news {
    width: 100%;
    background: #f6fbff;
    padding: 30px 0 40px;
  }
  .main-news .inner {
    gap: 20px;
  }

  .main-news-left h2 .line1,
  .main-news-left h2 .line2 {
    font-size: 28px;
  }
  .main-news-cards,
  .promo-list,
  .exam-cards {
    grid-template-columns: 1fr;
  }
  .main-news-cards .news-card:nth-child(n + 3) {
    display: none;
  }

  .main-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .section-title img {
    max-width: 220px;
  }

  .scene-item {
    flex-direction: column;
  }

  .scene-thumb img {
    width: 100%;
    border-radius: 20px 20px 0 0;
  }

  .scene-body {
    border-radius: 0 0 20px 20px;
  }
  .scene-list .scene-item:nth-child(n + 2) {
    display: none;
  }
  .main-news-cards,
  .main-jobs-grid,
  .promo-list,
  .exam-cards {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
  }

  .quick-item {
    padding: 24px 14px;
  }

  .main-job-position {
    font-size: 16px;
  }

  .career-header,
  .maritime-header,
  .promo-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .career-title,
  .maritime-title,
  .promo-title,
  .comm-title,
  .exam-title {
    font-size: 24px;
  }

  .career-card {
    padding: 20px;
  }

  .career-card-title {
    min-height: auto;
  }

  .maritime-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .maritime-tabs {
    flex-wrap: wrap;
    padding: 0;
  }

  .comm-tabs {
    gap: 14px;
  }

  .comm-tab {
    font-size: 16px;
  }

  .comm-item-title {
    font-size: 16px;
    white-space: normal;
  }

  .bottom-info::after {
    font-size: 80px;
    left: 10px;
    bottom: -15px;
  }
  .main-jobs-desc {
    display: none;
  }
  .career-header,
  .maritime-header,
  .promo-header,
  .exam-header,
  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .career-desc,
  .promo-desc,
  .maritime-desc {
    display: none;
  }

  .career-title,
  .maritime-title,
  .promo-title,
  .exam-title {
    font-size: 22px;
    margin-bottom: 0;
  }

  .more-link,
  .exam-more-link {
    flex-shrink: 0;
    font-size: 13px;
    padding-right: 22px;
    background-size: 16px;
  }
  .mem-box-wrap {
    justify-content: unset;
  }
  .mem-box-links {
    display: flex;
    gap: 8px;
    flex-direction: row !important;
  }
  .mem-box-link {
    flex: 1;
  }
  .mem-box-row {
    flex: 1;
  }
  /*검색*/
  .search-bar {
    padding: 35px 10px 30px;
  }

  .search-bar .inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .search-bar-left {
    width: 100%;
    margin-left: 0;
  }

  .search-bar-left h3 {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .search-bar-left p {
    font-size: 13px;
    margin-left: 0;
    line-height: 1.5;
  }

  .search-bar-right {
    width: 100%;
    padding-right: 0;
  }

  .search-bar-input-wrap {
    width: 100%;
    margin-bottom: 10px;
  }

  .search-bar-input {
    min-width: 0;
    width: 100%;
    padding: 14px 12px;
    font-size: 14px;
    border-width: 2px;
  }

  .search-bar-btn {
    flex-shrink: 0;
    padding: 13px 14px;
    border-width: 2px;
    font-size: 15px;
  }

  .icon-search {
    width: 19px;
    height: 19px;
  }

  .search-bar-tags {
    margin-left: 0;
    gap: 6px;
    font-size: 13px;
  }

  .search-bar-tag {
    padding: 5px 11px;
    font-size: 11px;
  }
  /*채용공고*/
  /* 처음에는 채용공고 4개만 표시 */
  .main-jobs-grid .main-job-card:nth-child(n + 5) {
    display: none;
  }

  /* 광고 슬롯은 처음부터 숨김 */
  .slot-main {
    display: none;
  }

  .mobile-job-more {
    display: block;
    margin-top: 20px;
    text-align: center;
  }

  .mobile-job-more button {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  /* 펼쳐진 상태 */
  .main-jobs-grid.mobile-expanded .main-job-card {
    display: block;
  }

  .jsummary-grid {
    gap: 5px !important;
  }
  .jsummary-card {
    border-radius: 10px;
    padding: 8px !important;
  }
  .jsummary-label {
    font-size: 11px;
    letter-spacing: -0.9px;
  }
}

/* =========================
   480px 이하
========================= */
@media (max-width: 480px) {
  .main-news-left h2 .line1,
  .main-news-left h2 .line2 {
    font-size: 22px;
    display: inline;
  }

  .main-news {
    width: 100%;
    background: #f6fbff;
    padding: 30px 0 15px;
  }
  .main-news .inner {
    gap: 5px;
  }
  .main-news-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .news-card:nth-child(3),
  .news-card:nth-child(4) {
    display: none;
  }
  .news-card-title {
    font-size: 16px;
    min-height: auto;
  }
  .scene-item:not(:first-child) {
    display: none;
  }
  .promo-warp {
    gap: 30px;
  }
  .promo-card:not(:first-child) {
    display: none;
  }
  .career-card:not(:first-child) {
    display: none;
  }
  .exam-card:nth-child(3),
  .exam-card:nth-child(4) {
    display: none;
  }
  .main-news-tab {
    padding: 8px 25px;
    font-size: 16px;
  }

  .feature-news-date {
    display: none;
  }
  .feature-news-top h3 {
    font-size: 16px;
  }
  .feature-news-item {
    margin-left: 0px;
    margin-right: 0px;
  }
  .search-bar-left {
    margin-left: 0px;
  }
  .search-bar-left h3 {
    font-size: 24px;
  }

  .search-bar-input {
    font-size: 14px;
    padding: 13px 14px;
  }

  .search-bar-btn {
    font-size: 15px;
    padding: 14px 16px;
  }
  .main-newsletter {
    grid-template-columns: 230px 1fr;
    gap: 10px;
  }
  .main-newsletter-title {
    font-size: 24px;
  }
  .magazine-issue {
    font-size: 14px;
  }
  .newsletter_desc {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .newsletter_btn {
    font-size: 14px;
    padding: 10px 30px;
  }
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .quick-title {
    font-size: 22px;
  }
  .quick-item {
    padding: 10px;
  }
  .quick-item-label {
    font-size: 14px;
  }
  .quick-item-icon img {
    width: 30px;
    height: 30px;
  }
  .comm-title,
  .exam-title {
    font-size: 22px;
  }

  .comm-item-title {
    font-size: 15px;
  }

  .exam-card-title {
    font-size: 15px;
  }

  .bottom-info::after {
    font-size: 56px;
  }
  .main-jobs-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }

  .main-job-card {
    padding: 12px 8px 0;
    border-radius: 14px;
  }

  .main-job-company {
    font-size: 12px;
    padding: 0 6px;
  }

  .main-job-position {
    font-size: 14px;
    padding: 0 6px;
    margin-bottom: 6px;
  }

  .main-job-tags {
    padding: 0 6px;
    gap: 3px;
  }

  .main-job-tag {
    font-size: 10px;
    padding: 2px 4px;
  }

  .main-job-footer {
    padding: 5px;
  }

  .main-job-location,
  .main-job-dday {
    font-size: 11px;
  }

  .job-bookmark img {
    width: 18px;
    height: 18px;
  }
  .mem-box-links {
    display: flex;
    gap: 8px;
    flex-direction: row !important;
  }

  .mem-box-link {
    flex: 1;
  }
  .mem-box-row {
    flex: 1;
  }
}
