/* Front page and /nara-dig. */
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Front page hero */
.hero{padding:28px 0 8px}
.hero h1{font-size:1.8em;line-height:1.2;margin:0}
.hero-lead{margin-top:8px;font-size:1.1em;color:#555}
.hero-search{display:block;position:relative;margin:22px 0 0;flex-grow:0}
.hero-search input.search-bar{width:100%;height:auto;padding:13px 14px 13px 44px;font-size:17px;border:1px solid #666;border-radius:8px;background:#fff no-repeat 14px center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");-webkit-appearance:none;appearance:none}
.hero-search input.search-bar:focus{outline:2px solid #333;outline-offset:1px}
.hero-search #suggestions{border-radius:0 0 8px 8px}
.near-me-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid #666;border-radius:8px;background:#f8f8f8;color:#333;font:inherit;font-size:1em;cursor:pointer}
.near-me-button::before{content:"";width:18px;height:18px;flex-shrink:0;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='%23333'/%3E%3Cpath d='M12 1v4M12 19v4M1 12h4M19 12h4'/%3E%3C/svg%3E")}
.near-me-button:hover{background:#333;color:#fff}
.near-me-button:hover::before{filter:invert(1)}
.near-me-button:disabled{opacity:.6;cursor:wait}
.near-me-button--hero{width:100%;margin-top:10px;padding:10px 16px;font-size:17px}
.near-me-status{font-size:.9em;color:#8a5a00;margin-top:8px}
.near-me-status:empty{display:none}

/* Front page: popular places */
.popular{margin-top:28px;padding-top:22px;border-top:1px solid #ddd}
.popular h2{margin-bottom:8px}
.popular-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;line-height:2;font-size:1.05em}
@media (min-width:600px){.popular-list{grid-template-columns:repeat(3,1fr)}}
@media (min-width:900px){.popular-list{grid-template-columns:repeat(4,1fr)}}

/* Search suggestions: restaurants listed after places */
#suggestions .suggestion-heading{padding:6px 10px 2px;font-size:.8em;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:#777;background:#fafafa}
#suggestions .suggestion-sub{display:block;font-size:.85em;color:#777;line-height:1.3}
#suggestions .suggestion-name{font-weight:600}

/* /nara-dig */
.near-me-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:4px 0 15px}
.near-me-bar p{margin:0}
.near-me-bar .near-me-status{flex-basis:100%}
.near-me-button--small{padding:4px 10px;font-size:.9em;border-radius:5px}
.near-me-button--small::before{width:14px;height:14px}
.near-distance{font-size:.9em;font-weight:600;color:#5e3a9e;margin-top:2px}
