/*
 * theme.json 토큰으로 표현하기 어려운 커스텀 UI만 여기서 다룬다.
 * 색상/폰트는 반드시 var(--wp--preset--color--*), var(--wp--preset--font-size--*) 로 참조할 것 —
 * 이 파일에 hex/px를 직접 하드코딩하지 않는다 (theme.json이 유일한 토큰 소스).
 */

/* 1. 실시간 안내 티커 (상단 와인색 바) — 한 줄, '오늘 하루 닫기'로 숨길 수 있다(항상 고정된 요소 아님) */
.liturgical-ticker {
	background: var(--tk-bg);
	color: var(--tk-fg);
	padding: 8px 24px;
	font-size: var(--wp--preset--font-size--small);
	gap: 12px;
	align-items: center;
	flex-wrap: nowrap;
}
.liturgical-ticker p { margin: 0; }
.liturgical-ticker .ticker-msg { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liturgical-ticker .sep { opacity: .6; }
.liturgical-ticker .tk-name { text-decoration: none; font-weight: 700; } /* 강약: 전례 이름만 강하게(굵게·선명), 날짜·바로가기·닫기는 보통 굵기에 한 단계 옅게 */
.liturgical-ticker .tk-date { font-weight: 400; color: color-mix(in srgb, var(--tk-fg) 72%, var(--tk-bg)); }
.liturgical-ticker .ticker-link a { font-weight: 400; color: color-mix(in srgb, var(--tk-fg) 72%, var(--tk-bg)); }
.liturgical-ticker .ticker-close { color: color-mix(in srgb, var(--tk-fg) 72%, var(--tk-bg)); border-color: color-mix(in srgb, var(--tk-fg) 25%, transparent); }
.liturgical-ticker .tk-name-txt { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } /* 전례 이름 자체가 매일미사 링크(밑줄 + 끝의 ↗, 새 창) — PC·폰 공통 */
.liturgical-ticker .tk-ext { margin-left: 3px; }
.liturgical-ticker .tk-name .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.liturgical-ticker .ticker-link { display: none; } /* 예전 별도 '매일미사 바로가기' 링크(마크업이 남아 있어도 숨김) */
.liturgical-ticker a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ticker-close {
	flex: none;
	min-height: 30px; /* 상하 여백이 답답해서 버튼을 줄이고 바의 위아래 여백을 넓힘 */
	padding: 2px 12px;
	font-size: 14px;
	border: 1px solid color-mix(in srgb, var(--tk-fg) 45%, transparent);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	white-space: nowrap;
}
.ticker-close:hover { background: color-mix(in srgb, var(--tk-fg) 15%, transparent); }
/* 전례색: <body class="lit-…"> 는 inc/liturgical-ticker.php 가 붙인다(오늘 날짜의 색, 기본 녹색). 여기서 색 변수 한 벌을 정하고 티커·제목 띠·푸터·소제목 선 등이 같이 쓴다.
   --lit-bg(바탕) --lit-fg(그 위 글자) --lit-line(선·띠: 흰색일 때는 보이도록 골드). 홍·녹·자는 흰 글자, 연보라·핑크·흰색은 밝은 색이라 어두운 글자. */
body, body.lit-green { --lit-bg: var(--wp--preset--color--liturgical-green); --lit-fg: var(--wp--preset--color--brand-lime); --lit-line: var(--wp--preset--color--liturgical-green); }
body.lit-red { --lit-bg: var(--wp--preset--color--liturgical-red); --lit-fg: var(--wp--preset--color--brand-lime); --lit-line: var(--wp--preset--color--liturgical-red); }
body.lit-purple { --lit-bg: var(--wp--preset--color--liturgical-purple); --lit-fg: var(--wp--preset--color--brand-lime); --lit-line: var(--wp--preset--color--liturgical-purple); }
body.lit-lavender { --lit-bg: var(--wp--preset--color--liturgical-lavender); --lit-fg: var(--wp--preset--color--liturgical-purple); --lit-line: var(--wp--preset--color--liturgical-lavender); }
body.lit-rose { --lit-bg: var(--wp--preset--color--liturgical-rose); --lit-fg: var(--wp--preset--color--liturgical-purple); --lit-line: var(--wp--preset--color--liturgical-rose); }
body.lit-white { --lit-bg: var(--wp--preset--color--liturgical-white); --lit-fg: var(--wp--preset--color--neutral-text); --lit-line: var(--wp--preset--color--brand-camel); }
.liturgical-ticker { --tk-bg: var(--lit-bg); --tk-fg: var(--lit-fg); }
body.lit-lavender .liturgical-ticker { border-bottom: 2px solid var(--wp--preset--color--liturgical-purple); } /* 연보라는 연해서 아래에 자색 선 */
body.lit-white .liturgical-ticker { border-bottom: 2px solid var(--wp--preset--color--brand-camel); } /* 흰색인 날은 티커가 헤더와 이어져 보이지 않게 아래 골드 선 */html.ticker-closed .liturgical-ticker { display: none; }
@media (max-width: 781px) {
	.liturgical-ticker { padding: 6px 16px; }
	/* 폰: 항상 2줄 — 1줄 = 날짜(왼쪽) · 오늘 닫기(오른쪽) / 줄 사이 옅은 구분선 / 2줄 = 전례 이름이 곧 '매일미사' 외부 링크(밑줄 + 끝의 ↗, 줄 수 제한 없이 줄바꿈).
	   누를 수 있는 것을 닫기 버튼과 2줄 링크로 나눠 멀리 떼어 놓아 잘못 눌리지 않게 한다. */
	/* 워드프레스 레이아웃 인라인 규칙(.wp-container-…{flex-wrap:nowrap})이 페이지에 따라 스타일 출력 순서가 달라져 이길 수 있어(본당일정 폰에서 티커 줄이 밀려 문서 폭 602px) 선택자를 한 단계 구체적으로 둔다 */
	.wp-block-group.liturgical-ticker { flex-wrap: wrap; row-gap: 0; align-items: center; padding-block: 0 4px; }
	.liturgical-ticker .ticker-msg { display: contents; }
	.liturgical-ticker .ticker-link, .liturgical-ticker .sep { display: none; }
	.liturgical-ticker .tk-date { order: 1; font-weight: 400; font-size: 14px; color: color-mix(in srgb, var(--tk-fg) 68%, var(--tk-bg)); white-space: nowrap; min-height: 48px; display: flex; align-items: center; }
	.liturgical-ticker .ticker-close { order: 2; margin-left: auto; min-height: 36px; padding: 2px 10px; font-size: 13px; color: color-mix(in srgb, var(--tk-fg) 68%, var(--tk-bg)); border-color: color-mix(in srgb, var(--tk-fg) 25%, transparent); } /* 보조 요소: 작고 옅게 */
	.liturgical-ticker .tk-name { box-sizing: border-box; order: 3; flex: 0 0 100%; display: block; min-height: 44px; padding-block: 10px; white-space: normal; line-height: 1.4; font-weight: 700; text-decoration: none; border-top: 1px solid color-mix(in srgb, var(--tk-fg) 16%, transparent); }
	.liturgical-ticker .tk-name-txt { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
	.liturgical-ticker .tk-ext { display: inline; margin-left: 3px; } /* 마침표처럼 글 끝에 붙는다(밑줄 없음) */
	.liturgical-ticker .tk-name .screen-reader-text { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* 2. 헤더 — 한 줄로 얇게: 로고 · 메뉴 · 글자 크기. (교구·사이트명 텍스트는 로고 대체 텍스트용이라 화면에서 숨김) */
.site-header {
	position: static;
	z-index: 40;
	background: var(--wp--preset--color--neutral-bg);
	padding: 10px 24px;
	gap: 16px;
	flex-wrap: nowrap;
	align-items: center;
	border-bottom: 1px solid var(--wp--preset--color--neutral-border);
}
.site-header { position: sticky; top: 0; } /* 상단 고정: PC·폰 공통(2026-11-08). 전례 띠(티커)는 고정하지 않고 스크롤로 올라가 사라진다. */
.site-header.is-layout-flex { flex-wrap: nowrap; } /* 워드프레스 코어 인라인 `.is-layout-flex{flex-wrap:wrap}`가 일부 화면(WYD)에서 뒤에 와 덮어써 폰에서 메뉴 버튼이 새 줄로 내려가던 문제(임시 주소 시험 11/21): 한 칸 높은 우선순위로 모든 화면 nowrap */
.site-brand { gap: 12px; flex: 0 0 auto; }
.site-brand .wp-block-site-logo { margin: 0; }
.site-brand .wp-block-site-logo img { height: auto; max-height: 48px; width: auto; max-width: 100%; }
/* 로고 이미지가 있으면 이름 텍스트는 스크린리더·검색엔진용으로만 두고 화면에서는 숨김. 로고가 없으면 자동으로 보인다. */
.site-names { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; gap: 0; }
.site-brand:not(:has(.wp-block-site-logo img)) .site-names { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; }
.site-diocese { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--neutral-gray); }
.site-names .wp-block-site-title { margin: 0; font-size: var(--wp--preset--font-size--x-large); font-weight: 700; }
.site-names .wp-block-site-title a { color: var(--wp--preset--color--neutral-text); text-decoration: none; }
.site-header .gnb { flex: 1 1 auto; gap: clamp(24px, 3.2vw, 64px); font-weight: 700; justify-content: center; } /* 메뉴 간격: 1024px에서 최소(꽉 차는 한계), 넓은 화면일수록 넓게 */
.site-header .gnb a { text-decoration: none; color: var(--wp--preset--color--neutral-text); }
.site-header .gnb .wp-block-navigation-item__content { padding-block: 10px; } /* 누를 수 있는 영역을 위아래로 넓힘 */
.site-header .gnb a:hover { color: var(--wp--preset--color--brand-wine); }
.header-actions { flex: 0 0 auto; gap: 8px; }
/* 폰: 로고 + 햄버거 + 글자 크기 버튼이 360px 폭에서도 한 줄에 들어가도록 여백·로고 높이를 줄인다 */
@media (max-width: 781px) {
	.site-header { padding: 8px 12px; gap: 10px; }
	.site-brand .wp-block-site-logo img { max-height: 40px; }
	.font-size-toggle button { min-width: 36px; }
}
/* 좁은 폰(≤480px): '메뉴' 글자가 붙은 햄버거가 들어가도 360px 폭에서 가로 스크롤이 생기지 않게 조금씩 줄임 */
@media (max-width: 480px) {
	.site-header { gap: 6px; }
	.site-brand .wp-block-site-logo img { max-height: 34px; }
	.font-size-toggle button { min-width: 32px; }
}
/* 320px 폰(구형 소형 기기): 로고·버튼 크기를 더 줄여 가로 스크롤 방지 */
@media (max-width: 340px) {
	.site-header { padding: 8px 8px; gap: 4px; }
	.site-brand .wp-block-site-logo img { max-height: 28px; }
	.header-actions { gap: 4px; }
	.font-size-toggle button { min-width: 28px; }
}
/* 카드 31 후속: 82행과 같은 원인 — 코어 `.is-layout-flex{gap:24px}`가 WYD 화면에서는 우리 .site-header gap(16/10/6/4px)을 덮어 375px에서 간격 24px → 로고·글자 크기·메뉴가 385px로 넘쳐 폰 화면이 넓어졌다(홈은 6px). 위 값을 .site-header.is-layout-flex 로 한 번 더 */
.site-header.is-layout-flex { gap: 16px; }
@media (max-width: 781px) { .site-header.is-layout-flex { gap: 10px; } }
@media (max-width: 480px) { .site-header.is-layout-flex { gap: 6px; } }
@media (max-width: 340px) { .site-header.is-layout-flex { gap: 4px; } }
/* 메뉴가 두 줄로 꺾이지 않게: 1024px 미만은 햄버거 메뉴(코어 기본은 600px 미만) */
@media (max-width: 1023px) {
	/* 폰·태블릿: 글자 크기 버튼은 왼쪽, 햄버거 메뉴는 화면 맨 오른쪽(익숙한 위치, 사용자 요청 2026-10-08) */
	.site-header .site-brand { order: 1; }
	.site-header .header-actions { order: 2; margin-left: auto; }
	.site-header .gnb { order: 3; flex: 0 0 auto; margin-left: 0; }
}
@media (min-width: 600px) and (max-width: 1023px) {
	.site-header .gnb .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.site-header .gnb .wp-block-navigation__responsive-container-open { display: flex !important; }
}
.wp-block-button.is-style-pill .wp-block-button__link,
.first-visit-cta .wp-block-button__link {
	border-radius: 999px;
	padding: 10px 24px;
	min-height: 44px; /* 접근성: 클릭 영역 44px 이상 */
	display: inline-flex;
	align-items: center;
}

.first-visit-cta .wp-block-button__link {
	background: var(--wp--preset--color--brand-wine);
	color: var(--wp--preset--color--neutral-bg);
}
.first-visit-cta .wp-block-button__link:hover {
	background: var(--wp--preset--color--brand-wine-dark);
	color: var(--wp--preset--color--neutral-bg);
}

/* 3. 퀵메뉴 — 히어로 이미지 '안쪽 맨 아래'에 완전히 떠 있는 카드 (inc/quick-menu.php, 마크업은 patterns/home-hero.php 안).
   히어로 이미지가 카드 아래까지 내려오고, 카드 영역부터 아래로 서서히 어두워지는 그라데이션(.home-hero::after)을 깐다.
   카드는 진한 와인 배경 + 골드 라인 + 크림 아이콘·흰 글자(사용자 확정 2026-10-08). 색은 --qm-bg 한 줄로 바꾼다. */
:root {
	--qm-bg: color-mix(in srgb, var(--wp--preset--color--brand-wine-dark) 62%, #000); /* 진한 와인(사용자 확정). 밝은 카드로 되돌리려면 brand-camel-light 94% 등으로 */
	--qm-card-h: 92px; /* 카드 높이(그라데이션 높이 계산용, 폰에서는 아래 미디어쿼리에서 3×2 높이로) */
}
.quick-menu-wrap { width: 100%; } /* 위치는 히어로 쪽 규칙(3-1) */
.quick-menu {
	max-width: 1100px;
	margin: 0 auto;
	background: var(--qm-bg);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--brand-camel) 70%, transparent);
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
	padding: 6px 8px;
}
.quick-menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
/* 보이는 항목이 6개보다 적으면(숨김 설정) 칸 수에 맞춰 막대 전체를 균등하게 채운다(카드 A14-2). 6개(기본)는 마크업에 data-n 이 없어 위 규칙 그대로. */
@media (min-width: 782px) {
	.quick-menu ul[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
	.quick-menu ul[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quick-menu ul[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.quick-menu ul[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.quick-menu ul[data-n="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.quick-menu li + li { border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--brand-camel) 40%, transparent); }
.quick-menu a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 6px 12px;
	min-height: 44px;
	border-radius: 10px;
	font-weight: 400;
	text-align: center;
	text-decoration: none;
	color: #fff;
}
.quick-menu a:hover, .quick-menu a:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.quick-menu .qm-icon { width: 26px; height: 26px; stroke-width: 1.4; color: var(--hn-on-dark, #FFF8DC); }
.quick-menu span { font-size: 15px; line-height: 1.3; }

/* 앵커 이동: 고정 헤더에 가리지 않게 여백, 부드럽게 스크롤(움직임을 줄이는 설정을 쓰는 사용자는 즉시 이동), 도착 구역을 잠깐 강조 */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:root { --hn-anchor-offset: 88px; } /* 앵커 이동 시 고정 헤더에 제목이 가리지 않게 두는 여백(PC 헤더 높이 ≈70px 기준) */
#mass, #location, #office, #news, #news-bulletin, #news-notice, #news-schedule, #news-wyd, #news-anniv30, #media { scroll-margin-top: var(--hn-anchor-offset); }
@keyframes hd-target-flash { from { box-shadow: inset 0 0 0 3px var(--wp--preset--color--brand-camel); } to { box-shadow: inset 0 0 0 3px transparent; } }
.home-section:target, .ncard:target { animation: hd-target-flash 1.8s ease-out 1; }
.section-top { margin: 24px 0 0; text-align: right; font-size: var(--wp--preset--font-size--small); }
.section-top a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--wp--preset--color--neutral-gray); }
.news-section .section-top a { color: inherit; }

/* 3-1. 홈 히어로 (장면 슬라이드) — 마크업·데이터 inc/hero.php, 동작 assets/js/hero-slider.js */
/* 높이는 이미지 크기가 아니라 여기서 정한다. 화면 폭에 비례해 커지고 최소/최대로 제한(내용이 많으면 늘어남). 이미지 규격은 docs/hero-image-spec.md. */
:root {
	--hero-ratio-desktop: 1 / 2; /* 높이 = 폭 × 0.5 */
	--hero-ratio-tablet: 3 / 4;
	--hero-ratio-mobile: 3 / 2; /* 높이 = 폭 × 1.5 */
	--hero-pad-x: 88px; /* 글 좌우 여백 = PC 이동 버튼(48px + 바깥 20px) 자리 */
	--hero-qm-bottom: 28px;
	--hero-pad-b: calc(var(--qm-card-h) + var(--hero-qm-bottom) + 72px); /* 퀵메뉴 카드 + 점 표시 줄 자리를 비워 글이 가려지지 않게 */
}
.home-hero {
	position: relative;
	overflow: hidden;
	min-height: clamp(600px, calc(100vw * var(--hero-ratio-desktop)), 740px);
	background-color: var(--wp--preset--color--brand-wine-dark); /* 이미지를 지정하지 않았을 때 */
}
.hero-track {
	position: relative;
	z-index: 0;
	display: flex;
	min-height: inherit;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-track:focus-visible { outline: 3px solid var(--wp--preset--color--brand-camel); outline-offset: -3px; }
.hero-slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	box-sizing: border-box;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 56px var(--hero-pad-x) var(--hero-pad-b);
}
.hero-media, .hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .hero-video { display: block; object-fit: cover; }
.hero-video.hv-m { display: none; }
/* 어둡게(막): 글자가 있는 왼쪽은 진하고 오른쪽은 옅게(전체 평균은 공통값 %와 같게). 세기 --hero-a 는 inc/hero.php 가 공통값·장면별 단계로 내려준다 */
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, calc(var(--hero-a, 0) * 1.6)) 0%, rgba(0, 0, 0, calc(var(--hero-a, 0) * 1.3)) 45%, rgba(0, 0, 0, calc(var(--hero-a, 0) * .4)) 80%, rgba(0, 0, 0, 0) 100%); }
@media (max-width: 781px) { .hero-shade { background: linear-gradient(90deg, rgba(0, 0, 0, calc(var(--hero-a, 0) * 1.2)) 0%, rgba(0, 0, 0, calc(var(--hero-a, 0) * 1.1)) 70%, rgba(0, 0, 0, calc(var(--hero-a, 0) * .6)) 100%); } }
.hero-text { position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0 auto; }
/* 카드 영역부터 아래로 서서히 어두워지는 그라데이션(이미지는 그 아래까지 이어진다) */
.home-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: calc(var(--qm-card-h) + 60px);
	background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--wp--preset--color--neutral-text) 62%, transparent) 100%);
	pointer-events: none;
	z-index: 1;
}
/* 퀵메뉴 카드: 모든 장면 공통, 히어로 맨 아래에 고정 */
.home-hero .quick-menu-wrap { position: absolute; left: 0; right: 0; bottom: var(--hero-qm-bottom); z-index: 3; margin: 0 !important; padding: 0 24px; box-sizing: border-box; }
/* 이동 버튼(PC) · 점 표시 · 폰 안내 아이콘 · 영상 일시정지 */
.hero-nav { display: none; position: absolute; top: 44%; z-index: 3; height: 48px; margin-top: -24px; padding: 0 10px; gap: 2px; flex-direction: row; align-items: center; justify-content: center; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .65); background: rgba(0, 0, 0, .45); color: #fff; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; } /* 가로 한 줄: 화살표(24px) + 글자 라벨('이전'·'다음'), 높이 48px. 폭은 글 시작(88px)을 넘지 않게 약 76px */
.hero-nav:hover:not(:disabled) { background: rgba(0, 0, 0, .55); }
.hero-nav:focus-visible, .hero-pause:focus-visible, .hero-dots button:focus-visible { outline: 3px solid var(--hn-on-dark, #FFF8DC); outline-offset: 2px; }
.hero-nav:disabled { opacity: .3; cursor: default; }
.hero-prev { left: 8px; }
.hero-next { right: 8px; }
@media (min-width: 782px) { .hero-nav { display: flex; } }
/* 점 표시 줄(.hero-ctl): '1 / 4' + 점 + 다음 장면 이름(누르면 이동) + 자동 넘김 끄기/켜기. 좁으면 두 줄로 */
.hero-ctl { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--hero-qm-bottom) + var(--qm-card-h) + 10px); z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; width: max-content; max-width: calc(100% - 32px); padding: 4px 14px; border-radius: 26px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; }
.hero-count { white-space: nowrap; }
.hero-dots { display: flex; gap: 2px; }
.hero-nextname, .hero-auto { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.hero-nextname { max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-auto { border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px; white-space: nowrap; }
.hero-nextname:hover, .hero-auto:hover { background: rgba(255, 255, 255, .18); }
.hero-nextname:focus-visible, .hero-auto:focus-visible { outline: 3px solid var(--hn-on-dark, #FFF8DC); outline-offset: 2px; }
.hero-noauto .hero-auto { display: none; } /* '동작 줄이기'·데이터 절약 사용자는 자동 넘김이 없으므로 버튼도 없음 */
.hero-live { margin: 0; }
.hero-dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .25); box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.hero-dots button[aria-current="true"]::before { background: #fff; }
.hero-pause { position: absolute; top: 12px; right: 12px; z-index: 3; display: none; width: 40px; height: 40px; padding: 0; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .65); background: rgba(0, 0, 0, .35); color: #fff; font-size: 12px; cursor: pointer; }
.hero-cur-video .hero-pause { display: flex; }
.hero-pause .hp-play, .hero-pause[aria-pressed="true"] .hp-pause { display: none; }
.hero-pause[aria-pressed="true"] .hp-play { display: inline; }
@media (max-width: 1023px) { .home-hero { min-height: clamp(540px, calc(100vw * var(--hero-ratio-tablet)), 640px); } }
@media (max-width: 781px) {
	:root { --hero-pad-x: 20px; --hero-qm-bottom: 20px; }
	.home-hero { min-height: clamp(600px, calc(100vw * var(--hero-ratio-mobile)), 720px); }
	.hero-slide { padding-top: 40px; }
	.home-hero .quick-menu-wrap { padding: 0 16px; }
	.hero-video.hv-m { display: block; }
	.hero-video.hv-d { display: none; }
}
/* 숏코드 뒤에 WP 가 붙이는 빈 <p> 가 히어로와 지표 띠 사이에 24px 틈을 만든다 → 숨김 */
.home-hero + p:empty { display: none; }

/* 3-2. 폰 퀵메뉴 배치(2026-10-30, 사용자 피드백: 카드가 히어로를 너무 덮음). 데스크톱의 '히어로 안쪽 떠 있는 카드'는 그대로.
   경계 걸침(사용자 확정 2026-10-30): 카드의 약 1/3 만 히어로 위, 나머지 2/3 는 아래 지표 띠 위에 뜬다. */
@media (max-width: 781px) {
	:root { --qm-over: calc(var(--qm-card-h) * 2 / 3); --qm-on-hero: calc(var(--qm-card-h) / 3); }
	.home-hero { overflow: visible; --hero-pad-b: calc(var(--qm-on-hero) + 104px); } /* 폰: 점 표시 줄이 두 줄이 될 수 있어 자리를 더 둠 */
	.home-hero::after { display: none; }
	.home-hero .quick-menu-wrap { bottom: calc(var(--qm-over) * -1); }
	.hero-ctl { bottom: calc(var(--qm-on-hero) + 10px); }
	.home-hero ~ .wyd-strip, .home-hero ~ .qm-first { padding-top: calc(var(--qm-over) + 14px); } /* 퀵메뉴가 걸치는 자리: 히어로 뒤 첫 구역(통계 띠, 꺼졌으면 띠 배너, 둘 다 없으면 빈 칸) */
	.home-hero { margin-bottom: 0; }
}
.home-hero .hero-link { position: absolute; inset: 0; z-index: 1; display: block; } /* 장면 전체 링크: 이미지 위, 글·버튼 아래 */
.home-hero .hero-link:focus-visible { outline: 4px solid var(--wp--preset--color--brand-lime); outline-offset: -4px; }
.home-hero .hero-slide .hero-text { z-index: 2; pointer-events: none; }
.home-hero .hero-slide .hero-text .wp-block-button__link { pointer-events: auto; }
.home-hero .hero-text-off .hero-text { display: none; }
.home-hero .hero-eyebrow { color: var(--wp--preset--color--brand-lime); letter-spacing: .14em; margin: 0 0 12px; }
.home-hero .hero-title { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.3; margin: 0 0 16px; }
.home-hero .hero-lead { max-width: 44ch; margin: 0 0 28px; }
.home-hero .hero-title, .home-hero .hero-lead { word-break: keep-all; overflow-wrap: anywhere; } /* 낱말 중간에서 끊지 않는다("맞이하였습/니다", 2026-11-27) */
.home-hero .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; } /* 히어로 버튼 사이 간격(폰에서 두 줄로 꺾여도 위아래 간격 동일) */
/* 사진 위 가독성: 막을 거의 없애는 대신 글자·버튼에 부드러운 그림자(사용자 결정 2026-10-08) */
.home-hero .hero-eyebrow, .home-hero .hero-title, .home-hero .hero-lead { text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 2px 16px rgba(0, 0, 0, .45); }
.home-hero .wp-block-button__link { box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.home-hero .hero-btn-primary .wp-block-button__link { background: var(--hn-on-dark, #FFF8DC); color: var(--wp--preset--color--neutral-text); } /* 짙은 와인 배경 위에서는 크림 + 어두운 글자 */
.home-hero .hero-btn-primary .wp-block-button__link:hover { background: var(--wp--preset--color--neutral-bg); }

/* 3-2. WYD 띠 (시안 A 확정 2026-11-06) — 짙은 와인 띠, 로고는 흰 명패, 글자는 크림·레몬라임, 골드는 밑선·세로선. 숫자는 숏코드(.stat-value)가 채운다. */
.wyd-strip { margin-block-start: 0 !important; border-top: 3px solid var(--wp--preset--color--brand-camel); background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); border-bottom: 3px solid var(--wp--preset--color--brand-camel); }
.wyd-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: auto 1.15fr 1fr 1fr; align-items: stretch; }
/* 칸 높이는 같고(stretch) 세로선은 칸의 전체 높이 → 세 줄 모두 길이가 같다. 칸 안의 글은 위아래 가운데 */
.wyd-cell { display: flex; flex-direction: column; justify-content: center; min-height: 92px; padding: 18px 28px; row-gap: 2px; }
.wyd-cell + .wyd-cell { border-left: 1px solid rgba(255, 248, 220, .35); }
.wyd-logo { padding-left: 0; }
.wyd-plate { display: grid; place-items: center; width: 168px; padding: 10px 14px; background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.wyd-plate img { display: block; width: 140px; height: auto; }
.wyd-cap { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.wyd-title { margin: 0; font-size: clamp(20px, 2.1vw, 26px); font-weight: 700; line-height: 1.3; color: var(--wp--preset--color--brand-lime); }
.wyd-note { margin: 0; font-size: 14px; line-height: 1.4; opacity: .9; }
.wyd-strip .stat-value { margin: 0; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.wyd-strip .stat-value small { font-weight: 700; margin-left: 4px; font-size: .45em; }
.wyd-strip .rosary-who { font-weight: 700; font-size: 16px; margin-right: 6px; }
.wyd-strip .rosary-parish { font-size: clamp(34px, 4vw, 48px); }               /* ① 한남동성당 수치: 가장 크게 */
.wyd-strip .rosary-parish .rosary-who { display: none; }                      /* 라벨은 '한남동성당 봉헌 현황' 이 대신함 */
.wyd-strip .rosary-national { font-size: clamp(17px, 1.6vw, 19px); font-weight: 400; margin-top: 2px; } /* ② 전국 수치: 작게 */
.wyd-strip .rosary-national small { font-size: 1em; font-weight: 400; }
.wyd-strip .wyd-cell .stat-value:not(.rosary-parish):not(.rosary-national) { font-size: clamp(32px, 3.6vw, 44px); color: var(--wp--preset--color--brand-lime); } /* ④ D-day */
.wyd-strip .stat-value.is-pending { font-size: clamp(18px, 2vw, 22px); white-space: normal; opacity: .9; }
@media (max-width: 1023px) {
	.wyd-in { grid-template-columns: auto 1fr 1fr; }
	.wyd-cell { padding: 16px 18px; }
	.wyd-logo { grid-row: 1 / span 1; }
	.wyd-plate { width: 132px; }.wyd-plate img { width: 108px; }
}
main.wp-block-group > .alignfull { margin-block-start: 0; } /* 전체 폭 구역 사이의 흰 틈 제거 */
.wp-site-blocks > * + * { margin-block-start: 0; } /* 헤더·본문·푸터 사이의 기본 간격 제거(헤더와 히어로 사이 흰 틈) */
@media (max-width: 781px) {
	.wyd-in { grid-template-columns: auto auto; justify-content: center; padding: 0 16px; } /* 폰: 맨 윗줄(로고+문구)은 한 덩어리로 가운데 */
	.wyd-cell { min-height: 0; padding: 14px 0; }
	.wyd-logo { padding: 14px 12px 14px 0; }
	.wyd-logo + .wyd-cell { padding-left: 0; border-left: 0; }
	.wyd-logo + .wyd-cell ~ .wyd-cell { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 248, 220, .35); }
	.wyd-plate { width: 108px; padding: 8px 10px; border-radius: 12px; }.wyd-plate img { width: 88px; }
	.wyd-logo + .wyd-cell ~ .wyd-cell { align-items: center; text-align: center; } /* 폰: 봉헌 현황·D-day 칸은 가운데 정렬 */
	.wyd-strip .has-tiles { justify-content: center; }
	.wyd-strip .rosary-parish { font-size: 40px; }
	.wyd-strip .wyd-cell .stat-value:not(.rosary-parish):not(.rosary-national) { font-size: 34px; }
}

.wyd-strip .rosary-tiles { display: inline-flex; align-items: flex-end; gap: 4px; }
.wyd-strip .rosary-tiles i { font-style: normal; display: grid; place-items: center; min-width: .82em; height: 1.28em; border-radius: 6px; background: var(--wp--preset--color--brand-wine-dark); border: 1px solid rgba(197, 162, 110, .85); color: var(--hn-on-dark, #FFF8DC); font-variant-numeric: tabular-nums; }
.wyd-strip .rosary-tiles em { font-style: normal; color: var(--wp--preset--color--brand-camel); margin: 0 -1px; line-height: 1; }
.wyd-strip .has-tiles { display: flex; align-items: flex-end; }
.wyd-strip .rosary-parish.has-tiles { font-size: clamp(28px, 3vw, 38px); }
.wyd-strip .has-tiles small { margin: 0 0 6px 6px; font-size: 16px; }
@media (max-width: 781px) { .wyd-strip .rosary-parish.has-tiles { font-size: 30px; } .wyd-strip .rosary-tiles { gap: 3px; } }

/* 3-3. 홈 섹션 공통 */
.home-section { padding: 56px 24px; }
.home-section .section-title { font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 28px; }
.home-section.is-alt { border-top: 1px solid var(--wp--preset--color--neutral-border); border-bottom: 1px solid var(--wp--preset--color--neutral-border); }

.mass-card { background: var(--wp--preset--color--neutral-bg); border: 1px solid var(--wp--preset--color--neutral-border); padding: 20px; }
.mass-card h3 { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--neutral-gray); margin: 0 0 12px; }
.mass-list { list-style: none; margin: 0; padding: 0; }
.mass-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 8px 0; } /* 라벨+값이 한 줄에 안 들어가면 값이 아래로(라벨이 한 글자씩 끊기지 않게) */
.mass-list li:last-child { border-bottom: 0; }
.mass-list strong { color: var(--wp--preset--color--brand-wine); white-space: nowrap; }
.mass-list li.is-note { flex-direction: column; align-items: flex-start; gap: 2px; } /* 값이 긴 행(최종 내용)은 줄바꿈: 라벨 아래에 값을 둔다 */
.mass-list li.is-note strong { white-space: normal; line-height: 1.45; word-break: keep-all; overflow-wrap: break-word; }

.news-section a { color: var(--wp--preset--color--neutral-bg); }
.news-go a { font-weight: 700; text-underline-offset: 4px; }


/* 3-4. 푸터 */
.site-footer { background: var(--wp--preset--color--brand-wine-dark); color: var(--wp--preset--color--brand-lime); padding: 44px 24px 24px; }
.site-footer h4 { color: var(--wp--preset--color--neutral-bg); font-size: var(--wp--preset--font-size--medium); margin: 0 0 12px; }
.site-footer a { color: var(--wp--preset--color--brand-lime); text-decoration: none; }
.site-footer a:hover { color: var(--wp--preset--color--neutral-bg); text-decoration: underline; }
.footer-brand { font-size: var(--wp--preset--font-size--x-large); color: var(--wp--preset--color--neutral-bg); margin: 0 0 8px; }
.footer-small { font-size: var(--wp--preset--font-size--small); line-height: 1.9; margin: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; }
/* 푸터 메뉴 열: 1st 개수(5~6)에 맞춰 자동으로 줄바꿈 (inc/gnb-menu.php) */
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 24px 20px; }
.footer-nav-col h4 { margin-bottom: 10px; } .footer-nav-col h4 a { color: inherit; }
.footer-nav-col .footer-list li { margin-bottom: 6px; }
.footer-fine { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral-bg) 20%, transparent); font-size: var(--wp--preset--font-size--small); }

.footer-credit { margin: 6px 0 0; font-size: 0.8125rem; opacity: 0.75; }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 781px) {
	:root { --qm-card-h: 158px; }
	.quick-menu ul { grid-template-columns: repeat(3, 1fr); }
	.quick-menu li + li { border-left: 0; }
	.quick-menu li:not(:nth-child(3n+1)) { border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--brand-camel) 40%, transparent); }
	.quick-menu li:nth-child(n+4) { border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--brand-camel) 40%, transparent); }
	/* 폰: 항목 수별 배열(카드 A14-2). 1·2개는 한 줄 균등, 4개는 2×2, 5개는 윗줄 3 + 아랫줄 2를 가운데로(6칸 격자에서 칸마다 2칸씩 차지). 6개·3개는 위 기본(3열). */
	.quick-menu ul[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
	.quick-menu ul[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quick-menu ul[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quick-menu ul[data-n="4"] li:nth-child(odd) { border-left: 0; }
	.quick-menu ul[data-n="4"] li:nth-child(even) { border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--brand-camel) 40%, transparent); }
	.quick-menu ul[data-n="4"] li:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--brand-camel) 40%, transparent); }
	.quick-menu ul[data-n="5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.quick-menu ul[data-n="5"] li { grid-column: span 2; }
	.quick-menu ul[data-n="5"] li:nth-child(4) { grid-column: 2 / span 2; }
	.quick-menu ul[data-n="5"] li:nth-child(5) { grid-column: 4 / span 2; }
	.quick-menu ul[data-n="5"] li:nth-child(4) { border-left: 0; }
	.quick-menu a { padding: 12px 4px 10px; }
	.quick-menu .qm-icon { width: 24px; height: 24px; }
	.quick-menu span { font-size: 14px; }
	:root { --hn-anchor-offset: 72px; } /* 폰 고정 헤더(한 줄, ≈56px) 기준 앵커 여백 */
}

/* 4. 전례색 배지 — inc/liturgical-ticker.php 출력에서 사용 예정 */

/* 4-1. 서브페이지 (templates/page.html) */
/* 제목 띠(.page-hero) — 규칙은 이 한 블록(2026-11-11 정리). 확정(2026-10-31 A): 성당 시설·성물 사진 + 검정 55% 막 + 흰 글자, 사진이 없는 화면(404·검색 등)은 C: 레몬 크림 + 골드 선.
   사진은 body.hero-img-1~5 (inc/page-hero.php 가 대분류마다 돌려 배정). 교체: assets/images/page-hero/ 의 파일만 바꾸면 된다(2000×500 WebP, 300KB 이하). 윗선은 오늘의 전례색. */
.page-hero { padding: 40px 24px; border-top: 6px solid var(--lit-line); border-bottom: 1px solid var(--wp--preset--color--neutral-border); }
.page-hero .page-title { margin: 0; font-size: var(--wp--preset--font-size--xx-large); line-height: 1.3; color: var(--wp--preset--color--brand-wine-dark); }
.page-hero .page-title--section { font-weight: 700; }
.page-hero.has-background { background-color: var(--wp--preset--color--brand-camel-light) !important; background-size: cover; background-position: center; border-bottom: 3px solid var(--wp--preset--color--brand-camel); }
body[class*="hero-img-"] .page-hero.has-background { border-bottom: 0; background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), var(--hero-photo); }
body.hero-img-1 { --hero-photo: url("../images/page-hero/1-exterior-night.webp"); }
body.hero-img-2 { --hero-photo: url("../images/page-hero/2-exterior-day.webp"); }
body.hero-img-3 { --hero-photo: url("../images/page-hero/3-sanctuary.webp"); }
body.hero-img-4 { --hero-photo: url("../images/page-hero/4-crucifix.webp"); }
body.hero-img-5 { --hero-photo: url("../images/page-hero/5-stained-glass.webp"); }
body[class*="hero-img-"] .page-hero .page-title, body[class*="hero-img-"] .page-hero .breadcrumb li, body[class*="hero-img-"] .page-hero .breadcrumb a, body[class*="hero-img-"] .page-hero .breadcrumb [aria-current="page"], body[class*="hero-img-"] .page-hero .single-date, body[class*="hero-img-"] .page-hero .breadcrumb li + li::before { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
@media (max-width: 781px) {
	.page-hero { padding: 20px 16px; }
	.page-hero .page-title { font-size: 1.6em; }
}
.page-body { padding: 40px 24px 72px; }
.page-main { min-width: 0; max-width: 56em; line-height: var(--lh-body); }
.page-main > * + * { margin-top: var(--gap); }
.page-main h2, .page-main h3, .page-main h4 { margin-top: 1.8em; }
.page-main .wp-block-table { overflow-x: auto; }
.page-main table { border-collapse: collapse; width: 100%; }
.page-main th, .page-main td { border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.page-main th { text-align: left; }


/* 4-2. 게시판 (inc/boards.php) */

.board-list { border-top: 2px solid var(--wp--preset--color--brand-wine); }
.board-list .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.board-row { gap: 16px; padding: 16px 4px; min-height: 52px; border-bottom: 1px solid var(--line); align-items: center; }
.board-title, .board-title a { margin: 0; font-size: var(--wp--preset--font-size--medium); font-weight: 700; text-decoration: none; color: var(--wp--preset--color--neutral-text); }
.board-title a:hover { color: var(--wp--preset--color--brand-wine); text-decoration: underline; }
.board-date { margin: 0; color: var(--wp--preset--color--neutral-gray); font-size: var(--wp--preset--font-size--small); white-space: nowrap; }
.board-cat { margin: 0; font-size: var(--wp--preset--font-size--small); white-space: nowrap; }
.board-cat a { padding: 2px 10px; border-radius: 999px; background: var(--wp--preset--color--brand-camel-light); color: var(--wp--preset--color--neutral-text); text-decoration: none; }
.board-list .wp-block-query-pagination { margin-top: 24px; gap: 12px; }
.board-list .wp-block-query-pagination a, .board-list .wp-block-query-pagination .page-numbers { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.board-gallery .gallery-thumb img { width: 100%; object-fit: cover; }
.board-gallery .wp-block-post-template { list-style: none; padding: 0; }
.board-gallery .board-title { margin-top: 8px; }
.single-head { margin: 0 0 28px; padding: 0 0 18px; border-bottom: 1px solid var(--wp--preset--color--neutral-border); }
.single-head .single-title { margin: 0; font-size: var(--wp--preset--font-size--x-large, 1.8em); line-height: 1.35; color: var(--wp--preset--color--brand-wine-dark); word-break: keep-all; overflow-wrap: anywhere; }
.single-date { margin: 10px 0 0; color: var(--wp--preset--color--neutral-gray); }
.back-to-list { margin-top: 40px; }
.back-to-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--wp--preset--color--neutral-border); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--wp--preset--color--neutral-text); }
.latest-list { list-style: none; margin: 0 0 12px; padding: 0; }
.latest-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral-bg) 25%, transparent); }
.latest-list time { white-space: nowrap; opacity: .85; font-size: var(--wp--preset--font-size--small); }
.calendar-embed iframe { max-width: 100%; }
.calendar-pending { padding: 40px 24px; text-align: center; border: 1px solid var(--wp--preset--color--neutral-border); color: var(--wp--preset--color--neutral-gray); }

.subnav { border: 1px solid var(--line); }
.subnav-title { margin: 0; padding: 16px; background: var(--wp--preset--color--brand-wine); color: var(--wp--preset--color--brand-lime); font-weight: 700; }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav li + li { border-top: 1px solid var(--line); }
.subnav a { display: block; padding: 12px 16px; min-height: 44px; color: var(--wp--preset--color--neutral-text); text-decoration: none; }
.subnav a.is-current { padding-left: 12px; border-left: 4px solid var(--lit-line); color: var(--wp--preset--color--brand-wine-dark); font-weight: 700; }

.children-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.children-cards a { display: flex; justify-content: space-between; align-items: center; padding: 20px; min-height: 44px; border: 1px solid var(--line); font-size: 1.2em; font-weight: 700; text-decoration: none; color: var(--wp--preset--color--neutral-text); }
.children-cards a:hover { border-color: var(--wp--preset--color--brand-wine); color: var(--wp--preset--color--brand-wine); }

@media (max-width: 781px) {
	.page-side { flex-basis: 100% !important; }
}

/* 5. 글자크기 토글 (접근성 — 작게/보통/크게 3단계) */
.font-size-toggle {
	display: inline-flex;
	gap: 4px;
}
.font-size-toggle button {
	min-width: 40px;
	min-height: 40px;
	border: 1px solid var(--wp--preset--color--neutral-border);
	background: var(--wp--preset--color--neutral-bg);
	cursor: pointer;
}
.font-size-toggle button[data-fs="small"] { font-size: 14px; }
.font-size-toggle button[data-fs="medium"] { font-size: 17px; }
.font-size-toggle button[data-fs="large"] { font-size: 21px; }
.font-size-toggle button[aria-pressed="true"] {
	background: var(--wp--preset--color--brand-wine-tint);
	border-color: var(--wp--preset--color--brand-wine);
}

/* html에 JS로 부여되는 폰트 크기 단계 클래스 (font-size-toggle.js 참고) */
html.fs-small body  { font-size: var(--wp--preset--font-size--small); }
html.fs-medium body { font-size: var(--wp--preset--font-size--medium); }
html.fs-large body  { font-size: var(--wp--preset--font-size--large); }

/* 브레드크럼(현재 위치) — 제목 띠 맨 위. inc/breadcrumb.php */
.breadcrumb { margin: 0 0 8px; font-size: var(--wp--preset--font-size--small); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { margin: 0; color: var(--wp--preset--color--neutral-gray); }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: var(--wp--preset--color--neutral-gray); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; color: var(--wp--preset--color--neutral-gray); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--wp--preset--color--brand-wine-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--wp--preset--color--neutral-text); font-weight: 700; }

/* 모바일·태블릿 메뉴 — 햄버거 버튼 + 전체 화면 메뉴 (사용자 피드백 2026-10-08: 두 줄 아이콘이 잘 안 보이고 펼친 화면이 단조로움) */
/* 햄버거: 코어의 두 줄 아이콘을 숨기고, 굵은 세 줄 + '메뉴' 글자가 있는 테두리 버튼으로 */
.site-header .wp-block-navigation__responsive-container-open { align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--wp--preset--color--brand-wine); border-radius: 10px; background: #fff; color: var(--wp--preset--color--brand-wine); font-size: 15px; font-weight: 700; }
.site-header .wp-block-navigation__responsive-container-open svg { display: none; }
.site-header .wp-block-navigation__responsive-container-open::before { content: ""; width: 20px; height: 14px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2.5px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 2.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 2.5px no-repeat; }
.site-header .wp-block-navigation__responsive-container-open::after { content: "메뉴"; line-height: 1; }
/* 펼친 화면: 레몬 크림 바탕, 대분류는 와인색 띠 + 하위 메뉴 2열 카드, 단독 메뉴는 테두리 버튼 */
.site-header .gnb .wp-block-navigation__responsive-container.is-menu-open { background: var(--menu-bg) !important; color: var(--wp--preset--color--neutral-text) !important; padding: 0 !important; }
.site-header .gnb .is-menu-open::before { content: "전체 메뉴"; position: absolute; top: 22px; left: 20px; z-index: 1; font-size: 20px; font-weight: 700; color: var(--wp--preset--color--brand-wine-dark); }
.site-header .gnb .is-menu-open .wp-block-navigation__responsive-container-close { top: 12px; right: 12px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); }
.site-header .gnb .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 24px; height: 24px; }
.site-header .gnb .is-menu-open .wp-block-navigation__responsive-container-content { padding: 80px 20px 40px; }
.site-header .gnb .is-menu-open .wp-block-navigation__container { align-items: stretch; gap: 14px; width: 100%; }
.site-header .gnb .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch; }
.site-header .gnb .is-menu-open .has-child { flex-direction: column; border: 1px solid var(--menu-line); border-radius: 14px; background: var(--menu-card-bg) !important; overflow: hidden; }
.site-header .gnb .is-menu-open .has-child > .wp-block-navigation-item__content { display: block; padding: 14px 18px; background: var(--menu-group-bg); color: var(--menu-group-fg); font-size: 18px; font-weight: 700; text-align: left; }
.site-header .gnb .is-menu-open .wp-block-navigation__submenu-container { position: static; display: grid !important; grid-template-columns: 1fr 1fr; width: 100% !important; min-width: 0; box-sizing: border-box; padding: 6px 8px 10px !important; border: 0; background: transparent; } /* 코어의 좌우 32px 여백이 남으면 하위 2열이 카드보다 넓어져 길눈이 가리킬 때 카드가 옆으로 밀린다 */
.site-header .gnb .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 44px; padding: 10px 10px; font-size: 16px; font-weight: 400; text-align: left; color: var(--wp--preset--color--neutral-text); border-radius: 8px; }
.site-header .gnb .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--menu-current-bg); }
.site-header .gnb .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.has-child) > .wp-block-navigation-item__content { display: block; padding: 14px 18px; border: 1px solid var(--menu-line); border-radius: 14px; background: var(--menu-card-bg); color: var(--wp--preset--color--brand-wine); font-size: 18px; font-weight: 700; text-align: left; }
@media (max-width: 480px) { .site-header .wp-block-navigation__responsive-container-open { padding: 0 9px; gap: 6px; font-size: 14px; } }
/* 360~380px 폰: 햄버거를 '위 아이콘, 아래 메뉴 글자' 세로형으로 줄여 한 줄에 들어가게 */
@media (max-width: 380px) { .site-header .wp-block-navigation__responsive-container-open { flex-direction: column; justify-content: center; gap: 4px; min-height: 44px; padding: 5px 9px 4px; font-size: 11px; } .site-header .wp-block-navigation__responsive-container-open::before { width: 18px; height: 12px; } }

/* 모바일 전체 화면 메뉴 색 — 바꾸려면 아래 네 줄만 고치면 된다(사용자가 시안 검토 후 결정 예정, 2026-10-08) */
:root {
	--menu-bg: var(--wp--preset--color--brand-camel-light); /* 메뉴 화면 바탕 */
	--menu-card-bg: #fff; /* 하위 메뉴 카드·단독 메뉴 버튼 바탕 */
	--menu-group-bg: var(--wp--preset--color--brand-wine); /* 대분류 띠 */
	--menu-group-fg: var(--wp--preset--color--brand-lime); /* 대분류 띠 글자(레몬라임, 사용자 선호) */
	--menu-line: color-mix(in srgb, var(--wp--preset--color--brand-camel) 45%, #fff); /* 카드 테두리·구분선(옅은 골드) */
	--menu-current-bg: #fffbea; /* 현재 위치 항목의 아주 옅은 크림 바탕 */
	--menu-current-fg: var(--wp--preset--color--brand-wine); /* 현재 위치 글자(굵게) */
	--menu-current-line: var(--wp--preset--color--brand-camel); /* 현재 위치 왼쪽 골드 선 */
}

/* '본당설립 30주년' 메뉴가 보이면(body.has-gnb-extra, inc/campaign-menu.php) 항목이 7개로 늘어 한 줄에 안 들어가므로: 간격을 줄이고, 1180px 미만부터 햄버거로 전환 */
body.has-gnb-extra .site-header .gnb { gap: clamp(16px, 2.4vw, 64px); }
@media (min-width: 1024px) and (max-width: 1179px) {
	body.has-gnb-extra .site-header .gnb .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	body.has-gnb-extra .site-header .gnb .wp-block-navigation__responsive-container-open { display: flex !important; }
	body.has-gnb-extra .site-header .site-brand { order: 1; }
	body.has-gnb-extra .site-header .header-actions { order: 2; margin-left: auto; }
	body.has-gnb-extra .site-header .gnb { order: 3; flex: 0 0 auto; margin-left: 0; }
}

/* 오늘의 전례색을 페이지 곳곳에 은은하게 — 제목 띠 윗선·푸터 윗선·홈 구역 제목 밑줄·하위 메뉴 현재 항목 선. 면은 크림·골드 규칙 그대로(전례색은 선·띠 포인트로만). */
.site-footer { border-top: 6px solid var(--lit-line); }
.home-section .section-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; background: var(--lit-line); }

/* 반공개(신자 전용) — 문제 입력 상자, 목록의 '신자 전용' 표시. inc/parish-gate.php */
.semi-gate { max-width: 640px; margin: 0 auto; padding: var(--pad); border: 1px solid var(--line); border-left: 3px solid var(--hn-line, #C5A26E); background: #fff; }
.semi-gate-title { margin: 0 0 8px; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--brand-wine-dark); }
.semi-gate-q { margin: 16px 0 8px; font-weight: 700; }
.semi-gate-hint { margin: 0 0 12px; color: var(--wp--preset--color--neutral-gray); }
.semi-gate input[type=text] { width: min(100%, 320px); }
.semi-gate-msg { margin: 12px 0 0; color: var(--wp--preset--color--brand-wine); font-weight: 700; }
.is-semi .board-title a::after, .is-semi .wp-block-post-title a::after { content: "신자 전용"; margin-left: 8px; padding: 1px 8px; font-size: .75em; font-weight: 700; border-radius: 0; background: none; color: var(--wp--preset--color--brand-wine-dark); border: 1px solid var(--line); white-space: nowrap; }

/* 반공개 모달 */
.semi-modal { width: min(92vw, 560px); max-height: 88vh; padding: 0; border: 0; border-radius: var(--r); background: transparent; overflow: visible; }
.semi-modal::backdrop { background: rgba(38, 32, 25, .72); backdrop-filter: blur(4px); }
.semi-modal .semi-gate { margin: 0; max-width: none; border-radius: var(--r); padding: 28px 24px 24px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.semi-modal-close { position: absolute; top: -44px; right: 0; min-height: 36px; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; font: inherit; cursor: pointer; }
.semi-reopen { text-align: center; margin: 24px 0; }

.semi-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.semi-thumb a { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); color: var(--wp--preset--color--brand-wine-dark); font-weight: 700; text-decoration: none; }

/* 페이지 안 탭(.hn-tabs) — assets/js/page-tabs.js. 스크립트가 없으면 탭이 모두 펼쳐져 보인다. */
.hn-tablist { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 8px; border-bottom: 2px solid var(--line); }
.hn-tablist button { min-height: 48px; padding: 8px 22px; border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px; background: none; font: inherit; font-weight: 700; color: var(--wp--preset--color--neutral-gray); cursor: pointer; }
.hn-tablist button:hover { color: var(--wp--preset--color--neutral-text); }
.hn-tablist button.is-current { color: var(--wp--preset--color--neutral-text); border-bottom-color: var(--lit-line, var(--wp--preset--color--brand-wine)); }
.hn-tab[hidden] { display: none; }
/* 인물 카드·재임 표 */

/* 분과/단체 카드 목록 — inc/groups.php */
/* 입력 상자 — 서브페이지 공통 한 규칙(높이 48px · 1px 선 · 모서리 0 · 포커스 3px 아웃라인). 폭·배치만 각 자리에서 따로 */
.group-search, .sp-finder input, .gallery-filter__input, .semi-gate input[type=text], .site-search .wp-block-search__input { box-sizing: border-box; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--wp--preset--color--neutral-text); font: inherit; font-size: 1rem; }
.group-search:focus-visible, .sp-finder input:focus-visible, .gallery-filter__input:focus-visible, .semi-gate input[type=text]:focus-visible, .site-search .wp-block-search__input:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; }
.group-card[hidden] { display: none; }
.group-empty { margin: 16px 0; color: var(--wp--preset--color--neutral-gray); }

.subnav .subnav-children { list-style: none; margin: 4px 0 4px 14px; padding: 0; font-size: .95em; }

/* 사목협의회 조직도 — content/pages/council.html (core/html 블록, 항목 추가·삭제는 HTML 로 수정) */
.org-chart { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 32px; align-items: start; margin: 16px 0 32px; }
.org-heading { margin: 0 0 12px; font-weight: 700; color: var(--wp--preset--color--brand-wine-dark); text-align: center; }
.org-top { padding: var(--pad); background: #fff; border: 1px solid var(--wp--preset--color--brand-wine); border-radius: var(--r); }
.org-top-list, .org-list { list-style: none; margin: 0; padding: 0; }
.org-top-list { display: flex; flex-direction: column; gap: 12px; }
.org-node { padding: 12px; border-radius: var(--r); text-align: center; font-weight: 700; background: var(--wp--preset--color--neutral-bg); border: 1px solid var(--line); }
.org-node small { display: block; font-weight: 400; color: var(--wp--preset--color--neutral-gray); }
.org-node.is-priest { background: var(--wp--preset--color--brand-wine-dark); border-color: var(--wp--preset--color--brand-wine-dark); color: #fff; }
.org-node.is-religious { background: var(--wp--preset--color--neutral-gray); border-color: var(--wp--preset--color--neutral-gray); color: #fff; }
.org-node.is-lead { color: var(--wp--preset--color--brand-wine); border-color: var(--wp--preset--color--brand-wine); }
.org-heads { display: grid; grid-template-columns: minmax(130px, 170px) 1fr; gap: 12px; }
.org-list { display: flex; flex-direction: column; gap: 8px; }
.org-row { display: grid; grid-template-columns: minmax(130px, 170px) 1fr; gap: 12px; align-items: stretch; }
.org-dept { padding: 12px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: var(--r); border-left: 5px solid var(--lit-line, var(--wp--preset--color--brand-wine)); }
.org-units { padding: 12px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--wp--preset--color--neutral-bg); }
.org-units.is-empty { background: transparent; }
/* 조직도 전환(§5-A): 오른쪽 표(라벨 열 최대 170 + 간격 12 + 값 160)가 읽히려면 왼쪽 상위위원회 열(최대 300) + 간격 32와 합쳐 674px 필요 — 그보다 좁으면 폰 배치 */
.wp-block-group:has(> .org-chart) { container-type: inline-size; }
@container (max-width: 673px) {
	.org-chart { grid-template-columns: 1fr; }
	.org-heads { display: none; }
	.org-row { grid-template-columns: 1fr; gap: 4px; }
	.org-units.is-empty { display: none; }
}

/* 하위 메뉴가 없는 페이지(예: 미사와 성사)는 왼쪽 열을 비우고 본문을 넓게 */
.page-side:not(:has(.subnav)) { display: none; }

/* 하위 메뉴: 형제 페이지가 없어 항목이 하나뿐이면 왼쪽 열 전체를 숨기고, 폰에서는 접어 둔다(제목 버튼은 page-tabs.js 가 만든다) */
.page-side:has(.subnav):not(:has(.subnav li ~ li)) { display: none; }
.subnav-toggle { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: left; pointer-events: none; cursor: default; }
.subnav-toggle-cur, .subnav-toggle-ico { display: none; }
@media (max-width: 781px) {
	.subnav-title { padding: 0; }
	.subnav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 16px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer; pointer-events: auto; }
	.subnav-toggle-cur, .subnav-toggle-ico { display: block; }
	.subnav-toggle:focus-visible { outline: 3px solid var(--wp--preset--color--brand-lime); outline-offset: -3px; }
	.subnav-toggle-cur { flex: 1 1 auto; min-width: 0; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.subnav-toggle-cur:not(:empty)::before { content: "› "; }
	.subnav-toggle-ico { width: 10px; height: 10px; margin-left: auto; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
	.subnav.is-open .subnav-toggle-ico { transform: rotate(-135deg); }
	.subnav > ul { display: none; }
	.subnav.is-open > ul { display: block; }
}

/* ── 갤러리 태그 필터(2026-10-30) — 마크업 [hannamdong_gallery_filter](inc/gallery-tags.php), 동작 assets/js/gallery-filter.js.
   면은 크림·흰색, 와인은 글자·테두리, 골드는 선 포인트. 터치 44px 이상, 글자는 em(본문 글자 크기 토글 html.fs-* 에 따라 커짐, 중간 기준 18px 이상). */
.gallery-filter__current-label { font-size: 1em; color: var(--wp--preset--color--neutral-text); font-weight: 700; }
.gallery-filter__count { font-weight: 400; opacity: .85; }
.gallery-filter__list { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 4px 0 0; padding: 4px; list-style: none; max-height: 320px; overflow-y: auto; background: #fff; border: 2px solid var(--wp--preset--color--brand-wine); border-radius: var(--r); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.gallery-filter__list[hidden] { display: none; }
.gallery-filter a:focus-visible { outline: 3px solid var(--wp--preset--color--neutral-text); outline-offset: 2px; }

.subnav a:hover { background: var(--wp--preset--color--brand-camel-light); }

/* 404·검색 화면 — 제목 띠 + 검색 상자(폰에서 한 줄에 못 들어가면 줄바꿈) */
.site-search .wp-block-search__inside-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
.site-search .wp-block-search__input { flex: 1 1 200px; }
.page-hero .page-title, .board-title, .subnav a { word-break: keep-all; overflow-wrap: anywhere; }
.gallery-filter:empty { display: none; }

/* 지도 영역 — 키가 없으면 지도 대신 주소·길찾기 안내만 (inc/kakao-map.php) */
.hn-map__info { padding: 20px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--hn-line, #C5A26E); }
.hn-map__info p { margin: 0 0 8px; }
.hn-map__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.hn-map__links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 2px solid var(--wp--preset--color--brand-wine); color: var(--wp--preset--color--brand-wine); font-weight: 700; text-decoration: none; background: #fff; }
.hn-map__canvas { width: 100%; }

/* ===== 홈 미사 안내판(칠판) — inc/mass-board.php · assets/js/mass-board.js (2026-11-06) ===== */
.mass-board { position: relative; margin: 0 0 24px; color: #fff; background-color: var(--wp--preset--color--liturgical-green); display: flex; align-items: center; gap: 24px; }
.mass-board .mb-body { flex: 1 1 auto; min-width: 0; }
.mass-board .mb-live { position: absolute; right: 16px; top: 10px; font-size: .75rem; opacity: .75; display: flex; align-items: center; gap: 6px; }
.mass-board .mb-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--brand-lime); }
.mass-board .mb-badges { display: flex; flex-wrap: wrap; gap: 8px; min-height: 1.6em; }
.mass-board .mb-badge { font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 2px 12px; background: var(--wp--preset--color--brand-camel-light); color: var(--wp--preset--color--liturgical-green); white-space: nowrap; }
.mass-board .mb-badge.is-gold { background: var(--wp--preset--color--brand-camel); color: #2b2220; }
.mass-board .mb-msg { font-size: clamp(1.35rem, 3.2vw, 2.1rem); font-weight: 700; line-height: 1.6; margin: 6px 0 0; color: var(--hn-on-dark, #FFF8DC); word-break: keep-all; }
.mass-board .mb-sub { margin: 6px 0 0; font-size: 1rem; opacity: .92; word-break: keep-all; }
.mass-board .mb-sub:empty { display: none; }
.mass-board .mb-note { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; font-size: 1rem; font-weight: 700; word-break: keep-all; background: rgba(255, 248, 220, .12); border: 1px dashed rgba(255, 248, 220, .6); color: var(--wp--preset--color--brand-lime); }
.mass-board .mb-note small { display: block; font-weight: 400; margin-top: 2px; font-size: .95rem; }
/* 시간에 손그림 동그라미: 분홍 선 + 하늘색 선을 살짝 어긋나게 겹쳐 그린다(사용자 요청 2026-11-06) */
.mass-board .mk { position: relative; display: inline-block; padding: 0 .3em; margin: 0 .05em; font-style: normal; }
.mass-board .mk::before, .mass-board .mk::after { content: ""; position: absolute; pointer-events: none; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; }
.mass-board .mk::after { left: -.25em; right: -.25em; top: -.18em; bottom: -.12em; transform: rotate(-1.5deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M22 9 C48 -1 104 3 113 21 C121 39 78 49 38 45 C6 41 -3 20 26 8 C36 4 47 3 58 4' fill='none' stroke='%23FF9EC4' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.mass-board .mk::before { left: -.32em; right: -.18em; top: -.1em; bottom: -.2em; transform: rotate(2.5deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M34 5 C72 -2 114 9 116 25 C116 42 72 49 30 46 C8 43 1 27 14 14 C22 7 36 4 50 3' fill='none' stroke='%237FD0FF' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
/* 변동 안내 버튼: 칠판 오른쪽 여백(공지 연결, 특별한 때만 출력됨) */
.mass-board .mb-btn { flex: 0 0 auto; align-self: center; margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; min-height: 48px; line-height: 1.3; border-radius: 999px; background: var(--wp--preset--color--brand-camel-light); color: var(--wp--preset--color--liturgical-green); font-weight: 700; text-decoration: none; border: 2px solid var(--wp--preset--color--brand-camel); white-space: nowrap; }
.mass-board .mb-btn:hover, .mass-board .mb-btn:focus-visible { background: #fff; }
@media (max-width: 781px) {
	.mass-board { flex-direction: column; align-items: stretch; gap: 8px; padding: 18px 16px 16px; }
	.mass-board .mb-live { position: static; align-self: flex-end; order: -1; margin: -4px 0 0; }
	.mass-board .mb-btn { align-self: flex-start; margin-top: 4px; }
}
/* 목록의 해당 시간 형광펜(레몬라임) */
.mass-list li.hit strong { background: linear-gradient(transparent 58%, rgba(220, 238, 120, .95) 58%, rgba(220, 238, 120, .95) 92%, transparent 92%); }

/* 인근 성당 미사 안내 — 미사 표 아래. [hannamdong_mass_near]. 진한 바탕이 본 미사 안내보다 튀어서 연한 바탕으로(2026-11-06) */
.mass-near { position: relative; margin: 24px 0 0; padding: 14px 22px; border-radius: 10px; background: #ece8dc; border: 1px solid #ddd7c6; color: #3a3a36; }
.mass-near .mn-title { margin: 0 0 6px; font-weight: 700; font-size: 1rem; color: #4a4a44; }
.mass-near .mn-title small { display: block; margin-top: 2px; font-weight: 400; font-size: .85rem; color: #77746a; }
.mass-near .mn-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 8px 0; border-top: 1px solid #d9d3c1; }
.mass-near .mn-label { flex: 0 0 auto; min-width: 6.5em; padding: 2px 12px; border-radius: 999px; background: #d9d3c1; color: #4a4a44; font-size: .85rem; font-weight: 700; text-align: center; }
.mass-near ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.mass-near li a, .mass-near li span { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 14px; border-radius: 8px; font-size: 1rem; font-weight: 700; color: #3a3a36; background: #f8f6ef; border: 1px solid #d9d3c1; text-decoration: none; }
.mass-near li a::after { content: "↗"; margin-left: 6px; font-size: .9em; opacity: .6; }
.mass-near li a:hover, .mass-near li a:focus-visible { background: #fff; border-color: var(--wp--preset--color--brand-wine); color: var(--wp--preset--color--brand-wine); text-decoration: underline; }
.mass-near li span { opacity: .7; border-style: dashed; }
.mass-near .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 781px) { .mass-near { padding: 12px 14px; } .mass-near .mn-label { min-width: 0; } }

/* 성사 및 상담 카드 하단 '본당업무 바로가기' 한 줄 링크(다른 카드의 목록 한 줄과 높이를 맞춤) */
.mass-card-cta { margin: 0; padding: 8px 0 0; border-top: 1px dashed var(--wp--preset--color--neutral-border); text-align: right; }
.mass-office-btn { display: inline-block; padding: 2px 0; font-weight: 700; color: var(--wp--preset--color--brand-wine); text-decoration: underline; text-underline-offset: 3px; }
.mass-office-btn:hover, .mass-office-btn:focus-visible { color: var(--wp--preset--color--brand-wine-dark); }
/* 인근 성당 안내를 접이식으로: 닫힌 상태는 얇은 한 줄 */
.mass-near { padding: 0; }
.mass-near summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 22px; cursor: pointer; font-weight: 700; color: #4a4a44; list-style: none; }
.mass-near summary::-webkit-details-marker { display: none; }
.mass-near summary::after { content: "▾"; margin-left: auto; font-size: .9em; transition: transform .2s; }
.mass-near[open] summary::after { transform: rotate(180deg); }
.mass-near summary:focus-visible { outline: 2px solid var(--wp--preset--color--brand-wine); outline-offset: -2px; border-radius: 10px; }
.mass-near .mn-hint { font-weight: 400; font-size: .9rem; color: #77746a; }
.mass-near .mn-title, .mass-near .mn-group { margin-left: 22px; margin-right: 22px; }
.mass-near .mn-title { margin-top: 0; }
.mass-near[open] { padding-bottom: 10px; }
@media (max-width: 781px) { .mass-near summary { padding: 8px 14px; } .mass-near .mn-title, .mass-near .mn-group { margin-left: 14px; margin-right: 14px; } }

/* 현재 위치 표시(IA v3 메뉴): 1st·2nd 모두 '굵은 와인 글자 + 글자 폭만큼의 골드 밑줄'로 통일(PC 드롭다운·모바일 메뉴 공통, 바탕·선 없음) */
.site-header .gnb .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content,
.site-header .gnb .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content,
.site-header .gnb .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { color: var(--menu-current-fg); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--menu-current-line); }
.site-header .gnb .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content,
.site-header .gnb .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content { text-underline-offset: 8px; }
/* 모바일 메뉴의 대분류 띠 글자는 밑줄 없이 레몬라임 그대로, 단독 1st 버튼은 글자만 강조 */
.site-header .gnb .is-menu-open .has-child > .wp-block-navigation-item__content { color: var(--menu-group-fg); text-decoration: none; }

/* ===== 홈 본당소식 2×2 · 미디어 · 사무실·오시는 길 (구성안 2026-11-08, 시안 docs/home-sections-mockup.html) ===== */
.home-in { max-width: 1200px; margin: 0 auto; }
.news-section, .media-section, .office-section { color: var(--wp--preset--color--neutral-text); background: var(--wp--preset--color--neutral-bg); }
.media-section { background: var(--wp--preset--color--neutral-bg-alt); }
.news-section a, .media-section a, .office-section a { color: inherit; }
.home-section .section-title { color: var(--wp--preset--color--brand-wine); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news-grid.no-camp .ncard:last-child { grid-column: span 2; }
.ncard { display: flex; flex-direction: column; min-width: 0; background: var(--wp--preset--color--neutral-bg); border: 1px solid var(--wp--preset--color--neutral-border); border-radius: 0; padding: 18px 20px 16px; } /* 윗줄 띠 없이 흰 면 + 1px 선만 (2026-11-11) */
.ncard h3 { margin: 0 0 10px; font-size: 1.2em; color: var(--wp--preset--color--brand-wine); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.ncard h3 .d { font-size: .78em; font-weight: 400; color: var(--wp--preset--color--neutral-gray); }
.ncard .more, .ncard .news-go { margin: auto 0 0; padding-top: 10px; }
.ncard .more a, .ncard .news-go a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--wp--preset--color--brand-wine); text-decoration: none; }
.ncard .latest-list { margin: 0; }
.ncard .latest-list li { align-items: center; justify-content: flex-start; gap: 10px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--wp--preset--color--neutral-border); }
.ncard .latest-list li:last-child { border-bottom: 0; }
.ncard .latest-list li > a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; text-decoration: none; }
.ncard .latest-list li > a:hover { text-decoration: underline; }
.ncard .latest-list time { flex: none; color: var(--wp--preset--color--neutral-gray); opacity: 1; }
/* 공지 목록(2026-11-13 원칙: 목록=말줄임, 최종 내용=줄바꿈): 날짜를 제목 아래로 내려 큰 글씨·좁은 칸에서도 제목이 5글자로 잘리지 않게 한다 */
.ncard .hn-notice-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: start; padding: 10px 0; }
.ncard .hn-notice-list li > .hn-cat { grid-column: 1; grid-row: 1; margin-top: .2em; }
.ncard .hn-notice-list li > a { grid-column: 2; grid-row: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.45; } /* 목록은 말줄임(눌러 들어가면 전문), 대신 날짜를 아래로 내려 제목에 칸 전체를 준다 */
.ncard .hn-notice-list li > time { grid-column: 2; grid-row: 2; font-size: .85em; }
.hn-schedule-list time { min-width: 3.6em; } .hn-schedule-list li > span { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-cat { flex: none; padding: 0 8px; border-radius: 4px; font-size: .75em; font-weight: 700; line-height: 1.7; background: var(--wp--preset--color--brand-camel-light); border: 1px solid var(--wp--preset--color--brand-camel); color: var(--wp--preset--color--brand-wine); }
.hn-cat--society { background: #E6F0EC; border-color: #8DB3A5; color: var(--wp--preset--color--liturgical-green); }
.hn-cat--bell { background: #EEE; border-color: #BBB; color: #444; }
.hn-empty { margin: 0; padding: 20px 0 8px; text-align: center; font-weight: 700; color: var(--wp--preset--color--neutral-gray); }
/* 주보 카드: 표지 + 버튼 3개(너무 넓지 않게 폭 제한) */
.hn-bulletin { display: grid; grid-template-columns: 128px minmax(0, 11em); column-gap: 16px; row-gap: 6px; align-items: start; }
.hn-bulletin__date { grid-column: 1 / -1; margin: -36px 0 6px; text-align: right; font-size: .9em; color: var(--wp--preset--color--neutral-gray); }
.hn-bulletin__coverlink { grid-row: 2 / span 2; display: block; }
.hn-bulletin__cover { display: block; width: 128px; height: auto; border: 1px solid var(--wp--preset--color--neutral-border); border-radius: 4px; }
.hn-bulletin__btns { grid-column: 2; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.hn-bulletin .news-go { grid-column: 1 / -1; }
.hn-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--wp--preset--color--brand-wine); border-radius: 6px; background: #fff; color: var(--wp--preset--color--brand-wine) !important; font-weight: 700; text-decoration: none; text-align: center; }
.hn-bulletin__btns .hn-btn:first-child { background: var(--wp--preset--color--brand-wine); color: #fff !important; }
.hn-btn:hover { background: var(--wp--preset--color--brand-camel-light); }
/* WYD·30주년 칸 */
.ncard-camp .camp-ph { margin: 0 0 10px; aspect-ratio: 21 / 9; border-radius: 6px; display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 20%, #7a1a30, #2c0410); }
.ncard-camp .wyd-plate { background: #fff; border-radius: 10px; padding: 8px 14px; line-height: 0; } .ncard-camp .camp-txt { color: var(--hn-on-dark, #FFF8DC); font-weight: 700; font-size: 1.2em; }
.ncard-camp .camp-note { margin: 0; color: var(--wp--preset--color--neutral-gray); }
/* 미디어 카드 */
.hn-media-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hn-media-card { display: flex; flex-direction: column; min-width: 0; background: var(--wp--preset--color--neutral-bg); border: 1px solid var(--wp--preset--color--neutral-border); border-radius: 8px; overflow: hidden; }
.hn-media-card:hover, .hn-media-card:focus-within { border-color: var(--wp--preset--color--brand-wine); }
.hn-media-card__link { display: flex; flex-direction: column; text-decoration: none; }
.hn-media-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #CFC4B5; overflow: hidden; }
.hn-media-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-media-card__play { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .62); border: 1.5px solid rgba(255, 255, 255, .85); }
.hn-media-card__play::before { content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }
.hn-media-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 12px 14px 4px; font-weight: 700; line-height: 1.4; }
.hn-media-card__tags { list-style: none; margin: 0; padding: 0 14px 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .78em; color: var(--wp--preset--color--neutral-gray); }
.media-more { margin: 20px 0 0; text-align: center; }
.media-more a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border: 1.5px solid var(--wp--preset--color--brand-wine); border-radius: 999px; font-weight: 700; color: var(--wp--preset--color--brand-wine); text-decoration: none; }
/* 사무실 + 오시는 길 */
.office-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.obox { background: var(--wp--preset--color--neutral-bg); border: 1px solid var(--wp--preset--color--neutral-border); border-radius: 8px; padding: 18px 20px; }
.obox h3 { margin: 0 0 10px; font-size: 1.15em; color: var(--wp--preset--color--brand-wine); }
.obox .hn-contact__line { margin: 0 0 6px; } .obox .hn-contact__line strong { display: inline-block; min-width: 4.5em; color: var(--wp--preset--color--neutral-gray); font-weight: 400; }
/* [카드 13] 옛 .hn-office-notice 점선·반경 모양은 폐기: 숏코드가 .ui-card.ui-card--note 를 쓴다(간격은 아래 #office 규칙) */
.hn-hours__table { width: 100%; border-collapse: collapse; }
.hn-hours__table th, .hn-hours__table td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.hn-hours__table thead th { padding: 7px 10px; font-size: .85em; font-weight: 700; color: var(--wp--preset--color--neutral-gray); border-bottom: 2px solid var(--wp--preset--color--brand-wine); text-align: left; }
.hn-hours__table tr.is-today { background: #FCDFE4; } .hn-hours__table tr.is-today th { color: var(--wp--preset--color--brand-wine); }
.hn-hours--today.is-js .hn-hours__table, .hn-hours--today.is-js tbody, .hn-hours--today.is-js tr { display: block; }
.hn-hours--today.is-js tr { padding: 4px 0; font-size: 1.15em; } .hn-hours--today.is-js th, .hn-hours--today.is-js td { display: inline; border: 0; padding: 0 12px 0 0; font-weight: 700; }
.hn-hours--today.is-js th { color: var(--wp--preset--color--brand-wine); }
.hn-hours__more { margin: 8px 0 0; } .hn-hours__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--wp--preset--color--brand-wine); text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--brand-camel); }
.office-loc { margin-top: 24px; }
.hn-location { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start; }
.hn-location > * { grid-column: 1; }
.hn-location__info { grid-column: 2; grid-row: 1; padding: 18px 20px 4px; border: 1px solid var(--wp--preset--color--neutral-border); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--wp--preset--color--neutral-bg); }
.hn-transit { grid-column: 2; grid-row: 2; align-self: start; padding: 0 20px 18px; border: 1px solid var(--wp--preset--color--neutral-border); border-top: 0; border-radius: 0 0 8px 8px; background: var(--wp--preset--color--neutral-bg); }
.hn-transit__h { margin: 12px 0 4px; font-size: 1em; color: var(--wp--preset--color--brand-wine); } .hn-transit__list { margin: 0; padding-left: 1.1em; }
.hn-transit__parking { margin: 0; padding: 10px 14px; border-left: 5px solid var(--wp--preset--color--brand-camel); background: var(--wp--preset--color--brand-camel-light); border-radius: 0 8px 8px 0; font-size: .95em; }
@media (max-width: 1023px) { .hn-media-cards { grid-template-columns: repeat(2, 1fr); } .office-grid { grid-template-columns: 1fr; } }
@media (max-width: 781px) {
	.news-grid, .office-grid, .hn-location { grid-template-columns: 1fr; } .news-grid.no-camp .ncard:last-child { grid-column: auto; }
	.hn-location > *, .hn-location__info, .hn-transit { grid-column: 1; grid-row: auto; } .hn-location__info { margin-top: 12px; } .hn-media-cards { gap: 12px; }
	.hn-media-card__title { padding: 10px 10px 4px; font-size: .95em; } .hn-media-card__tags { padding: 0 10px 12px; }
	.hn-bulletin { grid-template-columns: 96px minmax(0, 1fr); } .hn-bulletin__cover { width: 96px; }
	.ncard { padding: 16px 14px 12px; }
}
.hn-hours--today.is-js tr[hidden] { display: none; }
.hn-hours--today.is-js td:nth-of-type(2)::before { content: "점심 "; font-weight: 400; color: var(--wp--preset--color--neutral-gray); }
.hn-hours--today.is-js td:nth-of-type(3)::before { content: "문 닫는 시간 "; font-weight: 400; color: var(--wp--preset--color--neutral-gray); }
.hn-hours--today.is-js td:nth-of-type(1) { font-size: 1.35em; color: var(--wp--preset--color--brand-wine); }
.hn-hours--today.is-js tr { line-height: 1.9; }
@media (max-width: 781px) { .hn-hours--today.is-js td { display: block; padding: 0; } .hn-hours--today.is-js tr { padding: 8px 10px; } }

/* 주보 카드 보정(사용자 지시 11/8): 표지는 가능한 한 크게. PC=공지 카드 높이에 맞춰 이미지 높이를 채움, 폰=버튼 3개 묶음과 같은 높이. */
#news-bulletin .hn-bulletin { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 11em; grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 16px; row-gap: 6px; align-items: stretch; }
#news-bulletin .hn-bulletin__date { grid-column: 1 / -1; grid-row: 1; margin: -36px 0 6px; }
#news-bulletin .hn-bulletin__coverlink { grid-column: 1; grid-row: 2; position: relative; display: block; min-height: 220px; }
#news-bulletin .hn-bulletin__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; border: 0; }
#news-bulletin .hn-bulletin__btns { grid-column: 2; grid-row: 2; justify-content: center; }
#news-bulletin .hn-bulletin .news-go { grid-column: 1 / -1; grid-row: 3; }
@media (max-width: 781px) {
	#news-bulletin .hn-bulletin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	#news-bulletin .hn-bulletin__coverlink { min-height: 0; }
	#news-bulletin .hn-btn { min-height: 52px; }
}

/* ===== 홈 섹션 배경색 리듬 — D안 (2026-11-08 사용자 확정, 시안 docs/home-bg-rhythm-mockup.html ?v=d) =====
   조정은 아래 토큰 값만 바꾸면 된다. 퀵메뉴·히어로·푸터는 손대지 않는다(푸터 = brand-wine-dark 유지).
   원칙: 어두운 면 위 글자는 크림/라임(대비 10 이상), 골드(--hn-line)는 선·장식에만, 글씨에 쓰지 않는다. */
:root {
	--hn-bg-strip: #1A3A32;   /* 지표 띠: 녹 */
	--hn-bg-mass: #EEE9DD;    /* 미사시간: 크림(2026-11-11 사용자 확정, 이전 #FFF8DC) */
	--hn-bg-news: #FBF6EA;    /* 본당소식: 연한 크림 (+ 흰 카드) */
	--hn-bg-media: #2F1B45;   /* 미디어: 자 */
	--hn-bg-office: #FDFBF5;  /* 사무실·오시는 길: 흰색에 가까운 한 단계 밝은 크림 */
	--hn-on-dark: #FFF8DC;    /* 어두운 면 위 글자 */
	--hn-line: #C5A26E;       /* 골드: 선·구분 전용 */
}
.wyd-strip { background: var(--hn-bg-strip); color: var(--hn-on-dark); }
#mass.home-section { background-color: var(--hn-bg-mass) !important; border-bottom: 0; }
.news-section { background: var(--hn-bg-news); border-top: 4px solid var(--hn-line); }   /* 미사시간 ↔ 본당소식 구분 */
.media-section { background: var(--hn-bg-media); }
.media-section .section-title { color: var(--hn-on-dark); }
.media-section .media-more a { color: var(--hn-on-dark); border-color: var(--hn-line); }
.media-section .media-more a:hover, .media-section .media-more a:focus-visible { background: rgba(255, 248, 220, .12); }
.office-section { background: var(--hn-bg-office); }
.media-section .hn-empty { color: var(--hn-on-dark); }
.media-section .section-title::after { background: var(--hn-line); }   /* 자색 면 위에서 제목 밑줄이 묻히지 않게 골드 */

/* ===== 구역 끝 '↑ 맨 위로' (2026-11-08 복구: 홈 개편 때 본당소식·미디어·사무실 패턴에서 빠졌던 것) =====
   터치 영역 44px 이상(.section-top a). 이동은 html scroll-behavior(reduced-motion 이면 즉시)를 따른다. 어두운 면(띠·미디어)은 크림 글자. */
.section-top a { text-decoration: none; }
.section-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-top a:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; border-radius: 4px; }
.wyd-top { max-width: 1200px; margin: 0 auto; padding: 0 24px 4px; }
.wyd-top .section-top { margin: 0; }
.wyd-strip .section-top a, .media-section .section-top a { color: var(--hn-on-dark); }
.wyd-strip .section-top a:focus-visible, .media-section .section-top a:focus-visible { outline-color: var(--hn-on-dark); }
@media (max-width: 781px) { .wyd-top { padding: 0 16px 2px; } }

/* ===== 메인 메뉴바 고정 (2026-11-08) =====
   원인: 코어가 헤더 파트를 <header class="wp-block-template-part"> 로 감싸고, 이 래퍼에는 티커+메뉴바 두 개뿐이라 높이가 ≈117px.
   position: sticky 는 부모 안에서만 붙어 있으므로(래퍼를 벗어나면 같이 밀려 올라감) 지금까지 PC에서도 실제로는 고정되지 않았다.
   → 래퍼를 display: contents 로 풀어 sticky 의 기준을 페이지 전체(.wp-site-blocks)로 넓힘. 티커는 일반 흐름이라 그대로 스크롤로 사라진다. 움직임 효과 없음. */
header.wp-block-template-part { display: contents; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar { --hn-anchor-offset: 120px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } body.admin-bar { --hn-anchor-offset: 118px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } body.admin-bar { --hn-anchor-offset: 72px; } } /* 관리자 바가 600px 이하에선 스크롤과 함께 올라감 */

/* ===== 푸터 단순형 (2026-11-08) — 좌 로고 / 우 두 줄. 배경은 기존 짙은 와인 유지, 글자는 크림(대비 ≈12). ===== */
.footer-simple { padding: 32px 24px; --hn-on-dark: #B8AC82; color: #B8AC82; } /* 푸터는 한 단계 눌러서: 글자·로고 모두 같은 차분한 톤(#B8AC82), 와인 위 대비 약 6.5 */
.footer-simple__in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.footer-logo { flex: none; display: inline-block; line-height: 0; } /* 투명 배경 레몬크림 로고 — 박스 없음 */
.footer-logo img { display: block; width: 200px; height: auto; opacity: .78; } /* 로고 #DAE0A3을 78%로 눌러 글자색과 맞춤 */
.footer-info { flex: 1 1 auto; min-width: 0; color: var(--hn-on-dark, #FFF8DC); }
.footer-simple .footer-line { margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.8; }
.footer-simple .footer-line + .footer-line { margin-top: 2px; }
.footer-simple a { color: var(--hn-on-dark, #FFF8DC); text-decoration: underline; text-underline-offset: 3px; }
.footer-simple a:hover { color: #fff; }
.footer-simple a:focus-visible { outline: 3px solid var(--hn-on-dark, #FFF8DC); outline-offset: 2px; border-radius: 3px; }
.footer-simple .footer-made { display: inline-block; padding: 8px 2px; margin-left: 6px; font-weight: 700; } /* 터치 영역 확보 */
@media (max-width: 781px) {
	.footer-simple { padding: 28px 16px; }
	.footer-simple__in { flex-direction: column; align-items: flex-start; gap: 18px; }
	.footer-simple .footer-made { margin-left: 0; padding-left: 0; }
}

/* ===== 홈 처음 오셨나요? 탭 + 이용안내 패널 (임시 2026-11-08, 시안 docs/first-visit-mockup.html) =====
   탭은 히어로(#home-hero) 맨 위에 걸리고(PC: 타원 / 폰: 헤더 밑 가로 막대), 누르면 .fv-open 으로 히어로 장면이 패널로 바뀐다. 전환 효과 없음. */
.fv-tab { position: absolute; z-index: 5; top: 0; left: max(24px, calc((100% - 1100px) / 2)); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px 0 22px; border: 0; border-bottom: 3px solid var(--hn-line, #C5A26E); border-radius: 0 0 28px 28px; background: var(--wp--preset--color--brand-camel-light); color: var(--wp--preset--color--brand-wine); font: inherit; font-size: 1.15em; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); }
.fv-tab:hover { background: #fff; }
.fv-tab:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 3px; }
.fv-tab .q { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); font-size: .8em; }
.fv-tab .t-close, .fv-open .fv-tab .t-open { display: none; }
.fv-open .fv-tab .t-close { display: inline; }
.fv-open .fv-tab { background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); }
.fv-open .fv-tab .q { background: var(--wp--preset--color--brand-camel-light); color: var(--wp--preset--color--brand-wine); }
.fv-open .fv-tab:focus-visible { outline-color: var(--hn-on-dark, #FFF8DC); }

/* 열림: 히어로 장면·이동 단추·점·일시정지는 숨기고 패널을 보인다. 퀵메뉴는 패널 아래에 그대로. */
.home-hero.fv-open { min-height: 0; overflow: visible; background: var(--wp--preset--color--neutral-bg-alt); }
.home-hero.fv-open .hero-track, .home-hero.fv-open .hero-nav, .home-hero.fv-open .hero-ctl, .home-hero.fv-open .hero-pause { display: none !important; }
.home-hero.fv-open::after { display: none; }
.home-hero.fv-open .quick-menu-wrap { position: static; padding: 8px 24px 28px; background: var(--wp--preset--color--neutral-bg-alt); }
.home-hero.fv-open ~ .wyd-strip { padding-top: 14px; }

/* 이용안내 패널 = 수동 슬라이드(.fv-stage, 히어로와 같은 최소 높이) + 아래 접힘 목록(.fv-more). 장식 없음: 팔레트 A·라운드 0·1px 선, 자동 움직임·전환 효과 없음.
   조작줄은 하단 중앙, 오른쪽 아래 --fv-gb(88px, 폰 72px)는 가브리엘 구슬 자리로 비워 둔다. 점·화살표 크기는 히어로 조작(점 28px 칸·10px 표시, 이동 버튼 48px)과 같은 값. */
.home-hero { --fv-h: clamp(600px, calc(100vw * var(--hero-ratio-desktop)), 740px); --fv-gb: 88px; --fv-line: var(--line, #D8D0BF); }
@media (max-width: 1023px) { .home-hero { --fv-h: clamp(540px, calc(100vw * var(--hero-ratio-tablet)), 640px); } }
@media (max-width: 781px) { .home-hero { --fv-h: clamp(600px, calc(100vw * var(--hero-ratio-mobile)), 720px); --fv-gb: 72px; } }
.fv-panel { background: var(--wp--preset--color--neutral-bg-alt); color: var(--wp--preset--color--neutral-text); border-top: 4px solid var(--wp--preset--color--brand-wine); }
.fv-panel[hidden] { display: none; }
.fv-panel:focus { outline: none; }
.fv-stage { position: relative; box-sizing: border-box; min-height: var(--fv-h); padding: 76px max(24px, calc((100% - 1100px) / 2)) calc(var(--fv-gb) + 8px); }
.fv-slides { display: grid; }
.fv-slide { grid-area: 1 / 1; min-width: 0; visibility: hidden; }
.fv-slide.is-on { visibility: visible; }
.fv-title { margin: 0 0 8px; padding-right: 130px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.35; color: var(--wp--preset--color--brand-wine); word-break: keep-all; }
.fv-lead2 { margin: 0 0 22px; font-size: 1.05em; color: var(--wp--preset--color--neutral-gray); word-break: keep-all; }
.fv-lead { margin: -10px 0 18px; font-size: 1em; word-break: keep-all; }
.fv-prev:focus-visible, .fv-next:focus-visible, .fv-dots button:focus-visible, .fv-sc-t:focus-visible, .fv-go a:focus-visible, .fv-row:focus-visible, .fv-block > summary:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; }
/* 1장: 쓰는 법 3단계 */
.fv-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.fv-shot { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--fv-line); color: var(--wp--preset--color--neutral-gray); font-size: .9em; overflow: hidden; }
.fv-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fv-steps p { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; font-size: 1.1em; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.fv-steps p b { flex: none; display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); font-size: .95em; }
/* 2장: 상황 카드(카드 하나 = 링크 하나) */
.fv-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.fv-sc { display: flex; flex-wrap: wrap; align-items: center; min-height: 72px; background: #fff; border: 1px solid var(--fv-line); }
.fv-sc:hover { border-color: var(--wp--preset--color--brand-wine); background: var(--wp--preset--color--brand-camel-light); }
.fv-sc-t { flex: 1; min-width: 0; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 72px; padding: 14px 18px; font-size: 1.15em; font-weight: 700; color: var(--wp--preset--color--neutral-text); text-decoration: none; word-break: keep-all; }
a.fv-sc-t::after { content: "→"; color: var(--wp--preset--color--brand-wine); }
.fv-sc.is-soon { border-style: dashed; }
.fv-sc.is-soon:hover { border-color: var(--fv-line); background: #fff; }
.fv-sc.is-soon .fv-sc-t { color: var(--wp--preset--color--neutral-gray); flex: 0 1 auto; }
.fv-sc.is-soon .fv-soon { margin-left: 0; }
.fv-try { margin: 18px 0 0; }
.fv-try-btn { min-height: 48px; padding: 0 22px; border: 1px solid var(--wp--preset--color--brand-wine); border-radius: 0; background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); font: inherit; font-weight: 700; cursor: pointer; }
.fv-try-btn[hidden] { display: none; }
.fv-try-btn:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; }
/* 3장: 어떤 분이세요? */
.fv-grid { display: grid; gap: 14px; }
.fv-grid-a, .fv-grid-c { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fv-grid-b { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.fv-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--fv-line); border-radius: 0; }
.fv-card h3, .fv-card h4 { margin: 0; font-size: 1.05em; line-height: 1.4; color: var(--wp--preset--color--neutral-text); }
.fv-card p { margin: 0; color: var(--wp--preset--color--neutral-gray); font-size: .92em; line-height: 1.55; word-break: keep-all; }
.fv-go { margin-top: auto; padding-top: 6px; }
.fv-go a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--wp--preset--color--brand-wine); border-radius: 0; background: #fff; color: var(--wp--preset--color--brand-wine); font-weight: 700; font-size: .92em; text-decoration: none; }
.fv-go a::after { content: "→"; }
.fv-go a:hover { background: var(--wp--preset--color--brand-wine); color: #fff; }
.fv-soon { display: inline-block; margin-left: 6px; padding: 0 8px; border: 1px solid var(--fv-line); background: var(--wp--preset--color--brand-camel-light); color: var(--wp--preset--color--neutral-gray); font-size: .78em; font-weight: 400; vertical-align: .1em; }
.fv-card.is-soon .fv-go a { border-style: dashed; color: var(--wp--preset--color--neutral-gray); border-color: var(--wp--preset--color--neutral-gray); pointer-events: none; }
.fv-card.is-soon .fv-go a::after { content: ""; }
/* 조작줄: 하단 중앙 */
.fv-ctl { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.fv-prev, .fv-next { width: 48px; height: 48px; padding: 0; border: 1px solid var(--wp--preset--color--brand-wine); border-radius: 0; background: #fff; color: var(--wp--preset--color--brand-wine); font-size: 15px; line-height: 1; cursor: pointer; }
.fv-prev:hover, .fv-next:hover { background: var(--wp--preset--color--brand-wine); color: #fff; }
.fv-count { min-width: 3.4em; text-align: center; font-variant-numeric: tabular-nums; color: var(--wp--preset--color--neutral-gray); }
.fv-dots { display: flex; gap: 2px; }
.fv-dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.fv-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 1px solid var(--wp--preset--color--brand-wine); background: transparent; }
.fv-dots button[aria-current="true"]::before { background: var(--wp--preset--color--brand-wine); }
/* 슬라이드 아래 접힘 목록 B·C */
.fv-more { max-width: 1100px; margin: 0 auto; padding: 16px 24px 12px; box-sizing: border-box; }
.fv-block { margin: 0 0 10px; background: #fff; border: 1px solid var(--fv-line); }
.fv-block > summary { list-style: none; cursor: pointer; }
.fv-block > summary::-webkit-details-marker { display: none; }
.fv-h { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; }
.fv-h h3 { margin: 0; font-size: 1.1em; line-height: 1.35; color: var(--wp--preset--color--brand-wine); }
.fv-h .fv-hint { color: var(--wp--preset--color--neutral-gray); font-size: .88em; }
.fv-h .fv-tog { margin-left: auto; color: var(--wp--preset--color--brand-wine); font-weight: 700; }
.fv-h .fv-tog::before { content: "▾"; }
.fv-block[open] .fv-tog::before { content: "▴"; }
.fv-block[open] > summary .fv-h { border-bottom: 1px solid var(--fv-line); }
.fv-block .fv-grid { padding: 16px 18px; }
.fv-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 16px; background: #fff; border: 1px solid var(--fv-line); color: inherit; text-decoration: none; }
.fv-row .n { flex: none; width: 1.7em; height: 1.7em; display: grid; place-items: center; background: var(--wp--preset--color--brand-camel-light); border: 1px solid var(--fv-line); font-size: .85em; font-weight: 700; color: var(--wp--preset--color--brand-wine); }
.fv-row .q { flex: 1; font-weight: 700; line-height: 1.4; }
.fv-row .q small { display: block; font-weight: 400; color: var(--wp--preset--color--neutral-gray); font-size: .8em; }
.fv-row::after { content: "→"; color: var(--wp--preset--color--brand-wine); font-weight: 700; }
.fv-row:hover { border-color: var(--wp--preset--color--brand-wine); background: var(--wp--preset--color--brand-camel-light); }
.fv-row-camp { border-style: dashed; }
@media (min-width: 782px) and (max-width: 1023px) { .fv-grid-a, .fv-grid-c { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fv-steps { gap: 14px; } }
@media (max-width: 781px) {
	/* 폰: 헤더 바로 밑을 가로로 꽉 채우는 막대(탭)가 접기도 맡는다 */
	.fv-tab { position: relative; display: flex; width: 100%; left: auto; justify-content: center; border-radius: 0; box-shadow: none; min-height: 52px; font-size: 1.1em; }
	.home-hero.fv-open .quick-menu-wrap { padding: 8px 16px 24px; }
	.fv-stage { padding: 20px 16px calc(var(--fv-gb) + 8px); }
	.fv-title { padding-right: 0; font-size: 1.35rem; }
	.fv-lead2 { margin-bottom: 14px; font-size: 1em; }
	.fv-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.fv-steps li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; }
	.fv-shot { aspect-ratio: 1; }
	.fv-steps p { margin: 0; font-size: 1.05em; }
	.fv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.fv-cards > .fv-sc:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.fv-sc, .fv-sc-t { min-height: 60px; }
	.fv-sc-t { padding: 10px 12px; font-size: 1.05em; }
	.fv-grid-a { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.fv-grid-a .fv-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; }
	.fv-grid-a .fv-card p { display: none; }
	.fv-grid-a .fv-card h3 { flex: 1; min-width: 0; font-size: 1em; word-break: keep-all; }
	.fv-grid-a .fv-go { margin: 0; padding: 0; flex: none; }
	.fv-ctl { gap: 6px; }
	.fv-count { display: none; }
	.fv-prev, .fv-next { width: 44px; height: 44px; }
	.fv-more { padding: 12px 16px 8px; }
	.fv-grid-b, .fv-grid-c { grid-template-columns: minmax(0, 1fr); }
	.fv-h .fv-hint { display: none; }
	.fv-block .fv-grid { padding: 12px; }
}

/* ===== 미사 표 3칸 — 코어 columns CSS에 의존하지 않음 (2026-11-09) =====
   홈 개편(2223b00)으로 홈 패턴에서 wp:columns 블록이 모두 빠지면서 코어가 columns 스타일을 안 불러와
   [hannamdong_mass_lists]가 만드는 .wp-block-columns가 세로로 쌓였다. 숏코드 결과에만 쓰므로 자체 그리드로 고정. */
.mass-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.mass-cols > .mass-card { margin: 0; min-width: 0; }
/* 미사 3열 카드 전환(§5-A): 카드 최소 200px × 3 + 간격 20 × 2 = 640px 아래면 1열(폰 배치) — 글자 크게 900px 창의 미사 및 성사 본문(약 624px)에서 카드 폭 175px로 제목이 한 글자씩 끊기던 것 */
:has(> .mass-cols) { container-type: inline-size; container-name: mc; }
@container mc (max-width: 639px) { .mass-cols { grid-template-columns: 1fr; gap: 16px; } }

/* ===== 히어로 영상: 대표 이미지(포스터)를 먼저 보이고, 영상이 실제로 재생되면 부드럽게 교체 (2026-11-09) =====
   영상 요소(.hero-video: <video> 또는 비메오 <iframe>)는 처음엔 투명. hero-slider.js 가 재생 확인 시 .is-ready 를 붙인다. */
.hero-video { opacity: 0; transition: opacity .6s ease; border: 0; background: transparent; pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
iframe.hero-video { object-fit: initial; }
@media (prefers-reduced-motion: reduce) { .hero-video { transition: none; } }

/* 히어로 안 버튼 쌍: 크기·높이·글자·정렬 통일(채움/테두리 버튼이 한 쌍으로 보이게) (2026-11-09) */
.home-hero .wp-block-buttons { align-items: center; gap: 12px; }
.home-hero .hero-btn-primary .wp-block-button__link,
.home-hero .hero-btn-outline .wp-block-button__link { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1.5px solid var(--wp--preset--color--neutral-bg); border-radius: 999px; color: var(--wp--preset--color--neutral-bg); background: transparent; font-size: 1.05em; font-weight: 700; line-height: 1.2; }

/* '처음 오셨나요?' 탭 — 안 A 확정(2026-11-09): 닫힘=와인 배경+레몬크림 글자(13.0:1), 열림=레몬크림 배경+와인 글자. 골드는 아래 선만. */
.fv-tab { background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); }
.fv-tab:hover { background: #4A0715; }
.fv-tab:focus-visible { outline-color: var(--hn-on-dark, #FFF8DC); }
.fv-tab .q { background: var(--hn-on-dark, #FFF8DC); color: var(--wp--preset--color--brand-wine); }
.fv-open .fv-tab { background: var(--wp--preset--color--brand-camel-light); color: var(--wp--preset--color--brand-wine); }
.fv-open .fv-tab:hover { background: #fff; }
.fv-open .fv-tab:focus-visible { outline-color: var(--wp--preset--color--brand-wine); }
.fv-open .fv-tab .q { background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); }

/* ===== 홈 사무실·오시는 길 (안 B 확정 · 안내판 스타일, 2026-11-09) — 흰 바탕+1px 선·작은 반경, 표/목록 형태, 강조는 와인 글자·굵은 선 ===== */
:is(#office,.sp-office){--w:var(--wp--preset--color--brand-wine,#5C0A1E);--g:var(--hn-line,#C5A26E);--line:#D8D0BF;--ink:var(--wp--preset--color--neutral-text,#241F1D);--sub:var(--wp--preset--color--neutral-gray,#5E5650);--ic-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");--ic-fax:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");--ic-bank:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10m4 11V10m6 11V10m4 11V10M2 10l10-7 10 7'/%3E%3C/svg%3E");--ic-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
#office .home-in{max-width:1200px;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
#office .office-grid,#office .office-loc,#office .hn-location{display:contents}
#office .section-title{grid-column:1/-1;margin-bottom:0}
#office .section-top{grid-column:1/-1;grid-row:6}
/* 카드: 흰 면 + 가는 선 + 작은 반경, 제목 밑 굵은 와인 선 한 가닥 */
:is(#office,.sp-office) .obox,#office .hn-location__info,#office .hn-transit,#office .hn-map{background:#fff;border:1px solid var(--line);border-radius:0;box-shadow:none;padding:22px 26px;box-sizing:border-box;margin:0;align-self:stretch}
:is(#office,.sp-office) .obox h3{margin:0 0 14px;padding:0 0 10px;border-bottom:2px solid var(--w);font-size:1.2em;color:var(--w)}
#office .office-grid>.obox:nth-child(1){grid-column:1;grid-row:2}
#office .hn-transit{grid-column:1;grid-row:3}
#office .office-grid>.obox:nth-child(2){grid-column:2;grid-row:2/span 2;display:flex;flex-direction:column}
/* 연락처: 목록(아이콘·이름·큰 번호), 줄 사이 1px 선 */
:is(#office,.sp-office) .hn-contact{display:block}
:is(#office,.sp-office) .obox .hn-contact__line{display:grid;grid-template-columns:30px 1fr;column-gap:14px;align-items:center;margin:0;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:1.3em;font-weight:700;line-height:1.35}
:is(#office,.sp-office) .obox .hn-contact__line:last-child{border-bottom:0;padding-bottom:0}
:is(#office,.sp-office) .obox .hn-contact__line::before{content:"";grid-row:1/span 3;width:28px;height:28px;background:var(--ic) center/28px no-repeat}
:is(#office,.sp-office) .obox .hn-contact__line:nth-child(1){--ic:var(--ic-phone)}
:is(#office,.sp-office) .obox .hn-contact__line:nth-child(2){--ic:var(--ic-fax)}
:is(#office,.sp-office) .obox .hn-contact__line:nth-child(3){--ic:var(--ic-bank)}
:is(#office,.sp-office) .obox .hn-contact__line strong{grid-column:2;display:block;min-width:0;font-size:.66em;font-weight:400;color:var(--sub)}
:is(#office,.sp-office) .obox .hn-contact__line a{color:var(--ink);text-decoration:none}
/* 사무실 페이지(#office-page): 위 줄 = 사무실 연락처 칸 + 직원 안내 칸(2열), 증명서 발행 띠, 아래 = 업무시간 표(전체 폭). 시안(서브페이지 시안 아티팩트)과 같은 구성 */
@media (min-width: 782px) { #office-page .office-grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; } }
.hn-staff { margin: 0; padding: 0; }
.hn-staff > div { display: grid; grid-template-columns: 4.6em 1fr; column-gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line, #D8D0BF); }
.hn-staff > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hn-staff dt { color: var(--sub, #6B6560); font-size: .95em; }
.hn-staff dd { margin: 0; color: var(--ink, #262019); font-size: 1.15em; font-weight: 700; }
#office-page .office-grid > .obox { display: flex; flex-direction: column; } /* 연락처·직원 칸 높이를 같게 */
#office-page .hn-staff { flex: 1; display: flex; flex-direction: column; }
#office-page .hn-staff > div { flex: 1; align-items: center; padding: 8px 0; } /* 세 줄이 칸 높이를 고르게 나눠 가짐 */
#office-page .office-cert { margin-top: 20px; }
.hn-certs { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.hn-certs li { padding: 7px 14px; border: 1px solid var(--line, #D8D0BF); font-size: 1em; font-weight: 700; color: var(--ink, #262019); }
#office-page .sp-sub#hours { margin-top: 32px; }
:is(#office,.sp-office) .obox .hn-contact__sub{font-size:.62em;font-weight:400;color:var(--sub)}
:is(#office,.sp-office) .hn-office-notice{margin:0 0 12px}
/* 업무시간: 안내판 표 — 요일 | 근무시간 | 점심·문 닫는 시간, 줄마다 1px 선. 오늘은 굵은 와인 글자 + 왼쪽 굵은 선 + '오늘' 글자 */
:is(#office,.sp-office) .hn-hours__table{display:block;border:0}
:is(#office,.sp-office) .hn-hours__table tbody{display:flex;flex-direction:column}
:is(#office,.sp-office) .hn-hours__table tr{position:relative;display:grid;grid-template-columns:2.2em 8.4em 1fr;align-items:center;gap:0 14px;padding:13px 0 13px 14px;border:0;border-bottom:1px solid var(--line);background:none;flex:1}
:is(#office,.sp-office) .hn-hours__table tr:last-child{border-bottom:0}
:is(#office,.sp-office) .hn-hours__table th{display:block;width:auto;height:auto;padding:0;border:0;border-radius:0;background:none;color:var(--w);font-size:1.15em;font-weight:700;grid-row:1/span 2;text-align:left}
:is(#office,.sp-office) .hn-hours__table td{display:block;border:0;padding:0;font-size:1.1em;font-weight:700;color:var(--ink)}
:is(#office,.sp-office) .hn-hours__table td:nth-child(2){grid-column:2;grid-row:1/span 2;align-self:center}
:is(#office,.sp-office) .hn-hours__table td:nth-child(3){grid-column:3;grid-row:1;font-size:.88em;font-weight:400;color:var(--sub)}
:is(#office,.sp-office) .hn-hours__table td:nth-child(4){grid-column:3;grid-row:2;font-size:.88em;font-weight:400;color:var(--sub)}
:is(#office,.sp-office) .hn-hours__table td:nth-child(3)::before{content:"점심시간 " / ""}
:is(#office,.sp-office) .hn-hours__table td:nth-child(4)::before{content:"성당 문 닫는 시간 " / ""}
:is(#office,.sp-office) .hn-hours__table td[colspan]{grid-column:2/-1;grid-row:1/span 2;color:var(--sub)}
/* 오늘 줄: 왼쪽 선 없이 라임 배경으로만 강조 (2026-11-11) */
:is(#office,.sp-office) .hn-hours__table tr.is-today{background:#EEF7AB;padding-right:12px}
:is(#office,.sp-office) .hn-hours__table tr.is-today td[colspan],#office .hn-hours__table tr.is-today td:nth-child(2){color:var(--w)}
:is(#office,.sp-office) .hn-hours__table tr.is-today::after{content:"오늘";position:absolute;top:50%;right:12px;transform:translateY(-50%);color:var(--w);font-size:.95em;font-weight:700}
:is(#office,.sp-office) .hn-hours__more{display:block;margin:16px 0 0}
:is(#office,.sp-office) .hn-hours__more a{display:inline-flex;align-items:center;min-height:48px;padding:0 4px;border:0;color:var(--w);font-weight:700;text-decoration:none}
@media (min-width: 900px) { /* PC·태블릿: 업무시간은 표(요일|근무시간|점심시간|성당 문 닫는 시간). 폰은 아래의 줄 나열 그대로 */
	#office-page .hn-hours__table { display: table; width: 100%; border: 1px solid var(--line, #D8D0BF); border-collapse: collapse; }
	#office-page .hn-hours__table thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
	#office-page .hn-hours__table thead tr { display: table-row; position: static; padding: 0; border: 0; background: none; }
	#office-page .hn-hours__table tbody { display: table-row-group; }
	#office-page .hn-hours__table thead th { display: table-cell; grid-row: auto; grid-column: auto; width: auto; padding: 11px 16px; background: var(--w, #5C0A1E); color: #FFF8DC; font-size: .9em; line-height: 1.3; font-weight: 700; text-align: center; border: 0; }
	#office-page .hn-hours__table tbody tr { display: table-row; position: static; padding: 0; background: none; border: 0; }
	#office-page .hn-hours__table tbody th, #office-page .hn-hours__table tbody td { display: table-cell; grid-row: auto; grid-column: auto; padding: 13px 16px; border: 0; border-top: 1px solid var(--line, #D8D0BF); font-size: 1em; font-weight: 400; color: var(--ink, #262019); text-align: center; vertical-align: middle; }
	#office-page .hn-hours__table tbody th { width: 5.5em; color: var(--w, #5C0A1E); font-weight: 700; text-align: center; }
	#office-page .hn-hours__table tbody td:nth-child(2) { font-weight: 700; }
	#office-page .hn-hours__table tbody td[colspan] { color: var(--sub, #6B6560); font-weight: 400; }
	#office-page .hn-hours__table td:nth-child(3)::before, #office-page .hn-hours__table td:nth-child(4)::before { content: none; }
	#office-page .hn-hours__table tr.is-today { background: #EEF7AB; padding: 0; }
	#office-page .hn-hours__table tr.is-today::after { content: none; }
	#office-page .hn-hours__table tr.is-today th::after { content: " · 오늘"; font-size: .8em; }
}
:is(#office,.sp-office) .hn-hours__more a:hover{border-bottom-color:var(--w)}
:is(#office,.sp-office) .hn-hours__more a:focus-visible,#office .section-top a:focus-visible{outline:3px solid var(--w);outline-offset:3px}
/* 교통·주차 */
#office .hn-transit__h{margin:16px 0 6px;font-size:1.05em;color:var(--w)}
#office .hn-transit__h:first-child{margin-top:0}
#office .hn-transit__parking{margin:0;padding:0;border:0;background:none;border-radius:0}
/* 지도 + 길찾기 막대 + 붙은 주소 막대. 지도가 숨겨져도 막대만 남아 무너지지 않는다 */
#office .hn-map{grid-column:1/-1;grid-row:4;padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0;border-radius:0}
#office .hn-map__canvas{width:100%;flex:none}
#office .hn-map__links{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:14px 20px;border-top:1px solid var(--line);background:#fff}
#office .hn-map:not(:has(.hn-map__canvas:not([style*="display: none"]))) .hn-map__links{border-top:0}
#office .hn-map__links a{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border:1.5px solid var(--w);border-radius:0;background:var(--w);color:#fff;font-weight:700;text-decoration:none}
#office .hn-map__links a:hover{background:#4A0715}
#office .hn-map__links a:focus-visible{outline:3px solid var(--w);outline-offset:3px}
#office .hn-location__info{grid-column:1/-1;grid-row:5;margin-top:-24px;display:flex;flex-direction:column;justify-content:center;border-top:0;border-radius:0;padding:16px 26px}
#office .hn-location__info .hn-contact__line{margin:0}
#office .hn-location__info .hn-contact__line:first-child{display:grid;grid-template-columns:30px 1fr;column-gap:14px;align-items:center;font-size:1.25em;font-weight:700;color:var(--ink);line-height:1.45}
#office .hn-location__info .hn-contact__line:first-child::before{content:"";grid-row:1/span 2;width:28px;height:28px;background:var(--ic-pin) center/28px no-repeat}
#office .hn-location__info strong{display:block;color:var(--sub);font-weight:400;font-size:.7em}
#office .hn-location__info .hn-contact__line:nth-child(n+2){display:none} /* 연락처 카드와 중복되는 전화·팩스 줄은 생략 */
:is(#office,.sp-office) .hn-hours__table tr[hidden]{display:none!important}
@media (max-width:781px){
 #office .home-in{grid-template-columns:1fr!important;gap:16px!important}
 #office .office-grid>.obox,#office .hn-location__info,#office .hn-transit{grid-column:1!important;grid-row:auto!important;padding:18px!important}
 #office .hn-map{grid-column:1!important;grid-row:auto!important;padding:0!important}
 #office .hn-location__info{margin-top:-16px!important}
 #office .hn-map__links{padding:12px 16px}
 #office .obox .hn-contact__line{font-size:1.15em}
 #office .obox .hn-contact__line:nth-child(3){font-size:1.02em}
 #office .hn-hours__table tr:not(.is-today){display:none}
 #office .hn-hours__table tr{padding:10px 0 10px 12px}
 #office .section-top{grid-row:auto!important}
}
#office .office-grid>.obox:nth-child(2) .hn-hours{flex:1;display:flex;flex-direction:column}
#office .office-grid>.obox:nth-child(2) .hn-hours__table{flex:1;display:flex;flex-direction:column}
#office .office-grid>.obox:nth-child(2) .hn-hours__table tbody{flex:1}

/* 홈 사무실 표: 열 머리글은 화면에서 숨기되 스크린리더에는 남긴다(행 안 라벨은 장식 텍스트) */
:is(#office,.sp-office) .hn-hours__table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (min-width: 900px) { #office-page .hn-hours__table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; } }
@media (max-width:781px){
 #office .hn-hours__table tr{grid-template-columns:2.2em 1fr}
 #office .hn-hours__table th{grid-row:1}
 #office .hn-hours__table td:nth-child(2){grid-column:2;grid-row:1}
 #office .hn-hours__table td:nth-child(3){grid-column:2;grid-row:2;margin-top:4px}
 #office .hn-hours__table td:nth-child(4){grid-column:2;grid-row:3}
 #office .hn-hours__table td[colspan]{grid-column:2;grid-row:1}
 #office .hn-hours__table tr.is-today::after{top:16px;transform:none}
}

/* ===== 모티브 B(첨탑) 포인트: 제목 앞 첨탑, 버튼 골드 밑선. 벽돌 줄눈 띠는 쓰지 않음(2026-11-09) ===== */
#office .hn-map__links a{box-shadow:none;margin-bottom:0}
/* 홈 구역 제목 앞 첨탑 — 모든 구역 제목에 같은 모양, 글자색을 따라간다(밝은 면에서는 와인, 자색 면에서는 크림) */
.home-section .section-title::before, #mass .section-title::before{content:"";display:inline-block;width:16px;height:28px;margin-right:10px;vertical-align:-3px;background:currentColor;-webkit-mask:var(--hn-spire) center/contain no-repeat;mask:var(--hn-spire) center/contain no-repeat}

/* 폰: 푸터 주소와 전화·팩스 사이에서 줄바꿈 */
@media (max-width:781px){.footer-simple .footer-addr,.footer-simple .footer-tel{display:block}.footer-simple .footer-sep{display:none}}

/* ===== 홈 미사시간 정리(2026-11-09, 가이드: 장식 덜기) — 나무 틀·점 무늬·받침·그림자 제거, 점선→실선, 인근 성당 막대 흰 면. 손그림 동그라미는 사용자 요청이라 유지 ===== */
.mass-board { border: 0; border-radius: 0; box-shadow: none; background-image: none; padding: 24px 28px 22px; }
.mass-board::after { content: none; }
.mass-board .mb-note { border-radius: 0; border: 1px solid rgba(255, 248, 220, .5); }
.mass-list li { border-bottom: 1px solid var(--wp--preset--color--neutral-border); }
.page-main .mass-list li { border-bottom-color: var(--line); }
.mass-card-cta { border-top: 1px solid var(--wp--preset--color--neutral-border); }
.mass-near { border-radius: 0; background: #fff; border: 1px solid var(--wp--preset--color--neutral-border); color: var(--wp--preset--color--neutral-text); }
.mass-near .mn-title, .mass-near summary { color: var(--wp--preset--color--neutral-text); }
.mass-near .mn-title small, .mass-near .mn-hint { color: var(--wp--preset--color--neutral-gray); }
.mass-near .mn-group { border-top-color: var(--wp--preset--color--neutral-border); }
.mass-near .mn-label { background: none; border: 1px solid var(--wp--preset--color--neutral-border); color: var(--wp--preset--color--neutral-gray); }
.mass-near li a, .mass-near li span { border-radius: 0; background: #fff; border-color: var(--wp--preset--color--neutral-border); }
.mass-near li span { border-style: solid; }
.mass-near summary:focus-visible { border-radius: 0; }

/* 푸터 글자: 글자 크기 토글(html.fs-*)에 연동(본문 대비 .95em) */
.footer-simple .footer-line { font-size: .95em; }
/* 미사시간: 안내판·카드·인근 성당 막대의 가로 폭을 같게(1200px, 가운데 정렬), 안내판 모서리 4px */
.mass-board { box-sizing: border-box; max-width: 1200px; margin-left: auto; margin-right: auto; border-radius: 4px; }
.mass-near { box-sizing: border-box; }
/* 인근 성당: '한국어 미사·외국어 미사'는 버튼처럼 보이지 않게 글자(와인)로만 표기 */
.mass-near .mn-label { padding: 0; border: 0; background: none; border-radius: 0; color: var(--wp--preset--color--brand-wine); font-size: .95rem; text-align: left; }
/* 폰: 인근 성당 — 언어 라벨은 한 줄을 차지하고 성당 이름은 그 아래로(한국어·외국어 동일) */
@media (max-width: 781px) { .mass-near .mn-label { flex: 0 0 100%; } }

/* 카카오 약도 백업(키 없을 때): 폰은 폰용, 그 외는 PC용만 보임 */
.hn-map__rough { display: flex; justify-content: center; padding: 12px; }
.hn-map__rough.hn-rough-m { display: none; }
@media (max-width: 781px) { .hn-map__rough.hn-rough-d { display: none; } .hn-map__rough.hn-rough-m { display: flex; } }

/* 홈 사무실: 교통편은 우리 목록(역 이름에 카카오맵 링크)으로 보여 주므로, 약도 아래에 붙는 주소·전화·주변 교통 부분은 잘라 지도+하단 막대만 남긴다 */
#office .hn-rough-d .root_daum_roughmap{height:392px!important;overflow:hidden}
#office .hn-rough-m .root_daum_roughmap{height:272px!important;overflow:hidden}
/* 교통편: 지하철·버스·주차 줄마다 앞에 아이콘(와인 선 + 옅은 회색 원), 노선은 색 글자(굵게)로 구분 */
.hn-transit__row{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--line,#D8D0BF)}
.hn-transit__row:last-child{border-bottom:0;padding-bottom:0}
.hn-transit__row:first-child{padding-top:0}
.hn-transit__ic{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#EEE center/32px no-repeat;display:flex;align-items:center;justify-content:center;color:#5C0A1E;font-size:1.7em;font-weight:400;line-height:1}
.hn-transit__row--subway .hn-transit__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%235C0A1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='11' y='6' width='26' height='28' rx='6'/%3E%3Cpath d='M11 22h26M16 28h.01M32 28h.01M16 34l-5 7M32 34l5 7'/%3E%3C/svg%3E")}
.hn-transit__row--bus .hn-transit__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%235C0A1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='11' y='12' width='26' height='28' rx='5'/%3E%3Cpath d='M11 24h26M17 33h.01M31 33h.01M18 12l3-6M30 12l-3-6'/%3E%3C/svg%3E")}
.hn-transit__row>div{min-width:0}
.hn-transit__list{margin:0;padding:0;list-style:none;line-height:1.7}
.hn-transit__parking{margin:0;line-height:1.65}
.hn-transit__link{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#C5A26E}
.hn-c{font-weight:700}
.hn-c--gj{color:#1F7A5A}.hn-c--l6{color:#9A4A12}.hn-c--l3{color:#A55A00}.hn-c--l4{color:#1D5FA8}.hn-c--l1{color:#1D4FA0}.hn-c--l2{color:#1F7A3A}.hn-c--l5{color:#7A3FA0}.hn-c--l7{color:#5C6B1A}.hn-c--l9{color:#8A6A00}.hn-c--bd{color:#8A6A00}
.hn-c--green{color:#1B6B2A}.hn-c--blue{color:#1D5FC4}.hn-c--red{color:#C4161C}.hn-c--yellow{color:#8A6A00}.hn-c--village{color:#1F7A5A}.hn-c--x{color:inherit}
/* 폰: 폰용 약도(360px)가 카드(약 327px)보다 넓어 90%로 줄여 맞춘다 */
@media (max-width: 781px) { #office .hn-rough-m { zoom: .9; padding: 0; } #office .hn-map .hn-map__links { padding: 12px 16px; } }

/* 게시판 목록·상세 공통 보정 (2026-11-10): 왼쪽 메뉴 폭·본문과의 간격, 공지 분류 칩 색·정렬 */
@media (min-width: 782px) {
	.page-cols { gap: 48px; }
	.page-cols > .page-side { flex-basis: 180px !important; flex-grow: 0 !important; } /* 폭은 CSS 로만(템플릿에 인라인 flex-basis 없음) */
}
.board-row .board-title { margin: 0; }
.board-row > .wp-block-group { align-items: center; }
.board-cat { margin: 0; line-height: 1; }
.board-cat a.cat-chip { display: inline-block; min-width: 3.4em; padding: 4px 8px; border: 1px solid currentColor; border-radius: 3px; background: #fff; font-size: .85em; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.board-cat a.cat-chip--parish { color: var(--cat-parish); }
.board-cat a.cat-chip--bell { color: var(--cat-bell); }
.board-cat a.cat-chip--society { color: var(--cat-society); }

/* 게시판 고정글(필독): 연한 와인 배경 + 고정핀 아이콘. 목록 맨 위에 모인다(inc/board-pin.php) */
.board-row.is-pinned { border-left: 3px solid var(--wp--preset--color--brand-wine); padding-left: 12px; padding-right: 12px; }
.board-row.is-pinned .board-cat { display: inline-flex; align-items: center; }
.board-row.is-pinned .board-cat::before { content: ""; display: inline-block; width: 20px; height: 20px; margin-right: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1.2 6.2L17 12v1.5H7V12l3.2-2.8z'/%3E%3Cpath d='M12 13.5V21'/%3E%3C/svg%3E") center/20px no-repeat; }
.board-row.is-pinned .board-title { font-weight: 700; }

/* 폰: 목록 한 줄을 두 줄로 — 위 줄에 분류 칩(왼쪽)·날짜(오른쪽), 아래 줄에 제목을 전체 폭으로 (제목이 좁아 3줄로 꺾이던 문제) */
@media (max-width: 781px) {
	.board-row { display: grid !important; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 6px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
	.board-row > .wp-block-group { display: contents; }
	.board-row .board-cat { grid-column: 1; grid-row: 1; justify-self: start; }
	.board-row .board-date { grid-column: 2; grid-row: 1; margin: 0; font-size: .9em; white-space: nowrap; }
	.board-row .board-title { grid-column: 1 / -1; grid-row: 2; line-height: 1.45; }
}

/* 게시판 목록 검색 (inc/board-search.php) */
.board-search-result { margin: 0 0 12px; text-align: right; color: var(--wp--preset--color--neutral-gray); }
.board-search-result a { color: var(--wp--preset--color--brand-wine); font-weight: 700; }

/* 히어로 컬러 배경(사진·영상 없이): 와인·진녹·진자 중 하나 + 한쪽에서 빛이 살짝 비치는 느낌. 사용자 요청 예외(섹션 배경에는 그라데이션을 쓰지 않는다). 흰 글자 대비 4.5:1 이상 */
.hero-color { --hc-base: #5C0A1E; --hc-light: rgba(255, 255, 255, .16); background: var(--hc-base); }
.hero-color--green { --hc-base: #1A3A32; }
.hero-color--purple { --hc-base: #2F1B45; }
.hero-color--left { background: radial-gradient(ellipse 75% 130% at 0% 35%, var(--hc-light), rgba(255, 255, 255, 0) 62%), var(--hc-base); }
.hero-color--right { background: radial-gradient(ellipse 75% 130% at 100% 35%, var(--hc-light), rgba(255, 255, 255, 0) 62%), var(--hc-base); }
.hero-color .hero-shade { display: none; }

/* 게시판 목록 화면 간격 통일: 전체 목록(페이지 템플릿)과 분류 목록(분류 템플릿)이 같은 위치·간격을 쓰도록 맞춤 (2026-11-10) */
.page-main .board-list, .page-main .board-gallery { margin-top: 0 !important; }

/* 글 상세: 본문과 '목록' 버튼을 구분선으로 떼고, 버튼은 와인 선·글자로 (2026-11-10) */
.back-to-list { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--wp--preset--color--neutral-border); }
.back-to-list a { border: 1.5px solid var(--wp--preset--color--brand-wine); color: var(--wp--preset--color--brand-wine); font-weight: 700; }
.back-to-list a:hover { background: var(--wp--preset--color--brand-wine-tint); }
.back-to-list a:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 3px; }

/* 홈 박스 제목 공통 규칙(2026-11-11): 사무실 박스처럼 제목 크기·색·아래 와인 2px 선을 모든 박스에 같게 — 미사 카드·본당소식 카드·사무실 카드 */
.mass-card h3, .ncard h3, #office .obox h3, .sp-card > h3, .sp-box > h3, .sp-icard > h3 { margin: 0 0 14px; padding: 0 0 10px; border-bottom: 2px solid var(--wp--preset--color--brand-wine); font-size: 1.2em; font-weight: 700; color: var(--wp--preset--color--brand-wine); }
.mass-card h3 { font-size: 1.2em; }

/* 홈 '더 보기' 링크 공통 규칙(2026-11-11): 와인색 굵은 글자 + 화살표 →, 밑줄 없음 — 공지·주보·WYD·일정 카드, 미사 카드의 본당업무, 사무실의 본당업무 바로가기가 모두 같은 모양 */
.ncard .more a, .ncard .news-go a, .mass-office-btn, #office .hn-hours__more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-weight: 700; color: var(--wp--preset--color--brand-wine); text-decoration: none; border: 0; }
.ncard .more a:hover, .ncard .news-go a:hover, .mass-office-btn:hover, #office .hn-hours__more a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* 본당주보 카드: 제목 줄이 두꺼워져 날짜가 줄에 겹치던 것을 제목 높이로 끌어올림 */
.hn-bulletin__date, #news-bulletin .hn-bulletin__date { margin-top: -54px; margin-bottom: 14px; }

/* 홈 WYD 카드 영상 자리(2026-11-11): 16:9 비율. 클릭 전에는 와인 바탕 + 로고, 클릭하면 영상 재생(자동재생 없음) */
.ncard-camp .hn-yt--camp { margin: 0 0 10px; border-radius: 0; background: radial-gradient(120% 90% at 20% 20%, #7a1a30, #2c0410); display: grid; place-items: center; }
.ncard-camp .hn-yt--camp .wyd-plate { position: static; }
.ncard-camp .hn-yt--camp .hn-yt__btn { background: transparent; display: grid; place-items: end end; padding: 0 16px 14px 0; font-size: 2.2rem; line-height: 1; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* 본당주보 카드: 표지 오른쪽에 전례일정 이름 + 버튼 3개를 한 칸(.hn-bulletin__side)으로. 긴 이름도 오른쪽 칸 안에서만 줄바꿈 */
.hn-bulletin__side { grid-column: 2; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
/* 주보 카드 전환(§5-A): 표지 칸이 최소 읽기 폭 130px 아래로 내려가면(900px 창에서 57px) 폰 배치(표지|버튼 1:1)로 둔다. 판정은 뷰포트가 아니라 카드 폭, 글자 크기와 무관.
   N = 표지 130 + 간격 16 + 오른쪽 열 14em(크게 21px 기준 294) = 440 */
#news-bulletin { container-type: inline-size; container-name: bul; }
@container bul (max-width: 439px) { #news-bulletin .hn-bulletin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } #news-bulletin .hn-bulletin__coverlink { min-height: 0; } }
@container bul (min-width: 440px) { #news-bulletin .hn-bulletin { grid-template-columns: minmax(0, 1fr) 14em; } }
#news-bulletin .hn-bulletin__side { grid-row: 2; }
.hn-bulletin__lit { margin: 0; font-size: .92em; font-weight: 700; line-height: 1.45; color: var(--wp--preset--color--neutral-text); word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.hn-bulletin__side .hn-bulletin__btns { grid-column: auto; }
/* WYD 카드 영상 칸 비율 2:1 — 같은 줄의 본당일정(5건)과 높이가 맞는다. 16:9로 되돌리려면 aspect-ratio 를 16 / 9 로 */
.ncard-camp .hn-yt--camp { aspect-ratio: 2 / 1; }

/* 폰: 미디어 카드는 옆으로 밀어 보는 한 줄 — 첫 카드가 크게 보이고 둘째 카드가 오른쪽에 살짝 걸려 더 있음을 알린다(스크롤 스냅, 자동 이동 없음) */
@media (max-width: 781px) {
	.hn-media-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 0 10px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
	.hn-media-cards::-webkit-scrollbar { display: none; }
	.hn-media-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* 미디어 섹션 박스 라인을 골드로(2026-11-11) — 자색 면 위에서 카드 테두리·마우스 올림·키보드 선택 모두 골드 */
.media-section .hn-media-card { border-color: var(--hn-line, #C5A26E); }
.media-section .hn-media-card:hover, .media-section .hn-media-card:focus-within { border-color: var(--hn-line, #C5A26E); }
.media-section .hn-media-card__link:focus-visible { outline: 3px solid var(--hn-line, #C5A26E); outline-offset: -3px; }


/* [역할 구분] .hn-embed = 글 본문의 구글 슬라이드·캔바·드라이브 자료(inc/embeds.php). 홈 WYD 카드의 유튜브는 .hn-yt(CSS·JS가 inc/home-data.php 안에 인라인). 둘 다 눌러서 여는 자리표시라 같은 계열이며 아직 합치지 않음(오픈 이후 검토). */
/* 구글 슬라이드·캔바 자료 자리표시(눌러서 화면에서 보기) — inc/embeds.php. 16:9, 누르기 전에는 외부 요청 없음 */
.hn-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 8px; background: #2c0410; overflow: hidden; }
.hn-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hn-embed__btn { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; background: transparent; color: var(--hn-on-dark, #FFF8DC); font: inherit; font-weight: 700; font-size: 1.15em; cursor: pointer; }
.hn-embed__play { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid currentColor; border-radius: 50%; font-size: 1.6rem; padding-left: 4px; }
.hn-embed__btn:hover .hn-embed__play, .hn-embed__btn:focus-visible .hn-embed__play { background: rgba(255, 248, 220, .15); }
.hn-embed__btn:focus-visible { outline: 3px solid var(--hn-line, #C5A26E); outline-offset: -6px; }
.hn-embed__alt { margin: 0 0 24px; font-size: .95em; }
.hn-embed__alt a { color: var(--wp--preset--color--brand-wine); font-weight: 700; }

/* 사진 썸네일 마우스 올림 — 공통 규칙 한 곳(2026-11-11 사용자 확정: 727f8c2·924f320, 11-12 unslop 점검에서 빠졌던 것을 되돌림).
   골드 테두리 + 빛이 한 바퀴(1.2초 1회) + 사진 4% 확대(0.4초). 키보드 선택도 같음. '동작 줄이기'면 움직임 없이 밝은 테두리만(정지).
   적용: 홈 미디어 카드(.media-section .hn-media-card) · 갤러리 목록·태그 목록(.board-gallery .gallery-thumb). 새 사진 목록은 아래 목록에 선택자만 더한다. */
@property --hn-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes hn-orbit { from { --hn-a: 0deg; opacity: 1; } 85% { opacity: 1; } to { --hn-a: 360deg; opacity: 0; } }
.media-section .hn-media-card, .board-gallery .gallery-thumb { position: relative; overflow: hidden; }
.board-gallery .gallery-thumb { border: 1px solid transparent; border-radius: var(--r); transition: border-color .2s; }
.media-section .hn-media-card::after, .board-gallery .gallery-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 3px; pointer-events: none; opacity: 0; filter: drop-shadow(0 0 5px rgba(255, 243, 196, .9));
	background: conic-gradient(from var(--hn-a), rgba(255, 243, 196, 0) 0, rgba(255, 243, 196, 0) 35%, rgba(255, 232, 150, .7) 70%, #FFFBE6 94%, rgba(255, 255, 255, 0) 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.media-section .hn-media-card__img img, .board-gallery .gallery-thumb img { transition: transform .4s ease; }
.board-gallery .wp-block-post-template > li:hover .gallery-thumb, .board-gallery .wp-block-post-template > li:focus-within .gallery-thumb { border-color: var(--hn-line, #C5A26E); }
.media-section .hn-media-card:hover .hn-media-card__img img, .media-section .hn-media-card:focus-within .hn-media-card__img img,
.board-gallery .wp-block-post-template > li:hover .gallery-thumb img, .board-gallery .wp-block-post-template > li:focus-within .gallery-thumb img { transform: scale(1.04); }
.media-section .hn-media-card:hover::after, .media-section .hn-media-card:focus-within::after,
.board-gallery .wp-block-post-template > li:hover .gallery-thumb::after, .board-gallery .wp-block-post-template > li:focus-within .gallery-thumb::after { opacity: 1; animation: hn-orbit 1.2s cubic-bezier(.4, 0, .2, 1) 1 both; }
@media (prefers-reduced-motion: reduce) {
	.media-section .hn-media-card__img img, .board-gallery .gallery-thumb img { transition: none; }
	.media-section .hn-media-card:hover .hn-media-card__img img, .media-section .hn-media-card:focus-within .hn-media-card__img img,
	.board-gallery .wp-block-post-template > li:hover .gallery-thumb img, .board-gallery .wp-block-post-template > li:focus-within .gallery-thumb img { transform: none; }
	.media-section .hn-media-card:hover::after, .media-section .hn-media-card:focus-within::after,
	.board-gallery .wp-block-post-template > li:hover .gallery-thumb::after, .board-gallery .wp-block-post-template > li:focus-within .gallery-thumb::after { animation: none; opacity: 1; background: rgba(255, 243, 196, .9); }
}

/* 글 상세 본문 블록 사이 간격 — 사진·자료 자리가 글·다른 블록에 딱 붙지 않게(2026-11-11) */
body.single .page-main .wp-block-post-content > * { margin-block: 0 var(--gap); }
body.single .page-main .wp-block-post-content > .wp-block-image, body.single .page-main .wp-block-post-content > .wp-block-gallery { margin-block: 0 var(--gap); }
body.single .page-main .wp-block-post-content .hn-embed { margin: 0 0 12px; }
body.single .page-main .wp-block-post-content .hn-embed + .hn-embed__alt { margin-top: 0; }

/* ===== 서브페이지 본문 구성(.sp) — 2026-11-11 시안 확정. 홈과 같은 규칙: 흰 면+1px 선·8px, 박스 제목 밑 와인 2px, 구역 제목 앞 첨탑,
   크림 카드·원형 아이콘 배경·골드 글자·장식 막대 없음. 본문 폭 기준 컨테이너 쿼리(좌측 메뉴를 뺀 폭). ===== */
.sp { container-type: inline-size; --w: var(--wp--preset--color--brand-wine, #5C0A1E); --g: var(--hn-line, #C5A26E); --ink: var(--wp--preset--color--neutral-text, #241F1D); --sub: var(--wp--preset--color--neutral-gray, #5E5650); }
.sp > :first-child { margin-top: 0; }
.sp-sec, .page-main h2:not(.board-title), .hn-tab > h2:first-child { margin: 40px 0 18px; font-size: var(--wp--preset--font-size--x-large, 1.6em); line-height: 1.3; color: var(--w); }
.sp-sec:first-child, .page-main > h2:first-child:not(.board-title), .hn-tab > h2:first-child { margin-top: 0; }
.sp-sec::before, .page-main h2:not(.board-title)::before, .hn-tab > h2:first-child::before { content: ""; display: inline-block; width: 14px; height: 24px; margin-right: 10px; vertical-align: -3px; background: currentColor; -webkit-mask: var(--hn-spire) center/contain no-repeat; mask: var(--hn-spire) center/contain no-repeat; }
.sp-sec::after, .page-main h2:not(.board-title)::after, .hn-tab > h2:first-child::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; background: var(--lit-line, var(--g)); }
.sp-sub { margin: 28px 0 12px; font-size: 1.1em; color: var(--ink); }
/* 카드 공통 기반(흰 면 + 1px 선 + 8px + 안쪽 여백) — 홈 .obox 와 서브페이지 .sp-card/.sp-box/.sp-note 가 함께 쓴다 */
.obox, .sp-card, .sp-box, .sp-note { background: #fff; border: 1px solid var(--line, #D8D0BF); border-radius: var(--r); padding: var(--pad); }
.sp-note { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 16px 0;  }
.sp-note b { color: var(--w); }
.sp-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.sp-kv > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); }
.sp-kv small { display: block; color: var(--sub); font-size: .88em; }
.sp-kv b { display: block; word-break: keep-all; }
.sp-floors { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin: 0 0 16px; }
.sp-floors > div { display: grid; grid-template-columns: 5.5em 1fr auto; gap: 12px; padding: 12px var(--pad); border-top: 1px solid var(--line); }
.sp-floors > div:first-child { border-top: 0; }
.sp-floors b { color: var(--w); } .sp-floors em { font-style: normal; color: var(--sub); }
/* 번호 단계 목록 — 순서가 정보일 때만(신청 절차) */
.sp-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: sp; }
.sp-steps > li { counter-increment: sp; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: var(--pad); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.sp-steps > li::before { content: counter(sp); display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r); background: var(--w); color: var(--hn-on-dark, #FFF8DC); font-weight: 700; }
.sp-steps p { margin: .25em 0 0; }
/* 아이콘 카드(교적·미사 참례) */
.sp-icards { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 16px; }
.sp-icard { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); }
.sp-icard > img { grid-row: 1 / span 6; width: 44px; height: 44px; object-fit: contain; }
.sp-icard > h3 { grid-column: 2; }
.sp-icard > div { grid-column: 2; }
.sp-icard p { margin: 0 0 .4em; font-size: .95em; }
/* 연혁 */
.sp-chip, .sp-sort, .sp-year-select { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; min-height: 40px; font: inherit; font-size: .92em; color: var(--ink); cursor: pointer; }
.sp-chip.on { background: #1A3A32; border-color: #1A3A32; color: var(--hn-on-dark, #FFF8DC); }
.sp-yr { margin: 0 0 20px; }
.sp-yr > h3 { margin: 0 0 6px; padding: 0 0 8px; border-bottom: 2px solid var(--w); font-size: 1.15em; color: var(--w); }
.sp-yr ul { list-style: none; margin: 0; padding: 0; }
.sp-yr li { display: grid; grid-template-columns: 5.4em 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sp-yr li[hidden], .sp-yr[hidden] { display: none; }
.sp-yr time { color: var(--sub); }
.sp-yr .tag { align-self: start; font-size: .75em; color: var(--sub); border: 1px solid var(--line); border-radius: 0; padding: 1px 9px; white-space: nowrap; }
/* 구역 안내 */
.sp-finder { margin: 0 0 16px; }
.sp-finder form { display: flex; gap: 8px; }
.sp-finder input { flex: 1; min-width: 0; }
/* 버튼 — 서브페이지 공통 2종. 주 = 와인 면 + 흰 글자 + 골드 4px 밑선, 보조 = 흰 면 + 와인 선. 높이 48px 이상·모서리 0.
   홈의 .hn-btn(.page-main 밖)·히어로·길눈 버튼, 컨트롤인 알약(.back-to-list·탭·필터)은 이 규칙 밖 */
.sp-finder button, .site-search .wp-block-search__button, .page-main .hn-bulletin__btns .hn-btn:first-child { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-bottom: 4px solid var(--hn-line, #C5A26E); border-radius: 0; background: var(--wp--preset--color--brand-wine); color: #fff !important; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.page-main .hn-btn { box-sizing: border-box; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--wp--preset--color--brand-wine); border-radius: 0; background: #fff; color: var(--wp--preset--color--brand-wine) !important; }
.sp-finder button:hover, .site-search .wp-block-search__button:hover, .page-main .hn-bulletin__btns .hn-btn:first-child:hover { background: var(--wp--preset--color--brand-wine-dark); }
.page-main .hn-btn:not(:first-child):hover { background: var(--wp--preset--color--brand-wine); color: #fff !important; }
.sp-finder button:focus-visible, .site-search .wp-block-search__button:focus-visible, .page-main .hn-btn:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 3px; }
.sp-finder__out { margin-top: 10px; padding: var(--pad); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.sp-finder__out ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 1.2em; color: var(--w); }
.sp-finder__lead, .sp-finder__none { margin: 0; }
.sp-area details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 10px; }
.sp-area summary { display: flex; justify-content: space-between; gap: 10px; padding: 14px var(--pad); cursor: pointer; list-style: none; font-size: 1.05em; }
.sp-area summary::-webkit-details-marker { display: none; }
.sp-area summary em { font-style: normal; color: var(--sub); font-size: .88em; }
.sp-area details[open] > summary { border-bottom: 2px solid var(--w); }
.sp-area ul { list-style: none; margin: 0; padding: 4px var(--pad) 10px; }
.sp-area li { display: grid; grid-template-columns: 2.8em 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); word-break: keep-all; }
.sp-area li:first-child { border-top: 0; }
.sp-area .ban { font-weight: 700; color: var(--w); }
.sp-area li.is-hit { background: #EEF7AB; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
@container (min-width: 720px) {
	.sp-kv { grid-template-columns: repeat(4, 1fr); }
	.sp-icards { grid-template-columns: repeat(3, 1fr); }
	.sp-icards.two { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 781px) {
	/* 사진이 나오는 목록은 폰에서 한 줄에 하나씩 크게 */
	.board-gallery .wp-block-post-template { grid-template-columns: 1fr !important; }
	.sp-icard { grid-template-columns: 44px 1fr; }
}

#office-page .hn-hours__table tr.is-today{padding-right:64px}
.sp-kv.three{grid-template-columns:repeat(3,1fr)}
@media (max-width:781px){.sp-kv.three{grid-template-columns:1fr}}
h4.sp-sub { font-size: 1em; margin-top: 22px; }
.sp-yr li:has(time:empty) { grid-template-columns: 1fr auto; }
.sp-yr time:empty { display: none; }
/* 사람 카드·임기 목록·긴 글·체크 목록 (성직자·사목방침·혼인·사목협의회 명단) */
.sp-pcards { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0 0 16px; }
.sp-pcard { display: flex; flex-direction: column; gap: 2px; padding: var(--pad); background: #fff; border: 1px solid var(--line, #D8D0BF); border-radius: var(--r); }
.sp-pcard small { color: var(--w, var(--wp--preset--color--brand-wine)); font-weight: 700; }
.sp-pcard b { font-size: 1.1em; }
.sp-pcard span { color: var(--sub, var(--wp--preset--color--neutral-gray)); font-size: .88em; }
.sp-plist { list-style: none; margin: 0 0 16px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.sp-plist li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px var(--pad); border-top: 1px solid var(--line); }
.sp-plist li:first-child { border-top: 0; }
.sp-plist span { color: var(--sub); }
.sp-prose { max-width: 40em; line-height: 1.95; }
.sp-prose p { margin: 0 0 1em; }
.sp-prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.sp-lead { font-size: 1.1em; color: var(--w); margin: 0 0 1em; }
.sp-sign { text-align: right; color: var(--sub); margin: 18px 0 0; }
.sp-check { list-style: none; margin: .5em 0 0; padding: 0; }
.sp-check > li { position: relative; padding: 6px 0 6px 26px; border-top: 1px solid var(--line); }
.sp-check > li:first-child { border-top: 0; }
.sp-check > li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 6px; border-left: 2px solid var(--w); border-bottom: 2px solid var(--w); transform: rotate(-45deg); }
.sp-check.sp-card { margin-top: 10px; padding: 8px 20px; }
.sp-steps b { display: block; margin-bottom: 2px; color: var(--w); }
.sp-steps li > div > :last-child { margin-bottom: 0; }
@container (min-width: 720px) {
	.sp-pcards { grid-template-columns: repeat(3, 1fr); }
	.sp-pcards.four { grid-template-columns: repeat(4, 1fr); }
	.sp-plist { display: grid; grid-template-columns: 1fr 1fr; }
	.sp-plist li:nth-child(2) { border-top: 0; }
	.sp-plist li:nth-child(odd) { border-right: 1px solid var(--line); }
}
/* 분과/단체 카드: 사진이 아직 없으면 빈 자리 없이 글 카드로, 사진이 있으면 위에 크게. 모서리 8px (홈 카드와 같게) */
/* 사무실 페이지 폰·큰 글자: 박스가 화면 밖으로 밀리지 않게 */
#office-page .office-grid > .obox { min-width: 0; }
#office-page .hn-contact__line, #office-page .hn-contact__line a { overflow-wrap: anywhere; }
@media (max-width: 781px) {
	#office-page .obox { padding: 18px 16px; }
	#office-page .hn-hours__table tr { grid-template-columns: 2em 6.6em 1fr; gap: 0 8px; padding-left: 8px; }
	#office-page .hn-hours__table td:nth-child(2) { font-size: 1em; }
	#office-page .hn-contact__line { font-size: 1.15em; }
	#office-page .hn-hours__table tr.is-today { padding-right: 52px; }
}
/* 연혁 폰: 글자를 크게 해도 본문이 좁아지지 않게 종류 표시는 본문 아래로 */
@media (max-width: 781px) {
	.sp-yr li { grid-template-columns: 5.2em 1fr; }
	.sp-yr li .tag { grid-column: 2; justify-self: start; }
	.sp-yr li:has(time:empty) { grid-template-columns: 1fr; }
	.sp-yr li:has(time:empty) .tag { grid-column: 1; }
}
/* 성직자 카드 사진: 있으면 왼쪽에 4:5 사각 사진 + 오른쪽 글. 없으면 글 카드 */
.sp-ptext { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sp-pcard.has-photo { flex-direction: row; align-items: center; gap: 14px; }
.sp-pphoto { flex: none; width: 88px; height: 110px; object-fit: cover; object-position: top; border-radius: var(--r); background: var(--wp--preset--color--brand-camel-light, #EEE9DD); }

/* 첨탑 아이콘 모양(홈 구역 제목·서브페이지 제목 공통) — 모양을 바꿀 때는 여기 한 곳만 */
:root { --hn-spire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 54'%3E%3Cpath d='M17 14L26 54H8Z' fill='%23000'/%3E%3Cpath d='M17 0V12M12.5 5H21.5' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E"); }

/* 사람·단체 카드 — .sp-pcard 한 종류. 가로형(성직자: 사진 왼쪽) 기본, 세로형(분과/단체: 사진 위)은 --stack. 사진 틀은 .sp-pphoto 하나 */
.sp-pcard--stack { padding: 0; gap: 0; overflow: hidden; text-align: left; border-color: var(--wp--preset--color--neutral-border); }
.sp-pcard--stack .sp-ptext { display: block; }
.sp-pcard--stack b { display: block; margin: 0 0 4px; font-size: 1em; }
.sp-pcard--stack span { display: block; color: var(--wp--preset--color--neutral-gray); font-size: var(--wp--preset--font-size--small); line-height: 1.6; }
.sp-pcard--stack > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.sp-pcard--stack > a:hover b { color: var(--wp--preset--color--brand-wine); text-decoration: underline; }
.sp-pcard--stack .sp-pphoto { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; background: var(--wp--preset--color--brand-camel-light); }
.sp-pcard--stack .sp-pphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-pcard--stack .sp-pphoto:not(:has(img)) { display: none; }
.sp-pcard--stack .sp-ptext { padding: var(--pad); }
.sp-pcard--stack .group-leader { color: var(--wp--preset--color--brand-wine); font-weight: 700; }

/* 서브페이지 공통 토큰(2026-11-11 일관성 2단계): 카드·패널·사진 틀 모서리 0, 카드 안쪽 여백 한 값, 선 색 한 값, 분류 3색 */
:root { --gap: 24px; --lh-body: 1.7; --lh-card: 1.45; --r: 0; --pad: 24px; --line: #D8D0BF; --cat-parish: #A31440; --cat-bell: #5B3A9A; --cat-society: #1B7A58; }
@media (max-width: 781px) { :root { --pad: 16px; } }
/* 카드 안 줄 간격 */
.sp-card, .sp-box, .sp-note, .sp-kv > div, .sp-icard, .sp-pcard, .sp-steps > li { line-height: var(--lh-card); }

/* 사무실 페이지 업무시간표: 카드 안쪽 폭이 400px 아래(좁은 PC·태블릿·폰·큰 글자)면 '점심시간·문 닫는 시간'이 한 글자씩 쌓이므로 요일 옆 한 칸(홈 폰 배치와 같은 2열)으로 내려 쓴다. 홈 #office 는 건드리지 않음 */
#office-page .office-grid > .obox:nth-child(2) { container-type: inline-size; }
@container (max-width: 400px) {
	#office-page .hn-hours__table tr { grid-template-columns: 2.2em minmax(0, 1fr); }
	#office-page .hn-hours__table th { grid-row: 1; }
	#office-page .hn-hours__table td:nth-child(2) { grid-column: 2; grid-row: 1; }
	#office-page .hn-hours__table td:nth-child(3) { grid-column: 2; grid-row: 2; margin-top: 4px; }
	#office-page .hn-hours__table td:nth-child(4) { grid-column: 2; grid-row: 3; }
	#office-page .hn-hours__table td[colspan] { grid-column: 2; grid-row: 1; }
	#office-page .hn-hours__table tr.is-today::after { top: 16px; transform: none; }
}

/* 컬러 배경 장면 제목: 옅은 금빛 후광(고정, 움직임 없음). 사진·영상 장면은 기존 그림자 그대로(2026-11-12 사용자 결정) */
.home-hero .hero-color .hero-title { text-shadow: 0 0 14px rgba(197, 162, 110, .40), 0 0 36px rgba(197, 162, 110, .25); }
/* 목록 페이지 번호(공지·주보·갤러리·검색 공통): 번호마다 44px 사각 칸+1px 선, 현재 쪽은 와인 면+흰 글자, 이전/다음은 와인 글자 칸. 밑줄·기본 링크 모양 제거(2026-11-12 사용자 요청) */
.wp-block-query-pagination { margin-top: 32px; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.wp-block-query-pagination .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #D8D0BF; border-radius: 0; background: #fff; color: #262019; font-weight: 700; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; }
.wp-block-query-pagination a:hover, .wp-block-query-pagination a:focus-visible { border-color: var(--wp--preset--color--brand-wine); color: var(--wp--preset--color--brand-wine); background: #fff; }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--brand-wine); border-color: var(--wp--preset--color--brand-wine); color: #fff; }
.wp-block-query-pagination .page-numbers.dots { border-color: transparent; background: transparent; min-width: 28px; padding: 0; color: var(--wp--preset--color--neutral-gray); }
.wp-block-query-pagination .wp-block-query-pagination-previous, .wp-block-query-pagination .wp-block-query-pagination-next { padding: 0 18px; color: var(--wp--preset--color--brand-wine); }
@media (max-width: 600px) {
	nav.wp-block-query-pagination.wp-block-query-pagination { display: grid; grid-template-columns: 1fr 1fr; row-gap: 12px; }
	nav.wp-block-query-pagination .wp-block-query-pagination-numbers { grid-column: 1 / -1; order: -1; }
	nav.wp-block-query-pagination .wp-block-query-pagination-previous { grid-column: 1; justify-self: start; }
	nav.wp-block-query-pagination .wp-block-query-pagination-next { grid-column: 2; justify-self: end; }
}
/* 사무실 계좌번호: 숫자 중간에서 줄이 끊기지 않게 한 줄 고정, 폭이 모자라면 글자만 줄임(예금주 줄은 그대로 줄바꿈) */
:is(#office,.sp-office) .obox .hn-contact__line:nth-child(3) { white-space: nowrap; }
:is(#office,.sp-office) .obox .hn-contact__line:nth-child(3) .hn-contact__sub { white-space: normal; }
@media (max-width: 781px) { :is(#office,.sp-office) .obox .hn-contact__line:nth-child(3) { font-size: min(1.3em, 5.2vw); } }

/* 본당 시설 사진: 2열 격자(폰 1열), 같은 비율로 자르되 클릭하면 라이트박스로 원래 비율 확대. 홀수 장이면 첫 장을 가로로 크게 */
.wp-block-gallery.hn-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0 32px; }
.wp-block-gallery.hn-photos.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; flex: none; }
.hn-photos .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.hn-photos .wp-block-image:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.hn-photos .wp-block-image:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 9; }
.hn-photos .wp-lightbox-container button { border-radius: 0; }
@media (max-width: 781px) { .wp-block-gallery.hn-photos { grid-template-columns: minmax(0, 1fr); } .hn-photos .wp-block-image:first-child:nth-last-child(odd) img { aspect-ratio: 3 / 2; } }

/* ===== 2026-11-12 수정사항(sub-2026-11-12.pptx) ===== */
/* [1] 홈 본당일정: 날짜(요일) · 시작시간(없으면 빈 칸) · 일정명 — 시간이 비어도 일정명 줄은 같은 자리. 폰은 일정명 아래에 시간 */
.ncard .hn-schedule-list li { display: grid; grid-template-columns: 5.8em 3.4em minmax(0, 1fr); column-gap: 10px; align-items: baseline; }
/* 일정 카드 전환: 제목 칸이 160px 아래로 줄면(날짜 5.8em+시간 3.4em+간격, 21px 기준 122+71+20+제목 160 = 373) 폰 배치(제목 아래에 시간) */
.ncard { container-type: inline-size; }
.hn-schedule-list time { min-width: 0; white-space: nowrap; }
.hn-sch-t { color: var(--wp--preset--color--neutral-gray); font-variant-numeric: tabular-nums; }
.ncard .hn-schedule-list li > span.hn-sch-n { overflow: visible; white-space: normal; text-overflow: clip; }
.hn-sch-n a { color: inherit; text-decoration: none; }
.hn-sch-n a:hover, .hn-sch-n a:focus-visible { text-decoration: underline; text-underline-offset: 3px; color: var(--wp--preset--color--brand-wine); }
@container (max-width: 372px) {
	.ncard .hn-schedule-list li { grid-template-columns: 5.8em minmax(0, 1fr); }
	.hn-schedule-list time { grid-row: 1 / span 2; }
	.hn-sch-t { grid-column: 2; grid-row: 2; }
	.hn-sch-t:empty { display: none; }
	.hn-sch-n { grid-column: 2; grid-row: 1; }
}
/* [1] 교통편 버스 노선 링크: 번호마다 눌리는 칸을 넉넉히 */
.hn-transit__list a.hn-transit__link { display: inline-block; padding: 2px 3px; margin: 0 -1px; }
.hn-transit__list a.hn-transit__link:hover, .hn-transit__list a.hn-transit__link:focus-visible { color: var(--wp--preset--color--brand-wine); text-decoration-color: currentColor; }

/* [2] 업무 시간 표: 홈·사무실 모두 '요일 | 시간(굵게) / 점심시간 / 문 닫는 시간' 행으로 통일(모바일 홈 형태) — 글자를 키워도 줄바꿈이 흐트러지지 않게 한 칸 구성 */
:is(#office,.sp-office) .hn-hours__table tr, #office-page .hn-hours__table tr { grid-template-columns: 2.2em minmax(0, 1fr); gap: 0 14px; padding: 12px 0 12px 14px; align-items: start; }
:is(#office,.sp-office) .hn-hours__table th, #office-page .hn-hours__table th { grid-row: 1; align-self: start; }
:is(#office,.sp-office) .hn-hours__table td:nth-child(2), #office-page .hn-hours__table td:nth-child(2) { grid-column: 2; grid-row: 1; align-self: start; font-size: 1.15em; }
:is(#office,.sp-office) .hn-hours__table td:nth-child(3), #office-page .hn-hours__table td:nth-child(3) { grid-column: 2; grid-row: 2; margin-top: 4px; }
:is(#office,.sp-office) .hn-hours__table td:nth-child(4), #office-page .hn-hours__table td:nth-child(4) { grid-column: 2; grid-row: 3; }
:is(#office,.sp-office) .hn-hours__table td[colspan], #office-page .hn-hours__table td[colspan] { grid-column: 2; grid-row: 1; }
:is(#office,.sp-office) .hn-hours__table tr.is-today::after, #office-page .hn-hours__table tr.is-today::after { top: 12px; transform: none; }
:is(#office,.sp-office) .hn-hours__table tr.is-today, #office-page .hn-hours__table tr.is-today { padding-right: 56px; }

/* [3] 본당 현황 카드 8개: PC 4열·2열·2열 / 폰은 앞 4개 2열 + 나머지 한 줄씩. 칸 안 링크는 밑줄(골드 선) */
.sp-kv--parish > div { min-width: 0; }
.sp-kv--parish a { color: inherit; text-decoration: underline; text-decoration-color: var(--g); text-underline-offset: 4px; }
.sp-kv--parish a:hover, .sp-kv--parish a:focus-visible { color: var(--w); text-decoration-color: currentColor; }
.sp-kv--parish { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-kv--parish > div:nth-child(n+5) { grid-column: 1 / -1; }
@container (min-width: 720px) {
	.sp-kv--parish { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.sp-kv--parish > div { grid-column: span 2; }
	.sp-kv--parish > div:nth-child(n+5) { grid-column: span 4; }
}
/* [3] 본당 로고(2026-11-13 반영): PC 왼쪽 로고 + 오른쪽 설명, 폰은 위아래 */
.sp-symbol { margin-top: 40px; }
.sp-symbol__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.sp-symbol__slot { display: grid; place-items: center; width: 100%; max-width: 220px; aspect-ratio: 1; box-sizing: border-box; background: var(--wp--preset--color--brand-camel-light, #EEE9DD); border: 1px solid var(--line); color: var(--sub); font-size: .9em; text-align: center; line-height: 1.5; }
.sp-symbol__img { display: block; width: 100%; max-width: 220px; height: auto; }
.sp-symbol__text p { margin: 0 0 1em; line-height: 1.9; word-break: keep-all; }
.sp-symbol__text p:last-child { margin-bottom: 0; }
@container (min-width: 720px) { .sp-symbol__body { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; } .sp-symbol__slot, .sp-symbol__img { max-width: none; } }

/* [4] 본당정보 '오시는 길'(홈 #office 제외): 지도 전체 폭 → 길찾기 버튼 한 줄 → 주소·전화 → 지하철·버스 두 카드(PC) → 주차 안내. 교통 행의 숨은 제목은 카드 제목으로 보이게 */
.page-main .hn-location { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.page-main .hn-location > * { grid-column: 1 / -1; grid-row: auto; margin: 0; }
.page-main .hn-location .hn-map { display: flex; flex-direction: column; gap: 12px; }
.page-main .hn-location .hn-map__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5em, 1fr)); gap: 12px; margin: 0 !important; }
.page-main .hn-location .hn-map__links a { justify-content: center; text-align: center; padding: 0 12px; border-width: 1px; }
.page-main .hn-location .hn-location__info { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 18px var(--pad); background: #fff; border: 1px solid var(--line); border-radius: 0; }
.page-main .hn-location .hn-location__info .hn-contact__line { margin: 0; }
.page-main .hn-location .hn-transit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; background: none; border: 0; border-radius: 0; }
.page-main .hn-location .hn-transit__row { display: block; min-width: 0; padding: var(--pad); background: #fff; border: 1px solid var(--line); border-radius: 0; }
.page-main .hn-location .hn-transit__row--parking { grid-column: 1 / -1; }
.page-main .hn-location .hn-transit__ic { display: none; }
.page-main .hn-location .hn-transit__row h3.screen-reader-text { position: static; width: auto; height: auto; clip: auto; clip-path: none; overflow: visible; white-space: normal; margin: 0 0 12px; padding: 0 0 10px; border-bottom: 2px solid var(--wp--preset--color--brand-wine); font-size: 1.2em; line-height: 1.4; color: var(--wp--preset--color--brand-wine); }
@media (max-width: 781px) { .page-main .hn-location .hn-transit { grid-template-columns: minmax(0, 1fr); } }
.page-main .hn-location .hn-transit__parking { padding: 0; border: 0; background: none; border-radius: 0; }

/* [7·8] 성직자 카드(2026-11-13 재정리 2차)
   현재 탭: 세로형 카드(사진 위·글 가운데), 폭 340px. PC(1240px 이상)는 신부님 카드 오른쪽에 수녀님 세 분을 1열로, 높이를 맞추고 사이에 세로선. 좁으면 1열.
   역대·본당출신: 한 줄에 한 분, 사진 왼쪽(150px 정사각) + 글 오른쪽의 가로형(폭 620px까지) — 사진 원본이 작아(짧은 변 약 240px) 틀을 키우지 않고, 긴 이름도 줄바꿈 여유가 있다.
   폰은 사진 110px, 글자 '크게'에서는 사진을 위로 올린다. 칸마다 자기 테두리(.sp-plist 안 씀). 역대 수녀님은 접는 상자(기본 접힘, 접기·펼치기 칩) */
.sp-clergy { --cw: 340px; }
.sp-clergy .sp-pcards, .sp-clergy .sp-pcards--solo, .sp-clergy .sp-pcards--rows { grid-template-columns: minmax(0, 1fr); gap: 12px; justify-content: start; }
.sp-clergy .sp-pcard { box-sizing: border-box; align-items: center; justify-content: flex-start; text-align: center; gap: 4px; min-width: 0; }
.sp-clergy .sp-ptext { box-sizing: border-box; align-items: center; text-align: center; width: 100%; }
.sp-clergy .sp-pcard b { font-size: 1.1em; line-height: 1.4; word-break: keep-all; overflow-wrap: break-word; }
.sp-clergy .sp-pcard span { line-height: 1.5; }
.sp-clergy .sp-pcard b a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } /* 이름 → 한국 천주교 주소록(주교회의) */
.sp-clergy .sp-pcard b a:hover, .sp-clergy .sp-pcard b a:focus-visible { color: var(--wp--preset--color--brand-wine); }
/* [카드 7] 사진이 있는 사람 카드 .ui-person--photo(§3-15): 사진을 카드 윗면에 끝까지 붙이고(바깥 1px 선 하나뿐, 안쪽 테두리·안쪽 여백 없음) 4:5로 잘라 채운다. 글은 사진 아래 가운데(안쪽 16). 현재·역대·본당출신 세 탭 모두 같은 규칙. 사진 없는 사람(.ui-person--nophoto = :not(.has-photo))은 같은 카드에 사진 칸만 없고 안쪽 --pad. */
.sp-clergy .sp-pcard.has-photo { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.sp-clergy .sp-pcard.has-photo .sp-pphoto { box-sizing: border-box; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border: 0; border-radius: 0; background: var(--cream, #EEE9DD); }
.sp-clergy .sp-pcard.has-photo .sp-ptext { padding: 16px; }
.sp-clergy .sp-pcard:not(.has-photo) { justify-content: center; }
.sp-clergy .sp-pcard:not(.has-photo) .sp-ptext { padding: 0; }
/* 현재 탭 */
.sp-clergy:has(.sp-pcards--solo) .sp-pcards--solo, .sp-clergy:has(.sp-pcards--rows) .sp-pcards--rows { max-width: var(--cw); }
@media (min-width: 1240px) { /* 제목·카드 묶음 자신은 컨테이너 질의로 바꿀 수 없어 화면 폭 기준(이 폭이면 본문 칸이 두 카드 폭 이상) */
	.sp-clergy:has(.sp-pcards--rows) { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, var(--cw))); column-gap: 56px; align-items: start; justify-content: start; } /* 칸마다 자기 내용 높이(카드 27): stretch 이면 한쪽이 늘 때 다른 칸 카드도 같이 늘어났다 */
	.sp-clergy:has(.sp-pcards--rows)::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--cw) + 28px); border-left: 1px solid var(--line, #D8D0BF); } /* 신부님·수녀님 사이 세로선 */
	.sp-clergy:has(.sp-pcards--rows) > h3 { margin-top: 0; }
	.sp-clergy:has(.sp-pcards--rows) > h3:nth-of-type(1) { grid-area: 1 / 1; }
	.sp-clergy:has(.sp-pcards--rows) > .sp-pcards--solo { grid-area: 2 / 1; max-width: none; margin: 0; }
	.sp-clergy:has(.sp-pcards--rows) > h3:nth-of-type(2) { grid-area: 1 / 2; }
	.sp-clergy:has(.sp-pcards--rows) > .sp-pcards--rows { grid-area: 2 / 2; max-width: none; grid-auto-rows: 1fr; margin: 0; }
	/* 수녀님 카드 기본 높이(카드 27): 기본 신부님 1·수녀님 3일 때 한 장 높이 (584-24)/3=186.67px(글자 크게 (596-24)/3=190.67px)를 바닥값으로 — 신부님 카드 높이(584px)에 맞춰 늘어나 보이던 값을 고정한 것. 사람이 늘면 그 칸만 길어지고, 세로선(::before)은 가장 긴 칸까지 이어진다 */
	.sp-clergy:has(.sp-pcards--rows) > .sp-pcards--rows > .sp-pcard { min-height: 186.67px; }
	html.fs-large .sp-clergy:has(.sp-pcards--rows) > .sp-pcards--rows > .sp-pcard { min-height: 190.67px; }
}
/* 역대·본당출신: 가로형 한 줄 한 분 — 사용자가 이미지 크기·줄바꿈 때문에 일부러 현재 탭과 다르게 정한 형태(카드 7이 세로 격자로 바꿨던 것을 카드 7b에서 복원). 요청은 '안쪽 테두리만 없애기' → 사진은 카드 왼쪽·위·아래 가장자리에 붙이고(사진 1px 테두리·사진 쪽 안쪽 여백 0), 사진 크기·글 줄바꿈·max-width 620은 그대로 */
.sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) { max-width: 620px; }
.sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; gap: 16px; padding: 12px 18px; }
.sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo { padding: 0 18px 0 0; align-items: center; overflow: hidden; }
.sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo .sp-pphoto { flex: none; width: 150px; height: 150px; aspect-ratio: auto; border: 0; }
.sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-ptext, .sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo .sp-ptext { flex: 1 1 auto; width: auto; min-width: 0; align-items: flex-start; text-align: left; padding: 4px 0; }
@container (max-width: 479px) {
	.sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo { padding: 0 12px 0 0; gap: 12px; }
	.sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo .sp-pphoto { width: 110px; height: 110px; }
}
/* 글자 '크게'(폰): 가로형은 글 칸이 너무 좁아져 사진을 위로 올리고(최대 240px, 가운데) 글은 카드 폭 전체를 가운데 정렬로 쓴다. 사진은 카드 윗면에 붙는다 */
@container (max-width: 479px) {
	html.fs-large .sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo { flex-direction: column; align-items: center; padding: 0 12px var(--pad); gap: 8px; }
	html.fs-large .sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo .sp-pphoto { width: min(100%, 240px); height: auto; aspect-ratio: 1 / 1; }
	html.fs-large .sp-clergy .sp-pcards:not(.sp-pcards--solo):not(.sp-pcards--rows) .sp-pcard.has-photo .sp-ptext { width: 100%; align-items: center; text-align: center; padding: 0; }
}

.sp-acc { background: #fff; border: 1px solid var(--line); margin: 0 0 10px; }
.sp-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px var(--pad); cursor: pointer; list-style: none; font-size: 1.05em; }
.sp-acc > summary::-webkit-details-marker { display: none; }
.sp-acc > summary b { color: var(--w); }
.sp-acc > summary::after { content: "펼치기"; flex: none; margin: 0 0 0 auto; padding: 4px 16px; border: 1px solid var(--w); border-radius: 999px; color: var(--w); background: #fff; font-size: .8em; font-weight: 700; line-height: 1.5; }
.sp-acc[open] > summary { border-bottom: 2px solid var(--w); }
.sp-acc[open] > summary::after { content: "접기"; background: var(--w); color: #fff; }
.sp-acc > summary:focus-visible { outline: 3px solid var(--w); outline-offset: -3px; }
.sp-acc > .sp-pcards { margin: 0; padding: var(--pad); }
.sp-clergy .sp-acc { max-width: 620px; } /* 신부님 가로형 카드와 같은 폭 */
.sp-clergy .sp-acc > .sp-pcards { max-width: none; gap: 0; } /* 접는 상자 안은 상자 속 상자 없이 줄로만 나눈다 */
.sp-clergy .sp-acc .sp-pcard { border: 0; border-bottom: 1px solid var(--line, #D8D0BF); border-radius: 0; padding: 12px 4px; }
.sp-clergy .sp-acc .sp-pcard:last-child { border-bottom: 0; }

/* [9] 미사 참례 자세·교적 안내 카드: 아이콘을 제목 줄에 함께 묶고(제목 밑 와인 선은 아이콘까지 한 줄로), 본문은 카드 왼쪽 끝부터 전체 폭. PC는 3열 → 2열(홀수 마지막 카드는 가로 전체) */
.sp-icard { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-content: start; }
.sp-icard > img { grid-row: 1; grid-column: 1; width: 40px; height: 40px; align-self: center; }
.sp-icard > h3 { grid-row: 1; grid-column: 2; align-self: center; margin: 0; padding: 0; border-bottom: 0; }
.sp-icard > div { grid-column: 1 / -1; margin-top: 12px; padding-top: 14px; border-top: 2px solid var(--wp--preset--color--brand-wine); }
.sp-icard > div > :last-child { margin-bottom: 0; }
.sp-icard p { line-height: 1.75; }
@container (min-width: 720px) {
	.sp-icards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sp-icards > .sp-icard:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 781px) { .sp-icard { grid-template-columns: 40px minmax(0, 1fr); } }

/* [10] 본당 시설 건축개요: 대지위치 한 줄 → 용도·규모·최고높이·주차대수 4칸 → 면적 3칸 → 외부마감 한 줄(PC). 폰은 짧은 4칸만 2열, 나머지는 한 줄씩. 값은 줄 끝을 어절 단위로 끊는다 */
.sp-kv--spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-kv--spec > div { min-width: 0; }
.sp-kv--spec > div:nth-child(1), .sp-kv--spec > div:nth-child(n+6) { grid-column: 1 / -1; }
.sp-kv--spec b { font-size: 1.05em; line-height: 1.5; }
.sp-kv--spec .sp-kv__sub { display: inline-block; margin-top: 4px; font-weight: 400; font-size: .92em; color: var(--sub); }
@container (min-width: 720px) {
	.sp-kv--spec { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.sp-kv--spec > div:nth-child(1), .sp-kv--spec > div:nth-child(9) { grid-column: 1 / -1; }
	.sp-kv--spec > div:nth-child(n+2):nth-child(-n+5) { grid-column: span 3; }
	.sp-kv--spec > div:nth-child(n+6):nth-child(-n+8) { grid-column: span 4; }
}

/* WYD 메뉴 하위 제목 띠: 단체사진(임시 이미지) — body.hero-wyd (inc/page-hero.php, 페이지 key 기준). 교체: assets/images/page-hero/wyd-crowd.webp 파일만 바꾼다. 막은 글자 대비 4.5:1 이상 확인한 값 */
body.hero-wyd { --hero-photo: url("../images/page-hero/wyd-crowd.webp"); }
body.hero-wyd[class*="hero-img-"] .page-hero.has-background { background-image: linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)), var(--hero-photo); background-position: center 40%; }

/* ── 연혁 전용(.sp-history) — 2026-11-12 [콘텐츠] 시안 반영: (일정 앞 라인·점은 11/14 삭제). 이 블록 밖은 건드리지 않음 ── */
/* 연혁(.sp-history): 일정 앞 꾸밈(세로 라인·점)은 지웠다 — 사용자 V2 지적(점이 비껴 보임). 연도 제목 밑선과 행 사이 선만 남는다. */
.sp-history .sp-yr li { position: relative; align-items: start; }
.sp-history .sp-yr time { color: var(--w); font-weight: 700; white-space: nowrap; }
.sp-history .sp-yr time:empty { display: none; }
.sp-history .sp-yr li span { min-width: 0; word-break: keep-all; overflow-wrap: break-word; }
.sp-history .sp-year-all.on { background: var(--w); border-color: var(--w); color: var(--hn-on-dark, #FFF8DC); }
@media (max-width: 781px) {
	.sp-history .sp-yr li { grid-template-columns: 1fr; gap: 2px; }
	.sp-history .sp-yr li .tag { grid-column: 1; justify-self: start; margin-top: 4px; }
	.sp-history .sp-yr time { min-width: 0; }
}

/* '맨 위로' 버튼(assets/js/back-to-top.js) — 왼쪽 아래 고정(오른쪽 아래는 길눈(가브리엘) 고정 위젯 자리라 비워 둔다), 누를 때만 움직임. 큰 글씨에서도 잘리지 않게 em 단위, 터치 48px 이상 */
.to-top { position: fixed; left: 16px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--wp--preset--color--brand-wine); border-radius: 999px; background: #fff; color: var(--wp--preset--color--brand-wine); font: inherit; font-size: 1em; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--wp--preset--color--brand-wine); color: #fff; }
.to-top:focus-visible { outline: 3px solid var(--wp--preset--color--brand-camel); outline-offset: 2px; }
@media (max-width: 781px) { .to-top { left: 12px; bottom: 14px; } }
/* 카드 29: 폰에서 고정 '맨 위로' 버튼(높이 48 + 하단 14 = 62px)이 푸터 맨 아래 줄('Made by 풀다')을 가리던 것 — 푸터 아래 여백을 버튼 높이만큼 더 준다(62 + 여유 14 = 76px, 기존 28px 대신). PC는 버튼이 줄과 겹치지 않아 그대로 */
@media (max-width: 781px) { .footer-simple { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
@media print { .to-top { display: none !important; } }

/* 키보드 포커스 링 — 전역 한 규칙(가이드 §7: 3px 아웃라인). :where()라 구체성이 0이어서, 부품이 따로 정한 포커스 모양이 있으면 그것이 이긴다.
   링 색은 변수 --hn-focus 하나: 밝은 면 = 와인, 어두운 면(푸터·티커·히어로·녹색 미사판·와인 면) = 크림. 어두운 영역을 더할 때는 아래 목록에만 더한다. */
:root { --hn-focus: var(--wp--preset--color--brand-wine, #5C0A1E); --hn-focus-on-dark: var(--hn-on-dark, #FFF8DC); }
:where(a[href], button, summary, select, input, textarea, [role="button"], [role="tab"], [tabindex]:not([tabindex="-1"])):focus-visible { outline: 3px solid var(--hn-focus); outline-offset: 2px; }
:where(.site-footer, .hn-office-notice, .liturgical-ticker, .page-hero, .home-hero, .mass-board, .mass-cols .mass-card.is-dark, .hn-media-card__img, .wp-block-navigation__responsive-container.is-menu-open) { --hn-focus: var(--hn-focus-on-dark); }

/* 터치 목표 — 한 변수, 한 규칙(WCAG 2.5.8 / KWCAG: 44px 이상). 글 속 문장 링크는 제외하고 "눌러서 이동하는 단독 링크·버튼"만 모은다.
   새 단독 링크/버튼 부품을 만들면 아래 목록에 클래스만 더한다(요소별 min-height를 따로 쓰지 않는다). */
:root { --hn-tap: 44px; }
:is(.breadcrumb a, .hn-transit__list a.hn-transit__link, .board-cat a.cat-chip, .faith-links__item a,
	.hn-attach a, .subnav-toggle, .font-size-toggle button, .ticker-close,
	.wp-block-navigation__responsive-container-open, .hero-pause, .hero-dots button, .hn-card-links a, .hn-clergy-link) {
	min-height: var(--hn-tap); box-sizing: border-box;
}
/* a/button이 줄 안에서 높이를 못 받는 경우를 위해 세로 가운데 정렬로 */
:is(.breadcrumb a, .hn-transit__list a.hn-transit__link, .board-cat a.cat-chip, .faith-links__item a, .hn-card-links a) { display: inline-flex; align-items: center; }
/* 목록 제목 링크는 말줄임(text-overflow)이 걸려 flex로 못 바꾼다 — 줄 높이 기준으로 위아래 안쪽 여백만 채워 44px를 맞춘다 */
:is(.board-title a, .wp-block-post-title a, .hn-notice-list li > a) { display: block; padding-block: max(0px, calc((var(--hn-tap) - 1lh) / 2)); }
:is(.font-size-toggle button, .hero-pause, .hero-dots button, .wp-block-navigation__responsive-container-open) { min-width: var(--hn-tap); }
.ticker-close { min-width: var(--hn-tap); }
/* 글자 '크게' 폰 390: 토글 3개가 44px로 커져 머리 줄이 6px 넘치므로, 메뉴 버튼 좌우 안쪽 여백만 줄여 한 줄을 지킨다(버튼 자체는 44px 이상 유지) */
@media (max-width: 781px) { .site-header .wp-block-navigation__responsive-container-open { padding-inline: 3px; } }
/* 남은 단독 링크 44px — 헤더 로고·사이트 이름, 사무실 카드의 전화번호, 값 칸에 홀로 놓인 링크(본당정보 구역·사목지구, 성직자 주소록). 문장 속 링크와 PC 서브메뉴 화살표(13px)는 제외 */
:is(.custom-logo-link, .site-names .wp-block-site-title a, :is(#office,.sp-office) .obox .hn-contact__line a) { display: inline-flex; align-items: center; min-height: var(--hn-tap); }
.page-main b > a:only-child { display: inline-block; padding-block: max(0px, calc((var(--hn-tap) - 1lh) / 2)); }
.hn-transit__list a.hn-transit__link { min-width: var(--hn-tap); justify-content: center; }

/* 토큰(카드 0b) — 쓰임이 정해지면 이 이름으로만 부른다. 값은 ui-rules §2·§5-A 확정치. 컨테이너 쿼리 조건에는 변수를 못 쓰므로 숫자는 각 규칙 주석에 N 계산식과 함께 적는다. */
:root {
	--fs-s: .88em; --fs-1: 1em; --fs-list: 1.1em; --fs-card: 1.2em; --fs-val: 1.35em; --fs-sec: 1.8em; /* 글자 6단 */
	--lime: #EEF7AB; --cream: #EEE9DD; --gold: #C5A26E; --blue: #172D51; --brown-1: #4A3423; --brown-2: #5F3A21; --brown-3: #61472D; /* 확정 팔레트 */
	--min-col-cal: 130px; --min-col-card: 200px; --min-col-photo: 200px; --min-col-kv: 160px; --min-col-label: 90px; /* 큰 글씨(21px) 기준 칸 최소 읽기 폭 */
}

/* 직원 안내 전환(§5-A): 라벨 열 4.6em(21px 기준 97) + 간격 12 + 값 160 = 269px 아래면 폰 배치(라벨 위·값 아래) */
#office-page .office-grid > .obox:nth-child(1) { container-type: inline-size; }
@container (max-width: 268px) { #office-page .hn-staff > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; } }

/* 사무실 연락처·직원 카드 전환(§5-A): 계좌번호 한 줄(아이콘 30 + 간격 14 + 글자 314 = 358px, 21px 기준)이 카드 안에 들어가려면 카드 안쪽 358 + 여백·테두리 54 = 412px, 두 카드 + 간격 20 = 844px 필요 — 그보다 좁으면 카드를 1열로(폰 배치) */
:has(> .office-grid) { container-type: inline-size; container-name: ofc; }
@container ofc (max-width: 843px) { #office-page .office-grid { grid-template-columns: minmax(0, 1fr); } }
/* 업무시간 표 머리: 열이 좁아도 낱말(띄어쓰기) 단위로만 줄을 바꾼다 — '시/간'처럼 한 글자가 떨어지지 않게 */
#office-page .hn-hours__table thead th { word-break: keep-all; overflow-wrap: normal; text-wrap: balance; }
/* 푸터 전화번호: 번호 중간(하이픈)에서 줄이 끊기지 않게 */
.footer-simple a[href^="tel:"], .site-footer a[href^="tel:"] { white-space: nowrap; }

/* ═══ UI 1단계(ui-rules §3-7·3-11·3-12, 시안 docs/ui-components-mockup.html): 버튼·입력·칩·배지 ═══
   .ui-* 는 신규 마크업용 정의이고, 아래 묶음은 기존 클래스를 같은 모양으로 맞춘다(마크업 변경 없이 적용).
   보조 버튼=흰 면+2px 와인 테두리, 주 버튼=와인 면+아래 4px 골드, 칩=알약·선택 와인 채움, 배지=직각 1px 분류색. 반경 0(칩만 999). */
:root { --wine: #5C0A1E; --wine-dark: #4A0715; --ink: #262019; --sub: #6B6560; }

.ui-btn, .back-to-list a, .gallery-filter__clear, .page-main .hn-btn, .wp-block-file .wp-block-file__button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 2px solid var(--wine); border-radius: 0; background: #fff; color: var(--wine); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.ui-btn:hover, .back-to-list a:hover, .gallery-filter__clear:hover, .page-main .hn-btn:not(:first-child):hover, .wp-block-file .wp-block-file__button:hover { background: var(--wine); color: #fff !important; }
.ui-btn--primary, .board-search button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-bottom: 4px solid var(--gold); border-radius: 0; background: var(--wine); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.ui-btn--primary:hover, .board-search button:hover { background: var(--wine-dark); color: #fff; }
.ui-btn--on-dark { background: #FFF8DC; border-color: #FFF8DC; color: var(--ink); }
.ui-btn--on-dark:hover { background: #fff; color: var(--ink) !important; }
.ui-btn--text { min-height: 44px; padding: 0 4px; border: 0; background: none; text-decoration: underline; text-underline-offset: .2em; }
.ui-btn--text:hover { background: none; color: var(--wine-dark) !important; }
.ui-btn:focus-visible, .back-to-list a:focus-visible, .gallery-filter__clear:focus-visible, .board-search button:focus-visible, .wp-block-file .wp-block-file__button:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; }
.gallery-filter__clear { gap: 6px; }
.wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.wp-block-file .wp-block-file__button { margin: 0; }

.ui-input, .board-search input[type="search"] { box-sizing: border-box; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 1em; min-width: 0; }
.ui-input:focus-visible, .board-search input[type="search"]:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; }

.ui-chip, .board-tabs a, .group-cats button, .gallery-filter__chip, .sp-chip, .sp-sort, .sp-year-select { box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .92em; font-weight: 400; text-decoration: none; cursor: pointer; }
.ui-chip:hover, .board-tabs a:hover, .group-cats button:hover, .gallery-filter__chip:hover, .sp-chip:hover, .sp-sort:hover { background: #fff; border-color: var(--wine); }
.ui-chip[aria-pressed="true"], .board-tabs a.is-current, .group-cats button.is-current, .gallery-filter__chip.is-current, .sp-chip.on, .gallery-filter__tag { background: var(--wine); border-color: var(--wine); color: #fff; font-weight: 700; box-shadow: none; }
.gallery-filter__tag { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1px solid var(--wine); border-radius: 999px; font-size: .92em; }
.gallery-filter__count { font-weight: inherit; }
.ui-chip:focus-visible, .board-tabs a:focus-visible, .group-cats button:focus-visible, .gallery-filter__chip:focus-visible, .sp-chip:focus-visible, .sp-sort:focus-visible, .sp-year-select:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; }
.sp-year-select { padding-right: 12px; }
.gallery-filter__option { border-radius: 0; }
.gallery-filter__option:hover { background: var(--cream); }

.ui-badge, .board-cat a, .board-cat a.cat-chip, .sp-yr .tag { display: inline-block; min-width: 3.4em; padding: 2px 8px; border: 1px solid currentColor; border-radius: 0; background: #fff; font-size: .88em; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.board-cat a:not(.cat-chip) { color: var(--ink); }
.ui-badge--parish { color: var(--cat-parish); } .ui-badge--bell { color: var(--cat-bell); } .ui-badge--society { color: var(--cat-society); }
.ui-badge--solid { background: var(--wine); border-color: var(--wine); color: #fff; }

/* PC 서브메뉴 화살표(13×13): 보이는 크기는 그대로, 눌리는 영역만 투명하게 44px 가까이 확장(WCAG 2.5.8). 가로는 옆 메뉴 글자를 덜 가리게 좁게 (0단계 세션 4d9bb84) */
.site-header .gnb .wp-block-navigation__submenu-icon { position: relative; }
.site-header .gnb .wp-block-navigation__submenu-icon::after { content: ""; position: absolute; inset: -16px -10px; }

/* ── 2단계: 필터·검색 바 .ui-filter (docs/ui-rules.md §3-6, 시안 docs/ui-components-mockup.html 7번) ──
   한 가지 모양: 칩 묶음(왼쪽)·검색(오른쪽) 한 줄, 아래 1px --line, 박스·배경 없음. 폭이 모자라면 검색이 아래 한 줄로 내려간다(글자 크게는 폰 레이아웃).
   수정자 --search-only(주보 등 검색만), --rows(칩 줄이 여럿: 연혁 분류·연도, 갤러리 태그). 칩·입력·버튼은 위 1단계 규칙을 그대로 쓴다. */
.ui-filter, .sp-filters { box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin: 0 0 16px; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--line); background: none; box-shadow: none; }
.ui-chips, .board-tabs ul, .group-cats, .gallery-filter__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board-tabs { margin: 0; }
.ui-filter__search { display: flex; gap: 8px; flex: 0 1 340px; min-width: 0; margin: 0; }
.ui-filter__search .ui-input { flex: 1; min-width: 0; }
.ui-filter__search .ui-btn { flex: none; white-space: nowrap; min-height: 48px; }
.ui-filter__row, .sp-chips { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ui-filter__label, .sp-chips > span { font-size: .88em; color: var(--sub); font-weight: 400; margin: 0 4px 0 0; display: inline; }
.ui-filter--search-only .ui-filter__search { flex: 1 1 100%; }
.board-search-result { margin: 0 0 12px; text-align: left; }
.group-search { flex: 0 1 340px; }
/* 연혁 연도 선택: 칩이 아니라 입력 모양(상자·화살표가 보이게, QA M7) */
.sp-year-select { box-sizing: border-box; min-height: 48px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: .92em; }
/* 갤러리: 칩 줄(--rows) + 태그 검색 한 줄. 선택한 태그·해제는 칩 줄 위 */
.gallery-filter { position: relative; }
.gallery-filter__current { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gallery-filter__current-label { font-weight: 400; font-size: .88em; color: var(--sub); }
.gallery-filter__chips { flex: 1 1 100%; }
.gallery-filter__search { position: relative; flex: 1 1 100%; max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gallery-filter__label { white-space: nowrap; margin: 0; }
.gallery-filter__input { flex: 1 1 200px; width: auto; max-width: 340px; font-size: 1em; }
.gallery-filter__list { border: 1px solid var(--line); border-radius: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.gallery-filter__option { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; font-size: 1em; cursor: pointer; }
.gallery-filter__option.is-active { background: var(--wine); color: #fff; font-weight: 700; }
/* 갤러리: 태그 칸 바로 아래 제목 검색 바가 따라 붙으면 둘을 한 덩어리로(아래 선·간격은 뒤쪽 바만) */
.gallery-filter:has(~ .ui-filter--search-only) { margin-bottom: 0; padding-bottom: 12px; border-bottom: 0; }
/* 분과: 칩 왼쪽·검색 오른쪽(마크업은 검색이 먼저라 폰에서는 검색이 위) */
@media (min-width: 782px) { .group-tools .group-cats { order: -1; } }
@media (max-width: 781px) {
	.ui-filter__search, .group-search { flex: 1 1 100%; }
}
/* 폰 공지 분류 배지가 세로로 길던 문제(M6): 0단계 터치 44px 규칙이 배지 상자 자체를 44px로 키웠다. 상자는 배지 크기로 두고 눌리는 영역만 ::after 로 44px 이상 확보 */
.board-cat a.cat-chip { position: relative; display: inline-block; min-height: 0; }
.board-cat a.cat-chip::after { content: ""; position: absolute; inset: -12px -6px; }
/* 검색만 있는 바(주보 등): 위 안내 문장과 붙지 않게 */
.ui-filter--search-only { margin-top: 16px; }

/* 수정 대상 표시(오픈 전 grep -rn "fix-target" wordpress/ docs/ 가 0건이어야 한다 — docs/content-fill-queue.md). 취소선만, 색·배경 추가 금지. */
.fix-target { text-decoration: line-through; text-decoration-thickness: 2px; }

/* ===== 카드 4(서브페이지 검토 V2) ===== */
/* [1] 히어로 버튼 상태: 기본은 그대로(투명+크림 테두리). 호버·포커스 = 크림 면+와인 글자, 눌림 = 와인 면+크림 글자 — 와인·크림 두 색만(분홍·틴트 없음).
   (기존: 호버에서 배경만 흰색이 되고 글자는 흰색 그대로라 '진행 현황 보기' 글자가 사라졌다) */
.home-hero .hero-btn-primary .wp-block-button__link:hover,
.home-hero .hero-btn-primary .wp-block-button__link:focus-visible,
.home-hero .hero-btn-outline .wp-block-button__link:hover,
.home-hero .hero-btn-outline .wp-block-button__link:focus-visible { background: var(--hn-on-dark, #FFF8DC); color: var(--wp--preset--color--brand-wine); border-color: var(--hn-on-dark, #FFF8DC); }
.home-hero .hero-btn-primary .wp-block-button__link:active,
.home-hero .hero-btn-outline .wp-block-button__link:active { background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); border-color: var(--hn-on-dark, #FFF8DC); }
/* 이전·다음·일시정지·다음 장면 이름·자동 넘김: 호버·포커스 = 크림 면+와인 글자, 눌림 = 와인 면+크림 글자 */
.hero-nav:hover:not(:disabled), .hero-nav:focus-visible,
.hero-pause:hover, .hero-nextname:hover, .hero-auto:hover { background: var(--hn-on-dark, #FFF8DC); color: var(--wp--preset--color--brand-wine); border-color: var(--hn-on-dark, #FFF8DC); }
.hero-nav:active:not(:disabled), .hero-pause:active, .hero-nextname:active, .hero-auto:active { background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); border-color: var(--hn-on-dark, #FFF8DC); }
/* 상태를 색으로: 자동 넘김이 꺼져 있으면(aria-pressed=true, 글자 '켜기') 크림 면+와인 글자, 켜져 있으면(글자 '끄기') 어두운 면+크림 테두리. 일시정지 버튼도 같은 방식 */
.hero-auto { background: rgba(0, 0, 0, .35); border-color: var(--hn-on-dark, #FFF8DC); color: var(--hn-on-dark, #FFF8DC); }
.hero-auto[aria-pressed="true"], .hero-pause[aria-pressed="true"] { background: var(--hn-on-dark, #FFF8DC); color: var(--wp--preset--color--brand-wine); border-color: var(--hn-on-dark, #FFF8DC); }
.hero-auto[aria-pressed="true"]:hover, .hero-pause[aria-pressed="true"]:hover { background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); }
/* 점: 현재 장면 = 크림 채움, 그 밖 = 속이 빈 점, 호버 = 반쯤 채움 */
.hero-dots button[aria-current="true"]::before { background: var(--hn-on-dark, #FFF8DC); border-color: var(--hn-on-dark, #FFF8DC); }
.hero-dots button:not([aria-current="true"]):hover::before { background: rgba(255, 248, 220, .6); }
/* WYD 띠 전체가 WYD 정보로 가는 링크(가려 덮는 한 개의 링크 — 탭 한 번, 읽기 이름 'WYD 정보 보기') */
.wyd-strip { position: relative; }
.wyd-strip__go { position: absolute; inset: 0; z-index: 2; }
.wyd-strip__go:focus-visible { outline: 3px solid var(--hn-on-dark, #FFF8DC); outline-offset: -8px; }
.wyd-strip:has(.wyd-strip__go:hover) { background: var(--wp--preset--color--brand-wine-dark); }
/* [2] 푸터 'Made by 풀다' 톤 다운: 굵기·밑줄·강조색을 빼고 푸터 글자 톤(#B8AC82)으로. 호버·포커스에서만 밑줄 */
.footer-simple a.footer-made { font-weight: 400; text-decoration: none; color: inherit; }
.footer-simple a.footer-made:hover, .footer-simple a.footer-made:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
/* [3] 교적: 카드를 모두 1열로, 폭은 읽기 좋은 값(글자 크게 21px 기준 한 줄 약 36자)으로 — .sp-icards.one 으로만 켠다(미사 및 성사의 같은 부품은 그대로) */
.sp-icards.one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.sp-icards.one > .sp-icard:last-child:nth-child(odd) { grid-column: auto; }
/* [4] 연혁 일정 칸: 날짜가 길면('03월 11일/13일') 다음 칸 글자와 겹치던 것 — 날짜 칸을 넓히고(6.4em) 칸 사이를 벌리며, 그래도 길면 날짜가 줄을 바꾼다 */
.sp-history .sp-yr li { grid-template-columns: 8em minmax(0, 1fr) auto; column-gap: 18px; } /* [4b] 날짜 칸 = 가장 긴 날짜('03월 11일/13일'·'12월 14일-15일') 한 줄 폭, 모든 행 같은 폭 */
.sp-history .sp-yr time { white-space: nowrap; } /* [4b] 날짜는 줄바꿈 없음 — 내용 칸이 줄바꿈 */
/* 컨테이너가 좁아 날짜 칸이 행의 약 40%를 넘으면(= 가로 22em 미만) 날짜가 위 한 줄, 내용이 그 아래 */
@container (max-width: 22em) { .sp-history .sp-yr li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .sp-history .sp-yr li .tag { grid-column: 1; justify-self: start; margin-top: 4px; } }
@media (max-width: 781px) { .sp-history .sp-yr li { grid-template-columns: minmax(0, 1fr); } }
/* [5] 사무실 '증명서 발행': 박스가 버튼처럼 보이던 것을 박스 없는 글자로 — 테두리·안쪽 여백·굵기를 빼고 낱말만 나란히 */
.hn-certs { gap: 4px 22px; }
.hn-certs li { padding: 0; border: 0; font-weight: 400; }
/* [6] 조직도: 소속 단체가 없는 분과도 다른 분과와 같은 칸(분과 이름 열)에 같은 정렬로 두고, 빈 소속 단체 박스만 뺀다(렌더 단계는 inc/render-fixes.php) */
/* [7] 역대 사목회장 표: 열이 반반으로 벌어져 년/월과 이름이 멀리 떨어지던 것 — 표를 내용 폭으로, 첫 열은 줄바꿈 없이 두고 둘째 열이 바로 이어지게(글자 크게·폰에서는 둘째 열이 줄바꿈) */
.hn-tab > .wp-block-table table { width: auto; max-width: 100%; table-layout: auto; } /* [10b] 슬라이드 10(역대 사목회장 표)만 — 다른 페이지·글의 표는 카드 4 이전 그대로 */
.hn-tab > .wp-block-table th:first-child, .hn-tab > .wp-block-table td:first-child { white-space: nowrap; padding-right: 2em; }
.hn-tab > .wp-block-table td { word-break: keep-all; overflow-wrap: anywhere; } /* 폰에서 이름이 '김건성 미/카엘'처럼 낱말 가운데서 끊기던 것 — 띄어쓰기에서만 줄바꿈 */

/* ===== 카드 6: 주보·갤러리 검색 (docs/sub-review-v2-mockups.html ⓔ) — 반경 0, 1px 선, 장식 없음 ===== */
.ui-card { background: #fff; border: 1px solid var(--line); padding: var(--pad); line-height: 1.45; }
.ui-card--compact { padding: 16px; }
.hn-bul-note { margin: 0 0 16px; }
.ui-filter__field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 140px; min-width: 0; }
.ui-filter__field label { font-size: .88em; font-weight: 700; color: var(--sub, #6B6560); }
.ui-filter__field .ui-input { width: 100%; }
.ui-filter__go { align-self: flex-end; }
.ui-yearnav { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 8px 0; }
.ui-yearnav b { font-size: 1.8em; color: var(--wp--preset--color--brand-wine); line-height: 1.2; }
.ui-yearnav__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: #fff; color: var(--wp--preset--color--brand-wine); font-size: 1.2em; text-decoration: none; }
a.ui-yearnav__btn:hover { background: var(--wp--preset--color--brand-wine); color: var(--hn-on-dark, #FFF8DC); }
.ui-yearnav__btn.is-off { color: var(--sub, #6B6560); border-color: var(--line); opacity: .45; }
.ui-total { margin: 0 0 16px; padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: .88em; color: var(--sub, #6B6560); }
.ui-total b { font-size: 1.2em; color: var(--wp--preset--color--brand-wine); }
.ui-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min-col, 180px)), 1fr)); gap: 24px 16px; }
.ui-cover { display: block; color: inherit; text-decoration: none; line-height: 1.4; }
.ui-cover__img { display: block; aspect-ratio: 3 / 4; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.ui-cover__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ui-cover__none { display: grid; place-items: center; height: 100%; background: var(--cream, #EEE9DD); color: var(--sub, #6B6560); font-size: .88em; }
.ui-cover small { display: block; margin-top: 8px; font-size: .88em; color: var(--sub, #6B6560); }
.ui-cover__name { display: -webkit-box; font-weight: 700; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ui-cover:hover .ui-cover__name { text-decoration: underline; }
.ui-cover:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; }
/* 갤러리 검색(같은 규칙): 검색 칸(왼쪽) + '자주 쓰는 태그' 아코디언(오른쪽). 제목 검색은 없다. */
.ui-filter--tags { align-items: flex-start; }
.ui-filter--tags .gallery-filter__current { flex: 1 1 100%; }
.ui-filter--tags .gallery-filter__search { flex: 1 1 280px; position: relative; }
.ui-filter--tags .gallery-filter__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ui-acc { border: 1px solid var(--line); background: #fff; margin: 0 0 8px; }
.ui-acc > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; cursor: pointer; list-style: none; font-weight: 700; }
.ui-acc > summary::-webkit-details-marker { display: none; }
.ui-acc > summary::after { content: "펼치기 +"; flex: none; color: var(--wp--preset--color--brand-wine); font-size: .88em; font-weight: 400; }
.ui-acc[open] > summary { border-bottom: 1px solid var(--line); }
.ui-acc[open] > summary::after { content: "접기 −"; }
.ui-acc__body { padding: 16px; line-height: 1.45; }
.ui-filter--tags .ui-tagacc { flex: 1 1 260px; margin: 0; }
.ui-tagacc .gallery-filter__chips { margin: 0; }

/* ===== 카드 12: '처음 오셨나요?' 튜토리얼 (시안 docs/first-visit-tutorial-mockup.html, 사용자 '추천대로' 확정) =====
   높이 = 히어로(--fv-h: PC 1440 → 720, 폰 → 600). 폰은 높이 고정 + 안 스크롤. 자동 재생 없음 — 천사 이동은 '다음'을 누를 때 0.8초 한 번. */
.fvt-stage { container-type: inline-size; padding: 0; min-height: 0; }
.fvt { box-sizing: border-box; height: var(--fv-h); display: flex; flex-direction: column; padding: 24px max(24px, calc((100% - 1100px) / 2)) 16px; overflow: hidden; line-height: 1.5; }
.fvt-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin: 0 0 12px; }
.fvt .fv-title { margin: 0; padding-right: 0; font-size: 1.35em; line-height: 1.3; }
.fvt-lead { margin: 6px 0 0; color: var(--ink, #262019); }
.fvt-close { flex: none; }
.fvt-main { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.fvt-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; flex-wrap: wrap; padding-right: var(--fv-gb); }
.fvt-count { color: var(--sub, #6B6560); font-size: .88em; }
.fvt-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fvt-plain { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fvt-plain a { min-height: 44px; display: inline-flex; align-items: center; }
/* 1·끝: 사용법 3컷 — 폰은 번호 목록만, PC(폭 700 이상)만 그림 */
.fvt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.fvt-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.fvt-steps li b { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--wp--preset--color--brand-wine); border-radius: 50%; }
.fvt-steps .shot { display: none; }
.fvt-recap { display: none; }
@container (min-width: 700px) {
	.fvt-recap { display: grid; }
	.fvt-steps { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
	.fvt-steps li { grid-template-columns: 1fr; }
	.fvt-steps li b { display: none; }
	.fvt-steps .shot { display: block; border: 1px solid var(--line); aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
	.fvt-steps .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.fvt-steps li p { margin: 8px 0 0; }
	.fvt-steps li p::before { content: attr(data-n) "  "; font-weight: 700; color: var(--wp--preset--color--brand-wine); }
}
/* 2: 선택 카드 */
.fvt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fvt-card { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink, #262019); font: inherit; text-align: left; cursor: pointer; border-radius: 0; }
.fvt-card b { font-size: 1.05em; }
.fvt-card small { display: none; color: var(--sub, #6B6560); font-size: .82em; line-height: 1.4; }
.fvt-card:hover { border-color: var(--wp--preset--color--brand-wine); }
.fvt-card:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; }
.fvt-card[aria-pressed="true"] { background: var(--wp--preset--color--brand-wine); border-color: var(--wp--preset--color--brand-wine); color: #fff; }
.fvt-card[aria-pressed="true"] small { color: #f2e8e0; }
@container (min-width: 900px) { .fvt-cards { grid-template-columns: repeat(4, 1fr); } .fvt-card { min-height: 120px; } .fvt-card small { display: block; } }
/* 3~6: 시연(가짜 사이트 틀 — 이 화면 전용, guide 이미지의 모양을 코드로 옮김) */
.fvt-demo { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.fk { position: relative; flex: 1; min-height: 0; border: 1.5px solid var(--wp--preset--color--liturgical-green, #1A3A32); background: #fff; overflow: hidden; font-size: 15px; line-height: 1.3; color: var(--wp--preset--color--liturgical-green, #1A3A32); }
.fk-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1.5px solid var(--wp--preset--color--liturgical-green, #1A3A32); }
.fk-logo { border: 1.5px solid currentColor; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.fk-nav { display: flex; gap: 10px; }
.fk-nav > span, .fk-menubtn { display: inline-block; border: 1.5px solid currentColor; padding: 5px 12px; position: relative; background: #fff; }
.fk-menubtn { display: none; font-weight: 700; }
.fk-body { display: grid; grid-template-columns: 3fr 1fr; gap: 16px; padding: 16px 14px; }
.fk-hero, .fk-side { border: 1.5px solid currentColor; height: 86px; }
.fk-lines { padding: 0 14px; }
.fk-lines i { display: block; height: 0; border-top: 1.5px solid currentColor; margin: 0 0 14px; width: 60%; }
.fk-lines i:nth-child(2) { width: 80%; }
.fk-lines i:nth-child(3) { width: 46%; }
.fk .is-target { outline: 3px solid var(--gold, #C5A26E); outline-offset: 3px; }
.fk-dd { position: absolute; z-index: 3; background: #fff; border: 1.5px solid currentColor; padding: 6px 0; min-width: 130px; }
.fk-dd span { display: block; padding: 5px 14px; position: relative; }
.fk-drawer { position: absolute; z-index: 3; left: 0; right: 0; top: 50px; bottom: 0; background: #fff; border-top: 1.5px solid currentColor; padding: 6px 14px; overflow: hidden; }
.fk-drawer .p { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.fk-drawer .p em { font-style: normal; border: 1.5px solid currentColor; padding: 0 8px; position: relative; }
.fk-drawer .c { padding: 5px 0 5px 18px; position: relative; }
.fk-rest { position: absolute; right: 12px; bottom: 12px; width: 76px; height: 84px; border: 1.5px solid var(--gold, #C5A26E); background: #fff; display: grid; place-items: center; z-index: 4; }
.fk-rest img { width: 64px; height: 64px; display: block; }
.fk-angel { position: absolute; z-index: 6; width: 60px; height: 60px; pointer-events: none; animation: fvt-fly .8s ease-out both; }
@keyframes fvt-fly { from { transform: translate(var(--fx), var(--fy)); } to { transform: none; } }
.fk svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.fk svg line { stroke: var(--gold, #C5A26E); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: square; }
@media (prefers-reduced-motion: reduce) { .fk-angel { animation: none; } }
.fvt-say { display: flex; gap: 12px; align-items: center; padding: 12px 16px; }
.fvt-say img { width: 48px; height: 48px; flex: none; }
.fvt-say p { margin: 0; }
@container (max-width: 699px) {
	.fvt { padding: 16px 16px 12px; }
	.fvt .fv-title { font-size: 1.15em; }
	.fvt-lead { font-size: .92em; margin-top: 4px; }
	.fvt-head { margin-bottom: 8px; }
	.fk-nav { display: none; }
	.fk-menubtn { display: inline-block; }
	.fk-body { grid-template-columns: 1fr; }
	.fk-side { display: none; }
	.fk-hero { height: 56px; }
	.fk-lines { display: none; }
}
/* 튜토리얼 조작 단추: 예전 슬라이드 조작줄(.fv-prev/.fv-next 48px 정사각)의 크기 규칙을 쓰지 않는다 */
.fvt-btns .fv-prev, .fvt-btns .fv-next { width: auto; height: auto; min-width: 96px; padding: 0 20px; white-space: nowrap; }
.fvt-btns .ui-btn { white-space: nowrap; }
/* PC: '처음 오셨나요?' 탭(타원)이 히어로 맨 위에 걸려 있으므로 그 아래에서 시작 */
@media (min-width: 782px) { .fvt { padding-top: 76px; } }

/* [카드 8] 분과/단체 목록 .ui-media--h(§3-15): 사진 3:2 고정(잘라 채움), 이름 1줄·직책 1줄·설명 2줄 말줄임으로 글 높이를 맞춘다. 열 수는 카드 최소 220 + 폭이 정함(.ui-grid, §5-A — 글자 크기 판정 없음). 로고형은 contain(흰 바탕·아래 1px 선), 사진 없는 단체는 크림 칸 유지 */
.group-grid.ui-grid { margin: 16px 0 32px; }
.ui-media { border: 1px solid var(--line); background: #fff; line-height: 1.45; min-width: 0; }
.ui-media .ph { overflow: hidden; background: var(--cream, #EEE9DD); }
.ui-media .ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ui-media__body { padding: var(--pad-s, 16px); }
.ui-media__title { margin: 0 0 4px; font-weight: 700; font-size: 1.1em; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ui-media__lead { margin: 0 0 4px; color: var(--wp--preset--color--brand-wine); font-weight: 700; font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-media__desc { margin: 0; color: var(--sub, #6B6560); font-size: .88em; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.ui-media--h { display: flex; flex-direction: column; }
.ui-media--h > .ui-media__link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.ui-media--h .ph { aspect-ratio: 3 / 2; width: 100%; min-height: 0; flex: none; }
.ui-media--h .ui-media__title { -webkit-line-clamp: 1; line-clamp: 1; }
.ui-media--h .ph--contain { background: #fff; border-bottom: 1px solid var(--line); }
.ui-media--h .ph--contain img, .ui-media--wide .ph--contain img { object-fit: contain; }
.ui-media--h .ph--none { background: var(--cream, #EEE9DD); }
.ui-media--h > .ui-media__link:hover .ui-media__title { color: var(--wp--preset--color--brand-wine); text-decoration: underline; }
.ui-media--h > .ui-media__link:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; }
/* 상세 맨 위: 대표 이미지(3:2·최대 560·1px 선) + 분과장·소속 .ui-kv */
.ui-media--wide { max-width: 560px; margin: 0 0 var(--gap); }
.ui-media--wide .ph { aspect-ratio: 3 / 2; min-height: 0; }
.ui-media--wide .ph--contain { background: #fff; }
.ui-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min-col-kv-wide, 200px)), 1fr)); gap: 16px; margin: 0 0 var(--gap); }
.ui-kv > div { border: 1px solid var(--line); padding: var(--pad-s, 16px); background: #fff; }
.ui-kv b { display: block; font-size: .88em; color: var(--sub, #6B6560); font-weight: 400; }
.ui-kv span { font-weight: 700; font-size: 1.1em; word-break: keep-all; overflow-wrap: anywhere; }

/* [카드 9] 본당 로고 .ui-card--split(§3-15): 본당정보 다른 카드와 같은 흰 면·1px 선·--pad 로 카드화, 로고는 1px 선 흰 상자에 넣어 글 칸과 같은 높이로 늘린다(로고 가운데, 최대 180). 카드 안쪽 폭 560 미만이면 로고 상자가 위·글이 아래 */
.sp-symbol { background: #fff; border: 1px solid var(--line); padding: var(--pad); margin-top: 40px; line-height: 1.45; }
.sp-symbol > .sp-sub { display: inline-block; margin: 0 0 16px; padding-bottom: 6px; border-bottom: 2px solid var(--w); font-size: 1.1em; }
.sp-symbol__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.sp-symbol__img { box-sizing: content-box; width: 100%; max-width: 180px; height: auto; margin: 0 auto; padding: 16px; border: 1px solid var(--line); background: #fff; align-self: stretch; object-fit: contain; }
@container (min-width: 560px) { .sp-symbol__body { grid-template-columns: 240px minmax(0, 1fr); gap: var(--gap); } .sp-symbol__img { box-sizing: border-box; width: 100%; max-width: none; height: 100%; margin: 0; padding: 24px; } }

/* [카드 10] 가톨릭정보 .ui-linkgrid(§3-15): 1px 선 격자(위·왼쪽 선 + 칸마다 오른쪽·아래 선), 칸 최소 폭 240·높이 88, 로고만 가운데·원본 크기(확대 금지), 호버는 크림 면. 열 수는 폭이 정함(PC 3열·폰 1열) */
.ui-linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min-col, 240px)), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0 0 var(--gap); }
.ui-linkgrid > a { display: grid; place-items: center; min-height: 88px; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: var(--wp--preset--color--neutral-text); text-decoration: none; font-weight: 700; text-align: center; }
.ui-linkgrid > a:hover { background: var(--cream, #EEE9DD); }
.ui-linkgrid > a:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: -3px; }
.ui-linkgrid img { display: block; width: auto; max-width: 100%; height: auto; image-rendering: auto; }
/* 가톨릭정보 칸(11/19 박스 2분할): 위 로고 영역(흰색 고정, 선택해도 변화 없음) + 1px 선 + 아래 기관명 영역. 선택(호버·포커스·터치)하면 기관명 영역 배경만 라임으로 바뀐다(크기·그림자·이동 없음) */
.faith-links { grid-auto-rows: 1fr; }
/* 칸 사이 간격(사용자 요청 11/21): 칸이 맞붙어 구분이 안 돼, 칸마다 1px 선 네 변 + 칸 사이 16px(폰 12px). 공용 .ui-linkgrid 의 붙은 선 격자는 그대로 두고 가톨릭정보(.faith-links)만 바꾼다 */
.ui-linkgrid.faith-links { gap: 32px 16px; border: 0; } /* 위아래 32px·좌우 16px(사용자: 좌우는 적당, 상하는 2배) */
.ui-linkgrid.faith-links > a.faith-links__item { border: 1px solid var(--line); }
@media (max-width: 781px) { .ui-linkgrid.faith-links { gap: 24px 12px; } }
.faith-links > a.faith-links__item { display: flex; flex-direction: column; align-items: stretch; padding: 0; min-height: 0; background: #fff; }
.faith-links > a.faith-links__item:hover { background: #fff; }
.faith-links__logo { flex: 1 1 auto; display: grid; place-items: center; min-height: 88px; padding: 12px; background: #fff; }
.faith-links__name { flex: none; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: calc(2 * 1.4em + 20px); padding: 10px 12px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--cream, #EEE9DD) 55%, #fff); font-size: 1rem; line-height: 1.4; text-align: center; word-break: keep-all; overflow-wrap: anywhere; } /* 평소에도 이름 칸만 아주 연한 크림(기존 크림 55% + 흰색)으로 구분(사용자 제안 11/21), 호버는 라임 */
.faith-links > a.faith-links__item:hover .faith-links__name, .faith-links > a.faith-links__item:focus-visible .faith-links__name, .faith-links > a.faith-links__item:active .faith-links__name { background: #EEF7AB; color: var(--wine, #5C0A1E); }

/* [카드 12b] 조작줄(쪽 번호·이전·다음)을 가운데로: 오른쪽 아래는 가브리엘 자리(PC 88·폰 72)라 오른쪽 정렬이면 위젯이 '다음'을 가렸다. 쪽 번호는 윗줄, 단추 둘은 아랫줄 가운데(터치 44px 이상 유지) */
.fvt-foot { justify-content: center; padding-right: 88px; row-gap: 8px; } /* 오른쪽 아래 88px(폰 80)은 가브리엘 자리 */
@media (max-width: 781px) { .fvt-foot { padding-right: 80px; } }
/* [12c] 한 줄 유지: 쪽 번호·이전·다음이 위젯 자리(오른쪽 80~88px)를 뺀 폭 안에 가운데로 한 줄 — 두 줄이면 폰 높이를 더 차지해 위쪽 단추가 잘렸다 */
.fvt-foot { flex-wrap: nowrap; gap: 10px; }
.fvt-foot .fvt-count { flex: none; text-align: center; }
.fvt-foot .fvt-btns { flex-wrap: nowrap; gap: 10px; }
@media (max-width: 781px) { .fvt-foot .fvt-btns .fv-prev, .fvt-foot .fvt-btns .fv-next { min-width: 84px; padding: 0 14px; } }
.fvt-foot .fvt-btns { justify-content: center; }

/* [카드 11b] FAQ 질문 아코디언: 기존 .sp-acc 접는 상자를 그대로 쓰고 폭(760)·답변 칸 안쪽 여백만 정한다. 질문이 길면 줄을 바꾼다 */
.sp-faq .sp-faq__list { max-width: 760px; margin: 0 0 var(--gap); }
.sp-faq .sp-acc > summary b { min-width: 0; line-height: 1.45; word-break: keep-all; }
.sp-faq .sp-acc__body { padding: var(--pad); line-height: var(--lh-body, 1.7); }
.sp-faq .sp-acc__body p { margin: 0; }
.sp-faq .sp-acc__body .faq-go { margin: 12px 0 0; }

/* [카드 13] 홈 사무실: 제목+임시 안내를 한 덩어리로 묶어 2열 격자의 첫 줄 전체를 쓴다(안내가 없으면 제목만, 자리 없음) */
#office .office-head{grid-column:1/-1}
#office .office-head .hn-office-notice{margin:var(--gap,16px) 0 0}

/* [카드 13c·13e] 임시 안내 강조 — 진청(--blue) 면 채움 + 라임(--lime) 글씨 + 라임 면 단추·진청 글자(사용자 확정 11/18, 크림 쓰지 않음). 선·그림자·왼쪽 줄 없음. 폰은 글 위·단추 아래 */
.ui-card.hn-office-notice { background: var(--blue); border-color: var(--blue); color: var(--lime); --hn-focus: var(--lime); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px var(--pad); }
.hn-office-notice__txt { flex: 1 1 14em; min-width: 0; margin: 0; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.ui-card.hn-office-notice .hn-office-notice__go { flex: none; text-decoration: none; background: var(--lime); border-color: var(--lime); color: var(--blue); } /* .office-section a{color:inherit}·.ui-btn--on-dark(크림 면)보다 우선 */
.ui-card.hn-office-notice .hn-office-notice__go:hover { background: var(--blue); border-color: var(--lime); color: var(--lime) !important; } /* 누르려는 순간: 면과 글자를 맞바꿈 */

/* [FAQ 검색·분류, 11/19 사용자 지시] 검색창 + 분류 칩(.ui-filter 규칙 재사용). 분류마다 제목(.sp-sec) 아래 접는 질문 목록. 칸은 JS 가 열기 전엔 hidden */
.sp-faq .faq-tools { max-width: 760px; }
.sp-faq .faq-tools[hidden], .sp-faq .faq-group[hidden], .sp-faq .sp-acc[hidden], .sp-faq .faq-empty[hidden], .sp-faq .faq-search__clear[hidden] { display: none; }
.sp-faq .faq-search { display: flex; gap: 8px; flex: 1 1 100%; min-width: 0; }
.sp-faq .faq-search__input { flex: 1 1 auto; min-width: 0; }
.sp-faq .faq-search__clear { flex: none; white-space: nowrap; min-height: 48px; }
.sp-faq .faq-cats { flex: 1 1 100%; }
.sp-faq .faq-empty { max-width: 760px; margin: 16px 0; }
.sp-faq .faq-search__input::-webkit-search-cancel-button { display: none; } /* 지우기 단추가 따로 있어 기본 ✕ 는 숨김 */
.sp-faq .sp-acc > summary .faq-q { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; } /* 카드 FAQ-2: 분류 이름표(작게) + 질문 */
.sp-faq .faq-tag { font-size: .78em; font-weight: 400; color: var(--sub, #6B6560); line-height: 1.2; }
.sp-faq[data-view="cat"] .faq-tag { display: none; } /* 개별 분류 탭에서는 이름표 생략 */

/* [카드 21] 연혁: 연도 묶음 사이 간격 40px(한 행 위아래 여백 합 20px의 2배) — 새 선·배경 없이 여백만. 격자 gap은 숨긴(hidden) 연도를 세지 않아 필터·정렬로 가려진 연도의 빈 여백이 남지 않는다. 연도 제목~첫 행 간격은 그대로 */
.sp-history .sp-tl { display: grid; row-gap: 40px; padding-bottom: 20px; }
.sp-history .sp-tl > .sp-yr { margin: 0; }

/* [카드 23] 글자 크기 3단추 = '−  가  ＋' 세그먼트 한 덩어리(칸 사이 1px --line, 바깥 테두리 하나, 반경 0). 속성(data-fs·순서·aria-pressed)·터치 44px는 그대로, 보이는 글자만 바뀐다. 선택된 칸은 기존 면 채움(wine-tint) 규칙 유지 */
.header-actions .font-size-toggle { gap: 0; border: 1px solid var(--line); border-radius: 0; background: var(--wp--preset--color--neutral-bg); }
.header-actions .font-size-toggle button { border: 0; border-radius: 0; background: transparent; font-size: 20px; font-weight: 700; line-height: 1; }
.header-actions .font-size-toggle button + button { border-left: 1px solid var(--line); }
.header-actions .font-size-toggle button[aria-pressed="true"] { background: var(--wp--preset--color--brand-wine-tint); border-color: var(--line); }
.header-actions .font-size-toggle button[data-fs="medium"] { font-size: 18px; }
.group-card .ui-media__desc.group-units { display: block; -webkit-line-clamp: unset; line-clamp: unset; min-height: 0; } /* 카드 분과/단체-1: 소속 단체 이름을 줄임 없이 */
.group-section[hidden] { display: none; }
.group-section__title { margin: 24px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--wine); }
.group-card .ui-media__lead { white-space: normal; overflow: visible; text-overflow: clip; } /* 분과장 이름이 잘리지 않게 줄바꿈 */

/* 홈 띠 배너(카드 A14): 통계 띠 아래에 이미지만 한 장씩 쌓는다. 자동 넘김·장식 없음. */
.home-bands { margin: 0; padding: 0; }
.home-band { margin: 0; }
.home-band img { display: block; width: 100%; height: auto; }
.home-band__go { display: block; }
.home-band__go:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: -3px; }
div.qm-first:empty { display: none; }
@media (max-width: 781px) { div.qm-first:empty { display: block; } }
/* 카드 주보-1: 목록 칸의 단추 두 개(항상 보임, 세로로 쌓음)·표지 링크·상세 위쪽 단추 */
.hn-bul-item { display: flex; flex-direction: column; }
.ui-cover__imglink { display: block; color: inherit; text-decoration: none; }
.hn-bul-item .ui-cover { flex: 1 1 auto; }
.hn-bul-btns { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }
.hn-bul-btns .ui-btn { width: 100%; padding: 0 12px; }
.hn-bul-btns--detail { flex-direction: row; flex-wrap: wrap; margin: 0 0 20px; }
.hn-bul-btns--detail .ui-btn { width: auto; padding: 0 20px; }
/* 카드 주보-2: 주 단추(주보 보기, 와인 면+라임 글씨)와 보조 단추(내려받기, 윤곽선) 구분 · 칸마다 아래 구분선(열 수가 바뀌어도 어느 폭에서든 카드 단위로 구분) · 칸 간격 확대. 이 목록·상세 위 단추에만 걸린다(.ui-btn 부품은 그대로) */
.hn-bul-grid.ui-grid { gap: 28px 24px; }
.hn-bul-item { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.hn-bul-btns .ui-btn:first-child { border-color: var(--wine); background: var(--wine); color: #EEF7AB !important; }
.hn-bul-btns .ui-btn:first-child:hover { background: var(--wine-dark, #3E0714); color: #EEF7AB !important; }
.hn-bul-btns .ui-btn:first-child:focus-visible { outline-color: var(--wine); }

/* ───── 카드 32: 영문 안내 진입·/en/ 화면 ───── */
/* 메뉴 안 언어 줄: 폰(햄버거) 메뉴를 연 동안만 보인다. PC 가로 메뉴는 1024px 에서 이미 꽉 차 바닥글의 English 링크를 쓴다 */
.site-header .gnb .hn-lang { display: none; }
.site-header .gnb .is-menu-open .hn-lang { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; font-size: 1.05rem; line-height: 1.4; }
.site-header .gnb .is-menu-open .hn-lang a, .site-header .gnb .is-menu-open .hn-lang strong { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--wp--preset--color--brand-wine); }
.site-header .gnb .is-menu-open .hn-lang a { text-decoration: underline; text-underline-offset: 4px; }
.footer-simple a.footer-en { display: inline-block; padding: 8px 2px; margin: 0 6px; }
/* '처음 오셨나요?' 패널의 영어 안내: 기본은 아래 작은 링크, 한국어가 아닌 브라우저는 맨 위 단추(--top) */
.fv-en { margin: 0; padding: 0 16px 8px; text-align: center; font-size: .88em; }
.fv-en a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; color: var(--wp--preset--color--brand-wine); }
.fv-en.fv-en--top { padding: 12px 16px; font-size: 1em; border-bottom: 1px solid var(--line); }
.fv-en.fv-en--top a { text-decoration: none; }
@media (min-width: 782px) { .fv-en--top + .fv-stage .fvt { padding-top: 16px; } } /* PC: 걸린 탭(타원)은 본문 왼쪽 끝이라 가운데 단추와 겹치지 않아, 탭 자리 여백은 영어 줄 아래 본문에서 줄인다 */
.fv-en a { text-wrap: balance; text-align: center; line-height: 1.35; }
.home-hero.fv-open .hn-snow, .home-hero.fv-open .hn-snow-toggle { display: none; } /* 안내 패널을 연 동안은 눈·'눈 멈춤' 단추를 숨긴다(폰에서 영어 줄을 가렸다) */
/* /en/ 본문: 읽기 폭 880 */
.hn-en__in { box-sizing: border-box; width: 100%; max-width: 928px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hn-en-page .page-hero > .hn-en__in { max-width: 928px; }
/* 영문 안내 앵커 탭(사용자 11/26): 섹션 제목을 위쪽 단추로. 단추 모양은 기존 칩(.sp-chip), 터치 48px. 섹션 사이는 간격으로 구분 */
.hn-en__tabs ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.hn-en__tabs .sp-chip { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 18px; text-decoration: none; color: var(--ink, inherit); font-weight: 700; }
.hn-en__in h2.sp-sec[id] { scroll-margin-top: var(--hn-anchor-offset, 120px); margin-top: 48px; }
.hn-en__table { margin: 0 0 12px; }
.hn-en__table th, .hn-en__table td { vertical-align: top; }
.hn-en__time { white-space: nowrap; font-weight: 700; }
.hn-en__hours { white-space: nowrap; }
.hn-en__in .sp-card > :first-child { margin-top: 0; }
.hn-en__in .sp-card > :last-child { margin-bottom: 0; }
.hn-en__back { margin: 32px 0 0; }
@media (max-width: 781px) { .hn-en__in { padding-left: 16px; padding-right: 16px; } .hn-en__table { font-size: .95em; } .hn-en__table th, .hn-en__table td { padding-left: 4px; padding-right: 4px; } }

/* ===== 자동 번역 화면(inc/translate-hints.php, 2026-11-26): 번역을 막은 낱말은 번역됐을 때만 영어를 보이고, 길어진 영어에 칸이 겹치지 않게 한다. 한국어 화면은 그대로 ===== */
/* 감싼 태그는 상자를 만들지 않아(contents) 한국어 화면의 배치·글꼴이 그대로다. 다른 'span' 규칙(크기·색·꾸밈)이 감싼 태그에 걸리지 않게 부모 값을 그대로 받는다 */
.hn-tr, .hn-tr > span { display: contents !important; font: inherit !important; color: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important; text-shadow: inherit !important; }
.hn-tr::before, .hn-tr::after, .hn-tr > span::before, .hn-tr > span::after { content: none !important; }
.hn-tr > .hn-tr-en { display: none !important; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .hn-tr > .hn-tr-ko { display: none !important; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .hn-tr > .hn-tr-en { display: contents !important; }
/* 번역기가 글자를 태그로 감싸면 칸이 늘어나 예금주 줄이 아이콘 칸으로 밀린다: 제목 말고는 모두 둘째 칸. 줄바꿈은 칸마다 이미 줄이 나뉘므로 감춘다(두면 빈 칸을 차지해 뒤 줄이 밀린다) */
:is(#office,.sp-office) .obox .hn-contact__line > br { display: none; }
:is(#office,.sp-office) .obox .hn-contact__line > :not(strong, br), #office .hn-location__info .hn-contact__line:first-child > :not(strong, br) { grid-column: 2; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(#office,.sp-office) .hn-hours__table tr, html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) #office-page .hn-hours__table tr { grid-template-columns: 3.4em minmax(0, 1fr); }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(#office,.sp-office) .hn-hours__table td:nth-child(3)::before { content: "Lunch " / ""; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(#office,.sp-office) .hn-hours__table td:nth-child(4)::before { content: "Church closes " / ""; }
/* 오늘 표시는 시각 옆에 둘 자리가 없어 요일 아래에 */
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(#office,.sp-office) .hn-hours__table tr.is-today::after { content: none; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(#office,.sp-office) .hn-hours__table tr.is-today { padding-right: 12px; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(#office,.sp-office) .hn-hours__table tr.is-today th::after { content: "Today"; display: block; font-size: .7em; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .hn-hours--today.is-js td:nth-of-type(2)::before { content: "Lunch "; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .hn-hours--today.is-js td:nth-of-type(3)::before { content: "Church closes "; }
@media (min-width: 900px) {
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) #office-page .hn-hours__table td:nth-child(3)::before, html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) #office-page .hn-hours__table td:nth-child(4)::before { content: none; }
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) #office-page .hn-hours__table tr.is-today { padding: 0; }
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) #office-page .hn-hours__table tr.is-today::after { content: none; }
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) #office-page .hn-hours__table tr.is-today th::after { content: " · Today"; display: inline; font-size: .8em; }
}
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .mass-list strong { white-space: normal; max-width: 100%; }
/* CSS 로 그리는 글자(content)는 번역기가 못 옮긴다 */
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .site-header .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
@media (max-width: 400px) { html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .site-header .wp-block-navigation__responsive-container-open { padding-left: 4px; padding-right: 4px; font-size: 13px; } } /* Menu 가 '메뉴'보다 넓어 360 폭에서 화면이 옆으로 밀렸다 */
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .site-header .gnb .is-menu-open::before { content: "All menus"; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .is-semi :is(.board-title, .wp-block-post-title) a::after { content: "Members only"; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .sp-acc > summary::after { content: "Open"; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .sp-acc[open] > summary::after { content: "Close"; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .ui-acc > summary::after { content: "Open +"; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .ui-acc[open] > summary::after { content: "Close −"; }
/* 길어진 영어: 계좌는 은행 이름을 윗줄에, 홈 WYD 띠는 줄바꿈, 히어로 윗줄은 눈 단추 자리를 비우고, 한 줄로 자르던 제목은 두 줄까지 */
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(#office,.sp-office) .obox .hn-contact__line:nth-child(3) { white-space: normal; overflow-wrap: anywhere; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .hn-contact__acc .hn-tr > .hn-tr-en { display: block !important; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .wyd-cell { min-width: 0; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .wyd-strip .stat-value { white-space: normal; flex-wrap: wrap; }
@media (max-width: 781px) {
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .wyd-in { grid-template-columns: auto minmax(0, 1fr); }
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .home-hero .hero-eyebrow { padding-right: 124px; }
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .story-wall .story-tile:not(:nth-child(7n+1)) .story-cap > span { display: none; } /* 작은 사진 칸에서 긴 설명·제목이 위 꼬리표를 덮었다(전문은 크게 보기에 있다) */
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .story-wall .story-tile:not(:nth-child(7n+1)) .story-cap { padding-top: 1em; }
	html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .story-wall .story-tile:not(:nth-child(7n+1)) .story-cap strong { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .ui-media--h .ui-media__title { -webkit-line-clamp: 2; line-clamp: 2; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) :is(.ui-cover__name, .hn-media-card__title) { -webkit-line-clamp: 3; line-clamp: 3; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .subnav-toggle-name { flex: none; } /* 긴 현재 메뉴 이름에 밀려 대메뉴 낱말이 중간에서 끊겼다 */
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .sp-area li { grid-template-columns: 4.2em 1fr; } /* '1반' → Class 1 */

/* ===== 수정 요청 2026-11-29 (docs/review/sub-2026-11-22.pptx) ===== */
/* [1] 미사 카드: 값이 아랫줄로 내려가도 다른 줄처럼 오른쪽 정렬 */
.mass-list li:not(.is-note) strong { margin-left: auto; text-align: right; }
/* [2] 인근 성당 접이식: 세모 대신 '펼치기/접기' 글자 */
.mass-near summary::after { content: "펼치기"; color: var(--wp--preset--color--brand-wine); font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; transition: none; }
.mass-near[open] summary::after { content: "접기"; transform: none; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .mass-near summary::after { content: "Open"; }
html:is(.translated-ltr, .translated-rtl, :not([lang^="ko"], [data-hn-en])) .mass-near[open] summary::after { content: "Close"; }
/* [2] 홈 공지: 구분 표시를 제목 줄 가운데 높이에 맞춤 */
.ncard .hn-notice-list li > .hn-cat { align-self: center; margin-top: 0; }
/* [3] 처음 오신 분 안내: '접기'는 아래 이전·다음 옆 단추 */
@media (max-width: 781px) {
	.fvt-foot, .fvt-foot .fvt-btns { gap: 6px; }
	.fvt-foot .fvt-btns .fv-prev, .fvt-foot .fvt-btns .fv-next, .fvt-foot .fvt-btns .fvt-close { min-width: 0; padding: 0 10px; }
}
/* [12] 내 구역 찾기: 길 고르기 단추와 결과 줄 */
.sp-finder__out ul.sp-finder__roads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; font-size: 1em; }
.sp-area .sp-finder__roads li { display: block; padding: 0; border: 0; }
.sp-finder .sp-finder__roads button { box-sizing: border-box; min-height: 48px; padding: 0 16px; background: #fff; color: var(--wp--preset--color--brand-wine) !important; border: 1px solid var(--wp--preset--color--brand-wine); border-radius: 0; font: inherit; font-weight: 700; cursor: pointer; }
.sp-finder .sp-finder__roads button:hover, .sp-finder .sp-finder__roads button:focus-visible { background: #EEF7AB; }
.sp-finder__out ul.sp-finder__hits { padding: 0; }
.sp-area .sp-finder__hits li { display: block; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line, #D8D0BF); }
.sp-area .sp-finder__hits li:last-child { border-bottom: 0; }
.sp-finder__hits b { display: inline-block; min-width: 5.5em; }
.sp-finder__hits span { font-size: .85em; color: var(--ink, #262019); word-break: keep-all; }
/* [13] 갤러리: '자주 쓰는 태그'는 검색 옆 자색 단추, 펼치면 아래 전체 폭 */
.ui-filter--tags .gallery-filter__search { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.ui-filter--tags .gallery-filter__search .gallery-filter__input { flex: 1 1 220px; width: auto; min-width: 0; }
.ui-filter--tags .gallery-filter__search .ui-btn { flex: none; min-height: 48px; margin: 0; }
.ui-filter--tags .gallery-filter__tagbtn { background: #2F1B45; border-color: #2F1B45; color: #EEF7AB; font-weight: 700; }
.ui-filter--tags .gallery-filter__tagbtn:hover, .ui-filter--tags .gallery-filter__tagbtn:focus-visible { background: #1F1130; color: #EEF7AB; }
.ui-filter--tags .gallery-filter__tagbtn:focus-visible { outline: 3px solid #2F1B45; outline-offset: 3px; }
.ui-filter--tags .gallery-filter__tagbtn::after { content: "+"; margin-left: 10px; }
.ui-filter--tags .gallery-filter__tagbtn[aria-expanded="true"]::after { content: "−"; }
.gallery-filter__tags { flex: 1 1 100%; box-sizing: border-box; padding: 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid #2F1B45; line-height: 1.45; }
.gallery-filter__tags[hidden] { display: none; }
.gallery-filter__tags .gallery-filter__chips { margin: 0; }
@media (max-width: 560px) { .ui-filter--tags .gallery-filter__tagbtn { flex: 1 1 100%; } }
/* [4] 고해성사: 카드 1열(전체 폭) */
.sp-icards.sp-icards.full { grid-template-columns: minmax(0, 1fr); }
.sp-icards.full > * { grid-column: auto; }
/* [5] 교적: 아래 안내 상자도 위 카드와 같은 폭 */
.sp-icards.one ~ .sp-note { box-sizing: border-box; max-width: 760px; }
/* [8] 사목협의회 조직도의 분과·단체 연결 */
.org-dept a, .org-units a { color: var(--wp--preset--color--brand-wine); text-decoration: underline; text-underline-offset: 4px; }
.org-units a { display: inline-block; padding-block: 4px; }
.org-dept a:hover, .org-dept a:focus-visible, .org-units a:hover, .org-units a:focus-visible { background: #EEF7AB; }
/* [9·10] 분과/단체: 이름 단추 목록 → 고른 곳의 안내를 아래에 */
.group-names { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5em), 1fr)); gap: 8px; }
.group-names li { margin: 0; }
.group-names li[hidden] { display: none; }
.group-name { box-sizing: border-box; width: 100%; height: 100%; min-height: 52px; padding: 8px 10px; background: #fff; color: var(--wp--preset--color--brand-wine); border: 1px solid var(--line, #D8D0BF); border-radius: 0; font: inherit; font-weight: 700; line-height: 1.35; word-break: keep-all; cursor: pointer; }
.group-name:hover { border-color: var(--wp--preset--color--brand-wine); }
.group-name[aria-pressed="true"] { background: var(--wp--preset--color--brand-wine); border-color: var(--wp--preset--color--brand-wine); color: #EEF7AB; }
.group-name:focus-visible { outline: 3px solid var(--wp--preset--color--brand-wine); outline-offset: 2px; }
.group-panels { scroll-margin-top: 120px; margin: 24px 0 32px; }
.group-panels[hidden], .group-panel[hidden] { display: none; }
.group-panel { border-top: 2px solid var(--wp--preset--color--brand-wine); padding-top: 20px; margin-bottom: 32px; }
.page-main .group-panel h3.group-panel__title { margin: 0 0 16px; font-size: 1.3em; color: var(--wp--preset--color--brand-wine); }
.ui-media--wide .ph--logo { background: #fff; border: 1px solid var(--line, #D8D0BF); box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.ui-media--wide .ph--logo img { width: 62%; height: auto; object-fit: contain; }
@media (max-width: 600px) { .group-names { grid-template-columns: repeat(2, minmax(0, 1fr)); } .group-name { padding: 8px 4px; } }

/* ===== 기획홍보분과 소개(분과 전달 문서의 모양: 와인 표지·골드 선·타임라인·맺음말). content/pages/group-pr.html ===== */
.gpr-doc { --gpr-wine: #5C0A1E; --gpr-gold: #C5A26E; --gpr-lime: #EEF7AB; --gpr-cream: #FFF8DC; --gpr-line: #D8D0BF; word-break: keep-all; overflow-wrap: anywhere; }
.gpr-doc ul, .gpr-doc ol { list-style: none; margin: 0; padding: 0; }
.gpr-doc li { margin: 0; }
.gpr-doc p { margin: 0 0 .5em; line-height: 1.75; }
.gpr-doc p:last-child { margin-bottom: 0; }
.gpr-cover, .gpr-quote { position: relative; background: var(--gpr-wine); text-align: center; padding: clamp(32px, 6vw, 64px) 20px; }
.gpr-cover::before, .gpr-quote::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--gpr-gold); pointer-events: none; }
.gpr-doc .gpr-eyebrow, .gpr-doc .gpr-by, .gpr-doc .gpr-quote-foot { color: var(--gpr-gold); }
.gpr-doc .gpr-eyebrow::after { content: ""; display: block; width: 48px; height: 3px; margin: 12px auto 0; background: var(--gpr-gold); }
.gpr-doc .gpr-headline { margin: 16px 0; color: var(--gpr-lime); font-size: clamp(1.6em, 4.2vw, 2.4em); font-weight: 700; line-height: 1.4; }
.gpr-doc .gpr-by { font-size: .9em; }
.gpr-doc h4.gpr-h { margin: 48px 0 16px; padding: 0 0 10px; border: 0; border-bottom: 2px solid var(--gpr-wine); color: var(--gpr-wine); font-size: 1.3em; font-weight: 700; line-height: 1.4; }
.gpr-doc h4.gpr-h small { margin-left: 8px; white-space: nowrap;color: var(--wp--preset--color--neutral-gray, #6B6560); font-size: .72em; font-weight: 400; }
.gpr-doc h5 { margin: 0 0 8px; padding: 0; border: 0; color: var(--wp--preset--color--neutral-text, #262019); font-size: 1.06em; font-weight: 700; line-height: 1.45; }
.gpr-doc strong { color: var(--gpr-wine); }
.gpr-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.gpr-grid > li { box-sizing: border-box; background: #fff; border: 1px solid var(--gpr-line); padding: 20px; }
.gpr-top { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.gpr-top > li { border-top: 4px solid var(--gpr-gold); }
.gpr-top > li.is-wide { grid-column: 1 / -1; }
.gpr-channels { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.gpr-doc .gpr-channel-name { margin: 0; color: var(--gpr-wine); font-size: 1.2em; font-weight: 700; }
.gpr-doc .gpr-channel ul { margin-top: 12px; border-top: 3px solid var(--gpr-wine); }
.gpr-doc .gpr-channel--analog ul { border-top-color: var(--gpr-gold); }
.gpr-channel li { background: #fff; border: 1px solid var(--gpr-line); border-left: 5px solid var(--gpr-wine); padding: 16px 18px; }
.gpr-doc .gpr-channel li { margin-top: 10px; }
.gpr-channel--analog li { border-left-color: var(--gpr-gold); }
.gpr-doc ol.gpr-timeline { margin-left: 8px; border-left: 3px solid var(--gpr-line); }
.gpr-doc .gpr-timeline li { position: relative; margin: 0 0 12px 22px; padding: 16px 18px; background: #fff; border: 1px solid var(--gpr-line); }
.gpr-timeline li::before { content: ""; position: absolute; left: -31px; top: 22px; width: 9px; height: 9px; border: 3px solid var(--gpr-wine); border-radius: 50%; background: #fff; }
.gpr-timeline li:nth-child(even)::before { border-color: var(--gpr-gold); }
.gpr-doc .gpr-when { margin-bottom: 2px; color: var(--gpr-wine); font-weight: 700; font-size: .92em; }
.gpr-doc .gpr-quote { margin-top: 48px; }
.gpr-doc .gpr-quote-text { margin: 0 0 24px; color: var(--gpr-lime); font-size: clamp(1.15em, 2.8vw, 1.5em); font-weight: 700; line-height: 1.8; }
.gpr-doc .gpr-quote-text::before { content: "“"; display: block; color: var(--gpr-gold); font-size: 2.4em; line-height: 1; }
@media (max-width: 600px) { .gpr-grid > li { padding: 16px; } .gpr-cover::before, .gpr-quote::before { inset: 8px; } }
