
/* ========================================
   ETHICAL MANAGEMENT - COMMON
======================================== */

.ethical-page {
  width: 100%;
  background: #011b33;
  color: var(--color-white);
  overflow: hidden;
}

.ethical-inner {
  width: 100%;
  max-width: var(--inner);
  margin: 0 auto;

}

/* ========================================
   INTRO
======================================== */

.ethical-intro {
  padding: 90px 0 85px;
  text-align: center;
}

.ethical-intro h3 {
  margin: 0 0 20px;

  font-size: var(--font-visual);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.ethical-highlight {
  margin: 0 0 5px;

  font-size: var(--font-base);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-blue);
}

.ethical-description {
  margin: 0;

  font-size: var(--font-base);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

/* ========================================
   ETHICAL LIST
======================================== */

.ethical-list {
  width: 100%;
}

/* 이미지 + 텍스트 2열 */
.ethical-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: 400px;
}

/* ========================================
   TEXT AREA
======================================== */

.ethical-text {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  padding: 80px 80px;


}

.ethical-text-inner {
  width: 100%;
  
}

/* 번호 */
.ethical-number {
  display: block;
  margin-bottom: 15px;

  font-size: var(--font-title-sm);
  font-weight: 700;
  line-height: 1;
  color: var(--color-blue);
}

/* 제목 */
.ethical-text h4 {
  margin: 0 0 18px;

  font-size: var(--font-title-md);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.ethical-text h4 span {
  display: block;
}

/* 설명 */
.ethical-text p {
  margin: 0 0 5px;

  font-size: var(--font-base);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* 리스트 */
.ethical-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ethical-text li {
  font-size: var(--font-base);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.ethical-text li::before {
  content: "· ";
}

/* ========================================
   IMAGE AREA
======================================== */

.ethical-image {
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

.ethical-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

  .ethical-intro {
    padding: 75px 0 70px;
  }

  .ethical-intro h3 {
    font-size: var(--font-title-md);
  }

  .ethical-highlight {
    font-size: var(--font-base);
  }

  .ethical-description {
    font-size: var(--font-sm);
  }

  .ethical-item {
    min-height: 350px;
  }

  .ethical-text {
    padding: 40px;
  }

  .ethical-number {
    font-size: var(--font-title-sm);
  }

  .ethical-text h4 {
    font-size: var(--font-lg);
  }

  .ethical-text p,
  .ethical-text li {
    font-size: var(--font-sm);
  }

  .ethical-image {
    min-height: 350px;
  }

}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

  .ethical-inner {
    padding: 0 20px;
  }

  .ethical-intro {
    padding: 60px 0;
  }

  .ethical-intro h3 {
    margin-bottom: 20px;
    font-size: var(--font-title-sm);
  }

  .ethical-highlight {
    margin-bottom: 12px;
    font-size: var(--font-sm);
  }

  .ethical-description {
    font-size: var(--font-xs);
    line-height: 1.8;
  }

  .pc-only {
    display: none;
  }

  /* 모바일 1열 */
  .ethical-item {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  /* 이미지 먼저, 텍스트 아래 */
  .ethical-image {
    order: 1;
    min-height: 0;
    height: 240px;
  }

  .ethical-text {
    order: 2;
    padding: 35px 20px 45px;
  }

  .ethical-text-inner {
    max-width: 100%;
  }

  .ethical-number {
    margin-bottom: 12px;
    font-size: var(--font-lg);
  }

  .ethical-text h4 {
    margin-bottom: 15px;
    font-size: var(--font-lg);
  }

  .ethical-text p {
    font-size: var(--font-sm);
    line-height: 1.7;
  }

  .ethical-text li {
    font-size: var(--font-sm);
    line-height: 1.7;
  }

}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {

  .ethical-intro h3 {
    font-size: var(--font-title-sm);
  }

  .ethical-image {
    height: 210px;
  }

  .ethical-text h4 {
    font-size: var(--font-lg);
  }

  .ethical-text p,
  .ethical-text li {
    font-size: var(--font-xs);
  }

}

/* ========================================
   ETHICAL MOBILE TEXT FIX
======================================== */

@media (max-width: 767px) {

  .ethical-item,
  .ethical-text,
  .ethical-text-inner {
    min-width: 0;
    max-width: 100%;
  }

  .ethical-page h3,
  .ethical-page h4,
  .ethical-page p,
  .ethical-page li {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
  }

}

/* ========================================
   SUBPAGE SCROLL REVEAL (ADDED ONLY)
   Existing layout / hover / responsive styles preserved.
======================================== */
@media (prefers-reduced-motion: no-preference) {
  .cs-motion-ready .cs-reveal {
    opacity: 0;
    translate: 0 32px;
    transition: opacity .85s ease, translate .85s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--cs-delay, 0ms);
  }
  .cs-motion-ready .cs-reveal.cs-from-left { translate: -48px 0; }
  .cs-motion-ready .cs-reveal.cs-from-right { translate: 48px 0; }
  .cs-motion-ready .cs-reveal.cs-from-scale { scale: .96; transition-property: opacity, translate, scale; }
  .cs-motion-ready .cs-reveal.cs-visible {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs-reveal { opacity: 1 !important; translate: none !important; scale: 1 !important; }
}
