/* ==================================================================================
    공통 스타일
================================================================================== */
.article p.table-info {
    margin: 0;
    padding: 5px 0 0;
    font-size: 13px;
    color: #2c91e5;
}
.article .table-responsive {
    border: 0;
    padding-bottom: 20px;
}
.article table.table thead th {
    color: #fff;
    border: 1px solid #0d3895 !important;
    border-right: 1px solid #fff !important;
    background-color: #0d3895 !important;
}
.article table.table thead th.bd-b1 {
    border-bottom: 1px solid #fff !important;
}
.article table.table thead tr th:last-child {
    border-right: 1px solid #0d3895 !important;
}
.article table.table tbody th {
    padding: 8px !important;
    text-align: center;
}
.article table.table tbody td {
    padding: 8px !important;
    text-align: center;
}


.article.schedule table.table tbody td {
    padding: 8px 10px !important;
    text-align: center;
    letter-spacing: -0.45px;
}

/* ==================================================================================
    초대의 말씀
================================================================================== */
.article.greetings {

}
.article.greetings .thm {
    float: left;
    width: 130px;
}
.article.greetings .txt-info {
    /*float: left;*/
    /*width: 750px;*/
    /*padding-left: 30px;*/
}
.article.greetings .title {
    font-size: 19px;
    font-weight: bold;
}
.article.greetings .title small{
    display: block;
    margin-top: 0;
    font-size: 15px;
    font-weight: normal;
    color: #999;
}
.article.greetings .chairman {
    margin: 0 0 5px;
    text-align: right;
}
.article.greetings .chairman span {
    font-size: 15px;
}
.article.greetings .chairman b {
    margin-left: 10px;
    font-size: 21px;
    font-weight: bold;
}

/* ==================================================================================
   행사일정표 (Schedule) 전용 스타일 (880px 최적화 & 가로 스크롤 제거)
================================================================================== */
.article.schedule {
    color: #2b3a4a;
    max-width: 880px;
    margin: 0 auto;
}

/* 탭 네비게이션 커스텀 */
.schedule-nav-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid #1f3864;
    max-width: 880px;
}
.schedule-nav-tabs > li > a {
    font-size: 14px;
    padding: 10px 12px;
    color: #4b5563;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    font-weight: 500;
    transition: all 0.2s ease;
}
.schedule-nav-tabs > li > a:hover {
    color: #1f3864;
    background: #eef3f9;
}
.schedule-nav-tabs > li.active > a,
.schedule-nav-tabs > li.active > a:focus,
.schedule-nav-tabs > li.active > a:hover {
    color: #ffffff;
    background-color: #1f3864;
    border: 1px solid #1f3864;
    border-bottom: 1px solid #1f3864;
    font-weight: 700;
}

/* 범례 (Legend) */
.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    max-width: 880px;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    color: #475569;
    font-weight: 600;
}
.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 4px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.legend-oral { background-color: #edf5fd; border-color: #c5ddf7; }
.legend-poster { background-color: #f5effa; border-color: #dfcff2; }
.legend-special { background-color: #fff3ec; border-color: #fcd2bc; }
.legend-tutorial { background-color: #e7f7f4; border-color: #baeae3; }
.legend-invited { background-color: #f1f5f9; border-color: #cbd5e1; }
.legend-event { background-color: #fef9c3; border-color: #fde047; }
.legend-reg { background-color: #eaf5e9; border-color: #c3e6be; }

/* 반응형 테이블 래퍼 */
.schedule-table-responsive {
    border: 1px solid #c8d6e5;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
    padding-bottom: 0 !important;
    width: 100%;
    max-width: 880px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 테이블 기본 스타일 (최소 880px 너비 유지로 반응형에서 가로 스크롤) */
.table-schedule {
    table-layout: fixed;
    width: 100%;
    min-width: 880px;
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
    font-size: 11.5px;
}
/* 부트스트랩 .table-responsive의 모바일 white-space: nowrap 강제 적용 방지 */
.table-responsive > .table-schedule > thead > tr > th,
.table-responsive > .table-schedule > thead > tr > td,
.table-responsive > .table-schedule > tbody > tr > th,
.table-responsive > .table-schedule > tbody > tr > td,
.table-schedule th,
.table-schedule td {
    vertical-align: middle !important;
    text-align: center;
    padding: 7px 3px !important;
    border: 1px solid #d9e2ec !important;
    box-sizing: border-box;
    white-space: normal !important;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 테이블 헤더 */
.table-schedule thead th.th-date {
    background-color: #1f3864 !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 8px !important;
    letter-spacing: 0.3px;
    border: 1px solid #1f3864 !important;
}
.table-schedule thead tr.tr-room-header th {
    background-color: #eaf0f8 !important;
    color: #1a365d !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 2px !important;
    border-bottom: 2px solid #b8cde3 !important;
}
.table-schedule thead tr.tr-room-header th.col-time {
    background-color: #e2ebf6 !important;
    font-size: 12.5px;
}
.tr-room-header .room-name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1a365d;
}
.tr-room-header .room-sub {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #4a5568;
    margin-top: 1px;
}

/* 시간 셀 */
.table-schedule tbody th.cell-time {
    background-color: #f1f5fa !important;
    color: #1e3a5f !important;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: -0.5px;
    white-space: nowrap;
    border-right: 2px solid #d0dbe7 !important;
    padding: 6px 1px !important;
}

/* 휴식 행 */
.table-schedule tbody tr.tr-break {
    height: 28px;
}
.table-schedule tbody tr.tr-break th,
.table-schedule tbody tr.tr-break td {
    padding: 4px 2px !important;
    font-size: 11px !important;
    line-height: 1.2;
}

/* 세션 공통 텍스트 */
.schedule .session-badge {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.3px;
    line-height: 1.25;
    white-space: normal !important;
}
.schedule .session-title {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal !important;
}

/* 세션 타입별 색상 */
.schedule .cell-oral {
    background-color: #edf5fd !important;
    border-color: #c5ddf7 !important;
}
.schedule .cell-oral .session-badge { color: #1555a6; }
.cell-oral .session-title { color: #1a365d; }

.schedule .cell-poster {
    background-color: #f5effa !important;
    border-color: #dfcff2 !important;
}
.schedule .cell-poster .session-badge { color: #5e2d91; }
.schedule .cell-poster .session-title { color: #371b58; }

.schedule .cell-special {
    background-color: #fff3ec !important;
    border-color: #fcd2bc !important;
}
.schedule .cell-special .session-badge { color: #c2410c; }
.schedule .cell-special .session-title { color: #7c2d12; }

.schedule .cell-tutorial {
    background-color: #e7f7f4 !important;
    border-color: #baeae3 !important;
}
.schedule .cell-tutorial .session-badge { color: #0f766e; }
.schedule .cell-tutorial .session-title { color: #115e59; }

.schedule .cell-invited {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}
.schedule .cell-invited .session-badge { color: #334155; }
.schedule .cell-invited .session-title { color: #1e293b; }

.schedule .cell-reg, .cell-meal {
    background-color: #eaf5e9 !important;
    border-color: #c3e6be !important;
    color: #1b5e20 !important;
    font-size: 13px;
    letter-spacing: -0.2px;
}

.schedule .cell-event {
    background-color: #fef9c3 !important;
    border-color: #fde047 !important;
    color: #78350f !important;
}
.schedule .cell-event .event-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #78350f;
    line-height: 1.3;
}
.schedule .cell-event .event-sub {
    display: block;
    font-size: 11px;
    font-weight: normal;
    color: #854d0e;
    margin-top: 2px;
    line-height: 1.25;
}

.schedule .cell-ceremony-time {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.schedule .cell-ceremony-time .ceremony-note {
    font-size: 11px;
    color: #94a3b8;
}

.schedule .cell-break {
    background-color: #fafafa !important;
    border-color: #e5e7eb !important;
    color: #64748b !important;
    font-size: 11px;
}

.schedule .cell-empty {
    background-color: #fcfcfc !important;
    border-color: #f1f5f9 !important;
}


/* ==================================================================================
    조직위원회
================================================================================== */
.article.organizations {

}
.article.organizations table tbody tr td:last-child {
    /*text-align: left;*/
}
.article.organizations table.table td ul {
    overflow: hidden;
    text-align: left;
}
.article.organizations table.table td ul li {
    float: left;
    width: 33.33333%;
    margin: 2px 0;
}
.article.organizations table.table td ul li:last-child {
    margin-right: 0;
}

/* ==================================================================================
    학술논문발표
================================================================================== */
.list-col {

}
.list-col.col2 > li {
    float: left;
    width: 50%;
    text-align: center;
}
.list-col.col5 > li {
    float: left;
    width: 20%;
    text-align: center;
}

/* ==================================================================================
    개폐회식 및 연회
================================================================================== */
.article.ceremony {

}
.article.ceremony table tbody tr td {
    text-align: left;
}

/* ==================================================================================
    map
================================================================================== */
.map-area {
    width: 100%;
    height: 400px;
    margin: 0 0 30px;
}
#marker-title {
    width: 200px;
    height: 40px;
}
#marker-title h1 {
    height:40px;
    line-height:40px;
    font-size: 15px;
}

/* ==================================================================================
    특별강연
================================================================================== */
.special .section .thm {
    float: left;
    width: 320px;
    padding-top: 5px;
}
.special .section .special-info {
    float: left;
    width: 520px;
    border-left: 1px solid lightgrey;
    padding-left: 40px;
}

/* ==================================================================================
    Media query
================================================================================== */

/* 미디어 쿼리 */
/* 데스크톱 (881px 이상): 가로 스크롤 없이 컨테이너에 100% 핏 */
@media (min-width: 881px) {
    .table-schedule {
        width: 100%;
        min-width: 0;
    }
    .schedule-table-responsive {
        overflow-x: hidden;
    }
    .schedule-scroll-guide {
        display: none !important;
    }
}

/* 반응형 (880px 이하 모바일/태블릿): 880px 이하로 너비가 줄어들지 않고 가로 스크롤 */
@media (max-width: 880px) {
    .table-schedule {
        width: 880px;
        min-width: 880px;
    }
    .schedule-table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .schedule-scroll-guide {
        display: block !important;
    }
    .schedule-legend {
        gap: 5px 8px;
        padding: 8px 10px;
    }
    .legend-item {
        font-size: 10.5px;
    }
    .schedule-nav-tabs > li > a {
        font-size: 12px;
        padding: 8px 4px;
    }
}

@media only screen
and (max-width: 768px) {

    /* 초대의 말씀 */
    .article.greetings .thm {
        float: none;
    }
    .article.greetings .txt-info {
        float: none;
        width: 100%;
        padding: 0;
    }
    .article.greetings .title {
        font-size: 19px;
        font-weight: bold;
    }
    .article.greetings .chairman {
        margin: 0 0 5px;
        text-align: right;
    }
    .article.greetings .chairman span {
        display: block;
        font-size: 15px;
    }
    .article.greetings .chairman b {
        display: block;
        margin-left: 10px;
        margin-bottom: 20px;
        font-size: 21px;
        font-weight: bold;
    }

    /* ==================================================================================
        조직위원회
    ================================================================================== */
    .article.organizations table.table td ul {
        overflow: hidden;
        text-align: left;
    }
    .article.organizations table.table td ul li {
        float: left;
        width: 100%;
        margin: 2px 0;
    }
    .article.organizations table.table td ul li:last-child {
        margin-right: 0;
    }

    /* ==================================================================================
        학술논문발표
    ================================================================================== */
    .list-col {

    }
    .list-col.col2 > li {
        float: none;
        width: auto;
    }
    .list-col.col5 > li {
        float: none;
        width: auto;
    }

    .root_daum_roughmap {
        width: 100% !important;
    }

}
