/* 템플릿 보기 옷 (11-03 첫 판) — 보기 화면(view.php)과 편집 화면(edit.php)이 같이 싣는다(편집 = 보이는 그대로).
 * 블록 이름표 .hpt-b .hpt-h1 · .hpt-h2 · .hpt-p · .hpt-hr — 템플릿 디자인이 생기면 템플릿마다 이 옷을 덮는다. */
html, body { margin: 0; min-height: 100%; background: #fff; }
.hpt-body {
	font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
	color: #0f172a;
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
.hpt-page { box-sizing: border-box; max-width: 960px; margin: 0 auto; padding: 56px 24px 80px; }
.hpt-page[hidden] { display: none; }
.hpt-b { margin: 0; }
.hpt-h1 { margin: 0 0 20px; font-size: 40px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; }
.hpt-h2 { margin: 36px 0 12px; font-size: 26px; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; }
.hpt-p  { margin: 0 0 16px; font-size: 17px; line-height: 1.8; color: #334155; }
.hpt-hr { height: 0; margin: 32px 0; border: 0; border-top: 1px solid #e2e8f0; }
.hpt-page > .hpt-b:first-child { margin-top: 0; }

/* 꽉 찬 폭 템플릿(_tpl.php full) — 본문에 최대 폭 없음(11-03 사장님 «템플릿 1 은 풀페이지») */
.hpt-full .hpt-page { max-width: none; padding: 48px 24px 80px; }   /* 좌우 = 머리 안쪽(24)과 같은 선 */

/* 마스터에게만 — 오른쪽 아래 [편집] */
.hpt-editpill { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: #fff; text-decoration: none; background: #0f172a; box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .55); }
.hpt-editpill:hover { background: #0d9488; }
/* 11-03 기관 홈페이지 비공개 알림 띠(기관장 · 마스터에게만) */
.hpt-privbar { position: fixed; left: 50%; top: 12px; z-index: 60; translate: -50% 0; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; line-height: 1.4; color: #fff; background: rgba(15, 23, 42, .9); box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .6); }

@media (max-width: 640px) {
	.hpt-page { padding: 32px 16px 64px; }
	.hpt-full .hpt-page { padding: 32px 16px 64px; }
	.hpt-h1 { font-size: 30px; }
	.hpt-h2 { font-size: 22px; margin-top: 28px; }
	.hpt-p  { font-size: 16.5px; }
	.hpt-editpill { right: 16px; bottom: 16px; }
	body:has(.t1-mbar) .hpt-editpill { bottom: 92px; }   /* 폰 아래 [전화 상담 | 상담 신청] 줄 위로 */
	.hpt-privbar { top: auto; bottom: 148px; }
}
