/* Styles for build-generated listing, area and type pages (see build.py). Extends css/style.css. */
.seo-main { max-width: 1040px; margin: 0 auto; padding: 24px 5% 48px; }
.seo-main h1 { color: var(--primary); font-size: 2rem; line-height: 1.25; margin-bottom: 10px; }
.seo-main h2 { color: var(--primary); font-size: 1.4rem; margin: 32px 0 12px; }
.seo-main h3 { color: var(--primary); font-size: 1.1rem; margin: 18px 0 6px; }
.seo-main p { margin-bottom: 12px; color: #4a5568; }
.seo-main a { color: #2b6cb0; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 14px; color: #718096; }
.breadcrumb a { color: #2b6cb0; text-decoration: none; }
.breadcrumb span.sep { margin: 0 6px; }
.price-line { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: #fff; background: #2b6cb0; margin-right: 6px; vertical-align: middle; }
.badge.rent { background: #2f855a; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 18px 0; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; background: #e2e8f0; }
.gallery img:first-child:nth-last-child(n+2) { grid-column: 1 / -1; height: auto; max-height: 520px; }
.gallery.single { display: block; }
.gallery.single img { height: auto; max-height: 520px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 16px 0; }
.facts div { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; }
.facts strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #718096; }
.desc-list { list-style: none; margin: 0 0 12px; padding: 0; }
.desc-list li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px solid #edf2f7; }
.desc-list li::before { content: "\2713"; position: absolute; left: 4px; color: #25D366; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.wa-btn, .back-btn { display: inline-block; padding: 13px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; color: #fff !important; }
.wa-btn { background: #25D366; }
.wa-btn:hover { background: #128C7E; }
.back-btn { background: var(--primary); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.card a { text-decoration: none; color: inherit; display: block; }
.card img { width: 100%; height: 160px; object-fit: cover; display: block; background: #e2e8f0; }
.card-body { padding: 12px 14px; }
.card-body .card-price { font-weight: 700; color: var(--primary); }
.card-body .card-title { font-size: 0.95rem; color: #2d3748; }
.card-body .card-area { font-size: 0.8rem; color: #718096; }
.link-columns { columns: 2 320px; column-gap: 32px; padding-left: 18px; }
.link-columns li { margin-bottom: 6px; break-inside: avoid; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.chip-row a { background: #fff; border: 1px solid #cbd5e0; border-radius: 999px; padding: 5px 14px; font-size: 0.9rem; text-decoration: none; color: var(--primary); }
.chip-row a:hover { background: var(--primary); color: #fff; }
.site-footer { background: var(--primary); color: #fff; padding: 28px 5%; font-size: 0.9rem; }
.site-footer h4 { color: var(--secondary); margin-bottom: 8px; }
.site-footer a, footer .footer-cols a { color: #e2e8f0; text-decoration: none; }
footer .footer-cols h4 { color: var(--secondary); margin-bottom: 8px; }
footer .footer-cols { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 16px; text-align: left; }
footer .footer-cols ul { list-style: none; }
.site-footer a:hover { color: var(--secondary); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 16px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 4px; }
.float-wa { position: fixed; bottom: 20px; left: 20px; background: #25D366; color: #fff; padding: 13px 20px; border-radius: 50px; text-decoration: none; font-weight: bold; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 999; }
.home-static-index { max-width: 1100px; margin: 0 auto; padding: 30px 5%; }
.home-static-index h2 { color: var(--primary); margin-bottom: 10px; }
.home-static-index h3 { color: var(--primary); margin: 20px 0 8px; }
@media (max-width: 768px) {
    .seo-main h1 { font-size: 1.5rem; }
    header nav { flex-wrap: wrap; }
    header nav a { margin-left: 12px; }
}
