@font-face { font-family: 'Noto Sans'; src: url('../fonts/noto-sans-regular.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('../fonts/noto-sans-bold.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Noto Serif'; src: url('../fonts/noto-serif-regular.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Serif'; src: url('../fonts/noto-serif-italic.woff') format('woff'); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  --ink: #162536;
  --dim: #42576a;
  --navy: #102e46;
  --blue: #176481;
  --wash: #e4f1f6;
  --white: #fff;
  --paper: #f2f6fa;
  --line: #d5e1eb;
  --editorial: 'Noto Serif', Georgia, serif;
  --size-h1: clamp(1.875rem, 1.45rem + 1.8vw, 3rem);
  --size-h2: clamp(1.4375rem, 1.2rem + 1.05vw, 2rem);
  --size-h3: clamp(1.1875rem, 1.05rem + .55vw, 1.5rem);
  --size-h4: clamp(1.0625rem, 1rem + .32vw, 1.25rem);
  --size-text: 1rem;
  --size-note: .875rem;
  font-family: 'Noto Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: var(--size-text);
  line-height: 1.6;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, select, input, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
a { color: inherit; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid #146f9d; outline-offset: 4px; }
#gia-nha, #bo-loc { scroll-margin-top: 20px; }
.skip { position: absolute; z-index: 9; left: 12px; top: 12px; background: white; padding: 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.top { height: 75px; background: #f9fcff; border-bottom: 1px solid #d6e3ec; }
.top-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; justify-self: start; width: min(179px, 100%); }
.brand img { display: block; width: 100%; height: auto; filter: grayscale(.27) hue-rotate(57deg) brightness(.78) contrast(1.82); mix-blend-mode: multiply; }
.mobile-toggle { display: none; }
.top nav, .admin-nav { display: flex; align-items: center; gap: clamp(14px,2vw,28px); }
.top nav a, .admin-nav a { text-decoration: none; color: var(--dim); font-size: .94rem; font-weight: 640; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current], .admin-nav a[aria-current] { color: var(--blue); text-decoration: underline; text-underline-offset: 7px; }
.header-contact { border: 1px solid #adc5d5; color: #124761; border-radius: 5px; padding: 9px 15px; font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-contact:hover { background: #e6f1f8; }
.hero { position: relative; min-height: 394px; background: #102e46; overflow: clip; isolation: isolate; color: white; }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 37%; background: #365d76 url('../media/long-bien.webp') 50% 45% / cover no-repeat; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#102e46 31%, #102e46f0 43%, #102e4656 61%, #102e4608 78%); }
.hero-inner { padding: 50px 0 83px; }
.kicker { font-size: .8125rem; font-weight: 760; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); }
h1, h2, .property-title, .article-card h3 { font-family: var(--editorial); font-weight: 500; }
h1 { font-size: var(--size-h1); line-height: 1.25; letter-spacing: -.032em; }
h2 { font-size: var(--size-h2); line-height: 1.3; letter-spacing: -.024em; }
h3 { font-size: var(--size-h3); line-height: 1.35; letter-spacing: -.015em; }
h4 { font-size: var(--size-h4); line-height: 1.4; }
.homepage { position: relative; z-index: 1; }
.filter-box { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 16px 19px 12px; }
.filter-box.overlap { margin-top: -46px; box-shadow: 0 10px 24px #19334912; }
.filter-fields, .extra-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 10px; align-items: end; }
.filter-box label, .admin-fields label, .sort-label { display: block; color: #324b60; font-size: .88rem; font-weight: 680; }
select, input:not([type='checkbox']), textarea { width: 100%; min-width: 0; min-height: 42px; margin-top: 4px; padding: 8px 10px; border: 1px solid #becfdd; border-radius: 5px; background: #fff; color: var(--ink); font-size: .94rem; font-weight: 480; }
select { appearance: none; padding-right: 24px; background: linear-gradient(45deg,transparent 50%,#395d76 50%) calc(100% - 14px) center/5px 5px no-repeat, linear-gradient(135deg,#395d76 50%,transparent 50%) calc(100% - 9px) center/5px 5px no-repeat,#fff; }
.button { border: 1px solid var(--blue); border-radius: 5px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 42px; padding: 8px 16px; text-decoration: none; background: var(--blue); color: white; font-size: .91rem; font-weight: 680; white-space: nowrap; }
.button:hover { background: var(--navy); border-color: var(--navy); }
.button.outline { background: transparent; border-color: #adc3d4; color: var(--blue); }
.button.outline:hover { background: #e7f2f8; border-color: #6995af; }
.spyglass { display: inline-block; position: relative; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; margin-right: 2px; }
.spyglass::after { content: ''; position: absolute; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); left: 8px; top: 9px; }
.filter-foot { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: .86rem; color: var(--blue); font-weight: 630; }
.filter-foot details { flex: 1; }
.extra-fields { padding: 9px 0 2px; }
.preset-line { display: flex; flex-wrap: wrap; gap: 6px 9px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.preset-line a { background: #e7f2f8; color: #24516d; border: 1px solid #dce9f1; border-radius: 20px; padding: 4px 10px; font-size: .85rem; font-weight: 640; text-decoration: none; }
.preset-line a:hover { background: var(--wash); }
.inventory, .editorial { padding: 29px 0 35px; }
.section-line { display: flex; gap: 14px; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.section-line .kicker { margin-bottom: 5px; }
.property-grid, .article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.property-card, .article-card { border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; min-width: 0; }
.property-card:hover, .article-card:hover { border-color: #8aafc4; }
.card-image, .article-image { display: block; position: relative; }
.property-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; overflow: hidden; background-color: #ccdce8; }
.card-body { padding: 12px 13px 10px; }
.card-line, .card-tail { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-line span { color: var(--blue); font-size: .88rem; font-weight: 750; }
.card-line strong { font-size: 1.3rem; font-weight: 720; letter-spacing: -.034em; white-space: nowrap; }
.property-title { font-size: var(--size-h4); line-height: 1.4; letter-spacing: -.015em; margin-top: 4px; }
.property-title a, .article-card h3 a { text-decoration: none; }
.property-title a:hover, .article-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.house-spec { display: flex; flex-wrap: wrap; gap: 4px 11px; margin: 8px 0 9px; color: var(--dim); font-size: var(--size-note); }
.house-spec span + span::before { content: '·'; margin-right: 8px; color: #5d7e96; }
.card-tail { border-top: 1px solid var(--line); padding-top: 8px; color: var(--blue); font-size: .82rem; font-weight: 660; }
.market { display: grid; grid-template-columns: minmax(230px, .85fr) minmax(0, 1.6fr); gap: 25px; color: white; background: var(--navy); border-radius: 10px; padding: 24px; }
.market .kicker { color: #cce7f6; margin-bottom: 6px; }
.market-intro > p:not(.kicker) { margin-top: 7px; color: #dcebf7; }
.market-value { display: grid; gap: 0; margin-top: 18px; }
.market-value span, .market-value small { color: #ccdeeb; }
.market-value strong { color: #f4faff; font-family: var(--editorial); font-size: clamp(1.45rem,3vw,2.4rem); font-weight: 500; line-height: 1.28; }
.market-chart { min-width: 0; }
.chart-unit { margin: 0 0 2px 5px; color: #cee3f1; font-size: .8125rem; }
.market canvas { display: block; width: 100%; height: 182px; }
.chart-empty { margin: 20px 0; }
.article-card > div { padding: 12px 14px 15px; }
.article-card h3 { margin-top: 4px; }
.article-card p:not(.kicker) { margin-top: 6px; color: var(--dim); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link-list a:hover { color: var(--blue); }
.footer { background: #e8f1f8; margin-top: 22px; border-top: 1px solid var(--line); color: #325067; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: minmax(230px,1.2fr) repeat(3,minmax(0,1fr)); gap: 24px; padding: 27px 0 23px; }
.footer h2 { color: var(--navy); font: 700 1rem/1.35 'Noto Sans', system-ui, sans-serif; margin-bottom: 7px; }
.footer .link-list a { display: inline-block; padding-block: 4px; text-decoration: none; }
.footer .link-list a:hover { text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-slogan { color: var(--navy); font-weight: 700; line-height: 1.45; }
.footer-contact { display: grid; gap: 3px; font-style: normal; }
.footer-contact a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid #cbdce8; padding-block: 11px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px; align-items: center; font-size: var(--size-note); }
.footer-bottom .link-list { display: flex; flex-wrap: wrap; gap: 2px 17px; }
.footer-bottom .link-list a { text-decoration: underline; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 16px; }
.sitemap-grid > * { border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 17px 19px; }
.sitemap-grid :is(h2,h3) { color: var(--navy); font: 700 1.0625rem/1.35 'Noto Sans', system-ui, sans-serif; margin-bottom: 8px; }
.sitemap-grid .link-list a { color: #28506a; display: inline-block; padding-block: 4px; }
.sitemap-listings { margin-top: 29px; }
.sitemap-listings > h2 { margin: 7px 0 13px; }
.subpage { padding: 15px 0 28px; min-height: 75vh; }
.crumb { font-size: .86rem; color: var(--dim); margin-bottom: 17px; }
.crumb a { text-underline-offset: 3px; }
.crumb span[aria-hidden] { margin: 0 5px; color: #5f768a; }
.search-intro { margin-bottom: 18px; }
.search-intro h1, .detail h1, .article-head h1 { margin: .375rem 0 .625rem; }
.search-intro p:not(.kicker), .article-head p:not(.kicker), .result-caption { color: var(--dim); }
.sort-label { min-width: 151px; }
.empty { display: flex; align-items: center; justify-content: space-between; gap: 15px; background: white; border: 1px solid var(--line); border-radius: 9px; padding: 20px; }
.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 15px; }
.detail-price { display: grid; white-space: nowrap; margin-bottom: 7px; }
.detail-price strong { font-family: var(--editorial); font-size: 2.6rem; line-height: 1.15; }
.detail-price span { font-size: .88rem; color: var(--dim); }
.detail-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(230px,1fr); gap: 19px; align-items: start; }
.feature-img { aspect-ratio: 1.75; border-radius: 9px; }
.detail-panel, .detail-copy, .video-section { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 12px; }
.detail-copy { margin-top: 13px; }
.detail-panel h2, .detail-copy h2, .video-section h2, .admin-content h2 { font-size: var(--size-h3); margin: 4px 0 10px; }
.detail-panel p:not(.kicker), .detail-copy p { color: var(--dim); }
.contact-panel p { margin-bottom: 9px; }
.contact-panel a { margin-top: 4px; }
.specs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 12px 0 18px; }
.specs div { background: #e8f2f9; padding: 7px 9px; border-radius: 5px; }
.specs dt, .benchmark dt { color: var(--dim); font-size: .875rem; }
.specs dd, .benchmark dd { font-weight: 680; }
.benchmark div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.benchmark { margin: 8px 0; }
.multiline { white-space: pre-line; }
.video-section video, .video-section iframe { width: 100%; aspect-ratio: 16/9; border: 0; background: var(--navy); }
.thumbnails { display: flex; overflow: auto; gap: 6px; margin-top: 7px; padding: 4px; }
.thumbnails button { width: 85px; border: 1px solid #acc4d5; background: white; border-radius: 4px; padding: 2px; }
.article-page article { max-width: 858px; margin-inline: auto; }
.article-head { margin-bottom: 16px; }
.article-hero { border-radius: 8px; aspect-ratio: 2.1; }
.article-content { max-width: 650px; margin: 22px auto 12px; }
.article-content section + section { margin-top: 16px; }
.article-content h2 { margin-bottom: 8px; }
.article-content a { margin-top: 15px; }
.original-guides { margin-top: 20px; }
.original-guides h2 { margin-bottom: 8px; }
.article-head .article-byline { color: var(--dim); font-size: var(--size-note); }
.admin-nav { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 13px; }
.admin-content { border: 1px solid var(--line); border-radius: 8px; padding: 15px 19px; background: #fff; }
.admin-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; align-items: start; }
.admin-fields .full { grid-column: 1 / -1; }
.admin-fields .check { display: flex; align-items: center; gap: 6px; min-height: 40px; }
input[type='checkbox'] { accent-color: var(--blue); width: 16px; height: 16px; }
.admin-fields small { color: var(--dim); display: block; margin: 4px 0; font-size: .82rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 12px; }
.admin-list > div { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 55px; padding: 6px 0; }
.admin-list small { display: block; font-size: .82rem; color: var(--dim); }
.filter-admin { display: grid; gap: 8px; }
.filter-admin fieldset { border: 1px solid var(--line); border-radius: 5px; }
.filter-admin legend { font-weight: 700; padding: 0 6px; }
#admin-message:not(:empty) { margin-top: 10px; }
#admin-message[data-error="true"] { color: #982b1b; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 42px); }
  .top nav { gap: 14px; }
  .hero { min-height: 365px; }
  .hero-inner { padding-top: 44px; }
  .hero-photo { left: 33%; }
  .hero::after { background: linear-gradient(90deg,#102e46 27%,#102e46d8 45%,#102e4622 80%); }
  .property-grid, .article-grid { gap: 10px; }
  .card-body { padding-inline: 9px; }
  .house-spec { gap: 4px 5px; }
  .house-spec span + span::before { margin-right: 4px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 28px); }
  .hero { min-height: 340px; }
  .hero-photo { left: 15%; }
  .hero::after { background: linear-gradient(90deg,#102e46 0%,#102e46ea 23%,#102e46ac 62%,#102e4620); }
  .hero-inner { padding-top: 42px; }
  .filter-box { padding: 10px; }
  .filter-fields, .extra-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .section-line { align-items: center; }
  .property-grid, .article-grid { grid-template-columns: 1fr; }
  .property-photo { aspect-ratio: 1.8; }
  .market, .detail-grid { grid-template-columns: 1fr; gap: 14px; }
  .market { padding: 14px; }
  .market canvas { height: 140px; }
  .detail-heading { align-items: start; flex-direction: column; gap: 2px; }
  .detail-price strong { font-size: var(--size-h1); line-height: 1.25; }
  .admin-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
[hidden] { display: none !important; }
button:disabled { cursor: default; opacity: .55; }
.compare-pick { border: 1px solid #abc4d5; border-radius: 4px; color: var(--blue); background: #fff; padding: 4px 7px; font-size: .81rem; font-weight: 680; white-space: nowrap; }
.compare-pick:hover, .compare-pick[aria-pressed='true'] { background: var(--wash); border-color: #6e9bb4; }
.comparison-tray { position: fixed; z-index: 4; bottom: 13px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 20px); display: flex; align-items: center; gap: 10px; padding: 6px 9px; border: 1px solid #a1bcce; border-radius: 7px; background: #f4faff; box-shadow: 0 4px 18px #102e4632; }
.comparison-tray .button { min-height: 34px; }
.comparison-tray span { font-size: .88rem; font-weight: 700; }
body:has(.comparison-tray:not([hidden])) .footer { padding-bottom: 70px; }
.compare-table { overflow: auto; margin: 12px 0; }
.compare-table table { width: 100%; min-width: 530px; border-collapse: collapse; text-align: left; background: white; }
.compare-table th, .compare-table td { padding: 10px; border: 1px solid var(--line); min-width: 115px; }
.compare-table thead { background: #e1eef6; }
.compare-table tbody th { background: #f0f7fb; font-size: .91rem; }
.compare-empty { margin-bottom: 8px; }

.demo-badge { display: inline-block; background: #e0eef8; border: 1px solid #cfdeeb; color: #224d65; padding: 3px 8px; border-radius: 4px; font-size: .875rem; font-weight: 675; }
.market .demo-badge { margin-bottom: 7px; }
.detail-heading .demo-badge { margin-bottom: 7px; }
.journey-intro { margin-bottom: 21px; }
.journey-intro p { max-width: 65ch; }
.journey-intro .demo-badge + h1 { margin-top: 8px; }
.journey { max-width: 1050px; }
.journey-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(215px,1fr); gap: 18px; align-items: start; }
.journey-card, .journey-aside { padding: clamp(13px,2vw,24px); border: 1px solid var(--line); border-radius: 9px; background: white; }
.journey-aside { background: #eaf4fa; }
.journey-aside h2, .estimate-empty h2, .form-confirmation h2 { font-size: var(--size-h3); }
.journey-aside p, .form-confirmation p, .estimate-empty p { margin: 8px 0 10px; color: var(--dim); }
.journey-aside a, .table-link, .estimate-evidence-table a { color: var(--blue); font-weight: 650; text-underline-offset: 4px; }
.journey-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: end; }
.journey-fields label { display: block; font-size: .93rem; font-weight: 650; }
.journey-fields :is(input,select,textarea) { min-height: 45px; font-size: 1rem; }
.journey-fields .full { grid-column: 1/-1; }
.journey-form .form-actions { padding-top: 17px; }
.optional { color: var(--dim); font-size: .86rem; font-weight: 450; }
.form-note { margin-bottom: 12px; color: var(--dim); }
.consignment-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(18px,3.5vw,48px);
  padding: clamp(18px,3.5vw,44px);
  border-radius: 14px;
  background: linear-gradient(100deg,#102e46 18%,#102e46f0 46%,#102e466e),
    var(--navy) url('../media/long-bien.webp') right center / cover no-repeat;
}
.consignment-intro { color: white; }
.consignment-intro h1 { max-width: 17ch; }
.consignment-intro p { margin-top: 12px; max-width: 49ch; color: #ecf5fb; }
.consignment-intro .consignment-lead { font-size: clamp(1.0625rem,1.75vw,1.375rem); font-weight: 700; color: #d8eefb; }
.consignment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; }
.consignment-intro .consignment-actions { margin-top: 21px; }
.consignment-intro .button { background: #e7f4fc; border-color: #e7f4fc; color: var(--navy); }
.consignment-intro .button:hover { background: white; }
.consignment-intro :focus-visible { outline-color: #d4eeff; }
.consignment-call { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 42px; color: white; font-weight: 700; text-underline-offset: 4px; font-size: .9375rem; }
.consignment-call span { white-space: nowrap; }
.consignment-form-slot { min-width: 0; scroll-margin-top: 16px; }
.consignment-form-slot h2 { font-size: var(--size-h3); }
.consignment-form-slot .form-note { margin-top: 4px; font-size: var(--size-note); }
.consignment-section { margin-top: clamp(27px,4vw,45px); }
.consignment-section > h2 { margin-bottom: 13px; color: var(--navy); }
.consignment-section h3 { color: var(--navy); font-size: var(--size-h4); }
.consignment-section p { margin-top: 6px; color: var(--dim); }
.consignment-section a { color: var(--blue); text-underline-offset: 4px; }
.consignment-needs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.consignment-process { background: white; border: 1px solid var(--line); border-radius: 12px; padding: clamp(17px,3vw,36px); }
.consignment-process ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 34px; margin: 0; padding-inline-start: 1.375rem; }
.consignment-process li { padding-inline-start: 5px; }
.consignment-process li::marker { color: var(--blue); font-weight: 700; }
.consignment-local { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 18px 30px; align-items: center; }
.consignment-local p { max-width: 68ch; }
.consignment-reference { background: var(--wash); }
.consignment-reference .link-list { margin-top: 9px; }
.consignment-reference li + li { margin-top: 5px; }
.consignment-questions details { padding: 11px 14px; background: white; border: 1px solid var(--line); border-radius: 7px; }
.consignment-questions details + details { margin-top: 7px; }
.consignment-questions summary { color: var(--navy); font-weight: 700; }
.consignment-questions details p { max-width: 76ch; }
.consignment-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; margin-top: clamp(27px,4vw,45px); padding: clamp(16px,3vw,35px); border-radius: 12px; background: var(--wash); }
.consignment-contact h2 { font-size: var(--size-h3); color: var(--navy); }
.consignment-contact p { margin-top: 5px; color: var(--dim); }
@media (max-width: 780px) {
  .consignment-hero, .consignment-local { grid-template-columns: 1fr; }
  .consignment-hero { background: linear-gradient(155deg,#102e46,#205374); }
  .consignment-intro h1 { max-width: none; }
  .consignment-intro .consignment-actions { margin-top: 14px; }
}
@media (max-width: 650px) {
  .consignment-needs, .consignment-process ol { grid-template-columns: 1fr; }
}
.price-table { width: 100%; border-collapse: collapse; text-align: left; }
.price-table caption { text-align: left; margin-bottom: 10px; color: var(--dim); }
.price-table :is(th,td) { padding: 10px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead { background: #eaf4fa; color: #224761; }
.price-table small { display: block; color: var(--dim); font-size: .86rem; margin-top: 2px; font-weight: normal; }
.price-table td strong { white-space: nowrap; }
.table-link { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; }
.data-note { margin-top: 12px; color: var(--dim); font-size: .92rem; }
.market-history { margin-top: 17px; }
.estimate-evidence > p, .estimate-benchmark > p { color: var(--dim); margin-top: 8px; }
.estimate-evidence-table { margin-top: 14px; }
.estimate-evidence-table thead th:first-child { width: 52%; }
.estimate-evidence-table :is(th,td):last-child { text-align: right; }
.estimate-evidence-table td strong { white-space: normal; }
.estimate-evidence { margin-top: 16px; }
.estimate-benchmark { margin-bottom: 18px; }
.estimate-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,190px),1fr)); gap: 10px; margin: 12px 0; }
.estimate-metrics > div { padding: 11px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); }
.estimate-metrics dt { color: var(--dim); font-size: var(--size-note); }
.estimate-metrics dd { color: var(--navy); margin-top: 3px; font-size: var(--size-h4); font-weight: 700; font-variant-numeric: tabular-nums; }
.estimate-benchmark .estimate-equation { color: var(--navy); font-weight: 700; }
.estimate-plans > h2 { margin-bottom: 12px; }
.sale-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.sale-option { display: grid; align-content: start; gap: 6px; background: var(--navy); color: #f4faff; padding: clamp(14px,2vw,23px); border: 1px solid var(--navy); border-radius: 9px; }
.sale-option strong { font-family: var(--editorial); font-size: clamp(1.5rem,2.6vw,2rem); line-height: 1.2; font-weight: 500; font-variant-numeric: lining-nums; }
.sale-option p { color: #dfeef7; }
.sale-option .sale-adjustment { font-size: var(--size-note); font-weight: 700; }
.quick-option { background: #eaf4fa; color: var(--navy); border-color: #d5e5f2; }
.quick-option p { color: var(--dim); }
.estimate-net-note { border-top: 1px solid var(--line); padding-top: 10px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.result-actions a, .form-actions a { white-space: normal; text-align: center; }
.purpose-fieldset { min-width: 0; padding: 0; margin: 0 0 14px; border: 0; }
.purpose-fieldset legend { padding: 0; margin-bottom: 6px; font-size: .95rem; font-weight: 700; }
.purpose-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.purpose-options .purpose-choice { display: flex; gap: 8px; align-items: flex-start; padding: 10px 11px; border: 1px solid #c7d7e4; border-radius: 8px; cursor: pointer; }
.purpose-choice:has(input:checked) { border-color: #387a9a; background: #eaf4fa; box-shadow: inset 0 0 0 1px #387a9a; }
.purpose-choice input[type=radio] { flex: 0 0 17px; width: 17px; height: 17px; min-height: 0; margin: 3px 0 0; accent-color: var(--blue); }
.purpose-choice strong { display: block; font-size: .95rem; line-height: 1.35; color: var(--navy); }
.purpose-choice small { display: block; color: var(--dim); font-size: var(--size-note); line-height: 1.5; font-weight: 450; margin-top: 4px; }
.smart-filters .filter-fields { grid-template-columns: repeat(3,minmax(0,1fr)) auto; }
.rank-reason { padding: 8px 9px; margin-bottom: 10px; color: #224d65; background: #e8f4fa; border-left: 2px solid #78a6bd; font-size: var(--size-note); }
@media (max-width: 650px) {
  .purpose-options, .journey-layout, .sale-options { grid-template-columns: 1fr; }
  .smart-filters .filter-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journey-fields { gap: 9px; }
  .journey-fields select { font-size: .92rem; }
  .price-table :is(th,td) { padding: 7px 4px; font-size: .875rem; }
  .price-table td small { font-size: .79rem; }
  .inventory .section-line { align-items: start; }
  .inventory .sort-label { min-width: 116px; }
}
@media (max-width: 380px) {
  .journey-fields { grid-template-columns: 1fr; }
  .result-actions .button { width: 100%; }
  .price-table { table-layout: fixed; }
  .price-table :is(td strong,.table-link) { white-space: normal; }
  .price-table :is(th,td) { overflow-wrap: anywhere; }
}

.top nav .nav-sell { color: var(--navy); font-weight: 780; }
.context-filter { min-width: 0; border: 0; margin: 0; padding: 0; }
.buyer-hero { min-height: 0; }
.buyer-hero .hero-photo { left: 36%; background-position: 50% 47%; }
.buyer-hero .hero-inner { padding-block: 27px 24px; }
.buyer-hero h1 { margin-bottom: 14px; }
.buyer-hero h1 em { color: #c8e8f6; font-weight: 400; }
.home-filters { color: var(--ink); box-shadow: 0 8px 25px #071d3652; }
.home-filters .purpose-options { display: flex; flex-wrap: wrap; }
.home-filters .purpose-options .purpose-choice { min-height: 39px; align-items: center; padding: 6px 11px; }
.home-filters .purpose-choice input { margin-top: 0; }
.smart-filters select, .smart-filters .search-button { min-height: 44px; }
.smart-filters select { text-overflow: ellipsis; }
.home-inventory { padding: 29px 0 36px; }
.home-inventory .section-line { align-items: center; margin-bottom: 12px; }
.home-group + .home-group { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.home-group-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 13px; }
.home-group-head h3 { font-family: var(--editorial); color: var(--navy); font-weight: 500; }
.home-group-head .button { min-height: 38px; }
.home-group .property-card { display: flex; flex-direction: column; }
.home-group .card-body { display: flex; flex: 1; flex-direction: column; }
.mobile-groups { display: none; }
.seller-tools { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); border: 1px solid #cbdce8; background: #eaf4fa; border-radius: 11px; overflow: hidden; }
.seller-tools-copy { padding: clamp(19px,3.4vw,39px); }
.seller-tools-copy p { margin-top: 8px; color: var(--dim); max-width: 54ch; }
.seller-tools-copy .seller-slogan { color: var(--navy); font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
.seller-tools-photo { background: #8da8b6 url('../media/mau-nha-2.jpg') center / cover no-repeat; }
.seller-tools-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 1150px) {
  .top { height: auto; }
  .top-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; padding: 7px 0; }
  .top nav { grid-row: 2; grid-column: 1/-1; }
}
@media (max-width: 650px) {
  .buyer-hero .hero-inner { padding-block: 19px 15px; }
  .buyer-hero .hero-photo { left: 24%; }
  .home-filters .purpose-fieldset { margin-bottom: 10px; }
  .home-filters .purpose-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .home-filters .purpose-options .purpose-choice { min-height: 45px; gap: 4px; padding: 5px; }
  .home-filters .purpose-choice input { width: 13px; height: 13px; flex-basis: 13px; }
  .home-filters .purpose-choice strong { font-size: .875rem; }
  .home-inventory { padding-block: 19px 25px; }
  .home-group + .home-group { margin-top: 16px; padding-top: 14px; }
  .home-group-head .button { padding-inline: 10px; }
  .home-group .property-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(83%,290px); overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 8px; margin-inline: -4px; }
  .home-group .property-card { scroll-snap-align: start; }
  .mobile-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; margin-bottom: 13px; }
  .mobile-groups a { display: grid; place-items: center; min-height: 47px; text-align: center; line-height: 1.18; padding: 5px; color: var(--navy); background: #e6f1f8; border: 1px solid var(--line); border-radius: 5px; font-size: .875rem; font-weight: 670; text-decoration: none; }
  .mobile-groups a:hover { text-decoration: underline; }
  .seller-tools { grid-template-columns: 1fr; }
  .seller-tools-photo { display: none; }
}

.filter-foot { position: relative; display: block; margin-top: 10px; }
.filter-foot > a { position: absolute; inset-inline-end: 0; top: 4px; }
.deep-filters summary { width: fit-content; min-height: 31px; padding-block: 4px; }
.deep-filters[open] .extra-fields { border-top: 1px solid var(--line); }
.home-group-head p { margin-top: 5px; max-width: 64ch; color: var(--dim); font-size: .95rem; }
.home-property .card-body { gap: 4px; padding: 13px 15px 15px; }
.home-property .property-title, .home-property .house-spec { margin: 0; }
.home-property .house-spec { font-size: .9rem; line-height: 1.4; padding-block: 4px 7px; }
.home-price { color: var(--navy); font-size: 1.31rem; line-height: 1.2; font-weight: 770; letter-spacing: -.025em; }
.card-media { position: relative; }
.price-tag { position: absolute; inset-inline-start: 9px; z-index: 1; padding: 4px 8px;
  border-radius: 5px; font-size: .875rem; line-height: 1.35; font-weight: 700; pointer-events: none; }
.price-tag { bottom: 9px; max-width: calc(100% - 18px); border: 1px solid #d4e1eb; background: #f3f7fa; color: #294860; }
.price-tag.favorable { border-color: #a9dae9; background: #e3f6fc; color: #104b61; }
.recommendation-ribbon {
  position: absolute; inset-block-start: 10px; inset-inline-start: 0; z-index: 1;
  padding: 5px 19px 5px 10px; background: var(--ribbon-color,#1a4865); color: white;
  clip-path: polygon(0 0,100% 0,calc(100% - 8px) 50%,100% 100%,0 100%);
  font-size: .875rem; line-height: 1.4; font-weight: 700; pointer-events: none;
}
.top-property[data-rank="1"] { --pick-tint: #cfe3f1; --pick-base: #e0eef7; --ribbon-color: #1a4865; }
.top-property[data-rank="2"] { --pick-tint: #e2eef6; --pick-base: #edf5fa; --ribbon-color: #2b5d79; }
.top-property[data-rank="3"] { --pick-tint: #eef5fa; --pick-base: #fff; --ribbon-color: #3e6e87; }
.top-property { background: linear-gradient(180deg,var(--pick-tint) 38%,var(--pick-base)); color: var(--ink); border-color: #b8cfdf; }
.top-property:hover, .top-property:focus-within { border-color: #5489a6; }
.top-property .card-tail { border-color: #b8cfdf; }
.top-property .rank-reason { background: #ffffffa6; color: #294860; border-color: #719db6; }
.top-property .card-image:focus-visible { outline-offset: -5px; }
.search-results .section-line { margin-bottom: .75rem; }
.result-caption { margin-top: .5rem; }
.result-benchmark { margin-bottom: 1rem; font-size: var(--size-note); color: var(--dim); }
.search-results .property-card { display: flex; flex-direction: column; }
.search-results .card-body { display: flex; flex: 1; flex-direction: column; }
.search-results .card-tail { margin-top: auto; }
.featured-results { padding: clamp(12px,2vw,24px); background: #dfedf6; border: 1px solid #a6c5db; border-top: 4px solid #2b6488; border-radius: 12px; }
.featured-results h3, .remaining-results-title { color: var(--navy); margin-bottom: .75rem; }
.featured-grid { gap: clamp(10px,1.6vw,19px); }
.featured-results .property-photo { aspect-ratio: 1.48; }
.featured-results .property-card { box-shadow: 0 4px 12px #102e4624; }
.featured-results .property-card:hover, .featured-results .property-card:focus-within { box-shadow: 0 5px 16px #102e4645; }
.featured-results .card-body { padding: 13px 14px 11px; }
.featured-results .card-line strong { font-size: clamp(1.42rem,2.4vw,1.86rem); }
.featured-results .price-tag { background: white; }
.featured-results .price-tag.favorable { background: #d2f1fe; color: #103f5c; }
.featured-results .property-title, .search-results .property-title { margin-bottom: 0; }
.featured-scroll-note { display: none; }
.remaining-results-title { margin-top: 26px; }
@media (max-width: 650px) {
  .search-results .section-line { flex-wrap: wrap; }
  .featured-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; padding: 4px 4px 9px; margin: -4px; scroll-padding-inline: 4px; scroll-snap-type: x mandatory; }
  .featured-grid > .property-card { scroll-snap-align: start; }
  .featured-grid:has(> :only-child) { grid-auto-columns: 100%; }
  .featured-scroll-note { display: block; color: var(--dim); font-size: var(--size-note); margin-bottom: .625rem; }
}
.seller-market-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 660; text-underline-offset: 4px; }
@media (max-width: 650px) {
  .home-inventory .section-line .demo-badge { white-space: nowrap; }
  .home-group-head { gap: 8px; }
  .home-group-head p { font-size: .9rem; }
  .home-group-head .button { min-height: 42px; }
  .home-property .card-body { padding-inline: 11px; }
}

.catalog-layout { display: grid; gap: 18px; align-items: start; }
.catalog-sidebar { padding: 15px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.catalog-sidebar h2 { font: inherit; font-weight: 700; margin-bottom: 7px; }
.catalog-category-links { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-category-links a { display: flex; align-items: center; min-height: 36px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--wash); color: var(--navy); font-weight: 640; font-size: .9rem; text-decoration: none; }
.catalog-category-links a:hover { border-color: var(--blue); }
.catalog-category-links a[aria-current] { background: var(--navy); border-color: var(--navy); color: white; }
.catalog-streets { display: none; }
.catalog-inventory { min-width: 0; padding-top: 0; }
@media (min-width: 900px) {
  .catalog-layout { grid-template-columns: minmax(190px,220px) minmax(0,1fr); gap: 24px; }
  .catalog-sidebar { padding: 15px 13px; }
  .catalog-category-links { display: grid; gap: 3px; }
  .catalog-category-links a { background: white; border-color: transparent; }
  .catalog-category-links a:not([aria-current]):hover { background: var(--wash); }
  .catalog-streets { display: block; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
  .catalog-inventory .property-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1050px) {
  .catalog-inventory .property-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.catalog-location { margin: 4px 0; color: var(--dim); font-size: .9rem; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.catalog-guide { margin: -4px 0 16px; }
.catalog-guide a { color: var(--blue); text-underline-offset: 4px; }
.legal-summary { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.comparable-homes > p { margin-bottom: 14px; color: var(--dim); }
.comparable-homes .section-line { flex-wrap: wrap; }
.peer-link { display: inline-block; margin-top: 9px; text-underline-offset: 4px; }
.assessment-note, .assessment-method { font-size: var(--size-note); color: var(--dim); }
.purpose-ratings { list-style: none; padding: 0; margin: 12px 0; border-top: 1px solid var(--line); }
.property-rating { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rating-purpose { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; }
.rating-score { display: flex; align-items: center; gap: 7px; }
.rating-score strong { min-width: 2.35rem; text-align: right; font-variant-numeric: tabular-nums; }
.rating-fit { border-radius: 4px; padding: 1px 5px; color: #145e49; background: #e0f2eb; font-size: .8125rem; font-weight: 700; }
.property-rating small { font-size: var(--size-note); color: var(--dim); }
.star-display { position: relative; color: #a1b4c4; font: 1rem/1.3 Arial,sans-serif; white-space: nowrap; }
.star-display::before { content: '★★★★★'; position: absolute; inset: 0 auto 0 0; width: var(--star-fill); overflow: hidden; color: #946207; }
.assessment-method summary { width: fit-content; color: var(--blue); font-weight: 700; }
.assessment-method ul { margin: 6px 0 0; padding-inline-start: 18px; }
.assessment-method li + li { margin-top: 4px; }
.assessment-benchmark { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.assessment-benchmark h3 { font-size: var(--size-h4); }
.viewing-panel form { display: grid; gap: 10px; margin-top: 10px; }
.viewing-times {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%, 9.5rem),1fr));
  gap: 10px;
}
.viewing-times > label { display: block; min-width: 0; }
.viewing-times input:is([type=date],[type=time]),
.viewing-form-fallback input:is([type=date],[type=time]) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  font-size: max(16px, 1rem);
  line-height: 1.25;
}
.viewing-times input::-webkit-date-and-time-value,
.viewing-form-fallback input::-webkit-date-and-time-value {
  min-height: 1.25em;
  text-align: start;
}
.viewing-panel [role=status]:not(:empty) { color: var(--navy); background: var(--wash); padding: 9px; margin-top: 9px; border-radius: 5px; }
@media (max-width: 1030px) {
  .top nav { gap: 16px; }
}
@media (max-width: 780px) {
  .top-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; padding-block: 8px; }
  .top .brand { width: min(156px, 100%); grid-area: 1 / 1; }
  .mobile-toggle { grid-area: 1 / 3; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding-inline: 10px; border: 1px solid #adc5d5; border-radius: 5px; background: transparent; color: var(--navy); font-size: .875rem; font-weight: 700; }
  .mobile-toggle[aria-expanded="true"] { background: var(--wash); }
  .menu-icon { width: 14px; height: 11px; border-block: 1.5px solid; position: relative; }
  .menu-icon::before { content: ''; position: absolute; inset: calc(50% - 1px) 0 auto; border-top: 1.5px solid; }
  .top nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px 12px; padding-top: 6px; border-top: 1px solid var(--line); }
  .top:has(.mobile-toggle[aria-expanded="false"]:not([hidden])) nav { display: none; }
  .top nav a { display: flex; align-items: center; min-height: 42px; font-size: .875rem; white-space: normal; }
  .header-contact { grid-area: 1 / 2; min-height: 44px; display: inline-flex; align-items: center; padding: 4px 8px; font-size: .875rem; }
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 14px; }
}
@media (max-width: 360px) {
  .header-contact { font-size: .8125rem; padding-inline: 5px; }
  .mobile-toggle { padding-inline: 7px; }
}
@media (max-width: 560px) {
  .footer-brand { grid-column: 1 / -1; }
}
.listing-categories { display: flex; margin: 0 0 18px; }
.listing-categories .button, .listing-categories a { border-color: var(--line); background: var(--wash); }
.admin-nav { flex-wrap: wrap; row-gap: 8px; }

.demo-hero-note { color: #d9edfb; margin-top: 8px; font-weight: 650; font-size: var(--size-note); }
.demo-hero-note span { padding-inline: .25rem; }
.market-filter-fields { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit,minmax(min(100%,145px),1fr)); }
.market-filter-fields label { font-weight: 650; color: var(--dim); font-size: .875rem; }
.market-filter .form-actions { margin-top: .5rem; }
.current-price-table { margin-top: 16px; scroll-margin-top: 16px; }
.current-price-table > h2 { margin-bottom: .5rem; }
.current-price-table .table-link { min-height: 44px; }
.current-price-table + .catalog-guide { margin-top: 16px; }
.market-estimate-action { margin-top: 15px; }
.market-estimate-action .button { white-space: normal; text-align: center; }
.market-method { margin-top: 16px; }
.market-method h3 { margin-top: 1rem; }
.market-method p { margin-top: .25rem; }
.market-directory { margin-top: 16px; }
.market-directory-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 16px 24px; margin-top: 10px; }
.market-directory h3 { margin-bottom: 6px; font-size: var(--size-h4); }
.market-directory .link-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,130px),1fr)); gap: 4px 8px; }
.market-directory a { display: inline-block; color: var(--blue); padding: 4px 0; }
@media (max-width: 650px) {
  .market-directory-grid { grid-template-columns: 1fr; }
}
.result-benchmark a, .listing-price-history summary { color: var(--blue); font-weight: 700; text-underline-offset: .15em; }
.listing-price-history { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 12px 15px; margin-bottom: 14px; }
.listing-price-history[open] summary { margin-bottom: .75rem; }

.wp-entry-content img, .wp-entry-content iframe { max-width:100%; }
.wp-entry-content p { margin:0.6em 0; }
.wp-entry-content figure { margin:1em 0; }
.wp-lead-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.wp-pagination { margin-block:18px; }

/* Crop catalog cards; keep the entire listing gallery image visible. */
body article .card-media img.property-photo,
body .property-card img.property-photo,
body .article-image img.property-photo { object-fit: cover; }
body .detail #featured-photo img.property-photo,
body .detail .thumbnails img.property-photo { object-fit: contain; }
.detail-grid > section, .detail-grid > aside, .detail #featured-photo, .detail .thumbnails {
  min-width: 0;
  max-width: 100%;
}
.detail #featured-photo img, .detail .wp-entry-content img { display: block; max-width: 100%; height: auto; }
.detail .thumbnails { box-sizing: border-box; overflow-x: auto; }
.detail .thumbnails button { flex: 0 0 85px; }
.detail .thumbnails img { max-width: 100%; }
.current-price-table, .estimate-evidence { min-width: 0; overflow-x: auto; }
.nxlb-fit-media img { max-width: 100%; }
@media (max-width: 650px) {
  .detail .detail-grid { grid-template-columns: minmax(0,1fr); }
  .detail .detail-heading > div { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 650px) {
  .viewing-times { grid-template-columns: minmax(0,1fr); }
  .viewing-form-fallback .journey-fields > label:has(> input:is([type=date],[type=time])) {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

/* Keep the result heading clear of the sticky header after applying filters. */
#search-results-title { scroll-margin-top: 100px; }
