@charset "utf-8";
/* 블로그(/blog) 전용 (2026-11-25, 2차 2026-11-25).
   틀(헤더·서브 타이틀·커뮤니티 탭·카드·버튼·FAQ 아코디언)은 기존 style.css 클래스를 쓰고,
   여기서는 읽기 칼럼과 기존에 없는 요소만 꾸민다.
   색: 기존 #1d804f(강조), #f4f6f8(연한 배경), rgba(0,0,0,.1) 테두리, 글자 #1c1c1b */

/* ---------- 공통 ---------- */
.blog_wrap .blog_box_title{display:block; font-size:15px; font-weight:700; margin:0 0 10px; line-height:1.4; letter-spacing:0;}
.blog_wrap .blog_empty{padding:60px 0; color:rgba(0,0,0,0.5);}
.blog_wrap .blog_preview_note{max-width:800px; margin:0 auto 20px; background:#fff7e0; border:1px solid #f0d48a; padding:10px 15px; font-size:15px;}

/* ---------- 글 상세: 읽기 칼럼 ---------- */
.blog_wrap .blog_post,
.blog_wrap .blog_after .board_detail,
.blog_wrap .blog_faq .cont_boxs{max-width:800px; margin-left:auto; margin-right:auto;}

/* 제목 영역 */
.blog_wrap .blog_post_head{padding:40px 0 30px; border-top:0; border-bottom:1px solid #e0e0e0; text-align:left;}
	.blog_wrap .blog_post_head h1{display:block;}
	.blog_wrap .blog_post_head .blog_badge{display:table; margin:0 0 15px; font-size:13px; font-weight:500; color:#1d804f; border:1px solid #1d804f; border-radius:100px; padding:4px 14px; line-height:1.5;}
	.blog_wrap .blog_post_head .blog_badge:hover{background:#1d804f; color:#fff;}
	.blog_wrap .blog_post_head h1{font-size:34px; font-weight:600; line-height:1.4; letter-spacing:-1px; word-break:keep-all;}
	.blog_wrap .blog_meta{margin-top:18px; font-size:14px; color:rgba(0,0,0,0.7); line-height:1.9; opacity:1;}
		.blog_wrap .blog_meta > ul{display:flex; flex-wrap:wrap; row-gap:2px;}
		.blog_wrap .blog_meta > ul > li{padding:0 11px 0 0 !important; margin-right:10px;}
		.blog_wrap .blog_meta > ul > li:after{right:0 !important;}
		.blog_wrap .blog_meta span{color:rgba(0,0,0,0.5); margin-right:2px;}
		.blog_wrap .blog_meta a{color:#1c1c1b; font-weight:500;}
		.blog_wrap .blog_meta a:hover{color:#1d804f;}
		.blog_wrap .blog_meta .reviewed_by{color:#1d804f; font-weight:500;}

/* 대표 이미지 */
.blog_wrap .blog_hero{margin:30px 0 0; padding:0;}
	.blog_wrap .blog_hero img{display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; margin:0 auto; border-radius:10px;} /* 본문 폭 100%, 목록 썸네일과 같은 1:1 */

/* 핵심 요약 */
.blog_wrap .blog_summary{background:#f4f6f8; border-left:4px solid #1d804f; padding:22px 26px; margin:0 0 30px; text-align:left;}
	.blog_wrap .blog_summary .blog_box_title{color:#1d804f;}
	.blog_wrap .blog_summary p{margin:0; font-size:17px; line-height:1.8; font-weight:500;}

/* 목차 (접을 수 있는 카드) */
.blog_wrap .blog_toc{border:1px solid rgba(0,0,0,0.1); border-radius:10px; margin:0 0 40px; text-align:left; background:#fff;}
	.blog_wrap .blog_toc details{padding:18px 24px;}
	.blog_wrap .blog_toc summary{cursor:pointer; margin:0; list-style:none; position:relative; padding-right:24px;}
	.blog_wrap .blog_toc summary::-webkit-details-marker{display:none;}
	.blog_wrap .blog_toc summary:after{content:""; position:absolute; right:4px; top:35%; width:8px; height:8px; border:solid rgba(0,0,0,0.5); border-width:0 0 1px 1px; transform:rotate(-45deg); transition:transform 0.2s ease;}
	.blog_wrap .blog_toc details[open] summary{margin-bottom:10px;}
	.blog_wrap .blog_toc details[open] summary:after{transform:rotate(135deg); top:45%;}
	.blog_wrap .blog_toc ol{margin:0; padding:0; font-size:15px; counter-reset:blogtoc;}
	.blog_wrap .blog_toc li{margin:5px 0; line-height:1.6;}
	.blog_wrap .blog_toc li.blog_toc_h2{counter-increment:blogtoc;}
	.blog_wrap .blog_toc li.blog_toc_h2:before{content:counter(blogtoc) "."; display:inline-block; min-width:1.6em; color:#1d804f; font-weight:600;}
	.blog_wrap .blog_toc li.blog_toc_h3{margin-left:1.6em; font-size:14px;}
	.blog_wrap .blog_toc li.blog_toc_h3:before{content:"- "; color:rgba(0,0,0,0.5);}
	.blog_wrap .blog_toc a{color:rgba(0,0,0,0.75);}
	.blog_wrap .blog_toc a:hover, .blog_wrap .blog_toc a.on{color:#1d804f;}
	.blog_wrap .blog_toc a.on{font-weight:600;}

/* 본문 */
.blog_wrap .blog_body{padding:35px 0 10px;}
.blog_wrap .blog_body .board_detail_text{font-size:17px; line-height:1.85; font-weight:400; color:#1c1c1b; letter-spacing:-0.3px; word-break:keep-all; overflow-wrap:break-word;}
	.blog_wrap .blog_body .board_detail_text p{margin:0 0 1.2em;}
	.blog_wrap .blog_body .board_detail_text h2,
	.blog_wrap .blog_body .board_detail_text h3,
	.blog_wrap .blog_body .board_detail_text h4{display:block;}
	.blog_wrap .blog_body .board_detail_text h2,
	.blog_wrap .blog_body .board_detail_text h2.h1x{font-size:24px; font-weight:700; line-height:1.45; margin:2.2em 0 0.8em; padding-left:14px; border-left:4px solid #1d804f; color:#1c1c1b;}
	.blog_wrap .blog_body .board_detail_text h3{font-size:19px; font-weight:700; line-height:1.5; margin:1.8em 0 0.6em; color:#1d804f;}
	.blog_wrap .blog_body .board_detail_text h4{font-size:17px; font-weight:700; margin:1.5em 0 0.5em;}
	.blog_wrap .blog_body .board_detail_text > :first-child{margin-top:0;}
	.blog_wrap .blog_body .board_detail_text h2[id], .blog_wrap .blog_body .board_detail_text h3[id]{scroll-margin-top:120px;}
	.blog_wrap .blog_body .board_detail_text ul,
	.blog_wrap .blog_body .board_detail_text ol{margin:0 0 1.3em; padding-left:1.5em;}
	.blog_wrap .blog_body .board_detail_text ul{list-style:disc;}
	.blog_wrap .blog_body .board_detail_text ol{list-style:decimal;}
	.blog_wrap .blog_body .board_detail_text li{margin:0.35em 0; padding-left:0.2em; list-style:inherit; display:list-item;}
	.blog_wrap .blog_body .board_detail_text li::marker{color:#1d804f;}
	.blog_wrap .blog_body .board_detail_text strong, .blog_wrap .blog_body .board_detail_text b{font-weight:700;}
	.blog_wrap .blog_body .board_detail_text a{color:#1d804f; text-decoration:underline; text-underline-offset:3px;}
	.blog_wrap .blog_body .board_detail_text blockquote{margin:1.5em 0; padding:18px 22px; background:#f4f6f8; border-left:4px solid #1d804f; color:rgba(0,0,0,0.8);}
		.blog_wrap .blog_body .board_detail_text blockquote p:last-child{margin-bottom:0;}
	.blog_wrap .blog_body .board_detail_text hr{border:0; border-top:1px solid #e0e0e0; margin:2.5em 0;}
	.blog_wrap .blog_body .board_detail_text img{display:block; max-width:100%; height:auto; margin:0 auto; border-radius:10px;}
	.blog_wrap .blog_body .board_detail_text figure{margin:1.8em 0; text-align:center;}
	.blog_wrap .blog_body .board_detail_text figcaption{margin-top:10px; font-size:14px; color:rgba(0,0,0,0.55); line-height:1.6;}
	.blog_wrap .blog_body .board_detail_text iframe{max-width:100%;}
	/* 표: 머리행 배경·줄무늬. 모바일에서 넓으면 가로 스크롤(아래 @media) */
	.blog_wrap .blog_body .board_detail_text table{width:100%; border-collapse:collapse; margin:1.5em 0; font-size:15px; line-height:1.6;}
	.blog_wrap .blog_body .board_detail_text th,
	.blog_wrap .blog_body .board_detail_text td{border:1px solid #e0e0e0; padding:11px 14px; text-align:left; vertical-align:top; min-width:90px;}
	.blog_wrap .blog_body .board_detail_text th{background:#f4f6f8; font-weight:700; color:#1c1c1b;}
	.blog_wrap .blog_body .board_detail_text thead th,
	.blog_wrap .blog_body .board_detail_text table > tbody:first-child > tr:first-child > th{background:#1d804f; color:#fff; border-color:#1d804f;}
	.blog_wrap .blog_body .board_detail_text tbody tr:nth-child(even) td{background:#fafbfc;}

/* 에디터 블로그 요소 (2차): 강조 박스·체크 목록·형광펜·동영상 */
	.blog_wrap .blog_body .board_detail_text .blog_callout{margin:1.6em 0; padding:20px 24px; background:#eef5f1; border:1px solid #cfe3d7; border-radius:10px;}
		.blog_wrap .blog_body .board_detail_text .blog_callout > :last-child{margin-bottom:0;}
		.blog_wrap .blog_body .board_detail_text .blog_callout h2, .blog_wrap .blog_body .board_detail_text .blog_callout h3{margin-top:0;}
	.blog_wrap .blog_body .board_detail_text ul.blog_checklist{list-style:none; padding-left:0.2em;}
		.blog_wrap .blog_body .board_detail_text ul.blog_checklist > li{list-style:none; position:relative; padding-left:1.9em;}
		.blog_wrap .blog_body .board_detail_text ul.blog_checklist > li:before{content:""; position:absolute; left:0.1em; top:0.42em; width:1.05em; height:1.05em; border-radius:4px; background:#1d804f;}
		.blog_wrap .blog_body .board_detail_text ul.blog_checklist > li:after{content:""; position:absolute; left:0.43em; top:0.56em; width:0.32em; height:0.58em; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg);}
	.blog_wrap .blog_body .board_detail_text mark{background:#fff3a3; color:inherit; padding:0 2px;}
	.blog_wrap .blog_body .board_detail_text u{text-underline-offset:3px;}
	.blog_wrap .blog_body .board_detail_text .note-video-wrapper{position:relative; width:100%; padding-bottom:56.25%; height:0; overflow:hidden; margin:1.6em 0; border-radius:10px;}
		.blog_wrap .blog_body .board_detail_text .note-video-wrapper iframe{position:absolute; top:0; left:0; width:100%; height:100%; border:0;}

/* FAQ: 기존 아코디언(cont_list_qna) 모양에 Q/A 표시만 */
.blog_wrap .blog_faq .cont_list_qna > ul > li .cont_list_qna_title{font-size:17px; font-weight:500; line-height:1.6; padding-right:50px;}
	.blog_wrap .blog_faq .cont_list_qna > ul > li .cont_list_qna_title:before{content:"Q"; counter-increment:none; background:#1d804f;}
	.blog_wrap .blog_faq .cont_list_qna > ul > li.check .cont_list_qna_title{background:#1d804f; border-color:#1d804f;}
	.blog_wrap .blog_faq .cont_list_qna > ul > li.check .cont_list_qna_title:before{background:#fff; color:#1d804f;}
	.blog_wrap .blog_faq .cont_list_qna > ul > li .cont_list_qna_text{position:relative; padding:20px 20px 22px 3em; font-size:16px; line-height:1.85; background:#f4f6f8; border:1px solid rgba(0,0,0,0.06); border-top:0;}
	.blog_wrap .blog_faq .cont_list_qna > ul > li .cont_list_qna_text:before{content:"A"; position:absolute; left:1.5em; top:22px; width:1.5em; height:1.5em; line-height:1.5em; text-align:center; font-size:0.9em; font-weight:600; color:#1d804f; border:1px solid #1d804f; border-radius:4px; transform:translateX(-50%);}
	.blog_wrap .blog_faq .cont_list_qna > ul > li + li{margin-top:8px;}

/* 글 끝 */
.blog_wrap .blog_after .board_detail{padding-top:0;}
.blog_wrap .blog_people, .blog_wrap .blog_related, .blog_wrap .blog_sources{margin-bottom:40px; text-align:left;}

/* 작성·감수 카드 */
.blog_wrap .blog_people ul{display:flex; flex-direction:column; gap:12px; margin:0; padding:0; list-style:none;}
	.blog_wrap .blog_people li{display:flex; align-items:center; gap:20px; border:1px solid rgba(0,0,0,0.1); border-radius:10px; padding:18px 22px; background:#fff;}
	.blog_wrap .blog_people_img{flex:0 0 88px; width:88px; height:88px; border-radius:100%; overflow:hidden; background:#f4f6f8;}
		.blog_wrap .blog_people_img img{width:100%; height:100%; object-fit:cover; object-position:50% 15%;}
	.blog_wrap .blog_people_text{flex:1; font-size:16px; line-height:1.6;}
		.blog_wrap .blog_people_text b{font-size:18px; font-weight:700;}
		.blog_wrap .blog_people_role{display:inline-block; font-size:12px; font-weight:600; color:#1d804f; border:1px solid #1d804f; border-radius:100px; padding:1px 10px; margin-right:8px; vertical-align:2px;}
		.blog_wrap .blog_people_text p{margin:4px 0 6px; font-size:14px; color:rgba(0,0,0,0.6);}
		.blog_wrap .blog_people_text a{font-size:14px; color:#1d804f; text-decoration:underline; text-underline-offset:3px;}

/* 관련 진료 카드 */
.blog_wrap .blog_related ul{display:flex; flex-wrap:wrap; gap:10px; margin:0; padding:0; list-style:none;}
	.blog_wrap .blog_related li{flex:1 1 220px; max-width:100%;}
	.blog_wrap .blog_related a{display:block; height:100%; border:1px solid rgba(0,0,0,0.1); border-radius:10px; padding:16px 44px 16px 20px; color:inherit; position:relative; transition:border-color 0.2s ease;}
	.blog_wrap .blog_related a:after{content:""; position:absolute; right:20px; top:50%; width:8px; height:8px; border:solid #1d804f; border-width:1px 1px 0 0; transform:translateY(-50%) rotate(45deg);}
	.blog_wrap .blog_related a:hover{border-color:#1d804f;}
	.blog_wrap .blog_related_group{display:block; font-size:13px; color:rgba(0,0,0,0.5); margin-bottom:3px;}

/* 참고자료 */
.blog_wrap .blog_sources ol{margin:0; padding-left:1.4em; list-style:decimal; font-size:14px; color:rgba(0,0,0,0.7);}
	.blog_wrap .blog_sources li{margin:5px 0; word-break:break-all; list-style:inherit; display:list-item;}
	.blog_wrap .blog_sources a{color:inherit; text-decoration:underline;}

/* 상담 안내 (기존 문구·버튼) */
.blog_wrap .blog_cta{display:flex; align-items:center; justify-content:space-between; gap:20px; background:#f4f6f8; border-radius:10px; padding:24px 28px; margin:0 0 40px; text-align:left;}
	.blog_wrap .blog_cta p{margin:0; font-size:15px; line-height:1.7; color:rgba(0,0,0,0.7);}
		.blog_wrap .blog_cta p b{font-size:18px; color:#1c1c1b;}
	.blog_wrap .blog_cta_btns{display:flex; gap:8px; flex:0 0 auto;}
		.blog_wrap .blog_cta_btns .btn{display:inline-flex; align-items:center; justify-content:center; width:auto; height:48px; padding:0 22px; font-size:14px;}
		.blog_wrap .blog_cta_btns .btn.btn1, .blog_wrap .blog_cta_btns .btn.btn1:hover{color:#fff;}   /* 초록 버튼 글자 대비 (3차) */
		/* 카톡상담: 카카오 브랜드 색(배경 #FEE500, 글자·심볼 #191919), 말풍선 심볼은 인라인 SVG (3차) */
		.blog_wrap .blog_cta_btns .btn.blog_btn_kakao{gap:6px; background:#FEE500; border-color:#FEE500; color:#191919; font-weight:600;}
		.blog_wrap .blog_cta_btns .btn.blog_btn_kakao:hover, .blog_wrap .blog_cta_btns .btn.blog_btn_kakao:focus-visible{background:#F4DC00; border-color:#F4DC00; color:#191919;}
		.blog_wrap .blog_kakao_icon{flex:0 0 auto; display:block;}
.blog_wrap .blog_btns > ul{display:flex; justify-content:center; gap:10px; flex-wrap:wrap;}
.blog_wrap .board_detail_title_info a{color:inherit;}

/* ---------- 목록 ---------- */
.blog_wrap .cont_gallery_list_img{overflow:hidden; border-radius:10px;}
.blog_wrap .cont_gallery_list_img img{width:100%; aspect-ratio:1/1; object-fit:cover; transition:transform 0.3s ease;}
.blog_wrap .board_list_gallery li a:hover .cont_gallery_list_img img{transform:scale(1.03);}
.blog_wrap .cont_gallery_list_img.blog_noimg{background:#f4f6f8; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;}
	.blog_wrap .cont_gallery_list_img.blog_noimg img{width:40%; aspect-ratio:auto; object-fit:contain; opacity:0.35;}
.blog_wrap .blog_list .text.text2{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; max-height:none; font-weight:600;}
.blog_wrap .blog_card_summary{margin:6px 0 4px; font-size:14px; line-height:1.6; color:rgba(0,0,0,0.6); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
/* 분류 탭: 공통 .cont_tab3 는 6등분 고정 폭이라 긴 이름(모엠의원 실제 커뮤니티 후기)이 두 줄로 밀린다(2026-11-27).
   블로그에서만 줄을 꽉 채우는 같은 폭(flex:1 1 0)으로 두고, 이름보다 좁아지지 않게(min-width:max-content) 한다.
   폭이 모자라면 다음 줄로 넘어가고 그 줄도 꽉 채운다. nth-child 여백 규칙은 gap 으로 대신한다. */
.blog_wrap .cont_tab3 ul{gap:10px;}
	.blog_wrap .cont_tab3 ul li:nth-child(n){flex:1 1 0; width:auto; min-width:max-content; margin:0;}
		.blog_wrap .cont_tab3 ul li a{white-space:nowrap; padding:5px 20px;}
/* PC 1페이지: 첫 글 크게 */
@media (min-width:1025px){
	/* 첫 글이 한 줄을 다 쓰므로 3칸 배치는 grid 로 (기존 cont_list3 의 n번째 여백 규칙이 한 칸씩 밀리지 않게) */
	.blog_wrap .blog_list_featured > ul{display:grid; grid-template-columns:repeat(3, 1fr); column-gap:20px; row-gap:40px; align-items:start;}
		.blog_wrap .blog_list_featured > ul > li{width:auto !important; margin:0 !important;}
	.blog_wrap .blog_list_featured > ul > li:first-child{grid-column:1 / -1; padding-bottom:40px; border-bottom:1px solid #e0e0e0;}
		.blog_wrap .blog_list_featured > ul > li:first-child > a{display:flex; align-items:center; gap:40px;}
		.blog_wrap .blog_list_featured > ul > li:first-child .cont_gallery_list_img{flex:0 0 40%;}
		.blog_wrap .blog_list_featured > ul > li:first-child .cont_gallery_list_img img,
		.blog_wrap .blog_list_featured > ul > li:first-child .cont_gallery_list_img.blog_noimg{aspect-ratio:1/1;}
		.blog_wrap .blog_list_featured > ul > li:first-child .cont_text_box{flex:1;}
		.blog_wrap .blog_list_featured > ul > li:first-child .text.text2{font-size:1.4em; line-height:1.45;}
		.blog_wrap .blog_list_featured > ul > li:first-child .blog_card_summary{font-size:16px; -webkit-line-clamp:3; margin:12px 0 8px;}
}

/* ---------- 모바일 ---------- */
@media (max-width:768px){
	.blog_wrap .blog_post_head{padding:25px 0 20px;}
		.blog_wrap .blog_post_head h1{font-size:25px;}
		.blog_wrap .blog_meta{font-size:13px;}
			.blog_wrap .blog_meta > ul > li{padding:0 7px;}
	.blog_wrap .blog_hero{margin-top:20px;}
	.blog_wrap .blog_body{padding-top:25px;}
	.blog_wrap .blog_body .board_detail_text{font-size:16px; line-height:1.8;}
		.blog_wrap .blog_body .board_detail_text h2, .blog_wrap .blog_body .board_detail_text h2.h1x{font-size:21px;}
		.blog_wrap .blog_body .board_detail_text h3{font-size:18px;}
		.blog_wrap .blog_body .board_detail_text table{font-size:14px; display:block; overflow-x:auto; -webkit-overflow-scrolling:touch;}
		.blog_wrap .blog_body .board_detail_text td, .blog_wrap .blog_body .board_detail_text th{min-width:110px;}
	.blog_wrap .blog_summary{padding:16px 18px;}
		.blog_wrap .blog_summary p{font-size:16px;}
	.blog_wrap .blog_toc details{padding:15px 18px;}
	.blog_wrap .blog_faq .cont_list_qna > ul > li .cont_list_qna_title{font-size:16px; padding:16px 40px 16px 3em;}
	.blog_wrap .blog_faq .cont_list_qna > ul > li .cont_list_qna_text{font-size:15px;}
	.blog_wrap .blog_people li{padding:15px; gap:14px; align-items:flex-start;}
	.blog_wrap .blog_people_img{flex-basis:64px; width:64px; height:64px;}
	.blog_wrap .blog_related li{flex-basis:100%;}
	.blog_wrap .blog_cta{flex-direction:column; align-items:stretch; padding:20px;}
		.blog_wrap .blog_cta_btns .btn{flex:1; padding:0 10px;}
}

/* ---------- GNB '닥터 블로그' 활성 표시 (2026-11-29) ----------
   head.php 가 블로그 화면에서만 li.gnb_current 를 붙인다. 이 파일은 블로그 화면에서만 읽힌다.
   PC: 기존 메뉴 강조(.check: 초록 배경·밑줄 100%)와 같게. 모바일(1024 이하) 어두운 메뉴판: 초록 굵은 글자. */
.head_wrap .head .head_menu > ul > li.gnb_current{background:#1d804f; color:#fff;}
	.head_wrap .head .head_menu > ul > li.gnb_current > a:after{width:100%;}
@media screen and (max-width:1024px){
	.head_wrap .head .head_menu > ul > li.gnb_current{background:none; color:inherit;}
		.head_wrap .head .head_menu > ul > li.gnb_current > a{color:#1d804f; font-weight:700;}
}
