/* ===========================================================
   파일: theme/frandeer/css/common/greeting.css
   용도: 공통 Greeting(히어로) 스타일
   =========================================================== */

.greeting {
  position: relative;
}

/* 배경 이미지 + 오버레이 */
.greeting_top {
  position: relative;
  height: var(--g-height, 320px);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 60%;
}
.greeting_top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--g-overlay, 0.25));
  pointer-events: none;
}

/* 텍스트 박스 */
.greeting .director_txt {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 28px 24px;
  color: #fff;
  background: rgba(31, 61, 143, 0.92); /* 좌측 파란 패널 느낌 */
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  max-width: 560px;
}
.greeting .director_txt.is-left {
  left: 120px;
  text-align: left;
}
.greeting .director_txt.is-center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.greeting .director_txt.is-right {
  right: 120px;
  text-align: right;
}

/* 소제목(영문) / 메인 타이틀 */
.greeting .director_entxt {
  display: block;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
  opacity: 0.95;
}
.greeting .director_tit {
  display: block;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}

/* 반응형 */
@media (max-width: 1280px) {
  .greeting .director_txt.is-left {
    left: 40px;
  }
  .greeting .director_txt.is-right {
    right: 40px;
  }
}
@media (max-width: 960px) {
  .greeting_top {
    height: var(--g-height-mobile, 220px);
    background-position: var(--g-pos-mobile, 50% 50%);
  }
  .greeting .director_txt {
    padding: 18px 16px;
    border-radius: 8px;
    max-width: 92%;
  }
  .greeting .director_entxt {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .greeting .director_tit {
    font-size: 20px;
  }
}
