/* Silverwood Listings: matches the Silverwood design system (Gilda Display + Jost, navy and gold). */
.swl, .swl-featured, .swl-sig-grid, .swl-herocard, .swl-grid { --swl-navy: #0B1F3A; --swl-ink: #071426; --swl-gold: #C9A063; --swl-gold-d: #8A6A3A; --swl-gold-l: #E2C48E; --swl-line: #DCE0E7; --swl-line-2: #ECEEF2; --swl-mute: #5B6478; --swl-wa: #1F8F4E; --swl-serif: "Gilda Display", Georgia, serif; --swl-sans: "Jost", system-ui, sans-serif; font-family: var(--swl-sans); }
body.swl-page { background: #fff; }
body.swl-page .site-content > .ast-container { max-width: none; padding: 0; display: block; }
.swl-wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; width: 100%; }
.swl-i { width: 18px; height: 18px; flex: none; }
.swl h1, .swl h2, .swl h3 { font-family: var(--swl-serif); font-weight: 400; color: var(--swl-navy); text-transform: none; letter-spacing: -0.01em; }
.swl a { text-decoration: none; }

/* buttons */
.swl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; font: 500 13px var(--swl-sans); letter-spacing: .18em; text-transform: uppercase; transition: background .3s ease, transform .3s ease; }
.swl-btn:hover { transform: translateY(-2px); }
.swl-btn--gold { background: var(--swl-gold); color: var(--swl-navy) !important; }
.swl-btn--navy { background: var(--swl-navy); color: #fff !important; }
.swl-btn--wa { background: var(--swl-wa); color: #fff !important; }
.swl-btn--outline { border-color: var(--swl-navy); color: var(--swl-navy) !important; background: transparent; }

/* tags */
.swl-tag { display: inline-flex; padding: 7px 12px; background: rgba(255,255,255,.95); color: var(--swl-navy); font: 500 11px var(--swl-sans); letter-spacing: .18em; text-transform: uppercase; }
.swl-tag--gold { background: var(--swl-gold); color: var(--swl-navy); }
.swl-tag--navy { background: var(--swl-navy); color: #fff; }
.swl-tag--line { background: transparent; border: 1px solid var(--swl-line); color: #3A4256; }
.swl-tag--reserved { background: #8a6a2c; color: #fff; }
.swl-tag--rented, .swl-tag--sold { background: #b4442f; color: #fff; }

/* cards */
.swl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 56px 32px; }
.swl-card { display: flex; flex-direction: column; min-width: 0; }
.swl-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--swl-navy); }
.swl-card__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.swl-card:hover .swl-card__media img { transform: scale(1.06); }
.swl-card__ph { position: absolute; inset: 0; background: linear-gradient(135deg, #12305a, var(--swl-navy)); }
.swl-card__tags { position: absolute; top: 18px; left: 18px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.swl-card__count { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(5,12,24,.7); color: #fff; font-size: 12px; z-index: 1; }
.swl-card__count .swl-i { width: 14px; height: 14px; }
.swl-card__body { padding-top: 22px; display: flex; flex-direction: column; flex: 1; }
.swl-card__loc { margin: 0 0 8px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--swl-gold-d); }
.swl-card__title { margin: 0 0 14px; font-family: var(--swl-serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.swl-card__title a { color: var(--swl-navy); }
.swl-card__title a:hover { color: var(--swl-gold-d); }
.swl-card__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 18px; font-size: 14px; color: #4A5468; }
.swl-card__facts span { display: inline-flex; align-items: center; gap: 7px; }
.swl-card__facts .swl-i { color: #8A93A6; width: 17px; height: 17px; }
.swl-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--swl-line-2); }
.swl-card__price { margin: 0; font-size: 21px; font-weight: 500; color: var(--swl-navy); }
.swl-card__price small { font-size: 13px; font-weight: 400; color: #6B7385; }
.swl-card__acts { display: flex; gap: 8px; }
.swl-card__acts a { width: 44px; height: 44px; border: 1px solid var(--swl-line); display: flex; align-items: center; justify-content: center; color: var(--swl-navy); }
.swl-card__acts a.is-wa { background: var(--swl-wa); border-color: var(--swl-wa); color: #fff; }

/* featured (homepage) */
.swl-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--swl-line); margin: -24px 0 40px; }
.swl-tabs button { height: 48px; padding: 0 18px; margin-bottom: -1px; background: transparent !important; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #6B7385 !important; font: 400 13px var(--swl-sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.swl-tabs button.is-on { color: var(--swl-navy) !important; border-bottom-color: #B8894A; }
.swl-grid--featured .swl-card.is-big { grid-column: span 2; }
.swl-grid--featured .swl-card.is-big .swl-card__media { aspect-ratio: 16 / 9.4; }
.swl-grid--featured .swl-card.is-big .swl-card__title { font-size: 34px; }
.swl-card.is-hidden { display: none; }
.swl-empty-note { padding: 36px; border: 1px solid var(--swl-line); text-align: center; color: var(--swl-mute); }
.swl-empty-note a { color: var(--swl-gold-d); border-bottom: 1px solid var(--swl-gold); }
.swl-empty-note--dark { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.7); }

/* signature */
.swl-sig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.swl-sig { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; overflow: hidden; color: #fff !important; isolation: isolate; background: var(--swl-navy); }
.swl-sig img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; z-index: -2; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.swl-sig::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,12,24,0) 45%, rgba(5,12,24,.92) 100%); }
.swl-sig:hover img { transform: scale(1.06); }
.swl-sig__body { padding: 30px; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.swl-sig__loc { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--swl-gold-l); }
.swl-sig__title { font-family: var(--swl-serif); font-size: 30px; line-height: 1.12; }
.swl-sig__meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.22); font-size: 15px; color: rgba(255,255,255,.86); }

/* hero card */
.swl-herocard { display: inline-flex; gap: 16px; align-items: center; max-width: 360px; padding: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff !important; margin-top: 40px; }
.swl-herocard img { width: 96px !important; height: 96px !important; object-fit: cover; flex: none; }
.swl-herocard span { display: flex; flex-direction: column; gap: 2px; }
.swl-herocard small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--swl-gold-l); }
.swl-herocard strong { font-family: var(--swl-serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.swl-herocard em { font-style: normal; font-size: 14px; color: rgba(255,255,255,.8); }

/* archive head */
.swl-pagehead { position: relative; isolation: isolate; background: var(--swl-navy); color: #fff; padding: 72px 0 120px; overflow: hidden; }
.swl-pagehead__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; z-index: -2; }
.swl-pagehead.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,31,58,.96) 0%, rgba(11,31,58,.8) 55%, rgba(11,31,58,.5) 100%); }
.swl-pagehead h1 { margin: 0; color: #fff !important; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; }
.swl-pagehead__intro { margin-top: 18px; max-width: 560px; font-size: 18px; font-weight: 300; color: rgba(255,255,255,.82); }
.swl-pagehead__intro p { margin: 0; }
.swl-crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.swl-crumbs a { color: rgba(255,255,255,.8); }
.swl-single .swl-crumbs { color: #6B7385; padding-top: 26px; }
.swl-single .swl-crumbs a { color: #6B7385; }

/* filters */
.swl-filters { position: relative; z-index: 3; margin-top: -56px; }
.swl-filterform { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; box-shadow: 0 24px 50px -22px rgba(11,31,58,.35); padding: 8px; gap: 4px; }
.swl-filterform label { display: flex; flex-direction: column; padding: 8px 16px; border-right: 1px solid var(--swl-line-2); margin: 0; }
.swl-filterform label span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--swl-gold-d); }
.swl-filterform select { border: 0 !important; background: transparent !important; box-shadow: none !important; font: 500 15px var(--swl-sans); color: var(--swl-navy); padding: 4px 0 !important; height: auto; }
.swl-filterform button { min-height: 58px; border: 0; border-radius: 0; background: var(--swl-navy); color: #fff; font: 500 13px var(--swl-sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.swl-filters__toggle { display: none; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid var(--swl-line); border-radius: 0; color: var(--swl-navy); font: 500 13px var(--swl-sans); letter-spacing: .18em; text-transform: uppercase; }

/* results */
.swl-results { padding: 56px 0 110px; }
.swl-results__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; color: #3A4256; }
.swl-results__head p { margin: 0; }
.swl-results__head strong { color: var(--swl-navy); font-weight: 600; }
.swl-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.swl-sort span { color: #6B7385; margin-right: 8px; }
.swl-sort a { padding: 10px 14px; color: #6B7385; border-bottom: 2px solid transparent; }
.swl-sort a.is-on { color: var(--swl-navy); border-bottom-color: #B8894A; }
.swl-pages { margin-top: 64px; }
.swl-pages ul { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.swl-pages a, .swl-pages span { min-width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--swl-line); color: var(--swl-navy); padding: 0 8px; }
.swl-pages .current { background: var(--swl-navy); color: #fff; border-color: var(--swl-navy); }
.swl-none { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.swl-none h2 { font-size: 36px; margin: 0 0 10px; }
.swl-none p { color: var(--swl-mute); }
.swl-band { background: #F5F3EF; padding: 80px 0; }
.swl-band .swl-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.swl-band h2 { margin: 0 0 10px; font-size: clamp(30px, 3.4vw, 42px); }
.swl-band p { margin: 0; color: #3A4256; font-weight: 300; font-size: 17px; }

/* single */
.swl-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 260px 260px; gap: 10px; }
.swl-gallery__item { position: relative; overflow: hidden; background: var(--swl-navy); display: block; }
.swl-gallery__item img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.swl-gallery__item:hover img { transform: scale(1.04); }
.swl-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.swl-gallery__item.is-hidden { display: none; }
.swl-gallery--n1 { grid-template-columns: 1fr; grid-template-rows: 560px; }
.swl-gallery--n1 .swl-gallery__item:first-child { grid-column: auto; grid-row: auto; }
.swl-gallery--n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 520px; }
.swl-gallery--n2 .swl-gallery__item:first-child { grid-column: auto; grid-row: auto; }
.swl-gallery--n3 { grid-template-columns: 2fr 1fr; }
.swl-gallery--n3 .swl-gallery__item:first-child { grid-column: 1; }
.swl-gallery--n4 .swl-gallery__item:nth-child(4) { grid-column: span 2; }
.swl-gallery__more { position: absolute; inset: 0; background: rgba(11,31,58,.55); display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 15px; letter-spacing: .06em; }
.swl-single__layout { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-top: 48px; padding-bottom: 100px; }
.swl-single__main { flex: 999 1 600px; min-width: 0; }
.swl-single__aside { flex: 1 1 340px; max-width: 420px; position: sticky; top: 110px; }
.swl-single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.swl-single__title { margin: 0 0 12px; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; }
.swl-single__loc { margin: 0 0 8px; font-size: 17px; color: #6B7385; }
.swl-single__price { margin: 0; font-size: 30px; font-weight: 500; color: var(--swl-navy); }
.swl-single__price small { font-size: 17px; font-weight: 400; color: #6B7385; }
.swl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 36px 0 0; border-top: 1px solid var(--swl-line); border-bottom: 1px solid var(--swl-line); }
.swl-facts div { padding: 22px 0; }
.swl-facts dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #6B7385; }
.swl-facts dd { margin: 4px 0 0; font-family: var(--swl-serif); font-size: 28px; color: var(--swl-navy); }
.swl-block { padding-top: 48px; }
.swl-block h2 { margin: 0 0 18px; font-size: 32px; }
.swl-prose { color: #3A4256; font-size: 17px; font-weight: 300; }
.swl-prose.is-clamped { max-height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.swl-readmore { margin-top: 12px; background: none !important; border: 0; border-bottom: 1px solid var(--swl-gold); border-radius: 0; padding: 0 0 4px; color: var(--swl-gold-d) !important; font: 500 13px var(--swl-sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.swl-details { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; }
.swl-details div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--swl-line-2); }
.swl-details dt { color: #6B7385; }
.swl-details dd { margin: 0; font-weight: 500; color: #101828; text-align: right; }
.swl-amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 24px; color: #3A4256; }
.swl-amen li { display: flex; align-items: center; gap: 10px; margin: 0; }
.swl-amen .swl-i { color: #B8894A; }
.swl-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.swl-media img { border: 1px solid var(--swl-line); }
.swl-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.swl-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.swl-agent { border: 1px solid var(--swl-line); padding: 30px; box-shadow: 0 24px 50px -30px rgba(11,31,58,.35); background: #fff; }
.swl-agent__price { margin: 0; font-size: 26px; font-weight: 500; color: var(--swl-navy); }
.swl-agent__price small { font-size: 15px; font-weight: 400; color: #6B7385; }
.swl-agent__who { display: flex; align-items: center; gap: 14px; padding: 20px 0; margin: 18px 0; border-top: 1px solid var(--swl-line-2); border-bottom: 1px solid var(--swl-line-2); }
.swl-agent__who strong { display: block; color: var(--swl-navy); font-weight: 500; }
.swl-agent__who small { color: #6B7385; font-size: 14px; }
.swl-agent__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--swl-navy); color: var(--swl-gold-l); display: flex; align-items: center; justify-content: center; font-family: var(--swl-serif); font-size: 20px; flex: none; }
.swl-agent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.swl-agent__btns .swl-btn { padding: 0 12px; letter-spacing: .12em; }
.swl-agent__form h2 { margin: 0 0 6px; font-size: 24px; }
.swl-similar { background: #F5F3EF; padding: 100px 0; }
.swl-similar__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.swl-similar__head h2 { margin: 0; font-size: clamp(34px, 4vw, 48px); }
.swl-similar__head a { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--swl-gold-d); }
.swl-mobilebar { display: none; }

/* lightbox */
.swl-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,12,24,.96); display: flex; align-items: center; justify-content: center; }
.swl-lightbox[hidden] { display: none; }
.swl-lightbox figure { margin: 0; max-width: min(1400px, 92vw); text-align: center; }
.swl-lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.swl-lightbox figcaption { color: rgba(255,255,255,.7); margin-top: 14px; font-size: 14px; }
.swl-lightbox__close, .swl-lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.swl-lightbox__close { top: 20px; right: 20px; }
.swl-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.swl-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
body.swl-locked { overflow: hidden; }

@media (max-width: 900px) {
	.swl-grid--featured .swl-card.is-big { grid-column: auto; }
	.swl-grid--featured .swl-card.is-big .swl-card__media { aspect-ratio: 4 / 5; }
	.swl-single__aside { position: static; max-width: none; }
}
@media (max-width: 767px) {
	.swl-wrap { padding: 0 20px; }
	.swl-grid { grid-template-columns: 1fr; gap: 44px; }
	.swl-filters { margin-top: -40px; }
	.swl-filters__toggle { display: inline-flex; }
	.swl-filterform { display: none; margin-top: 10px; grid-template-columns: 1fr 1fr; }
	.swl-filters.is-open .swl-filterform { display: grid; }
	.swl-filterform label { border-right: 0; border-bottom: 1px solid var(--swl-line-2); }
	.swl-filterform button { grid-column: span 2; }
	.swl-gallery, .swl-gallery--n3, .swl-gallery--n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 130px; gap: 4px; margin: 0 -20px; }
	.swl-gallery__item:first-child { grid-column: span 2; grid-row: auto; }
	.swl-gallery__item:nth-child(n+4) { display: none; }
	.swl-gallery--n1, .swl-gallery--n2 { grid-template-rows: 300px; }
	.swl-facts { grid-template-columns: 1fr 1fr; }
	body.single-sw_property .swc-footer { padding-bottom: 76px; }
	.swl-mobilebar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--swl-line); }
	body.single-sw_property .swc-wa { bottom: 90px; }
	.swl-results__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.swl-sort { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; font-size: 11px; letter-spacing: .08em; scrollbar-width: none; }
	.swl-sort::-webkit-scrollbar { display: none; }
	.swl-sort span { display: none; }
	.swl-sort a { white-space: nowrap; padding: 8px 8px; }
	.swl-sort a:first-of-type { padding-left: 0; }
	.swl-tabs { margin-top: -12px; overflow-x: auto; flex-wrap: nowrap; }
}

/* Full-bleed layout inside Astra */
body.swl-page .site-content > .ast-container { max-width: 100%; padding-left: 0; padding-right: 0; display: block; }
body.swl-page .swl { width: 100%; }
/* Neutralise theme content-link underlines */
.swl a, .swl-card a, .swl-sig a, .swl-herocard a, .swl-featured a, .swl-grid a { text-decoration: none !important; box-shadow: none; }
