@charset "utf-8";
/* ─────────────────────────────────────────────────────────────
   학술대회 연자 소개 (event1_04)
   2026-08-26 재작성 — 사이트 디자인 언어에 맞춤

   기존 문제:
   - 색이 Flat UI / Bootstrap 기본값(#3498db, #2c3e50, #28a745, #007bff)이라
     학회 브랜드색과 따로 놀았다
   - 이 페이지만 인라인 <style> 300줄. 다른 event 페이지는 전부 0줄
   - 버튼에 이모지, 카드 부양 호버 등 이 사이트에 없는 표현

   기준 (theme/nero/css/style.css 실측)
   - 주색 #495FA1 / 강조 #1A264B / 경계 #E5E5EC / 배경 #F8F8FA
   - 본문 텍스트 #111, 보조 #767676
   - 버튼 border-radius 4px  (.btn_style_baisc)
   - 단위는 rem (사이트 전체 218곳이 rem, px 는 20곳뿐)
   ───────────────────────────────────────────────────────────── */

.speaker_container { margin-top: 3rem; }

/* ── 세션(아젠다) 구획 ───────────────────────────────── */
.agenda_section {
    margin-bottom: 4rem;
    padding-bottom: 3.2rem;
    border-bottom: 1px solid #E5E5EC;
}
.agenda_section:last-child { border-bottom: none; margin-bottom: 0; }

.agenda_header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 1.6rem;
    margin-bottom: 2.4rem;
    padding-left: 1.4rem;
    border-left: 3px solid #495FA1;
}

.agenda_title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #111;
    margin: 0;
    line-height: 1.4;
}

/* 시간은 배지가 아니라 보조 정보로 — 알약 배지는 이 사이트에 없다 */
.agenda_time {
    font-size: 1.5rem;
    color: #767676;
    font-weight: 500;
}

/* ── 연자 카드 ───────────────────────────────────────── */
.speakers_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
    gap: 2.4rem 2rem;
}

.speaker_card {
    background: #fff;
    border: 1px solid #E5E5EC;
    border-radius: 4px;
    padding: 2.4rem 2rem 2rem;
    text-align: center;
    transition: border-color .2s ease;
}
/* 부양 애니메이션 대신 테두리 변화만 — 학회 사이트 톤에 맞춘다 */
.speaker_card:hover { border-color: #495FA1; }

.speaker_photo {
    width: 16rem;
    height: 16rem;
    margin: 0 auto 1.6rem;
    border-radius: 4px;
    overflow: hidden;
    background: #F8F8FA;
    border: 1px solid #E5E5EC;
}
.speaker_photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.speaker_info { text-align: center; }

.speaker_name {
    font-size: 1.9rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 .8rem;
    line-height: 1.4;
}

.speaker_presentation {
    font-size: 1.6rem;
    color: #495FA1;
    font-weight: 600;
    margin-bottom: .8rem;
    line-height: 1.5;
    word-break: keep-all;
}

.speaker_specialty {
    font-size: 1.5rem;
    color: #767676;
    line-height: 1.5;
    word-break: keep-all;
}
.specialty_ko { display: block; font-size: 1.5rem; margin-bottom: .3rem; }
.specialty_en { display: block; font-size: 1.4rem; color: #999; }

/* ── 버튼 ────────────────────────────────────────────── */
.speaker_buttons {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid #F0F0F4;
    display: flex;
    gap: .8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cv, .btn-material {
    display: inline-block;
    padding: .9rem 1.6rem;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.2;
    border: 1px solid #495FA1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

/* 주 동작(약력 보기) — 채운 버튼 */
.btn-cv { background: #495FA1; color: #fff; }
.btn-cv:hover { background: #1A264B; border-color: #1A264B; }

/* 부 동작(발표자료) — 외곽선 버튼. 초록은 이 사이트에 없는 색이라 뺐다 */
.btn-material { background: #fff; color: #495FA1; }
.btn-material:hover { background: #F8F8FA; color: #1A264B; border-color: #1A264B; text-decoration: none; }

/* ── 약력 모달 ───────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(26,38,75,.55);
}

.modal-content {
    background: #fff;
    margin: 6% auto;
    border-radius: 4px;
    width: 90%;
    max-width: 64rem;
    max-height: 80vh;
    box-shadow: 0 .8rem 3rem rgba(0,0,0,.22);
}

.modal-header {
    padding: 2rem 2.4rem 1.6rem;
    border-bottom: 1px solid #E5E5EC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
}
.modal-header h3 { margin: 0; color: #111; font-size: 2rem; font-weight: 600; line-height: 1.4; }

.close {
    color: #999;
    font-size: 2.8rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
}
.close:hover, .close:focus { color: #111; text-decoration: none; }

.modal-body { padding: 2.4rem; max-height: 60vh; overflow-y: auto; }
#modalBiography { line-height: 1.7; color: #333; font-size: 1.6rem; white-space: pre-wrap; }

/* ── 연자 미등록 ─────────────────────────────────────── */
.no_speakers { text-align: center; padding: 6rem 2rem; }
.no_content p { font-size: 1.7rem; color: #767676; }

/* 기존 마크업 잔재 숨김 (원본에서 이어받음) */
.introduce { display: none; }

/* 약력 불러오는 중 / 오류 (JS 에서 삽입) */
.cv_loading {
    text-align: center;
    padding: 2.4rem;
    color: #767676;
    font-size: 1.6rem;
}
.cv_error {
    text-align: center;
    padding: 2.4rem;
    color: #C0392B;
    font-size: 1.6rem;
}

/* ── 모바일 ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .speakers_grid { grid-template-columns: 1fr; gap: 1.6rem; }

    .agenda_section { margin-bottom: 3.2rem; padding-bottom: 2.4rem; }
    .agenda_header  { margin-bottom: 1.8rem; gap: .4rem 1.2rem; }
    .agenda_title   { font-size: 2rem; }
    .agenda_time    { font-size: 1.4rem; }

    /* 모바일은 1열이라 세로가 길어진다. 사진을 왼쪽에 두고 가로로 배치 */
    .speaker_card {
        display: flex;
        align-items: flex-start;
        gap: 1.6rem;
        text-align: left;
        padding: 1.8rem 1.6rem;
    }
    .speaker_photo { width: 10rem; height: 10rem; margin: 0; flex-shrink: 0; }
    .speaker_info  { text-align: left; flex: 1; min-width: 0; }
    .speaker_name  { font-size: 1.8rem; }
    .speaker_presentation { font-size: 1.5rem; }

    .speaker_buttons { justify-content: flex-start; margin-top: 1.2rem; padding-top: 1.2rem; }
    .btn-cv, .btn-material { font-size: 1.3rem; padding: .8rem 1.2rem; }

    .modal-content { width: 92%; margin: 12% auto; }
    .modal-header  { padding: 1.6rem 1.8rem 1.2rem; }
    .modal-header h3 { font-size: 1.8rem; }
    .modal-body    { padding: 1.8rem; }
    #modalBiography { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .speaker_photo { width: 8.4rem; height: 8.4rem; }
    .speaker_name  { font-size: 1.7rem; }
    .speaker_buttons { flex-direction: column; align-items: stretch; }
    .btn-cv, .btn-material { width: 100%; text-align: center; }
}
