/* Schilling Listing Layout — matches schillingdevelopment.com (Poppins, brand blue/navy, crimson price). */

.sll {
	--sll-blue: #1971b5;
	--sll-navy: #1b335c;
	--sll-red: #a01231;
	--sll-ink: #414042;
	--sll-muted: #626264;
	--sll-line: #e3e5e8;
	--sll-soft: #f4f5f7;
	--sll-radius: 6px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px 72px;
	color: var(--sll-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.sll *, .sll *::before, .sll *::after { box-sizing: border-box; }
.sll h1, .sll h2 { color: var(--sll-navy); font-family: inherit; letter-spacing: 0; text-transform: none; }
.sll h2 { font-size: 22px; font-weight: 600; line-height: 1.3; margin: 0 0 14px; }
.sll a { color: var(--sll-blue); }
.sll a:hover { color: var(--sll-navy); }
.sll ul { list-style: none; margin: 0; padding: 0; }
.sll img { max-width: 100%; height: auto; }
.sll-muted { color: var(--sll-muted); font-size: 14px; }
.sll-icon { flex: none; }

/* Buttons */
.sll .sll-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 4px;
	font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.sll .sll-btn--primary { background: var(--sll-blue); color: #fff; }
.sll .sll-btn--primary:hover, .sll .sll-btn--primary:focus { background: var(--sll-navy); color: #fff; }
.sll .sll-btn--navy { background: var(--sll-navy); color: #fff; }
.sll .sll-btn--navy:hover, .sll .sll-btn--navy:focus { background: var(--sll-blue); color: #fff; }
.sll .sll-btn--outline { background: #fff; border-color: var(--sll-blue); color: var(--sll-navy); }
.sll .sll-btn--outline:hover, .sll .sll-btn--outline:focus { background: #eef4fa; color: var(--sll-navy); }
.sll .sll-btn--quiet { min-height: 40px; padding: 0 12px; background: #fff; border-color: #d5d8dc; color: var(--sll-ink); font-size: 13px; font-weight: 500; }
.sll .sll-btn--quiet:hover { border-color: var(--sll-blue); color: var(--sll-navy); }
.sll a:focus-visible, .sll button:focus-visible { outline: 3px solid var(--sll-blue); outline-offset: 2px; }

/* Top bar */
.sll-topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.sll-crumbs { font-size: 13px; color: var(--sll-muted); }
.sll-crumbs a { text-decoration: none; }
.sll-actions { display: flex; gap: 8px; }

/* Hero */
.sll-hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.sll-gallery { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sll-gallery-main { position: relative; aspect-ratio: 4 / 3; background: #dde3da; border-radius: var(--sll-radius); overflow: hidden; }
.sll-gallery-main a, .sll-gallery-main img { display: block; width: 100%; height: 100%; }
.sll-gallery-main img { object-fit: cover; }
.sll .sll-gallery-nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0;
	display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92);
	color: var(--sll-navy); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.sll .sll-gallery-nav--prev { left: 12px; }
.sll .sll-gallery-nav--next { right: 12px; }
.sll-gallery-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; }
.sll-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.sll .sll-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #dde3da; cursor: pointer; }
.sll .sll-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sll .sll-thumb.is-active { border-color: var(--sll-blue); }
.sll-gallery-empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--sll-soft); border-radius: var(--sll-radius); color: var(--sll-muted); }

.sll-summary { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 26px; border: 1px solid var(--sll-line); border-radius: var(--sll-radius); background: #fff; }
.sll-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.sll-badge { padding: 4px 10px; border-radius: 999px; background: #e8f1f9; color: var(--sll-navy); font-size: 12px; font-weight: 600; }
.sll-badge--open { background: #e7f6ec; color: #1d6b3a; }
.sll-badge--pending { background: #fff4d6; color: #6b4e00; }
.sll-badge--sold { background: #ececec; color: #4a4a4a; }
.sll .sll-title { margin: 0 0 6px; font-size: 30px; font-weight: 600; line-height: 1.2; }
.sll-address { margin: 0; color: var(--sll-muted); font-size: 15px; }
.sll-price { margin: 0; font-size: 36px; font-weight: 700; line-height: 1; color: var(--sll-red); }
.sll-price--note { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--sll-navy); }
.sll-price--sold { color: #4a4a4a; }
.sll-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--sll-line); border: 1px solid var(--sll-line); border-radius: 4px; overflow: hidden; }
.sll-facts > div { background: #fff; padding: 11px 14px; }
.sll-facts dt { font-size: 12px; color: var(--sll-muted); }
.sll-facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }
.sll-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sll-tags li { padding: 5px 11px; border: 1px solid #d5d8dc; border-radius: 4px; font-size: 13px; }
.sll-cta { display: flex; flex-direction: column; gap: 10px; }
.sll-cta--row { flex-direction: row; flex-wrap: wrap; }
.sll-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 500; }
.sll-fine { margin: 0; font-size: 12px; color: var(--sll-muted); }

/* Body */
.sll-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 56px; }
.sll-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.sll-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sll-block { min-width: 0; }
.sll-prose { font-size: 15px; line-height: 1.7; max-width: 70ch; }
.sll-prose p { margin: 0 0 12px; }
.sll-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sll-table th, .sll-table td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--sll-line); text-align: left; vertical-align: top; background: none; }
.sll-table th { width: 38%; padding-right: 16px; font-weight: 500; color: var(--sll-muted); }
.sll-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sll-docs a { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; border: 1px solid var(--sll-line); border-radius: 4px; text-decoration: none; color: var(--sll-ink); font-weight: 500; font-size: 14px; }
.sll-docs a:hover { border-color: var(--sll-blue); }
.sll-lotmap { border-radius: var(--sll-radius); overflow: hidden; }

.sll-panel { padding: 24px; background: var(--sll-soft); border-radius: var(--sll-radius); display: flex; flex-direction: column; gap: 12px; }
.sll-panel h2 { margin: 0; font-size: 20px; }
.sll-panel p { margin: 0; }
.sll-contact-logo { max-width: 180px; height: auto; }
.sll-form .fl-row-content-wrap, .sll-form .fl-col-content { padding: 0 !important; margin: 0 !important; background: none !important; }
.sll-form .fl-row-content { max-width: none; }

/* Development */
.sll-dev { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 28px; background: var(--sll-soft); border-radius: var(--sll-radius); }
.sll-dev-media { flex: 1 1 340px; min-width: 0; }
.sll-dev-media img { display: block; width: 100%; border-radius: 4px; }
.sll-dev-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sll-dev-copy h2 { margin: 0; font-size: 26px; }
.sll-kicker { margin: 0; font-size: 13px; font-weight: 600; color: var(--sll-blue); }

/* Location, more lots */
.sll-location, .sll-more { margin-top: 64px; }
.sll-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.sll-head h2 { margin: 0; }
.sll-map { aspect-ratio: 16 / 7; border-radius: var(--sll-radius); overflow: hidden; background: var(--sll-soft); }
.sll-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.sll-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.sll .sll-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--sll-line); border-radius: var(--sll-radius); overflow: hidden; text-decoration: none; color: var(--sll-ink); }
.sll .sll-card:hover { border-color: var(--sll-blue); }
.sll-card-img { display: block; aspect-ratio: 16 / 10; background: #dde3da; }
.sll-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sll-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.sll-card-title { font-size: 17px; font-weight: 600; color: var(--sll-navy); }
.sll-card-price { font-size: 18px; font-weight: 700; color: var(--sll-red); }
.sll-card-note { font-size: 14px; font-weight: 600; color: var(--sll-navy); }

/* Phone: sticky contact bar */
.sll-mobilebar { display: none; }
@media (max-width: 767px) {
	.sll { padding: 12px 16px 104px; }
	.sll .sll-title { font-size: 24px; }
	.sll-price { font-size: 30px; }
	.sll-summary { padding: 20px; }
	.sll-body { margin-top: 40px; }
	.sll-dev { padding: 20px; }
	.sll-map { aspect-ratio: 4 / 3; }
	.sll-mobilebar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff; border-top: 1px solid var(--sll-line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
	}
	.sll .sll-mobilebar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
		border: 1px solid var(--sll-blue); border-radius: 4px; color: var(--sll-navy); font-size: 12px; font-weight: 600; text-decoration: none;
	}
	.sll .sll-mobilebar a.is-primary { background: var(--sll-blue); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
	.sll .sll-btn { transition: none; }
}

/* Print: a clean one-page flyer */
@media print {
	.sll-actions, .sll-thumbs, .sll-gallery-nav, .sll-gallery-count, .sll-side, .sll-lotmap, #sll-lot-map,
	.sll-location, .sll-more, .sll-mobilebar, .sll-cta, .sll-links, .sll-crumbs { display: none !important; }
	.sll { padding: 0; max-width: none; }
	.sll-hero, .sll-body { display: block; }
	.sll-summary { border: 0; padding: 16px 0 0; }
	.sll-gallery-main { aspect-ratio: auto; max-height: 4in; }
	.sll-dev { break-inside: avoid; }
}
