/* Condo building pages and building cards. Builds on listing.css + search.css. */

.tll-bhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 8px 0 32px; }
.tll-bhero--noimg { grid-template-columns: 1fr; }
.tll-bhero__img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tll-soft); }
.tll-bhero__img img { width: 100%; height: 100%; object-fit: cover; }
.tll-bhero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tll .tll-btn--inline { display: inline-block; width: auto; padding: 12px 20px; text-decoration: none; }
.tll .tll-adminlink { margin: 16px 0 0; font-size: 13px; }
.tll .tll-adminlink span { color: var(--tll-muted); }

.tll-bstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 0 0 40px; }
.tll-bstats > div { padding: 16px; background: var(--tll-soft); border-radius: var(--tll-radius); }
.tll-bstats .tll-v { display: block; margin-top: 4px; font-family: var(--tll-serif); font-size: 24px; font-weight: 600; }

.tll-bsec { padding-bottom: 40px; margin-bottom: 8px; }
.tll-building .tll-layout { padding-top: 32px; border-top: 1px solid var(--tll-line); }
.tll-bcontent > :first-child { margin-top: 0; }
.tll-bcontent img { border-radius: var(--tll-radius); height: auto; }

.tll-faq details { border-bottom: 1px solid var(--tll-line); }
.tll-faq summary { list-style: none; position: relative; padding: 14px 32px 14px 0; font-weight: 600; cursor: pointer; }
.tll-faq summary::-webkit-details-marker { display: none; }
.tll-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; font-weight: 400; color: var(--tll-muted); }
.tll-faq details[open] summary::after { content: "–"; }
.tll-faq details p { margin: 0 0 16px; color: var(--tll-ink); }

/* Building cards */
.tll-bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.tll-bcard { margin: 0; }
.tll .tll-bcard a { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--tll-line); border-radius: var(--tll-radius); background: #fff; color: var(--tll-ink); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.tll .tll-bcard a:hover { border-color: var(--tll-ink); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.tll-bcard__img { flex: none; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--tll-soft); }
.tll-bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.tll-bcard__text { display: grid; gap: 1px; min-width: 0; }
.tll-bcard__text strong { font-size: 15px; line-height: 1.3; }
.tll-bcard__text span { font-size: 13px; }
.tll-bcard__text em { font-style: normal; font-size: 12px; color: var(--tll-muted); }


@media (max-width: 860px) {
	.tll-bhero { grid-template-columns: 1fr; gap: 20px; }
	.tll-bhero__img { order: -1; }
}

.tll-building .tll-facts dl { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Empty building: owner valuation + new-listing alert (2026-10-19) */
.tll-bempty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tll-bempty__card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--tll-soft); border-radius: var(--tll-radius); }
.tll-bempty__card--own { border-top: 3px solid #3bbab0; }
.tll .tll-bempty__card .tll-h3 { margin: 0; }
.tll .tll-bempty__card p { margin: 0; }
.tll-bempty__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tll-bempty__form input[type="text"] { flex: 0 1 150px; min-height: 46px; padding: 0 12px; border: 1px solid #8c8c86; border-radius: 8px; background: #fff; font-size: 16px; }
.tll .tll-bempty__card .tll-btn { align-self: flex-start; margin-top: 6px; }
.tll .tll-bempty__form .tll-btn { margin-top: 0; }
.tll .tll-bempty__alt { font-size: 14px; color: var(--tll-muted); }
.tll .tll-balert { margin: 20px 0 0; }
@media (max-width: 760px) { .tll-bempty { grid-template-columns: 1fr; } }
