.hap-demo {
    --hap-ink: #182f27;
    --hap-green: #214b3c;
    --hap-line: #d9dfd5;
    --hap-paper: #f8f7ef;
    margin: 0;
    color: var(--hap-ink);
    background: var(--hap-paper);
    font-family: system-ui, sans-serif;
}
.hap-demo *, .hap-directory *, .hap-single * { box-sizing: border-box; }
.hap-shell { width: min(1320px, calc(100% - 80px)); margin: 0 auto; }
.hap-header { background: #17392d; color: #fffef7; }
.hap-header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 1rem; }
.hap-header a { text-decoration: none; color: inherit; }
.hap-brand { font-weight: 750; letter-spacing: .09em; white-space: nowrap; }
.hap-brand span { color: #e9ae69; margin-right: .4rem; }
.hap-brand b { font-weight: 400; }
.hap-header nav { display: flex; gap: clamp(.7rem, 3vw, 2.3rem); align-self: stretch; }
.hap-header nav a { display: flex; align-items: center; border-bottom: 3px solid transparent; font-size: .94rem; }
.hap-header nav a[aria-current], .hap-header nav a:hover { border-color: #e9ae69; }
.hap-hero { padding: 55px 0 33px; border-bottom: 1px solid var(--hap-line); }
.hap-demo h1, .hap-demo h2 { font-family: Georgia, serif; font-weight: 400; }
.hap-hero h1, .hap-single h1 { font-size: clamp(2.75rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.055em; margin: 9px 0 13px; }
.hap-hero > p:last-child, .hap-intro { max-width: 64ch; margin: 0; color: #40564a; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hap-directory { padding-block: 23px 50px; }
.hap-fixture { width: fit-content; margin: 0 0 18px; border: 1px solid #dbc499; padding: .32rem .68rem; background: #fbf0dc; color: #6a4923; border-radius: 3px; font-size: .82rem; }
.hap-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 0 0 18px; }
.hap-filters label { display: grid; gap: 5px; font-size: .84rem; font-weight: 650; }
.hap-filters select, .hap-filters button { font: inherit; border-radius: 4px; min-height: 42px; padding: 6px 13px; }
.hap-filters select { min-width: 212px; background: #fffefa; color: #182f27; border: 1px solid #b8c5b8; }
.hap-filters button { color: white; background: #214b3c; border: 1px solid #214b3c; cursor: pointer; font-weight: 650; }
.hap-filters button:hover { background: #163529; }
.hap-count { font-size: .84rem; color: #435b4c; margin: 0 0 13px; }
.hap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.hap-demo .hap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hap-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #d9dfd5; border-radius: 8px; background: #fffef8; color: #182f27; }
.hap-card-photo { display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9; background: #e3ebdd; color: #345744; font-size: 2.6rem; }
.hap-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.hap-card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 18px 21px 21px; }
.hap-kicker { color: #3d624e; text-transform: uppercase; font-size: .75rem; font-weight: 750; letter-spacing: .105em; margin: 0; }
.hap-card h2 { font-size: clamp(1.4rem, 2vw, 1.84rem); line-height: 1.16; margin: 7px 0 9px; }
.hap-card h2 a { color: inherit; text-decoration: none; }
.hap-card h2 a:hover, .hap-more:hover { text-decoration: underline; }
.hap-card-body > p:not(.hap-kicker) { margin: 0 0 10px; font-size: .94rem; }
.hap-card-body .hap-date { color: #6a4923; font-weight: 700; margin: 8px 0 0; }
.hap-more { display: inline-block; color: #214b3c; margin-top: auto; padding-top: 10px; font-size: .88rem; font-weight: 700; text-decoration: none; }
.hap-empty { padding: 1rem; border: 1px solid #d9dfd5; background: #fffef8; }
.hap-pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.4rem 0 0; }
.hap-map { width: 100%; height: clamp(300px, 57vh, 630px); border: 1px solid #b8c5b8; border-radius: 8px; z-index: 0; background: #e3ebdd; }
.hap-map .leaflet-popup-content p { margin: .4rem 0 0; }
.hap-single { padding-block: 32px 50px; }
.hap-single > .hap-more { margin-bottom: 19px; }
.hap-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin: 24px 0; }
.hap-gallery figure { margin: 0; }
.hap-gallery img { width: 100%; height: clamp(250px, 36vw, 520px); object-fit: cover; border-radius: 8px; display: block; }
.hap-gallery figcaption { font-size: .78rem; margin-top: 6px; color: #40564a; }
.hap-detail { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; margin: 23px 0; }
.hap-detail h2 { font-size: 1.9rem; margin: 0 0 .5rem; }
.hap-detail aside { padding: 20px; border: 1px solid #d9dfd5; border-radius: 8px; background: #fffef8; overflow-wrap: anywhere; }
.hap-detail address { font-style: normal; }
.hap-detail .hap-map { height: 230px; margin-top: .75rem; }
.hap-source { font-size: .82rem; color: #40564a; }
.hap-footer { border-top: 1px solid var(--hap-line); padding: 24px 0; font-size: .85rem; color: #40564a; }
.hap-footer span { padding: 0 .3rem; }
@media (max-width: 970px) { .hap-demo .hap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
    .hap-shell { width: calc(100% - 32px); }
    .hap-header-inner { min-height: 62px; }
    .hap-header nav a { font-size: .79rem; }
    .hap-brand { font-size: .77rem; }
    .hap-hero { padding-top: 35px; }
    .hap-demo .hap-grid, .hap-detail { grid-template-columns: 1fr; }
}
