/**
 * 솔루션 소개 컨텐츠 스킨 전용 스타일
 * (Tailwind로 처리 불가한 배경 이미지, 자식 선택자만 유지)
 */

/* 인트로 배경 이미지 */
.ctt-heidolph-intro {
  background-image: url("../../../img/solution/flow_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ctt_admin {
  display: none;
}

/* 본문 span(700) / strong(600, black) - Tailwind로 자식 스타일 불가 */
.ctt-heidolph-section-body span {
  font-weight: 700;
}

.ctt-heidolph-section-body strong {
  font-weight: 600;
  color: #000000;
}

/* 카드 설명 내 span 유지 */
.ctt-heidolph-value-card-desc span {
  color: #696969;
  font-weight: 500;
}

/* 주요 사업 영역: padding은 Tailwind 반응형으로 적용 */

/* 아이템 제목: border, pill 형태 */
.ctt-normag-business-title {
  border: 1px solid #1f4c8a;
  border-radius: 50px;
  background: #fff;
}

/* 본문 기본 굵기, 크기/행간은 Tailwind 반응형으로 */
.ctt-normag-business-desc {
  font-weight: 500;
}

/* Flow Chemistry 소개: Introduction 라벨 - font-family만 유지 */
.ctt-flow-intro-label {
  font-family: Inter, sans-serif;
}

/* 무한 롤링 텍스트 - 애니메이션만 유지 */
.ctt-flow-rolling-text {
  animation: ctt-flow-roll 15s linear infinite;
}

@keyframes ctt-flow-roll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Flow Basic Principles 이미지 - 반응형 */
.ctt-flow-basic-img {
  width: 100%;
  max-width: 689px;
  aspect-ratio: 689 / 218;
  flex-shrink: 0;
}

/* Flow Basic Principles 라벨 - font-family만 유지 */
.ctt-flow-basic-label {
  font-family: Inter, sans-serif;
}

/* ========== Flow 주요 장점 섹션 ========== */

/* 주요 장점: 라벨 (pill, primary 배경) */
.ctt-flow-why-label {
  display: inline-block;
  padding: 5px 20px;
  background: var(--primary, #1f4c8a);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  text-align: center;
  width: 200px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .ctt-flow-why-label {
    padding: 5px 30px;
    font-size: 18px;
    width: 200px;
  }
}

/* 주요 장점: 내용 텍스트 */
.ctt-flow-why-text {
  color: #696969;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .ctt-flow-why-text {
    font-size: 18px;
  }
}

/* 주요 장점: 왼쪽 블록 (세로 글자 왼쪽 + 이미지 오른쪽) */
.ctt-flow-why-right {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ctt-flow-why-right {
    height: auto;
    min-height: 280px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-why-right {
    height: 403px;
  }
}

/* 주요 장점: 이미지 영역만 보더 (flow_2) */
.ctt-flow-why-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid #eaeaea;
  background: #fff url("../../../img/solution/flow_2.png") 50% / cover no-repeat;
}

@media (min-width: 768px) {
  .ctt-flow-why-img {
    max-width: 340px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-why-img {
    width: 403px;
    height: 403px;
    max-width: 403px;
  }
}

/* 주요 장점: 세로 "Why Use It?" 영역 (이미지 왼쪽에 붙음, rotate -90deg) */
.ctt-flow-why-label-wrap {
  position: relative;
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

@media (min-width: 768px) {
  .ctt-flow-why-label-wrap {
    width: 50px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-why-label-wrap {
    width: 70px;
  }
}

.ctt-flow-why-label-vertical {
  position: absolute;
  white-space: nowrap;
  color: #eaeaea;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(-90deg);
}

@media (min-width: 768px) {
  .ctt-flow-why-label-vertical {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-why-label-vertical {
    font-size: 50px;
  }
}

/* ========== Flow 배치 vs 흐름 비교 섹션 ========== */

.ctt-flow-compare-label {
  color: #eaeaea;
  text-align: right;
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .ctt-flow-compare-label {
    font-size: 50px;
  }
}

.ctt-flow-compare-table-wrap {
  overflow-x: auto;
}

.ctt-flow-compare-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eaeaea;
}

/* 헤더 스타일 */
.ctt-flow-compare-th {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid #fff;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .ctt-flow-compare-th {
    font-size: 14px;
    padding: 12px 12px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-compare-th {
    font-size: 16px;
    padding: 14px 20px;
  }
}

.ctt-flow-compare-th--first {
  background: var(--primary, #1f4c8a);
}

.ctt-flow-compare-th--other {
  background: #000;
}

.ctt-flow-compare-th:last-child {
  border-right: none;
}

/* Row 셀 스타일 */
.ctt-flow-compare-td {
  font-size: 11px;
  text-align: center;
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.ctt-flow-compare-td--first {
  background: #f3f5f9;
  padding: 10px 12px;
  text-align: center;
}

.ctt-flow-compare-td--other {
  padding: 10px 8px;
}

@media (min-width: 640px) {
  .ctt-flow-compare-td {
    font-size: 12px;
  }
  .ctt-flow-compare-td--first {
    padding: 12px 20px;
  }
  .ctt-flow-compare-td--other {
    padding: 12px 12px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-compare-td {
    font-size: 14px;
  }
  .ctt-flow-compare-td--first {
    padding: 14px 40px;
  }
  .ctt-flow-compare-td--other {
    padding: 14px 20px;
  }
}

.ctt-flow-compare-td:last-child {
  border-right: none;
}

/* 짝수 행 배경색 (0번째 컬럼 제외) */
.ctt-flow-compare-tr--even .ctt-flow-compare-td--other {
  background: #f9f9f9;
}

.ctt-flow-compare-tr:last-child .ctt-flow-compare-td {
  border-bottom: none;
}

/* ========== Flow 활동분야 섹션 ========== */

.ctt-flow-application-label {
  color: #eaeaea;
  text-align: left;
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .ctt-flow-application-label {
    font-size: 50px;
  }
}

.ctt-flow-application-grid {
  gap: 20px;
}

.ctt-flow-application-item {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.ctt-flow-application-img-wrap {
  width: 100%;
  height: 133px;
  overflow: hidden;
}

.ctt-flow-application-title-overlay {
  color: var(--primary, #1f4c8a);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

@media (min-width: 640px) {
  .ctt-flow-application-title-overlay {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-application-title-overlay {
    font-size: 20px;
    line-height: 30px;
  }
}

.ctt-flow-application-content {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

@media (min-width: 640px) {
  .ctt-flow-application-content {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 14px;
    padding-right: 14px;
    height: 100px;
    font-size: 15px;
    line-height: 26px;
  }
}

@media (min-width: 1024px) {
  .ctt-flow-application-content {
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 14px;
    padding-right: 14px;
    height: 100px;
    font-size: 16px;
    line-height: 27px;
  }
}

.ctt-flow-application-item-text {
  margin: 0;
}

/* ========== Flow 그린 케미스트리 섹션 ========== */

/* 그린 케미스트리 섹션 - Tailwind로 관리 */
.ctt-flow-green-chemistry {
  /* Tailwind 클래스로 스타일 관리 */
}

.ctt-flow-green-highlight {
  color: #000000;
}

/* CINC 소개: 이미지 + Introduction 감싸는 컨테이너 (보더 없음) */
.ctt-cinc-intro-right {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ctt-cinc-intro-right {
    height: auto;
    min-height: 280px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-intro-right {
    height: 403px;
  }
}

/* CINC 소개: 이미지 영역만 보더로 감쌈 */
.ctt-cinc-intro-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid #eaeaea;
  background: #fff url("../../../img/solution/cinc_1.png") 50% / cover no-repeat;
}

@media (min-width: 768px) {
  .ctt-cinc-intro-img {
    max-width: 340px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-intro-img {
    width: 403px;
    height: 403px;
    max-width: 403px;
  }
}

/* CINC 소개: 박스 오른쪽 영역 - 이미지 바로 옆에 붙은 세로 텍스트 (겹침 없음) */
.ctt-cinc-intro-label-wrap {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

@media (min-width: 768px) {
  .ctt-cinc-intro-label-wrap {
    width: 50px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-intro-label-wrap {
    width: 70px;
  }
}

/* CINC 소개: 세로 텍스트 (writing-mode로 레이아웃 자연 배치, 회전 없음) */
.ctt-cinc-intro-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: block;
  color: #eaeaea;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .ctt-cinc-intro-label {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-intro-label {
    font-size: 50px;
  }
}

/* ========== CINC 작동원리 섹션 ========== */

/* 작동원리: 라벨 (pill, primary 배경) */
.ctt-cinc-how-label {
  display: inline-block;
  padding: 5px 20px;
  background: var(--primary, #1f4c8a);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  text-align: center;
  width: auto;
  min-width: 120px;
  max-width: 150px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .ctt-cinc-how-label {
    padding: 5px 30px;
    font-size: 18px;
    width: 150px;
  }
}

/* 작동원리: 내용 텍스트 */
.ctt-cinc-how-text {
  color: #696969;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .ctt-cinc-how-text {
    font-size: 18px;
  }
}

/* 작동원리: 라벨 ↔ 텍스트 간격 10px, 행 간격 20px은 HTML gap-2.5 / gap-5로 적용 */

/* 작동원리: 오른쪽 블록 (세로 글자 왼쪽 + 이미지 오른쪽) */
.ctt-cinc-how-right {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ctt-cinc-how-right {
    height: auto;
    min-height: 280px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-how-right {
    height: 403px;
  }
}

/* 작동원리: 이미지 영역만 보더 (cinc_2) */
.ctt-cinc-how-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid #eaeaea;
  background: #fff url("../../../img/solution/cinc_2.png") 50% / cover no-repeat;
}

@media (min-width: 768px) {
  .ctt-cinc-how-img {
    max-width: 340px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-how-img {
    width: 403px;
    height: 403px;
    max-width: 403px;
  }
}

/* 작동원리: 세로 "How It Works" 영역 (이미지 왼쪽에 붙음, rotate -90deg) */
.ctt-cinc-how-label-wrap {
  position: relative;
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

@media (min-width: 768px) {
  .ctt-cinc-how-label-wrap {
    width: 50px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-how-label-wrap {
    width: 70px;
  }
}

.ctt-cinc-how-label-vertical {
  position: absolute;
  white-space: nowrap;
  color: #eaeaea;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(-90deg);
}

@media (min-width: 768px) {
  .ctt-cinc-how-label-vertical {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-how-label-vertical {
    font-size: 50px;
  }
}

/* ========== CINC 특징 섹션 ========== */

.ctt-cinc-feature-table-wrap {
  background: #fff;
  border-top: 2px solid #212121;
}

.ctt-cinc-feature-table {
  background: #fff;
}

.ctt-cinc-feature-row {
  border-bottom: 1px solid #c0c0c0;
}

.ctt-cinc-feature-row td {
  padding: 8px 12px;
}

@media (min-width: 640px) {
  .ctt-cinc-feature-row td {
    padding: 8px 20px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-feature-row td {
    padding: 8px 34px;
  }
}

.ctt-cinc-feature-row--even {
  background: #f9f9f9;
}

.ctt-cinc-feature-col-num {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  width: 1%;
  white-space: nowrap;
}

.ctt-cinc-feature-col-txt {
  font-size: 13px;
  font-weight: 400;
  text-align: left;
}

@media (min-width: 640px) {
  .ctt-cinc-feature-col-num {
    font-size: 16px;
  }
  .ctt-cinc-feature-col-txt {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-feature-col-num {
    font-size: 18px;
  }
  .ctt-cinc-feature-col-txt {
    font-size: 16px;
  }
}

/* 오른쪽: 이미지 + 세로 Characteristics (rotate 90deg) */
.ctt-cinc-char-right {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ctt-cinc-char-right {
    height: auto;
    min-height: 350px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-char-right {
    height: 509px;
  }
}

.ctt-cinc-char-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  background: #fff url("../../../img/solution/cinc_1.png") 50% / cover no-repeat;
}

@media (min-width: 768px) {
  .ctt-cinc-char-img {
    max-width: 420px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-char-img {
    width: 509px;
    height: 509px;
    max-width: 509px;
  }
}

.ctt-cinc-char-label-wrap {
  position: relative;
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

@media (min-width: 768px) {
  .ctt-cinc-char-label-wrap {
    width: 50px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-char-label-wrap {
    width: 70px;
  }
}

.ctt-cinc-char-label-vertical {
  position: absolute;
  white-space: nowrap;
  color: #eaeaea;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .ctt-cinc-char-label-vertical {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-char-label-vertical {
    font-size: 50px;
  }
}

/* ========== CINC 응용 섹션 ========== */

.ctt-cinc-application-label {
  color: #eaeaea;
  text-align: left;
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .ctt-cinc-application-label {
    font-size: 50px;
  }
}

.ctt-cinc-application-grid {
  gap: 20px;
}

.ctt-cinc-application-item {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.ctt-cinc-application-img-wrap {
  width: 100%;
  height: 133px;
  overflow: hidden;
}

.ctt-cinc-application-title-overlay {
  color: var(--primary, #1f4c8a);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

@media (min-width: 640px) {
  .ctt-cinc-application-title-overlay {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-application-title-overlay {
    font-size: 20px;
    line-height: 30px;
  }
}

.ctt-cinc-application-content {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

@media (min-width: 640px) {
  .ctt-cinc-application-content {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 14px;
    padding-right: 14px;
    min-height: 220px;
    font-size: 15px;
    line-height: 26px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-application-content {
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 14px;
    padding-right: 14px;
    height: 250px;
    font-size: 16px;
    line-height: 27px;
  }
}

.ctt-cinc-application-item-text {
  margin: 0;
}

/* ========== CINC 특성 섹션 ========== */

.ctt-cinc-spec-label {
  color: #eaeaea;
  text-align: right;
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .ctt-cinc-spec-label {
    font-size: 50px;
  }
}

.ctt-cinc-spec-table-wrap {
  overflow-x: auto;
}

.ctt-cinc-spec-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eaeaea;
}

/* 헤더 스타일 */
.ctt-cinc-spec-th {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid #fff;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .ctt-cinc-spec-th {
    font-size: 14px;
    padding: 12px 12px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-spec-th {
    font-size: 16px;
    padding: 14px 20px;
  }
}

.ctt-cinc-spec-th--first {
  background: var(--primary, #1f4c8a);
}

.ctt-cinc-spec-th--other {
  background: #000;
}

.ctt-cinc-spec-th:last-child {
  border-right: none;
}

/* Row 셀 스타일 */
.ctt-cinc-spec-td {
  font-size: 11px;
  text-align: center;
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.ctt-cinc-spec-td--first {
  background: #f3f5f9;
  padding: 10px 12px;
  text-align: center;
}

.ctt-cinc-spec-td--other {
  padding: 10px 8px;
}

@media (min-width: 640px) {
  .ctt-cinc-spec-td {
    font-size: 12px;
  }
  .ctt-cinc-spec-td--first {
    padding: 12px 20px;
  }
  .ctt-cinc-spec-td--other {
    padding: 12px 12px;
  }
}

@media (min-width: 1024px) {
  .ctt-cinc-spec-td {
    font-size: 14px;
  }
  .ctt-cinc-spec-td--first {
    padding: 14px 40px;
  }
  .ctt-cinc-spec-td--other {
    padding: 14px 20px;
  }
}

.ctt-cinc-spec-td:last-child {
  border-right: none;
}

/* 짝수 행 배경색 (0번째 컬럼 제외) */
.ctt-cinc-spec-tr--even .ctt-cinc-spec-td--other {
  background: #f9f9f9;
}

.ctt-cinc-spec-tr:last-child .ctt-cinc-spec-td {
  border-bottom: none;
}
