@charset "utf-8";
/********************************************************
 충청남도의사회 공통 꾸밈 (2026-11-20 a : 서브 상단 띠를 연한 민트 바탕으로) - 아래쪽에 서브 페이지(제목·탭·표·왼쪽 메뉴) 모양 추가
 - 메인 문구 상자(.chn-slogan)와 서브 상단 띠(.chn-title-band)가 같은 모양을 씀
 - 충남만의 모양 : 의료 십자(+) 무늬 + 주황 세로 막대
   서브 띠는 부드러운 원 2개를 더함 (사진·아이콘 없이 단순하게)
 - 서브 띠 글자는 모든 페이지 같음 (메인 문구 상자와 같은 문구)
 - _title.php 에서 모든 페이지에 불러옴 (메인 포함)
 - 색은 아래 변수만 바꾸면 메인 상자 · 서브 띠에 같이 반영
********************************************************/
:root {
	--chn-b-deep: #0b3f48;   /* 진한 청록 (바탕) */
	--chn-b-mid: #0e6b78;    /* 청록 */
	--chn-b-sub: #9fd3d9;    /* 작은 글자 */
	--chn-b-bar: #f2a23a;    /* 주황 세로 막대 · 면허신고센터 */
	--chn-band-from: #155a65; /* 서브 상단 띠 왼쪽 (메인 상자보다 한 톤 연하게) */
	--chn-band-to: #1c8592;   /* 서브 상단 띠 오른쪽 */
	/* 의료 십자(+) 무늬 (흰색 반투명, 28px 간격) */
	--chn-b-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='white' stroke-opacity='.13' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ───────── 메인 문구 상자 (index/index-chn.php 의 .chn-slogan) */
.chn-main .chn-slogan {
	position: relative; overflow: hidden;
	background: var(--chn-b-deep);
	padding-left: 34px !important;
}
.chn-main .chn-slogan::before { /* 십자 무늬 : 오른쪽으로 갈수록 진하게 */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: var(--chn-b-cross) right top / 28px 28px repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
	        mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
}
.chn-main .chn-slogan::after { /* 주황 세로 막대 */
	content: ""; position: absolute; left: 20px; top: 50%; width: 4px; height: 44px; margin-top: -22px;
	border-radius: 2px; background: var(--chn-b-bar);
}
.chn-main .chn-slogan > * { position: relative; z-index: 1; }

/* ───────── 서브 상단 띠 (_title.php) : 연한 민트 바탕 + 청록 포인트 (2026-11-20 A안)
   - 바탕은 밝게, 포인트(세로 막대 · 아래 줄)만 청록, 면허신고센터만 주황
   - 십자 무늬는 청록을 아주 옅게 + 오른쪽으로 갈수록 서서히 보이게 (왼쪽 글자 쪽은 안 보임) */
:root {
	--chn-band-bg: #eef6f6;   /* 띠 바탕 (연한 민트) */
	--chn-band-line: #c9dfe1; /* 회비안내 버튼 테두리 */
	--chn-b-cross-teal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%230e6b78' stroke-opacity='.10' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
#nt_title.chn-title-band {
	position: relative; overflow: hidden; color: var(--chn-b-deep);
	background: var(--chn-band-bg) !important;
	border-bottom: 2px solid var(--chn-p-line);
}
.chn-tb-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.chn-tb-deco::before { /* 십자 무늬 : 왼쪽 45% 까지는 안 보이고 오른쪽 끝으로 갈수록 조금씩 */
	content: ""; position: absolute; inset: 0;
	background: var(--chn-b-cross-teal) right top / 28px 28px repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 45%, rgba(0,0,0,.55) 80%, #000 100%);
	        mask-image: linear-gradient(90deg, transparent 45%, rgba(0,0,0,.55) 80%, #000 100%);
}
.chn-tb-deco::after { /* 오른쪽 위 아주 옅은 흰 빛 (바탕이 밋밋하지 않게) */
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 75% -40%, rgba(255,255,255,.75) 0, rgba(255,255,255,0) 260px);
}

.chn-tb-wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.chn-tb-inner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 1.1rem 0 1.1rem 20px; line-height: 1.3; }
.chn-tb-inner::before { /* 청록 세로 막대 */
	content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 58px; margin-top: -29px;
	border-radius: 3px; background: var(--chn-b-mid);
}
.chn-tb-inner p { margin: 0; }
.chn-tb-en { font-size: 12px; letter-spacing: 3px; color: #5b9aa2; font-weight: 500; }
.chn-tb-s1 { margin-top: 8px !important; font-size: 16px; color: #3e6e74; letter-spacing: -.3px; }
.chn-tb-s2 { font-size: 30px; font-weight: 800; color: var(--chn-b-deep); letter-spacing: -1px; }

/* 오른쪽 바로가기 (PC) : 위아래 2줄 막대 버튼 */
.chn-tb-quick { display: none; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chn-tb-quick a {
	display: flex; align-items: center; gap: 10px;
	width: 200px; height: 44px; padding: 0 14px;
	background: #fff; border: 1px solid var(--chn-band-line); border-radius: 6px;
	color: var(--chn-b-deep) !important; font-size: 15px; font-weight: 600; letter-spacing: -.5px;
	transition: background .15s, border-color .15s, padding .15s;
}
.chn-tb-quick a:hover { border-color: var(--chn-b-mid); text-decoration: none; padding-left: 18px; }
.chn-tb-quick a .fa:first-child { width: 20px; text-align: center; font-size: 17px; color: var(--chn-b-mid); }
.chn-tb-quick a .chn-tb-go { margin-left: auto; font-size: 16px; opacity: .7; }
/* 면허신고센터 : 주황 (다른 스타일에 덮이지 않게 강하게 지정) */
#nt_title.chn-title-band .chn-tb-quick a.is-lic { background: var(--chn-b-bar) !important; border-color: var(--chn-b-bar) !important; color: #2b1b00 !important; }
#nt_title.chn-title-band .chn-tb-quick a.is-lic:hover { background: #f6b153 !important; }
#nt_title.chn-title-band .chn-tb-quick a.is-lic i,
#nt_title.chn-title-band .chn-tb-quick a.is-lic span { color: #2b1b00 !important; }
@media (min-width: 992px) {
	.chn-tb-quick { display: flex; }
}

/* 모바일 : 서브 상단 띠 숨김 (아래 타이틀 네비부터 보임) */
@media (max-width: 767.98px) {
	#nt_title.chn-title-band { display: none !important; }
}

/* ───────── 모바일 맨 위 머리줄 (≡ 충청남도의사회 검색) : 부트스트랩 기본 파랑(.bg-primary) → 충남 청록 */
#nt_sticky_wrap .d-md-none > .bg-primary { background-color: var(--chn-b-mid) !important; }

/********************************************************
 [충남] 서브 페이지 (2026-11-19)
 - 광주(점+선 제목, 알약 탭, 각진 상자)와 다르게
   · 제목 : 주황 세로 막대 + 아래 청록 짧은 밑줄
   · 탭   : 이어 붙인 상자형 (고른 탭은 청록으로 채움)
   · 왼쪽 로그인·메뉴 : 메인처럼 둥근 상자, 메뉴 머리는 진한 청록 + 십자 무늬
   · 타이틀 네비 : 홈 칸은 청록, 고른 메뉴는 진하게
********************************************************/
:root { --chn-p-line: #dfe8e9; --chn-p-soft: #f3f8f8; --chn-p-r: 12px; }

/* ───────── 타이틀 네비 (홈 / 1차 / 2차 메뉴) */
.title-nav { background: #f7fafa; border-bottom-color: var(--chn-p-line) !important; }
.title-nav .nt-container, .title-nav .border-right, .title-nav .border-left { border-color: var(--chn-p-line) !important; }
.title-nav .nt-container > .d-flex > .border-right:first-child > a { background: var(--chn-b-mid); color: #fff !important; }
.title-nav .nt-container > .d-flex > .border-right:first-child > a:hover { background: var(--chn-b-deep); }
.title-nav li.col > a { color: var(--chn-b-deep) !important; font-weight: 600; }
.title-nav li.col > a .fa-angle-down { color: var(--chn-b-mid); }
.title-nav li.col > a:hover { background: #fff; text-decoration: none; }
.title-nav .pt-nav > ul { border-color: var(--chn-p-line) !important; border-radius: 0 0 10px 10px; overflow: hidden; box-shadow: 0 8px 18px rgba(11,63,72,.12); }
.title-nav .pt-nav li { border-color: #edf2f3 !important; }
.title-nav .pt-nav li a { color: #444 !important; }
.title-nav .pt-nav li a:hover { background: var(--chn-p-soft); color: var(--chn-b-mid) !important; text-decoration: none; }
.title-nav .pt-nav li.bg-light { background: var(--chn-p-soft) !important; }
.title-nav .pt-nav li.bg-light a { color: var(--chn-b-mid) !important; font-weight: 600; }

/* ───────── 왼쪽 로그인 상자 (메인과 같이 둥글게) */
.jm-side .jm-box {
	border: 1px solid var(--chn-p-line) !important; border-top: 1px solid var(--chn-p-line) !important;
	border-radius: var(--chn-p-r); overflow: hidden; background: #fff;
}
.jm-side .jm-ol-btn { border-radius: 8px; background: var(--chn-b-deep); }
.jm-side .jm-ol-btn:hover { background: #072e35; }
.jm-side .jm-ol-inputs .form-control { border-radius: 6px; }
.jm-side .jm-ol-login { border-radius: 6px; background: var(--chn-b-mid); }
.jm-side .jm-ol-login:hover { background: var(--chn-b-deep); }

/* ───────── 왼쪽 메뉴 (머리 : 진한 청록 + 십자 무늬 + 주황 막대) */
.jm-side .jm-snb { border: 1px solid var(--chn-p-line) !important; border-radius: var(--chn-p-r); overflow: hidden; }
.jm-side .jm-snb-head {
	position: relative; padding: 1.2rem 1.25rem 1.2rem 2.1rem; text-align: left;
	background: var(--chn-b-deep) var(--chn-b-cross) right top / 28px 28px repeat;
	color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.5px; border-bottom: 0;
}
.jm-side .jm-snb-head::before {
	content: ""; position: absolute; left: 1.25rem; top: 50%; width: 4px; height: 20px; margin-top: -10px;
	border-radius: 2px; background: var(--chn-b-bar);
}
.jm-side .jm-snb-head::after { display: none; }
.jm-side .jm-snb-list > li + li { border-top-color: #edf2f3; }
.jm-side .jm-snb-list > li > a { color: #333; }
.jm-side .jm-snb-list > li > a:hover { background: var(--chn-p-soft); color: var(--chn-b-mid); box-shadow: none; }
.jm-side .jm-snb-list > li.on > a { position: relative; background: var(--chn-p-soft); color: var(--chn-b-mid); font-weight: 700; box-shadow: none; }
.jm-side .jm-snb-list > li.on > a::before { /* 고른 메뉴 : 왼쪽 주황 점 */
	content: ""; position: absolute; left: .55rem; top: 50%; width: 6px; height: 6px; margin-top: -3px;
	border-radius: 50%; background: var(--chn-b-bar);
}
.jm-side .jm-snb-list > li.on > a i,
.jm-side .jm-snb-list > li > a:hover i { color: var(--chn-b-mid); }
.jm-side .jm-snb-sub { background: #fafcfc; }
.jm-side .jm-snb-sub li.on a, .jm-side .jm-snb-sub a:hover { color: var(--chn-b-mid); }

/* ───────── 페이지 제목 (회장인사말, 연혁 ...) */
.jm-page .jm-sec-title {
	position: relative; display: block; margin: 0 0 1.6rem; padding: 0 0 .85rem 16px;
	border-bottom: 1px solid var(--chn-p-line); font-size: 24px; font-weight: 800; letter-spacing: -.8px; color: var(--chn-b-deep);
}
.jm-page .jm-sec-title::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 5px; height: 24px; margin: 0;
	border-radius: 3px; background: var(--chn-b-bar); box-shadow: none;
}
.jm-page .jm-sec-title::after {
	content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; flex: none;
	border-radius: 2px; background: var(--chn-b-mid);
}
.chn-h3 { margin: 1.8rem 0 .7rem; font-size: 17px; font-weight: 700; color: var(--chn-b-deep); }
.chn-h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--chn-b-mid); vertical-align: middle; }
.jm-ptabs + .chn-h3 { margin-top: 0; }

/* ───────── 탭 : 이어 붙인 상자형 */
.jm-page .jm-ptabs {
	display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0 0 1.8rem; padding: 0;
	border: 1px solid var(--chn-p-line); border-radius: 10px; overflow: hidden; background: #fff;
}
.jm-page .jm-ptabs li { flex: 1 1 0; min-width: max-content; }
.jm-page .jm-ptabs li + li { border-left: 1px solid var(--chn-p-line); }
.jm-page .jm-ptabs a {
	display: block; padding: .72rem 1rem; border: 0; border-radius: 0; background: transparent;
	text-align: center; color: #555 !important; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none !important;
}
.jm-page .jm-ptabs a:hover { background: var(--chn-p-soft); color: var(--chn-b-mid) !important; }
.jm-page .jm-ptabs li.on a { background: var(--chn-b-mid); color: #fff !important; }

/* ───────── 표 (임원진, 역대회장단) */
.jm-page .jm-tbl { border-top: 2px solid var(--chn-b-deep); font-size: 15px; }
.jm-page .jm-tbl th { background: var(--chn-p-soft); border-bottom: 1px solid var(--chn-p-line); color: var(--chn-b-deep); font-weight: 700; }
.jm-page .jm-tbl td { border-bottom: 1px solid #edf2f3; }
.jm-page .jm-tbl tbody tr:hover td { background: #fbfdfd; }
.jm-page .jm-tbl .jm-tbl-pos { color: var(--chn-b-mid); font-weight: 700; background: #fafcfc; border-right: 1px solid #edf2f3; }
.jm-page .jm-tbl .jm-tbl-name { color: #222; font-weight: 700; }
.jm-page .jm-tbl-note { color: #9aa7a9; }

/* ───────── 회장인사말 */
.chn-greet .jm-greet-top { border-bottom: 1px dashed var(--chn-p-line); }
.chn-greet .jm-greet-lead { color: var(--chn-b-deep); font-weight: 400; }
.chn-greet .jm-greet-lead em { color: var(--chn-b-mid); font-weight: 800; }
.chn-greet .chn-q { margin-right: 4px; font-family: Georgia, serif; font-size: 1.6em; line-height: 0; vertical-align: -.25em; color: var(--chn-b-bar); }
.chn-greet .jm-greet-photo img { border-radius: var(--chn-p-r); box-shadow: 10px 10px 0 #e4eeef; }
.chn-greet .jm-greet-body p, .chn-greet .jm-greet-txt p { line-height: 1.85; color: #444; word-break: keep-all; }

/* ───────── 연혁 : 사진 + 글 카드, 왼쪽 세로 선으로 이어짐 */
.chn-his { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--chn-p-line); }
.chn-his-item { position: relative; display: flex; gap: 1.5rem; margin: 0 0 1.4rem; padding: 1.25rem; border: 1px solid var(--chn-p-line); border-radius: var(--chn-p-r); background: #fff; }
.chn-his-item::before { /* 선 위 점 */
	content: ""; position: absolute; left: -31px; top: 1.6rem; width: 14px; height: 14px;
	border-radius: 50%; background: #fff; border: 3px solid var(--chn-b-bar);
}
.chn-his-photo { flex: 0 0 200px; }
.chn-his-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.chn-his-txt { flex: 1 1 auto; min-width: 0; }
.chn-his-y { margin: 0 !important; font-size: 26px; font-weight: 800; letter-spacing: -1px; line-height: 1.2; color: var(--chn-b-mid); }
.chn-his-t { margin: .3rem 0 .7rem; font-size: 16.5px; font-weight: 700; letter-spacing: -.4px; color: var(--chn-b-deep); line-height: 1.5; }
.chn-his-txt p { margin: 0 0 .6rem; line-height: 1.85; color: #444; word-break: keep-all; }

/* ───────── 조직도 */
.chn-organ-img { padding: 1rem; border: 1px solid var(--chn-p-line); border-radius: var(--chn-p-r); background: #fff; text-align: center; }
.chn-organ-img img { max-width: 100%; height: auto; }

@media (max-width: 767.98px) {
	.jm-page .jm-sec-title { font-size: 20px; }
	.jm-page .jm-ptabs a { padding: .6rem .7rem; font-size: 14px; }
	.jm-page .jm-tbl { font-size: 14px; }
	.chn-his { padding-left: 16px; }
	.chn-his-item { flex-direction: column; gap: .9rem; padding: 1rem; }
	.chn-his-item::before { left: -25px; }
	.chn-his-photo { flex-basis: auto; }
	.chn-his-y { font-size: 22px; }
}

/* ───────── 2026-11-20 b : 서브 페이지 조합 정리 (밝은 상단 띠에 맞춤)
   - 문제 : 위 띠는 밝은데 왼쪽 메뉴 머리 · 로그아웃은 진한 청록 덩어리, 막대는 띠만 청록이고 나머지는 주황 → 따로 노는 느낌
   - 정리 : 서브 페이지는 '밝은 바탕 + 청록 포인트' 하나로, 주황은 면허신고센터에만 (눈에 띄는 곳 한 군데)
   - 되돌리려면 이 아래 덩어리만 지우면 됨 (위 원래 규칙이 다시 적용) */
.chn-tb-deco::after { display: none; }                              /* 띠 흰 빛 제거 (더 깔끔하게) */
.chn-tb-deco::before {                                              /* 십자 무늬 : 오른쪽 끝 쪽에만 아주 옅게 */
	-webkit-mask-image: linear-gradient(90deg, transparent 55%, rgba(0,0,0,.45) 85%, rgba(0,0,0,.8) 100%);
	        mask-image: linear-gradient(90deg, transparent 55%, rgba(0,0,0,.45) 85%, rgba(0,0,0,.8) 100%);
}
.title-nav { background: #fff; }                                    /* 띠(민트)와 아래 메뉴줄(흰색)을 구분 */

/* 왼쪽 메뉴 머리 : 진한 덩어리 → 띠와 같은 연한 민트 + 청록 글자 · 막대 */
.jm-side .jm-snb-head {
	background: var(--chn-band-bg) !important;
	color: var(--chn-b-deep) !important;
	border-bottom: 1px solid var(--chn-p-line) !important;
}
.jm-side .jm-snb-head::before { background: var(--chn-b-mid); }
.jm-side .jm-snb-list > li.on > a::before { background: var(--chn-b-mid); }

/* 로그아웃 버튼 : 한 톤 가볍게 */
.jm-side .jm-ol-btn { background: var(--chn-b-mid); }
.jm-side .jm-ol-btn:hover { background: var(--chn-b-deep); }

/* 페이지 제목 막대 · 인사말 따옴표 · 연혁 점 : 주황 → 청록 */
.jm-page .jm-sec-title::before { background: var(--chn-b-mid); }
.chn-greet .chn-q { color: var(--chn-b-mid); }
.chn-his-item::before { border-color: var(--chn-b-mid); }
