/* Landing for the public listings feature (/properties). Reuses the landing
   design system (hero, showcase, features, FAQ) plus the mockups that explain
   the feature without fake screenshots. */
.property-page .listings-hero { display: block; padding-top: 150px; padding-bottom: 90px; }
.property-page .listings-hero .hero-content { max-width: 1200px; margin: 0 auto 48px; }
/* The hero paragraph rule from the landing is much larger; this note is a caption. */
.beta-layout .hero p.listings-hero-note { margin: 14px 0 0; color: var(--bn-muted); font-size: 12px; line-height: 1.6; }
.listings-hero-note strong { color: #202123; font-weight: 600; }
/* Keep the hero actions aligned with the copy and lighter than the landing hero. */
.beta-layout .hero .listings-hero-cta { justify-content: flex-start; margin: 0; }
.beta-layout.property-page .hero-cta { flex-direction: row; gap: 10px; }
.beta-layout.property-page .hero-cta .btn { flex: 0 0 auto; width: auto; min-width: 0; min-height: 44px; padding: 12px 20px; font-size: 14px; line-height: 1.4; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.beta-layout.property-page .showcase-cta { justify-content: flex-start; }
.beta-layout.property-page .hero-cta .btn:active { transform: scale(0.97); }

/* Compact, image-led mock in its original position below the hero copy. */
.listings-hero-visual { position: relative; z-index: 1; width: 100%; max-width: 560px; margin: 0 auto; }
.beta-layout .listings-browser { overflow: hidden; border: 1px solid #e5e6e9; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(32, 33, 35, 0.12); color: #202123; text-align: left; }
.beta-layout .listings-browser * { box-sizing: border-box; }
.beta-layout .listings-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #eef0f3; background: #f8f9fa; }
.beta-layout .listings-browser-bar > span { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #dfe2e7; }
.beta-layout .listings-browser-url { flex: 1; min-width: 0; margin-left: 8px; overflow: hidden; padding: 5px 10px; border: 1px solid #eef0f3; border-radius: 999px; background: #fff; color: #697078; font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.beta-layout .listings-browser-body { padding: 0; }
.beta-layout .listings-mock-cover { position: relative; height: 210px; margin: 0; overflow: hidden; background: #f2f3f5; }
.beta-layout .listings-mock-cover picture,
.beta-layout .listings-mock-cover img { display: block; width: 100%; height: 100%; }
.beta-layout .listings-mock-cover img { object-fit: cover; object-position: center 48%; }
.beta-layout .listings-mock-badge { position: absolute; left: 18px; bottom: 16px; margin: 0; padding: 5px 10px; border: 1px solid #ffffff80; border-radius: 999px; background: #fffffff2; color: #202123; font-size: 11px; font-weight: 600; line-height: 1.5; box-shadow: 0 1px 4px #0000000d; }
.beta-layout .listings-mock-details { padding: 20px; }
.beta-layout .listings-mock-details h3 { margin: 0; color: #202123; font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.025em; }
/* Scoped type and spacing override the landing's large hero paragraphs. */
.beta-layout .listings-mock-details .listings-mock-sub { max-width: none; margin: 7px 0 0; color: #697078; font-size: 12px; line-height: 1.6; }
.beta-layout .listings-mock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.beta-layout .listings-mock-chips span { padding: 5px 9px; border: 1px solid #e7e9ee; border-radius: 999px; color: #565c64; font-size: 11px; line-height: 1.5; }
.beta-layout .listings-mock-contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding: 14px; border: 1px solid #e7e9ee; border-radius: 12px; background: #f8f9fa; }
.beta-layout .listings-mock-contact .listings-mock-price { max-width: none; margin: 0; color: #697078; font-size: 12px; line-height: 1.4; }
.beta-layout .listings-mock-price strong { color: #202123; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.beta-layout .listings-mock-contact small { display: block; margin-top: 4px; color: #697078; font-size: 11px; line-height: 1.5; }
.beta-layout .listings-mock-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 38px; padding: 9px 14px; border-radius: 8px; background: #202123; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; }

/* Small floating availability example; the listing itself stays in place. */
.listings-calendar-mock { position: absolute; z-index: 2; top: 72px; right: -144px; box-sizing: border-box; width: 224px; padding: 16px; border: 1px solid #e5e6e9; border-radius: 14px; background: #fff; box-shadow: 0 18px 48px -12px rgba(32, 33, 35, 0.22), 0 2px 8px rgba(32, 33, 35, 0.04); color: #202123; text-align: left; }
.listings-calendar-kicker { display: block; margin-bottom: 10px; color: #697078; font-size: 11px; line-height: 1.4; }
.listings-calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.listings-calendar-heading strong { font-size: 12px; font-weight: 600; line-height: 1.5; }
.listings-calendar-arrows { display: flex; gap: 4px; }
.listings-calendar-arrows svg { box-sizing: border-box; width: 22px; height: 22px; padding: 3px; border: 1px solid #e7e9ee; border-radius: 6px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.listings-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; font-size: 10px; font-variant-numeric: tabular-nums; line-height: 1; text-align: center; }
.listings-calendar-grid > span { display: flex; align-items: center; justify-content: center; height: 24px; }
.listings-calendar-weekday { color: #697078; }
.listings-calendar-day { border: 1px solid #eceef0; border-radius: 5px; }
.listings-calendar-day.is-blocked { border-color: transparent; background: #f1f2f4; color: #92969d; text-decoration: line-through; }
.listings-calendar-legend { display: flex; gap: 12px; margin-top: 13px; color: #697078; font-size: 9px; line-height: 1.5; }
.listings-calendar-legend span { display: inline-flex; align-items: center; gap: 5px; }
.listings-calendar-legend i { width: 10px; height: 10px; border: 1px solid #b8bdc5; border-radius: 3px; }
.listings-calendar-legend i.is-blocked { background: repeating-linear-gradient(135deg, #f1f2f3, #f1f2f3 3px, #9a9ea6 4px, #f1f2f3 5px); }

/* Icon tile for the feature cards. */
.listings-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: #eef2f7; color: #202123; }
.listings-feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Inquiry email mockup. */
.listings-showcase-visual { display: flex; justify-content: center; }
.listings-inbox-mock { width: 100%; max-width: 400px; padding: 24px; border: 1px solid #e5e6e9; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(32, 33, 35, 0.1); text-align: left; }
.listings-inbox-badge { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #edf6f0; color: #226348; font-size: 11px; font-weight: 600; }
.listings-inbox-mock h3 { margin: 0 0 14px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.listings-inbox-meta { display: grid; gap: 8px; margin: 0 0 14px; }
.listings-inbox-meta div { display: flex; gap: 8px; font-size: 12px; }
.listings-inbox-meta dt { min-width: 68px; color: #8c9097; }
.listings-inbox-meta dd { margin: 0; color: #202123; font-weight: 500; }
.listings-inbox-message { margin: 0 0 18px; padding: 14px; border-radius: 10px; background: #f8f9fa; color: #202123; font-size: 13px; line-height: 1.7; }
.listings-inbox-foot { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid #eef0f3; }
.listings-inbox-foot span { color: #202123; font-size: 13px; font-weight: 600; }
.listings-inbox-foot small { color: #8c9097; font-size: 11px; }

/* Licence card mockup. */
.listings-license-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 340px; margin: 0 auto; padding: 26px 24px; border: 1px solid #e5e6e9; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(32, 33, 35, 0.1); }
.listings-license-chip { padding: 5px 10px; border-radius: 999px; background: #eef2f7; color: #202123; font-size: 11px; font-weight: 600; }
.listings-license-card strong { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.listings-license-card small { color: #6b7280; font-size: 12px; }
.listings-license-ok { margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: #edf6f0; color: #226348; font-size: 11px; font-weight: 600; }

/* Closing band. */
.listings-final-cta { padding: 90px 30px; text-align: center; background: #202123; color: #fff; }
.beta-layout .listings-final-cta h2 { margin: 0 0 12px; color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.listings-final-cta p { max-width: 620px; margin: 0 auto; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.7; }
.listings-final-cta .hero-cta { margin-top: 26px; }
.beta-layout .listings-final-cta .btn-primary,
.beta-layout .listings-final-cta .btn-primary:hover { border-color: #fff; background: #fff; color: #202123; }
.beta-layout .listings-final-cta .btn-secondary,
.beta-layout .listings-final-cta .btn-secondary:hover { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.beta-layout .listings-final-cta .btn:focus-visible { outline-color: #fff; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
    .beta-layout .listings-final-cta .btn-primary:hover { background: #e9eaed; border-color: #e9eaed; }
    .beta-layout .listings-final-cta .btn-secondary:hover { background: #353638; border-color: #fff; }
}

/* Related-pages partial: dark foot to the page, continuing the closing CTA
   instead of reading as a light strip glued to the footer. */
.property-page .seo-related-section { padding: 28px 30px; border-bottom: 0; background: #202123; }
.property-page .seo-related-section .seo-container { max-width: 1200px; margin: 0 auto; }
.property-page .seo-related-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 12px; line-height: 1.6; }
.property-page .seo-related-links > span { color: #fff; font-weight: 600; }
.property-page .seo-related-links a { color: rgba(255, 255, 255, 0.74); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.28); }
.property-page .seo-related-links a:hover { color: #fff; text-decoration-color: currentColor; }
.property-page .seo-related-links a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.property-page .seo-related-all { margin-left: auto; }

@media (max-width: 900px) {
    .listings-calendar-mock { right: -36px; }
}
@media (max-width: 700px) {
    .listings-calendar-mock { position: relative; top: auto; right: auto; margin: -12px 12px 0 auto; }
}
@media (max-width: 768px) {
    .property-page .listings-hero { padding-top: 120px; }
    .listings-final-cta { padding: 64px 20px; }
    .property-page .seo-related-section { padding: 22px 20px; }
    .property-page .seo-related-links > span { flex-basis: 100%; }
    .property-page .seo-related-all { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .listings-hero-visual { opacity: 1; transform: none; transition: none; }
    .beta-layout.property-page .hero-cta .btn { transition: none; }
    .beta-layout.property-page .hero-cta .btn:active { transform: none; }
}
