/* ============================================================
   대표원장 인사말 배너 (about.html)
   시안: 데스크톱 = 좌측 사진 / 우측 타이틀+인사말 카드 / 하단 3열(주요 경력·교육 전문성·대회 이력)
         모바일   = 상단 사진+타이틀(연한 하늘색) → 인사말 카드 → 3개 섹션 세로 스택
   ============================================================ */
.codirectors-section { margin-bottom: 56px; }

.ceo-banner {
  --cb-teal: #19c3c3;
  --cb-teal-deep: #0aa8a8;
  --cb-navy: #0f2340;
  --cb-text: #334155;
  --cb-bg: #f3fbfc;
  --cb-bg-deep: #dff5f7;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 40px rgba(10,35,64,.08);
  font-family: 'Noto Sans KR', 'Pretendard', sans-serif;
}

/* ── 상단 히어로 ── */
.ceo-hero {
  position: relative;
  display: grid;
  grid-template-columns: 380px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 28px;
  padding: 40px 48px 0 0;   /* 하단 패딩 0 → 사진이 배너 바닥에 붙음 */
  background:
    radial-gradient(900px 380px at 15% 100%, var(--cb-bg-deep) 0%, rgba(223,245,247,0) 70%),
    linear-gradient(180deg, #eefafb 0%, var(--cb-bg) 100%);
  overflow: hidden;
}
.ceo-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.ceo-deco-blob {
  position: absolute; left: -120px; top: -60px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(25,195,195,.26), rgba(25,195,195,0) 68%);
}
.ceo-deco-drone {
  position: absolute; right: 48px; top: 36px;
  color: var(--cb-teal); font-size: 2rem; opacity: .75;
}
.ceo-deco-drone::after {
  content: ''; position: absolute; right: 18px; top: 42px;
  width: 170px; height: 90px;
  border: 1.5px dashed rgba(25,195,195,.45);
  border-color: transparent transparent rgba(25,195,195,.45) transparent;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: rotate(-12deg);
}
.ceo-deco-script {
  position: absolute; right: 60px; top: 104px;
  font-family: 'Brush Script MT', 'Segoe Script', 'Nanum Pen Script', cursive;
  font-style: italic; font-size: 1.45rem; line-height: 1.05;
  color: rgba(25,195,195,.6); text-align: right;
}

.ceo-hero-photo {
  grid-row: 1 / 3; grid-column: 1;
  align-self: stretch;
  position: relative; z-index: 1;
  min-height: 380px;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 0 0 24px;
}
.ceo-hero-photo img {
  width: 100%; max-width: 360px; height: auto; max-height: 100%;
  display: block; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 10px 20px rgba(10,35,64,.16));
  margin-bottom: 0;
}

.ceo-hero-text { grid-row: 1; grid-column: 2; position: relative; z-index: 1; padding-top: 6px; }
.ceo-eyebrow {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: 4px;
  color: var(--cb-teal-deep); margin-bottom: 8px;
}
.ceo-heading {
  font-size: 2.1rem; font-weight: 900; color: var(--cb-navy);
  letter-spacing: -0.5px; line-height: 1.15; margin: 0 0 10px;
  position: relative; display: inline-block; padding-bottom: 12px;
}
.ceo-heading::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 4px; border-radius: 2px; background: var(--cb-teal);
}
.ceo-name-row { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; }
.ceo-role { font-size: 1rem; font-weight: 600; color: var(--cb-text); letter-spacing: 1px; }
.ceo-name { font-size: 2.2rem; font-weight: 900; color: var(--cb-navy); letter-spacing: 2px; line-height: 1; }

.ceo-quote-card {
  grid-row: 2; grid-column: 2; position: relative; z-index: 1;
  align-self: end;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(25,195,195,.25);
  border-radius: 18px;
  padding: 24px 28px 22px;
  box-shadow: 0 8px 28px rgba(10,35,64,.08);
  backdrop-filter: blur(4px);
  margin: 22px 0 32px;      /* 카드 아래 여백은 카드가 가짐 (사진은 바닥까지) */
}
.ceo-quote-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ceo-quote-head i { font-size: 1.7rem; color: var(--cb-teal); }
.ceo-quote-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--cb-teal), rgba(25,195,195,.15)); border-radius: 2px; }
.ceo-message { margin: 0; font-size: .95rem; line-height: 1.85; color: var(--cb-text); word-break: keep-all; }
.ceo-message br + br { display: block; content: ''; margin-top: 6px; }

/* ── 하단 3열 ── */
.ceo-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
}
.ceo-col { padding: 30px 32px 32px; position: relative; }
.ceo-col + .ceo-col::before {
  content: ''; position: absolute; left: 0; top: 30px; bottom: 30px;
  width: 1px; background: linear-gradient(180deg, rgba(25,195,195,0), rgba(25,195,195,.35), rgba(25,195,195,0));
}
.ceo-col-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ceo-col-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #cdf3f3, #e8fafa);
  color: var(--cb-teal-deep); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(25,195,195,.25);
}
.ceo-col-head h3 { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--cb-navy); white-space: nowrap; }
.ceo-col-line { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--cb-teal), rgba(25,195,195,.1)); border-radius: 2px; margin-left: 4px; }
.ceo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ceo-list li {
  position: relative; padding-left: 22px;
  font-size: .9rem; line-height: 1.6; color: var(--cb-text); font-weight: 500;
  word-break: keep-all;
}
.ceo-list li::before {
  content: ''; position: absolute; left: 4px; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--cb-teal);
  box-shadow: 0 0 0 3px rgba(25,195,195,.15);
}

/* ── 태블릿 ── */
@media (max-width: 1024px) {
  .ceo-hero { grid-template-columns: 300px 1fr; padding: 32px 32px 0 0; column-gap: 24px; }
  .ceo-hero-photo { padding-left: 12px; min-height: 320px; }
  .ceo-quote-card { margin-bottom: 26px; }
  .ceo-heading { font-size: 1.8rem; }
  .ceo-name { font-size: 1.9rem; }
  .ceo-col { padding: 26px 22px 28px; }
  .ceo-col-head h3 { font-size: 1.05rem; }
}

/* ── 모바일: 시안 1 (세로) ── */
@media (max-width: 768px) {
  .ceo-banner { border-radius: 18px; }
  .ceo-hero {
    grid-template-columns: 46% 1fr;
    grid-template-rows: auto;
    column-gap: 0;
    padding: 0;
    background:
      radial-gradient(360px 300px at 18% 70%, rgba(25,195,195,.22) 0%, rgba(25,195,195,0) 70%),
      linear-gradient(180deg, #eefafb 0%, var(--cb-bg) 100%);
  }
  .ceo-hero-photo img { padding-left: 6px; }
  .ceo-deco-blob { left: -140px; top: -120px; width: 380px; height: 380px; }
  /* 장식(드론·점선·필기체)은 상단 사진 줄의 하단(이름 아래 빈 공간)에 배치 — 텍스트와 겹치지 않게 */
  .ceo-hero-deco { display: none; }           /* 히어로 전체 기준 장식은 끄고 */
  .ceo-hero-text { position: relative; z-index: 2; }
  .ceo-hero-text::before {                    /* 드론 아이콘 (이름 아래) */
    content: '\f533'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: 18px; bottom: 56px;
    font-size: 1.3rem; color: var(--cb-teal); opacity: .55;
  }
  .ceo-hero-text::after {                     /* 필기체 */
    content: 'Beyond with Drones';
    position: absolute; right: 18px; bottom: 18px;
    font-family: 'Brush Script MT', 'Segoe Script', 'Nanum Pen Script', cursive;
    font-style: italic; font-size: 1.05rem; line-height: 1.1;
    color: rgba(25,195,195,.6); white-space: nowrap;
  }

  .ceo-hero-photo {
    grid-row: 1; grid-column: 1;
    min-height: 0; height: auto;
    align-items: flex-end;
    padding: 0;
  }
  .ceo-hero-photo img { max-width: none; max-height: none; width: 100%; filter: none; }
  .ceo-hero-text {
    grid-row: 1; grid-column: 2;
    padding: 36px 18px 110px 8px;   /* 하단 여백 = 장식이 들어갈 공간 */
    align-self: start;
    text-align: right;
  }
  .ceo-eyebrow { font-size: .6rem; letter-spacing: 3px; margin-bottom: 6px; }
  .ceo-heading { font-size: 1.5rem; padding-bottom: 10px; margin-bottom: 8px; }
  .ceo-heading::after { left: auto; right: 0; width: 48px; height: 3px; }
  .ceo-name-row { flex-direction: column; align-items: flex-end; gap: 2px; margin-top: 12px; }
  .ceo-role { font-size: .8rem; }
  .ceo-name { font-size: 2rem; }

  /* 인사말 카드: 히어로(사진+타이틀) 아래 전체 폭 — 사진은 카드 위에 붙음 */
  .ceo-quote-card {
    grid-row: 2; grid-column: 1 / -1;
    margin: 0 14px 18px;
    padding: 22px 20px 20px;
    border-radius: 16px;
    position: relative; z-index: 2;
    align-self: start;
  }
  .ceo-hero { padding-bottom: 0; row-gap: 0; }
  .ceo-message { font-size: .9rem; line-height: 1.8; }

  .ceo-cols { grid-template-columns: 1fr; }
  .ceo-col { padding: 22px 20px; }
  .ceo-col + .ceo-col::before {
    left: 20px; right: 20px; top: 0; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, rgba(25,195,195,.35), rgba(25,195,195,.05));
  }
  .ceo-col-icon { width: 40px; height: 40px; font-size: 1rem; }
  .ceo-col-head h3 { font-size: 1.05rem; }
  .ceo-list li { font-size: .88rem; }
}
@media (max-width: 400px) {
  .ceo-hero { grid-template-columns: 46% 1fr; }
  .ceo-heading { font-size: 1.3rem; }
  .ceo-name { font-size: 1.7rem; }
  .ceo-hero-text { padding: 30px 14px 100px 6px; }
}
