/*     1209945 : 한줄 텍스트      */
.text__1209945__ p {
	display:block;margin:0;padding:0;
	font-size:{$farm_set[font_size_m]}px;font-weight:{$farm_set[weight]};color:{$farm_set[color]};letter-spacing:0;line-height:1.5em;
}
.text__1209945__ p a {color:{$farm_set[color]}}

@media all and (min-width:1024px){
	.text__1209945__ p {font-size:{$farm_set[font_size]}px}
}

/*     1209955 : 한줄 텍스트      */
:root {
  --bj-deep: #173c38;
  --bj-deeper: #112e2b;
  --bj-text: #213633;
  --bj-muted: #61716d;
  --bj-line: #e1e7e1;
  --bj-mint: #f4f8f3;
  --bj-sage: #e7eee8;
  --bj-cream: #f7f6f1;
  --bj-ivory: #fbfaf6;
  --bj-white: #ffffff;
  --bj-radius: 26px;
  --bj-shadow: 0 25px 65px rgba(21,54,45,.09);
}

/* ==============================
   COMMON CSS
============================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  color:var(--bj-text);
  line-height:1.7;
  letter-spacing:-.02em;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  border:0;
  background:none;
  font:inherit;
  cursor:pointer;
}

.bj-common-inner{
  width:100%;
  max-width:1440px;
  margin:0 auto;
}

.bj-common-section{
  padding:120px 0;
}

.bj-common-eyebrow{
  display:inline-block;
  margin:0 0 10px;
  color:var(--bj-deep);
  font-size:20px;
  font-weight:500;
  letter-spacing:.18em;
}

.bj-common-section-head{
  text-align:center;
}

.bj-common-section-head h2{
  margin-bottom:50px;
  font-size:45px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:-.05em;
  word-break:keep-all;
}

.bj-common-img-box{
  position:relative;
  overflow:hidden;
  background:var(--bj-cream);
}

/* ==============================
   SUB HERO
============================== */

.bj-sub-hero--signature{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:450px;
  overflow:hidden;
  background:var(--bj-white);
  isolation:isolate;
}
.bj-sub-hero--signature::before{
  content: "";
    position: absolute;
    z-index: 1;
    width: 75%;
    height: 210%;
    top: -125%;
    left: -23%;
    background: var(--bj-sage);
    border-radius: 0 0 50% 50% / 0 0 65% 65%;
    transform: rotate(-22deg);
    transform-origin: center center;
    box-shadow: 8px 10px 18px rgb(94 117 111 / 16%);
    pointer-events: none;
}
/* 배경 이미지 영역 */
.bj-sub-hero__visual{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
}

/* 배경 이미지 */
.bj-sub-hero__visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:url('/img_up/shop_pds/kpdent11/build/option/11795153532.jpg') no-repeat center/cover;
  transform:scale(1.08);
  transition:transform 4.8s ease;
}

/* 기존 줌아웃 유지 */
.bj-sub-hero__visual.is-zoom-out::after{
  transform:scale(1);
}

/* 텍스트 래핑 */
.bj-sub-hero__inner{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:380px;
  padding:0 20px;
  text-align:center;
}

.bj-sub-hero__copy{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1440px;
  margin:0 auto;
}

/* 영문 소제목 */
.bj-sub-hero__copy .bj-common-eyebrow{
  margin:0;
  color:var(--bj-deep);
  font-family:"Cormorant Garamond", serif !important;
  font-size:20px;
  font-weight:500;
  letter-spacing:.08em;
}

/* 메인 타이틀 */
.bj-sub-hero__copy h2{
  margin:0;
  color:var(--bj-deeper);
  font-family:"Cormorant Garamond", serif !important;
  font-size:72px;
  line-height:1.5em;
  font-weight:400;
  letter-spacing:-.06em;
}

/* 설명 */
.bj-sub-hero__copy p:not(.bj-common-eyebrow){
  margin:20px 0 0;
  color:var(--bj-muted);
  font-size:20px;
  line-height:1.7;
  font-weight:400;
  word-break:keep-all;
}

.bj-signature-bg{
  display:none;
}

/* ==============================
   TABLET
============================== */

@media (max-width:1200px){

  .bj-sub-hero--signature{
    min-height:500px;
  }

  .bj-sub-hero--signature::before{
    width:72%;
    height:140%;
    top:-16%;
    left:-22%;
  }

  .bj-sub-hero__copy h2{
    font-size:6.5vw;
  }

  .bj-sub-hero__copy p:not(.bj-common-eyebrow){
    font-size:3vw;
  }
}

/* ==============================
   MOBILE
============================== */

@media (max-width:768px){

  .bj-common-inner{
    width:auto;
    padding:0 15px;
  }

  .bj-common-section{
    padding:80px 0;
  }

  .bj-common-section-head h2{
    margin-bottom:40px;
    font-size:34px;
  }

  .bj-sub-hero--signature{
    min-height:350px;
    padding:50px 0;
  }

  .bj-sub-hero--signature::before{
    width:110%;
    height:120%;
    top:-12%;
    left:-52%;
    transform:rotate(-10deg);
  }

  .bj-sub-hero__inner{
    min-height:250px;
    padding:0 20px;
  }

  .bj-sub-hero__copy{
    padding:0 20px;
  }

  .bj-sub-hero__copy .bj-common-eyebrow{
    font-size:15px;
  }

  .bj-sub-hero__copy h2{
    font-size:42px;
  }

  .bj-sub-hero__copy p:not(.bj-common-eyebrow){
    margin-top:15px;
    font-size:17px;
  }

  .bj-sub-hero__visual::after{
    transform:scale(1.05);
  }
}

/* =========================================
   SUB HERO SCROLL REVEAL
========================================= */

.bj-sub-hero__visual,
.bj-sub-hero__copy{
  opacity:0;
  transform:translateY(35px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.bj-sub-hero__visual.is-show,
.bj-sub-hero__copy.is-show{
  opacity:1;
  transform:translateY(0);
}

.bj-sub-hero__copy{
  transition-delay:.15s;
}

@media (prefers-reduced-motion:reduce){
  .bj-sub-hero__visual,
  .bj-sub-hero__copy{
    opacity:1;
    transform:none;
    transition:none;
  }

  .bj-sub-hero__visual::after{
    transform:none;
    transition:none;
  }
}

/*     1209965 : 한줄 텍스트      */
.text__1209965__ p {
	display:block;margin:0;padding:0;
	font-size:{$farm_set[font_size_m]}px;font-weight:{$farm_set[weight]};color:{$farm_set[color]};letter-spacing:0;line-height:1.5em;
}
.text__1209965__ p a {color:{$farm_set[color]}}

@media all and (min-width:1024px){
	.text__1209965__ p {font-size:{$farm_set[font_size]}px}
}

/*     1209975 : 한줄 텍스트      */
:root {
  --bj-deep: #173c38;
  --bj-deeper: #112e2b;
  --bj-text: #213633;
  --bj-muted: #61716d;
  --bj-line: #e1e7e1;
  --bj-mint: #f4f8f3;
  --bj-sage: #e7eee8;
  --bj-cream: #f7f6f1;
  --bj-ivory: #fbfaf6;
  --bj-white: #ffffff;
  --bj-radius: 26px;
  --bj-shadow: 0 25px 65px rgba(21,54,45,.09);
}

/* =========================================
   KIM & PARK DENTAL DOCTORS PROFILE
========================================= */

.bj-profile-section{
  position:relative;
  padding:100px 0 110px;

  overflow:hidden;
}

.bj-profile-section *{
  box-sizing:border-box;
}

.bj-profile-inner{
  width:100%;
  max-width:1440px;
  margin:0 auto;
  padding:0 40px;
}

/* =========================================
   PROFILE ITEM
========================================= */

.bj-profile-item{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.48fr);
  gap:70px;
  align-items:center;
  min-height:620px;
}

/* 두 의료진 사이 구분 */

.bj-profile-item + .bj-profile-item{
  margin-top:80px;
  padding-top:80px;
  border-top:1px solid var(--bj-line);
}

/* 두 번째 의료진 좌우 반전 */

.bj-profile-item--reverse{
  grid-template-columns:minmax(0,1.48fr) minmax(0,.82fr);
}

.bj-profile-item--reverse .bj-profile-content{
  grid-column:1;
  grid-row:1;
}

.bj-profile-item--reverse .bj-profile-visual{
  grid-column:2;
  grid-row:1;
}

/* =========================================
   DOCTOR PHOTO
========================================= */

.bj-profile-visual{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  align-self:center;
  width:100%;
  height:620px;
  min-width:0;
}

/* 원형 배경 */

.bj-profile-circle{
  position:absolute;
  z-index:0;
  left:50%;
  bottom:20px;
  width:430px;
  height:430px;
  border-radius:50%;
  background:var(--bj-sage);
  transform:translateX(-50%);
}

/* 사진 */

.bj-profile-image{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.bj-profile-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
  user-select:none;
  -webkit-user-drag:none;
}

/* =========================================
   DOCTOR CONTENT
========================================= */

.bj-profile-content{
  min-width:0;
  padding:20px 0;
}

.bj-profile-header{
  margin-bottom:34px;
}

/* 이름 */

.bj-profile-name{
  display:flex;
  align-items:flex-end;
  gap:13px;
  margin-bottom:25px;
}

.bj-profile-name strong{
  color:var(--bj-deep);
  font-size:48px;
  font-weight:800;
  line-height:1;
  letter-spacing:-.055em;
  white-space:nowrap;
}

.bj-profile-name span{
  padding-bottom:3px;
  color:var(--bj-deeper);
  font-size:24px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.04em;
  word-break:keep-all;
}

/* 한마디 */

.bj-profile-message{
  margin:0;
  padding:28px 35px;
  border-radius:20px;
  background:var(--bj-mint);
  color:var(--bj-deeper);
  font-size:20px;
  font-weight:500;
  line-height:1.65;
  letter-spacing:-.04em;
  word-break:keep-all;
}

/* =========================================
   PROFILE INFORMATION
========================================= */

.bj-profile-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:40px;
  row-gap:34px;
  max-height:430px;
  padding-right:16px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}

/* 스크롤바 */

.bj-profile-info-grid::-webkit-scrollbar{
  width:6px;
}

.bj-profile-info-grid::-webkit-scrollbar-track{
  border-radius:10px;
  background:var(--bj-mint);
}

.bj-profile-info-grid::-webkit-scrollbar-thumb{
  border-radius:10px;
  background:var(--bj-muted);
}

.bj-profile-info-grid::-webkit-scrollbar-thumb:hover{
  background:var(--bj-deep);
}

.bj-profile-info-grid{
  scrollbar-width:thin;
  scrollbar-color:var(--bj-muted) var(--bj-mint);
}

/* 정보 항목 */

.bj-profile-info{
  min-width:0;
}

.bj-profile-info h3{
  position:relative;
  margin:0 0 14px;
  padding-left:14px;
  color:var(--bj-deeper);
  font-size:21px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:-.04em;
}

.bj-profile-info h3::before{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:4px;
  height:18px;
  border-radius:10px;
  background:var(--bj-deep);
  transform:translateY(-50%);
}

.bj-profile-info ul{
  margin:0;
  padding:0;
  list-style:none;
}

.bj-profile-info li{
  position:relative;
  margin:0 0 7px;
  padding-left:11px;
  color:var(--bj-text);
  font-size:16px;
  font-weight:400;
  line-height:1.6;
  letter-spacing:-.035em;
  word-break:keep-all;
}

.bj-profile-info li::before{
  content:"";
  position:absolute;
  top:.76em;
  left:0;
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--bj-text);
}

/* 긴 영문 논문 제목 줄바꿈 */

.bj-profile-publications li{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* =========================================
   TABLET
========================================= */

@media(max-width:1100px){

  .bj-profile-section{
    padding:60px 0;
  }

  .bj-profile-inner{
    padding:0 30px;
  }

  .bj-profile-item{
    gap:40px;
    min-height:540px;
  }

  .bj-profile-item + .bj-profile-item{
    margin-top:60px;
    padding-top:60px;
  }

  .bj-profile-visual{
    height:540px;
  }

  .bj-profile-circle{
    width:350px;
    height:350px;
  }

  .bj-profile-name strong{
    font-size:40px;
  }

  .bj-profile-name span{
    font-size:21px;
  }

  .bj-profile-message{
    padding:24px 28px;
    font-size:18px;
  }

  .bj-profile-info-grid{
    max-height:390px;
    padding-right:12px;
  }

  .bj-profile-info li{
    font-size:15px;
  }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:767px){

  .bj-profile-section{
    padding:50px 0;
  }

  .bj-profile-inner{
    padding:0 20px;
  }

  .bj-profile-item,
  .bj-profile-item--reverse{
    display:flex;
    flex-direction:column;
    gap:22px;
    min-height:auto;
    align-items:stretch;
  }

  .bj-profile-item + .bj-profile-item{
    margin-top:50px;
    padding-top:50px;
  }

  /* 모바일 사진 먼저 */

  .bj-profile-visual,
  .bj-profile-item--reverse .bj-profile-visual{
    order:1;
    height:420px;
    align-self:stretch;
  }

  .bj-profile-content,
  .bj-profile-item--reverse .bj-profile-content{
    order:2;
    padding:0;
  }

  .bj-profile-circle{
    bottom:5px;
    width:300px;
    height:300px;
  }

  .bj-profile-header{
    margin-bottom:30px;
  }

  .bj-profile-name{
    justify-content:center;
    margin-bottom:20px;
    flex-wrap:wrap;
  }

  .bj-profile-name strong{
    font-size:34px;
  }

  .bj-profile-name span{
    padding-bottom:2px;
    font-size:18px;
  }

  .bj-profile-message{
    padding:22px 20px;
    border-radius:15px;
    font-size:16px;
    line-height:1.7;
    text-align:center;
  }

  .bj-profile-info-grid{
    grid-template-columns:1fr;
    gap:28px;
    max-height:420px;
    padding-right:10px;
    overflow-y:auto;
  }

  .bj-profile-info h3{
    margin-bottom:12px;
    font-size:19px;
  }

  .bj-profile-info li{
    margin-bottom:5px;
    font-size:15px;
    line-height:1.6;
  }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media(max-width:420px){

  .bj-profile-visual{
    height:365px;
  }

  .bj-profile-circle{
    width:260px;
    height:260px;
  }

}

/* =========================================
   DOCTOR SCROLL REVEAL
========================================= */

.bj-profile-item .bj-profile-visual,
.bj-profile-item .bj-profile-content{
  opacity:0;
  transform:translateY(45px);
  transition:
    opacity .85s ease,
    transform .85s cubic-bezier(.22,.61,.36,1);
}

/* 사진 먼저 등장 */
.bj-profile-item.is-visible .bj-profile-visual{
  opacity:1;
  transform:translateY(0);
}

/* 정보는 조금 늦게 등장 */
.bj-profile-item.is-visible .bj-profile-content{
  opacity:1;
  transform:translateY(0);
  transition-delay:.15s;
}

/* 접근성 */
@media(prefers-reduced-motion:reduce){
  .bj-profile-item .bj-profile-visual,
  .bj-profile-item .bj-profile-content{
    opacity:1;
    transform:none;
    transition:none;
  }
}


/*     1212895 : 한줄 텍스트      */
.text__1212895__ p {
	display:block;margin:0;padding:0;
	font-size:{$farm_set[font_size_m]}px;font-weight:{$farm_set[weight]};color:{$farm_set[color]};letter-spacing:0;line-height:1.5em;
}
.text__1212895__ p a {color:{$farm_set[color]}}

@media all and (min-width:1024px){
	.text__1212895__ p {font-size:{$farm_set[font_size]}px}
}

/*     1212905 : 한줄 텍스트      */
/* CSS MARKER */

.es-filler-css-marker {
  display:none;
}

.es-filler-css-marker.build_edit_mode {
  display:flex !important;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:30px;
  border:1px dashed red;
  background:rgba(255,255,255,.1);
  color:red;
  font-size:13px;
  line-height:1.2;
  text-align:center;
}


