/* Basic responsive layout */
#wcgd-map { height: 360px; border:1px solid #e5e5e5; border-radius:10px; }
.wcgd-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 12px; }
.wcgd-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; background: #fff; }
.wcgd-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.wcgd-address { color: #555; font-size: .9rem; }
.wcgd-schedule { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 8px; margin-top: 8px; }
.wcgd-day strong { display:block; }
.wcgd-form { display:flex; flex-wrap:wrap; gap:8px; }
.wcgd-form input { padding:6px 8px; }
.wcgd-form button { padding:6px 10px; }
@media (max-width:600px){ #wcgd-map { height: 300px; } }
/* Make sure the map can host the overlay button */
#wcgd-map { position: relative; min-height: 360px; }
/* assets/churchdir.css */
#wcgd-map {
  height: 360px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

/* Leaflet control button (top-right) */
.wcgd-map-btn {
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.wcgd-map-btn:hover { background: #f7f7f7; }

/* === Parish detail page – header styling only === */
body.wcgd-detail .wp-block-group.alignfull > .wp-block-group > .wp-block-group.alignwide {
  /* tighten header vertical space */
  padding-top: var(--wp--preset--spacing--20) !important;
  padding-bottom: var(--wp--preset--spacing--20) !important;
}

/* Site title size and spacing */
body.wcgd-detail .wp-block-site-title,
body.wcgd-detail .wp-site-title {
  margin: 0;
  line-height: 1.1;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}
body.wcgd-detail .wp-block-site-title a { text-decoration: none; }

