@charset "UTF-8";
/* ==========================================================================
   전남광주통합특별시(전남)수영연맹 — 사이트 스타일
   ========================================================================== */
:root {
    --navy: #0a2753;
    --brand-navy: #003888;   /* 로고 엠블럼 남색 */
    --brand-blue: #0088c8;   /* 로고 엠블럼 파랑 — "통합특별시" */
    --brand-aqua: #70c8e8;   /* 로고 엠블럼 하늘색 */
    --blue: #0b5cad;
    --blue-600: #0a4f96;
    --aqua: #1fb5d6;
    --aqua-50: #e9f7fb;
    --ink: #1c2430;
    --ink-2: #4a5566;
    --ink-3: #7b8595;
    --line: #dfe4ec;
    --line-2: #eef1f5;
    --bg-soft: #f5f8fb;
    --danger: #d64545;
    --radius: 10px;
    --wrap: 1200px;
    --header-h: 92px;
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.35; }
address { font-style: normal; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.btn-line { background: transparent; }
.btn-danger { color: var(--danger); border-color: #f0c4c4; }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
form.inline { display: inline; }

/* ---------- 헤더 ---------- */
.site-header { position: relative; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.is-main .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: rgba(255,255,255,.2); }
.topbar { font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.is-main .topbar { color: rgba(255,255,255,.85); border-bottom-color: rgba(255,255,255,.15); }
.topbar .wrap { display: flex; justify-content: flex-end; }
.topbar-links { display: flex; list-style: none; gap: 18px; height: 34px; align-items: center; }
.topbar-links a:hover { color: var(--aqua); }
.topbar-links .topbar-game { font-weight: 700; }
.header-main .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo a { display: flex; align-items: center; gap: 12px; }
.logo a:hover { color: inherit; }
.logo img { width: 56px; height: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; gap: 3px; }
.logo-text strong { font-size: 19.5px; font-weight: 800; letter-spacing: -.5px; color: var(--brand-navy); }
.logo-text strong em, .footer-brand-text strong em { font-style: normal; color: var(--brand-blue); }
.logo-text small { font-size: 12px; font-weight: 500; color: #5b6573; letter-spacing: 0; }
.is-main .logo-text strong, .is-main .logo-text small { color: #fff; }
.is-main .logo-text strong em { color: var(--brand-aqua); }
.is-main .logo img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.mobile-nav-head strong em { font-style: normal; color: var(--brand-aqua); }
.is-main .logo-text small { opacity: .85; }

.gnb > ul { display: flex; list-style: none; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a { display: block; padding: 0 26px; line-height: var(--header-h); font-size: 18px; font-weight: 700; color: var(--ink); }
.is-main .gnb > ul > li > a { color: #fff; }
.gnb > ul > li.active > a, .gnb > ul > li > a:hover { color: var(--blue); }
.is-main .gnb > ul > li > a:hover { color: var(--aqua); }
.gnb > ul > li > a::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; background: var(--aqua); transform: scaleX(0); transition: transform .2s; }
.gnb > ul > li:hover > a::after, .gnb > ul > li:focus-within > a::after { transform: scaleX(1); }
.gnb-sub { position: absolute; left: 50%; top: 100%; min-width: 170px; transform: translate(-50%, 8px); list-style: none; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 16px 40px rgba(10,39,83,.16); padding: 10px 0; opacity: 0; visibility: hidden; transition: .18s; }
.gnb > ul > li:hover .gnb-sub, .gnb > ul > li:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 9px 22px; font-size: 15px; color: var(--ink-2); white-space: nowrap; text-align: center; }
.gnb-sub a:hover { background: var(--aqua-50); color: var(--blue); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; position: relative; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }
.is-main .menu-toggle span:not(.sr-only) { background: #fff; }

.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 300; background: #fff; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.2); animation: slideIn .22s ease; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--navy); color: #fff; }
.mobile-close { width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.mobile-nav > ul { list-style: none; }
.mobile-nav .m-group { width: 100%; text-align: left; padding: 16px 20px; border: 0; border-bottom: 1px solid var(--line-2); background: #fff; font-size: 17px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; }
.mobile-nav .m-game { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line-2); font-size: 17px; font-weight: 700; color: var(--blue); background: var(--aqua-50); }
.mobile-nav .m-group::after { content: "+"; color: var(--ink-3); }
.mobile-nav li.open .m-group::after { content: "−"; }
.mobile-nav li ul { display: none; list-style: none; background: var(--bg-soft); padding: 6px 0; }
.mobile-nav li.open ul { display: block; }
.mobile-nav li ul a { display: block; padding: 10px 32px; font-size: 15px; color: var(--ink-2); }
.mobile-nav li ul a.current { color: var(--blue); font-weight: 700; }
.nav-dim { position: fixed; inset: 0; z-index: 250; background: rgba(0,0,0,.45); }

/* ---------- 메인: 비주얼 ---------- */
.hero { position: relative; height: min(88vh, 760px); min-height: 520px; background: var(--navy); overflow: hidden; color: #fff; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 5s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,20,48,.62) 0%, rgba(4,20,48,.25) 45%, rgba(4,20,48,0) 70%), linear-gradient(180deg, rgba(4,20,48,.55) 0%, rgba(4,20,48,.15) 40%, rgba(4,20,48,.7) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 2; }
.hero-en { font-size: 15px; letter-spacing: 3px; color: #aeeefb; font-weight: 600; margin: 0; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero h2 { font-size: clamp(22.5px, 3.75vw, 43.5px); font-weight: 800; letter-spacing: -1.1px; line-height: 1.15; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero h2 em { font-style: normal; color: var(--brand-aqua); }  /* 상단 로고와 같이 "통합특별시" 강조 */
.hero-desc { font-size: clamp(16px, 2vw, 21px); margin: 14px 0 0; opacity: .92; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; }
.hero-dots button.on { width: 56px; background: #fff; }
.hero-credits { position: absolute; right: 20px; bottom: 16px; z-index: 3; max-width: calc(100% - 40px); text-align: right; }
.hero-credit { display: none; margin: 0; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.7); text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.hero-credit.active { display: block; }
.hero-credit a { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 2px; }
.hero-credit a:hover { color: #fff; }
.hero-toggle {width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: #fff; font-size: 10px; cursor: pointer; }

/* ---------- 메인: 섹션 ---------- */
.main-section { padding: 70px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.sec-title { font-size: 28px; font-weight: 800; letter-spacing: -.8px; color: var(--navy); }
.more-link { font-size: 14px; color: var(--ink-3); }
.main-boards { padding-top: 60px; }
.board-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.board-card { border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 18px; background: #fff; transition: box-shadow .2s; }
.board-card:hover { box-shadow: 0 14px 34px rgba(10,39,83,.08); }
.board-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.board-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.board-card .more { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; color: var(--ink-3); }
.board-card .more:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.latest-list { list-style: none; }
.latest-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.latest-list li:last-child a { border-bottom: 0; }
.latest-list .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.latest-list .d { flex-shrink: 0; font-size: 13px; color: var(--ink-3); }
.latest-empty { color: var(--ink-3); font-size: 15px; padding: 24px 0; text-align: center; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 12px; font-style: normal; font-weight: 600; vertical-align: 1px; margin-right: 4px; }
.tag-hidden { background: #7b8595; }  /* 감춘 글 표시 (관리자에게만 보임) */
.board-table tr.is-hidden td, .gallery-board li.is-hidden { opacity: .6; }
.new { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #ff5a3c; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; vertical-align: 2px; }

.main-quick { background: linear-gradient(135deg, var(--navy), #0d4a8f); color: #fff; padding: 56px 0; }
.main-quick .sec-title { color: #fff; margin-bottom: 26px; text-align: center; }
.quick-links { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.quick-links a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 10px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 16px; font-weight: 600; transition: .2s; }
.quick-links a:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.quick-links .qi { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,181,214,.2); color: var(--aqua); }
.quick-links a:hover .qi { background: var(--aqua-50); color: var(--blue); }

.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gallery-grid a { display: block; }
.gallery-grid .thumb { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='40' height='40' fill='none' stroke='%23b8c2d0' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E") center no-repeat; }
.gallery-grid .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid a:hover .thumb img { transform: scale(1.06); }
.gallery-grid .cap { display: block; padding: 12px 2px 0; }
.gallery-grid .cap strong { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-grid .cap small { color: var(--ink-3); font-size: 13px; }
.gallery-grid a:hover .cap strong { color: var(--blue); }

/* ---------- 레이어 팝업 ---------- */
.layer-popup { position: absolute; z-index: 500; max-width: calc(100vw - 20px); background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.layer-popup-body { max-height: 70vh; overflow: auto; }
.layer-popup-body img { display: block; width: 100%; }
.layer-popup-body > p { margin: 0; }
.layer-popup-foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #1b2330; color: #fff; font-size: 13px; }
.layer-popup-foot label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.popup-close { border: 0; background: none; color: #fff; cursor: pointer; font-size: 13px; }

/* ---------- 서브 ---------- */
.sub-visual { height: 240px; background-size: cover; background-position: center; position: relative; color: #fff; display: flex; align-items: center; }
.sub-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,28,64,.82) 0%, rgba(6,28,64,.5) 55%, rgba(6,28,64,.42) 100%); }
.sub-visual .wrap { position: relative; width: 100%; }
.sub-visual-credit { position: absolute; right: 16px; bottom: 10px; z-index: 2; margin: 0; max-width: calc(100% - 32px); text-align: right; font-size: 11px; line-height: 1.4; color: rgba(255,255,255,.72); text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.sub-visual-credit a { color: rgba(255,255,255,.92); text-decoration: underline; text-underline-offset: 2px; }
.sub-visual-credit a:hover { color: #fff; }
.sub-visual-en { margin: 0 0 6px; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: #aeeefb; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.sub-visual-title { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.snb { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.snb .wrap { display: flex; align-items: stretch; }
.snb-home { display: grid; place-items: center; width: 56px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--ink-3); }
.snb-tabs { display: flex; list-style: none; overflow-x: auto; scrollbar-width: none; }
.snb-tabs::-webkit-scrollbar { display: none; }
.snb-tabs a { display: block; padding: 0 26px; line-height: 58px; font-size: 16px; color: var(--ink-2); white-space: nowrap; border-right: 1px solid var(--line-2); position: relative; }
.snb-tabs a.current { color: var(--blue); font-weight: 700; }
.snb-tabs a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); }

.sub-content { padding: 56px 0 100px; min-height: 50vh; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 22px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.page-title { font-size: 34px; font-weight: 800; letter-spacing: -1px; color: var(--navy); }
.breadcrumb { margin: 0; font-size: 13px; color: var(--ink-3); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb strong { color: var(--ink-2); font-weight: 600; }
.admin-bar { display: flex; justify-content: flex-end; gap: 8px; margin: -20px 0 24px; }

.flash { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; }
.flash p { margin: 2px 0; }
.flash-success { background: #e8f6ee; color: #1d6b40; border: 1px solid #bfe5cf; }
.flash-error { background: #fdeeee; color: #a42f2f; border: 1px solid #f3c7c7; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-2); }
.empty-icon { font-size: 64px; font-weight: 800; color: var(--line); margin: 0; }

/* ---------- 본문 콘텐츠 (에디터/이관 콘텐츠 공통) ---------- */
.content-body { font-size: 16px; line-height: 1.8; color: var(--ink); }
.content-body p { margin: 0 0 .6em; }
.content-body img { max-width: 100% !important; height: auto !important; }
.content-body table { border-collapse: collapse; max-width: 100%; }
/* 편집기(Summernote)로 넣은 표 — 편집 화면과 같게 (너비는 편집기에서 조절한 값이 있으면 그 값) */
.content-body table.table { width: 100%; margin: 8px 0 16px; }
.content-body table.table-bordered th, .content-body table.table-bordered td { border: 1px solid #d5dbe3; padding: 6px 8px; vertical-align: top; }
.content-body table.table-bordered th { background: var(--bg-soft); }
.content-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.content-body iframe { max-width: 100%; }
.content-body .tbl_st, .content-body table.tbl_st { width: 100%; border-top: 2px solid var(--navy); margin: 10px 0 30px; }
.content-body .tbl_st th, .content-body .tbl_st td { border: 1px solid var(--line); padding: 12px 10px; text-align: center; vertical-align: middle; }
.content-body .tbl_st th { background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.content-body .tbl_st p { margin: 0; }
.tit1, .content-body .tit1 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 48px 0 18px; padding-left: 14px; border-left: 5px solid var(--blue); line-height: 1.3; }
.content-body > .tit1:first-child { margin-top: 0; }
.tit2, .content-body .tit2 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 34px 0 12px; padding-left: 22px; position: relative; }
.tit2::before, .content-body .tit2::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--aqua); }
.content-body .list_st, .content-body .list_st2, .content-body .list_st3 { list-style: none; padding-left: 22px; }
.content-body .list_st2 > li { margin-bottom: 8px; color: var(--ink-2); white-space: pre-line; }
.content-body .list_st3 { padding: 12px 18px; margin: 8px 0 12px; background: var(--bg-soft); border-radius: 8px; }
.content-body .list_st3 li { margin: 2px 0; color: var(--ink-2); font-size: 15px; }
.content-body .box_st1 { border: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; }
.content-body .f_weightB { font-weight: 700; }
.content-body .ft_c_blue { color: var(--blue); }
.content-body .mgt10 { margin-top: 10px; }
.content-body .mgt20 { margin-top: 20px; }
.content-body .mgt30 { margin-top: 30px; }
.content-body .ar { text-align: right; }

/* 인사말 */
.greeting_top { display: flex; gap: 48px; align-items: flex-end; padding-bottom: 36px; border-bottom: 1px solid var(--line); flex-direction: row-reverse; justify-content: flex-end; }
.greeting_top .l_img { flex: 0 0 300px; }
.greeting_top .l_img img { border-radius: 16px; box-shadow: 0 20px 40px rgba(10,39,83,.12); }
.greeting_top .r_txt { flex: 1; }
.top_txt2 { font-size: 30px; font-weight: 800; line-height: 1.45; letter-spacing: -1px; color: var(--navy); margin: 0 0 12px; }
.greeting_box .txt_1 { font-size: 17px; color: var(--ink-2); line-height: 1.95; }
.greeting_txt { padding-top: 32px; }
.greeting_sign { font-size: 22px; font-weight: 800; color: var(--navy); margin-left: 10px; letter-spacing: 4px; }
.forM { display: none; }

/* 지도 */
.map-box { margin-bottom: 30px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.map-box .root_daum_roughmap { width: 100% !important; }
.map-empty { padding: 60px 20px; text-align: center; color: var(--ink-3); background: var(--bg-soft); margin: 0; }

/* 연혁 타임라인 */
.timeline { list-style: none; position: relative; padding-left: 0; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 176px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: flex; align-items: flex-start; gap: 44px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 170px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.timeline li.current::before { border-color: var(--aqua); background: var(--aqua); box-shadow: 0 0 0 5px var(--aqua-50); }
.tl-period { flex: 0 0 150px; white-space: nowrap; text-align: right; font-size: 14px; font-weight: 600; color: var(--ink-3); padding-top: 3px; }
.timeline li.current .tl-period { color: var(--blue); }
.tl-body { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 20px; border-radius: 10px; background: var(--bg-soft); margin-left: 10px; }
.timeline li.current .tl-body { background: var(--navy); color: #fff; }
.tl-title { font-size: 16px; color: var(--navy); }
.timeline li.current .tl-title { color: var(--aqua); }
.tl-name { font-size: 18px; font-weight: 700; }
.tl-note { font-size: 14px; color: var(--ink-3); }

/* 임원 조직도 */
.org { --org-line: #b7c4d6; --org-gap: 46px; padding-top: 14px; }
.org-tier { position: relative; display: flex; flex-direction: column; align-items: center; }
.org-tier + .org-tier { margin-top: var(--org-gap); }
.org-tier + .org-tier::before { content: ""; position: absolute; left: 50%; top: calc(-1 * var(--org-gap)); height: var(--org-gap); border-left: 2px solid var(--org-line); transform: translateX(-1px); }
.org-tier.is-advisory + .org-tier::before { border-left-style: dashed; }
.org-box { position: relative; width: 100%; padding: 34px 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-soft); }
.org-box-dashed { border-style: dashed; background: #fff; }
.org-box-sm { padding: 30px 14px 16px; }
.org-box-title { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 5px 20px; border-radius: 20px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.org-box-dashed .org-box-title { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.org-sub { margin: 4px 0 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 1px; }
.org-sub + .org-row { margin-bottom: 20px; }
.org-row + .org-sub { margin-top: 4px; padding-top: 18px; border-top: 1px dashed var(--line); }
.org-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.org-row:last-child { margin-bottom: 0; }
.org-card { width: 144px; padding: 14px 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; transition: box-shadow .2s, transform .2s; }
.org-card:hover { box-shadow: 0 10px 24px rgba(10,39,83,.1); transform: translateY(-2px); }
.oc-photo { display: block; width: 68px; height: 68px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; background: var(--bg-soft); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.oc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.oc-noimg { display: grid; place-items: center; height: 100%; font-size: 26px; font-weight: 800; color: #b8c3d2; }
.oc-pos { display: block; font-size: 12px; font-weight: 700; color: var(--blue); line-height: 1.3; }
.oc-name { display: block; margin-top: 3px; font-size: 17px; font-weight: 800; letter-spacing: 1px; }
.oc-info { display: block; margin-top: 5px; font-size: 12px; line-height: 1.45; color: var(--ink-3); word-break: keep-all; }
.org-card.is-compact { width: 132px; padding: 12px 8px 10px; }
.org-card.is-compact .oc-photo { width: 56px; height: 56px; }
.org-card.is-compact .oc-name { font-size: 16px; }
.org-top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; width: 100%; }
.org-president, .org-center { grid-column: 2; list-style: none; }
.org-card.is-head { width: 220px; padding: 22px 16px 18px; background: linear-gradient(160deg, var(--navy), #0d4a8f); border-color: var(--navy); color: #fff; box-shadow: 0 16px 34px rgba(10,39,83,.25); }
.org-card.is-head .oc-photo { width: 104px; height: 104px; box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.org-card.is-head .oc-pos { color: var(--aqua); font-size: 14px; }
.org-card.is-head .oc-name { font-size: 22px; }
.org-card.is-head .oc-info { color: rgba(255,255,255,.75); }
.org-auditors, .org-side { grid-column: 3; justify-self: start; position: relative; margin-left: 48px; }
.org-auditors::before, .org-side::before { content: ""; position: absolute; right: 100%; top: 50%; width: 48px; border-top: 2px dashed var(--org-line); }
.org-card.is-key { border: 2px solid var(--blue); }

/* 조직도 페이지 (이름형 — 관리자 > 페이지 관리에서 편집) */
.org .og-node { min-width: 180px; padding: 14px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; }
.org .og-node.is-head { min-width: 230px; padding: 20px 30px; background: linear-gradient(160deg, var(--navy), #0d4a8f); border-color: var(--navy); color: #fff; box-shadow: 0 16px 34px rgba(10,39,83,.25); }
.org .og-node.is-key { border: 2px solid var(--blue); }
.org .og-role { margin: 0; font-size: 13px; font-weight: 700; color: var(--blue); line-height: 1.4; }
.org .og-node.is-head .og-role { color: var(--aqua); font-size: 14px; }
.org .og-name { margin: 2px 0 0; font-size: 19px; font-weight: 800; letter-spacing: 1px; line-height: 1.4; }
.org .og-node.is-head .og-name { font-size: 25px; }
.org .og-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; }
.org .og-group { text-align: center; }
.org .og-names { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 0; padding: 0; }
.org .og-names li { min-width: 76px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px; text-align: center; line-height: 1.35; }
.org .og-names li small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0; color: var(--blue); }
.org .og-box-body { text-align: center; }
.org .og-box-body + .og-box-body { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.org .og-regions { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 0; padding: 0; }
.org .og-regions li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.org .og-regions span { font-size: 13px; color: var(--ink-3); }
.org .og-regions strong { font-size: 16px; letter-spacing: .5px; }
.org .og-regions li.has-link { padding: 0; border-color: #bcd3ee; transition: border-color .15s, box-shadow .15s, transform .15s; }
.org .og-regions li.has-link > a { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 10px; color: inherit; text-decoration: none; }
.org .og-regions li.has-link:hover { border-color: var(--blue); box-shadow: 0 8px 18px rgba(11,92,173,.12); transform: translateY(-1px); }
.org .og-regions li.has-link:hover strong { color: var(--blue); }
.org .og-link { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 9px; background: var(--aqua-50); color: var(--blue); font-size: 10px; font-style: normal; font-weight: 700; line-height: 17px; vertical-align: 1px; }
.org .og-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }
.org-tier.is-detached { margin-top: 70px; }
.org-tier.is-detached::before { display: none; }

/* ---------- 게시판 ---------- */
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.board-total { margin: 0; font-size: 15px; color: var(--ink-2); }
.board-total strong { color: var(--blue); }
.board-total span { color: var(--ink-3); font-size: 13px; }
.board-search { display: flex; gap: 6px; }
.board-search select, .board-search input { height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; }
.board-search input { width: 240px; }

.board-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 15px; }
.board-table th { padding: 14px 8px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.board-table td { padding: 15px 8px; border-bottom: 1px solid var(--line-2); text-align: center; color: var(--ink-2); }
.board-table .c-no { width: 80px; }
.board-table .c-file { width: 80px; }
.board-table .c-writer { width: 150px; }
.board-table .c-date { width: 110px; }
.board-table .c-hit { width: 70px; }
.board-table td.c-title { text-align: left; color: var(--ink); }
.board-table td.c-title a:hover { text-decoration: underline; }
.board-table td.c-file small { font-size: 11px; color: var(--ink-3); margin-left: 2px; }
.board-table tr.is-notice td { background: #f7fbff; }
.board-table tr.is-notice td.c-title { font-weight: 600; }
.board-table tbody tr:hover td { background: var(--bg-soft); }
.board-empty { text-align: center; padding: 70px 0 !important; color: var(--ink-3); }

.fbadge { display: inline-block; min-width: 36px; padding: 1px 5px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; color: #fff; background: #8a94a6; font-style: normal; }
.fbadge-pdf { background: #e5484d; }
.fbadge-hwp { background: #1f8fe0; }
.fbadge-xls { background: #1f9d55; }
.fbadge-doc { background: #2b5cb8; }
.fbadge-ppt { background: #e0752b; }
.fbadge-img { background: #8b5cf6; }
.fbadge-zip { background: #6b7280; }

.gallery-board { margin-top: 10px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination strong { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pagination strong { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.board-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; flex-wrap: wrap; }

.board-view { border-top: 2px solid var(--navy); }
.bv-head { padding: 26px 10px 20px; border-bottom: 1px solid var(--line); }
.bv-title { font-size: 24px; font-weight: 700; letter-spacing: -.5px; line-height: 1.45; }
.bv-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.bv-meta span { color: var(--ink-3); margin-right: 4px; }
.bv-files { display: flex; gap: 18px; padding: 16px 20px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.bv-files-label { flex-shrink: 0; font-size: 14px; padding-top: 4px; }
.bv-files-label em { color: var(--blue); font-style: normal; }
.bv-files ul { list-style: none; flex: 1; min-width: 0; }
.bv-files li + li { margin-top: 4px; }
.bv-files a { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 15px; }
.bv-files a:hover .fname { text-decoration: underline; }
.bv-files .fname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bv-files .fsize { flex-shrink: 0; color: var(--ink-3); font-size: 13px; }
.bv-content { padding: 36px 10px 50px; min-height: 180px; border-bottom: 1px solid var(--line); }
.bv-photos { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 30px; }
.bv-photos figure { margin: 0; max-width: 900px; }
.bv-photos img { border-radius: 8px; }
.bv-nav { border-bottom: 1px solid var(--line); }
.bv-nav a, .bv-nav p { display: flex; gap: 20px; margin: 0; padding: 15px 10px; font-size: 15px; border-bottom: 1px solid var(--line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-nav p { color: var(--ink-3); }
.bv-nav > :last-child { border-bottom: 0; }
.bv-nav span { flex-shrink: 0; width: 60px; color: var(--ink-3); font-size: 14px; }

/* 글쓰기 */
.board-form { border-top: 2px solid var(--navy); padding-top: 10px; }
.form-row { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.form-row > label, .form-row-split label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.form-row input[type=text], .form-row input[type=password], .form-row input[type=number], .form-row input[type=email], .form-row textarea, .auth-box input[type=password] { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.form-row textarea { height: auto; padding: 12px 14px; }
.form-row input:focus, .form-row textarea:focus, .auth-box input:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgba(11,92,173,.12); }
.form-row-split { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.form-row-split > div { flex: 1 1 220px; }
.form-check { display: flex; flex-direction: column; gap: 6px; padding-top: 30px; }
.form-check label { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; margin-bottom: 0 !important; cursor: pointer; }
.req { color: var(--danger); font-style: normal; }
.help { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.att-edit { list-style: none; margin-bottom: 10px; }
.att-edit li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
.att-edit li label { margin-left: auto; color: var(--danger); font-size: 13px; cursor: pointer; display: flex; gap: 4px; align-items: center; }
.att-edit-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.att-edit-images li { flex-direction: column; align-items: stretch; }
.att-edit-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.att-edit-images li label { margin: 0; }
.form-spam p { margin: 0 0 8px; font-size: 18px; }
.form-spam input { max-width: 160px; }
.hp { position: absolute; left: -9999px; }
.auth-box { max-width: 420px; margin: 20px auto; padding: 36px; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.auth-box h4 { font-size: 22px; margin-bottom: 8px; }
.auth-box p { color: var(--ink-3); margin: 0 0 20px; }
.auth-box .board-btns { justify-content: center; }
.note-editor.note-frame { border-radius: 8px; border-color: var(--line) !important; }
.note-editor .note-editing-area .note-editable { font-family: var(--font); font-size: 16px; line-height: 1.75; }
.note-editor .note-editing-area .note-editable table td, .note-editor .note-editing-area .note-editable table th { border-color: #d5dbe3; padding: 6px 8px; vertical-align: top; }

/* ---------- 푸터 ---------- */
.site-footer { background: #0d1a2e; color: rgba(255,255,255,.7); padding: 44px 0 50px; font-size: 14px; position: relative; }
.site-footer .wrap { position: relative; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #9aa3ae; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.25; gap: 3px; }
.footer-brand-text strong { font-size: 16px; font-weight: 800; letter-spacing: -.4px; color: #9aa3ae; }  /* 푸터 로고는 그레이 처리 */
.site-footer .footer-brand-text strong em { color: inherit; }
.footer-brand-text small { font-size: 12px; color: #6f7883; }
.footer-brand img { width: 50px; height: auto; flex-shrink: 0; filter: grayscale(1) brightness(1.9); opacity: .7; }  /* logo1.png 심볼, 그레이 처리 */
.footer-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.copyright { margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-admin { position: absolute; right: 20px; bottom: 0; font-size: 12px; color: rgba(255,255,255,.3); }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 8px 20px rgba(11,92,173,.35); opacity: 0; visibility: hidden; transition: .2s; }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- 관련기관 바로가기 (푸터 위 띠) — 흰 배경, 로고가 천천히 흐르고 마우스를 올리면 멈춤 ---------- */
.family { background: #fff; border-top: 1px solid var(--line); }
.family .wrap { display: flex; align-items: center; gap: 22px; min-height: 86px; }
.family-title { flex: none; margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; display: flex; align-items: center; gap: 8px; }
.family-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--brand-blue); }
.family-flow { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.family-track { display: flex; gap: 10px; width: max-content; list-style: none; margin: 0; padding: 0; animation: family-flow var(--family-dur, 40s) linear infinite; }
.family-flow:hover .family-track, .family-flow:focus-within .family-track { animation-play-state: paused; }
@keyframes family-flow { to { transform: translateX(calc(-50% - 5px)); } }
.family-track a { display: flex; align-items: center; justify-content: center; width: auto; height: 52px; padding: 4px 5px; border-radius: 8px; background: #fff; border: 1px solid #dfe4ec; transition: border-color .2s, transform .2s; }
.family-track a:hover, .family-track a:focus-visible { border-color: var(--brand-blue); box-shadow: 0 6px 16px rgba(0,56,136,.12); transform: translateY(-2px); }
.family-track img { display: block; width: auto; height: 100%; max-width: 240px; object-fit: contain; }  /* 카드 폭 = 로고 길이 (좌우 여백 최소) */
.family-text { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--brand-navy); letter-spacing: -.4px; line-height: 1.2; }
.family-text i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-navy); color: #fff; font-size: 10px; font-style: normal; letter-spacing: -.5px; }
.family-select { flex: none; position: relative; }
.family-select > button { height: 40px; min-width: 190px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #cfd6e0; border-radius: 6px; background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; font-family: inherit; }
.family-select > button:hover, .family-select > button[aria-expanded="true"] { border-color: var(--brand-blue); color: var(--brand-blue); }
.family-select > button span { font-size: 11px; transition: transform .2s; }
.family-select > button[aria-expanded="true"] span { transform: rotate(180deg); }
#familyList { position: absolute; right: 0; bottom: 46px; z-index: 50; width: max(100%, 230px); max-height: min(60vh, 420px); overflow-y: auto; list-style: none; margin: 0; padding: 6px 0; background: #fff; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(10,39,83,.15); }
#familyList a { display: block; padding: 7px 16px; color: var(--ink-2); font-size: 14px; }
#familyList a:hover, #familyList a:focus-visible { background: var(--aqua-50); color: var(--blue); }
#familyList .family-cat { padding: 10px 16px 4px; font-size: 12px; font-weight: 700; color: var(--ink-3); border-top: 1px solid var(--line-2); margin-top: 4px; }
#familyList .family-cat:first-child { border-top: 0; margin-top: 0; }
@media (max-width: 720px) {
    .family .wrap { flex-wrap: wrap; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
    .family-select { margin-left: auto; }
    .family-select > button { min-width: 160px; height: 36px; font-size: 13px; }
    .family-flow { order: 3; flex-basis: 100%; }
    .family-track a { height: 43px; }
    #familyList { width: min(86vw, 300px); }
}
.family.is-paused .family-track { animation-play-state: paused; }
.family-pause { flex: none; width: 28px; height: 28px; margin-left: -12px; border: 1px solid #cfd6e0; border-radius: 50%; background: transparent; color: var(--ink-3); font-size: 9px; cursor: pointer; }
.family-pause:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
@media (max-width: 720px) { .family-pause { margin-left: -4px; } }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
    .gnb > ul > li > a { padding: 0 16px; font-size: 17px; }
    .gnb > ul > li > a::after { left: 16px; right: 16px; }
    .quick-links { grid-template-columns: repeat(3, 1fr); }
}
/* 태블릿·모바일: 메인 비주얼 높이 축소 (PC 는 그대로) */
@media (max-width: 1024px) {
    .hero { height: min(35.64vh, 308px); min-height: 243px; }
    .hero-text { bottom: 64px; }
    .hero-ctrl { bottom: 24px; }
}
@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .topbar { display: none; }
    .gnb { display: none; }
    .menu-toggle { display: block; }
    .logo img { width: 44px; }
    .logo-text strong { font-size: 14.5px; }
    .logo-text small { font-size: 10px; }
    .board-cards { grid-template-columns: minmax(0, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .greeting_top { flex-direction: column; align-items: stretch; gap: 24px; }
    .greeting_top .l_img { flex: none; max-width: 260px; }
    .org-top { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 40px; }
    .org-president, .org-auditors, .org-center, .org-side { grid-column: 1; }
    .org-auditors, .org-side { justify-self: center; margin-left: 0; }
    .org-auditors::before, .org-side::before { right: auto; left: 50%; top: -40px; width: 0; height: 40px; border-top: 0; border-left: 2px dashed var(--org-line); }
}
@media (max-width: 720px) {
    body { font-size: 15px; }
    .wrap { padding: 0 16px; }
    .hero { height: 29.16vh; min-height: 194px; }
    .hero-text { bottom: 44px; }
    .hero-desc { font-size: 13px; margin-top: 6px; }
    .hero-ctrl { bottom: 14px; }
    .hero-dots button { width: 22px; height: 3px; }
    .hero-dots button.on { width: 36px; }
    .hero-toggle { width: 22px; height: 22px; font-size: 7px; }
    .hero-credits { right: 12px; bottom: 5px; }
    .hero-credit { font-size: 10px; }
    .hero-en { font-size: 12px; letter-spacing: 1.2px; }
    .hero h2 { font-size: 19.5px; letter-spacing: -.75px; }
    .logo, .logo a, .logo-text { min-width: 0; }
    .logo-text small { font-size: 9px; letter-spacing: -.1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .main-section { padding: 48px 0; }
    .sec-title { font-size: 22px; }
    .quick-links { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .quick-links a { padding: 16px 6px; font-size: 14px; }
    .quick-links .qi { width: 50px; height: 50px; }
    .sub-visual { height: 150px; }
    .sub-visual-title { font-size: 28px; }
    .snb-home { display: none; }
    .snb-tabs a { padding: 0 16px; line-height: 50px; font-size: 15px; }
    .sub-content { padding: 32px 0 70px; }
    .page-head { margin-bottom: 26px; flex-direction: column; align-items: flex-start; gap: 6px; }
    .page-title { font-size: 26px; }
    .admin-bar { margin-top: -10px; }
    .board-search { width: 100%; }
    .board-search input { flex: 1; width: auto; min-width: 0; }
    .board-table thead { display: none; }
    .board-table, .board-table tbody, .board-table tr { display: block; }
    .board-table tr { padding: 14px 4px; border-bottom: 1px solid var(--line-2); position: relative; }
    .board-table td { display: inline; padding: 0; border: 0; font-size: 13px; color: var(--ink-3); background: none !important; }
    .board-table td.c-title { display: block; font-size: 16px; margin-bottom: 6px; padding-right: 50px; }
    .board-table td.c-no, .board-table td.c-hit { display: none; }
    .board-table tr.is-notice td.c-no { display: inline; }
    .board-table td.c-file { position: absolute; right: 4px; top: 16px; }
    .board-table td.c-writer::after { content: " · "; }
    .board-table td.board-empty { display: block; }
    .bv-title { font-size: 20px; }
    .bv-files { flex-direction: column; gap: 8px; padding: 14px; }
    .bv-content { padding: 24px 4px 36px; }
    .tit1, .content-body .tit1 { font-size: 20px; }
    .tit2, .content-body .tit2 { font-size: 17px; }
    .content-body .list_st, .content-body .list_st2 { padding-left: 4px; }
    .content-body .tbl_st th, .content-body .tbl_st td { padding: 8px 4px; font-size: 13px; }
    .content-body { overflow-x: auto; }
    .top_txt2 { font-size: 23px; }
    .forM { display: inline; }
    .timeline::before { left: 7px; }
    .timeline li { flex-direction: column; gap: 6px; padding-left: 30px; }
    .timeline li::before { left: 1px; top: 18px; }
    .tl-period { flex: none; text-align: left; }
    .tl-body { margin-left: 0; width: 100%; }
    .org { --org-gap: 36px; }
    .org-box { padding: 30px 10px 16px; }
    .org-row { gap: 8px; }
    .org-card, .org-card.is-compact { width: calc(50% - 4px); max-width: 180px; }
    .org-card.is-head, .org-card.is-key { width: 200px; max-width: none; }
    .org-auditors .org-card { width: 140px; }
    .footer-brand-text strong { font-size: 14.5px; }
    .footer-brand-text small { font-size: 10px; letter-spacing: -.1px; white-space: nowrap; }
    .footer-brand img { width: 44px; }
    .org .og-groups { gap: 14px 20px; }
    .org .og-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .org .og-regions li { flex-direction: column; align-items: center; gap: 0; padding: 8px; }
    .org .og-regions li.has-link { padding: 0; }
    .org .og-regions li.has-link > a { flex-direction: column; align-items: center; gap: 0; padding: 8px; }
    .org .og-names li { min-width: 0; padding: 6px 10px; font-size: 14px; }
    .footer-admin { position: static; display: inline-block; margin-top: 10px; }
}
@media (max-width: 370px) {
    .logo a { gap: 8px; }
    .logo img { width: 38px; }
    .logo-text strong { font-size: 13.6px; }
    .logo-text small { letter-spacing: -.3px; }
}
/* Windows "애니메이션 효과 끄기"(동작 줄이기) 사용자: 메인 슬라이드·관련기관 띠는 그대로 움직이되(각각 정지 버튼 있음) 확대 효과만 뺌 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-slide { transform: none !important; }
}
@media print {
    .site-header, .sub-visual, .snb, .family, .site-footer, .board-btns, .admin-bar, .to-top { display: none !important; }
}

/* ---------- 로그인 · 회원가입 · 내 정보 ----------
   (비회원 비밀번호 확인 화면의 .auth-box 와 겹치지 않도록 .member-box 로 둔다) */
.member-box { max-width: 460px; margin: 0 auto 60px; }
.member-box.wide { max-width: 900px; }
.member-box .signup-form { margin-bottom: 28px; }
.member-box .tit2 { margin: 34px 0 12px; }
.login-title { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.8px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); margin-bottom: 0; }
.form-table.login-table { border-top: 0; margin: 0 0 22px; }
.form-table.login-table th { width: 140px; }
.form-table.login-table td input[type=text], .form-table.login-table td input[type=password], .form-table.login-table td input[type=email] { max-width: none; width: 100%; height: 46px; }
.form-table.login-table td .found-id { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: 1px; }
.btn-login { display: flex; width: 100%; min-height: 58px; font-size: 18px; font-weight: 700; background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-login:hover { background: #0d3468; border-color: #0d3468; color: #fff; }
.login-links { display: flex; justify-content: center; align-items: center; margin: 14px 0 22px; font-size: 15px; }
.login-links a { padding: 0 16px; color: var(--ink-2); border-left: 1px solid var(--line); }
.login-links a:first-child { border-left: 0; }
.login-links a:hover { color: var(--blue); text-decoration: underline; }
.notice-box.notice-warn { background: #fdf6e3; border-color: #f0e2bd; color: #8a6500; }
.auth-help { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); text-align: center; line-height: 1.7; }
.my-role { margin: 0 0 24px; padding: 12px 16px; border-radius: 8px; background: var(--aqua-50); font-size: 15px; color: var(--ink-2); }
.my-role a { color: var(--blue); text-decoration: underline; }
.mobile-nav .m-auth { display: flex; gap: 0; border-bottom: 1px solid var(--line-2); }
.mobile-nav .m-auth a { flex: 1; text-align: center; padding: 14px 6px; font-size: 15px; font-weight: 600; color: var(--ink-2); border-left: 1px solid var(--line-2); }
.mobile-nav .m-auth a:first-child { border-left: 0; }

/* ---------- 회원가입 · 내 정보 양식 ---------- */
.notice-box { margin: 0 0 12px; padding: 14px 18px; border-radius: 8px; background: #eef6ff; border: 1px solid #cfe2f7; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.notice-box.notice-info { background: #eaf7ef; border-color: #c6e7d3; }
.notice-box strong { color: var(--navy); }
.form-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); margin: 18px 0 26px; }
.form-table th, .form-table td { border-bottom: 1px solid var(--line); padding: 14px 16px; vertical-align: middle; text-align: left; }
.form-table th { width: 160px; background: var(--bg-soft); font-weight: 700; font-size: 15px; color: var(--ink); }
.form-table td input[type=text], .form-table td input[type=email], .form-table td input[type=password], .form-table td input[type=number], .form-table td select {
    height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; max-width: 320px; width: 100%; }
.form-table td input.w-sm { max-width: 110px; }
.form-table td select { max-width: 190px; }
.form-table .inline-field { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.form-table .radio-row label { display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; }
.form-table .help { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.form-table .spam-q { font-size: 16px; color: var(--navy); }
.check-msg { display: inline-block; margin-left: 8px; font-size: 13.5px; color: var(--ink-3); }
.check-msg.ok { color: #1d6b40; font-weight: 600; }
.check-msg.no { color: var(--danger); font-weight: 600; }
/* 증명사진 편집 */
.photo-crop { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.pc-view { position: relative; width: 177px; height: 236px; border: 1px dashed #b9c3d0; border-radius: 6px; background: var(--bg-soft); overflow: hidden; flex: none; }
.pc-view canvas { display: block; width: 100%; height: 100%; cursor: move; touch-action: none; }
.pc-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; color: var(--ink-3); font-size: 14px; line-height: 1.5; pointer-events: none; }
.pc-hint[hidden] { display: none; }
.pc-side { flex: 1; min-width: 260px; }
.pc-side input[type=file] { margin-bottom: 10px; }
.pc-ctl { margin-bottom: 8px; }
.pc-zoom-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.pc-zoom-row input[type=range] { flex: 1; max-width: 220px; }
.pc-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.my-photo { width: 118px; height: 157px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); }
@media (max-width: 720px) {
    .form-table th, .form-table td { display: block; width: auto; border-bottom: 0; padding: 10px 12px; }
    .form-table th { padding-bottom: 0; background: none; }
    .form-table tr { display: block; border-bottom: 1px solid var(--line); padding: 6px 0; }
    .form-table td input, .form-table td select { max-width: none; }
}

/* 회원가입 — 사진 속 양식에 맞춘 세부 모양 */
.form-table.signup-table { border-top: 0; margin: 0 0 22px; }
.form-table.signup-table th { width: 130px; font-size: 14.5px; }
.form-table.signup-table .btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.signup-btns { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.btn-wide { min-width: 150px; }
.signup-btns .btn-login { width: auto; min-width: 170px; min-height: 50px; font-size: 16px; }
.signup-btns .btn { min-height: 50px; font-size: 16px; }

/* ---------- 단체 찾아보기 창 ---------- */
.ofind-bg { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15,25,38,.45); }
.ofind { display: flex; flex-direction: column; width: 540px; max-width: 100%; max-height: 82vh; background: #fff; border-radius: 10px; box-shadow: 0 10px 34px rgba(0,0,0,.3); }
.ofind h3 { display: flex; gap: 8px; align-items: center; margin: 0; padding: 14px 18px; font-size: 16px; color: var(--navy); border-bottom: 1px solid var(--line); }
.ofind h3 .x { margin-left: auto; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--ink-3); cursor: pointer; }
.ofind .top { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.ofind .top input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 14.5px; }
.ofind .body { overflow: auto; padding: 2px 0; }
.ofind .row { display: flex; gap: 8px; align-items: center; width: 100%; padding: 11px 18px; border: 0; border-bottom: 1px solid var(--line-2); background: none; font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.ofind .row:hover, .ofind .row:focus { background: var(--aqua-50); outline: 0; }
.ofind .row b { color: var(--navy); font-weight: 700; }
.ofind .row .rg { margin-left: auto; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.ofind .none { padding: 26px 16px; text-align: center; color: var(--ink-3); font-size: 14px; line-height: 1.8; }
.ofind .foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-3); }

/* ==========================================================================
   대회 사이트(game.jgswim.kr)와 같은 양식 디자인 — 회원가입 등 .gform 안에서만 적용
   ========================================================================== */
.gform { max-width: 640px; margin: 0 auto 50px; font-family: "Malgun Gothic", "맑은 고딕", -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.6; color: #222; }
.gform .page-title { margin: 30px 0 14px; font-size: 21px; font-weight: 700; color: #0b3d6b; }
.gform .msg { margin-bottom: 14px; padding: 11px 14px; border-radius: 4px; font-size: 13.5px; line-height: 1.7; }
.gform .msg.ok { background: #e8f5ec; border: 1px solid #b7e0c4; color: #11683c; }
.gform .msg.info { background: #e8f1f9; border: 1px solid #bcd8ee; color: #0f4f85; }
.gform .msg.err { background: #fdecea; border: 1px solid #f5c2bc; color: #a1271c; }
.gform .msg b { font-weight: 700; }

.gform .tbl-form { width: 100%; border-collapse: collapse; border-top: 2px solid #0b3d6b; font-size: 13.5px; }
.gform .tbl-form th, .gform .tbl-form td { border-bottom: 1px solid #dfe3e8; padding: 9px 12px; text-align: left; }
.gform .tbl-form th { width: 150px; background: #f7f9fb; font-weight: 700; color: #333; vertical-align: middle; }
.gform .tbl-form .req::after { content: " *"; color: #d93025; }
.gform .help { display: block; margin-top: 4px; font-size: 12px; color: #6b7280; line-height: 1.7; }
.gform .ck { display: inline-flex; align-items: center; gap: 5px; margin-right: 14px; cursor: pointer; }
.gform .ck input { width: 16px; height: 16px; margin: 0; }

.gform .f { height: 32px; padding: 6px 8px; border: 1px solid #c2c8d0; border-radius: 4px; background: #fff; font-family: inherit; font-size: 14px; max-width: 100%; }
.gform .f:focus { outline: 2px solid rgba(22,104,179,.35); border-color: #1668b3; }
.gform .f.w120 { width: 120px; } .gform .f.w160 { width: 160px; } .gform .f.w220 { width: 220px; } .gform .f.w320 { width: 320px; } .gform .f.full { width: 100%; }
.gform select.f { height: 32px; padding: 4px 6px; }

.gform .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; min-width: 72px; padding: 6px 14px; border: 1px solid #c2c8d0; border-radius: 4px; background: #fff; color: #222; font-family: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.gform .btn:hover { background: #f3f5f7; }
.gform .btn.b { background: #1668b3; border-color: #1668b3; color: #fff; }
.gform .btn.b:hover { background: #12569a; }
.gform .btn.p { background: #0b3d6b; border-color: #0b3d6b; color: #fff; }
.gform .btn.p:hover { background: #082c4e; }
.gform .btn.sm { min-height: 28px; min-width: 0; padding: 4px 10px; font-size: 12.5px; }
.gform .btn.lg { min-height: 42px; padding: 10px 30px; font-size: 15px; }
.gform .btns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.gform .btns.c { justify-content: center; margin-top: 22px; }
.gform .dup-msg { margin-left: 8px; font-size: 13px; color: #6b7280; }
.gform .dup-msg.ok { color: #11683c; font-weight: 700; }
.gform .dup-msg.no { color: #d93025; font-weight: 700; }
.gform .inline-field { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.gform .photo-crop { gap: 14px; }
.gform .pc-view { width: 150px; height: 200px; }
.gform .pc-hint { font-size: 12.5px; }
@media (max-width: 720px) {
    .gform .tbl-form th { width: 124px; padding: 8px; font-size: 12.5px; }
    .gform .tbl-form td { padding: 8px; }
    .gform .f.w220, .gform .f.w320, .gform .f.w160 { width: 100%; }
}
