/* 대한불교 호산종 종단소개 레이아웃 */
.hosan-intro-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-intro-hero{margin:0 -16px 32px;border-radius:0;overflow:hidden;box-shadow:0 14px 32px rgba(0,0,0,0.12);}
.hosan-intro-hero img{display:block;width:100%;height:300px;object-fit:cover;}
.hosan-intro-text{background:#f8f7f3;border-radius:22px;padding:28px 28px 30px;border:1px solid rgba(0,0,0,0.05);box-shadow:0 18px 40px rgba(0,0,0,0.08);position:relative;overflow:hidden;}
.hosan-intro-text:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 0 0,rgba(199,155,59,0.18),transparent 55%);opacity:0.95;pointer-events:none;}
.hosan-intro-text-inner{position:relative;}
.hosan-intro-label{font-size:12px;letter-spacing:0.22em;text-transform:uppercase;color:#b38b2e;margin-bottom:10px;}
.hosan-intro-lead{font-size:20px;font-weight:700;margin:0 0 20px;color:#222;line-height:1.7;}
.hosan-intro-lead:first-letter{font-size:140%;font-weight:800;}
.hosan-intro-text p{margin:0 0 12px;font-size:15px;color:#444;line-height:1.9;}
.hosan-intro-text p + p{margin-top:6px;}
@media(max-width:768px){.hosan-intro-wrap{padding:0 12px;margin-bottom:60px;} .hosan-intro-hero{margin:0 -12px 22px;} .hosan-intro-hero img{height:220px;} .hosan-intro-text{padding:22px 20px;} .hosan-intro-lead{font-size:18px;}}

/* 대한불교 호산종 종헌 페이지 */
.hosan-const-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-const-header{margin:20px 0 20px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-const-header-title{margin:0;font-size:22px;font-weight:800;}
.hosan-const-header-sub{margin:4px 0 0;font-size:13px;color:#777;}
.hosan-const-body{background:#fdfdfb;border-radius:18px;padding:22px 22px 26px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);white-space:pre-line;font-size:14px;line-height:1.9;color:#333;}
@media(max-width:768px){.hosan-const-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-const-header-title{font-size:19px;} .hosan-const-body{padding:18px 16px 22px;font-size:13px;}}

/* 불교 사진 페이지 */
.hosan-photo-page{max-width:980px;margin:0 auto 80px;padding:0 16px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#222;}
.hosan-photo-frame{border:1px solid #222;background:#fff;padding:22px 32px 30px;box-sizing:border-box;}
.hosan-photo-header{text-align:center;border-bottom:1px solid #222;padding-bottom:10px;margin-bottom:18px;}
.hosan-photo-header h2{margin:0;font-size:20px;font-weight:700;letter-spacing:0.18em;}
.hosan-photo-intro{font-size:14px;line-height:1.9;margin-bottom:10px;}
.hosan-photo-intro p{margin:0 0 4px;}
.hosan-photo-row{display:flex;gap:26px;align-items:flex-start;margin-top:26px;}
.hosan-photo-imgbox{flex:0 0 220px;max-width:240px;border:1px solid #222;min-height:190px;display:flex;align-items:center;justify-content:center;font-size:15px;text-align:center;box-sizing:border-box;}
.hosan-photo-imgbox img{display:block;width:100%;height:100%;object-fit:cover;}
.hosan-photo-text{flex:1 1 auto;}
.hosan-photo-text h3{margin:0 0 8px;font-size:15px;font-weight:700;text-align:right;}
.hosan-photo-text p{margin:0 0 6px;font-size:14px;line-height:1.9;text-align:justify;}
@media(max-width:768px){.hosan-photo-frame{padding:16px 14px 22px;} .hosan-photo-header h2{font-size:18px;letter-spacing:0.12em;} .hosan-photo-row{flex-direction:column;gap:12px;} .hosan-photo-imgbox{width:100%;max-width:none;min-height:180px;} .hosan-photo-text h3{text-align:left;}}

.bphoto-wrap{max-width:980px;margin:0 auto 40px;padding:0 16px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#222;}
.bphoto-frame{border:1px solid #000;background:#fff;padding:16px 24px 24px;box-sizing:border-box;}
.bphoto-header{border-bottom:1px solid #000;padding:6px 0 10px;margin-bottom:16px;text-align:center;}
.bphoto-header h2{margin:0;font-size:20px;font-weight:700;letter-spacing:0.2em;}
.bphoto-intro{font-size:14px;line-height:1.8;margin-bottom:12px;}
.bphoto-intro p{margin:0 0 4px;}
.bphoto-row{display:flex;gap:24px;align-items:flex-start;margin-top:22px;}
.bphoto-img{flex:0 0 200px;max-width:220px;}
.bphoto-img img{display:block;width:100%;height:200px;object-fit:cover;border:1px solid #000;}
.bphoto-text{flex:1;font-size:14px;line-height:1.9;}
.bphoto-text h3{margin:0 0 8px;font-size:15px;font-weight:700;text-align:right;}
.bphoto-text p{margin:0 0 4px;text-align:justify;}
@media(max-width:768px){.bphoto-frame{padding:12px 12px 18px;} .bphoto-header h2{font-size:18px;letter-spacing:0.15em;} .bphoto-row{flex-direction:column;gap:8px;} .bphoto-img{flex:0 0 auto;max-width:none;} .bphoto-img img{height:auto;} .bphoto-text h3{text-align:left;}}


/* 산왕사 공통 섹션 레이아웃 */
.hosan-section {max-width:1100px; margin:0 auto; padding:40px 20px;}
.hosan-jongjeong {border-top:1px solid #e3e3e3;}
.hosan-section-title {margin-bottom:24px; padding-bottom:10px; border-bottom:1px solid #e3e3e3; font-size:24px; font-weight:700; letter-spacing:-0.03em;}
.hosan-section-num {margin-right:6px; color:#b98b4a; font-weight:700;}
.hosan-section-name {vertical-align:middle;}

/* 2단 레이아웃 */
.hosan-two-column {display:flex; gap:40px; align-items:flex-start;}
.hosan-col-text {flex:1 1 0; font-size:15px; line-height:1.9; color:#333;}
.hosan-col-text p {margin:0 0 14px;}
.hosan-lead {font-size:16px; font-weight:600; margin-bottom:18px;}
.hosan-jongjeong-sign {margin-top:24px; font-weight:600;}
.hosan-jongjeong-sign-sub {display:block; margin-top:6px; font-weight:400; font-size:14px; color:#666;}

/* 오른쪽 사진 */
.hosan-col-photo {flex:0 0 280px;}
.hosan-photo-frame {border:1px solid #ddd; background:#fafafa; padding:12px; box-sizing:border-box; text-align:center;}
.hosan-photo-frame img {max-width:100%; height:auto; display:block; margin:0 auto;}
.hosan-photo-placeholder {display:inline-block; padding:80px 10px; font-size:15px; color:#555;}

/* 반응형 */
@media (max-width:960px) {.hosan-two-column {flex-direction:column;} .hosan-col-photo {flex:0 0 auto; width:100%; max-width:320px; margin:24px auto 0;}}


/* 대한불교 호산종 종정예하 페이지 */
.hosan-bless-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-bless-header{margin:24px 0 18px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-bless-title{margin:0;font-size:24px;font-weight:800;letter-spacing:-0.02em;}
.hosan-bless-num{margin-right:6px;color:#c79b3b;font-weight:800;}
.hosan-bless-name{vertical-align:middle;}
.hosan-bless-sub{margin:4px 0 0;font-size:14px;color:#777;}

/* 본문 카드 + 2단 레이아웃 */
.hosan-bless-body{display:flex;gap:32px;background:#fdfdfb;border-radius:18px;padding:22px 22px 26px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);font-size:15px;line-height:1.9;color:#333;box-sizing:border-box;}
.hosan-bless-text{flex:1 1 auto;}
.hosan-bless-text p{margin:0 0 12px;}
.hosan-bless-lead{font-size:17px;font-weight:600;margin-bottom:16px;}
.hosan-bless-sign{margin-top:18px;font-weight:600;font-size:15px;}
.hosan-bless-sign-sub{display:block;margin-top:4px;font-size:14px;color:#777;}

/* 오른쪽 사진 박스 */
.hosan-bless-photo{flex:0 0 260px;display:flex;align-items:center;justify-content:center;}
.hosan-bless-photo-box{width:100%;border-radius:12px;border:1px solid #e3dfd0;background:#f7f4ec;padding:10px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;}
.hosan-bless-photo-box img{max-width:100%;height:auto;display:block;}
.hosan-bless-photo-placeholder{font-size:15px;color:#555;text-align:center;line-height:1.5;}

/* 반응형 */
@media(max-width:768px){.hosan-bless-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-bless-title{font-size:21px;} .hosan-bless-body{flex-direction:column;padding:18px 16px 22px;font-size:14px;} .hosan-bless-photo{flex:0 0 auto;max-width:320px;margin:10px auto 0;}}


/* 대한불교 호산종 불교 사진 페이지 */
.hosan-photo-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-photo-header{margin:20px 0 16px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-photo-header-title{margin:0;font-size:22px;font-weight:800;}
.hosan-photo-header-sub{margin:4px 0 0;font-size:13px;color:#777;}
.hosan-photo-card{background:#fdfdfb;border-radius:18px;padding:22px 22px 26px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);}
.hosan-photo-intro{font-size:14px;line-height:1.9;color:#333;margin-bottom:6px;}
.hosan-photo-intro p{margin:0 0 4px;}
.hosan-photo-row{display:flex;gap:24px;align-items:flex-start;margin-top:22px;}
.hosan-photo-img{flex:0 0 220px;max-width:260px;}
.hosan-photo-img img{display:block;width:100%;height:200px;object-fit:cover;border-radius:12px;border:1px solid #ddd;background:#fff;}
.hosan-photo-text{flex:1 1 auto;font-size:14px;line-height:1.9;color:#333;}
.hosan-photo-text-title{margin:0 0 8px;font-size:16px;font-weight:700;text-align:right;}
.hosan-photo-text p{margin:0 0 6px;}
@media(max-width:768px){.hosan-photo-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-photo-header-title{font-size:19px;} .hosan-photo-card{padding:18px 16px 22px;} .hosan-photo-row{flex-direction:column;gap:10px;} .hosan-photo-img{max-width:none;} .hosan-photo-img img{height:auto;} .hosan-photo-text-title{text-align:left;}}


/* 대한불교 호산종 불교 사진 페이지 */
.hosan-photo-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}

/* 상단 전체 폭 이미지 (불교 사진) */
.hosan-photo-hero{margin:0 -16px 24px;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,0.14);}
.hosan-photo-hero img{display:block;width:100%;height:300px;object-fit:cover;}

/* 아래 내용 카드 (종헌 페이지 톤 맞춤) */
.hosan-photo-card{background:#fdfdfb;border-radius:18px;padding:22px 22px 26px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);}
.hosan-photo-intro{font-size:16px;line-height:1.9;color:#333;margin-bottom:6px;}
.hosan-photo-intro p{margin:0 0 4px;}

/* 법화경 / 화엄경 줄 – 왼쪽 이미지, 오른쪽 설명 */
.hosan-photo-row{display:flex;gap:24px;align-items:flex-start;margin-top:22px;}
.hosan-photo-img{flex:0 0 220px;max-width:260px;}
.hosan-photo-img img{display:block;width:100%;height:200px;object-fit:cover;border-radius:12px;border:1px solid #ddd;background:#fff;}
.hosan-photo-text{flex:1 1 auto;font-size:14px;line-height:1.9;color:#333;}
.hosan-photo-text-title{margin:0 0 8px;font-size:18px;font-weight:700;text-align:right;}
.hosan-photo-text p{margin:0 0 6px;}

/* 모바일 */
@media(max-width:768px){
    .hosan-photo-wrap{padding:0 12px 32px;margin-bottom:60px;}
    .hosan-photo-hero{margin:0 -12px 18px;border-radius:0 0 18px 18px;}
    .hosan-photo-hero img{height:220px;}
    .hosan-photo-card{padding:18px 16px 22px;}
    .hosan-photo-row{flex-direction:column;gap:10px;}
    .hosan-photo-img{max-width:none;}
    .hosan-photo-img img{height:auto;}
    .hosan-photo-text-title{text-align:left;}
}


/* 대한불교 호산종 출가 · 교육 · 포교원 등록 페이지 */
.hosan-ord-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-ord-header{margin:20px 0 16px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-ord-header-title{margin:0;font-size:22px;font-weight:800;}
.hosan-ord-header-sub{margin:4px 0 0;font-size:13px;color:#777;}
.hosan-ord-card{background:#fdfdfb;border-radius:18px;padding:22px 22px 26px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);margin-bottom:18px;}
.hosan-ord-flex{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;}
.hosan-ord-col-main{flex:1 1 0;min-width:0;}
.hosan-ord-col-side{flex:0 0 280px;max-width:320px;}
.hosan-ord-text{font-size:14px;line-height:1.9;color:#333;}
.hosan-ord-text p{margin:0 0 6px;}
.hosan-ord-block-title{margin:10px 0 4px;font-size:14px;font-weight:700;color:#222;}
.hosan-ord-list{margin:0 0 6px;padding-left:14px;font-size:14px;line-height:1.7;}
.hosan-ord-list li{margin-bottom:3px;}
.hosan-ord-badge{display:inline-block;font-size:11px;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:#b38b2e;margin-bottom:6px;}
.hosan-ord-section-title{margin:0 0 4px;font-size:16px;font-weight:700;color:#222;}
.hosan-ord-grid2{display:flex;flex-wrap:wrap;gap:20px;margin-top:8px;}
.hosan-ord-mini{flex:1 1 220px;background:#fbfaf6;border-radius:14px;padding:12px 14px;border:1px solid #e4decd;}
.hosan-ord-mini h4{margin:0 0 6px;font-size:14px;font-weight:700;color:#333;}
.hosan-ord-mini p{margin:0 0 4px;font-size:13px;line-height:1.7;}
.hosan-ord-mini ul{margin:4px 0 0;padding-left:14px;font-size:13px;line-height:1.7;}
.hosan-ord-note{font-size:13px;color:#666;margin-top:4px;}
/* 출가 안내 3컬럼 레이아웃 */
.hosan-ord-grid3{display:flex;flex-wrap:wrap;gap:20px;margin-top:10px;}
.hosan-ord-grid3 .hosan-ord-mini{flex:1 1 260px;}
@media(max-width:768px){.hosan-ord-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-ord-header-title{font-size:19px;} .hosan-ord-card{padding:18px 16px 22px;} .hosan-ord-flex{flex-direction:column;} .hosan-ord-col-side{flex:1 1 auto;max-width:none;}}


/* 대한불교 호산종 조직도 페이지 기본 */
.hosan-org-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-org-header{margin:24px 0 18px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-org-title{margin:0;font-size:24px;font-weight:800;letter-spacing:-0.02em;}
.hosan-org-sub{margin:4px 0 0;font-size:14px;color:#777;}
.hosan-org-body{background:#fdfdfb;border-radius:18px;padding:22px 22px 26px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);box-sizing:border-box;}
.hosan-org-chart{position:relative;overflow-x:auto;padding:6px 4px 10px;}

/* 트리 공통 라인(위에서 아래로 내려오는 구조) */
.hosan-org-tree{margin:0;padding:0;text-align:center;}
.hosan-org-tree ul{position:relative;padding-top:26px;margin:0;}
.hosan-org-tree ul::before{content:'';position:absolute;top:0;left:50%;border-left:1px solid #d8ccb0;width:0;height:26px;}
.hosan-org-tree ul::after{content:'';display:block;clear:both;}
.hosan-org-tree li{float:left;list-style:none;position:relative;padding:26px 10px 0 10px;text-align:center;}
.hosan-org-tree li::before,.hosan-org-tree li::after{content:'';position:absolute;top:0;border-top:1px solid #d8ccb0;width:50%;height:26px;}
.hosan-org-tree li::before{right:50%;}
.hosan-org-tree li::after{left:50%;}
.hosan-org-tree li:only-child::before{right:50%;width:0;border-top:none;}
.hosan-org-tree li:only-child::after{display:none;}
.hosan-org-tree li:first-child::before{border-top:none;}
.hosan-org-tree li:last-child::after{border-top:none;}
.hosan-org-tree>li::before,.hosan-org-tree>li::after{border-top:none;} /* 맨 위 종정은 윗선 제거 */

/* 개별 노드 스타일 */
.hosan-org-node{min-width:130px;padding:9px 18px;border-radius:10px;font-size:15px;font-weight:600;text-align:center;box-shadow:0 6px 14px rgba(0,0,0,0.08);color:#fff;box-sizing:border-box;white-space:nowrap;}
.hosan-org-node-top{background:#c53b3b;}
.hosan-org-node-main{background:#385a96;}
.hosan-org-node-section{background:#d88f3c;}
.hosan-org-node-sub{background:#e1a657;white-space:normal;line-height:1.5;}
.hosan-org-node-long{min-width:160px;}
.hosan-org-note{display:block;margin-top:3px;font-size:12px;color:#f8f0dc;}
.hosan-org-node-dept{background:#111;border:1px solid #444;font-size:14px;box-shadow:0 4px 10px rgba(0,0,0,0.6);}
.hosan-org-tag{display:block;margin-top:3px;font-size:12px;color:#f3e1b5;}

/* 하단 부서 라인(검은 박스들) */
.hosan-org-bottom{position:relative;margin-top:40px;padding-top:24px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}
.hosan-org-bottom::before{content:'';position:absolute;top:-24px;left:50%;width:0;height:24px;border-left:1px solid #d8ccb0;} /* 위 트리에서 내려오는 중앙 라인 */
.hosan-org-bottom-line{position:absolute;top:0;left:5%;right:5%;border-top:1px solid #d8ccb0;}
.hosan-org-bottom .hosan-org-node-dept{min-width:90px;padding:7px 14px;font-size:14px;}

/* 반응형 조정 */
@media(max-width:900px){.hosan-org-body{padding:18px 16px 22px;} .hosan-org-title{font-size:21px;} .hosan-org-node{min-width:120px;font-size:14px;}}
@media(max-width:600px){.hosan-org-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-org-tree li{padding:22px 6px 0 6px;} .hosan-org-node{min-width:110px;padding:8px 10px;} .hosan-org-bottom-line{left:2%;right:2%;} .hosan-org-bottom .hosan-org-node-dept{min-width:42%;margin-top:6px;}}


/* 대한불교 호산종 산왕사 창건 설화 페이지 */
.hosan-story-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-story-hero{margin:0 -16px 24px;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,0.14);}
.hosan-story-hero img{display:block;width:100%;height:300px;object-fit:cover;}
.hosan-story-card{background:#fdfdfb;border-radius:18px;padding:24px 24px 30px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);}
.hosan-story-head{margin-bottom:18px;}
.hosan-story-badge{display:inline-block;font-size:12px;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:#b38b2e;margin-bottom:8px;}
.hosan-story-title{margin:0 0 6px;font-size:22px;font-weight:800;color:#222;}
.hosan-story-sub{margin:0 0 12px;font-size:14px;color:#777;}
.hosan-story-lead{font-size:16px;line-height:1.9;color:#222;margin:0 0 20px;}
.hosan-story-text{font-size:15px;line-height:1.9;color:#333;}
.hosan-story-quote{margin:12px 0 16px;padding:11px 15px;border-left:3px solid #c79b3b;background:#f9f7f2;border-radius:10px;font-size:14px;line-height:1.8;color:#444;}
/* 타임라인 형태의 섹션 */
.hosan-story-section{position:relative;padding-left:24px;margin-bottom:20px;}
.hosan-story-section:before{content:"";position:absolute;left:7px;top:8px;width:9px;height:9px;border-radius:50%;background:#c79b3b;}
.hosan-story-section:after{content:"";position:absolute;left:11px;top:20px;bottom:-10px;width:1px;background:rgba(0,0,0,0.06);}
.hosan-story-section:last-child:after{display:none;}
.hosan-story-section-title{margin:0 0 8px;font-size:15px;font-weight:700;color:#222;}
.hosan-story-section p{margin:0 0 8px;}
@media(max-width:768px){
    .hosan-story-wrap{padding:0 12px 32px;margin-bottom:60px;}
    .hosan-story-hero{margin:0 -12px 18px;border-radius:0 0 18px 18px;}
    .hosan-story-hero img{height:220px;}
    .hosan-story-card{padding:20px 18px 24px;}
    .hosan-story-title{font-size:20px;}
    .hosan-story-lead{font-size:15px;}
    .hosan-story-text{font-size:14px;}
}


/* 대한불교 호산종 조직도 v2 (고정 레이아웃) */
.hosan-org2-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-org2-header{margin:24px 0 18px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-org2-title{margin:0;font-size:24px;font-weight:800;letter-spacing:-0.02em;}
.hosan-org2-sub{margin:4px 0 0;font-size:14px;color:#777;}
.hosan-org2-body{background:#fdfdfb;border-radius:18px;padding:22px 22px 28px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);box-sizing:border-box;}

/* 공통 노드 */
.org2-node{display:inline-flex;align-items:center;justify-content:center;min-width:110px;padding:8px 18px;border-radius:8px;font-size:15px;font-weight:600;text-align:center;color:#fff;box-shadow:0 6px 14px rgba(0,0,0,0.10);box-sizing:border-box;white-space:nowrap;}
.org2-node-top{background:#d43b32;}
.org2-node-main{background:#294d86;}
.org2-node-section{background:#e58a2b;}
.org2-node-sub{background:#f09833;white-space:normal;line-height:1.5;}
.org2-node-long{min-width:160px;}
.org2-note{display:block;margin-top:3px;font-size:12px;color:#f8f0dc;font-weight:400;}
.org2-node-dept{background:#111;border:1px solid #444;font-size:14px;box-shadow:0 4px 10px rgba(0,0,0,0.6);}
.org2-node-subbox{background:#555;border-color:#444;font-size:13px;box-shadow:0 3px 8px rgba(0,0,0,0.5);}
.org2-node-empty{opacity:0;pointer-events:none;}
.org2-node-has-sub{position:relative;}
.org2-node-has-sub::after{content:'';position:absolute;bottom:-14px;left:50%;width:0;height:14px;border-left:1px solid #d8ccb0;}

/* 세로/가로 라인 공통 */
.org2-line-v{width:0;border-left:1px solid #d8ccb0;margin:0 auto;}
.org2-line-h{height:0;border-top:1px solid #d8ccb0;}

/* 1) 상단 세로 축 */
.hosan-org2-top{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:22px;}
.org2-line-v-short{height:18px;}

/* 2) 중간 영역 (종의회 / 자문기관) */
.hosan-org2-mid{position:relative;display:flex;justify-content:space-between;gap:40px;margin:4px 10px 26px;}
.org2-line-v-center{position:absolute;top:-10px;left:50%;transform:translateX(-50%);height:34px;}
.org2-line-h-mid{position:absolute;top:24px;left:17%;right:17%;}
.org2-branch{flex:0 0 42%;display:flex;flex-direction:column;align-items:center;gap:10px;}
.org2-branch-head{position:relative;padding-top:16px;}
.org2-branch-head::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:0;height:16px;border-left:1px solid #d8ccb0;}
.org2-branch-row{position:relative;display:flex;justify-content:center;gap:24px;}
.org2-branch-row-two .org2-node{min-width:110px;}
.org2-line-h-branch{position:absolute;top:-10px;left:12%;right:12%;}
.org2-branch-row-two .org2-node-sub{margin-top:6px;}

/* 3) 하단 부서 라인 */
.hosan-org2-bottom{position:relative;margin-top:10px;padding-top:34px;}
.org2-line-v-bottom{position:absolute;top:-12px;left:50%;transform:translateX(-50%);height:32px;border-left:1px solid #d8ccb0;}
.org2-line-h-bottom{position:absolute;top:22px;left:4%;right:4%;}
.org2-bottom-row{display:flex;justify-content:space-between;gap:6px;}
.org2-bottom-row-sub{margin-top:8px;}
.org2-bottom-row .org2-node-dept{flex:1 1 0;min-width:auto;}
.org2-bottom-row-sub .org2-node-dept{flex:1 1 0;min-width:auto;}

/* 상단 세로 축 */
.hosan-org2-top{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:22px;}
.org2-line-v-short{width:0;height:20px;border-left:1px solid #d8ccb0;margin:0 auto;}

/* 중간 영역 (종의회 / 자문기관) */
.hosan-org2-mid{position:relative;display:flex;justify-content:space-between;gap:40px;margin:0 10px 26px;padding-top:36px;}
.org2-line-v-center{position:absolute;top:-34px;left:50%;transform:translateX(-50%);height:70px;border-left:1px solid #d8ccb0;}
.org2-line-h-mid{position:absolute;top:36px;left:17%;right:17%;height:0;border-top:1px solid #d8ccb0;}

.org2-branch{flex:0 0 42%;display:flex;flex-direction:column;align-items:center;gap:10px;}
.org2-branch-head{position:relative;padding-top:16px;}
.org2-branch-head::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:0;height:16px;border-left:1px solid #d8ccb0;}

.org2-branch-row{position:relative;display:flex;justify-content:center;gap:24px;}
.org2-branch-row-two .org2-node{min-width:110px;}
.org2-line-h-branch{position:absolute;top:-10px;left:14%;right:14%;height:0;border-top:1px solid #d8ccb0;}

/* 하단 부서 라인 */
.hosan-org2-bottom{position:relative;margin-top:6px;padding-top:30px;}
.org2-line-v-bottom{position:absolute;top:-30px;left:50%;transform:translateX(-50%);height:60px;border-left:1px solid #d8ccb0;}
.org2-line-h-bottom{position:absolute;top:16px;left:4%;right:4%;height:0;border-top:1px solid #d8ccb0;}


/* 반응형 */
@media(max-width:900px){.hosan-org2-body{padding:18px 14px 22px;} .hosan-org2-title{font-size:21px;} .org2-node{font-size:14px;min-width:100px;padding:7px 12px;} .org2-node-long{min-width:140px;}}
@media(max-width:640px){.hosan-org2-wrap{padding:0 10px 32px;margin-bottom:60px;} .hosan-org2-mid{flex-direction:column;gap:26px;} .org2-line-h-mid{left:15%;right:15%;} .org2-branch-row{gap:14px;} .org2-bottom-row,.org2-bottom-row-sub{flex-wrap:wrap;} .org2-bottom-row .org2-node-dept,.org2-bottom-row-sub .org2-node-dept{flex:0 0 48%;margin-bottom:6px;}}


/* 대한불교 호산종 총본산 산왕사 소개 페이지 */
.hosan-main-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}

/* 상단 전체 폭 이미지 */
.hosan-main-hero{margin:0 -16px 24px;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,0.14);}
.hosan-main-hero img{display:block;width:100%;height:300px;object-fit:cover;}

/* 카드 */
.hosan-main-card{background:#fdfdfb;border-radius:18px;padding:24px 24px 30px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);}
.hosan-main-head{margin-bottom:18px;}
.hosan-main-badge{display:inline-block;font-size:12px;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:#b38b2e;margin-bottom:8px;}
.hosan-main-title{margin:0 0 6px;font-size:22px;font-weight:800;color:#222;}
.hosan-main-sub{margin:0 0 10px;font-size:14px;color:#777;}
.hosan-main-lead{font-size:16px;line-height:1.9;color:#222;margin:0 0 12px;}

/* 본문(위쪽, 전체 폭) */
.hosan-main-body{font-size:15px;line-height:1.9;color:#333;margin-bottom:18px;}
.hosan-main-body p{margin:0 0 8px;}

/* 하이라이트 박스 (아래쪽, 가로 배치) */
.hosan-main-highlights{display:flex;flex-wrap:wrap;gap:20px;}
.hosan-main-highlight{flex:1 1 260px;background:#fbfaf6;border-radius:14px;padding:12px 14px;border:1px solid #e4decd;font-size:15px;line-height:1.8;color:#333;}
.hosan-main-highlight-title{margin:0 0 4px;font-size:15px;font-weight:700;color:#222;}
.hosan-main-highlight p{margin:0 0 4px;}
.hosan-main-list{margin:4px 0 0;padding-left:14px;font-size:14px;line-height:1.8;}
.hosan-main-list li{margin-bottom:3px;}

@media(max-width:768px){
    .hosan-main-wrap{padding:0 12px 32px;margin-bottom:60px;}
    .hosan-main-hero{margin:0 -12px 18px;border-radius:0 0 18px 18px;}
    .hosan-main-hero img{height:220px;}
    .hosan-main-card{padding:20px 18px 24px;}
    .hosan-main-title{font-size:20px;}
    .hosan-main-lead{font-size:15px;}
    .hosan-main-body{font-size:14px;}
    .hosan-main-highlight{font-size:14px;}
}






/* 산왕사 게송 페이지 — 좌측 이미지 + 우측 한자 그리드 + 게송 */
.hosan-verse-wrap{
    max-width:960px;
    margin:0 auto 80px;
    padding:0 16px 40px;
    box-sizing:border-box;
    font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.hosan-verse-card{
    background:#fdfdfb;
    border-radius:18px;
    padding:26px 26px 32px;
    border:1px solid #e5e1d5;
    box-shadow:0 18px 40px rgba(0,0,0,0.06);
}

/* 레이아웃: 좌측 30% 이미지 / 우측 70% 내용 */
.hosan-verse-layout{
    display:flex;
    flex-wrap:wrap;
    gap:28px;
    align-items:flex-start;
}
.hosan-verse-image{
    flex:0 0 30%;
    max-width:30%;
}
.hosan-verse-image img{
    display:block;
    width:100%;
    border-radius:16px;
    border:1px solid #e4decd;
    box-shadow:0 14px 30px rgba(0,0,0,0.1);
    object-fit:cover;
}
.hosan-verse-content{
    flex:1 1 0;
    min-width:0;
}

/* 한자 배열 박스 */
.hosan-verse-chars{
    margin-bottom:20px;
    padding:16px 18px;
    background:#f9f7f2;
    border-radius:14px;
    border:1px solid #e4decd;
}

/* 그리드 테이블: 줄·열 정렬 + 간격 */
.hosan-verse-grid-table{
    margin:0 auto;
    border-collapse:separate;
    border-spacing:10px 8px;   /* ← 가로·세로 간격 */
    table-layout:fixed;
}
.hosan-verse-grid-table td{
    padding:4px 2px;
    text-align:center;
    font-family:"Noto Serif KR","Nanum Myeongjo","Songti SC",serif;
    font-size:22px;            /* 글자 크게 */
    line-height:1.6;
    color:#222;
}
.hosan-verse-grid-table td.empty{
    padding:0;
    width:18px;
}
.hosan-verse-grid-table td.mid{
    padding-left:20px;         /* 가운데 열 간격 */
}
.hosan-verse-grid-table td.right{
    padding-left:30px;         /* 오른쪽 이름 열 간격 */
}

/* 아래 한글 게송 */
.hosan-verse-poem{
    font-size:18px;
    line-height:2;
    color:#333;
    margin-top:4px;
    padding-top:14px;
    border-top:1px dashed #e0dccf;
}
.hosan-verse-poem p{
    margin:0 0 6px;
}

@media(max-width:768px){
    .hosan-verse-wrap{
        padding:0 12px 32px;
        margin-bottom:60px;
    }
    .hosan-verse-card{
        padding:22px 18px 26px;
    }
    .hosan-verse-layout{
        flex-direction:column;
    }
    .hosan-verse-image{
        flex:1 1 auto;
        max-width:none;
    }
    .hosan-verse-grid-table td{
        font-size:20px;
    }
    .hosan-verse-poem{
        font-size:16px;
    }
}






/* 대한불교 호산종 조직도 (DIV 절대좌표 버전) */
.hosan-org-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-org-header{margin:24px 0 18px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-org-title{margin:0;font-size:24px;font-weight:800;letter-spacing:-0.02em;}
.hosan-org-sub{margin:4px 0 0;font-size:14px;color:#777;}
.hosan-org-body{background:#fdfdfb;border-radius:18px;padding:20px 18px 24px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);box-sizing:border-box;}
.hosan-org-board{position:relative;width:100%;max-width:960px;margin:0 auto;aspect-ratio:16/9;background:#fdfdfb;}

/* 공통 노드 스타일 */
.org-node{position:absolute;transform:translate(-50%,-50%);padding:6px 16px;border-radius:8px;font-size:15px;font-weight:600;color:#fff;text-align:center;white-space:normal;line-height:1.5;box-shadow:0 6px 14px rgba(0,0,0,0.08);z-index:1;box-sizing:border-box;}
.org-node-top{background:#d43b32;}
.org-node-main{background:#294d86;}
.org-node-section{background:#e58a2b;}
.org-node-sub{background:#f09833;}
.org-node-dept{background:#111111;border:1px solid #444444;font-size:14px;box-shadow:0 4px 10px rgba(0,0,0,0.6);}
.org-node-subdept{background:#555555;border:1px solid #444444;font-size:13px;box-shadow:0 3px 8px rgba(0,0,0,0.6);}
.org-node-small{display:block;font-size:13px;font-weight:400;margin-top:2px;}

/* 노드 위치 (top/left, 가운데 기준) */
.node-jongjeong{top:10%;left:50%;}
.node-chongmuwon{top:22%;left:50%;}
.node-chongmuwonjang{top:34%;left:50%;}
.node-jonguihoe{top:46%;left:28%;}
.node-jamungi{top:46%;left:72%;}
.node-pogyo{top:58%;left:22%;}
.node-hobeop{top:58%;left:34%;}
.node-pogyojang{top:70%;left:22%;}
.node-hobeopjang{top:70%;left:34%;}
/* 오른쪽 묶음 간격 넓힘: 62% / 78% */
.node-beomryul{top:58%;left:62%;}
.node-semu{top:58%;left:78%;}
.node-jeha{top:70%;left:62%;}
.node-taeyoung{top:70%;left:78%;}
/* 하단 부서와 하위 조직을 더 아래로 내림 */
.node-jongmu{top:82%;left:14%;}
.node-gyoyuk{top:82%;left:26%;}
.node-jaemu{top:82%;left:38%;}
.node-sahoe{top:82%;left:50%;}
.node-hongbo{top:82%;left:62%;}
.node-gyujeong{top:82%;left:74%;}
.node-gihoek{top:82%;left:86%;}
.node-hosan{top:92%;left:26%;}
.node-jabi{top:92%;left:50%;}
.node-gamchal{top:92%;left:74%;}

/* 공통 라인 */
.org-line{position:absolute;background:#cfc3a0;z-index:0;}
.org-line-v{width:1px;}
.org-line-h{height:1px;}

/* 중앙 메인 세로 (종정 → 총무원장 → 하단 가로선까지) */
.line-main{left:50%;top:14%;height:62%;}

/* 종의회 / 자문기관 가로선 */
.line-branch-main{top:46%;left:28%;width:44%;}

/* 종의회 / 자문기관 바로 아래 짧은 세로선 */
.line-left-1{left:28%;top:46%;height:8%;}
.line-right-1{left:72%;top:46%;height:8%;}

/* 포교국/호법국, 법률자문/세무자문 연결 가로선 */
.line-left-mid{top:54%;left:22%;width:12%;}
/* 오른쪽은 62%~78% 로 확장 */
.line-right-mid{top:54%;left:62%;width:16%;}

/* 포교/호법, 법률/세무로 내려가는 세로선 */
.line-left-2a{left:22%;top:54%;height:4%;}
.line-left-2b{left:34%;top:54%;height:4%;}
.line-right-2a{left:62%;top:54%;height:4%;}
.line-right-2b{left:78%;top:54%;height:4%;}

/* 각 국장 / 법인으로 내려가는 세로선 */
.line-left-3a{left:22%;top:58%;height:12%;}
.line-left-3b{left:34%;top:58%;height:12%;}
.line-right-3a{left:62%;top:58%;height:12%;}
.line-right-3b{left:78%;top:58%;height:12%;}

/* 하단 부서 가로선 (검은 박스 위) – 더 아래로 */
.line-bottom{top:76%;left:14%;width:72%;}

/* 하단 부서로 내려가는 7개 세로선 (가로선 → 부서 박스 중심까지) */
.line-dept-1{left:14%;top:76%;height:6%;}
.line-dept-2{left:26%;top:76%;height:6%;}
.line-dept-3{left:38%;top:76%;height:6%;}
.line-dept-4{left:50%;top:76%;height:6%;}
.line-dept-5{left:62%;top:76%;height:6%;}
.line-dept-6{left:74%;top:76%;height:6%;}
.line-dept-7{left:86%;top:76%;height:6%;}

/* 호산학당 / 자비회 / 감찰단 세로선 (부서 → 하위조직까지 더 아래로) */
.line-sub-edu{left:26%;top:82%;height:10%;}
.line-sub-soc{left:50%;top:82%;height:10%;}
.line-sub-gyu{left:74%;top:82%;height:10%;}

/* 반응형 */
@media(max-width:768px){.hosan-org-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-org-title{font-size:21px;} .hosan-org-body{padding:16px 10px 20px;} .org-node{font-size:14px;padding:5px 12px;}}







/* 산왕사 전각(산신전/약사전) 공통 레이아웃 */
.hosan-temple-wrap { max-width:1100px; margin:0 auto; padding:40px 20px 80px; }

.hosan-temple-section { padding:40px 0; border-top:1px solid #e5ded2; }
.hosan-temple-section:first-child { border-top:none; }

.hosan-temple-title { font-size:2.1rem; letter-spacing:0.12em; margin-bottom:22px; color:#222222; }
.hosan-temple-subline { width:52px; height:3px; background:#c4a16f; margin-bottom:28px; }

/* 2단 구조: 왼쪽 사진 30%, 오른쪽 텍스트 70% */
.hosan-temple-body { display:flex; gap:36px; align-items:flex-start; }

.hosan-temple-photo { flex:0 0 30%; max-width:30%; display:flex; flex-direction:column; gap:12px; }
.hosan-temple-figure { margin:0; }
.hosan-temple-img { width:100%; display:block; border-radius:8px; box-shadow:0 8px 18px rgba(0,0,0,0.12); object-fit:cover; }
.hosan-temple-photo-caption { font-size:0.9rem; color:#777777; margin-top:4px; }

.hosan-temple-text { flex:1; font-size:1.04rem; line-height:1.9; color:#444444; }
.hosan-temple-text p { margin:0 0 14px; }
.hosan-temple-text p:last-child { margin-bottom:0; }

/* 반응형 (모바일) */
@media (max-width: 900px) {
    .hosan-temple-wrap { padding:30px 16px 60px; }
    .hosan-temple-title { font-size:1.7rem; }
    .hosan-temple-body { flex-direction:column; gap:20px; }
    .hosan-temple-photo { flex:0 0 auto; max-width:100%; }
    .hosan-temple-text { font-size:0.98rem; }
}







/* 산왕사 신규등록 및 불교 입문 안내 페이지 */
.hosan-join-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}

/* 상단 헤더 - 종정예하 페이지 스타일과 통일 */
.hosan-join-header{margin:24px 0 24px;padding:14px 16px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-join-title{margin:0 0 4px;font-size:24px;font-weight:800;letter-spacing:-0.02em;color:#222;}
.hosan-join-quote{margin:0 0 8px;font-size:14px;color:#777;}
.hosan-join-intro{font-size:14px;line-height:1.9;color:#555;margin-top:4px;}
.hosan-join-intro p{margin:0 0 6px;}
.hosan-join-intro p:last-child{margin-bottom:0;}

/* 신규 신도 등록 안내 섹션 + 3개 박스 */
.hosan-join-section{background:#f9f5ec;border:1px solid #eadfcd;border-radius:12px;padding:22px 22px 24px;box-shadow:0 18px 40px rgba(0,0,0,0.04);margin-bottom:40px;}
.hosan-join-section-title{font-size:17px;margin:0 0 16px;color:#2a2418;font-weight:700;}

.hosan-join-block-row{display:flex;gap:20px;align-items:stretch;flex-wrap:wrap;}
.hosan-join-block{flex:1 1 0;background:#ffffff;border-radius:10px;border:1px solid #eadfcd;padding:14px 16px 16px;}

.hosan-join-block-head{display:inline-block;font-size:13px;font-weight:600;color:#8a6b3f;background:#f5ecdd;border-radius:999px;padding:3px 12px;margin-bottom:8px;}
.hosan-join-section-body{font-size:14px;color:#444;line-height:1.8;}

.hosan-join-list{list-style:none;margin:0;padding:0;}
.hosan-join-list li{position:relative;padding-left:14px;margin-bottom:6px;font-size:14px;}
.hosan-join-list li::before{content:'·';position:absolute;left:2px;top:0;line-height:1.4;color:#c39c5a;}

/* 등록 절차 숫자 – 1) 2) 형태만 보이게 */
.hosan-join-steps{margin:0;padding-left:0;list-style:none;font-size:14px;}
.hosan-join-steps li{margin-bottom:4px;}

/* 하단: 불교 입문자 교육 프로그램 */
.hosan-join-program{border-top:1px solid #e5ded2;padding-top:30px;}
.hosan-join-program-quote{font-size:14px;color:#8a6b3f;margin:0 0 18px;font-weight:500;}
.hosan-join-program-table-wrap{border-radius:10px;overflow:hidden;border:1px solid #eadfcd;background:#fff;}
.hosan-join-class-table{width:100%;border-collapse:collapse;font-size:14px;}
.hosan-join-class-table th,.hosan-join-class-table td{padding:10px 14px;border-bottom:1px solid #eee6d6;}
.hosan-join-class-table th{width:70px;background:#f5ecdd;color:#433321;font-weight:600;text-align:center;}
.hosan-join-class-table td{color:#444;text-align:left;}
.hosan-join-class-table tr:last-child th,.hosan-join-class-table tr:last-child td{border-bottom:none;}

/* 반응형 */
@media(max-width:768px){
.hosan-join-wrap{padding:0 12px 32px;margin-bottom:60px;}
.hosan-join-title{font-size:21px;}
.hosan-join-header{padding:12px 12px 14px;}
.hosan-join-intro{font-size:13px;}
.hosan-join-section{padding:18px 16px 20px;}
.hosan-join-block-row{flex-direction:column;gap:12px;}
.hosan-join-block{padding:12px 14px;}
.hosan-join-class-table th,.hosan-join-class-table td{font-size:13px;padding:8px 10px;}
}





/* 산왕사 오시는 길 페이지 */
.hosan-map-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-map-header{margin:24px 0 18px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-map-title{margin:0;font-size:24px;font-weight:800;letter-spacing:-0.02em;}
.hosan-map-sub{margin:4px 0 0;font-size:14px;color:#777;}
.hosan-map-box{width:100%;height:420px;border-radius:16px;border:1px solid #e5e1d5;box-shadow:0 14px 32px rgba(0,0,0,0.08);overflow:hidden;background:#e9e6dd;}
.hosan-map-info{margin-top:18px;padding:16px 18px;border-radius:14px;border:1px solid #e5e1d5;background:#fdfdfb;box-shadow:0 10px 24px rgba(0,0,0,0.04);font-size:14px;line-height:1.9;color:#333;}
.hosan-map-info p{margin:0 0 6px;}
.hosan-map-info p:last-child{margin-bottom:0;}
.hosan-map-info strong{display:inline-block;width:62px;color:#444;}
.hosan-map-info a{color:#2459a9;text-decoration:none;word-break:break-all;}
.hosan-map-info a:hover{text-decoration:underline;}
@media(max-width:768px){.hosan-map-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-map-title{font-size:21px;} .hosan-map-box{height:320px;} .hosan-map-info{font-size:13px;padding:14px 14px;}}





/* 대한불교 호산종 — 기도·불공 안내 페이지 (상단 이미지 + 카드 리스트) */
.hosan-festi-wrap{
    max-width:960px;
    margin:0 auto 80px;
    padding:0 16px 40px;
    box-sizing:border-box;
    font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* 상단 전체 폭 이미지 */
.hosan-festi-hero{
    margin:0 -16px 22px;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 18px 40px rgba(0,0,0,0.14);
}
.hosan-festi-hero img{
    display:block;
    width:100%;
    height:280px;      /* 높이 고정, 위아래 잘리도록 */
    object-fit:cover;
}

/* 전체 카드 박스 */
.hosan-festi-card{
    background:#fdfdfb;
    border-radius:18px;
    padding:26px 26px 32px;
    border:1px solid #e5e1d5;
    box-shadow:0 18px 40px rgba(0,0,0,0.06);
}

/* 각 항목 블록 */
.hosan-festi-item{
    position:relative;
    padding:18px 18px 16px 18px;
    margin-bottom:18px;
    border-radius:14px;
    background:#f9f7f2;
    border:1px solid #e4decd;
}
.hosan-festi-item:last-child{margin-bottom:0;}

/* 제목 영역 */
.hosan-festi-tagwrap{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:8px;
    margin-bottom:8px;
}
.hosan-festi-name{
    font-size:18px;
    font-weight:700;
    color:#222;
}

/* 본문 텍스트 */
.hosan-festi-body{
    font-size:16px;
    line-height:1.9;
    color:#333;
}
.hosan-festi-body p{
    margin:0 0 6px;
}
.hosan-festi-body p:last-child{
    margin-bottom:0;
}

@media(max-width:768px){
    .hosan-festi-wrap{
        padding:0 12px 32px;
        margin-bottom:60px;
    }
    .hosan-festi-hero{
        margin:0 -12px 18px;
        border-radius:0 0 18px 18px;
    }
    .hosan-festi-hero img{
        height:220px;
    }
    .hosan-festi-card{
        padding:22px 18px 26px;
    }
    .hosan-festi-name{
        font-size:17px;
    }
    .hosan-festi-body{
        font-size:15px;
    }
}








/* 산왕사 신규등록 및 불교 입문 안내 (enroll) */
.hosan-enroll-wrap{max-width:960px;margin:0 auto 80px;padding:0 16px 40px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hosan-enroll-header{margin:24px 0 18px;padding:14px 16px;border-left:4px solid #c79b3b;background:#f9f7f2;border-radius:12px;}
.hosan-enroll-title{margin:0;font-size:24px;font-weight:800;letter-spacing:-0.02em;}
.hosan-enroll-caption{margin:6px 0 0;font-size:14px;color:#777;}
.hosan-enroll-body{background:#fdfdfb;border-radius:18px;padding:22px 24px 26px;border:1px solid #e5e1d5;box-shadow:0 18px 40px rgba(0,0,0,0.06);box-sizing:border-box;font-size:15px;line-height:1.9;color:#333;}
.hosan-enroll-body p{margin:0 0 12px;}
.hosan-enroll-h3{margin:22px 0 10px;font-size:18px;font-weight:700;color:#333;border-bottom:1px solid #ebe5d5;padding-bottom:6px;}
.hosan-enroll-h4{margin:14px 0 6px;font-size:15px;font-weight:700;color:#444;}
.hosan-enroll-list{margin:0 0 10px 18px;padding:0;list-style:disc;font-size:14px;}
.hosan-enroll-list-ol{margin-left:20px;list-style:decimal;}
.hosan-enroll-list li{margin:2px 0;}
.hosan-enroll-program-caption{margin:6px 0 12px;font-size:14px;font-style:italic;color:#a07025;}
.hosan-enroll-program-table{width:100%;border-collapse:collapse;margin:4px 0 18px;font-size:14px;}
.hosan-enroll-program-table th,.hosan-enroll-program-table td{border:1px solid #ebe5d5;padding:8px 10px;text-align:left;}
.hosan-enroll-program-table th{background:#f5efe2;font-weight:700;}
.hosan-enroll-program-table tbody tr:nth-child(even){background:#fbf7ef;}
.hosan-enroll-footer-text{margin-top:6px;font-size:14px;color:#555;text-align:center;}
@media(max-width:768px){.hosan-enroll-wrap{padding:0 12px 32px;margin-bottom:60px;} .hosan-enroll-title{font-size:21px;} .hosan-enroll-body{padding:18px 16px 22px;font-size:14px;} .hosan-enroll-program-table{font-size:13px;}}

.hosan-enroll-cols{display:flex;gap:18px;margin:10px 0 18px;flex-wrap:wrap;}
.hosan-enroll-col{flex:1 1 0;min-width:220px;background:#f9f7f2;border-radius:14px;border:1px solid #e5e1d5;padding:14px 8px;box-sizing:border-box;box-shadow:0 8px 20px rgba(0,0,0,0.04);}
.hosan-enroll-col-title{margin:0 0 8px;font-size:15px;font-weight:700;color:#333;border-bottom:1px solid #ebe5d5;padding-bottom:4px;}
.hosan-enroll-col-list{margin:0;padding-left:18px;font-size:14px;line-height:1.7;}
.hosan-enroll-col-list li{margin:2px 0;}
.hosan-enroll-col-list-ol{padding-left:20px;}

/* 모바일에서 세로로 쌓이게 */
@media(max-width:768px){
    .hosan-enroll-cols{flex-direction:column;gap:10px;}
}
