/* Korean third hero: original MaruBuri / Pretendard, #728C72 and original background. */
.main_wrap .main_swiper .swiper-wrapper .swiper-slide.sjj-team-slide {position:relative;isolation:isolate;overflow:hidden;background:#d2ddcd url("snu-hospital.png") center/cover no-repeat}
.sjj-team-slide .sjj-team-content,.sjj-team-slide .sjj-team-content * {box-sizing:border-box}
.sjj-team-slide .sjj-team-content {width:57%;max-width:810px;height:calc(100% - 100px);margin-left:clamp(54px,6.4vw,120px);padding:24px 0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:27px;font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#212121;word-break:keep-all;line-height:1.5}
.sjj-team-slide .sjj-team-content * {font-family:inherit;color:inherit}
.sjj-team-slide .sjj-team-title {margin:0;font-family:"MaruBuri",serif;font-size:58px;font-weight:400;line-height:1.28;letter-spacing:-1.6px;color:#212121}
.sjj-team-slide .sjj-team-tagline {display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:22px 0 0;line-height:1.6;letter-spacing:-.4px}
.sjj-team-slide .sjj-team-tagline strong {font-size:20px;font-weight:500;color:#465244}
.sjj-team-slide .sjj-team-tagline span {font-size:20px;font-weight:400;color:#465244}
.sjj-team-slide .sjj-team-description {margin:7px 0 0;font-size:16px;line-height:1.65;letter-spacing:-.3px;color:#5f6b5c}
.sjj-team-slide .sjj-team-roster {width:100%;max-width:640px;min-width:0}
.sjj-team-slide .sjj-team-doctors {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0;margin:0;list-style:none}
.sjj-team-slide .sjj-team-doctors li {list-style:none;min-width:0;padding:0;margin:0}
.sjj-team-slide .sjj-team-photo {display:block;width:100%;height:clamp(150px,22vh,220px);object-fit:cover;object-position:center 20%;border:0;border-radius:0}
.sjj-team-slide .sjj-team-name {margin:10px 0 0;font-size:13px;line-height:1.5;font-weight:400;letter-spacing:-.2px;text-align:right;color:#5f6b5c}
.sjj-team-slide .sjj-team-name span {margin-left:4px;font-size:inherit;font-weight:inherit;color:inherit}
.sjj-team-slide .sjj-team-specialty {margin:13px 0 0;min-height:56px;font-size:18px;line-height:1.55;letter-spacing:-.45px;font-weight:500;color:#212121}
.sjj-team-slide .sjj-team-specialty span {display:block}

.sjj-team-slide .sjj-team-more {display:inline-block;margin-top:20px;font-size:13px;font-weight:400;color:#5f6b5c;text-decoration:underline;text-decoration-color:#728C72;text-decoration-thickness:1px;text-underline-offset:6px;line-height:1.6}
.sjj-team-slide .sjj-team-more:hover {color:#212121}
.sjj-team-slide .sjj-team-more:focus-visible {outline:2px solid #728C72;outline-offset:4px}
@media (max-height:800px) and (min-width:769px) {
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-content {gap:18px;padding-top:18px;padding-bottom:18px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-title {font-size:50px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-tagline {margin-top:13px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-tagline strong {font-size:19px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-tagline span {font-size:19px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-description {font-size:15px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-photo {height:150px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-more {margin-top:13px}
}
.main_wrap .main_swiper .swiper-wrapper .swiper-slide.sjj-team-slide--mobile {height:auto;min-height:183.077vw;background-color:#d2ddcd;background-size:auto 440px;background-position:right top 48px}
.sjj-team-slide--mobile::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 0,transparent 230px,#d2ddcd 490px),linear-gradient(90deg,rgba(210,221,205,.98) 0%,rgba(210,221,205,.86) 43%,rgba(210,221,205,.1) 100%)}
.sjj-team-slide--mobile::after {content:"";position:absolute;inset:auto 0 0;height:70px;z-index:-1;background:linear-gradient(transparent,rgba(33,33,33,.27))}
.sjj-team-slide.sjj-team-slide--mobile .sjj-team-content {width:100%;max-width:650px;height:auto;min-height:183.077vw;margin:0 auto;padding:94px 24px 74px;gap:18px;justify-content:flex-start;align-items:stretch}
.sjj-team-slide--mobile .sjj-team-title {font-size:clamp(30px,8.8vw,42px);line-height:1.3;letter-spacing:-.9px}
.sjj-team-slide--mobile .sjj-team-tagline {display:block;margin-top:15px;line-height:1.5}
.sjj-team-slide--mobile .sjj-team-tagline strong {display:block;font-size:16px}
.sjj-team-slide--mobile .sjj-team-tagline span {display:block;margin-top:2px;font-size:16px}
.sjj-team-slide--mobile .sjj-team-description {display:none}
.sjj-team-slide--mobile .sjj-team-roster {max-width:100%}
.sjj-team-slide--mobile .sjj-team-doctors {gap:9px}
.sjj-team-slide--mobile .sjj-team-photo {height:auto;aspect-ratio:476/645;object-fit:cover}
.sjj-team-slide--mobile .sjj-team-name {font-size:10px;margin-top:7px;margin-bottom:0}
.sjj-team-slide--mobile .sjj-team-name span {font-size:inherit;margin-left:3px}
.sjj-team-slide--mobile .sjj-team-specialty {font-size:12px;line-height:1.55;letter-spacing:-.35px;margin-top:11px;min-height:56px}

.sjj-team-slide--mobile .sjj-team-more {margin-top:18px;font-size:11px;min-height:24px}
@media (max-width:359px) {
 .sjj-team-slide.sjj-team-slide--mobile .sjj-team-content {padding:90px 18px 70px;gap:18px}
 .sjj-team-slide--mobile .sjj-team-title {font-size:30px}
 .sjj-team-slide--mobile .sjj-team-tagline {margin-top:11px}
 .sjj-team-slide--mobile .sjj-team-tagline strong {font-size:15px}
 .sjj-team-slide--mobile .sjj-team-tagline span {font-size:15px}
 .sjj-team-slide--mobile .sjj-team-description {font-size:10px}
 .sjj-team-slide--mobile .sjj-team-specialty {font-size:11.5px;min-height:54px}
 .sjj-team-slide--mobile .sjj-team-name {font-size:10px}
}

/* ===== v8: matched to the original 서울대 출신 hero slide (small green Pretendard eyebrow / MaruBuri title) =====
   Desktop selectors use the original ":not(--mobile)" specificity so they also win inside the max-height:800px rules. */
.sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-content {margin-left:10%;gap:22px}
.sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-title {margin-top:14px;font-size:clamp(40px,3.2vw,60px);line-height:1.28;letter-spacing:-1.4px}
.sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-eyebrow {margin:0;font-size:clamp(17px,1.3vw,25px);font-weight:500;line-height:1.6;letter-spacing:-.4px;color:#587356}
.sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-roster {max-width:660px;padding-top:24px;border-top:1px solid rgba(114,140,114,.5)}
.sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-doctors {gap:24px}
.sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-photo {height:clamp(140px,18vh,190px);border-radius:2px;box-shadow:0 14px 28px -18px rgba(33,33,33,.45)}
.sjj-team-slide .sjj-team-specialty {margin:14px 0 0;min-height:0;font-size:18px;font-weight:600;line-height:1.5;letter-spacing:-.4px;color:#212121}
.sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-more {margin-top:20px;color:#3b503e}
@media (max-height:800px) and (min-width:769px) {
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-content {gap:14px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-title {margin-top:10px;font-size:clamp(36px,2.9vw,52px)}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-eyebrow {font-size:clamp(17px,1.3vw,22px);line-height:1.5}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-roster {padding-top:16px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-photo {height:clamp(120px,17vh,150px)}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-specialty {margin-top:10px;font-size:17px}
 .sjj-team-slide:not(.sjj-team-slide--mobile) .sjj-team-more {margin-top:12px}
}
.sjj-team-slide--mobile .sjj-team-title {font-size:clamp(26px,7.4vw,34px)}
.sjj-team-slide--mobile .sjj-team-eyebrow {margin:0;font-size:clamp(13px,3.6vw,17px);font-weight:500;line-height:1.6;letter-spacing:-.5px;color:#587356}
.sjj-team-slide--mobile .sjj-team-title {margin-top:8px}
.sjj-team-slide--mobile .sjj-team-roster {padding-top:20px}
.sjj-team-slide--mobile .sjj-team-specialty {margin-top:10px;min-height:0;font-size:12.5px}

/* Keep the confirmed small name caption visible beneath each specialty. */
.sjj-team-slide--mobile .sjj-team-title {font-size:clamp(24px, 6.7vw, 32px)}
