/* Libertia property detail. Screen only; document and print styles stay separate. */
@media screen {
  /* Empty SWELL article footers add theme spacing after the final property CTA. */
  #body_wrap.single-lp_property .p-articleFoot:has(> .p-articleMetas.-bottom):not(:has(> :not(.p-articleMetas))):not(:has(> .p-articleMetas.-bottom > *)) {
    margin-block: 0;
    padding-block: 0;
    border-block: 0;
  }

  .single-lp_property {
    --lp-detail-font: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    --lp-detail-ink: var(--lb-ink, #1c1c1c);
    --lp-detail-accent: var(--lb-accent, #0f2540);
    --lp-detail-muted: var(--lb-muted, #526168);
    --lp-detail-line: var(--lb-line, #e3e3e3);
    --lp-detail-paper: var(--lb-paper, #f3f5f7);
  }
  #body_wrap.single-lp_property #content {
    box-sizing: border-box; width: calc(100% - 32px); max-width: 900px; margin: 48px auto 64px; padding: 24px 16px 0;
  }
  #body_wrap.single-lp_property #main_content,
  #body_wrap.single-lp_property .l-mainContent__inner,
  #body_wrap.single-lp_property #main_content .post_content {
    width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0;
  }
  .single-lp_property #main_content .post_content {
    color: var(--lp-detail-ink); font-family: var(--lp-detail-font);
    font-size: 16px; font-weight: 400; line-height: 1.8; letter-spacing: normal;
  }
  .single-lp_property .post_content h1.lp-property-title {
    position: static; width: auto; height: auto; margin: 0 0 24px; padding: 0;
    border: 0; border-radius: 0; background: none; box-shadow: none; text-shadow: none;
    color: var(--lp-detail-ink); font-family: var(--lp-detail-font);
    font-size: 40px; font-style: normal; font-weight: 400;
    line-height: 1.4; letter-spacing: normal; text-align: left; text-wrap: balance; overflow-wrap: anywhere;
  }
  .single-lp_property .post_content h1.lp-property-title .lp-title-phrase { display: inline-block; white-space: nowrap; }
  .single-lp_property .post_content h1.lp-property-title .lp-title-separator { display: inline-block; white-space: nowrap; }
  .single-lp_property .post_content h1.lp-property-title::before,
  .single-lp_property .post_content h1.lp-property-title::after { content: none; }
  .single-lp_property .lp-overview {
    --lp-ink: var(--lb-ink, #1c1c1c); --lp-muted: var(--lb-muted, #526168); --lp-line: var(--lb-line, #e3e3e3); --lp-paper: var(--lb-paper, #f3f5f7);
    min-width: 0; margin: 0 0 48px; padding: 32px;
    border: 1px solid var(--lp-detail-line); border-radius: 16px; background: #fff;
    color: var(--lp-detail-ink); font-family: var(--lp-detail-font); font-weight: 400;
    letter-spacing: normal; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-overview h2.lp-overview__title,
  .single-lp_property .lp-overview h3.lp-overview__heading,
  .single-lp_property .lp-overview .lp-location h3,
  .single-lp_property .lp-overview .lp-document-area h3,
  .single-lp_property .lp-overview .lp-overview__asset-heading {
    position: static; margin: 0 0 24px; padding: 0; border: 0; border-radius: 0;
    background: none; box-shadow: none; color: var(--lp-detail-ink);
    font-family: var(--lp-detail-font); font-size: 24px; font-weight: 400;
    line-height: 1.4; letter-spacing: normal; text-align: left; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-overview h2.lp-overview__title { font-size: 32px; line-height: 1.4; }
  .single-lp_property .lp-overview h3.lp-overview__heading {
    padding-bottom: 14px; border-bottom: 1px solid var(--lp-detail-line);
  }
  .single-lp_property .lp-overview .lp-overview__asset-heading { font-size: 20px; margin-bottom: 12px; }
  .single-lp_property .lp-overview h2.lp-overview__title::before,
  .single-lp_property .lp-overview h2.lp-overview__title::after,
  .single-lp_property .lp-overview h3.lp-overview__heading::before,
  .single-lp_property .lp-overview h3.lp-overview__heading::after,
  .single-lp_property .lp-overview .lp-location h3::before,
  .single-lp_property .lp-overview .lp-location h3::after,
  .single-lp_property .lp-overview .lp-document-area h3::before,
  .single-lp_property .lp-overview .lp-document-area h3::after,
  .single-lp_property .lp-overview .lp-overview__asset-heading::before,
  .single-lp_property .lp-overview .lp-overview__asset-heading::after { content: none; }

  /* Contain the complete photograph or plan instead of cropping its content. */
  .single-lp_property .lp-overview .lp-drive-gallery { min-width: 0; margin: 24px 0 32px; }
  .single-lp_property .lp-overview .lp-drive-gallery__stage {
    display: grid; place-items: center; height: clamp(240px, 45vw, 520px); border: 1px solid var(--lp-detail-line);
    border-radius: 12px; background: var(--lp-detail-paper);
  }
  #body_wrap #main_content .lp-overview .lp-drive-gallery__stage > a,
  #body_wrap #main_content .lp-overview .lp-drive-gallery__stage > a > picture {
    display: flex; width: 100%; height: 100%; min-width: 0; min-height: 0; align-items: center; justify-content: center;
  }
  #body_wrap #main_content .lp-overview img.lp-drive-gallery__main-image {
    display: block; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important;
    min-width: 0 !important; min-height: 0 !important; margin: 0; object-fit: contain; object-position: center; border-radius: 0;
  }
  .single-lp_property .lp-overview .lp-drive-gallery__thumbs {
    gap: 12px; margin: 12px 0 0; padding: 4px 3px 10px; scroll-padding-inline: 4px;
  }
  .single-lp_property .lp-overview .lp-drive-gallery__thumb {
    flex-basis: 88px; width: 88px; height: 66px; padding: 3px;
    border: 1px solid var(--lp-detail-line); border-radius: 8px; background: #fff; box-shadow: none;
  }
  .single-lp_property .lp-overview .lp-drive-gallery__thumb img { border-radius: 4px; }
  .single-lp_property .lp-overview .lp-drive-gallery__thumb[aria-pressed="true"] {
    padding: 3px; border: 1px solid var(--lp-detail-accent); background: var(--lp-detail-paper); box-shadow: inset 0 0 0 1px var(--lp-detail-accent);
  }
  .single-lp_property .lp-overview .lp-drive-gallery__thumb:focus-visible {
    outline: none; box-shadow: inset 0 0 0 2px var(--lp-detail-accent); text-decoration: underline; text-underline-offset: .2em;
  }
  .single-lp_property .lp-overview .lp-drive-gallery__main-link:focus-visible {
    outline: none; box-shadow: inset 0 0 0 2px var(--lp-detail-accent); text-decoration: underline; text-underline-offset: .2em;
  }
  .single-lp_property .lp-overview .lp-drive-gallery__count {
    margin-top: 4px; color: var(--lp-detail-muted); font-size: 14px; line-height: 1.7;
  }
  .single-lp_property .lp-overview .lp-overview__price {
    margin: 32px 0 24px; color: var(--lp-detail-accent); font-family: var(--lp-detail-font);
    font-size: 32px; font-weight: 400; line-height: 1.5; letter-spacing: normal;
    font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-overview .lp-overview__price > span {
    margin-right: 12px; color: var(--lp-detail-muted); font-size: 14px;
  }
  .single-lp_property .lp-overview .lp-overview__price .lp-price-unit,
  .single-lp_property .lp-overview .lp-overview__price .lp-price-tax {
    display: inline-block; margin: 0; color: inherit; font-size: inherit; white-space: nowrap;
  }
  .single-lp_property .lp-overview .lp-price-caption {
    display: block; margin: 8px 0 0; max-width: 100%; color: var(--lp-detail-muted);
    font: 400 14px/1.8 var(--lp-detail-font); white-space: normal; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-overview .lp-price-caption__basis { white-space: normal; }
  .single-lp_property .lp-overview .lp-overview__section { min-width: 0; margin-top: 64px; }
  .single-lp_property .lp-overview .lp-overview__asset { margin-top: 24px; }
  .single-lp_property .lp-overview .lp-overview__asset + table.lp-overview__facts { margin-top: 24px; }

  /* Keep all facts in semantic two-column tables; long values wrap. */
  .single-lp_property .lp-overview table.lp-overview__facts {
    width: 100%; max-width: 100%; margin: 0; table-layout: fixed;
    border-collapse: separate; border-spacing: 0; border: 1px solid var(--lp-detail-line); border-radius: 12px;
  }
  .single-lp_property .lp-overview .lp-overview__facts th,
  .single-lp_property .lp-overview .lp-overview__facts td {
    padding: 16px 20px; border: 0; border-bottom: 1px solid var(--lp-detail-line);
    color: var(--lp-detail-ink); font: 400 16px/1.85 var(--lp-detail-font);
    letter-spacing: normal; vertical-align: top; white-space: pre-line; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-overview .lp-overview__facts th {
    width: 30%; border-right: 1px solid var(--lp-detail-line); background: var(--lp-detail-paper);
  }
  .single-lp_property .lp-overview .lp-overview__facts td { background: #fff; }
  .single-lp_property .lp-overview .lp-overview__facts--notes td { white-space: normal; }
  .single-lp_property .lp-overview .lp-overview__facts tr:last-child > * { border-bottom: 0; }
  .single-lp_property .lp-overview .lp-overview__facts tr:first-child > th { border-top-left-radius: 11px; }
  .single-lp_property .lp-overview .lp-overview__facts tr:first-child > td { border-top-right-radius: 11px; }
  .single-lp_property .lp-overview .lp-overview__facts tr:last-child > th { border-bottom-left-radius: 11px; }
  .single-lp_property .lp-overview .lp-overview__facts tr:last-child > td { border-bottom-right-radius: 11px; }
  .single-lp_property .lp-overview .lp-law-name > span { max-width: 100%; white-space: normal; }

  .single-lp_property .lp-overview .lp-income__metrics { gap: 16px; margin: 0; }
  .single-lp_property .lp-overview .lp-income__metrics > div {
    min-width: 0; padding: 24px; border: 1px solid var(--lp-detail-line);
    border-radius: 12px; background: var(--lp-detail-paper);
  }
  .single-lp_property .lp-overview .lp-income__metrics dt {
    margin: 0 0 12px; color: var(--lb-muted, #526168); font-size: 14px; line-height: 1.7;
  }
  .single-lp_property .lp-overview .lp-income__metrics dd {
    margin: 0; color: var(--lp-detail-accent); font-size: 24px; font-weight: 400;
    line-height: 1.5; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-overview .lp-income__basis,
  .single-lp_property .lp-overview .lp-income__counts,
  .single-lp_property .lp-overview .lp-income__note { color: var(--lp-detail-muted); font-size: 14px; line-height: 1.85; }
  .single-lp_property .lp-overview .lp-income__basis { margin: 16px 0 0; }
  .single-lp_property .lp-overview .lp-income__details {
    min-width: 0; margin: 24px 0 0; border: 1px solid var(--lp-detail-line); border-radius: 12px; background: #fff;
  }
  .single-lp_property .lp-overview .lp-income__details > summary {
    padding: 20px 20px; color: var(--lp-detail-accent); font-size: 16px; line-height: 1.7;
  }
  .single-lp_property .lp-overview .lp-income__details > summary:focus-visible {
    outline: none; box-shadow: inset 0 0 0 2px var(--lp-detail-accent); text-decoration: underline; text-underline-offset: .2em; border-radius: 10px;
  }
  .single-lp_property .lp-overview .lp-income__note { margin: 0 20px 20px; overflow-wrap: anywhere; }
  .single-lp_property .lp-overview .lp-income__table-scroll {
    max-width: 100%; min-width: 0; margin: 0 20px 20px; padding: 2px 0 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
  }
  .single-lp_property .lp-overview .lp-income__table-scroll:focus-visible {
    outline: none; box-shadow: inset 0 0 0 2px var(--lp-detail-accent);
  }
  .single-lp_property .lp-overview table.lp-income__comparison {
    width: 100%; min-width: 480px; margin: 0; table-layout: fixed; border-collapse: collapse;
  }
  .single-lp_property .lp-overview table.lp-income__comparison:not(:has(thead th:nth-child(3))) {
    min-width: 0;
  }
  .single-lp_property .lp-overview .lp-income__comparison caption {
    padding: 0 0 12px; color: var(--lp-detail-ink); font-size: 15px; text-align: left;
  }
  .single-lp_property .lp-overview .lp-income__comparison th,
  .single-lp_property .lp-overview .lp-income__comparison td {
    padding: 16px; border: 1px solid var(--lp-detail-line);
    font: 400 14px/1.8 var(--lp-detail-font); color: var(--lp-detail-ink);
    white-space: normal; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-overview .lp-income__comparison th { background: var(--lp-detail-paper); }

  .single-lp_property .lp-overview .lp-location,
  .single-lp_property .lp-overview .lp-document-area {
    min-width: 0; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--lp-detail-line);
  }
  .single-lp_property .lp-overview .lp-location iframe { height: 380px; border-radius: 12px; }
  .single-lp_property .lp-overview .lp-location p { font-size: 16px; line-height: 1.85; }
  .single-lp_property .lp-overview .lp-location p.lp-location__note { font-size: 14px; }
  .single-lp_property .lp-overview .lp-location a { color: var(--lp-detail-accent); text-decoration: underline; }
  .single-lp_property .lp-overview .lp-document-area__links { grid-auto-rows: 1fr; align-items: stretch; gap: 16px; }
  .single-lp_property .lp-overview a.lp-document-area__link {
    min-width: 0; height: 100%; padding: 24px; gap: 12px; border: 1px solid var(--lp-detail-line);
    border-radius: 12px; background: var(--lp-detail-paper); color: var(--lp-detail-accent);
    font-family: var(--lp-detail-font); letter-spacing: normal;
  }
  .single-lp_property .lp-overview .lp-document-area__label { font-size: 24px; font-weight: 400; line-height: 1.4; }
  .single-lp_property .lp-overview .lp-document-area__text { min-width: 0; }
  .single-lp_property .lp-overview .lp-document-area__phrase { display: inline-block; white-space: nowrap; }
  .single-lp_property .lp-overview .lp-document-area__description { font-size: 14px; line-height: 1.85; }
  .single-lp_property .lp-overview a.lp-document-area__link:hover { border-color: var(--lp-detail-accent); background: #eaf0f5; }
  .single-lp_property .lp-overview a.lp-document-area__link:focus-visible {
    outline: none; box-shadow: inset 0 0 0 2px var(--lp-detail-accent); text-decoration: underline; text-underline-offset: .2em;
  }
  .single-lp_property .lp-property-dates {
    margin: 28px 0 16px; color: var(--lp-detail-muted);
    font: 400 13px/1.85 var(--lp-detail-font); letter-spacing: normal; overflow-wrap: anywhere;
  }
  .single-lp_property .lp-property-actions {
    align-items: center; gap: 16px 24px; margin: 24px 0;
    font-family: var(--lp-detail-font); letter-spacing: normal;
  }
  .single-lp_property .lp-property-actions a {
    box-sizing: border-box; min-height: 48px; max-width: 100%; padding: 16px 32px; border-radius: 999px;
    font: 400 16px/1.6 var(--lp-detail-font); letter-spacing: normal; text-decoration: none;
  }
  .single-lp_property .lp-property-actions a.lp-property-actions__contact,
  .single-lp_property .lp-property-actions a.lp-property-actions__contact:visited {
    border: 1px solid var(--lp-detail-accent); background: transparent; color: var(--lp-detail-accent);
  }
  .single-lp_property .lp-property-actions a.lp-property-actions__contact:hover { background: var(--lp-detail-paper); }
  .single-lp_property .lp-property-actions a.lp-property-actions__contact .lp-property-actions__contact-label {
    display: block; min-width: 0; max-width: 100%; white-space: normal;
  }
  .single-lp_property .lp-property-actions a.lp-property-actions__contact .lp-property-actions__contact-label > span {
    display: inline-block; white-space: nowrap;
  }
  .single-lp_property .lp-property-actions a.lp-property-actions__back,
  .single-lp_property .lp-property-actions a.lp-property-actions__back:visited {
    min-height: 44px; width: auto; padding: 10px 4px; border: 0; border-radius: 0;
    background: transparent; color: var(--lb-muted, #526168); font-size: 14px; white-space: normal;
  }
  .single-lp_property .lp-property-actions .lp-property-actions__back-mark {
    font-family: inherit; font-size: 1em; font-weight: 400; line-height: 1;
  }
  .single-lp_property .lp-property-actions a.lp-property-actions__back:hover { color: var(--lp-detail-accent); }
  .single-lp_property .lp-property-actions a:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--lp-detail-accent); text-decoration: underline; text-underline-offset: .2em; }
  .single-lp_property .lp-property-actions--bottom {
    flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    margin: 32px 0 0; padding: 32px;
    border-radius: 16px; background: var(--lp-detail-paper);
  }
  .single-lp_property .lp-property-actions--bottom a.lp-property-actions__contact,
  .single-lp_property .lp-property-actions--bottom a.lp-property-actions__contact:visited {
    background: var(--lp-detail-accent); color: #fff;
  }
  .single-lp_property .lp-property-actions--bottom a.lp-property-actions__contact:hover { background: #26364b; border-color: #26364b; }
  .single-lp_property .lp-property-actions--bottom a.lp-property-actions__contact:focus-visible { box-shadow: inset 0 0 0 2px #fff; color: #fff; }
  .single-lp_property .lp-property-actions--bottom > a:not(.lp-property-actions__back) { width: min(100%, 420px); }
}

@media screen and (max-width: 800px) {
  .single-lp_property .lp-overview { padding: 32px; }
  .single-lp_property .lp-overview .lp-income__metrics { gap: 12px; }
  .single-lp_property .lp-overview .lp-income__metrics > div { padding: 20px; }
  .single-lp_property .lp-overview .lp-income__metrics dd { font-size: 24px; }
}
@media screen and (max-width: 600px) {
  #body_wrap.single-lp_property #content { width: calc(100% - 48px); margin: 32px auto 48px; padding: 16px 0 0; }
  .single-lp_property #main_content .post_content { font-size: 15px; }
  .single-lp_property .post_content h1.lp-property-title {
    margin-bottom: 16px; font-size: 32px; line-height: 1.4; word-break: normal; word-break: auto-phrase;
  }
  .single-lp_property .lp-overview { margin-bottom: 48px; padding: 24px; border-radius: 16px; }
  .single-lp_property .lp-overview h2.lp-overview__title { font-size: 24px; }
  .single-lp_property .lp-overview h3.lp-overview__heading,
  .single-lp_property .lp-overview .lp-location h3,
  .single-lp_property .lp-overview .lp-document-area h3 { font-size: 20px; }
  .single-lp_property .lp-overview .lp-document-area__label { font-size: 20px; line-height: 1.4; }
  .single-lp_property .lp-overview .lp-drive-gallery { margin: 24px 0 32px; }
  .single-lp_property .lp-overview .lp-drive-gallery__stage { height: clamp(180px, 62vw, 300px); }
  .single-lp_property .lp-overview .lp-drive-gallery__thumb { flex-basis: 72px; width: 72px; height: 54px; }
  .single-lp_property .lp-overview .lp-overview__price { margin-top: 24px; font-size: 28px; }
  .single-lp_property .lp-overview .lp-price-caption { font-size: 14px; }
  .single-lp_property .lp-overview .lp-overview__section { margin-top: 48px; }
  .single-lp_property .lp-overview .lp-overview__facts th { width: 34%; }
  .single-lp_property .lp-overview .lp-overview__facts th,
  .single-lp_property .lp-overview .lp-overview__facts td { padding: 16px; font-size: 15px; line-height: 1.8; }
  .single-lp_property .lp-overview .lp-income__metrics { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .single-lp_property .lp-overview .lp-income__metrics > div { display: block; padding: 24px; }
  .single-lp_property .lp-overview .lp-income__metrics dt { margin: 0 0 8px; }
  .single-lp_property .lp-overview .lp-income__metrics dd { font-size: 24px; text-align: left; }
  .single-lp_property .lp-overview .lp-income__details > summary { padding: 16px; font-size: 15px; }
  .single-lp_property .lp-overview .lp-income__note { margin-right: 16px; margin-left: 16px; }
  .single-lp_property .lp-overview .lp-income__table-scroll { margin-right: 16px; margin-left: 16px; }
  .single-lp_property .lp-overview .lp-location,
  .single-lp_property .lp-overview .lp-document-area { margin-top: 48px; padding-top: 24px; }
  .single-lp_property .lp-overview .lp-location iframe { height: 280px; }
  .single-lp_property .lp-overview .lp-location p { font-size: 15px; }
  .single-lp_property .lp-overview .lp-document-area__links { grid-template-columns: minmax(0,1fr); grid-auto-rows: 1fr; gap: 16px; }
  .single-lp_property .lp-overview a.lp-document-area__link { padding: 24px 16px; }
  .single-lp_property .lp-property-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .single-lp_property .lp-property-actions a { width: 100%; padding: 16px 24px; }
  .single-lp_property .lp-property-actions a.lp-property-actions__back { align-self: center; width: auto; }
  .single-lp_property .lp-property-actions--bottom { padding: 24px 16px; border-radius: 16px; }
}

@media screen {
  /* Existing back-label border spans the arrow, gap and text as one line. */
  .single-lp_property .lp-property-actions a:is(:hover, :focus-visible),
  .single-lp_property .lp-overview a.lp-document-area__link:is(:hover, :focus-visible) { text-decoration: none; }
}
