/* 학회 홈페이지 솔루션 (sub/solution_website.php) 전용: KAID 레퍼런스 화면 예시.
   default.css 가 h1~h6 를 Noto Sans KR 로 덮으므로 제목은 inherit 로 끊는다. */
.ws_field h3, .ws_admin_shots h3, .ws_ref_shots h3 { font-family: inherit; }

/* 확대 가능한 화면 이미지 */
.ws_shot { margin: 0; min-width: 0; }
.ws_zoom {
    display: block; width: 100%; padding: 0; border: 1px solid var(--rd-border, #EAEEF4); border-radius: 14px; overflow: hidden;
    background: #fff; cursor: zoom-in; box-shadow: 0 18px 44px -26px rgba(11,27,59,.35);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ws_zoom:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -26px rgba(11,27,59,.45); }
.ws_zoom:focus-visible { outline: 3px solid var(--rd-blue, #1A4FD6); outline-offset: 3px; }
.ws_zoom img { display: block; width: 100%; height: auto; }
.ws_shot figcaption { margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--rd-muted, #5B6B82); word-break: keep-all; }
.ws_shot figcaption b { display: block; margin-bottom: 2px; font-size: 15.5px; font-weight: 700; color: var(--rd-navy, #0B1B3B); }

/* 레퍼런스 공개 페이지 */
.ws_ref_shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.ws_ref_shots .ws_zoom { aspect-ratio: 14 / 9; }
.ws_ref_shots .ws_zoom img { height: 100%; object-fit: cover; object-position: top; }
/* 두 번째 레퍼런스(스트라우만 캠퍼스): 위 KAID 와 구분선, PC 에서는 사진을 오른쪽에 */
.ws_ref2 { border-top: 1px solid var(--rd-border, #EAEEF4); }
#ref-kaid, #ref-straumann { scroll-margin-top: 80px; }
.showcase_wrap.is-rev { flex-direction: row-reverse; }
@media (max-width: 1024px) { .showcase_wrap.is-rev { flex-direction: column; } }

/* 행사 당일 현장 */
.ws_field { padding: 104px 0; background: var(--rd-surface, #F6F8FB); }
.ws_step { padding: 56px 0; border-top: 1px solid #E1E7F0; }
.section_title_center + .ws_step { border-top: 0; padding-top: 0; }
.ws_step_no { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--rd-blue, #1A4FD6); }
.ws_step h3 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; color: var(--rd-navy, #0B1B3B); word-break: keep-all; }
.ws_step_lead { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--rd-text, #3A4759); word-break: keep-all; }
.ws_points { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.ws_points li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.6; color: var(--rd-text, #3A4759); word-break: keep-all; }
.ws_points li i { position: absolute; left: 0; top: 4px; font-size: 16px; color: var(--rd-blue, #1A4FD6); }

.ws_step_split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ws_step_split .ws_points { margin-top: 24px; }
.ws_phones { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 24px; }
.ws_phones .ws_zoom { border-radius: 26px; border: 6px solid var(--rd-navy, #0B1B3B); }

.ws_step_head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; margin-bottom: 36px; align-items: start; }
.ws_shots { display: grid; gap: 24px; }
.ws_shots.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws_shots.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ws_extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 8px; padding-top: 56px; border-top: 1px solid #E1E7F0; }
.ws_extra { padding: 28px; background: #fff; border: 1px solid var(--rd-border, #EAEEF4); border-radius: 16px; }
.ws_extra i { display: block; margin-bottom: 14px; font-size: 22px; color: var(--rd-blue, #1A4FD6); }
.ws_extra h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--rd-navy, #0B1B3B); }
.ws_extra p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--rd-muted, #5B6B82); word-break: keep-all; }
.ws_note { margin: 28px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--rd-muted, #5B6B82); }

/* 관리자 */
.ws_admin_grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.ws_admin_grid .ws_zoom, .ws_admin_shots .ws_zoom { border-color: rgba(255,255,255,.14); box-shadow: 0 24px 56px -28px rgba(0,0,0,.7); }
.admin_section .ws_shot figcaption { color: #AEBED8; }
.admin_section .ws_shot figcaption b { color: #fff; }
.ws_admin_shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.ws_admin_shots .ws_zoom { aspect-ratio: 33 / 19; }
.ws_admin_shots .ws_zoom img { height: 100%; object-fit: cover; object-position: top left; }
.ws_admin_grid .admin_info h2, .ws_admin_grid .admin_info p { word-break: keep-all; }
.admin_section .ws_shot { text-align: left; }
.admin_section .ws_note { color: #9FB0CC; }

/* 크게 보기 */
.ws_lightbox { max-width: min(94vw, 1500px); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; overflow: visible; background: transparent; }
.ws_lightbox::backdrop { background: rgba(8,19,40,.86); }
.ws_lightbox img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; margin: 0 auto; border-radius: 12px; }
.ws_lightbox_close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--rd-navy, #0B1B3B); font-size: 20px; cursor: pointer; }
.ws_lightbox_close:focus-visible { outline: 3px solid var(--rd-gold, #D8A82A); outline-offset: 2px; }

@media (max-width: 1024px) {
    .ws_field { padding: 72px 0; }
    .ws_step_split, .ws_step_head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .ws_step_split { gap: 36px; }
    .ws_admin_grid { grid-template-columns: minmax(0, 1fr); }
    .ws_extras, .ws_admin_shots { grid-template-columns: minmax(0, 1fr); }
    .ws_admin_shots { max-width: 760px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .ws_ref_shots, .ws_shots.c2, .ws_shots.c3 { grid-template-columns: minmax(0, 1fr); }
    .ws_ref_shots { margin-top: 36px; }
    .ws_step { padding: 40px 0; }
    .ws_phones { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws_phones .ws_zoom { border-width: 4px; border-radius: 20px; }
    .ws_extra { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .ws_zoom { transition: none; }
    .ws_zoom:hover { transform: none; }
}
