/* =====================================================
   SeeU Dive Instructor Team v1.0
   파일 위치: assets/css/instructor-team.css
===================================================== */

.instructor-team-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.instructor-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid var(--line);
  border-radius:32px;
  background:#fff;
  box-shadow:var(--shadow);
  color:inherit;
  text-decoration:none;
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}

.instructor-card:hover{
  transform:translateY(-6px);
  border-color:#b9d9e7;
  box-shadow:0 26px 62px rgba(5,43,79,.18);
}

.instructor-card-media{
  overflow:hidden;
  aspect-ratio:4/3;
  background:#eaf5fb;
}

.instructor-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:transform .45s ease;
}

.instructor-card:hover .instructor-card-media img{
  transform:scale(1.045);
}

.instructor-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:30px;
}

.instructor-role{
  display:inline-flex;
  margin-bottom:10px;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
  letter-spacing:.1em;
}

.instructor-card h3{
  margin:0 0 12px;
  color:var(--navy);
  font-size:clamp(28px,3vw,38px);
  line-height:1.15;
  letter-spacing:-.04em;
}

.instructor-card p{
  margin:0 0 24px;
  color:var(--muted);
  line-height:1.75;
}

.instructor-card strong{
  display:inline-flex;
  margin-top:auto;
  color:var(--blue);
  font-size:15px;
  font-weight:900;
}

.instructor-team-note{
  margin-top:24px;
  padding:28px 30px;
  border:1px solid var(--line);
  border-radius:28px;
  background:#f4fbff;
}

.instructor-team-note strong{
  display:block;
  margin-bottom:8px;
  color:var(--navy);
  font-size:20px;
  line-height:1.5;
}

.instructor-team-note p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

/* 상세 페이지 */
.instructor-detail-main{
  max-width:1160px;
  margin:auto;
  padding:72px 22px;
}

.instructor-detail-hero{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:120px 22px 90px;
  background:#052b4f;
  color:#fff;
}

.instructor-detail-hero-media,
.instructor-detail-hero-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.instructor-detail-hero-media img{
  object-fit:cover;
  object-position:center;
}

.instructor-detail-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(0,18,32,.82),rgba(0,18,32,.34));
}

.instructor-detail-hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1160px;
  margin:auto;
}

.instructor-detail-hero-content h1{
  max-width:760px;
  margin:16px 0 18px;
  font-size:clamp(42px,6vw,76px);
  line-height:1.08;
  letter-spacing:-.05em;
}

.instructor-detail-hero-content p{
  max-width:680px;
  margin:0;
  color:rgba(255,255,255,.9);
  font-size:clamp(16px,1.8vw,20px);
  line-height:1.8;
}

.instructor-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:32px;
  align-items:stretch;
}

.instructor-detail-copy,
.instructor-detail-photo,
.instructor-detail-card{
  border:1px solid var(--line);
  border-radius:32px;
  background:#fff;
  box-shadow:var(--shadow);
}

.instructor-detail-copy{
  padding:48px;
}

.instructor-detail-copy h2,
.instructor-detail-card h2{
  margin:8px 0 22px;
  color:var(--navy);
  font-size:clamp(32px,3vw,46px);
  line-height:1.15;
  letter-spacing:-.04em;
}

.instructor-detail-copy p,
.instructor-detail-card p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.85;
}

.instructor-detail-photo{
  overflow:hidden;
}

.instructor-detail-photo img{
  width:100%;
  height:100%;
  min-height:540px;
  object-fit:cover;
  display:block;
}

.instructor-detail-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.instructor-detail-card{
  padding:30px;
}

.instructor-detail-card ul{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

.instructor-detail-card li{
  position:relative;
  padding-left:22px;
  color:var(--ink);
  line-height:1.65;
}

.instructor-detail-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:.7em;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--blue);
}

.instructor-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.instructor-gallery img,
.instructor-gallery video{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  border-radius:24px;
  background:#052b4f;
  box-shadow:var(--shadow);
}

.instructor-detail-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:40px;
  border-radius:32px;
  background:linear-gradient(135deg,var(--navy),#0f7fbd);
  color:#fff;
  box-shadow:var(--shadow);
}

.instructor-detail-cta h2{
  margin:0 0 10px;
  font-size:clamp(30px,3vw,44px);
  line-height:1.18;
}

.instructor-detail-cta p{
  margin:0;
  color:rgba(255,255,255,.84);
}

@media(max-width:920px){
  .instructor-team-grid,
  .instructor-detail-grid,
  .instructor-detail-cards,
  .instructor-gallery{
    grid-template-columns:1fr;
  }

  .instructor-detail-copy{
    padding:34px 28px;
  }

  .instructor-detail-photo img{
    min-height:0;
    height:420px;
  }

  .instructor-detail-hero{
    min-height:560px;
    padding-top:110px;
  }

  .instructor-detail-cta{
    display:block;
  }

  .instructor-detail-cta .btn{
    margin-top:20px;
  }
}

@media(max-width:620px){
  .instructor-card-body{
    padding:24px;
  }

  .instructor-team-note{
    padding:24px;
  }

  .instructor-detail-main{
    padding:56px 18px;
  }

  .instructor-detail-photo img{
    height:340px;
  }

  .instructor-gallery img,
  .instructor-gallery video{
    height:240px;
  }
}
