/*
Theme Name: Open House
Author: Open House
Description: Responsive Open House block theme with approved Figma pages and native property, branch and enquiry interfaces.
Version: 0.2.17
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: open-house
*/
@font-face {
    font-family:Outfit;
    src:url(assets/Outfit-Regular.ttf) format('truetype');
    font-weight:400;
    font-display:swap
}
@font-face {
    font-family:Outfit;
    src:url(assets/Outfit-Medium.ttf) format('truetype');
    font-weight:500;
    font-display:swap
}
@font-face {
    font-family:Outfit;
    src:url(assets/Outfit-SemiBold.ttf) format('truetype');
    font-weight:600;
    font-display:swap
}
:root {
    --oh-pink:#d80073;
    --oh-ink:#1a2234;
    --oh-muted:#4d4e53;
    --oh-soft:#f6f6f8;
    --oh-tint:#fbe7f1;
    --oh-border:#dddde5
}
* {
    box-sizing:border-box
}
body {
    margin:0
}
body,.editor-styles-wrapper {
    font-family:Outfit,sans-serif;
    color:var(--oh-ink);
    line-height:1.25
}
p,h1,h2,h3,figure {
    margin:0
}
a {
    color:inherit
}
a:hover {
    color:var(--oh-pink)
}
a:focus-visible,button:focus-visible {
    outline:3px solid var(--oh-pink);
    outline-offset:5px
}
h1 {
    font-size:64px;
    font-weight:600;
    line-height:68px;
    letter-spacing:-1.92px
}
h2 {
    font-size:40px;
    font-weight:600;
    line-height:46px;
    letter-spacing:-.8px
}
h3 {
    font-size:22px;
    font-weight:500;
    line-height:1.25
}
p {
    color:var(--oh-muted)
}
.wp-site-blocks>*,.wp-block-group>* {
    margin-block-start:0;
    margin-block-end:0
}
.oh-main,.oh-header,.oh-footer {
    width:100%;
    margin-inline:auto
}
.oh-section {
    max-width:1440px;
    margin-inline:auto;
    padding-inline:80px
}
.oh-header {
    max-width:1440px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:32px 64px;
    gap:28px;
    position:relative;
    z-index:10
}
.oh-logo {
    width:140px;
    height:80px;
    flex-shrink:0
}
.oh-logo img,.oh-footer-logo img {
    width:100%;
    height:100%;
    object-fit:contain
}
.oh-nav {
    font-size:16px;
    font-weight:500
}
.oh-nav .wp-block-navigation__container {
    gap:clamp(20px,3.333vw,48px)
}
.oh-nav .wp-block-navigation-item__content {
    white-space:nowrap
}
.oh-nav .wp-block-navigation__submenu-icon {
    display:none
}
.oh-nav .wp-block-navigation__submenu-container {
    border:1px solid var(--oh-border)!important;
    border-radius:12px;
    background:white;
    padding:8px!important;
    box-shadow:0 8px 24px #1a223414;
    top:100%!important;
    min-width:220px!important
}
.oh-nav .wp-block-navigation__submenu-container a {
    padding:12px 16px!important;
    border-radius:8px;
    display:block
}
.oh-nav .wp-block-navigation__submenu-container a:hover {
    background:var(--oh-soft);
    color:var(--oh-ink)
}
.wp-block-buttons {
    display:flex
}
.wp-block-button__link {
    background:var(--oh-pink);
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:16px 32px;
    border:0;
    border-radius:999px;
    font:500 16px/20px Outfit,sans-serif;
    text-decoration:none;
    min-height:52px;
    white-space:normal
}
.wp-block-button__link:after {
    content:'';
    width:20px;
    height:20px;
    flex:0 0 20px;
    background:url(assets/arrow.svg) center no-repeat
}
.wp-block-button__link:hover {
    background:#cc006f;
    color:white
}
.oh-header-cta {
    flex-shrink:0
}
.oh-hero {
    padding-block:52px;
    display:grid;
    grid-template-columns:580fr 596fr;
    align-items:center;
    gap:clamp(36px,7.22vw,104px)
}
.oh-stack {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:24px;
    min-width:0
}
.oh-lead {
    font-size:20px
}
.oh-badge {
    display:inline-block;
    align-self:flex-start;
    padding:8px 16px;
    border-radius:999px;
    background:var(--oh-tint);
    color:var(--oh-pink);
    font-size:16px
}
.oh-photo {
    position:relative;
    overflow:hidden;
    border-radius:16px;
    width:100%;
    height:456px
}
.oh-photo img {
    position:absolute;
    max-width:none!important;
    display:block
}
.oh-viewing img {
    width:121.95%;
    height:106.38%;
    left:-19.51%;
    top:0
}
.oh-approach {
    padding-block:32px;
    display:flex;
    flex-direction:column;
    gap:24px
}
.oh-approach-intro {
    display:flex;
    flex-direction:column;
    gap:24px
}
.oh-cards {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px
}
.oh-card {
    background:var(--oh-soft);
    border-radius:24px;
    min-height:260px;
    padding:24px;
    display:flex;
    flex-direction:column;
    gap:16px
}
.oh-card p {
    font-size:18px
}
.oh-icon {
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--oh-tint)
}
.oh-icon-image {
    width:24px;
    height:24px;
    line-height:0
}
.oh-icon-image img {
    display:block;
    max-width:none
}
.oh-centered {
    align-self:center;
    margin-top:24px
}
.oh-hybrid {
    padding-block:64px;
    display:grid;
    grid-template-columns:596fr 620fr;
    gap:64px;
    align-items:center
}
.oh-neighbourhood {
    height:360px;
    border-radius:24px
}
.oh-neighbourhood img {
    width:200%;
    height:138.89%;
    left:-100%;
    top:-6.94%
}
.oh-contact-wrap {
    padding-top:32px;
    padding-bottom:80px
}
.oh-contact {
    background:var(--oh-ink);
    color:white;
    padding:48px;
    border-radius:24px;
    display:grid;
    grid-template-columns:800fr 368fr;
    gap:16px
}
.oh-contact p {
    color:white
}
.oh-contact-copy,.oh-contact-links {
    display:flex;
    flex-direction:column;
    gap:16px
}
.oh-contact-copy p {
    font-size:20px
}
.oh-phone {
    font-size:32px;
    font-weight:600
}
.oh-email {
    font-size:16px;
    font-weight:500;
    text-decoration:underline
}
.oh-contact a:hover {
    color:white;
    text-decoration:underline
}
.oh-footer {
    background:var(--oh-soft);
    padding:56px max(80px,calc((100vw - 1280px)/2)) 32px;
    display:flex;
    flex-direction:column;
    gap:48px
}
.oh-footer-top {
    display:grid;
    grid-template-columns:440fr 740fr;
    gap:100px
}
.oh-footer-brand {
    display:flex;
    flex-direction:column;
    gap:16px
}
.oh-footer-logo {
    width:140px;
    height:80px
}
.oh-tagline {
    font-size:22px;
    font-weight:500;
    color:var(--oh-ink)
}
.oh-footer-columns {
    display:grid;
    grid-template-columns:240fr 280fr;
    gap:100px
}
.oh-footer-links {
    display:flex;
    flex-direction:column;
    gap:14px
}
.oh-footer-links p {
    font-size:16px
}
.oh-footer-links .oh-footer-title {
    font-size:18px;
    font-weight:500;
    color:var(--oh-ink)
}
.oh-legal {
    display:flex;
    justify-content:space-between;
    gap:24px;
    border-top:1px solid var(--oh-border);
    padding-top:24px;
    font-size:14px
}
.oh-legal-links {
    display:flex;
    gap:32px
}
.oh-mobile-break {
    display:none
}
.oh-page {
    max-width:1280px;
    min-height:50vh;
    margin:auto;
    padding:60px 20px
}
.oh-page h1 {
    margin-bottom:32px
}
@media (max-width:1250px) {
    .oh-header {
        padding-inline:32px;
        gap:20px
    }
    .oh-nav .wp-block-navigation__container {
        gap:20px
    }
    .oh-header-cta .wp-block-button__link {
        padding-inline:20px
    }
    .oh-section {
        padding-inline:40px
    }
    .oh-hero {
        gap:40px
    }
    h1 {
        font-size:52px;
        line-height:1.08
    }
    .oh-footer {
        padding-inline:40px
    }
    .oh-footer-top,.oh-footer-columns {
        gap:48px
    }
}
@media (min-width:1001px) {
    .oh-nav .wp-block-navigation__responsive-container-open {
        display:none!important
    }
}
@media (max-width:1000px) {
    .oh-header {
        padding:12px 20px;
        min-height:80px
    }
    .oh-logo {
        width:98px;
        height:56px
    }
    .oh-header-cta {
        display:none
    }
    .oh-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display:none!important
    }
    .oh-nav .wp-block-navigation__responsive-container-open {
        display:flex!important;
        width:44px;
        height:44px;
        align-items:center;
        justify-content:center;
        background:url(assets/menu.svg) center no-repeat;
        border-radius:12px
    }
    .oh-nav .wp-block-navigation__responsive-container-open svg {
        visibility:hidden
    }
    .oh-nav .is-menu-open {
        padding:24px
    }
    .oh-nav .is-menu-open .wp-block-navigation__container {
        align-items:stretch;
        width:100%;
        gap:8px
    }
    .oh-nav .is-menu-open .wp-block-navigation-item__content {
        padding:12px 8px
    }
    .oh-nav .is-menu-open .wp-block-navigation__submenu-container {
        box-shadow:none;
        padding:4px 8px!important;
        border:0!important
    }
    .oh-nav .wp-block-navigation__responsive-container-close {
        width:44px;
        height:44px;
        display:flex;
        align-items:center;
        justify-content:center
    }
}
@media (max-width:700px) {
    h1,h2 {
        font-size:32px;
        line-height:40px;
        letter-spacing:0
    }
    p,.oh-lead,.oh-card p {
        font-size:16px;
        line-height:20px
    }
    .oh-section {
        padding:40px 20px
    }
    .oh-hero,.oh-hybrid {
        display:flex;
        flex-direction:column;
        gap:24px;
        align-items:stretch
    }
    .oh-hero-copy {
        order:2
    }
    .oh-stack {
        gap:20px
    }
    .oh-photo {
        height:auto;
        aspect-ratio:350/238;
        flex-shrink:0
    }
    .oh-hero .oh-photo {
        order:1
    }
    .wp-block-buttons,.wp-block-button,.wp-block-button__link {
        width:100%
    }
    .wp-block-button__link {
        padding-inline:16px
    }
    .oh-approach {
        gap:20px
    }
    .oh-approach-intro {
        gap:12px
    }
    .oh-cards {
        grid-template-columns:1fr;
        gap:20px
    }
    .oh-card {
        min-height:0;
        padding:24px 20px
    }
    .oh-centered {
        margin-top:4px;
        width:100%
    }
    .oh-contact {
        padding:24px 20px;
        display:flex;
        flex-direction:column;
        gap:20px
    }
    .oh-contact-copy p {
        font-size:16px
    }
    .oh-contact-links {
        text-align:center
    }
    .oh-contact .oh-phone {
        font-size:32px;
        line-height:40px
    }
    .oh-contact .oh-email {
        font-size:16px
    }
    .oh-footer {
        padding:32px 20px 24px;
        gap:24px
    }
    .oh-footer-top {
        display:flex;
        flex-direction:column;
        gap:24px
    }
    .oh-footer-brand {
        gap:16px
    }
    .oh-footer-logo {
        width:112px;
        height:64px
    }
    .oh-tagline {
        font-size:18px;
        line-height:22.5px
    }
    .oh-footer-columns {
        width:100%;
        gap:20px;
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .oh-footer-links {
        gap:0
    }
    .oh-footer-links .oh-footer-title {
        margin-bottom:8px
    }
    .oh-footer-links a {
        display:flex;
        align-items:center;
        min-height:44px
    }
    .oh-legal {
        display:flex;
        flex-direction:column;
        gap:16px;
        padding-top:24px
    }
    .oh-legal p {
        font-size:14px;
        line-height:17.5px
    }
    .oh-legal-links {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:24px
    }
    .oh-mobile-break {
        display:block
    }
}
@media(prefers-reduced-motion:no-preference) {
    a,button {
        transition:background-color .15s,color .15s
    }
}
@media(min-width:701px) {
    .oh-hero h1 {
        width:calc(100% + 48px);
        max-width:620px
    }
}
/* Homepage, matching the approved desktop and mobile frames. */
:root {
    --oh-pink-hover:#cc006f
}
.wp-block-button__link {
    transition:background-color .15s ease-out
}
.wp-block-button__link:hover {
    background:var(--oh-pink-hover)
}
.wp-block-button__link:after {
    transition:transform .15s ease-out
}
.wp-block-button__link:hover:after {
    transform:translateX(4px)
}
.oh-home {
    width:100%;
    margin:0 auto
}
.oh-home-hero {
    height:760px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 80px 40px;
    isolation:isolate
}
.oh-home-hero-photo {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    z-index:-2
}
.oh-home-hero-photo img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover
}
.oh-home-hero:after {
    content:'';
    position:absolute;
    inset:0;
    background:rgba(8,9,10,.37);
    z-index:-1
}
.oh-home-hero-copy {
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:24px;
    width:100%;
    max-width:1200px
}
.oh-home-hero-copy h1,.oh-home-hero-copy p {
    color:#fff
}
.oh-home-hero-copy p {
    font-size:20px
}
.oh-home-search-wrap {
    position:relative;
    z-index:3;
    max-width:1440px;
    margin:-64px auto 0;
    padding-inline:64px
}
.oh-home-search {
    background:white;
    border-radius:18px;
    box-shadow:0 14px 20px #1f1f2b17;
    padding:30px 32px;
    display:grid;
    grid-template-columns:180px minmax(180px,310px) minmax(240px,424px) max-content;
    gap:24px;
    align-items:end;
    justify-content:space-between;
    min-height:144px
}
.oh-buy-rent {
    border:0;
    padding:0;
    margin:0;
    display:flex;
    border-radius:10px;
    overflow:hidden;
    background:var(--oh-soft);
    height:80px
}
.oh-buy-rent label {
    position:relative;
    flex:1;
    min-width:0;
    cursor:pointer
}
.oh-buy-rent input {
    position:absolute;
    opacity:0;
    width:1px;
    height:1px
}
.oh-buy-rent span {
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
    font-size:18px;
    color:var(--oh-ink)
}
.oh-buy-rent input:checked+span {
    background:var(--oh-pink);
    color:white;
    font-weight:500
}
.oh-buy-rent input:focus-visible+span {
    outline:3px solid var(--oh-pink);
    outline-offset:-3px
}
.oh-search-field {
    display:flex;
    flex-direction:column;
    gap:8px;
    min-width:0;
    font-size:16px;
    line-height:20px
}
.oh-search-field>label {
    color:var(--oh-ink)
}
.oh-search-field input,.oh-search-field select {
    width:100%;
    height:56px;
    min-width:0;
    padding:16px;
    border:1px solid var(--oh-border);
    border-radius:8px;
    background:white;
    color:var(--oh-muted);
    font:400 16px/20px Outfit,sans-serif
}
.oh-search-field select {
    appearance:none;
    padding-right:40px;
    background:white url(assets/chevron-down.svg) right 16px center no-repeat
}
.oh-search-field input::placeholder {
    color:var(--oh-muted);
    opacity:1
}
.oh-search-field input:focus-visible,.oh-search-field select:focus-visible {
    outline:2px solid var(--oh-pink);
    outline-offset:2px
}
.oh-price-beds {
    display:grid;
    grid-template-columns:220fr 180fr;
    gap:24px;
    min-width:0
}
.oh-search-submit {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    border:0;
    border-radius:999px;
    background:var(--oh-pink);
    color:white;
    padding:16px 32px;
    font:500 16px/20px Outfit,sans-serif;
    cursor:pointer;
    min-height:52px;
    white-space:nowrap;
    transition:background-color .15s ease-out
}
.oh-search-submit img {
    display:block;
    max-width:none
}
.oh-search-submit:hover {
    background:var(--oh-pink-hover)
}
.oh-home-portals {
    padding:48px 80px;
    display:flex;
    flex-direction:column;
    gap:24px;
    align-items:center
}
.oh-home-portals p {
    font-size:16px;
    text-align:center
}
.oh-home-logos {
    width:100%;
    max-width:1040px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:56px
}
.oh-home-logos figure {
    line-height:0
}
.oh-home-logos img {
    display:block;
    max-width:none!important;
    width:auto;
    height:auto
}
.oh-portal-mobile {
    display:none
}
.oh-home-services {
    max-width:1440px;
    padding:64px;
    margin:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:24px
}
.oh-services-heading h2 {
    font-size:64px;
    line-height:68px;
    letter-spacing:-1.92px
}
.oh-services-intro {
    max-width:600px;
    font-size:20px;
    color:var(--oh-muted)
}
.oh-service-cards {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    width:100%
}
.oh-service-card {
    position:relative;
    min-width:0;
    height:588px;
    border-radius:12px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:40px;
    isolation:isolate
}
.oh-service-photo {
    position:absolute;
    inset:0;
    z-index:-2;
    overflow:hidden
}
.oh-service-photo img {
    position:absolute;
    display:block;
    max-width:none!important;
    width:200%;
    height:100%;
    top:0;
    object-fit:cover;
    object-position:center
}
.oh-selling .oh-service-photo img {
    left:0
}
.oh-landlords .oh-service-photo img {
    left:-100%
}
.oh-service-card:after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.3) var(--oh-service-gradient-midpoint,40%),rgba(0,0,0,.82) 100%);
    z-index:-1
}
.oh-selling {
    --oh-service-gradient-midpoint:33.249%
}
.oh-service-copy {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:16px
}
.oh-service-copy h2,.oh-service-copy p,.oh-service-copy a {
    color:white
}
.oh-service-copy p {
    font-size:20px
}
.oh-service-copy .oh-overline {
    font-size:14px;
    line-height:17.5px;
    font-weight:500;
    letter-spacing:1.4px
}
.oh-pink-text {
    color:var(--oh-pink)
}
.oh-service-copy .oh-service-link {
    font-size:16px;
    font-weight:500
}
.oh-service-link a {
    display:inline-flex;
    gap:8px;
    align-items:center;
    min-height:24px
}
.oh-service-link a:after {
    content:'';
    display:inline-block;
    width:20px;
    height:20px;
    background:url(assets/service-arrow.svg) center no-repeat;
    transition:transform .15s ease-out
}
.oh-service-link a:hover:after {
    transform:translateX(4px)
}
.oh-home-process {
    padding:64px max(80px,calc((100vw - 1280px)/2)) 72px;
    background:var(--oh-soft);
    display:flex;
    flex-direction:column;
    gap:24px;
    align-items:flex-start
}
.oh-home-steps {
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px
}
.oh-process-step {
    display:flex;
    align-items:flex-start;
    gap:24px;
    min-width:0
}
.oh-step-number {
    background:var(--oh-tint);
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    flex:0 0 64px;
    color:var(--oh-pink);
    font-size:22px;
    font-weight:500
}
.oh-step-copy {
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:0
}
.oh-step-copy p {
    font-size:18px
}
.oh-home-cta {
    min-height:380px;
    padding:72px 24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:22px;
    text-align:center
}
.oh-home-cta h2 {
    font-size:52px;
    line-height:65px;
    letter-spacing:-1.04px
}
.oh-home-cta p {
    font-size:20px
}
.oh-copy-mobile {
    display:none
}
@media(max-width:1250px) {
    .oh-home-search-wrap {
        padding-inline:32px
    }
    .oh-home-search {
        display:flex;
        flex-direction:column;
        align-items:stretch;
        padding:24px;
        gap:16px;
        min-height:0
    }
    .oh-search-submit {
        width:100%;
        padding:16px
    }
    .oh-buy-rent {
        height:52px;
        flex-shrink:0;
        border-radius:12px;
        padding:4px
    }
    .oh-buy-rent span {
        font-size:16px;
        border-radius:8px;
        font-weight:500
    }
    .oh-price-beds {
        width:100%;
        gap:12px;
        grid-template-columns:1fr 1fr
    }
    .oh-home-services {
        padding-inline:40px
    }
    .oh-service-card {
        padding:32px
    }
    .oh-service-copy h2 {
        font-size:34px;
        line-height:40px
    }
    .oh-service-copy p {
        font-size:18px
    }
    .oh-home-process {
        padding-inline:40px
    }
    .oh-home-steps {
        gap:24px
    }
    .oh-process-step {
        gap:16px
    }
    .oh-step-copy h3 {
        font-size:20px
    }
    .oh-home-logos {
        max-width:850px
    }
}
@media(max-width:1000px) {
    .oh-home-hero {
        height:580px;
        padding-inline:40px
    }
    .oh-home-hero h1 {
        font-size:52px;
        line-height:56px
    }
    .oh-service-cards {
        grid-template-columns:1fr 1fr
    }
    .oh-home-steps {
        grid-template-columns:1fr
    }
    .oh-step-copy h3 {
        font-size:22px
    }
}
@media(max-width:700px) {
    .oh-home-hero {
        height:340px;
        padding:24px;
        align-items:center
    }
    .oh-home-hero:after {
        background:rgba(8,9,10,.52)
    }
    .oh-home-hero-copy {
        align-items:flex-start;
        text-align:left;
        gap:16px
    }
    .oh-home-hero h1 {
        font-size:32px;
        line-height:40px;
        letter-spacing:0
    }
    .oh-home-hero-copy p {
        font-size:18px;
        line-height:22.5px
    }
    .oh-home-hero-cta {
        display:none
    }
    .oh-home-search-wrap {
        margin:0;
        padding:20px;
        background:var(--oh-soft)
    }
    .oh-home-search {
        display:flex;
        flex-direction:column;
        align-items:stretch;
        border-radius:20px;
        padding:20px;
        gap:16px;
        box-shadow:none;
        min-height:0
    }
    .oh-buy-rent {
        height:52px;
        flex-shrink:0;
        border-radius:12px;
        padding:4px
    }
    .oh-buy-rent span {
        font-size:16px;
        border-radius:8px;
        font-weight:500
    }
    .oh-price-beds {
        width:100%;
        gap:12px;
        grid-template-columns:1fr 1fr
    }
    .oh-search-field input,.oh-search-field select {
        padding:16px
    }
    .oh-search-field select {
        padding-right:30px;
        background-position:right 8px center;
        font-size:16px
    }
    .oh-search-submit {
        width:100%;
        padding:16px
    }
    .oh-home-portals {
        padding:24px;
        gap:24px
    }
    .oh-home-portals p {
        font-size:14px;
        line-height:17.5px
    }
    .oh-home-logos {
        min-height:0;
        gap:20px;
        justify-content:center
    }
    .oh-portal-desktop {
        display:none
    }
    .oh-portal-mobile {
        display:block
    }
    .oh-home-services {
        padding:40px 20px 48px;
        gap:20px
    }
    .oh-services-heading h2 {
        font-size:32px;
        line-height:40px;
        letter-spacing:0
    }
    .oh-services-intro {
        font-size:16px;
        line-height:20px;
        color:var(--oh-muted)
    }
    .oh-service-cards {
        grid-template-columns:1fr;
        gap:20px
    }
    .oh-service-card {
        height:376px;
        padding:24px
    }
    .oh-service-copy {
        gap:12px
    }
    .oh-service-copy h2 {
        font-size:32px;
        line-height:40px;
        letter-spacing:0
    }
    .oh-service-copy p {
        font-size:16px;
        line-height:20px
    }
    .oh-service-link a {
        min-height:24px
    }
    .oh-home-process {
        padding:40px 20px;
        gap:24px
    }
    .oh-home-steps {
        gap:24px
    }
    .oh-process-step {
        gap:16px
    }
    .oh-step-copy h3 {
        font-size:18px;
        line-height:22.5px
    }
    .oh-step-copy p {
        font-size:16px;
        line-height:20px
    }
    .oh-home-cta {
        min-height:0;
        padding:48px 24px;
        gap:20px;
        align-items:flex-start;
        text-align:left
    }
    .oh-home-cta h2 {
        font-size:32px;
        line-height:40px;
        letter-spacing:0
    }
    .oh-home-cta p {
        font-size:16px;
        line-height:20px
    }
    .oh-home-cta>.oh-copy-mobile {
        width:100%
    }
    .oh-copy-desktop,.oh-desktop-break {
        display:none
    }
    .oh-copy-mobile {
        display:block
    }
}
@media(max-width:365px) {
    .oh-home-logos {
        gap:12px;
        flex-wrap:wrap
    }
    .oh-price-beds {
        grid-template-columns:1fr
    }
    .oh-home-hero h1 {
        font-size:30px
    }
}
@media(prefers-reduced-motion:reduce) {
    .wp-block-button__link:after,.oh-service-link a:after {
        transition:none
    }
    .wp-block-button__link:hover:after,.oh-service-link a:hover:after {
        transform:none
    }
}
.oh-logo a,.oh-footer-logo a {
    display:block;
    width:100%;
    height:100%
}
.oh-logo img,.oh-footer-logo img {
    display:block
}
/* Both legal pages use the approved 1200px index layout at desktop widths. */
.oh-legal-page .oh-legal-index .oh-legal-chapter a {
    padding-inline:0
}
@media(min-width:1001px) {
    .oh-legal-page .oh-legal-document {
        grid-template-columns:240px minmax(0,1fr);
        gap:40px
    }
    .oh-legal-page .oh-legal-index {
        padding:20px
    }
}
/* Applied criteria stay visible when the mobile filter panel is closed. */
.oh-active-filters {
    display:none
}
@media(max-width:700px) {
    .oh-listings .oh-filter-main {
        grid-template-columns:minmax(0,1fr) auto
    }
    .oh-listings .oh-filter-toggle {
        width:auto;
        min-width:116px;
        padding-inline:12px;
        white-space:nowrap
    }
    .oh-listings .oh-filter-main>.oh-apply-filters {
        grid-column:1/-1;
        grid-row:3;
        justify-self:stretch;
        margin-top:16px;
        display:flex
    }
    .oh-active-filters:not([hidden]) {
        display:flex;
        flex-direction:column;
        gap:8px;
        margin-top:16px
    }
    .oh-active-filters>p {
        font-size:14px;
        color:var(--oh-muted)
    }
    .oh-filter-chips {
        display:flex;
        flex-wrap:wrap;
        gap:8px;
        align-items:center
    }
    .oh-filter-chip {
        display:inline-flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        min-height:44px;
        max-width:100%;
        padding:10px 14px;
        border:1px solid var(--oh-border);
        border-radius:999px;
        background:white;
        color:var(--oh-ink);
        font-size:14px;
        line-height:20px;
        text-decoration:none
    }
    .oh-filter-chip>span:first-child {
        overflow-wrap:anywhere;
        min-width:0
    }
    .oh-filter-chip>span:last-child {
        font-size:20px;
        color:var(--oh-pink);
        flex-shrink:0
    }
    .oh-clear-applied {
        min-height:44px;
        padding:10px 4px;
        border:0;
        background:transparent;
        color:var(--oh-pink);
        font:500 14px/20px Outfit,sans-serif;
        text-decoration:underline
    }
    .oh-filter-chip:focus-visible,.oh-clear-applied:focus-visible {
        outline:2px solid var(--oh-pink);
        outline-offset:3px
    }
    .oh-filter-chip:hover {
        border-color:var(--oh-pink)
    }
}
@media(max-width:365px) {
    .oh-listings .oh-filter-main {
        grid-template-columns:minmax(0,1fr)
    }
    .oh-listings .oh-filter-toggle {
        grid-column:1;
        grid-row:2;
        margin-top:12px
    }
    .oh-listings .oh-filter-reveal {
        grid-row:3
    }
    .oh-listings .oh-filter-main>.oh-apply-filters {
        grid-row:4
    }
}
/* Mobile viewing shortcut yields to the agent card and respects the home indicator. */
@media(max-width:700px) {
    body:has(.oh-mobile-viewing-ready) {
        padding-bottom:calc(85px + env(safe-area-inset-bottom,0px))
    }
    .oh-property-detail.oh-mobile-viewing-ready .oh-viewing-bar.oh-property-summary-bar {
        display:flex;
        position:fixed;
        inset:auto 0 0;
        z-index:5;
        min-height:85px;
        height:auto;
        padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px));
        gap:0;
        background:white;
        border-top:1px solid var(--oh-border);
        box-shadow:0 -2px 12px #1a223409;
        transform:translateY(0);
        visibility:visible;
        transition:transform .25s ease-out,visibility 0s
    }
    .oh-property-detail .oh-viewing-bar.oh-property-summary-bar>div,.oh-property-detail .oh-viewing-bar.oh-property-summary-bar>.oh-summary-divider {
        display:none
    }
    .oh-property-detail .oh-viewing-bar.oh-property-summary-bar>.oh-photo-viewing {
        width:100%;
        min-height:52px;
        margin:0;
        justify-content:center
    }
    .oh-property-detail.oh-mobile-viewing-ready .oh-viewing-bar.is-mobile-dismissed {
        transform:translateY(calc(100% + 8px));
        visibility:hidden;
        pointer-events:none;
        transition:transform .25s ease-in,visibility 0s .25s
    }
}
@media(max-width:700px) and (prefers-reduced-motion:reduce) {
    .oh-property-detail.oh-mobile-viewing-ready .oh-viewing-bar.oh-property-summary-bar {
        transition:none
    }
}
/* Property identity and price share text baselines instead of centring whole stacks. */
@media(min-width:701px) {
    .oh-property-detail .oh-detail-heading-row {
        row-gap:16px;
        align-items:baseline
    }
    .oh-property-detail .oh-detail-heading-row>div {
        display:contents
    }
    .oh-property-detail .oh-detail-heading-row .oh-badge {
        grid-column:1;
        grid-row:1;
        justify-self:start
    }
    .oh-property-detail .oh-detail-heading-row h1 {
        grid-column:1;
        grid-row:2;
        min-width:0;
        overflow-wrap:anywhere
    }
    .oh-property-detail .oh-detail-price-row {
        grid-column:2;
        grid-row:2;
        justify-content:flex-end;
        align-self:baseline;
        text-align:right;
        min-width:0
    }
    .oh-property-detail .oh-detail-heading-row>div:first-child>p {
        grid-column:1;
        grid-row:3;
        min-width:0;
        overflow-wrap:anywhere
    }
    .oh-property-detail .oh-detail-heading-row>div:last-child>p {
        grid-column:2;
        grid-row:3;
        text-align:right;
        min-width:0;
        overflow-wrap:anywhere
    }
}
/* Approved body hierarchy: hero 20px, reading copy 18/16px, detail copy 16px. */
:root {
    --oh-type-hero:20px;
    --oh-type-body:18px;
    --oh-type-detail:16px
}
:is(.oh-main,.editor-styles-wrapper) :is(.oh-service-hero,.oh-hero,.oh-branch-hero) .oh-lead,
:is(.oh-main,.editor-styles-wrapper) .oh-valuation-intro .oh-valuation-copy>.oh-lead,
:is(.oh-main,.editor-styles-wrapper) .oh-home-hero .oh-home-hero-copy p,
:is(.oh-main,.editor-styles-wrapper) .oh-listings-intro>p {
    font-size:var(--oh-type-hero);
    line-height:1.4
}
:is(.oh-main,.editor-styles-wrapper) :is(.oh-mortgage-row,.oh-mortgage-contact,.oh-hybrid,.oh-land-development,.oh-banner,.oh-help-banner,.oh-auction-cta) .oh-lead,
:is(.oh-main,.editor-styles-wrapper) .oh-help-banner .oh-stack>.oh-lead,
:is(.oh-main,.editor-styles-wrapper) .oh-services-intro,
:is(.oh-main,.editor-styles-wrapper) .oh-home-cta p,
:is(.oh-main,.editor-styles-wrapper) .oh-contact-copy p,
:is(.oh-main,.editor-styles-wrapper) .oh-service-copy p:not(.oh-overline):not(.oh-service-link),
:is(.oh-main,.editor-styles-wrapper) .oh-auction-timeline>.oh-stack>p:not(.oh-badge),
:is(.oh-main,.editor-styles-wrapper) .oh-approach-intro>p,
:is(.oh-main,.editor-styles-wrapper) .oh-land-options>p,
:is(.oh-main,.editor-styles-wrapper) .oh-step-copy p,
:is(.oh-main,.editor-styles-wrapper) .oh-journey-step .oh-qa p,
:is(.oh-main,.editor-styles-wrapper) .oh-centered-note p {
    font-size:var(--oh-type-body);
    line-height:1.5
}
:is(.oh-main,.editor-styles-wrapper) .oh-card p,
:is(.oh-main,.editor-styles-wrapper) .oh-bento .oh-qa p,
:is(.oh-main,.editor-styles-wrapper) .oh-specialist-card .oh-qa p,
:is(.oh-main,.editor-styles-wrapper) .oh-valuation-intro .oh-valuation-support .oh-qa p,
:is(.oh-main,.editor-styles-wrapper) .oh-branch-help .oh-qa p,
:is(.oh-main,.editor-styles-wrapper) .oh-auction-details .oh-qa p,
:is(.oh-main,.editor-styles-wrapper) .oh-auction-details .oh-centered-note>p,
:is(.oh-main,.editor-styles-wrapper) .oh-s-faq-item p,
:is(.oh-main,.editor-styles-wrapper) .oh-register-form .oh-register-note {
    font-size:var(--oh-type-detail);
    line-height:1.5
}
:is(.oh-main,.editor-styles-wrapper) .oh-mortgage-row h3 {
    font-size:22px;
    line-height:28px
}
:is(.oh-main,.editor-styles-wrapper) .oh-mortgage-contact>.oh-stack>h2 {
    font-size:40px;
    line-height:48px;
    letter-spacing:-.8px
}
@media(max-width:700px) {
    :root {
        --oh-type-body:16px
    }
    :is(.oh-main,.editor-styles-wrapper) .oh-mortgage-contact>.oh-stack>h2 {
        font-size:32px;
        line-height:40px;
        letter-spacing:0
    }
    :is(.oh-main,.editor-styles-wrapper) .oh-editorial-split:has(.oh-fee) p:not(.oh-fee),
 :is(.oh-main,.editor-styles-wrapper) .oh-auction-timeline .oh-qa>p {
        font-size:var(--oh-type-detail);
        line-height:1.5
    }
}
/* Keep the Back arrow painted across hover/focus without swapping image resources. */
.oh-property-detail .oh-back-link .oh-back-arrow {
    display:block;
    width:20px;
    height:20px;
    flex:0 0 20px;
    overflow:visible;
    transition:transform .15s ease-out
}
@media(min-width:701px) and (hover:hover) {
    .oh-property-detail .oh-back-link:hover .oh-back-arrow {
        transform:translateX(-4px)
    }
    .oh-property-detail .oh-back-link.oh-pointer-focus .oh-back-arrow {
        transform:none
    }
}
@media(prefers-reduced-motion:reduce) {
    .oh-property-detail .oh-back-link .oh-back-arrow {
        transition:none
    }
}

/* More properties: existing inventory cards in a bounded, responsive carousel. */
.oh-property-detail .oh-more-properties {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:32px 24px;
    width:100%;
    max-width:1440px;
    margin-inline:auto;
    padding:0 80px 64px;
}
.oh-property-detail .oh-more-properties-heading {
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.oh-property-detail .oh-more-properties-heading h2 {
    margin:0;
    font-size:40px;
    line-height:46px;
    font-weight:600;
    letter-spacing:-.8px;
}
.oh-property-detail .oh-more-properties-heading p {
    margin:0;
    font-size:18px;
    line-height:1.25;
}
.oh-property-detail .oh-more-properties-controls {
    display:flex;
    align-items:center;
    gap:12px;
    justify-self:end;
}
.oh-property-detail .oh-more-properties-controls[hidden] {
    display:none;
}
.oh-property-detail .oh-more-properties-controls button {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:none;
    width:48px;
    height:48px;
    padding:0;
    border:1px solid var(--oh-border);
    border-radius:50%;
    background:white;
    color:var(--oh-pink);
    cursor:pointer;
    transition:background-color .15s ease-out;
}
.oh-property-detail .oh-more-properties-controls button:disabled {
    background:var(--oh-soft);
    color:var(--oh-muted);
    opacity:.5;
    cursor:default;
}
.oh-property-detail .oh-more-properties-controls button:focus-visible {
    outline:2px solid var(--oh-pink);
    outline-offset:2px;
}
.oh-property-detail .oh-more-properties-track {
    position:relative;
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 48px)/3);
    align-items:stretch;
    gap:24px;
    grid-column:1/-1;
    min-width:0;
    margin:0;
    /* Keep the bottom border inside the scrollport at fractional card heights. */
    padding:0 0 4px;
    list-style:none;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    outline-offset:6px;
}
.oh-property-detail .oh-more-properties-track::-webkit-scrollbar {
    display:none;
}
.oh-property-detail .oh-more-properties-slide {
    min-width:0;
    display:flex;
    scroll-snap-align:start;
}
.oh-property-detail .oh-more-properties .oh-property-card {
    width:100%;
    display:flex;
    flex-direction:column;
}
.oh-property-detail .oh-more-properties .oh-property-card-photo {
    flex:none;
    height:auto;
    aspect-ratio:4/3;
}
.oh-property-detail .oh-more-properties .oh-property-card-photo>a>img {
    object-fit:cover;
}
.oh-property-detail .oh-more-properties .oh-property-card-photo>a:focus-visible {
    outline-offset:-5px;
}
.oh-property-detail .oh-more-properties .oh-property-card-copy {
    flex:1;
    padding:22px 24px 24px;
    gap:12px;
}
.oh-property-detail .oh-more-properties .oh-property-card-copy h3 {
    margin:0;
    font-size:30px;
    line-height:38px;
    letter-spacing:0;
}
.oh-property-detail .oh-more-properties .oh-property-address {
    gap:6px;
}
.oh-property-detail .oh-more-properties .oh-property-address p {
    font-size:16px;
    line-height:20px;
    overflow-wrap:anywhere;
}
.oh-property-detail .oh-more-properties .oh-property-address .oh-property-title {
    font-size:18px;
    line-height:23px;
}
.oh-property-detail .oh-more-properties .oh-property-card-copy>.oh-property-link {
    margin-top:auto;
}
@media(hover:hover) {
    .oh-property-detail .oh-more-properties-controls button:hover:not(:disabled) {
        background:var(--oh-soft);
    }
}
/* Keep viewing-bar clearance after the footer, not between content sections. */
@media(min-width:701px) {
    .oh-property-detail:has(.oh-more-properties) {
        padding-bottom:0;
    }
    body:has(.oh-more-properties) {
        padding-bottom:120px;
    }
}
@media(max-width:1250px) {
    .oh-property-detail .oh-more-properties {
        padding-inline:40px;
    }
}
@media(min-width:701px) and (max-width:1000px) {
    .oh-property-detail .oh-more-properties-track {
        grid-auto-columns:calc((100% - 24px)/2);
    }
}
@media(max-width:700px) {
    .oh-property-detail .oh-more-properties {
        gap:24px 16px;
        padding:0 20px 32px;
    }
    .oh-property-detail .oh-more-properties-heading {
        grid-column:1/-1;
    }
    .oh-property-detail .oh-more-properties-heading h2 {
        font-size:32px;
        line-height:40px;
        letter-spacing:0;
    }
    .oh-property-detail .oh-more-properties-heading p {
        font-size:16px;
        line-height:20px;
    }
    .oh-property-detail .oh-more-properties-track {
        gap:16px;
        grid-auto-columns:100%;
    }
    .oh-property-detail .oh-more-properties .oh-property-card-copy h3 {
        font-size:26px;
        line-height:33px;
    }
    .oh-property-detail .oh-more-properties-controls {
        grid-column:2;
        grid-row:3;
    }
}
@media(prefers-reduced-motion:reduce) {
    .oh-property-detail .oh-more-properties-controls button {
        transition:none;
    }
}

/* Shared heading rhythm: section introductions 24/16px; compact copy 12px.
   Scope to copy stacks so grids, property metadata and form fields keep their layout. */
:root {
    --oh-heading-copy-gap:24px;
    --oh-heading-content-gap:48px;
    --oh-compact-copy-gap:12px
}
:is(.oh-main,.editor-styles-wrapper) :is(
    .oh-home-hero-copy,
    .oh-home-services,
    .oh-hero .oh-stack,
    .oh-service-hero .oh-stack,
    .oh-branch-hero .oh-stack,
    .oh-approach-intro,
    .oh-hybrid .oh-stack,
    .oh-editorial-split>.oh-stack,
    .oh-valuation-copy,
    .oh-testimonials-intro,
    .oh-home-cta,
    .oh-home-process,
    .oh-land-options,
    .oh-land-development,
    .oh-mortgage-contact>.oh-stack,
    .oh-auction-timeline>.oh-stack,
    .oh-auction-cta,
    .oh-banner .oh-stack,
    .oh-help-banner .oh-stack,
    .oh-contact-copy,
    .oh-listings-intro,
    .oh-legal-intro,
    .oh-branch-empty,
    .oh-more-properties-heading
) {
    row-gap:var(--oh-heading-copy-gap)
}
:is(.oh-main,.editor-styles-wrapper) .oh-home-steps {
    margin-block-start:calc(var(--oh-heading-content-gap) - var(--oh-heading-copy-gap))
}
:is(.oh-main,.editor-styles-wrapper) :is(
    .oh-card,
    .oh-service-copy,
    .oh-step-copy,
    .oh-qa,
    .oh-journey-step .oh-qa,
    .oh-register-intro .oh-qa,
    .oh-branch-card-compact .oh-branch-card-copy,
    .oh-register-form .oh-register-form-intro
) {
    row-gap:var(--oh-compact-copy-gap)
}
/* Legal paragraphs retain their reading rhythm; only the heading pair changes. */
:is(.oh-main,.editor-styles-wrapper) .oh-legal-section>:is(h2,h3)+:is(p,ul,ol) {
    margin-block-start:calc(var(--oh-heading-copy-gap) - 16px)
}
:is(.oh-main,.editor-styles-wrapper) .oh-editorial-split>.oh-stack>h3+p {
    margin-block-start:calc(var(--oh-compact-copy-gap) - var(--oh-heading-copy-gap))
}
/* Form introduction is compact; preserve the 24px field/group spacing below it. */
:is(.oh-main,.editor-styles-wrapper) .oh-form-card>h2+p {
    margin-block-start:calc(var(--oh-compact-copy-gap) - 24px)
}
@media(max-width:700px) {
    :root {
        --oh-heading-copy-gap:16px;
        --oh-heading-content-gap:32px
    }
    /* Valuation copy uses display:contents here; its outer stack owns the gap. */
    :is(.oh-main,.editor-styles-wrapper) .oh-valuation-intro {
        row-gap:var(--oh-heading-copy-gap)
    }
    :is(.oh-main,.editor-styles-wrapper) .oh-detail-panels>[role=tabpanel]>h2+p {
        margin-block-start:calc(var(--oh-heading-copy-gap) - 24px)
    }
}

/* About and Land: open, centred icon columns from the approved journey reference. */
:is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options) {
    padding-block:64px;
    row-gap:var(--oh-heading-content-gap);
    text-align:center
}
:is(.oh-main,.editor-styles-wrapper) .oh-approach-intro {
    align-items:center
}
:is(.oh-main,.editor-styles-wrapper) .oh-approach-intro>p {
    max-width:800px
}
:is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options)>.oh-cards {
    gap:64px
}
:is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options) .oh-card {
    padding:0;
    min-height:0;
    border:0;
    border-radius:0;
    background:transparent;
    align-items:center;
    row-gap:var(--oh-compact-copy-gap)
}
:is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options) .oh-icon {
    width:64px;
    height:64px;
    flex:none;
    margin-block:28px
}
:is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options) .oh-card p {
    max-width:360px;
    font-size:var(--oh-type-body);
    line-height:1.5
}
:is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options)>.oh-centered {
    margin-top:0
}
/* Land has direct heading/copy children rather than a separate intro wrapper. */
:is(.oh-main,.editor-styles-wrapper) .oh-land-options {
    row-gap:var(--oh-heading-copy-gap)
}
:is(.oh-main,.editor-styles-wrapper) .oh-land-options>p {
    max-width:800px;
    align-self:center
}
:is(.oh-main,.editor-styles-wrapper) .oh-land-options>:is(.oh-cards,.oh-centered) {
    margin-block-start:calc(var(--oh-heading-content-gap) - var(--oh-heading-copy-gap))
}
/* Align the questions with the photo row, independently of the heading height. */
@media(min-width:701px) {
    :is(.oh-main,.editor-styles-wrapper) .oh-auction-details>.oh-editorial-split {
        column-gap:48px;
        row-gap:var(--oh-heading-copy-gap);
        align-items:start
    }
    :is(.oh-main,.editor-styles-wrapper) .oh-auction-details>.oh-editorial-split>.oh-stack {
        display:contents
    }
    :is(.oh-main,.editor-styles-wrapper) .oh-auction-details>.oh-editorial-split>.oh-stack>h2 {
        grid-column:1;
        grid-row:1
    }
    :is(.oh-main,.editor-styles-wrapper) .oh-auction-details .oh-legal-photo {
        grid-column:1;
        grid-row:2;
        align-self:center
    }
    :is(.oh-main,.editor-styles-wrapper) .oh-auction-details>.oh-editorial-split>.oh-editorial-list {
        grid-column:2;
        grid-row:2;
        align-self:center
    }
}
@media(max-width:700px) {
    :is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options) {
        padding-block:40px
    }
    :is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options)>.oh-cards {
        grid-template-columns:1fr;
        gap:32px
    }
    :is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options) .oh-icon {
        width:48px;
        height:48px;
        margin-block:0 12px
    }
    :is(.oh-main,.editor-styles-wrapper) :is(.oh-approach,.oh-land-options) .oh-card h3 {
        font-size:18px;
        line-height:22.5px
    }
}
/* Land icons retain their intrinsic SVG dimensions inside the 24px design slot. */
:is(.oh-main,.editor-styles-wrapper) .oh-land-options .oh-icon-image {
    display:flex;
    align-items:center;
    justify-content:center
}

/* Property tabs: progressive indicator; the native selected border is the fallback. */
.oh-property-detail .oh-property-tabs {
    position:relative
}
.oh-property-detail .oh-property-tab-indicator {
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:3px;
    background:var(--oh-pink);
    pointer-events:none;
    transform-origin:left center
}
.oh-property-detail .oh-property-tabs.has-sliding-indicator [role=tab] {
    border-bottom-color:transparent
}
@media(max-width:700px) {
    .oh-property-detail .oh-property-tab-indicator {
        height:2px
    }
}

/* The photo viewer shares its header alignment, with controls beside the image. */
@media(min-width:701px) {
    .oh-photo-viewer {
        --oh-photo-gutter:max(80px,calc((100% - 1280px)/2))
    }
    .oh-photo-viewer .oh-photo-header,
    .oh-photo-viewer .oh-photo-body {
        padding-inline:var(--oh-photo-gutter)
    }
    .oh-photo-viewer .oh-photo-body {
        padding-top:24px
    }
    .oh-photo-viewer .oh-photo-images {
        inset-inline:76px
    }
    .oh-photo-viewer .oh-photo-navigation {
        position:relative;
        z-index:1;
        padding-inline:var(--oh-photo-control-inset,0px)
    }
}
@media(min-width:701px) and (max-width:1250px) {
    .oh-photo-viewer {
        --oh-photo-gutter:40px
    }
}
@media(min-width:701px) and (max-width:1000px) {
    .oh-photo-viewer {
        --oh-photo-gutter:20px
    }
}

/* Branch results: explicit contact actions and a named website destination. */
.oh-branch-interface .oh-branch-card-compact .oh-branch-card-copy {
    gap:24px;
    min-width:0
}
.oh-branch-interface .oh-branch-identity {
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:0
}
.oh-branch-interface .oh-branch-card-copy p {
    line-height:1.25;
    overflow-wrap:anywhere
}
.oh-branch-interface .oh-branch-card-copy h3 {
    line-height:1.25;
    overflow-wrap:anywhere
}
.oh-branch-interface .oh-branch-card-compact .oh-branch-actions {
    gap:12px;
    margin-top:0;
    padding-top:0
}
.oh-branch-interface .oh-branch-actions>a {
    min-height:52px;
    max-width:100%;
    padding-block:14px;
    gap:12px
}
.oh-branch-interface .oh-branch-actions img {
    display:block;
    flex-shrink:0
}
@media(max-width:700px) {
    .oh-branch-interface .oh-branch-grid .oh-branch-card-compact {
        padding:24px 20px
    }
    .oh-branch-interface .oh-branch-card-compact .oh-branch-card-copy,
    .oh-branch-interface .oh-branch-identity {
        gap:16px
    }
    .oh-branch-interface .oh-branch-actions>a {
        padding-inline:16px
    }
}
.oh-branch-interface .oh-branch-grid:has(>.oh-branch-card:only-child) {
    grid-template-columns:minmax(0,1fr);
    max-width:628px
}

/* Keep desktop contact actions on one row; retain the website label on mobile. */
.oh-branch-interface .oh-branch-grid {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,610px),1fr))
}
.oh-branch-interface .oh-branch-grid .oh-branch-card-compact {
    max-width:628px
}
@media(min-width:701px) {
    .oh-branch-interface .oh-branch-website {
        flex:0 0 84px;
        width:84px;
        padding-inline:0
    }
    .oh-branch-interface .oh-branch-website-label {
        display:none
    }
}
