/* 협회장 인사말 페이지 CSS */

/* 컨테이너 */
.greeting-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 3뎁스 탭 네비게이션 */
.greeting-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border: none;
}

.greeting-tab {
  flex: 1;
  padding: 18px 32px;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #002677;
  background: #FFFFFF;
  border: 1px solid #002677;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.greeting-tab:hover {
  background: #E8F0FF;
}

.greeting-tab.is-active {
  color: #FFFFFF;
  background: #002677;
  border-color: #002677;
}

/* 메인 콘텐츠 레이아웃 */
.greeting-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}

/* 좌측: 협회장 이미지 영역 */
.greeting-photo-area {
  position: relative;
  width: 440px;
  height: 600px;
  flex-shrink: 0;
}

/* 배경 그라데이션 박스 */
.greeting-photo-bg {
  position: absolute;
  width: 400px;
  height: 520px;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #E8F0FF 0%, #002677 100%);
  border-radius: 200px;
}

/* 방울 이미지 (배경 장식) */
.greeting-bubble {
  position: absolute;
  width: 588px;
  height: 519px;
  left: -148px;
  bottom: 0;
  background-image: url(/uploads/sub/bubble.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

/* 협회장 사진 */
.greeting-photo {
  position: absolute;
  width: 434px;
  height: auto;
  max-height: 644px;
  left: 6px;
  bottom: 0;
  z-index: 2;
  object-fit: contain;
  object-position: bottom;
}

/* 우측: 텍스트 콘텐츠 영역 */
.greeting-text-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  flex: 1;
  min-width: 0;
}

/* 메인 타이틀 */
.greeting-title {
  font-family: "Paperlogy", sans-serif;
  font-weight: 400;
  font-size: 4rem;
  line-height: 1.2;
  color: #222222;
  margin: 0;
  word-break: keep-all;
}

.greeting-title .highlight {
  color: #2D53C4;
  font-weight: 600;
}

/* 본문 영역 */
.greeting-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 슬로건 */
.greeting-slogan {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.6;
  color: #696969;
  margin: 0;
}

/* 본문 텍스트 */
.greeting-paragraph {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #696969;
  margin: 0;
  word-break: keep-all;
}

/* 서명 영역 */
.greeting-signature {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

.greeting-signature-title {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.4;
  color: #222222;
}

.greeting-signature-name {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.4;
  color: #222222;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
  .greeting-content {
    flex-direction: column;
    gap: 48px;
  }

  .greeting-photo-area {
    width: 100%;
    max-width: 400px;
    height: 500px;
    margin: 0 auto;
  }

  .greeting-photo-bg {
    width: 320px;
    height: 420px;
    border-radius: 160px;
  }

  .greeting-bubble {
    display: none;
  }

  .greeting-photo {
    width: 350px;
    left: 50%;
    transform: translateX(-50%);
  }

  .greeting-title {
    font-size: 3.2rem;
  }

  .greeting-slogan {
    font-size: 2rem;
  }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
  .greeting-container {
    padding: 40px 16px 60px;
  }

  .greeting-tabs {
    margin-bottom: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .greeting-tab {
    padding: 12px 20px;
    font-size: 1.6rem;
    white-space: nowrap;
  }

  .greeting-photo-area {
    height: 400px;
  }

  .greeting-photo-bg {
    width: 260px;
    height: 340px;
    border-radius: 130px;
  }

  .greeting-photo {
    width: 280px;
  }

  .greeting-text-area {
    gap: 32px;
  }

  .greeting-title {
    font-size: 2.6rem;
  }

  .greeting-slogan {
    font-size: 1.8rem;
  }

  .greeting-paragraph {
    font-size: 1.6rem;
  }

  .greeting-signature {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .greeting-signature-title {
    font-size: 1.6rem;
  }

  .greeting-signature-name {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .greeting-photo-area {
    height: 320px;
  }

  .greeting-photo-bg {
    width: 200px;
    height: 260px;
    border-radius: 100px;
  }

  .greeting-photo {
    width: 220px;
  }

  .greeting-title {
    font-size: 2.2rem;
  }
}
