/*
 * eh-venue-directory.css (batch 27, 29 Nov 2026): public venue directory /-/venues/directory
 * (public/venue-directory.html, PublicViews/venue-directory.php). Every rule is scoped to .eh-vdir.
 * Rollback: /home/ianbird/overnight-20261129/decisions-batch27-directory-launch/ROLLBACK.sh
 */
.eh-vdir { max-width: 1140px; margin: 8px auto 48px; padding: 0 12px; color: #222; }
#contents .eh-vdir h1, #contents .eh-vdir h2, #contents .eh-vdir h3 { text-transform: none !important; letter-spacing: normal; font-family: inherit; }
.eh-vdir h1 { font-size: 2rem; font-weight: 700; line-height: 1.15; margin: 0 0 10px; color: #fff; }
.eh-vdir h2 { font-size: 1.35rem; font-weight: 700; margin: 28px 0 12px; color: #1f3d17; }
.eh-vdir h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; color: #222; }
.eh-vdir a { color: #1f4a14; text-decoration: underline; text-underline-offset: 2px; }
.eh-vdir a:hover { color: #0f2a09; }
body.ds .eh-vdir a:focus-visible, body.ds .eh-vdir button:focus-visible, body.ds .eh-vdir input:focus-visible { outline: 3px solid #222; outline-offset: 2px; box-shadow: none; }
/* Sticky site header: keep focused links, :target cards and jump targets clear of it. */
html:has(.eh-vdir) { scroll-padding-top: 150px; }
@media (max-width: 991.98px) { html:has(.eh-vdir) { scroll-padding-top: 96px; } }

.eh-vdir__hero { background: #0f1a14; border-radius: 12px; padding: 24px 24px 20px; margin: 0 0 16px; }
.eh-vdir__hero h1::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: #82bc41; margin-bottom: 14px; }
.eh-vdir__lead { color: #f1f4ef; font-size: 1.05rem; line-height: 1.5; margin: 0; max-width: 60em; }

.eh-vdir__note { border: 1px solid #cfd8cc; border-left: 4px solid #2f6b1f; border-radius: 8px; background: #f4f8f2; padding: 12px 16px; margin: 0 0 16px; }
.eh-vdir__note p { margin: 0 0 6px; line-height: 1.5; }
.eh-vdir__note p:last-child { margin-bottom: 0; }
.eh-vdir__note--end { margin-top: 28px; }

.eh-vdir__search { margin: 0 0 8px; }
.eh-vdir__search label { display: block; font-weight: 700; margin: 0 0 6px; text-transform: none; }
.eh-vdir__search-row { display: flex; gap: 8px; flex-wrap: wrap; }
.eh-vdir__search input[type=search] { flex: 1 1 240px; min-height: 48px; padding: 10px 12px; border: 1px solid #6b746b; border-radius: 8px; font-size: 1rem; background: #fff; color: #222; }
.eh-vdir__search button { min-height: 48px; padding: 10px 24px; border: 0; border-radius: 999px; background: #2f6b1f; color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
.eh-vdir__search button:hover { background: #1f4a14; }

.eh-vdir__regions ul, .eh-vdir__types ul, .eh-vdir__list, .eh-vdir__links { list-style: none; margin: 0; padding: 0; }
.eh-vdir__regions ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.eh-vdir__regions a { display: flex; flex-direction: column; min-height: 48px; padding: 10px 14px; border: 1px solid #cfd8cc; border-radius: 8px; background: #fff; text-decoration: none; }
.eh-vdir__regions a:hover .eh-vdir__rname { text-decoration: underline; }
.eh-vdir__regions a[aria-current] { border: 2px solid #2f6b1f; background: #f4f8f2; }
.eh-vdir__rname { font-weight: 700; color: #1f4a14; }
.eh-vdir__rcount { font-size: .95rem; color: #3a3a3a; }

.eh-vdir__types ul { display: flex; flex-wrap: wrap; gap: 8px; }
.eh-vdir__types a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid #6b746b; border-radius: 999px; background: #fff; text-decoration: none; color: #1f4a14; }
.eh-vdir__types a:hover { text-decoration: underline; }
.eh-vdir__types a[aria-current="page"] { background: #2f6b1f; border-color: #2f6b1f; color: #fff; }
#contents .eh-vdir__types a[aria-current="page"], #contents .eh-vdir__types a[aria-current="page"]:hover { color: #fff !important; }
.eh-vdir__tcount { margin-left: 4px; }

.eh-vdir__count { margin: 24px 0 0; font-weight: 700; }
.eh-vdir__gcount { font-size: .95rem; font-weight: 400; color: #3a3a3a; margin-left: 6px; }
.eh-vdir__list { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .eh-vdir__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .eh-vdir__list { grid-template-columns: 1fr 1fr 1fr; } }
.eh-vdir__list > li { display: flex; }
.eh-vdir__card { flex: 1 1 auto; display: flex; flex-direction: column; border: 1px solid #cfd8cc; border-radius: 12px; background: #fff; padding: 16px; }
.eh-vdir__card:target { box-shadow: 0 0 0 3px #2f6b1f; background: #f4f8f2; }
.eh-vdir__facts { margin: 0 0 10px; }
.eh-vdir__facts > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; margin: 0 0 4px; }
.eh-vdir__facts dt { font-weight: 700; color: #3a3a3a; }
.eh-vdir__facts dd { margin: 0; overflow-wrap: anywhere; }
.eh-vdir__none { color: #3a3a3a; margin: 0 0 10px; }
.eh-vdir__links { margin-top: auto; padding-top: 8px; border-top: 1px solid #e1e7de; }
.eh-vdir__links li { margin: 6px 0 0; }
.eh-vdir__links a { display: inline-block; padding: 4px 0; }
.eh-vdir__jump { margin: 16px 0 0; }
.eh-vdir__jump-title { font-weight: 700; margin: 0 0 6px; }
.eh-vdir__jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.eh-vdir__jump a { display: inline-block; padding: 4px 0; }
.eh-vdir__about p { max-width: 60em; line-height: 1.5; }

@media (max-width: 575.98px) {
	.eh-vdir { padding: 0 4px; }
	.eh-vdir h1 { font-size: 1.6rem; }
	.eh-vdir__hero { padding: 18px 16px; }
}
