/* =============================================
   TSM 서브 페이지 공통
   ============================================= */
.tsm-sub {
  width: 100%;
}

.tsm-sub-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* =============================================
   서브 비주얼 배너
   ============================================= */
#tsm-visual {
  position: relative;
  height: 465px;
  width: 100%;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
}

#tsm-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.tsm-sub-visual-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 160px 60px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tsm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.tsm-breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 400;
}

.tsm-breadcrumb a:hover {
  color: #fff;
}

.tsm-breadcrumb span {
  color: rgba(255,255,255,0.75);
}

.tsm-sub-visual-title {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.2;
}

/* =============================================
   서브 콘텐츠 영역 (layout.css 오버라이드)
   ============================================= */
#container #middleArea {
  padding: 0;
  min-height: auto;
}

#container #middleArea #content_title {
  display: none;
}

#container #middleArea #content {
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  padding: 60px 40px 100px;
  /* box-sizing: border-box; */
}

/* =============================================
   CEO 인사말 - 슬로건 배너
   ============================================= */
.tsm-ceo-banner {
  padding: 100px 0;
  text-align: center;
}

.tsm-ceo-slogan {
  font-size: 48px;
  font-weight: 900;
  color: #1a2744;
  line-height: 1.4;
  letter-spacing: -1px;
}

/* =============================================
   CEO 인사말 - 본문
   ============================================= */
.tsm-ceo-content {
  background: #f0f1f4;
  padding: 100px 0 60px;
}

.tsm-ceo-greeting {
  font-size: 26px;
  font-weight: 800;
  color: #1a2744;
  margin-bottom: 40px;
  line-height: 1.4;
}

.tsm-ceo-text {
  font-size: 18px;
  color: #444;
  line-height: 2;
  margin-bottom: 24px;
  word-break: keep-all;
}

/* =============================================
   CEO 인사말 - 서명
   ============================================= */
.tsm-ceo-signature {
  background: #f0f1f4;
  padding: 60px 0 100px;
  text-align: right;
}

.tsm-ceo-position {
  font-size: 15px;
  font-weight: 600;
  color: #1a2744;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.tsm-ceo-name {
  font-size: 32px;
  font-weight: 900;
  color: #1a2744;
  letter-spacing: 2px;
}

/* =============================================
   서브 페이지 반응형
   ============================================= */
@media (max-width: 1024px) {
  .tsm-sub-container {
    padding: 0 30px;
  }

  #tsm-visual {
    height: 380px;
  }

  .tsm-sub-visual-inner {
    padding: 40px 40px;
  }

  .tsm-sub-visual-title {
    font-size: 42px;
  }

  .tsm-ceo-banner {
    padding: 80px 0;
  }

  .tsm-ceo-slogan {
    font-size: 38px;
  }

  .tsm-ceo-content {
    padding: 80px 0 40px;
  }

  .tsm-ceo-greeting {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .tsm-sub-container {
    padding: 0 20px;
  }

  #tsm-visual {
    height: 320px;
  }

  .tsm-sub-visual-inner {
    padding: 30px 24px;
  }

  .tsm-sub-visual-title {
    font-size: 34px;
  }

  .tsm-breadcrumb {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .tsm-ceo-banner {
    padding: 60px 0;
  }

  .tsm-ceo-slogan {
    font-size: 28px;
  }

  .tsm-ceo-content {
    padding: 60px 0 30px;
  }

  .tsm-ceo-greeting {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .tsm-ceo-text {
    font-size: 16px;
    line-height: 1.8;
  }

  .tsm-ceo-signature {
    padding: 40px 0 60px;
  }

  .tsm-ceo-name {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  #tsm-visual {
    height: 260px;
  }

  .tsm-sub-visual-inner {
    padding: 24px 16px;
  }

  .tsm-sub-visual-title {
    font-size: 28px;
  }
  .tsm-ceo-slogan {
    font-size: 24px;
  }

  .tsm-ceo-greeting {
    font-size: 18px;
  }

  .tsm-ceo-text {
    font-size: 15px;
  }

  .tsm-ceo-name {
    font-size: 22px;
  }
}

/* =============================================
   준비중 페이지
   ============================================= */
.tsm-ready-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  text-align: center;
  min-height: 400px;
}

.tsm-ready-icon {
  margin-bottom: 30px;
  opacity: 0.7;
}

.tsm-ready-icon svg {
  animation: tsm-pulse 2s ease-in-out infinite;
}

@keyframes tsm-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

.tsm-ready-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a2744;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.tsm-ready-text {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 40px;
}

.tsm-ready-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #1a2744;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.tsm-ready-btn:hover {
  background: #2a3d5e;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .tsm-ready-wrap {
    padding: 60px 20px;
    min-height: 300px;
  }
  .tsm-ready-icon svg {
    width: 60px;
    height: 60px;
  }
  .tsm-ready-title {
    font-size: 24px;
  }
  .tsm-ready-text {
    font-size: 14px;
  }
}

/* =============================================
   연혁 페이지
   ============================================= */
.tsm-hist {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 30px 80px;
}

.tsm-hist-divider {
  width: 1px;
  height: 70px;
  background: #bbb;
  margin: 0 auto 60px;
}

.tsm-hist-sep {
  width: 60px;
  height: 1px;
  background: #ccc;
  margin: 70px auto;
}

.tsm-hist-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tsm-hist-block--flip {
  direction: ltr;
}

.tsm-hist-photo {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.tsm-hist-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.tsm-hist-photo:hover img {
  transform: scale(1.03);
}

.tsm-hist-period {
  font-size: 46px;
  font-weight: 300;
  color: #1a1a1a;
  margin: 0 0 36px;
  letter-spacing: -1px;
  line-height: 1;
  border-bottom: 2px solid #1a2744;
  padding-bottom: 20px;
  display: inline-block;
}

.tsm-hist-period span {
  color: #aaa;
  font-weight: 200;
}

.tsm-hist-dl {
  margin: 0;
}

.tsm-hist-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.tsm-hist-row:last-child {
  border-bottom: none;
}

.tsm-hist-row:hover {
  background: rgba(26,39,68,0.02);
  padding-left: 6px;
}

.tsm-hist-row dt {
  font-size: 15px;
  font-weight: 700;
  color: #1a2744;
  min-width: 80px;
  white-space: nowrap;
}

.tsm-hist-row dd {
  margin: 0;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .tsm-hist-block {
    gap: 40px;
  }
  .tsm-hist-period {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .tsm-hist {
    padding: 30px 20px 60px;
  }
  .tsm-hist-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tsm-hist-block--flip .tsm-hist-detail {
    order: -1;
  }
  .tsm-hist-photo img {
    min-height: 220px;
  }
  .tsm-hist-period {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .tsm-hist-divider {
    height: 50px;
    margin-bottom: 40px;
  }
  .tsm-hist-sep {
    margin: 50px auto;
  }
}

@media (max-width: 480px) {
  .tsm-hist {
    padding: 20px 16px 40px;
  }
  .tsm-hist-period {
    font-size: 26px;
    padding-bottom: 14px;
    margin-bottom: 20px;
  }
  .tsm-hist-row {
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
  }
  .tsm-hist-row dt {
    font-size: 13px;
  }
  .tsm-hist-row dd {
    font-size: 14px;
  }
  .tsm-hist-photo img {
    min-height: 180px;
  }
}

/* =============================================
   비전 / 경영이념 페이지
   ============================================= */
.tsm-vision {
  padding-bottom: 80px;
}
.tsm-vision > div{
  margin: 20px auto;
}
.tsm-vision-hero {
  padding: clamp(40px, 6vw, 100px) 0 clamp(30px, 4vw, 60px);
}

.tsm-vision-hero-inner h1 {
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.45;
}

.tsm-vision-hero-inner h1 span {
  font-weight: 400;
  color: #888;
  font-size: clamp(18px, 2vw, 28px);
}

.tsm-vision-cover {
  width: 100%;
  height: clamp(240px, 30vw, 440px);
  background: url(https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1400&q=80) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}

.tsm-vision-intro {
  padding: clamp(30px, 4vw, 60px) 0 clamp(40px, 5vw, 80px);
}

.tsm-vision-intro p {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.8;
  color: #333;
  word-break: keep-all;
}

.tsm-vision-split {
  display: flex;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.tsm-vision-split-text {
  flex: 1;
}

.tsm-vision-split-title {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: clamp(20px, 3vw, 40px);
}

.tsm-vision-split-desc {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.8;
  color: #555;
}

.tsm-vision-split-img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.tsm-vision-split-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.tsm-vision-values {
  padding: clamp(40px, 5vw, 80px) 0;
  border-top: 1px solid #e5e5e5;
}

.tsm-vision-values-head h3 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  color: #1a1a1a;
  margin: clamp(30px, 3.5vw, 50px) 0;
}

.tsm-vision-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tsm-vision-value-card {
  background: #f7f8fa;
  border-radius: 12px;
  padding: clamp(24px, 2.5vw, 36px);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tsm-vision-value-card:hover {
  background: #fff;
  border-color: #dde1e8;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.tsm-vision-value-icon {
  width: 56px;
  height: 56px;
  background: rgba(26,39,68,0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tsm-vision-value-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tsm-vision-value-card h5 {
  font-size: 20px;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 12px;
}

.tsm-vision-value-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  word-break: keep-all;
}

.tsm-vision-core {
  padding: clamp(40px, 5vw, 80px) 0;
  border-top: 1px solid #e5e5e5;
}

.tsm-vision-core-head h3 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  color: #1a1a1a;
  margin: clamp(30px, 3.5vw, 50px) 0;
}

.tsm-vision-core-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 50px);
  padding: clamp(24px, 2.5vw, 40px) 0;
  border-top: 1.5px solid #1a2744;
}

.tsm-vision-core-item:last-child {
  border-bottom: 1.5px solid #1a2744;
}

.tsm-vision-core-num {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  color: #fff;
  background: #1a2744;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
}

.tsm-vision-core-body h4 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.tsm-vision-core-body p {
  font-size: clamp(15px, 1.4vw, 20px);
  color: #555;
  line-height: 1.7;
  word-break: keep-all;
}

@media (max-width: 1024px) {
  .tsm-vision-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tsm-vision-split {
    flex-direction: column;
  }
  .tsm-vision-split-img img {
    min-height: 220px;
  }
  .tsm-vision-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .tsm-vision-hero-inner h1 {
    font-size: 22px;
  }
  .tsm-vision-hero-inner h1 span {
    font-size: 15px;
  }
  .tsm-vision-core-item {
    flex-direction: column;
    gap: 12px;
  }
}

/* =============================================
   품질방침 페이지
   ============================================= */
.tsm-qp {
  padding-bottom: 100px;
}

.tsm-qp-declaration {
  background: #1a2744;
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.tsm-qp-declaration::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.tsm-qp-declaration::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
}

.tsm-qp-declaration-inner {
  position: relative;
  z-index: 1;
}

.tsm-qp-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 36px;
  font-family: 'Montserrat', sans-serif;
}

.tsm-qp-statement {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 300;
  color: #fff;
  line-height: 1.8;
  word-break: keep-all;
}

.tsm-qp-headline {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

/* 배경 이미지 */
.tsm-qp-cover {
  width: 100%;
  height: clamp(200px, 28vw, 400px);
  background: url(/common/img/ts/sub/sub1_5_img01.png) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}

/* 안전환경보건방침 */
.tsm-qp-safety {
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(60px, 8vw, 120px) 0;
  align-items: flex-start;
}

.tsm-qp-safety-text {
  flex: 1;
}

.tsm-qp-safety-title {
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: clamp(20px, 3vw, 40px);
}

.tsm-qp-safety-desc {
  font-size: clamp(15px, 1.4vw, 20px);
  color: #555;
  line-height: 1.8;
  word-break: keep-all;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.tsm-qp-safety-cert {
  max-width: 100%;
  height: auto;
}

.tsm-qp-safety-img {
  flex: 1;
}

.tsm-qp-safety-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 세부 실천사항 리스트 */
.tsm-qp-list {
  padding-bottom: 40px;
}

.tsm-qp-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 2.5vw, 36px) 0;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.tsm-qp-item:first-child {
  border-top: 2px solid #1a2744;
}

.tsm-qp-item:hover {
  background: rgba(26,39,68,0.015);
  padding-left: 10px;
}

.tsm-qp-item-num {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  color: #fff;
  background: #1a2744;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
}

.tsm-qp-item-body h4 {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.tsm-qp-item-body p {
  font-size: clamp(14px, 1.2vw, 17px);
  color: #666;
  line-height: 1.7;
  word-break: keep-all;
}

.tsm-qp-core {
  padding: clamp(50px, 6vw, 90px) 0 0;
}

.tsm-qp-core-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}

.tsm-qp-core-label {
  display: inline-block;
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 800;
  color: #1a2744;
  position: relative;
  padding-bottom: 16px;
}

.tsm-qp-core-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #1a2744;
  border-radius: 2px;
}

.tsm-qp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tsm-qp-card {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 16px;
  padding: clamp(28px, 3vw, 44px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.tsm-qp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a2744, #3b6cb8);
  opacity: 0;
  transition: opacity 0.35s;
}

.tsm-qp-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(26,39,68,0.1);
  transform: translateY(-6px);
}

.tsm-qp-card:hover::before {
  opacity: 1;
}

.tsm-qp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.tsm-qp-card-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(26,39,68,0.06);
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}

.tsm-qp-card-icon {
  width: 52px;
  height: 52px;
  background: #f0f2f7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2744;
  transition: all 0.3s;
}

.tsm-qp-card:hover .tsm-qp-card-icon {
  background: #1a2744;
  color: #fff;
}

.tsm-qp-card-title {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.tsm-qp-card-en {
  font-size: 13px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

.tsm-qp-card-line {
  width: 100%;
  height: 1px;
  background: #e8eaef;
  margin: 20px 0;
}

.tsm-qp-card-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  word-break: keep-all;
}

@media (max-width: 1024px) {
  .tsm-qp-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
  }
  .tsm-qp-card-num {
    font-size: 36px;
  }
}

/* --- 안전환경보건방침 (Safety & Environment) Update --- */

/* .tsm-qp-cover {
    width: 100%;
    height: 400px;
    background: #eee url('/common/img/ts/sub/sub_visual_01.jpg') no-repeat center/cover;
    margin-bottom: 100px;
} */

.tsm-qp-safety {
    display: flex;
    align-items: center;
    gap: 60px;
    /* margin-bottom: 120px; */
}

.tsm-qp-safety-text {
    flex: 1;
}

.tsm-qp-safety-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a2744;
    margin-bottom: 30px;
}

.tsm-qp-safety-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    word-break: keep-all;
}

.tsm-qp-safety-img {
    flex: 1;
}

.tsm-qp-safety-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 리스트 스타일 (1단 리스트) */
.tsm-qp-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    /* margin-bottom: 120px; */
}

@media (max-width: 1024px) {
    .tsm-qp-safety {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
  .tsm-qp-safety {
    flex-direction: column;
    gap: 30px;
  }
  .tsm-qp-item {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .tsm-qp-card {
    padding: 24px 20px;
  }
  .tsm-qp-card-title {
    font-size: 18px;
  }
  .tsm-qp-item-num {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .tsm-qp-item-body h4 {
    font-size: 16px;
  }
}

/* --- Equipment Page (sub_equipment.php) --- */
.tsm-eq-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
    font-family: 'Pretendard', sans-serif;
}

/* Intro Visual */
.tsm-eq-intro {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 80px;
}
.tsm-eq-visual {
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.tsm-eq-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tsm-eq-visual:hover img {
    transform: scale(1.05);
}
.tsm-eq-desc {
    padding: 40px;
    text-align: center;
}
.tsm-eq-desc h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}
.tsm-eq-desc p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    word-break: keep-all;
}

/* Specification Content */
.tsm-eq-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 5px solid #005eb8; /* TSM Blue */
    font-family: 'Montserrat', sans-serif;
}

/* Table Style */
.tsm-eq-table-wrap {
    width: 100%;
    overflow-x: auto; /* Responsive Scroll */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e1e1e1;
}

.tsm-eq-table {
    width: 100%;
    min-width: 800px; /* Ensure table doesn't collapse too much */
    border-collapse: collapse;
    font-size: 16px;
    text-align: center;
    background: #fff;
}

.tsm-eq-table th, .tsm-eq-table td {
    padding: 20px 15px;
    border: 1px solid #e1e1e1;
    vertical-align: middle;
}

/* Table Header */
.tsm-eq-table thead th {
    background: #f4f6f9;
    color: #1a2744;
    font-weight: 700;
    border-bottom: 2px solid #005eb8;
}

/* Highlight specific columns in header */
.tsm-eq-table .th-p3 { background: #eef4fb; color: #005eb8; font-size: 20px; }
.tsm-eq-table .th-p2 { background: #fdfdfd; color: #555; }
.tsm-eq-table .th-p1 { background: #fdfdfd; color: #555; }

.tsm-eq-table .th-sub-p3 { background: #eef4fb; color: #005eb8; font-weight: 600; border-bottom: 2px solid #005eb8; }
.tsm-eq-table .th-sub-p2 { background: #fdfdfd; font-weight: 500; border-bottom: 2px solid #ccc; }
.tsm-eq-table .th-sub-p1 { background: #fdfdfd; font-weight: 500; border-bottom: 2px solid #ccc; }


/* Table Body */
.tsm-eq-table tbody tr:hover {
    background-color: #f9fbfd;
}

.tsm-eq-table .td-label {
    background: #fafafa;
    font-weight: 600;
    color: #333;
    text-align: left;
    padding-left: 25px;
    width: 25%;
}

.tsm-eq-table .td-unit {
    color: #888;
    font-size: 14px;
    background: #fafafa;
    width: 10%;
}

.tsm-eq-table .td-multi {
    line-height: 1.6;
    text-align: left;
    padding-left: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .tsm-eq-intro {
        margin-bottom: 50px;
    }
    .tsm-eq-visual {
        height: 300px;
    }
    .tsm-eq-desc {
        padding: 30px 20px;
    }
    .tsm-eq-desc h3 {
        font-size: 24px;
    }
    .tsm-eq-desc p {
        font-size: 16px;
    }
    .tsm-eq-title {
        font-size: 20px;
    }
}
@media (max-width: 480px) {
    .tsm-eq-visual {
        height: 240px;
    }
    .tsm-eq-desc h3 {
        font-size: 22px;
    }
}

/* --- Equipment Detail Sections --- */
.tsm-eq-detail {
    margin-bottom: 100px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 80px;
}
.tsm-eq-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tsm-eq-detail-header {
    margin-bottom: 40px;
    text-align: center;
}
.tsm-eq-detail-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a2744;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.tsm-eq-detail-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.tsm-eq-detail-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}
.tsm-eq-detail-img {
    flex: 1.2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.tsm-eq-detail-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.tsm-eq-detail-img:hover img {
    transform: scale(1.03);
}

/* P1 Gallery Styles Added (50% Split) */
.tsm-eq-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.tsm-eq-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    /* Maintain aspect ratio */
    aspect-ratio: 4/3;
}
.tsm-eq-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.tsm-eq-gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .tsm-eq-gallery {
        grid-template-columns: 1fr;
    }
}

.tsm-eq-detail-info {
    flex: 1;
}

.tsm-eq-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #1a2744;
}
.tsm-eq-spec-item {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    align-items: center;
}
.tsm-eq-spec-label {
    width: 140px;
    font-weight: 700;
    color: #333;
    font-size: 15px;
    flex-shrink: 0;
}
.tsm-eq-spec-value {
    color: #555;
    font-size: 15px;
    font-weight: 400;
    word-break: keep-all;
    line-height: 1.5;
}

/* -------------------------------------------
   TSM Location (Coming Way) Page
------------------------------------------- */

.sub1_11 .map_content .map_bg > div{max-width: none !important;}
/* -------------------------------------------
   TSM R&D Center (Research & Development) Styles
------------------------------------------- */
.tsm-rnd-wrap {
    padding-bottom: 100px;
}
.tsm-rnd-intro {
    text-align: center;
    margin-bottom: 80px;
}
.tsm-rnd-badge {
    display: inline-block;
    color: #005eb8;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.tsm-rnd-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a2744;
    margin-bottom: 24px;
    line-height: 1.3;
}
.tsm-rnd-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    word-break: keep-all;
}

/* R&D Grid System */
.tsm-rnd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.tsm-rnd-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.tsm-rnd-card:hover {
    transform: translateY(-5px);
    border-color: #005eb8;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.tsm-rnd-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: #f4f8fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005eb8;
    font-size: 28px;
    transition: all 0.3s;
}
.tsm-rnd-card:hover .tsm-rnd-icon {
    background: #005eb8;
    color: #fff;
}
.tsm-rnd-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 12px;
}
.tsm-rnd-card-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

/* R&D Labs / Equipment List */
.tsm-rnd-labs {
    margin-bottom: 80px;
}
.tsm-rnd-lab-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.tsm-rnd-lab-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #005eb8;
}
.tsm-rnd-lab-img {
    width: 40%;
    height: 300px;
    object-fit: cover;
}
.tsm-rnd-lab-content {
    width: 60%;
    padding: 40px;
}
.tsm-rnd-lab-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 16px;
}
.tsm-rnd-lab-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}
.tsm-rnd-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tsm-rnd-tag {
    background: #f4f8fc;
    color: #005eb8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .tsm-rnd-grid { grid-template-columns: repeat(2, 1fr); }
    .tsm-rnd-lab-item { flex-direction: column; }
    .tsm-rnd-lab-img { width: 100%; height: 250px; }
    .tsm-rnd-lab-content { width: 100%; padding: 30px; }
}

@media (max-width: 600px) {
    .tsm-rnd-grid { grid-template-columns: 1fr; }
    .tsm-rnd-title { font-size: 32px; }
    .tsm-rnd-lab-content { padding: 25px 20px; }
}

/* -------------------------------------------
   TSM R&D Page (User Custom Layout)
------------------------------------------- */
.tsm-rnd-wrap {
    padding-bottom: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* R&D Header Info */
.tsm-rnd-header {
    text-align: center;
    margin-bottom: 80px;
    padding-top: 60px;
}
.tsm-rnd-title {
    font-size: 52px;
    font-weight: 900;
    color: #1a2744;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
}
.tsm-rnd-subtitle {
    font-size: 22px;
    color: #005eb8;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}
.tsm-rnd-line {
    width: 1px;
    height: 50px;
    background: #1a2744;
    margin: 0 auto 30px;
    opacity: 0.3;
}
.tsm-rnd-main-text {
    font-size: 19px;
    color: #333;
    line-height: 1.8;
    word-break: keep-all;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

/* Visual Image */
.tsm-rnd-visual {
    width: 100%;
    height: 550px;
    margin-bottom: 100px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.tsm-rnd-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.5s ease;
}
.tsm-rnd-visual:hover img {
    transform: scale(1.05);
}

/* Quality List */
.tsm-rnd-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 2px solid #1a2744;
}

.tsm-rnd-item {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    padding: 60px 20px;
    transition: background 0.3s;
}
.tsm-rnd-item:hover {
    background: #f9fbfd;
}

.tsm-rnd-item-title {
    flex: 0 0 320px;
    font-size: 32px;
    font-weight: 800;
    color: #1a2744;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    padding-right: 40px;
    letter-spacing: -1px;
}
.tsm-rnd-item-desc {
    flex: 1;
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    word-break: keep-all;
}
.tsm-rnd-item-desc p {
    margin-bottom: 16px;
}
.tsm-rnd-item-desc p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .tsm-rnd-item { flex-direction: column; gap: 24px; padding: 50px 0; }
    .tsm-rnd-item-title { flex: auto; margin-bottom: 0; font-size: 28px; }
    .tsm-rnd-visual { height: 400px; margin-bottom: 80px; }
    .tsm-rnd-title { font-size: 42px; }
}

@media (max-width: 768px) {
    .tsm-rnd-wrap { padding-left: 20px; padding-right: 20px; padding-bottom: 80px; }
    .tsm-rnd-title { font-size: 36px; }
    .tsm-rnd-subtitle { font-size: 18px; }
    .tsm-rnd-main-text { font-size: 16px; }
    .tsm-rnd-visual { height: 280px; margin-bottom: 60px; border-radius: 16px; }
    .tsm-rnd-item { padding: 40px 0; border-bottom: 1px solid #ddd; }
    .tsm-rnd-item-title { font-size: 24px; }
}

/* =============================================
   TSM 제품 서브페이지 (Product Page - 풍력발전 등)
   ============================================= */

/* 전체 래퍼 */
.tsm-product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 120px;
  box-sizing: border-box;
}

/* --- 상단: 페이지 타이틀 --- */
.tsm-product-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 50px 0 40px;
  border-bottom: 2px solid #1a2744;
  margin-bottom: 50px;
}

.tsm-product-header-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.tsm-product-header-icon svg {
  width: 100%;
  height: 100%;
}

.tsm-product-title {
  font-size: 36px;
  font-weight: 900;
  color: #1a2744;
  font-family: 'Montserrat', 'Pretendard', sans-serif;
  letter-spacing: -0.5px;
}

/* --- 중단: 소개 (텍스트 + 이미지) --- */
.tsm-product-intro {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.tsm-product-intro-text {
  flex: 1;
}

.tsm-product-intro-desc {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
  word-break: keep-all;
}

.tsm-product-intro-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.tsm-product-intro-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
  word-break: keep-all;
}

.tsm-product-intro-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #005eb8;
}

.tsm-product-intro-note {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  padding: 20px 24px;
  background: #f5f7fa;
  border-left: 4px solid #1a2744;
  word-break: keep-all;
}

.tsm-product-intro-img {
  flex: 0 0 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.tsm-product-intro-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.tsm-product-intro-img:hover img {
  transform: scale(1.04);
}

/* --- 하단: 제품 카드 그리드 --- */
.tsm-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tsm-product-card {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.tsm-product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a2744, #005eb8);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.tsm-product-card:hover {
  border-color: #c0c8d6;
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}

.tsm-product-card:hover::after {
  transform: scaleX(1);
}

.tsm-product-card-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.tsm-product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.tsm-product-card:hover .tsm-product-card-img img {
  transform: scale(1.06);
}

.tsm-product-card-name {
  font-size: 18px;
  font-weight: 800;
  color: #1a2744;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

.tsm-product-card-divider {
  width: 40px;
  height: 2px;
  background: #ccc;
  margin: 0 auto 16px;
}

.tsm-product-card-specs {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.tsm-product-card-specs span {
  display: block;
}

/* --- 반응형 --- */
@media (max-width: 1024px) {
  .tsm-product-intro {
    flex-direction: column;
  }
  .tsm-product-intro-img {
    flex: auto;
    width: 100%;
  }
  .tsm-product-intro-img img {
    min-height: 280px;
  }
  .tsm-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .tsm-product {
    padding: 0 20px 80px;
  }
  .tsm-product-title {
    font-size: 28px;
  }
  .tsm-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tsm-product-card {
    padding: 20px 16px;
  }
  .tsm-product-card-img {
    height: 140px;
  }
  .tsm-product-card-name {
    font-size: 15px;
  }
  .tsm-product-card-specs {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .tsm-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tsm-product-header {
    padding: 30px 0 24px;
  }
  .tsm-product-title {
    font-size: 24px;
  }
}
