* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif; color: #333; background: #fff; font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 상단 유틸리티 바 */
.util-bar { background: #1a3f6f; color: #c8d8ee; font-size: 12px; padding: 6px 0; }
.util-inner { display: flex; justify-content: space-between; align-items: center; }
.util-left { display: flex; gap: 18px; }
.util-left a { color: #c8d8ee; }
.util-left a:hover { color: #fff; }
.util-right { display: flex; gap: 12px; align-items: center; }
.util-right a { color: #c8d8ee; }
.util-right a:hover { color: #fff; }
.util-divider { color: #4a6a9a; }
.live-time { color: #a0b8d8; }

/* 헤더 */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.logo-img img { width: 100%; height: 100%; object-fit: cover; }
.logo-text .name { font-size: 18px; font-weight: 700; color: #1a3f6f; }
.logo-text .sub { font-size: 11px; color: #888; margin-top: 1px; }
.header-right { display: flex; align-items: center; gap: 14px; }
.search-box { display: flex; align-items: center; background: #f4f6fa; border-radius: 20px; padding: 7px 14px; gap: 8px; border: 1px solid #e8eaf0; }
.search-box input { border: none; background: none; outline: none; font-size: 13px; width: 180px; font-family: inherit; color: #555; }
.search-box button { background: none; border: none; cursor: pointer; color: #888; font-size: 15px; }
.btn-login { background: #1a3f6f; color: #fff; border: none; border-radius: 6px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-login:hover { background: #2c5f9a; }
.btn-join { display: inline-flex; align-items: center; background: #2f9e6f; color: #fff; border: none; border-radius: 6px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-join:hover { background: #268a60; }

/* 네비게이션 */
.nav-bar { background: #1a3f6f; }
.nav-inner { display: flex; }
.nav-item { position: relative; }
.nav-link { display: block; color: #d8e6f8; font-size: 14px; font-weight: 500; padding: 14px 24px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.nav-link:hover, .nav-item.active .nav-link { background: #2c5f9a; color: #fff; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 160px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-top: 2px solid #1a3f6f; z-index: 200; }
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 11px 18px; font-size: 13px; color: #444; border-bottom: 1px solid #f0f0f0; }
.nav-dropdown a:hover { background: #f0f5ff; color: #1a3f6f; }
.nav-dropdown a:last-child { border-bottom: none; }

/* 접속자 통계 바 */
.stats-bar { background: #f4f7fc; border-bottom: 1px solid #e4e8f0; padding: 8px 0; }
.stats-inner { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 7px; padding: 0 18px; border-right: 1px solid #d8e0f0; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-label { font-size: 11px; color: #888; white-space: nowrap; }
.stat-value { font-size: 15px; font-weight: 700; color: #1a3f6f; }
.stat-icon { font-size: 14px; }
.stat-change { font-size: 10px; color: #2d7d55; background: #dff0e8; padding: 1px 6px; border-radius: 8px; font-weight: 600; }
.stat-date { margin-left: auto; font-size: 12px; color: #aaa; }

/* 메인 배너 슬라이더 */
.banner-slider { position: relative; overflow: hidden; background: #1a3f6f; height: 360px; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.7s; }
.slide.active { opacity: 1; }
.slide-bg { position: absolute; inset: 0; z-index: 0; }
.slide-1 .slide-bg { background: linear-gradient(135deg, #0d2a50 0%, #1a3f6f 50%, #2c6fad 100%); }
.slide-2 .slide-bg { background: linear-gradient(135deg, #0d3d2a 0%, #1a6f4f 50%, #2cad7f 100%); }
.slide-3 .slide-bg { background: linear-gradient(135deg, #3d0d2a 0%, #6f1a4f 50%, #ad2c7f 100%); }
.slide-content { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 20px; color: #fff; }
.slide-badge { display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: #fff; font-size: 12px; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }
.slide-title { font-size: 32px; font-weight: 700; line-height: 1.35; margin-bottom: 14px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.slide-desc { font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.97); max-width: 600px; line-height: 1.65; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.slide-btn { display: inline-block; margin-top: 20px; background: #fff; color: #1a3f6f; font-size: 13px; font-weight: 700; padding: 10px 24px; border-radius: 24px; }
.slide-btn:hover { background: #e8f0ff; }
.slider-nav { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; border: none; transition: background 0.3s; }
.slider-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; z-index: 10; transition: background 0.2s; }
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* 본문 */
.body-section { padding: 36px 0 48px; background: #f7f9fc; }
.main-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }

/* 섹션 카드 */
.section-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); margin-bottom: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #1a3f6f; }
.section-head-title { font-size: 16px; font-weight: 700; color: #1a3f6f; }
.section-head-more { font-size: 12px; color: #888; }
.section-head-more:hover { color: #1a3f6f; }

/* 공지사항 */
.notice-list { list-style: none; }
.notice-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.notice-list li:last-child { border-bottom: none; }
.notice-list li:hover .ntext { color: #1a3f6f; }
.ntext { flex: 1; font-size: 13px; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.badge-신규 { background: #fde8e8; color: #c0392b; }
.badge-공지 { background: #e8eef8; color: #1a3f6f; }
.badge-중요 { background: #fdf0dc; color: #9a6a1a; }
.badge-회원 { background: #e6f4ea; color: #1f7a3d; }
.ndate { font-size: 11px; color: #bbb; white-space: nowrap; }

/* 뉴스 탭 */
.tab-bar { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid #e8e8e8; }
.tab { padding: 10px 18px; font-size: 13px; font-weight: 500; color: #888; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.active { color: #1a3f6f; border-bottom-color: #1a3f6f; font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 뉴스 카드 그리드 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news-card { border: 1px solid #eef0f5; border-radius: 10px; padding: 16px; background: #fafbfd; cursor: pointer; transition: box-shadow 0.2s, transform 0.2s; }
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.10); transform: translateY(-2px); }
.news-card .nc-label { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-bottom: 8px; background: #deeaf7; color: #1a3f6f; }
.news-card .nc-label.green { background: #dff0e8; color: #2d7d55; }
.news-card .nc-label.amber { background: #fdf0dc; color: #9a6a1a; }
.news-card .nc-title { font-size: 13px; font-weight: 600; line-height: 1.5; color: #333; }
.news-card .nc-date { font-size: 11px; color: #bbb; margin-top: 8px; }

/* 사이드바 */
.side-section { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); margin-bottom: 16px; overflow: hidden; }
.side-head { background: #1a3f6f; color: #fff; font-size: 14px; font-weight: 700; padding: 14px 18px; display: flex; justify-content: space-between; }
.side-head a { color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 400; }
.side-head a:hover { color: #fff; }
.side-body { padding: 12px 18px; }
.side-list { list-style: none; }
.side-list li { padding: 9px 0; border-bottom: 1px solid #f3f3f3; font-size: 13px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.side-list li:last-child { border-bottom: none; }
.side-list li:hover .side-title { color: #1a3f6f; }
.side-title { flex: 1; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-date { font-size: 11px; color: #ccc; }

/* 일정 */
.cal-month { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 8px; font-size: 14px; font-weight: 700; color: #1a3f6f; }
.cal-month button { background: none; border: none; cursor: pointer; color: #888; font-size: 16px; }
.event-list { padding: 0 18px 14px; }
.event-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f3f3f3; }
.event-item:last-child { border-bottom: none; }
.event-circle { width: 44px; height: 44px; border-radius: 50%; background: #1a3f6f; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.event-circle .em { font-size: 9px; }
.event-circle .ed { font-size: 17px; font-weight: 700; line-height: 1.1; }
.event-title { font-size: 13px; font-weight: 600; color: #333; }
.event-loc { font-size: 11px; color: #aaa; margin-top: 2px; }

/* 빠른 링크 */
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px 18px; }
.quick-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 10px; background: #f4f7fc; font-size: 12px; color: #444; cursor: pointer; transition: background 0.2s; border: 1px solid #e8eaf0; }
.quick-btn:hover { background: #deeaf7; color: #1a3f6f; }
.quick-btn .qi { font-size: 22px; }

/* 배너 광고 */
.side-banner { background: linear-gradient(135deg, #1a3f6f, #2c6fad); border-radius: 12px; padding: 20px; color: #fff; text-align: center; margin-bottom: 16px; }
.side-banner .sb-icon { font-size: 32px; margin-bottom: 8px; }
.side-banner .sb-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.side-banner .sb-desc { font-size: 12px; opacity: 0.85; margin-bottom: 12px; }
.side-banner .sb-btn { display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.5); color: #fff; font-size: 12px; padding: 7px 18px; border-radius: 20px; }
.side-banner .sb-btn:hover { background: rgba(255,255,255,0.35); }

/* 갤러리 */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { aspect-ratio: 1; background: #e8eef8; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 28px; cursor: pointer; transition: transform 0.2s; overflow: hidden; }
.gallery-item:hover { transform: scale(1.04); }

/* 관련기관 */
.partner-section { background: #f0f4fa; border-top: 1px solid #dde4ef; padding: 24px 0; }
.partner-title { font-size: 14px; font-weight: 700; color: #1a3f6f; margin-bottom: 14px; }
.partner-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.partner-btn { background: #fff; border: 1px solid #dde4ef; border-radius: 8px; padding: 12px 6px; text-align: center; font-size: 11px; color: #555; cursor: pointer; transition: all 0.2s; }
.partner-btn:hover { border-color: #1a3f6f; color: #1a3f6f; background: #f0f5ff; }
.partner-btn .pi { font-size: 18px; display: block; margin-bottom: 4px; }

/* 푸터 */
footer { background: #1a2d4a; color: #8aa0c0; padding: 36px 0 20px; }
.footer-top { display: grid; grid-template-columns: 240px 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-logo { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-logo-img { width: 32px; height: 32px; border-radius: 7px; object-fit: cover; background: #fff; flex: none; }
.footer-info { font-size: 12px; line-height: 2; }
.footer-info strong { color: #c8d8ee; font-size: 13px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: #c8d8ee; margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { padding: 5px 0; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 12px; line-height: 2; }
.footer-contact .tel { font-size: 18px; font-weight: 700; color: #fff; }
.footer-bottom { border-top: 1px solid #2a3f5a; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 12px; color: #6a88aa; }
.footer-bottom-links a:hover { color: #fff; }
.copyright { font-size: 12px; color: #4a6a8a; }

/* 반응형 */
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-dropdown { position: static; box-shadow: none; border-top: none; background: #12305a; }
  .nav-dropdown a { color: #b0c8e8; padding: 9px 28px; border-bottom-color: #1e4a7a; }
  .nav-dropdown a:hover { background: #1a4a80; color: #fff; }
}
@media (max-width: 600px) {
  .util-left { display: none; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .logo-text .name { font-size: 15px; }
  .search-box { display: none; }
  .nav-inner { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .nav-link { padding: 12px 14px; font-size: 13px; }
  .stats-inner { flex-wrap: wrap; gap: 4px; }
  .stat-item { padding: 4px 10px; }
  .stat-value { font-size: 13px; }
  .banner-slider { height: 290px; }
  .slide-title { font-size: 18px; }
  .slide-desc { font-size: 13px; display: block; max-width: 100%; line-height: 1.5; }
  .slide-badge { font-size: 11px; }
  .slide-btn { font-size: 12px; padding: 8px 16px; margin-top: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .side-banner { padding: 16px; }
}

/* ── AI 상담 채팅 위젯 ─────────────────────────── */
#ai-fab { position: fixed; right: 22px; bottom: 22px; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, #1a3f6f, #2c6fad); color: #fff; border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(26,63,111,0.45); font-size: 27px; z-index: 9000; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; animation: fab-pulse 2.2s ease-in-out infinite; }
#ai-fab:hover { animation: fab-wiggle 0.55s ease-in-out infinite; box-shadow: 0 10px 28px rgba(26,63,111,0.6); }
#ai-fab:active { animation: none; transform: scale(0.92); }
@keyframes fab-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes fab-wiggle { 0%, 100% { transform: scale(1.13) rotate(0deg); } 20% { transform: scale(1.13) rotate(-11deg); } 60% { transform: scale(1.13) rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { #ai-fab, #ai-fab:hover { animation: none; } #ai-fab:hover { transform: scale(1.08); } }
#ai-fab .fab-badge { position: absolute; top: -2px; right: -4px; background: #e74c3c; color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
#ai-chat { position: fixed; right: 22px; bottom: 96px; width: 372px; max-width: calc(100vw - 24px); height: 544px; max-height: calc(100vh - 130px); background: #fff; border-radius: 16px; box-shadow: 0 14px 44px rgba(0,0,0,0.26); z-index: 9001; display: none; flex-direction: column; overflow: hidden; }
#ai-chat.open { display: flex; }
.aic-head { background: linear-gradient(135deg, #1a3f6f, #2c6fad); color: #fff; padding: 13px 15px; display: flex; align-items: center; gap: 10px; }
.aic-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.aic-tt { flex: 1; }
.aic-title { font-size: 15px; font-weight: 700; }
.aic-sub { font-size: 11px; opacity: 0.85; margin-top: 1px; }
.aic-close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: 0.85; line-height: 1; padding: 0 4px; }
.aic-close:hover { opacity: 1; }
.aic-body { flex: 1; overflow-y: auto; padding: 16px; background: #f4f7fc; display: flex; flex-direction: column; gap: 10px; }
.aic-msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.aic-msg.bot { align-self: flex-start; background: #fff; color: #333; border: 1px solid #e6ebf3; border-bottom-left-radius: 4px; }
.aic-msg.user { align-self: flex-end; background: #1a3f6f; color: #fff; border-bottom-right-radius: 4px; }
.aic-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.aic-chip { background: #fff; border: 1px solid #c8d8ee; color: #1a3f6f; font-size: 12px; padding: 6px 12px; border-radius: 16px; cursor: pointer; font-family: inherit; transition: background 0.15s; }
.aic-chip:hover { background: #e8f0fb; }
.aic-typing { align-self: flex-start; background: #fff; border: 1px solid #e6ebf3; border-radius: 14px; border-bottom-left-radius: 4px; padding: 12px 14px; display: none; gap: 4px; }
.aic-typing.show { display: flex; }
.aic-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9bb0cc; animation: aic-bounce 1.2s infinite; }
.aic-typing span:nth-child(2) { animation-delay: 0.2s; }
.aic-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aic-bounce { 0%,60%,100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.aic-foot { border-top: 1px solid #e8eaf0; padding: 10px; display: flex; gap: 8px; background: #fff; }
.aic-foot input { flex: 1; border: 1px solid #d6deea; border-radius: 22px; padding: 10px 15px; font-size: 13.5px; font-family: inherit; outline: none; }
.aic-foot input:focus { border-color: #2c6fad; }
.aic-foot button { background: #1a3f6f; color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; font-size: 16px; flex-shrink: 0; }
.aic-foot button:hover { background: #2c5f9a; }
.aic-foot button:disabled { background: #b8c4d6; cursor: default; }
.aic-disclaimer { font-size: 10px; color: #a8b2c2; text-align: center; padding: 0 10px 9px; background: #fff; }
@media (max-width: 600px) {
  #ai-chat { right: 12px; left: 12px; width: auto; bottom: 84px; height: 72vh; }
  #ai-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; font-size: 24px; }
}

/* ===================================================================
   고급 마감 & 클릭 인터랙션 (겉모습 전용 — HTML/JS 기능 변경 없음)
   =================================================================== */
:root { --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1); --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1); }

/* 클릭 가능한 요소 공통: 부드러운 전환 */
.btn-login, .search-box button, .slide-btn, .sb-btn, .quick-btn, .partner-btn,
.news-card, .gallery-item, .aic-chip, .section-head-more, .tab, .slider-arrow,
.slider-dot, .nav-link, .nav-dropdown a, .notice-list li, .side-list li,
.event-item, .footer-links a, .footer-bottom-links a, .util-left a, .util-right a,
.side-head a, .logo {
  transition: transform 0.24s var(--ease-bounce), box-shadow 0.24s var(--ease-smooth),
              background 0.22s var(--ease-smooth), color 0.2s ease, border-color 0.2s ease;
}
.footer-links a { display: inline-block; }

/* 버튼류: 올리면 떠오르고, 누르면 쏙 들어감 */
.btn-login:hover, .slide-btn:hover, .sb-btn:hover, .aic-chip:hover {
  transform: translateY(-2px); box-shadow: 0 7px 18px rgba(26,63,111,0.22);
}
.btn-login:active, .slide-btn:active, .sb-btn:active, .aic-chip:active,
.quick-btn:active, .partner-btn:active, .news-card:active, .gallery-item:active { transform: scale(0.96); }
.search-box button:hover { transform: scale(1.2); color: #1a3f6f; }

/* 카드/타일: 떠오름 + 그림자 */
.quick-btn:hover, .partner-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(26,63,111,0.15); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,63,111,0.16); }

/* 갤러리: 타일 살짝 떠오르고 안쪽 사진은 줌 */
.gallery-item:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 26px rgba(26,63,111,0.20); }
.gallery-item img { transition: transform 0.5s var(--ease-smooth); }
.gallery-item:hover img { transform: scale(1.1); }

/* 목록 항목: 올리면 살짝 밀림 */
.notice-list li:hover, .side-list li:hover { transform: translateX(4px); }
.event-item:hover { transform: translateX(3px); }

/* 네비/드롭다운 */
.nav-link:hover { transform: translateY(-1px); }
.nav-dropdown a:hover { transform: translateX(5px); }

/* 더보기·슬라이더·탭 */
.section-head-more:hover { transform: translateX(3px); }
.slider-arrow:hover { transform: translateY(-50%) scale(1.14); }
.slider-dot:hover { transform: scale(1.35); }

/* 헤더 로고 살짝 반응 */
.logo:hover { transform: scale(1.03); }

/* 푸터 링크 슬라이드 */
.footer-links a:hover, .footer-bottom-links a:hover { transform: translateX(4px); }

/* 고급 그림자·라운드 마감 (정적) */
.header { box-shadow: 0 3px 18px rgba(26,63,111,0.10); }
.section-card, .side-section { border-radius: 14px; box-shadow: 0 6px 26px rgba(26,63,111,0.07); transition: box-shadow 0.3s var(--ease-smooth); }
.side-banner { box-shadow: 0 8px 24px rgba(26,63,111,0.22); }
.btn-login { box-shadow: 0 2px 8px rgba(26,63,111,0.20); }

/* 모션 최소화 선호 사용자에겐 움직임 비활성 (접근성) */
@media (prefers-reduced-motion: reduce) {
  .btn-login, .search-box button, .slide-btn, .sb-btn, .quick-btn, .partner-btn,
  .news-card, .gallery-item, .gallery-item img, .aic-chip, .section-head-more, .tab,
  .slider-arrow, .slider-dot, .nav-link, .nav-dropdown a, .notice-list li, .side-list li,
  .event-item, .footer-links a, .footer-bottom-links a, .logo { transition: none !important; }
  .btn-login:hover, .slide-btn:hover, .sb-btn:hover, .aic-chip:hover, .quick-btn:hover,
  .partner-btn:hover, .news-card:hover, .gallery-item:hover, .gallery-item:hover img,
  .nav-link:hover, .nav-dropdown a:hover, .notice-list li:hover, .side-list li:hover,
  .event-item:hover, .footer-links a:hover, .footer-bottom-links a:hover, .logo:hover,
  .search-box button:hover, .slider-dot:hover, .section-head-more:hover { transform: none !important; }
  .slider-arrow:hover { transform: translateY(-50%) !important; }
}
