/* Added by the restoration - see _scripts/o5_pi_finish.py for why each rule exists. */

/* The six Google Maps iframes became rasters we host. They must never overflow their column, and
   on a phone the sidebar one has to shrink rather than push the page sideways. */
img.pi-map { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.pi-map-credit { display: block; margin: 4px 0 12px; font-size: 12px; line-height: 1.5;
                 color: #555; text-align: center; }
.pi-map-credit a { color: #4a7c00; }

/* The archive holds no copy of the flag icons, so the country is printed as its name. It sits in
   a table cell that used to hold a 68x50 image, hence the explicit size and weight. */
.pi-pays { font-size: 14px; font-weight: 600; color: #333; white-space: nowrap; }

/* The footer's disabled <select> of categories became real links. */
ul.pi-cat-links { list-style: none; margin: 0; padding: 0; }
ul.pi-cat-links li { margin: 0 0 6px; }
ul.pi-cat-links a { font-size: 14px; }

/* The search results page. */
.pi-searchform { margin: 0 0 24px; }
.pi-searchform input[type=text] { width: 60%; max-width: 340px; padding: 10px 12px;
    font-size: 16px; border: 1px solid #cfcfcf; border-radius: 3px; background: #fff; color: #333; }
.pi-searchform input[type=submit] { padding: 10px 18px; font-size: 16px; min-height: 44px;
    border: 0; border-radius: 3px; background: #a9d300; color: #fff; cursor: pointer; }
#pi-search-status p { font-size: 16px; color: #333; }
.pi-hit { padding: 14px 0; border-bottom: 1px solid #e6e6e6; }
.pi-hit h3 { margin: 0 0 6px; font-size: 19px; }
.pi-hit p { margin: 0; font-size: 15px; line-height: 1.6; color: #444; }
.pi-hit mark { background: #eaf7b0; color: #222; }

/* The sidebar search field was disabled and is now live; the theme sized it for a 2013 desktop,
   which left a 22px-high control that no finger can hit. */
#searchform input[type=text] { min-height: 44px; box-sizing: border-box; }
#searchform input[type=submit] { min-height: 44px; }


/* A BARE URL AS ANCHOR TEXT CANNOT BREAK, AND JUSTIFIED TEXT PAYS FOR IT (owner, 2026-10-18).
   The client's anchor on this site IS a url, and the anchor text is not ours to change. An
   unbreakable 30-40 character token in justified body copy stretches the PRECEDING line into
   word-gaps (reported at 390: one line runs past the right edge of the white card), and in a narrow card it runs past the right edge instead
   of wrapping. Letting the url break inside the block fixes both and changes no text: the link
   still reads as the same address, just over two lines. Scoped to the block so the rest of the
   page keeps the theme's own wrapping. */
.content-wraparea a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
