/* Location pages 2026 (scripts/show-location.php + show-location-results.php).
   Hero, filter bar, 3-column card grid, pagination, two-column guide. Colours match home2026.css. */

:root {
    --lp-forest: #2a3e35;
    --lp-forest-deep: #1a2921;
    --lp-sage: #5e7a70;
    --lp-mist: #e8ecea;
    --lp-paper: #f5f6f4;
    --lp-line: #dfe5e2;
    --lp-ink: #24302b;
    --lp-ink-soft: #55625c;
    --lp-orange: #e67e22;
    --lp-orange-dark: #cf6d14;
    --lp-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --lp-sans: 'Roboto', Arial, sans-serif;
}
/* no global blue hover underline (main.css a:hover) */
.lp26 a:hover { text-decoration: none; color: inherit; }


.lp26 { background: #fff; color: var(--lp-ink); font-family: var(--lp-sans); }
.lp26 *, .lp26 *::before, .lp26 *::after { box-sizing: border-box; }
.lp26-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Hero */
.lp26-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    background: var(--lp-forest) center / cover no-repeat;
    color: #fff;
}
.lp26-heroPlain { min-height: 300px; background: linear-gradient(135deg, var(--lp-forest-deep), var(--lp-sage)); }
.lp26-heroShade {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(16,26,21,.15) 0%, rgba(16,26,21,.25) 45%, rgba(16,26,21,.78) 100%);
}
.lp26-heroInner { position: relative; width: 100%; padding-top: 120px; padding-bottom: 44px; }
.lp26-h1 {
    font-family: var(--lp-serif);
    font-weight: 500;
    font-size: 46px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.lp26-heroText { max-width: 760px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.94); }
.lp26-heroText p { margin: 0 0 8px; }
.lp26-heroText a { color: #fff; text-decoration: underline; }
.lp26-heroBadge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; margin-bottom: 16px;
    background: var(--lp-orange); color: #fff;
    border-radius: 999px; font-size: 14px; font-weight: 500;
}

/* Breadcrumb + filter bar */
.lp26-bar { border-bottom: 1px solid var(--lp-line); background: #fff; }
.lp26-bar .lp26-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.lp26-crumbs { font-size: 14px; color: var(--lp-ink-soft); }
.lp26-crumbs a { color: var(--lp-ink-soft); text-decoration: none; }
.lp26-crumbs a:hover { color: var(--lp-forest); text-decoration: underline; }
.lp26-crumbs span { margin: 0 6px; opacity: .6; }
.lp26-crumbs .lp26-crumbNow { margin: 0; opacity: 1; color: var(--lp-ink); }
.lp26-filterBtn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border: 1px solid var(--lp-line); border-radius: 8px;
    background: #fff; color: var(--lp-ink); font: 500 14px var(--lp-sans); cursor: pointer;
}
.lp26-filterBtn:hover { border-color: var(--lp-sage); }

.lp26-filters { padding: 20px 0 0; }
.lp26-filtersInner { border: 1px solid var(--lp-line); border-radius: 12px; padding: 22px 24px 8px; background: #fff; box-shadow: 0 6px 20px rgba(36,48,43,.06); }
.lp26-filters .refinePanelFull {
    display: grid !important; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); column-gap: 32px;
    width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important;
    background: none !important; border: 0 !important; box-shadow: none !important;
}
.lp26-filters .refineHeader {
    grid-row: 1; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 0 12px !important; height: auto !important; width: auto !important;
    text-align: left !important; font: 500 12px var(--lp-sans) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-sage) !important;
}
.lp26-filters .refinePanel {
    grid-row: 2; display: flex !important; flex-wrap: wrap; gap: 8px; align-content: flex-start;
    background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    padding: 0 0 16px !important; margin: 0 !important; width: auto !important; height: auto !important;
}
.lp26-filters label.container {
    position: relative; display: inline-flex !important; align-items: center; gap: 6px;
    width: auto !important; height: auto !important; margin: 0 !important; padding: 8px 14px !important;
    border: 1px solid var(--lp-line); border-radius: 999px; background: #fff;
    font: 400 14px/1.2 var(--lp-sans) !important; color: var(--lp-ink) !important;
    cursor: pointer; user-select: none; transition: border-color .15s, background .15s, color .15s;
}
.lp26-filters .refineHeaderMobile { display: none !important; }
.lp26-filters label.container:hover { border-color: var(--lp-sage); }
.lp26-filters label.container input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.lp26-filters label.container .checkmark { display: none !important; }
.lp26-filters label.container span[class$="Count"] { color: var(--lp-ink-soft); font-size: 13px; }
.lp26-filters label.container:has(input:checked) { background: var(--lp-forest); border-color: var(--lp-forest); color: #fff !important; }
.lp26-filters label.container:has(input:checked) span[class$="Count"] { color: rgba(255,255,255,.75); }
.lp26-filters label.container:has(input:focus-visible) { outline: 2px solid var(--lp-orange); outline-offset: 2px; }
@media (max-width: 700px) {
    .lp26-filtersInner { padding: 18px 16px 4px; }
    .lp26-filters .refinePanelFull { display: block !important; }
    .lp26-filters .refineHeader { margin-top: 4px !important; }
}

/* Summary row */
#theResults .mobileWhiteBG { background: transparent !important; padding: 0 !important; margin: 0 !important; }
#theResults .sortByBox {
    display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px 16px;
    height: auto !important; padding: 26px 0 22px !important; margin: 0 !important;
    background: none !important; border: 0 !important;
}
#theResults .sortByLeft { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; flex: 1 1 auto; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
#theResults .sortByRight { flex: 0 0 auto; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.lp26-count { font-family: var(--lp-serif); font-size: 24px; color: var(--lp-ink); }
#theResults .foundNum { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font: inherit; }
.locBadge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px; border-radius: 999px; border: 1px solid var(--lp-line);
    background: #fff; color: var(--lp-ink-soft); font: 400 13px/1.3 var(--lp-sans);
}
.locBadge strong { font-weight: 700; color: var(--lp-ink); }
.locBadgeMain { background: var(--lp-mist); border-color: var(--lp-mist); }
#theResults select.availBoxSelect {
    min-width: 220px; margin: 0; padding: 9px 12px;
    border: 1px solid var(--lp-line); border-radius: 8px; background: #fff;
    font: 400 14px var(--lp-sans); color: var(--lp-ink); cursor: pointer;
}

/* Card grid */
.lp26-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.lp26-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--lp-line); border-radius: 12px;
    overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.lp26-card:hover { box-shadow: 0 10px 28px rgba(36,48,43,.12); transform: translateY(-2px); }

.lp26-media { position: relative; aspect-ratio: 4 / 3; background: var(--lp-mist); overflow: hidden; }
.lp26-media .owl-carousel, .lp26-media .owl-stage-outer, .lp26-media .owl-stage, .lp26-media .owl-item { height: 100%; }
.lp26-media .owl-carousel { display: block !important; }
.lp26-media .owl-item > div { height: 100%; }
.lp26-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp26-media .owl-nav { margin: 0 !important; }
.lp26-media .owl-nav button.owl-prev,
.lp26-media .owl-nav button.owl-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 32px; height: 32px; margin: 0 !important; border-radius: 50% !important;
    background: rgba(255,255,255,.9) !important; color: var(--lp-ink) !important;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
}
.lp26-media .owl-nav button.owl-prev { left: 10px; }
.lp26-media .owl-nav button.owl-next { right: 10px; }
.lp26-card:hover .owl-nav button { opacity: 1; }
.lp26-media .owl-nav .leftOwlInner, .lp26-media .owl-nav .rightOwlInner { background: none !important; width: auto !important; height: auto !important; position: static !important; padding: 0 !important; color: inherit !important; font-size: 18px; line-height: 1; }
.lp26-media .owl-dots {
    position: absolute !important; left: 50% !important; bottom: 10px !important; transform: translateX(-50%);
    display: flex; align-items: center; max-width: calc(100% - 24px); overflow: hidden;
    margin: 0 !important; padding: 5px 8px; border-radius: 999px;
    background: rgba(0,0,0,.45); z-index: 2; line-height: 0;
}
.lp26-media .owl-dots .owl-dot { flex: 0 0 auto; }
.lp26-media .owl-dots .owl-dot span { display: block; width: 7px !important; height: 7px !important; margin: 0 3px !important; border-radius: 50%; background: rgba(255,255,255,.55) !important; }
.lp26-media .owl-dots .owl-dot.active span { background: #fff !important; transform: scale(1.25); }
@media (hover: none) { .lp26-media .owl-nav button.owl-prev, .lp26-media .owl-nav button.owl-next { opacity: 1; } }

.lp26-rating {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    padding: 4px 9px; border-radius: 6px;
    background: #fff; color: var(--lp-ink); font: 700 13px var(--lp-sans);
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.lp26-rating i { color: var(--lp-orange); font-size: 11px; margin-right: 2px; }
.lp26-heart {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--lp-ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.lp26-heart:hover { color: #d64545; }
.lp26-heart.is-saved { color: #d64545; }

.lp26-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.lp26-place { font-size: 13px; color: var(--lp-ink-soft); margin-bottom: 4px; }
.lp26-place i { color: var(--lp-orange); margin-right: 3px; }
.lp26-place a { color: var(--lp-ink-soft); text-decoration: none; }
.lp26-place a:hover { text-decoration: underline; }
.lp26-name { font-family: var(--lp-serif); font-weight: 500; font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.lp26-name a { color: var(--lp-ink); text-decoration: none; }
.lp26-name a:hover { color: var(--lp-forest); text-decoration: underline; }
.lp26-distance { font-size: 13px; color: var(--lp-sage); margin-bottom: 6px; }
.lp26-icons { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 2px; font-size: 14px; color: var(--lp-ink); }
.lp26-icons i { color: var(--lp-sage); margin-right: 3px; }

/* Our green-tick bullets, kept as they are */
.lp26-body .property-features-list { margin: 14px 0 6px !important; padding: 0 !important; font-size: 14px; }
.lp26-body .property-features-list li { margin-bottom: 8px; }

.lp26-price { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--lp-ink-soft); }
.lp26-price strong { color: var(--lp-ink); font-size: 17px; }
.lp26-body a.lp26-more {
    display: block; margin-top: 14px; padding: 11px 14px;
    border: 1.5px solid var(--lp-forest); border-radius: 8px;
    text-align: center; color: var(--lp-forest); font-weight: 500; text-decoration: none;
    transition: background .15s, color .15s;
}
.lp26-body a.lp26-more:hover { background: var(--lp-forest); color: #fff; }

/* Pagination */
#theResults .pageNormal, #theResults .pageMobile { margin: 40px 0 10px; }
#theResults .paginationContainer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
#theResults .paginationItem {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 14px;
    border: 1px solid var(--lp-line); border-radius: 8px;
    background: #fff; color: var(--lp-ink); font-size: 14px; text-decoration: none;
}
#theResults a.paginationItem:hover { border-color: var(--lp-sage); }
#theResults .paginationItemLarge { background: var(--lp-forest); border-color: var(--lp-forest); color: #fff; font-weight: 500; }
/* hide the old "|" separators */
#theResults .paginationContainer a.paginationItem:not([href]), #theResults .paginationContainer div.paginationItem { display: none; }
/* numbered links (1 2 3) like the reference, not the '1 - 30' ranges */
#theResults .pageNormal { display: none; }
#theResults .pageMobile { display: block !important; }

/* Guide: plain, centred blog column */
.lp26-guide { margin-top: 70px; padding: 64px 0 70px; background: #fff; border-top: 1px solid var(--lp-line); }
.lp26-guideText { max-width: 740px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--lp-ink); }
.lp26-guideText > *:first-child { margin-top: 0; }
.lp26-guideText h2 { font-family: var(--lp-serif); font-weight: 500; font-size: 34px; line-height: 1.25; color: var(--lp-ink); margin: 0 0 22px; }
.lp26-guideText h3 { font-family: var(--lp-serif); font-weight: 500; font-size: 25px; line-height: 1.3; color: var(--lp-ink); margin: 44px 0 14px; }
.lp26-guideText h4 { font-size: 19px; font-weight: 600; margin: 30px 0 10px; }
.lp26-guideText p { margin: 0 0 22px; text-align: left; }
.lp26-guideText a { color: var(--lp-forest); text-decoration: underline; text-underline-offset: 2px; }
.lp26-guideText a:hover { color: var(--lp-orange-dark); }
.lp26-guideText strong { font-weight: 600; }
.lp26-guideText ul, .lp26-guideText ol { margin: 0 0 22px; padding-left: 24px; }
.lp26-guideText li { margin-bottom: 8px; }
.lp26-guideText img { display: block; width: 100%; height: auto; border-radius: 10px; margin: 28px 0; }
.lp26-guideText figure { margin: 28px 0; }
.lp26-guideText figure img { margin: 0; }
.lp26-guideText figcaption { font-size: 14px; color: var(--lp-ink-soft); margin-top: 8px; }
.lp26-guideText blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lp-sage); color: var(--lp-ink-soft); font-style: italic; }
.lp26-guideText table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.lp26-guideText th, .lp26-guideText td { padding: 10px 12px; border-bottom: 1px solid var(--lp-line); text-align: left; }
.lp26-guideText th { font-weight: 600; background: var(--lp-paper); }

/* More places */
.lp26-places { padding: 60px 0 70px; }
.lp26-guide + .lp26-places { padding-top: 60px; }
.lp26 > .lp26-wrap + .lp26-places { margin-top: 70px; border-top: 1px solid var(--lp-line); }
.lp26-moreTitle { font-family: var(--lp-serif); font-weight: 500; font-size: 28px; margin: 0 0 6px; }
.lp26-moreSub { margin: 0 0 24px; color: var(--lp-ink-soft); }
.lp26-moreGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.lp26-moreLink {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border: 1px solid var(--lp-line); border-radius: 8px;
    color: var(--lp-ink); text-decoration: none; font-size: 15px; background: #fff;
}
.lp26-moreLink:hover { border-color: var(--lp-sage); color: var(--lp-forest); }
.lp26-moreLink i { color: var(--lp-sage); }

/* Pages without the guide still get space before the footer */
.lp26 > .lp26-wrap:last-child { padding-bottom: 70px; }

/* Responsive */
@media (max-width: 1000px) {
    .lp26-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
    .lp26-wrap { padding: 0 16px; }
    .lp26-hero { min-height: 380px; }
    .lp26-heroInner { padding-top: 90px; padding-bottom: 28px; }
    .lp26-h1 { font-size: 32px; }
    .lp26-heroText { font-size: 15px; }
    .lp26-grid { grid-template-columns: 1fr; }
    #theResults .sortByRight, #theResults select.availBoxSelect { width: 100% !important; min-width: 0; }
    .lp26-guide { margin-top: 50px; padding: 44px 0; }
    .lp26-guideText { font-size: 17px; }
    .lp26-guideText h2 { font-size: 28px; }
    .lp26-guideText h3 { font-size: 22px; }
    #theResults .paginationItem { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }
}
