/*
 * parish-glance.css: "At a glance" on the parish page, and the photograph
 * with its credit. Loaded after theme-lachurches-parish.css on church.html.
 */

.lac-glance { margin: var(--lac-space-5) 0 var(--lac-space-6); }
.lac-glance-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--lac-space-3) var(--lac-space-5);
  margin: 0;
  padding: var(--lac-space-4) 0 0;
  border-top: 1px solid var(--lac-rule);
}
.lac-glance-row { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lac-glance-row dt {
  font-family: var(--lac-display);
  font-size: var(--lac-text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lac-ink-2);
}
.lac-glance-row dd {
  margin: 0;
  font-family: var(--lac-serif);
  font-size: var(--lac-text-md);
  color: var(--lac-ink);
  overflow-wrap: anywhere;
}

/* The photograph: a licensed image from Wikimedia Commons, credited on the
   figure itself, never a photo the site cannot vouch for. */
.lac-parish-hero-img.is-photo { object-fit: cover; }
.lac-parish-hero-credit {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  font-family: var(--lac-serif);
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(16, 20, 31, 0.55);
  padding: 2px 8px;
  border-radius: 4px;
  max-width: 70%;
  text-align: right;
}
.lac-parish-hero-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); }
