/* Lovely Martha round 1: the directions area's styles (the theme is lm-theme.css; use its role classes).
   The old Directions page (#main .main-area): the address card, the picture with its caption, the parking card and the
   Google Maps button, measured on www.lovelymartha.com 2026-11-18 (Bootstrap 4 cards and rows, written out here). */
.lm-dir-title { text-align: center; color: #00559b; }
@media (min-width: 768px) { .lm-dir-title { color: #ffffff; } }
.lm-dir-center { text-align: center; }
.lm-dir-address, .lm-dir-text {
  position: relative; display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #ffffff;
  background-clip: border-box; border: 1px solid rgba(0, 0, 0, .125); border-radius: 4px; color: #000000;
}
.lm-dir-address { display: inline-block; padding: 10px 40px; text-align: center; }
.lm-dir-address h3 { color: #000000; margin-bottom: .5rem; }
.lm-dir-address b, .lm-dir-address strong, .lm-dir-text b { font-weight: 900; } /* the old bootstrap.css: b, strong 900 */
.lm-dir-row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.lm-dir-col { flex: 0 0 100%; max-width: 100%; position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
@media (min-width: 768px) { .lm-dir-col { flex: 0 0 83.333333%; max-width: 83.333333%; margin-left: 8.333333%; } }
.lm-dir-photo { display: block; width: 100%; max-width: 100%; height: auto; padding: .25rem; margin-bottom: 10px; background-color: #ffffff;
  border: 1px solid #343a40; border-radius: .25rem; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); }
.lm-dir-caption { text-align: center; font-style: italic; }
.lm-dir-text { padding: 10px; text-align: center; }
/* The old card is a flex column, so its bold words sit on their own line (the old text reads in three lines); the
   paragraphs dissolve into it. */
.lm-dir-text p { display: contents; }
.lm-dir-text p + p::before { content: ""; display: block; height: 1rem; }
