/* churches.css - the church directory (/churches/, /directory/by-county/, /directory/dioceses/). Prefix ch-.
   Uses christian.css tokens (--cx-*). */

.ch-find { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 8px 0 14px; }
.ch-find .cx-search { flex: 1 1 320px; margin: 0; }
.ch-nearbtn svg, .ch-nearbar svg { width: 15px; height: 15px; fill: currentColor; }

.ch-mapwrap { margin: 10px 0 20px; }
.ch-map { height: 380px; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: var(--cx-soft); overflow: hidden; }
.ch-map noscript { display: block; padding: 14px; color: var(--cx-muted); }
.ch-attrib { font-size: .76rem; color: var(--cx-muted); margin-top: 4px; }
.ch-attrib a { color: var(--cx-muted); }
@media (max-width: 600px) { .ch-map { height: 300px; } }

.ch-list { list-style: none; padding: 0; margin: 0; }
.ch-list li { padding: 10px 0; border-bottom: 1px solid var(--cx-line); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.ch-name { font-weight: 600; font-size: 1.02rem; }
.ch-den { font-size: .76rem; padding: 1px 8px; border-radius: 999px; background: var(--cx-soft); border: 1px solid var(--cx-line); color: var(--cx-muted); }
.ch-cath { color: var(--cx-gold); border-color: var(--cx-gold); }
.ch-addr { flex-basis: 100%; color: var(--cx-muted); font-size: .9rem; }
.ch-phone, .ch-dist { color: var(--cx-muted); font-size: .86rem; }
.ch-dist { margin-left: auto; font-weight: 600; color: var(--cx-ink); }

.ch-chips { margin: 6px 0 10px; }
.ch-chips small { opacity: .75; }

.ch-trad td.ch-num, td.ch-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ch-bar { width: 40%; min-width: 110px; }
.ch-bar span { display: inline-block; height: 9px; border-radius: 5px; background: var(--cx-accent); vertical-align: middle; max-width: 80%; }
.ch-bar small { margin-left: 6px; color: var(--cx-muted); }

.ch-church { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 6px 0 4px; }
@media (min-width: 760px) { .ch-church { grid-template-columns: 1fr minmax(240px, 340px); } }
.ch-facts dd { overflow-wrap: anywhere; }
.ch-dir { margin-left: 6px; font-size: .86rem; }
.ch-photo { margin: 0; }
.ch-photo img { width: 100%; height: auto; border-radius: var(--cx-radius); border: 1px solid var(--cx-line); }
.ch-photo figcaption { font-size: .76rem; color: var(--cx-muted); margin-top: 4px; }

.ch-fixbox summary { list-style: none; display: inline-flex; }
.ch-fixbox summary::-webkit-details-marker { display: none; }
.ch-form textarea { max-width: 560px; }
.ch-form small { display: block; margin-top: 2px; }
.chf-check { display: flex !important; gap: 8px; align-items: center; font-weight: 400 !important; }
.chf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.ch-nearbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 12px; }
.ch-locate-msg { color: var(--cx-muted); font-size: .92rem; }
.ch-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0; }
.ch-citycols { columns: 4 170px; }

/* Christianity by county (bycounty) and dioceses */
.ch-cite { font-size: .82rem; color: var(--cx-muted); border-top: 1px solid var(--cx-line); padding-top: 8px; margin-top: 18px; }
.ch-dioc td small { color: var(--cx-muted); }
