/* Featured Listings page (featured-listings.php). Loads after testimonials.css (hero mosaic, chips) and catamaran-brokerage.css (.lst cards). Scoped to .fl. */

.w54.fl .hero h1{font-size:clamp(52px,7.4vw,112px)}
@media (max-width:760px){.w54.fl .hero h1{font-size:12vw}}
.fl .figures a.fl-fig{text-decoration:none;color:inherit}
.fl .figures a.fl-fig:hover .fig-n{color:var(--accent)}

/* intro */
.fl .fl-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:clamp(28px,5vw,72px);align-items:start}
@media (max-width:860px){.fl .fl-intro{grid-template-columns:1fr}}
.fl .fl-intro h2{font-size:clamp(28px,3.2vw,44px)}
.fl .fl-intro-text{display:flex;flex-direction:column;gap:16px}
.fl .fl-intro-text p{font-size:17px;line-height:1.7;color:var(--ink);margin:0}
.fl .fl-intro-text a,.fl .fl-guide a,.fl .fl-none a{color:var(--accent-ink);font-weight:600;text-decoration:none;border-bottom:2px solid var(--accent)}

/* filter bar: sticks just below the site's fixed header (--fl-top is set by featured-listings.js) */
.fl .fl-bar{position:sticky;top:var(--fl-top,0px);z-index:999;background:var(--ink);color:#fff;transition:box-shadow .2s ease}
.fl .fl-bar.stuck{box-shadow:0 8px 24px rgba(0,0,0,.28)}
.fl .fl-bar .wrap{padding-block:14px 12px}
.fl .fl-filters{display:grid;grid-template-columns:minmax(180px,1.4fr) repeat(5,minmax(0,1fr)) minmax(170px,1.1fr);gap:10px;align-items:end}
.fl .fl-f{display:flex;flex-direction:column;gap:5px;min-width:0}
.fl .fl-f>span{font-family:var(--f-mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--plate-muted)}
.fl .fl-f select,.fl .fl-f input{appearance:none;-webkit-appearance:none;width:100%;font:600 14px/1.2 var(--f-body);color:var(--ink);background-color:#fff;border:2px solid #fff;border-radius:999px;padding:10px 32px 10px 15px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease;text-overflow:ellipsis}
.fl .fl-f select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a2d6d' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.fl .fl-f input{cursor:text;padding-right:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%235b5e78' d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:14px center;padding-left:38px}
.fl .fl-f select:hover,.fl .fl-f input:hover{border-color:var(--accent)}
.fl .fl-f select:focus-visible,.fl .fl-f input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.fl .fl-f select.on,.fl .fl-f input.on{background-color:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.fl .fl-f option:disabled{color:#a9add2}
.fl .fl-sort select{background-color:var(--plate);border-color:var(--plate-line);color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fee04a' stroke-width='2'/%3E%3C/svg%3E")}
.fl .fl-sort select option{color:var(--ink);background:#fff}
.fl .fl-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:10px;min-height:28px}
.fl .fl-chips{display:flex;flex-wrap:wrap;gap:6px}
.fl .fl-chip{display:inline-flex;align-items:center;gap:8px;font:600 13px/1 var(--f-body);color:var(--accent-ink);background:var(--accent);border:0;border-radius:999px;padding:7px 10px 7px 13px;cursor:pointer}
.fl .fl-chip i{font-style:normal;font-size:16px;line-height:1;opacity:.75}
.fl .fl-chip:hover i{opacity:1}
.fl .fl-count{margin:0 0 0 auto;font-family:var(--f-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--plate-muted)}
.fl .fl-count b{color:#fff}
.fl .fl-reset{font:600 13px/1 var(--f-body);color:var(--accent);background:none;border:0;border-bottom:2px solid var(--accent);padding:0 0 3px;cursor:pointer}
.fl .fl-toggle{display:none}
@media (max-width:1180px){.fl .fl-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.fl .fl-q{grid-column:span 2}.fl .fl-sort{grid-column:span 2}}
/* phones: a compact sticky bar with a "Filter & sort" button that opens the panel */
@media (max-width:760px){
  .fl .fl-bar .wrap{padding-block:10px}
  .fl .fl-toggle{display:inline-flex;align-items:center;gap:8px;font:700 14px/1 var(--f-body);color:var(--accent-ink);background:var(--accent);border:0;border-radius:999px;padding:11px 16px;cursor:pointer}
  .fl .fl-toggle-n{background:var(--ink);color:#fff;border-radius:999px;min-width:20px;padding:3px 6px;font-size:12px;text-align:center}
  .fl .fl-filters{display:none;grid-template-columns:1fr 1fr;margin-top:12px}
  .fl .fl-bar.open .fl-filters{display:grid}
  .fl .fl-q,.fl .fl-sort{grid-column:1 / -1}
  .fl .fl-status{margin-top:8px}
  .fl .fl-count{margin-left:0;width:100%}
  .fl .fl-bar .wrap{display:block}
  .fl .fl-toggle + .fl-filters + .fl-status{margin-top:8px}
}

/* sections */
.fl .fl-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 40px}
.fl .fl-head .stack{max-width:680px}
.fl .fl-head-n{margin:0;font-family:var(--f-mono);font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.fl .fl-head-n b{font-family:var(--f-display);font-stretch:118%;font-weight:800;font-size:44px;letter-spacing:-.02em;color:var(--ink);margin-right:6px;vertical-align:-4px}
.fl .fl-grid{margin-top:32px}
.fl .fl-card[hidden]{display:none}
.fl .fl-facts{font-size:13.5px;color:var(--muted);margin:2px 0 0}
.fl .fl-sum{font-size:14px;line-height:1.5;color:var(--ink);margin:6px 0 0}
.fl .fl-none{margin-top:28px;font-size:16px;color:var(--muted)}
/* sold: compact cards, rendered lazily by the browser */
.fl .fl-sold .lst{content-visibility:auto;contain-intrinsic-size:auto 300px}
.fl .fl-sold .lst-body{padding:14px 16px 16px;gap:4px}
.fl .fl-sold .lst h3{font-size:16px}
.fl .fl-sold .lst-name{font-size:12px}
.fl .fl-sold .ver-tag{font-size:10.5px}

/* buyer's guide */
.fl .fl-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:36px}
@media (max-width:960px){.fl .fl-guide{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.fl .fl-guide{grid-template-columns:1fr}}
.fl .fl-guide article{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:6px;padding:22px 22px 24px;display:flex;flex-direction:column;gap:10px}
.fl .fl-guide h3{font-size:20px;line-height:1.2;margin:0}
.fl .fl-guide p,.fl .fl-guide li{font-size:15px;line-height:1.6;color:var(--ink);margin:0}
.fl .fl-steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px;list-style:decimal}
.fl .fl-steps li{display:list-item}
.fl .fl-steps li::marker{font-weight:700;color:var(--accent-ink)}
.fl .fl-brands{margin-top:36px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:22px 24px}
.fl .fl-brands h3{font-size:18px;margin:0 0 10px}
.fl .fl-brands p{margin:0;font-size:15px;line-height:1.9;color:var(--ink)}
.fl .fl-brands span{font-family:var(--f-mono);font-size:11.5px;color:var(--muted)}
.fl .fl-brands i{font-style:normal;color:var(--line);margin:0 6px}

/* more ways to search */
.fl .fl-more{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:32px}
@media (max-width:960px){.fl .fl-more{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.fl .fl-more{grid-template-columns:1fr}}
.fl .fl-more a{display:flex;flex-direction:column;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:22px;text-decoration:none;color:inherit;transition:border-color .2s ease,box-shadow .2s ease}
.fl .fl-more a:hover{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.fl .fl-more b{font-family:var(--f-display);font-stretch:112%;font-weight:700;font-size:18px;color:var(--ink)}
.fl .fl-more b::after{content:" \2192";color:var(--accent-ink)}
.fl .fl-more span{font-size:14.5px;line-height:1.5;color:var(--muted)}

.w54.fl .band::before{background-image:url(/wp-content/uploads/2026/10/windelo-54-sunset-sailing.jpg);background-position:center 55%}

/* listing cards in the email campaign's "new listing" style */
.fl .flc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px}
.fl .flc-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media (max-width:1000px){.fl .flc-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.fl .flc-grid,.fl .flc-grid.three{grid-template-columns:1fr}}
.fl .flc{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.fl .flc:hover{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 12px 30px rgba(29,32,69,.08);transform:translateY(-2px)}
.fl .flc-img{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--bg)}
.fl .flc-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.fl .flc:hover .flc-img img{transform:scale(1.03)}
.fl .flc-body{display:flex;flex-direction:column;flex:1;padding:22px 24px 24px}
.fl .flc-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 20px;flex-wrap:wrap;padding-bottom:16px}
.fl .flc-id{min-width:0}
.fl .flc-tag{display:inline-block;font:700 11px/1 var(--f-body);letter-spacing:.1em;text-transform:uppercase;background:var(--line);color:var(--accent-ink);padding:6px 11px;border-radius:999px;margin-bottom:12px}
.fl .flc-tag.is-new{background:var(--accent)}
.fl .flc-tag.is-sold{background:var(--ink);color:#fff}
.fl .flc-name{margin:0;font-family:var(--f-display);font-stretch:118%;font-weight:800;font-size:clamp(22px,2.2vw,28px);line-height:1.02;letter-spacing:-.01em;text-transform:uppercase}
.fl .flc-name a{color:var(--ink);text-decoration:none}
.fl .flc-name a:hover{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:3px}
.fl .flc-boat{margin:6px 0 0;font-weight:600;font-size:15px;color:var(--ink)}
.fl .flc-price{margin:0;font-family:var(--f-display);font-stretch:112%;font-weight:800;font-size:clamp(22px,2.2vw,28px);line-height:1;color:var(--ink);white-space:nowrap}
.fl .flc-facts{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:0 20px;margin:0;border-top:1px solid var(--line)}
.fl .flc-facts div{padding:12px 0 0;min-width:0}
.fl .flc-facts dt{font-family:var(--f-mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.fl .flc-facts dd{margin:0;font-weight:600;font-size:14px;color:var(--ink)}
.fl .flc-hl{margin:16px 0 0;padding:2px 0 2px 12px;border-left:3px solid var(--accent);font-size:14px;line-height:1.5;color:var(--muted);font-weight:500}
.fl .flc-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:auto;padding-top:20px}
.fl .flc-btn{background:var(--plate);color:#fff;border-color:var(--plate);padding:13px 22px;font-size:14px}
.fl .flc-btn:hover{background:var(--ink)}
.fl .flc-video{font:700 14px/1 var(--f-body);color:var(--plate);text-decoration:none;border-bottom:2px solid var(--accent);padding-bottom:3px}
.fl .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* sold: same card, compact */
.fl .flc.sold .flc-body{padding:18px 20px 20px}
.fl .flc.sold .flc-name{font-size:20px}
.fl .flc.sold .flc-boat{font-size:14px}
.fl .flc.sold .flc-facts{grid-template-columns:auto minmax(0,1fr)}
.fl .flc.sold .flc-cta{padding-top:16px}
.fl .flc.sold .flc-btn{background:transparent;color:var(--plate);border-color:var(--plate);padding:10px 18px;font-size:13px}
.fl .flc.sold .flc-btn:hover{background:var(--plate);color:#fff}
.fl .fl-sold .flc{content-visibility:auto;contain-intrinsic-size:auto 440px}
/* phones: count beside the Filter & sort button, so the pinned bar stays slim */
@media (max-width:760px){
  .fl .fl-bar .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
  .fl .fl-filters{order:3;width:100%;margin-top:4px}
  .fl .fl-status{order:2;flex:1;margin:0;min-height:0;justify-content:flex-end}
  .fl .fl-count{width:auto;margin:0;text-align:right;font-size:11px}
  .fl .fl-chips{order:3;width:100%}
}

/* tags: For sale and Sold are yellow with blue text; Video is a navy tag */
.fl .flc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.fl .flc-tags .flc-tag{margin-bottom:0;background:var(--accent);color:var(--accent-ink)}
.fl .flc-tags .flc-tag.is-video{display:inline-flex;align-items:center;gap:6px;background:var(--plate);color:#fff}
/* Watch video: same pill as View details, outlined, play icon on the right */
.fl .flc-btn-video{background:transparent;color:var(--plate);border-color:var(--plate);gap:9px}
.fl .flc-btn-video:hover{background:var(--plate);color:#fff}
.fl .flc.sold .flc-btn-video{padding:10px 16px;font-size:13px}
.fl .flc.sold .flc-cta{gap:8px 10px}

/* price: same size as the year / make / model line */
.fl .flc-price{font-family:var(--f-body);font-stretch:normal;font-weight:700;font-size:15px;line-height:1.45;color:var(--ink)}
.fl .flc-top{align-items:flex-end}

/* a shorter hero so the filters and listings start sooner */
.w54.fl .hero{min-height:min(500px,62vh)}
.w54.fl .hero .wrap{padding-block:56px 48px}
@media (max-width:760px){.w54.fl .hero{min-height:0}.w54.fl .hero .wrap{padding-block:96px 40px}}

/* the "represented with full disclosure" text, as a dropdown in the guide section */
.fl .fl-about{background:var(--surface);border:1px solid var(--line);border-radius:6px;margin-bottom:44px}
.fl .fl-about summary{cursor:pointer;list-style:none;display:flex;flex-direction:column;gap:6px;padding:20px 64px 20px 24px;position:relative}
.fl .fl-about summary::-webkit-details-marker{display:none}
.fl .fl-about summary::after{content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font:700 20px/1 var(--f-body)}
.fl .fl-about[open] summary::after{content:"\2212"}
.fl .fl-about .eyebrow{margin:0}
.fl .fl-about-h{font-family:var(--f-display);font-stretch:112%;font-weight:750;font-size:clamp(19px,1.8vw,24px);line-height:1.2;color:var(--ink)}
.fl .fl-about-body{padding:0 24px 22px;display:flex;flex-direction:column;gap:14px;max-width:820px}
.fl .fl-about-body p{margin:0;font-size:16px;line-height:1.7;color:var(--ink)}
.fl .fl-about-body a{color:var(--accent-ink);font-weight:600;text-decoration:none;border-bottom:2px solid var(--accent)}
/* listings start right under the filter bar */
.fl #for-sale{padding-top:44px}
.fl #for-sale .fl-grid{margin-top:24px}
.fl #for-sale .lede{margin-top:4px}
.w54.fl .hero .wrap{padding-block:72px 52px}
.w54.fl .hero h1{font-size:clamp(48px,6.4vw,96px)}
@media (max-width:760px){.fl #for-sale{padding-top:28px}.w54.fl .hero .wrap{padding-block:88px 36px}.w54.fl .hero h1{font-size:13vw}}
@media (max-width:760px){
  .w54.fl .hero .wrap{padding-block:128px 32px}
  .w54.fl .hero .hero-cta .btn{padding:12px 18px;font-size:14px}
  .fl .figures .fig{padding-block:12px}
  .fl .figures .fig-n{font-size:24px}
  .fl .figures .fig-l{font-size:10px}
  .fl .fl-head-n{display:none}
}

/* the dropdown now sits between the figures strip and the filter bar */
.fl .fl-about-sec{background:var(--bg);padding:20px 0}
.fl .fl-about-sec .fl-about{margin:0}
@media (max-width:760px){.fl .fl-about-sec{padding:14px 0}.fl .fl-about summary{padding:16px 56px 16px 18px}.fl .fl-about-body{padding:0 18px 18px}}

/* the dropdown is part of the listings section, above "For sale now" */
.fl #for-sale .fl-about{margin:0 0 36px}
@media (max-width:760px){.fl #for-sale .fl-about{margin-bottom:24px}.fl .fl-about summary{padding:16px 56px 16px 18px}.fl .fl-about-body{padding:0 18px 18px}}

/* phones: the open panel scrolls inside itself, with a clear way to close it */
.fl .fl-panel-foot{display:none}
@media (max-width:760px){
  .fl .fl-bar.open .fl-filters{max-height:calc(100vh - var(--fl-top,0px) - 90px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:4px}
  .fl .fl-panel-foot{display:block;grid-column:1 / -1;position:sticky;bottom:0;background:var(--ink);padding:10px 0 4px}
  .fl .fl-done{width:100%;font:700 15px/1 var(--f-body);color:var(--accent-ink);background:var(--accent);border:0;border-radius:999px;padding:15px 18px;cursor:pointer}
  .fl .fl-bar.open .fl-toggle{background:#fff;color:var(--ink)}
  .fl .fl-bar.open .fl-toggle-n{display:none}
}
/* phones: when the panel is closed the bar is one slim line (button + count); chips and Clear all show inside the open panel */
@media (max-width:760px){
  .fl .fl-bar:not(.open) .fl-chips,.fl .fl-bar:not(.open) .fl-reset{display:none}
  .fl .fl-count{white-space:nowrap}
  .fl .fl-m-hide{display:none}
}

/* short screens (a phone turned sideways): use the compact phone filter bar, so it doesn't cover the page */
@media (min-width:761px) and (max-height:520px){
.fl .fl-bar .wrap{padding-block:10px}
  .fl .fl-toggle{display:inline-flex;align-items:center;gap:8px;font:700 14px/1 var(--f-body);color:var(--accent-ink);background:var(--accent);border:0;border-radius:999px;padding:11px 16px;cursor:pointer}
  .fl .fl-toggle-n{background:var(--ink);color:#fff;border-radius:999px;min-width:20px;padding:3px 6px;font-size:12px;text-align:center}
  .fl .fl-filters{display:none;grid-template-columns:1fr 1fr;margin-top:12px}
  .fl .fl-bar.open .fl-filters{display:grid}
  .fl .fl-q,.fl .fl-sort{grid-column:1 / -1}
  .fl .fl-status{margin-top:8px}
  .fl .fl-count{margin-left:0;width:100%}
  .fl .fl-bar .wrap{display:block}
  .fl .fl-toggle + .fl-filters + .fl-status{margin-top:8px}
.fl .fl-bar .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
  .fl .fl-filters{order:3;width:100%;margin-top:4px}
  .fl .fl-status{order:2;flex:1;margin:0;min-height:0;justify-content:flex-end}
  .fl .fl-count{width:auto;margin:0;text-align:right;font-size:11px}
  .fl .fl-chips{order:3;width:100%}
.fl .fl-bar:not(.open) .fl-chips,.fl .fl-bar:not(.open) .fl-reset{display:none}
  .fl .fl-count{white-space:nowrap}
  .fl .fl-m-hide{display:none}
  .fl .fl-bar.open .fl-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fl .fl-q,.fl .fl-sort{grid-column:span 3}
}
@media (min-width:761px) and (max-height:520px){
  .fl .fl-bar.open .fl-filters{max-height:calc(100vh - var(--fl-top,0px) - 70px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:4px}
  .fl .fl-panel-foot{display:block;grid-column:1 / -1;position:sticky;bottom:0;background:var(--ink);padding:10px 0 4px}
  .fl .fl-done{width:100%;font:700 15px/1 var(--f-body);color:var(--accent-ink);background:var(--accent);border:0;border-radius:999px;padding:13px 18px;cursor:pointer}
  .fl .fl-bar.open .fl-toggle{background:#fff;color:var(--ink)}
  .fl .fl-bar.open .fl-toggle-n{display:none}
}
/* short screens: the open panel becomes a full-screen overlay above the site header (Close at the top, Show boats pinned at the bottom) */
@media (max-height:520px){
  .fl .fl-bar.open{position:fixed;inset:0;top:0;z-index:100001;overflow-y:auto;overscroll-behavior:contain}
  .fl .fl-bar.open .wrap{min-height:100%;display:flex;flex-wrap:wrap;align-content:flex-start}
  .fl .fl-bar.open .fl-filters{max-height:none;overflow:visible}
  .fl .fl-bar.open .fl-panel-foot{position:sticky;bottom:0}
}
/* the "21 for sale · 241 sold" count is no longer shown in the bar (kept for screen readers) */
.fl .fl-count.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
.fl .fl-status:not(:has(.fl-chip)):not(:has(.fl-reset:not([hidden]))){display:none}
@media (max-width:760px){.fl .fl-bar:not(.open) .fl-status{display:none}}
@media (min-width:761px) and (max-height:520px){.fl .fl-bar:not(.open) .fl-status{display:none}}
