/* AS Luxury — Gold Collection Mobile Resilience + Navigation v1.3.0
   Scope: the exact Advanced Search page ID 9, ONLY <= 767px.
   Original WpRentals desktop, listing records and booking engine are untouched. */
#aslp-coll-mobile-rescue { display: none; }
@media screen and (max-width: 767px) {
  html { scroll-behavior: smooth; overflow-y: auto !important; height: auto !important; }
  body.aslp-coll-rescue {
    margin: 0 !important; padding: 0 !important; background: #f6f4ed !important;
    overflow-x: hidden !important; overflow-y: auto !important; height: auto !important;
    min-height: 100% !important; position: static !important; color: #1b2924 !important;
  }
  /* Isolate WpRentals' legacy mobile nav, fullscreen map and popup overlays.
     The rescue UI is a direct body child and remains visible independently. */
  body.aslp-coll-rescue > :not(#aslp-coll-mobile-rescue):not(script):not(style):not(link) {
    display: none !important;
  }
  body.aslp-coll-rescue #all_wrapper,
  body.aslp-coll-rescue #wpadminbar,
  body.aslp-coll-rescue > .aslp-coll-shell,
  body.aslp-coll-rescue > .aslp-coll-bottom { display: none !important; }
  body.aslp-coll-rescue #aslp-coll-mobile-rescue,
  body.aslp-coll-rescue .aslp-rescue { display: block !important; }
  body.aslp-coll-rescue .aslp-rescue,
  body.aslp-coll-rescue .aslp-rescue * {
    box-sizing: border-box !important;
  }
  body.aslp-coll-rescue .aslp-rescue {
    position: relative !important; top: 0 !important; left: 0 !important;
    width: 100% !important; min-height: 100svh !important;
    z-index: 2147483000 !important; padding: 0 !important; overflow: clip !important;
    background: #f6f4ed !important; font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important; line-height: 1.6 !important;
  }
  body.aslp-coll-rescue .aslp-rescue a { text-decoration: none !important; }
  body.aslp-coll-rescue .aslp-rescue img { display: block !important; max-width: 100% !important; height: auto !important; }
  body.aslp-coll-rescue .aslp-rescue h1,
  body.aslp-coll-rescue .aslp-rescue h2,
  body.aslp-coll-rescue .aslp-rescue h3 { font-family: Georgia, 'Times New Roman', serif !important; font-weight: 400 !important; text-transform: none !important; }
  body.aslp-coll-rescue .aslp-rescue p { margin: 0 !important; }
  .aslp-rescue-preview { position: relative; padding: 7px 12px; background: #cfae76; color: #11221b; font: 700 10px Arial; letter-spacing: .14em; text-align: center; }
  .aslp-rescue-topline { display: flex; justify-content: center; align-items: center; background: #0b1815; color: #d3b97e; height: 29px; font: 600 8px Arial; letter-spacing: .20em; }
  .aslp-rescue-topline span { margin: 0 8px; color: #6f7465; }
  .aslp-rescue-header { height: 85px; background: #142420; display: flex; justify-content: space-between; align-items: center; padding: 6px 6% !important; border-bottom: 1px solid rgba(228,201,148,.24); gap: 6px; }
  .aslp-rescue-brand { display: block; flex: 0 0 auto; width: 145px; }
  .aslp-rescue-brand img { width: 140px !important; height: 62px !important; object-fit: contain; }
  .aslp-rescue-header nav { display: flex; align-items: center; justify-content: flex-end; gap: 17px; }
  .aslp-rescue-header nav a { white-space: nowrap; font: 600 9px Arial; letter-spacing: .08em; color: #e4d6bd !important; }
  .aslp-rescue-header nav a:last-child { color: #d7bb80 !important; }
  .aslp-rescue-hero { position: relative; isolation: isolate; overflow: hidden; padding: 76px 7% 38px !important; min-height: 650px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 80% 36%,rgba(106,134,119,.27),transparent 40%), linear-gradient(135deg,#1d3b33 0%,#091b1a 88%) !important; color: #faf8f2 !important; }
  .aslp-rescue-orbit { position: absolute; z-index: -1; width: 500px; height: 500px; right: -305px; top: 105px; border: 1px solid rgba(226,195,134,.2); border-radius: 50%; box-shadow: 0 0 0 60px rgba(233,203,147,.025), 0 0 0 120px rgba(233,203,147,.022); }
  .aslp-rescue-hero-body { position: relative; }
  .aslp-rescue-kicker { display: block; font: 700 9px/1.6 Arial; letter-spacing: .25em; color: #c2a671 !important; text-transform: uppercase; }
  body.aslp-coll-rescue .aslp-rescue-hero h1 { margin: 28px 0 24px !important; color: #fff !important; font: 400 clamp(42px,11vw,63px)/1.1 Georgia,serif !important; letter-spacing: -.04em !important; }
  .aslp-rescue-hero h1 em { color: #e4c98e !important; font-style: italic; }
  .aslp-rescue-hero-body > p:not(.aslp-rescue-kicker) { color: #e6e8df !important; max-width: 330px; font: 400 14px/1.85 Arial !important; }
  .aslp-rescue-primary { display: flex; align-items: center; justify-content: space-between; gap: 15px; max-width: 350px; background: #ddc18b !important; padding: 18px 18px !important; color: #12251e !important; margin-top: 30px; font: 700 10px Arial; letter-spacing: .13em; }
  .aslp-rescue-hero-bottom { margin-top: 70px; display: flex; align-items: center; justify-content: space-between; color: #c9d3ca !important; font: 500 8px Arial; letter-spacing: .12em; }
  .aslp-rescue-hero-bottom span { color: #c1bba4; }
  .aslp-rescue-intro { padding: 60px 7% 70px; background: #f6f4ed; }
  body.aslp-coll-rescue .aslp-rescue-intro h2 { margin: 18px 0 22px !important; color: #142b25 !important; font: 400 36px/1.16 Georgia,serif !important; letter-spacing: -.035em; }
  .aslp-rescue-intro h2 em { color: #9b8663; }
  .aslp-rescue-intro>p:last-child { font: 14px/1.8 Arial; color: #56685e !important; }
  .aslp-rescue-collection { padding: 54px 7% 75px; background: #fff; }
  .aslp-rescue-collection-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-bottom: 28px; }
  body.aslp-coll-rescue .aslp-rescue-collection h2 { margin: 12px 0 0 !important; color: #1c332c !important; font: 400 36px/1.12 Georgia,serif !important; letter-spacing: -.035em; }
  .aslp-rescue-collection h2 em { color: #9b8663; }
  .aslp-rescue-count { white-space: nowrap; color: #7c7d73 !important; font: 600 8px Arial; letter-spacing: .12em; }
  .aslp-rescue-search-label { font: 600 9px Arial; letter-spacing: .17em; color: #61665e; }
  .aslp-rescue-search { display: block !important; width: 100% !important; height: 52px !important; padding: 13px 16px !important; margin: 13px 0 27px !important; background: #fafaf8 !important; border: 1px solid #dbded8 !important; border-radius: 0 !important; box-shadow: none !important; font: 400 14px Arial !important; color: #182b24 !important; opacity: 1 !important; }
  .aslp-rescue-search:focus-visible { outline: 2px solid #b79a6b !important; outline-offset: 2px; }
  .aslp-rescue-card { margin-bottom: 24px; background: #f8f7f2; border: 1px solid #e7e4db; }
  .aslp-rescue-card[hidden] { display: none !important; }
  .aslp-rescue-card-image { display: block; overflow: hidden; aspect-ratio: 1.32; background: #d3d7d1; }
  body.aslp-coll-rescue .aslp-rescue .aslp-rescue-card-image img { display: block !important; object-fit: cover !important; width: 100% !important; height: 100% !important; }
  .aslp-rescue-card-copy { padding: 26px 24px 29px !important; }
  .aslp-rescue-card-kicker { color: #8c7a56 !important; font: 600 9px/1.5 Arial; letter-spacing: .10em; text-transform: uppercase; }
  body.aslp-coll-rescue .aslp-rescue-card h3 { color: #192e26 !important; margin: 13px 0 !important; font: 400 28px/1.16 Georgia,serif !important; letter-spacing: -.026em; }
  .aslp-rescue-card h3 a { color: #192e26 !important; }
  .aslp-rescue-card-copy > p:not(.aslp-rescue-card-kicker) { color: #647169 !important; font: 400 13px/1.7 Arial; }
  .aslp-rescue-card-cta { display: flex; justify-content: space-between; background: #1f3931 !important; color: #ead5a8 !important; padding: 16px 17px !important; margin-top: 25px; font: 700 10px Arial; letter-spacing: .09em; }
  .aslp-rescue-empty,.aslp-rescue-disclaimer { color: #53635a !important; font: 400 12px/1.7 Arial; margin-top: 22px !important; }
  .aslp-rescue-empty[hidden] { display: none !important; }
  .aslp-rescue-outro { padding: 72px 7% 74px; background: #17332b; }
  body.aslp-coll-rescue .aslp-rescue-outro h2 { margin: 17px 0 20px !important; color: #fff !important; font: 400 36px/1.2 Georgia,serif !important; letter-spacing: -.025em; }
  .aslp-rescue-outro h2 em { color: #e1c487; }
  .aslp-rescue-outro > p:not(.aslp-rescue-kicker) { color: #dde4d9 !important; font: 400 14px/1.9 Arial; }
  .aslp-rescue-outro > a { display: flex; justify-content: space-between; color: #10291f !important; background: #dfc38b !important; margin-top: 28px; padding: 19px 20px !important; font: 700 10px Arial; letter-spacing: .11em; }
  .aslp-rescue-footer { background: #0b1915; color: #d5c9a7 !important; padding: 30px 7%; display: flex; flex-direction: column; gap: 10px; font: 600 9px Arial; letter-spacing: .12em; }
  .aslp-rescue-footer a { color: #ddc38c !important; }
}
@media screen and (max-width: 390px){
  body.aslp-coll-rescue .aslp-rescue-hero h1 { font-size: 40px !important; }
  .aslp-rescue-hero-bottom span { display: none; }
  .aslp-rescue-header { padding: 8px 5% !important; }
  .aslp-rescue-header nav { gap: 10px; }
}


/* Gold Signature v1.3 — Accessible native <details> mobile service navigation.
   Only the private-stays mobile rescue uses these classes. Original theme, desktop,
   WordPress WpRentals search, calendar and booking data remain unchanged. */
@media screen and (max-width: 767px) {
  body.aslp-coll-rescue .aslp-rescue-header { position: relative !important; z-index: 200 !important; isolation: isolate; overflow: visible !important; }
  body.aslp-coll-rescue .aslp-rescue-header-actions { display:flex !important; align-items:center; gap: 13px !important; margin-left:auto; flex-shrink: 0; }
  body.aslp-coll-rescue .aslp-rescue-header-contact { white-space:nowrap; color:#e7ca96 !important; font: 700 9px/1 Arial, sans-serif !important; letter-spacing:.075em; }
  body.aslp-coll-rescue .aslp-rescue-header-contact span { font-size: 12px !important; }
  body.aslp-coll-rescue .aslp-rescue-menu { display: block !important; position: static !important; color:#ecddb8 !important; }
  body.aslp-coll-rescue .aslp-rescue-menu > summary { display: flex !important; align-items:center; gap:9px; list-style: none !important; cursor: pointer; color: #e5ce94 !important; font: 700 10px/1.1 Arial, sans-serif !important; letter-spacing:.12em; padding: 13px 0 13px 7px !important; user-select: none; }
  body.aslp-coll-rescue .aslp-rescue-menu > summary::-webkit-details-marker { display: none !important; }
  body.aslp-coll-rescue .aslp-rescue-menu > summary::marker { content: '' !important; }
  body.aslp-coll-rescue .aslp-rescue-menu > summary:focus-visible { outline: 2px solid #e5ce94 !important; outline-offset: 4px; }
  body.aslp-coll-rescue .aslp-rescue-menu-icon { display: inline-flex !important; width: 22px; height: 19px; flex-direction:column; justify-content:center; gap:5px; }
  body.aslp-coll-rescue .aslp-rescue-menu-icon i { display:block !important; height:1.5px; width:22px; background:#e5ce94; transition:transform .15s ease; }
  body.aslp-coll-rescue .aslp-rescue-menu[open] .aslp-rescue-menu-icon i:first-child { transform:translateY(3.25px) rotate(45deg); }
  body.aslp-coll-rescue .aslp-rescue-menu[open] .aslp-rescue-menu-icon i:last-child { transform:translateY(-3.25px) rotate(-45deg); }
  body.aslp-coll-rescue .aslp-rescue-menu-panel {
    display:block !important;
    position:absolute !important;
    left:0 !important; right:0 !important; top:100% !important;
    width:100% !important;
    max-height: min(75svh, 680px) !important;
    max-height: min(75dvh, 680px) !important;
    overflow-x:hidden !important; overflow-y:auto !important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling: touch;
    padding: 21px 7% 30px !important;
    z-index: 300 !important;
    background: #10231f !important;
    box-shadow: 0 24px 32px rgba(0,0,0,.33) !important;
    border-top: 1px solid rgba(232,202,147,.26) !important;
    color:#f4e8d4 !important;
  }
  body.aslp-coll-rescue .aslp-rescue-menu-group { display:block; padding:0 0 17px; margin:0 0 17px; border-bottom:1px solid rgba(236,221,188,.15); }
  body.aslp-coll-rescue .aslp-rescue-menu-group:last-of-type { border-bottom:0; margin-bottom:4px; padding-bottom:0; }
  body.aslp-coll-rescue .aslp-rescue-menu-caption { color:#bca06b !important; font:700 9px/1.6 Arial, sans-serif !important; letter-spacing:.19em !important; margin:0 0 12px !important; }
  body.aslp-coll-rescue .aslp-rescue-menu-panel a { display:flex !important; justify-content:space-between; align-items:center; gap:10px; padding:11px 0 !important; border-bottom:1px solid rgba(231,219,190,.09); color:#f3efe4 !important; background:transparent !important; font:400 19px/1.3 Georgia,serif !important; text-transform:none !important; letter-spacing:0 !important; }
  body.aslp-coll-rescue .aslp-rescue-menu-panel a[aria-current="page"] { color:#e4c788 !important; }
  body.aslp-coll-rescue .aslp-rescue-menu-panel a > span:last-child { color:#c6aa77 !important; flex-shrink:0; font:400 15px Arial,sans-serif !important; }
  body.aslp-coll-rescue .aslp-rescue-menu-group--small a { font:400 15px/1.35 Arial,sans-serif !important; }
  body.aslp-coll-rescue .aslp-rescue-menu-footnote { color:#adad9b !important; font:500 9px/1.5 Arial,sans-serif !important; letter-spacing:.16em; }
  body.aslp-coll-rescue .aslp-rescue-other-services { display:block !important; padding:62px 7% 72px; background:#edeae1 !important; }
  body.aslp-coll-rescue .aslp-rescue-other-services h2 { margin:19px 0 31px !important; font:400 37px/1.13 Georgia,serif !important; letter-spacing:-.035em !important; color:#193028 !important; }
  body.aslp-coll-rescue .aslp-rescue-other-services h2 em { color:#9c835d !important; }
  body.aslp-coll-rescue .aslp-rescue-other-list { display:grid !important; gap:0 !important; }
  body.aslp-coll-rescue .aslp-rescue-other-list a { display:flex !important; align-items:center; justify-content:space-between; gap:10px; padding:21px 0 !important; border-bottom:1px solid #c8c8ba !important; text-decoration:none !important; color:#1e3028 !important; }
  body.aslp-coll-rescue .aslp-rescue-other-list a:first-child { border-top:1px solid #c8c8ba !important; }
  body.aslp-coll-rescue .aslp-rescue-other-list a span:first-child { display:flex !important; flex-direction:column; gap:6px; font:400 22px/1.2 Georgia,serif !important; }
  body.aslp-coll-rescue .aslp-rescue-other-list a small { color:#977b4e !important; font:700 9px/1.6 Arial,sans-serif !important; letter-spacing:.14em; }
  body.aslp-coll-rescue .aslp-rescue-other-list a span:last-child { color:#987b4e !important; font:400 18px Arial,sans-serif !important; }
}
@media screen and (max-width: 360px) {
  body.aslp-coll-rescue .aslp-rescue-header-contact { display: none !important; }
}
