/* 공통 서브페이지 스타일 */
@import url('sub-common.css');

.footer-spacer {
  display: none;
}

.mo-only {
  display: none;
}

/* ===== 2차 네비게이션 (카테고리) ===== */
.sub-header {
  padding-bottom: 10px;
}

.biz-category-nav--mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .biz-category-nav--mobile {
    display: block !important;
  }
}

.biz-category-nav {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.biz-category-nav::before {
  content: '';
  position: absolute;
  top: 0;
  right: 60px;
  width: 480px;
  height: 1px;
  background: #005891;
}

.biz-category-nav-inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  width: 419px;
  padding: 8px 0 0;
}

.biz-category-nav a {
  font-size: 16.5px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  padding: 12px 0;
  position: relative;
}

.biz-category-nav a.active {
  font-weight: 700;
  color: #fff;
  background: #005891;
  border-radius: 30px;
  padding: 8px 24px;
}


/* ===== 페이지 타이틀 (사업현황 전용) ===== */
.biz-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 55px 20px 30px;
  text-align: center;
}

.biz-title h1 {
  font-size: 33.5px;
  font-weight: 500;
  margin: 0 0 80px;
}

.biz-title .biz-desc {
  font-size: 19.5px;
  line-height: 1.8;
  letter-spacing: -0.9px;
  color: #000;
}

/* ===== 탭 네비게이션 (희망날개/상상이상/포어스) ===== */
.biz-tab-nav {
  display: flex;
  justify-content: center;
  padding: 60px 20px 64px;
}

.biz-tab-nav-inner {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 9999px;
  padding: 8px 34px;
  gap: 24px;
}

.biz-tab-nav-inner a {
  display: inline-block;
  font-size: 15.5px;
  font-weight: 600;
  color: rgba(51, 33, 21, 0.5);
  padding: 6px 22px;
  border-radius: 24px;
  letter-spacing: -0.28px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.biz-tab-nav-inner a.active {
  background: #005891;
  color: #fff;
}

.biz-tab-nav-inner a:hover:not(.active) {
  background: #f0f0f0;
}

/* ===== 콘텐츠 박스 ===== */
.biz-content-box {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px 30px 0 0;
  padding: 60px 78px 200px;
  position: relative;
  z-index: 1;
}

.biz-content-box::before {
  display: none;
}

/* 소개 텍스트 */
.biz-intro {
  text-align: center;
  font-size: 19.5px;
  line-height: 1.8;
  letter-spacing: -0.9px;
  color: #000;
  margin-bottom: 90px;
}

/* ===== 3컬럼 정보 그리드 ===== */
.biz-info-grid {
  display: flex;
  background: #f2f5f6;
  border-radius: 30px;
  padding: 30px 0 0;
  margin-bottom: 24px;
}

.biz-info-item {
  flex: 1;
  padding: 0 36px 103px;
  position: relative;
}

.biz-info-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #d0d5d8;
}

.biz-info-label {
  font-size: 19.5px;
  font-weight: 700;
  color: #005891;
  line-height: 1.8;
  margin-bottom: 4px;
}

.biz-info-text {
  font-size: 19.5px;
  line-height: 1.8;
  color: #000;
}

.biz-info-icon {
  width: 60px;
  height: 60px;
  position: absolute;
  right: 36px;
  bottom: 20px;
}

/* ===== 실적 카드 ===== */
.biz-stats-card {
  background: #f2f5f6;
  border-radius: 30px;
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.biz-stats-card .stats-label {
  font-size: 19.5px;
  font-weight: 700;
  color: #005891;
  line-height: 1.8;
  margin-bottom: 8px;
}

.biz-stats-card .stats-value {
  font-size: 19.5px;
  line-height: 1.8;
  color: #000;
}

.biz-stats-card .stats-value strong {
  font-size: 31.5px;
  font-weight: 700;
}

.biz-stats-card .stats-icon {
  position: absolute;
  right: 36px;
  bottom: 24px;
  width: 73px;
  height: 55px;
}

/* ===== 콘텐츠 그리드 (사진+인터뷰+동영상) ===== */
.biz-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 0;
}

.biz-content-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.biz-content-grid--3col>* {
  aspect-ratio: 330 / 314;
}

/* 카드 배지 (관련 영상 더보기, 포스코 소식 등) */
.biz-card-badge,
.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #005891;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 16.5px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.biz-card-badge img,
.news-badge img {
  width: 13px;
  height: 13px;
  filter: brightness(0) invert(1);
}

.biz-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

/* 뉴스 링크 이미지 */
.biz-news-link {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.biz-news-link--bg {
  background: #333;
}

.biz-news-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.biz-news-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.biz-news-link--no-dim .biz-news-bg::after {
  display: none;
}

.biz-news-link--no-dim .news-badge,
.biz-news-link--bg .news-badge {
  z-index: 2;
}

.biz-news-link>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.biz-news-link .news-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

/* 인터뷰 카드 */
.biz-interview {
  background: transparent;
  border-radius: 30px;
  padding: 28px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.biz-interview-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.biz-interview-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 80, 0.4);
}

.biz-interview>*:not(.biz-interview-bg):not(.biz-card-badge) {
  position: relative;
  z-index: 1;
}

.biz-interview .quote-mark {
  width: 35px;
  height: 29px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.biz-interview .quote-mark.end {
  margin-top: 0;
  margin-bottom: 0;
}

.biz-interview .interview-text {
  font-size: 17.5px;
  line-height: 1.7;
  color: #fff;
  margin-top: 4px;
}

.biz-interview .interview-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.biz-interview .interview-author {
  font-size: 14.5px;
  color: #fff;
}

.biz-interview .interview-bottom .quote-mark.end {
  margin-top: 0;
  align-self: flex-end;
}

/* 하단 사진 + 동영상 */
.biz-bottom-media {
  display: flex;
  gap: 20px;
}

.biz-photo {
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
  height: 216px;
}

.biz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-video {
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
  height: 216px;
  position: relative;
}

.biz-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(242, 245, 246, 0.5);
}

.biz-video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #005891;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.biz-video .play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

/* ===== 세부리스트 버튼 (지정사업) ===== */
.biz-detail-btn-wrap {
  text-align: center;
  margin-bottom: 85px;
}

.biz-detail-btn {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid #005891;
  border-radius: 9999px;
  font-size: 16.5px;
  font-weight: 600;
  background: #005891;
  color: #fff;
  transition: background 0.2s, color 0.2s;
}

.biz-detail-btn:hover {
  background: #003d66;
}

/* 지정사업 그리드: 2:1 비율 (그룹카드 + 뉴스) */
.biz-content-grid--designated {
  grid-template-columns: 2fr 1fr;
}

.biz-content-grid--designated > * {
  aspect-ratio: auto;
  min-height: auto;
}

.biz-content-grid--designated .biz-news-link {
  aspect-ratio: 306 / 281;
}

/* 2컬럼 정보 그리드 (지정사업용) */
.biz-info-grid--2col {
  margin-bottom: 0;
  align-self: stretch;
}

.biz-info-grid--2col .biz-info-item {
  flex: 1;
}

/* ===== 테이블 (지정사업 리스트) ===== */
.biz-content-box--wide {
  padding: 40px 40px 60px;
  border-radius: 30px;
  margin-bottom: 150px;
}

.biz-content-box--wide::before {
  display: none;
}

.biz-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.biz-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 16.5px;
  line-height: 1.6;
}

.biz-table thead th {
  background: #fff;
  color: #000;
  font-weight: 600;
  padding: 12px 16px;
  text-align: center;
  font-size: 19.5px;
  border-top: 1px solid rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.biz-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  vertical-align: top;
  font-family: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
  font-size: 17.5px;
  color: #333;
}

.biz-table tr.group-even td {
  background: rgba(0, 88, 145, 0.05);
}

.biz-table .col-company {
  width: auto;
  white-space: nowrap;
}

.biz-table .group-header td:first-child {
  white-space: nowrap;
}

.biz-table .col-business {
  width: 45%;
}

.biz-table .col-partner {
  width: auto;
}

.biz-table .group-header td {
  border-top: 1px solid rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.biz-table tbody tr:last-child td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.biz-table .group-header td:first-child {
  font-family: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  font-size: 19.5px;
  letter-spacing: -0.02em;
  color: #000;
}

/* ===== 하단 여백 ===== */
.biz-content-box {
  margin-bottom: 0;
}

.biz-content-box.biz-content-box--wide {
  margin-bottom: 150px;
}

/* ===== 반응형: 태블릿 ===== */
@media (max-width: 1024px) {
  .biz-content-box {
    margin: 0 20px 0;
    padding: 40px 36px 60px;
  }

  .biz-info-item {
    padding: 0 24px;
  }

  .biz-info-text {
    font-size: 16px;
  }

  .biz-content-grid {
    gap: 16px;
  }

  .biz-content-grid--3col {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .biz-interview .interview-text {
    font-size: 16px;
  }

  .biz-interview {
    padding: 24px 28px;
  }

  .biz-stats-card {
    padding: 24px 28px;
  }

  .biz-news-link .news-badge {
    font-size: 14px;
    padding: 6px 12px;
    gap: 8px;
  }
}

/* ===== 반응형: 모바일 ===== */
@media (max-width: 768px) {
  .mo-only {
    display: inline;
  }

  .biz-category-nav {
    display: block;
    max-width: none;
    padding: 0;
    margin-top: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .biz-category-nav::-webkit-scrollbar {
    display: none;
  }

  .biz-category-nav::before {
    display: none;
  }

  .biz-category-nav-inner {
    display: inline-flex;
    width: auto;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 16px;
    border-top: none;
    border-bottom: none;
  }

  .biz-category-nav {
    border-bottom: 1px solid rgba(0, 88, 145, 0.2);
  }

  .biz-category-nav a {
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px 0;
  }

  .biz-category-nav a.active {
    padding: 5px 24px;
  }

  .biz-title {
    padding: 40px 20px 20px;
  }

  .biz-title h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .biz-title .biz-desc {
    font-size: 15px;
  }

  .biz-tab-nav {
    padding: 16px 16px 30px;
  }

  .biz-tab-nav-inner {
    padding: 6px 8px;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .biz-tab-nav-inner a {
    font-size: 13px;
    padding: 5px 16px;
  }

  .biz-content-box {
    margin: 0 16px 0;
    padding: 30px 20px 90px;
    border-radius: 24px 24px 0 0;
  }

  .biz-table {
    font-size: 13px;
  }

  .biz-table td {
    font-size: 13px;
    padding: 8px 10px;
  }

  .biz-table thead th {
    font-size: 13px;
    padding: 8px 10px;
  }

  .biz-table .group-header td:first-child {
    font-size: 14px;
  }

  .biz-intro {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* 정보 그리드: 세로 배치 */
  .biz-info-grid {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-radius: 24px;
  }

  .biz-info-item {
    padding: 0 0 20px;
    min-height: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 16px;
  }

  .biz-info-item .biz-info-label {
    grid-column: 1 / -1;
  }

  .biz-info-item .biz-info-text {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .biz-info-item .biz-info-icon {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    position: static;
  }

  .biz-info-item:not(:last-child)::after {
    right: 0;
    left: 0;
    top: auto;
    bottom: -10px;
    width: 100%;
    height: 1px;
    grid-column: 1 / -1;
  }

  .biz-info-text {
    font-size: 15px;
  }

  .biz-info-icon {
    width: 48px;
    height: 48px;
  }

  /* 실적 카드 */
  .biz-stats-card {
    padding: 20px 24px;
    border-radius: 24px;
  }

  .biz-stats-card .stats-value strong {
    font-size: 24px;
  }

  .biz-stats-card .stats-icon {
    right: 24px;
    bottom: 20px;
    width: 60px;
    height: 45px;
  }

  /* 콘텐츠 그리드: 세로 배치 */
  .biz-content-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .biz-content-grid--3col {
    grid-template-columns: 1fr;
  }

  .biz-content-grid--3col>* {
    aspect-ratio: auto;
  }

  .biz-news-link {
    grid-row: auto;
    min-height: 280px;
    overflow: visible;
  }

  .biz-interview {
    padding: 24px;
  }

  .biz-interview .interview-text {
    font-size: 15px;
  }

  .biz-bottom-media {
    flex-direction: row;
  }

  .biz-photo,
  .biz-video {
    height: 180px;
  }
}

/* ===== 반응형: 소형 모바일 ===== */
@media (max-width: 480px) {
  .biz-content-box {
    margin: 0 12px 0;
    padding: 24px 16px 82px;
  }

  .biz-intro {
    font-size: 14px;
  }

  .biz-info-grid {
    padding: 20px;
  }

  .biz-info-label {
    font-size: 16px;
  }

  .biz-info-text {
    font-size: 14px;
  }

  .biz-news-link {
    min-height: 220px;
    border-radius: 20px;
  }

  .biz-interview {
    border-radius: 20px;
  }

  .biz-photo,
  .biz-video {
    height: 150px;
    border-radius: 20px;
  }
}