/* ---- 10-pages.css ---- */
/* Reference pages: pricing, jobs, documents, other rooms, blog, 404. Quiet and readable.
   Prefix pg-. Overrides the inline <style> that listings.html still carries in its head. */

/* ---------- page header: compact, left-aligned ---------- */
.hero-small .container { display: flex; flex-direction: column; align-items: flex-start; }
.hero-small h1 { text-wrap: balance; overflow-wrap: anywhere; }
.hero-small .breadcrumb-light { margin-bottom: 0.75rem; }
.breadcrumb { overflow-wrap: anywhere; }

/* ---------- pricing: a fare table ---------- */
.price-table td:nth-child(2) { text-align: right; font-size: 1.0625rem; }
.price-table th:nth-child(2) { text-align: right; }
.price-table tbody tr:first-child td:first-child { font-weight: 800; }
.price-table tbody tr:first-child td:nth-child(2) { font-size: 1.375rem; color: var(--sky-900); }
.price-table .price-total td { background: var(--sky-100); color: var(--sky-950); }
.price-table .price-total td:nth-child(2) { color: var(--sky-950); font-size: 1.1875rem; }
@media (max-width: 640px) {
  .price-table tr { align-items: baseline; }
  .price-table td:nth-child(2) { text-align: right; }
  .price-table tbody tr:first-child td:nth-child(2) { font-size: 1.25rem; }
  .price-table .price-total { background: var(--sky-100); }
}
.pg-back { margin-top: 14px; }
.pg-back a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- jobs ---------- */
.jobs-disclaimer { max-width: 78ch; }
.jobs-table .jobs-links { display: flex; flex-wrap: wrap; gap: 8px; white-space: normal; }
.jobs-table .jobs-links > a { margin: 0; }
.jobs-wa-btn { min-height: 44px; padding: 0 14px; font-size: var(--fs-small); background: var(--wa); color: var(--wa-ink); border-color: var(--wa); }
.jobs-platform-go { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.jobs-checked.pg-more { margin-top: 1.5rem; font-size: 1rem; }
.jobs-checked a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.cta-inner .blog-post-cta-btns { margin-top: 4px; }
.cta-section .btn-secondary { background: transparent; color: var(--paper); border-color: var(--sky-300); }
.cta-section .btn-secondary:hover { background: var(--sky-700); border-color: var(--paper); color: var(--paper); }
.cta-section a:focus-visible, .hero a:focus-visible { outline-color: var(--amber-400); }

@media (max-width: 640px) {
  .jobs-table thead { display: none; }
  .jobs-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .jobs-table tr:last-child { border-bottom: 0; }
  .jobs-table td { padding: 0; border: 0; }
  .jobs-table .jobs-source, .jobs-table .jobs-links, .jobs-table tr:has(.jobs-links) td { grid-column: 1 / -1; }
}

/* ---------- documents ---------- */
.doc-card { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-1); max-width: 900px; }
.doc-card.no-img { grid-template-columns: 1fr; }
.doc-card figure { margin: 0; }
.doc-card img { width: 100%; height: 190px; object-fit: cover; object-position: center 70%; border-radius: var(--r-s); display: block; }
.doc-card figcaption { font-size: 0.75rem; color: var(--ink-2); margin-top: 0.35rem; }
.doc-card figcaption a { color: inherit; }
.doc-card h3 { margin: 0 0 0.4rem; }
.doc-card p { margin: 0.3rem 0; }
.doc-via { font-size: var(--fs-small); color: var(--ink-2); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.8rem; }
.doc-actions .jobs-link-btn { margin: 0; }
@media (max-width: 640px) { .doc-card { grid-template-columns: 1fr; } .doc-card img { height: 170px; } }

/* ---------- other rooms ---------- */
.ol-note { background: var(--paper-2); border: 1px solid var(--amber-500); border-radius: var(--r-m); padding: 14px 18px; margin: 0 0 20px; font-size: var(--fs-small); color: var(--ink); max-width: 78ch; }
.ol-filters { gap: 8px; margin: 0 0 20px; }
.ol-filters button { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--sky-700); background: var(--card); color: var(--sky-800); font-weight: 700; }
.ol-filters button:hover { background: var(--sky-100); }
.ol-filters button.on { background: var(--sky-800); border-color: var(--sky-800); color: var(--paper); }
.ol-filters label { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--ink-2); font-weight: 600; }
.ol-filters select { min-height: 44px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card); color: var(--ink); accent-color: var(--sky-800); }
@media (max-width: 480px) { .ol-filters label { margin-left: 0; width: 100%; } .ol-filters select { flex: 1; } }
.ol-grid .ol-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; box-shadow: var(--shadow-1); gap: 10px; }
.ol-grid .ol-card.feat { border-color: var(--sky-700); box-shadow: var(--shadow-2); }
.ol-card img { border-radius: var(--r-s); height: auto; aspect-ratio: 400 / 170; }
.ol-card .ol-price { color: var(--sky-900); font-variant-numeric: tabular-nums; }
.ol-card .ol-price small { color: var(--ink-2); font-weight: 500; }
.pg-ol-note { margin: 0; font-size: var(--fs-small); }
.ol-card .ol-title { font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.ol-card .ol-meta { gap: 6px; font-size: 0.8125rem; }
.ol-card .ol-tag { background: var(--paper-2); color: var(--ink-2); padding: 2px 10px; font-weight: 600; }
.ol-card .ol-tag.f, .ol-card .ol-tag.m { background: var(--sky-100); color: var(--sky-900); }
.ol-card .ol-cta a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--sky-700); border-radius: var(--r-s); color: var(--sky-800); font-weight: 700; }
.ol-card .ol-cta a:hover { background: var(--sky-100); }
.ol-card .ol-cta a.wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.ol-card .ol-cta a.wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
.pg-ext { width: 16px; height: 16px; flex-shrink: 0; }
.ol-empty { color: var(--ink-2); padding: 32px 0; text-align: center; }
.pg-ol-ask { margin-top: 28px; }

/* ---------- blog index: a list you can scan ---------- */
.blog-list { gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.blog-list-item { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: start; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.blog-list-item:hover { box-shadow: none; }
.blog-list-cover { width: auto; aspect-ratio: 1; border-radius: var(--r-s); }
.blog-list-body { padding: 0; min-width: 0; }
.blog-list-title { font-size: 1.0625rem; margin-bottom: 4px; overflow-wrap: anywhere; }
.blog-list-meta { margin: 0 0 6px; gap: 4px 12px; }
.blog-list-meta .tag:nth-child(n+5) { display: none; }
.blog-list-desc { font-size: var(--fs-small); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read-more { font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.blog-list-item:not(:has(.blog-list-cover)) { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .blog-list-item { grid-template-columns: 168px 1fr; gap: 24px; padding: 22px 0; flex-direction: unset; }
  .blog-list-cover { width: auto; aspect-ratio: 3 / 2; }
  .blog-list-title { font-size: var(--fs-h3); }
  .blog-list-desc { font-size: 1rem; -webkit-line-clamp: 2; }
}
.pg-empty { color: var(--ink-2); padding: 40px 0; text-align: center; }

/* ---------- blog post ---------- */
.blog-post-wrap { padding-bottom: 8px; }
.blog-post { max-width: 70ch; }
.blog-post-cover { border-radius: var(--r-m); box-shadow: var(--shadow-1); }
.blog-post-cover img { aspect-ratio: 16 / 10; max-height: 420px; }
.blog-post-header h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); overflow-wrap: anywhere; }
.blog-post-meta { gap: 6px 14px; margin-bottom: 0; }
.blog-post .blog-lang-notice { display: none; }
.blog-lang-translate-hint { display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; border-radius: var(--r-s); }
.blog-post-body { color: var(--ink); line-height: 1.75; overflow-wrap: break-word; }
@media (min-width: 900px) { .blog-post-body { font-size: 1.125rem; } }
.blog-post-body h2 { line-height: 1.2; padding-top: 0.2em; }
.blog-post-body h3 { color: var(--sky-900); }
.blog-post-body a { color: var(--amber-800); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.blog-post-body a:hover { color: var(--sky-900); text-decoration-thickness: 2px; }
.blog-post-body img { max-width: 100%; height: auto; box-shadow: var(--shadow-1); }
.blog-post-body table { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--card); border-collapse: separate; border-spacing: 0; }
.blog-post-body th { white-space: nowrap; }
.blog-post-body blockquote { border: 1px solid var(--line); color: var(--ink-2); }
.blog-post-cta { box-shadow: var(--shadow-2); }
.blog-post-cta .wa-btn-hero { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.pg-small-title { font-size: var(--fs-h3); }
.post-houses-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.post-houses-list img { height: auto; aspect-ratio: 4 / 3; }

/* ---------- 404 ---------- */
.pg-nf { max-width: 720px; }
.pg-plane { display: block; width: 160px; height: auto; margin-bottom: 20px; color: var(--sky-700); }
.nf-links { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nf-links a { display: flex; width: 100%; }
.pg-nf .pg-small-title { margin-top: 36px; }
.pg-nf ul:not(.nf-links) { display: grid; gap: 2px; margin-top: 8px; }
.pg-nf ul:not(.nf-links) a { display: inline-flex; align-items: center; min-height: 44px; }
