/* Fichas de igrejas — mesmo sistema visual de /, sem alterar cards da home. */
.hm-church-hero { background: linear-gradient(115deg, #001c43 0%, #0a2a5c 68%, #163963 100%); overflow: hidden; }
.hm-church-hero::after { content: ""; position: absolute; width: 310px; height: 310px; border: 2px solid rgba(229,180,73,.18); border-radius: 50%; right: -110px; top: -85px; pointer-events: none; }
.hm-church-hero .hm-hero-inner { padding-block: clamp(46px,7vw,90px) clamp(48px,6vw,72px); }
.hm-church-hero .hm-dir-hero-label { margin: 0 0 10px; }
.hm-church-hero h1.hm-dir-title { margin: 0; max-width: 22ch; font-size: clamp(36px,6vw,58px); overflow-wrap: anywhere; color: #fff; }
.hm-church-hero .hm-dir-hero-subtitle { margin: 15px 0 0; max-width: 72ch; color: #f1f3f8; }
.hm-church-main { padding-bottom: 60px; }
.hm-church-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.hm-church-content, .hm-church-sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hm-church-panel { background: #fff; border-radius: var(--hdm-radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(20px,3vw,32px); min-width: 0; }
.hm-church-panel h2 { font-size: clamp(26px,3.5vw,33px); margin: 0 0 15px; }
.hm-church-panel h3 { font-size: 22px; margin: 0 0 13px; }
.hm-church-panel > p { margin-top: 0; }
.hm-church-photo { padding: 0; overflow: hidden; }
.hm-church-photo .foto { margin: 0; }
.hm-church-photo .foto img { display: block; width: 100%; height: clamp(230px,35vw,410px); max-height: unset; object-fit: cover; background: #edeae3; }
/* Fotografia própria do Santuário: manter o monumento inteiro no desktop e celular. */
.hm-church-photo .foto.foto-local img { height: clamp(250px,38vw,520px); object-fit: contain; object-position: center; background: #e9f0f6; }
.hm-church-photo .foto.ilustrativa { display: grid; place-items: center; background: #f1efe8; }
.hm-church-photo .foto.ilustrativa img { width: min(240px,58%); height: 260px; max-height: unset; object-fit: contain; }
.hm-church-photo .foto figcaption { padding: 12px 20px 16px; font-size: 12px; color: var(--hdm-cinza); background: #fff; }
.hm-church-photo .foto figcaption a { color: var(--hdm-marinho); }
.hm-church-status { display: inline-flex; margin: 0 0 18px; padding: 7px 12px; border: 1px solid #e2e8f2; border-radius: 8px; font-size: 12px; color: #405474; background: #f3f6fb; }
.hm-church-muted { color: var(--hdm-cinza); line-height: 1.65; }
.hm-church-empty { border: 1px dashed #d8c6a7; border-radius: 12px; padding: 18px; background: #fdfaf2; color: #6a4a00; }
.hm-church-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hm-church-table th, .hm-church-table td { padding: 14px 10px; border-bottom: 1px solid #eee9df; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.hm-church-table th { width: 46%; font-weight: 700; color: var(--hdm-marinho); }
.hm-church-table td { color: var(--hdm-texto); }
.hm-church-schedule th { width: 48%; }
.hm-church-schedule td { font-weight: 700; color: var(--hdm-marinho); }
.hm-church-special { padding: 16px 18px; border: 1px solid #e8d7a8; border-left: 4px solid var(--hdm-ouro); background: #fff9e8; border-radius: 12px; }
.hm-church-special p { margin: 0; }
.hm-church-schedule-note { margin: 16px 0 0; font-size: 13px; color: var(--hdm-cinza); }
.hm-church-address { font-size: 15px; color: var(--hdm-texto); margin: 0 0 10px; }
.hm-church-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hm-church-actions .hm-btn { border-radius: 12px; min-width: 135px; text-align: center; }
.hm-church-links { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; gap: 10px; }
.hm-church-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 14px; border: 1px solid #c9cfd9; border-radius: 12px; font-weight: 700; color: var(--hdm-marinho); text-decoration: none; overflow-wrap: anywhere; }
.hm-church-links a:hover { border-color: var(--hdm-ouro); background: #fff9e8; }
.hm-church-related { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hm-church-related ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.hm-church-related li a { display: block; padding: 10px 14px; background: var(--hdm-creme); border: 1px solid var(--line); border-radius: 10px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.hm-church-related li a:hover { border-color: var(--hdm-ouro); }
.hm-church-info-table th { width: 42%; }
.hm-church-panel :focus-visible { outline: 3px solid var(--hdm-focus); outline-offset: 2px; }
@media(min-width: 960px) {
  .hm-church-layout { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 28px; }
  .hm-church-sidebar { position: relative; }
}
@media(max-width: 420px) {
  .hm-church-actions .hm-btn { width: 100%; }
  .hm-church-table th, .hm-church-table td { padding: 12px 6px; font-size: 14px; }
}
@media(prefers-reduced-motion: reduce) {
  .hm-church-panel * { scroll-behavior: auto; }
}
