:root {
    --office-blue: #0C2749;
    --office-red: #B22B2E;
    --office-text: #202A36;
    --office-muted: #667085;
    --office-border: #E4E7EC;
    --office-surface: #FFFFFF;
    --office-soft: #F5F7FA;
    --office-focus: rgba(178, 43, 46, 0.18);
}

html {
    scroll-behavior: smooth;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.office-property-card:focus-visible,
.office-action-button:focus-visible {
    outline: 3px solid var(--office-red);
    outline-offset: 3px;
}

.office-action-button:hover,
.office-card-cta:hover,
.office-blog-card .news-link:hover,
.office-agent-card .team-content span a:hover,
.office-mobile-contact-bar a:hover {
    color: #FFFFFF !important;
    text-decoration: none;
}

.office-search-page {
    background: #F5F7FA;
}

.office-home-search {
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 38px rgba(12, 39, 73, 0.18);
}

.office-home-search .rld-banner-tab {
    margin-bottom: 10px;
}

.office-home-search .nav-tabs .nav-link {
    min-height: 42px;
    color: var(--office-blue);
    font-weight: 700;
}

.office-home-search .nav-tabs .nav-link.active {
    background: var(--office-blue);
    color: #FFFFFF;
}

.office-home-search .btn,
.office-agent-search .btn-search {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--office-red) !important;
    border: 0 !important;
    color: #FFFFFF !important;
    font-weight: 700;
}

.office-search-shell {
    max-width: 1560px;
    margin: 0 auto 24px;
    padding: 22px;
    background: var(--office-surface);
    border: 1px solid var(--office-border);
    box-shadow: 0 14px 34px rgba(12, 39, 73, 0.08);
}

.office-search-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.office-search-kicker {
    display: block;
    color: var(--office-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.office-search-title {
    margin: 2px 0 0;
    color: var(--office-blue);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.office-search-note,
.office-trust-note {
    margin: 0;
    color: var(--office-muted);
    font-size: 13px;
    line-height: 1.5;
}

.office-filter-grid {
    row-gap: 14px;
}

.office-filter-grid [class*="col-"] {
    padding-left: 7px;
    padding-right: 7px;
}

.office-filter-grid .rld-single-input input,
.office-filter-grid .rld-single-select .single-select,
.office-filter-grid button#dropdownMenuButton {
    height: 50px;
    border: 1px solid var(--office-border) !important;
    background: #FFFFFF !important;
    color: var(--office-text);
    box-shadow: none;
}

.office-filter-grid .rld-single-input input:focus,
.office-filter-grid .rld-single-select .single-select:focus,
.office-filter-grid button#dropdownMenuButton:focus {
    border-color: var(--office-red) !important;
    box-shadow: 0 0 0 4px var(--office-focus);
    outline: none;
}

.office-filter-grid .btn-search {
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--office-red) !important;
    border: 0 !important;
    color: #FFFFFF !important;
    font-weight: 700;
    text-transform: none;
}

.office-agent-search {
    margin-bottom: 22px;
    padding: 18px;
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.07);
}

.office-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 20px;
    padding: 0 4px;
}

.office-results-count {
    margin: 0;
    color: var(--office-blue);
    font-size: 18px;
    font-weight: 700;
}

.office-results-disclaimer {
    max-width: 560px;
    color: var(--office-muted);
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
}

.office-property-card {
    display: block;
    height: 100%;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    color: var(--office-text);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.office-property-card:hover,
.office-property-card:focus {
    color: var(--office-text);
    border-color: rgba(178, 43, 46, 0.35);
    box-shadow: 0 18px 34px rgba(12, 39, 73, 0.14);
    text-decoration: none;
    transform: translateY(-3px);
}

.office-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 245px;
    overflow: hidden;
    background: #D8DEE8;
}

.office-card-media .recent-img16 {
    width: 100%;
    height: 100%;
    min-height: 0;
    background-size: cover;
    background-position: center;
    transition: transform 240ms ease;
}

.office-property-card:hover .recent-img16 {
    transform: scale(1.04);
}

.portfolio-items.office-property-grid {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    height: auto !important;
}

.portfolio-items.office-property-grid > .item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex;
    margin-bottom: 30px;
}

.portfolio-items.office-property-grid .office-property-card {
    width: 100%;
}

.office-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.office-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 70%;
    padding: 6px 10px;
    background: var(--office-blue);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.office-card-badge.office-card-badge-country {
    background: rgba(255, 255, 255, 0.94);
    color: var(--office-blue);
}

.office-card-body {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 18px;
}

.office-card-body .recent-title {
    min-height: 48px;
    margin: 0 0 10px;
    color: var(--office-blue);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.office-card-body .recent-price {
    margin-bottom: 12px;
    color: var(--office-red);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.office-card-location {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-height: 22px;
    margin: -2px 0 10px;
    color: var(--office-muted);
    font-size: 13px;
    line-height: 1.35;
}

.office-card-location i {
    margin-top: 2px;
    color: var(--office-red);
}

.office-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--office-muted);
    font-size: 13px;
}

.office-card-facts span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    background: var(--office-soft);
}

.office-card-office {
    margin-top: auto;
    color: var(--office-muted);
    font-size: 12px;
    line-height: 1.45;
}

.office-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin-top: 14px;
    padding: 10px 12px;
    background: var(--office-blue);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.office-property-hero {
    margin-top: 24px;
}

.office-detail-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.office-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.office-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--office-border);
    background: #FFFFFF;
    color: var(--office-blue);
    font-weight: 700;
}

.office-action-button.office-action-primary {
    border-color: var(--office-red);
    background: var(--office-red);
    color: #FFFFFF;
}

.office-gallery-shell {
    overflow: hidden;
    border: 1px solid var(--office-border);
    background: #FFFFFF;
    box-shadow: 0 14px 34px rgba(12, 39, 73, 0.08);
}

.office-trust-note {
    margin-top: 14px;
    padding: 12px 14px;
    background: #FFF8F0;
    border-left: 4px solid var(--office-red);
}

.office-detail-card,
.office-form-card,
.office-map-card,
.office-legal-card {
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.07);
}

.office-detail-card,
.office-legal-card {
    padding: 24px;
}

.office-form-card {
    overflow: hidden;
}

.office-form-card .widget-boxed-header {
    background: var(--office-blue);
    color: #FFFFFF;
}

.office-form-card .widget-boxed-header h4,
.office-form-card .widget-boxed-header small {
    color: #FFFFFF;
}

.office-form-field {
    margin-bottom: 12px;
}

.office-form-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--office-text);
    font-size: 12px;
    font-weight: 700;
}

.agent-contact-form-sidebar .office-form-field input,
.agent-contact-form-sidebar .office-form-field textarea,
.office-form-card .office-form-field .form-control {
    margin-bottom: 0;
    border: 1px solid var(--office-border);
    color: var(--office-text);
}

.agent-contact-form-sidebar .office-form-field input:focus,
.agent-contact-form-sidebar .office-form-field textarea:focus,
.office-form-card .office-form-field .form-control:focus {
    border-color: var(--office-red);
    box-shadow: 0 0 0 4px var(--office-focus);
}

.office-form-card .btn-primary,
.office-form-card .multiple-send-message {
    min-height: 46px;
    width: 100%;
    background: var(--office-red) !important;
    border: 0 !important;
    color: #FFFFFF !important;
    font-weight: 700;
}

.office-form-card .text-danger,
.agent-contact-form-sidebar .text-danger {
    display: block;
    margin-top: 5px;
    color: var(--office-red) !important;
    font-size: 12px;
    font-weight: 700;
}

.office-form-card input.input-validation-error,
.office-form-card textarea.input-validation-error,
.agent-contact-form-sidebar input.input-validation-error,
.agent-contact-form-sidebar textarea.input-validation-error {
    border-color: var(--office-red) !important;
}

.swal2-popup {
    border-radius: 6px !important;
}

.swal2-title {
    color: var(--office-blue) !important;
    font-family: Poppins, Arial, sans-serif !important;
}

.swal2-confirm.swal2-styled {
    min-width: 120px;
    background: var(--office-red) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-weight: 700;
}

.office-form-helper {
    margin: 0 0 14px;
    color: var(--office-muted);
    font-size: 12px;
    line-height: 1.45;
}

.office-map-card {
    padding: 18px;
}

.office-map-card iframe {
    height: 420px;
}

.office-mobile-contact-bar {
    display: none;
}

.office-agent-page {
    background: #F5F7FA;
    padding: 48px 0;
}

.office-section-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.office-section-heading h1,
.office-section-heading h2 {
    margin-bottom: 8px;
    color: var(--office-blue);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.office-section-heading p {
    margin: 0;
    color: var(--office-muted);
    font-size: 15px;
    line-height: 1.6;
}

.office-agent-grid {
    row-gap: 24px;
}

.office-agent-card {
    height: 100%;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.office-agent-card:hover {
    border-color: rgba(178, 43, 46, 0.35);
    box-shadow: 0 18px 34px rgba(12, 39, 73, 0.13);
    transform: translateY(-3px);
}

.office-agent-card .team-img {
    height: 300px;
    overflow: hidden;
    background: #D8DEE8;
}

.office-agent-card .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.office-agent-card .team-content {
    position: static;
    height: auto;
    min-height: 176px;
    padding: 18px;
    background: #FFFFFF;
    opacity: 1;
}

.office-agent-card:hover .team-content {
    position: static;
    height: auto;
    background: #FFFFFF;
    opacity: 1;
}

.office-agent-card .team-info {
    position: static;
    transform: none;
    opacity: 1;
}

.office-agent-card:hover .team-content .team-info {
    transform: none;
    opacity: 1;
}

.office-agent-card .team-content h3 {
    min-height: 48px;
    margin-bottom: 8px;
    color: var(--office-blue);
    font-size: 18px;
    line-height: 1.3;
}

.office-agent-card .team-content p {
    min-height: 38px;
    margin-bottom: 16px;
    color: var(--office-muted);
}

.office-agent-card .team-content span a,
.office-agent-card .office-agent-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    width: 100%;
    padding: 10px 12px;
    background: var(--office-blue);
    color: #FFFFFF !important;
    font-weight: 700;
    text-decoration: none;
}

.office-contact-page {
    background: #F5F7FA;
    padding: 48px 0;
}

.office-content-page {
    background: #F5F7FA !important;
    padding: 48px 0;
}

.office-content-card {
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.08);
}

.office-content-card .pftext {
    color: var(--office-text);
    font-size: 15px;
    line-height: 1.75;
}

.office-content-card .box.bg-2 {
    margin-top: 24px;
    text-align: center;
}

.office-content-card .button,
.office-content-card .button:hover {
    background: var(--office-red) !important;
    border: 0 !important;
    color: #FFFFFF !important;
}

.office-blog-grid .row {
    row-gap: 24px;
}

.office-blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--office-border) !important;
    border-radius: 0 !important;
    background: #FFFFFF;
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.office-blog-card:hover {
    border-color: rgba(178, 43, 46, 0.35) !important;
    box-shadow: 0 18px 34px rgba(12, 39, 73, 0.13);
    transform: translateY(-3px);
}

.office-blog-card .news-item-img {
    min-height: 240px;
    background: #F5F7FA;
}

.office-blog-card .news-item-img img {
    width: 100%;
    height: 240px;
    object-fit: cover !important;
}

.office-blog-card .news-item-text {
    padding: 18px;
}

.office-blog-card .news-item-text h3 {
    min-height: 58px;
    margin-bottom: 10px;
    color: var(--office-blue);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.office-blog-card .news-item-descr {
    min-height: 86px;
    color: var(--office-muted);
    font-size: 14px;
    line-height: 1.55;
}

.office-blog-card .news-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    width: 100%;
    padding: 10px 12px;
    background: var(--office-blue);
    color: #FFFFFF !important;
    font-weight: 700;
    text-decoration: none;
}

.office-article-card {
    max-width: 980px;
    margin: 0 auto;
}

.office-article-image {
    width: 100%;
    max-width: 760px;
    max-height: 460px;
    margin-bottom: 24px;
    object-fit: cover;
}

.office-article-body {
    color: var(--office-text);
    font-size: 16px;
    line-height: 1.8;
}

.office-article-body img {
    max-width: 100%;
    height: auto;
}

.office-empty-state {
    max-width: 980px;
    margin: 24px auto;
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.08);
}

.office-empty-state h5 {
    color: var(--office-blue);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.office-empty-state h5 span,
.office-empty-state-cta {
    color: var(--office-red);
    font-weight: 800;
}

.office-empty-state iframe {
    width: 100%;
    height: 420px;
    margin: 16px 0;
    border: 0;
}

.office-empty-state ul {
    margin: 14px 0;
    padding-left: 18px;
}

.office-contact-card {
    height: 100%;
    padding: 26px;
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.08);
}

.office-contact-card h2 {
    margin-bottom: 10px;
    color: var(--office-blue);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.office-contact-muted {
    color: var(--office-muted);
    font-size: 14px;
    line-height: 1.6;
}

.office-contact-list {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.office-contact-list a,
.office-contact-list span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--office-text);
    font-size: 14px;
    line-height: 1.5;
}

.office-contact-list i {
    width: 18px;
    margin-top: 3px;
    color: var(--office-red);
    text-align: center;
}

.office-contact-actions {
    display: grid;
    gap: 10px;
}

.office-contact-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

.office-agent-guidance {
    margin-bottom: 24px;
}

.office-agent-guidance h1 {
    margin-bottom: 16px;
    color: var(--office-blue);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.office-agent-guidance h1 span {
    font-size: inherit !important;
}

.office-agent-guidance h3 {
    margin-top: 22px;
    color: var(--office-blue);
    font-size: 18px;
    font-weight: 800;
}

.office-agent-guidance p {
    color: var(--office-text);
    font-size: 15px;
    line-height: 1.75;
}

.property.wprt-image-video.office-media-card,
.property.wprt-image-video {
    margin: 0 0 24px;
    padding: 22px;
    background: #FFFFFF;
    border: 1px solid var(--office-border);
    box-shadow: 0 12px 26px rgba(12, 39, 73, 0.07);
}

.property.wprt-image-video h5 {
    margin-bottom: 16px;
    color: var(--office-blue);
    font-size: 20px;
    font-weight: 800;
}

.property.wprt-image-video iframe {
    width: 100% !important;
    height: 520px;
    border: 0;
}

.office-legal-page {
    background: #F5F7FA;
    padding: 34px 0;
}

.office-legal-card {
    max-width: 920px;
    margin: 0 auto 30px;
}

.office-legal-card h1 {
    color: var(--office-blue);
    font-size: 34px;
    line-height: 1.2;
}

.office-legal-card h2 {
    margin: 26px 0 10px;
    color: var(--office-blue);
    font-size: 18px;
    line-height: 1.3;
}

.office-legal-card p {
    color: #344054;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    #navigation.style-1 ul a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .office-search-header,
    .office-results-header,
    .office-detail-title-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .office-results-disclaimer {
        text-align: left;
    }

    .office-detail-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .office-action-button {
        flex: 1 1 160px;
    }
}

@media (max-width: 767.98px) {
    .office-search-shell {
        padding: 16px;
    }

    .office-home-search {
        padding: 12px;
    }

    .office-search-title {
        font-size: 24px;
    }

    .office-filter-grid [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .office-card-media {
        min-height: 230px;
    }

    .office-detail-card,
    .office-legal-card {
        padding: 18px;
    }

    .office-section-heading h1,
    .office-section-heading h2 {
        font-size: 28px;
    }

    .office-agent-card .team-img {
        height: 280px;
    }

    .office-contact-card {
        padding: 20px;
    }

    .office-empty-state {
        padding: 20px;
    }

    .office-empty-state iframe {
        height: 320px;
    }

    .office-contact-map iframe {
        height: 340px;
    }

    .property.wprt-image-video {
        padding: 16px;
    }

    .property.wprt-image-video iframe {
        height: 320px;
    }

    footer.first-footer .top-footer {
        padding-bottom: 72px;
    }

    .office-mobile-contact-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 -10px 26px rgba(12, 39, 73, 0.18);
    }

    .office-mobile-contact-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        background: var(--office-blue);
        color: #FFFFFF;
        font-weight: 700;
    }

    .office-mobile-contact-bar a:first-child {
        background: var(--office-red);
    }

    body.office-property-detail-body {
        padding-bottom: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .office-property-card,
    .office-agent-card,
    .office-blog-card,
    .office-card-media .recent-img16 {
        transition: none;
    }

    .office-property-card:hover,
    .office-agent-card:hover,
    .office-blog-card:hover {
        transform: none;
    }
}
