:root {
    --blok-listing-max-width: 1200px;
    --blok-listing-gutter: clamp(16px, 4vw, 40px);
    --blok-color-surface: #ffffff;
    --blok-color-surface-alt: #f5f7fa;
    --blok-color-border: #dde2eb;
    --blok-color-primary: var(--brand-color-1);
    --blok-color-primary-light: rgba(0, 79, 113, 0.08);
    --blok-color-text: #1f2933;
    --blok-color-muted: #6b7785;
    --blok-radius-lg: 18px;
    --blok-radius-md: 12px;
    --blok-radius-sm: 8px;
    --blok-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --blok-transition: 0.25s ease;
}

.blok-listing {
    margin: 0 auto clamp(48px, 8vw, 96px);
    color: var(--blok-color-text);
    width: 90%;
    padding-top: 70px;
}

.blok-listing--error {
    display: flex;
    min-height: 40vh;
    align-items: center;
    justify-content: center;
}

.blok-listing__hero {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 40px);
    margin-bottom: clamp(32px, 5vw, 10px);
}

.blok-listing-gallery {
    background: var(--blok-color-surface);
    border-radius: var(--blok-radius-lg);
    box-shadow: var(--blok-shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.blok-listing-gallery__stage {
    position: relative;
    height: 350px;
    background: var(--blok-color-surface);
    overflow: hidden;
}

.blok-listing-gallery__viewport {
    height: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / 3);
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-snap-stop: always;
    gap: 0;
}

/* For 3-image navigation mode, always show 3 columns */
.blok-listing-gallery__viewport[data-slides-per-view="3"] {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide {
    flex: 0 0 calc(100% / 3);
    position: absolute;
    opacity: 0;
    transition: all 0.3s ease;
}

.blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide.is-visible {
    position: relative;
    opacity: 1;
}

.blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide.is-left {
    order: 1;
}

.blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide.is-center {
    order: 2;
}

.blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide.is-right {
    order: 3;
}

/* Legacy single slide mode */
.blok-listing-gallery__viewport[data-slide-count="1"]:not([data-slides-per-view]) {
    grid-auto-columns: 100%;
    overflow-x: auto;
}

.blok-listing-gallery__viewport[data-slide-count="2"]:not([data-slides-per-view]) {
    grid-auto-columns: 50%;
    overflow-x: auto;
}

.blok-listing-gallery__viewport::-webkit-scrollbar {
    display: none;
}

.blok-listing-gallery__slide {
    margin: 0 5px;
    height: 100%;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

.blok-listing-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--blok-transition);
}

/* Hide slides that are not visible in 3-image mode */
.blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide:not(.is-visible) {
    display: none;
}

/* Show all slides in legacy mode */
.blok-listing-gallery__viewport:not([data-slides-per-view]) .blok-listing-gallery__slide {
    display: block;
}

/* Center image positioning (no visual highlight) */
.blok-listing-gallery__slide.is-center {
    position: relative;
    z-index: 2;
}

/* Navigation arrows */
.blok-listing-gallery__navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.blok-listing-gallery__nav {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--blok-transition);
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.blok-listing-gallery__nav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.blok-listing-gallery__nav:disabled,
.blok-listing-gallery__nav.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.blok-listing-gallery__nav:disabled:hover,
.blok-listing-gallery__nav.is-disabled:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: none;
}

.blok-listing-gallery__nav svg {
    width: 24px;
    height: 24px;
}

/* Similar listings section - single row with 4 articles max */
#similar-listings .blok-map__results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    padding-right: 0;
    margin-right: 0;
    overflow: visible;
    margin-top: 20px;
    margin-bottom: 20px;
}

#similar-listings .blok-map__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 0;
    align-content: start;
}

/* Force single row layout - override all responsive breakpoints */
@media (max-width: 1200px) {
    #similar-listings .blok-map__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    #similar-listings .blok-map__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 15px; /* Slightly smaller gap on smaller screens */
    }
}

@media (max-width: 768px) {
    #similar-listings .blok-map__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Only on mobile show 2 per row */
        gap: 15px;
    }
}

@media (max-width: 480px) {
    #similar-listings .blok-map__cards {
        grid-template-columns: 1fr; /* Only on very small screens show 1 per row */
        gap: 15px;
    }
}

/* Styling for different listing types in similar listings */
#similar-listings .blok-card[data-sale-state="to-rent"] {
    color: var(--blok-color-primary); /* Green for rental prices */
}

#similar-listings .blok-card[data-sale-state="for-sale"] {
    color: #dc2626; /* Red for sale prices */
}

#similar-listings .blok-card__badge--state-new {
    background: var(--brand-color-4) /* Green for new listings */
}

#similar-listings .blok-card__badge--state-to-rent {
    background-color: var(--blok-color-primary);
}

#similar-listings .blok-card__badge--state-for-sale {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Photo Carousel Navigation for Similar Listings */
#similar-listings .blok-card__carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 45;
    opacity: 1;
    transition: all 0.35s ease;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

#similar-listings .blok-card__carousel-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#similar-listings .blok-card__carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

#similar-listings .blok-card:hover .blok-card__carousel-btn:active {
    transform: translateY(-50%) scale(0.98);
}

#similar-listings .blok-card__carousel-btn--prev {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#similar-listings .blok-card__carousel-btn--next {
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#similar-listings .blok-card__carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    pointer-events: none;
}

/* Carousel Dots for Similar Listings */
#similar-listings .blok-card__carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 45;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

#similar-listings .blok-card__carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease, width 0.2s ease;
    cursor: pointer;
}

#similar-listings .blok-card__carousel-dot--active {
    background: rgba(255, 255, 255, 1);
    width: 18px;
    border-radius: 3px;
}

/* 2-image layout for responsive */
.blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide.is-visible {
    flex: 0 0 calc(100% / 3);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    /* Show 2 images on tablet */
    .blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide.is-visible {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    /* Show 1 image on mobile */
    .blok-listing-gallery__viewport[data-slides-per-view="3"] .blok-listing-gallery__slide.is-visible {
        flex: 0 0 100%;
    }
    
    .blok-listing-gallery__navigation {
        padding: 0 12px;
    }
    
    .blok-listing-gallery__nav {
        width: 40px;
        height: 40px;
    }
    
    .blok-listing-gallery__nav svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .blok-listing-gallery__navigation {
        padding: 0 8px;
    }
    
    .blok-listing-gallery__nav {
        width: 36px;
        height: 36px;
    }
}

.blok-listing-gallery__placeholder {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blok-color-muted);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.04) 12px,
        rgba(255, 255, 255, 0.08) 12px,
        rgba(255, 255, 255, 0.08) 24px
    );
}

/* Video Tour Button */
.blok-listing-gallery__video-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    z-index: 10;
}

.blok-listing-gallery__video-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blok-listing-gallery__video-btn svg {
    width: 24px;
    height: 24px;
}

/* Video Modal */
.blok-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blok-video-modal:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.blok-video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.blok-video-modal__container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    z-index: 1;
}

.blok-video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.blok-video-modal__close:hover {
    transform: scale(1.1);
}

.blok-video-modal__close svg {
    width: 32px;
    height: 32px;
}

.blok-video-modal__content {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.blok-video-modal__content iframe {
    display: block;
}

@media (max-width: 768px) {
    .blok-listing-gallery__video-btn {
        padding: 5px 10px;
        font-size: 14px;
        bottom: 15px;
    }

    .blok-listing-gallery__video-btn svg {
        width: 20px;
        height: 20px;
    }

    .blok-video-modal__container {
        width: 95%;
    }

    .blok-video-modal__close {
        top: -45px;
    }

    .blok-video-modal__close svg {
        width: 28px;
        height: 28px;
    }
}

.blok-listing-gallery__thumbs {
    overflow-x: auto;
    display: grid;
    gap: 12px;
    grid-auto-flow: column;
    padding: 0 16px 16px;
    scrollbar-width: thin;
}

.blok-listing-gallery__thumb {
    background: var(--blok-color-surface-alt);
    border: 2px solid transparent;
    border-radius: var(--blok-radius-sm);
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: border-color var(--blok-transition), transform var(--blok-transition);
}

.blok-listing-gallery__thumb img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.blok-listing-gallery__thumb:hover {
    transform: translateY(-4px);
}

.blok-listing-gallery__thumb.is-active {
    border-color: var(--blok-color-primary);
}

.blok-line {
    width: 100%;
    height: 1px;
    background-color: rgba(17, 17, 17, 0.1);
}

.blok-listing-hero__breadcrumb {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--blok-color-muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.blok-listing-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.blok-listing-hero__breadcrumb a:hover {
    color: var(--blok-color-primary);
}

.blok-listing-hero__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0 0 8px;
    line-height: 1.1;
}

.blok-listing-hero__address-line {
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    text-align: left;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding-left: 4px;
}

.blok-listing-hero__address-subline {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #6b7785;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 12px;
    padding-left: 4px;
}

.blok-listing-hero__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 12px 4px;
}

.blok-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    line-height: 1;
}

.blok-tag--on-show {
    background-color: var(--brand-color-1);
    color: var(--fourth-color);
}

.blok-tag--no-transfer {
    background-color: var(--brand-color-1);
    color: var(--fourth-color);
}

.blok-tag--mandate {
    background-color: var(--brand-color-1);
    color: var(--fourth-color);
}

.blok-listing-hero__show-days {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 16px 4px;
}

.blok-show-day-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #6b7785;
    line-height: 1.5;
}

.blok-show-day-icon {
    flex-shrink: 0;
    color: var(--brand-color-1)
}

.blok-show-day-text {
    flex: 1;
}

.blok-add-to-calendar-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-color-1);
    background: transparent;
    border: 1px solid var(--brand-color-1);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.blok-add-to-calendar-btn:hover {
    background: var(--brand-color-1);
    color: #ffffff;
}

/* Calendar Modal */
.blok-calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blok-calendar-modal[hidden] {
    display: none;
}

.blok-calendar-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.blok-calendar-modal__container {
    position: relative;
    background: #ffffff;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.blok-calendar-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #6b7785;
    z-index: 10;
    pointer-events: auto;
}

.blok-calendar-modal__close:hover {
    background: #f5f7fa;
    color: #1f2937;
}

.blok-calendar-modal__content {
    padding: 32px 24px 24px;
}

.blok-calendar-modal__content h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.blok-calendar-modal__subtitle {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6b7785;
}

.blok-calendar-modal__buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
}

.blok-calendar-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.blok-calendar-modal__btn:hover {
    border-color: #cbd5e1;
}

.blok-calendar-modal__btn--google:hover {
    border-color: #1976D2;
}

.blok-calendar-modal__btn--outlook:hover {
    border-color: #D32F2F;
}

.blok-calendar-modal__btn--office:hover {
    border-color: #0078D4;
}

.blok-calendar-modal__btn svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.blok-calendar-modal__download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 64px;
    height: 64px;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.blok-calendar-modal__download svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    fill: #1f2937;
}

.blok-calendar-modal__download span {
    font-size: 9px;
    font-weight: 600;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    text-align: center;
}

.blok-calendar-modal__download:hover {
    border-color:  var(--brand-color-1);
}

.blok-calendar-modal__download:hover svg {
    fill: var(--brand-color-1);
}

.blok-calendar-modal__download:hover span {
    color: var(--brand-color-1);
}

@media (max-width: 640px) {
    .blok-add-to-calendar-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .blok-calendar-modal__content {
        padding: 24px 16px 16px;
    }
    
    .blok-calendar-modal__content h4 {
        font-size: 20px;
    }
}

.blok-listing-hero__address-pin {
    font-size: 20px;
}

.blok-listing-hero__time-on-market {
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-align: left;
    color: #aaaaaa;
    margin: 0 0 10px;
    padding-left: 4px;
}
.blok-listing-hero__price {
    font-size: 48px;
    color: #111111;
    margin: 0 0 16px;
    font-family: var(--font-2);
    line-height: 58px;
}

.blok-price-suffix {
    font-size: 24px;
    font-weight: normal;
}

.blok-listing-hero__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 16px;
}

.blok-listing-hero__address {
    font-size: 1rem;
    color: var(--blok-color-muted);
    margin: 0;
}

.blok-listing-hero__specs-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
    color: #555555;
    padding-left: 4px;
}

.blok-pill {
    background: var(--blok-color-primary-light);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blok-color-primary);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blok-pill--outline {
    background: transparent;
    border: 1px solid var(--blok-color-primary);
}

.blok-pill--ref {
    background: rgba(17, 24, 39, 0.06);
    color: var(--blok-color-text);
}

.blok-pill--spec {
    background: rgba(41, 56, 70, 0.08);
    color: var(--blok-color-text);
}

.blok-listing__layout {
    display: grid;
    gap: clamp(32px, 5vw, 56px);
}

@media (min-width: 1080px) {
    .blok-listing__layout {
        grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
        align-items: start;
    }
}

.blok-listing__main {
    display: grid;
}

.blok-panel__title {
    margin: 0 0 16px;
    font-size: 2rem;
    padding-top: 30px;
}

.lofty-detail-wrapper {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

@media (min-width: 600px) {
    .lofty-detail-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* Mobile: single column for better readability */
@media (max-width: 599px) {
    .lofty-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

.lofty-detail-key-detail-item {
    margin: 0;
    padding: 16px 18px;
    background: var(--blok-color-surface-alt);
    border-radius: var(--blok-radius-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: none;
    min-width: 0;
}

.lofty-key {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blok-color-muted);
    word-wrap: normal;
    overflow-wrap: normal;
}

.lofty-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blok-color-text);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.blok-panel__body--prose p {
    margin: 0 0 16px;
    line-height: 1.6;
    color: var(--blok-color-text);
    margin-top: 30px;
    margin-bottom: 30px;
}

.blok-feature-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 600px) {
    .blok-feature-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.blok-feature-card {
    border: 1px solid var(--blok-color-border);
    padding: 16px 20px;
    background: var(--blok-color-surface-alt);
}

.blok-feature-card__label {
    font-size: 0.82rem;
    color: var(--blok-color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blok-feature-card__value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 6px;
}

.blok-details-grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 640px) {
    .blok-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Mobile: single column for better readability */
@media (max-width: 639px) {
    .blok-details-grid {
        grid-template-columns: 1fr;
    }
}

.blok-details-grid dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blok-color-muted);
    margin-bottom: 4px;
    word-wrap: normal;
    overflow-wrap: normal;
}

.blok-details-grid dd {
    margin: 0;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.blok-tag-list {
    list-style: none;
    padding: 0;
    margin: -6px;
    display: flex;
    flex-wrap: wrap;
}

.blok-tag-list__item {
    margin: 6px;
    padding: 8px 14px;
    background: var(--blok-color-surface-alt);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--blok-color-text);
}

.blok-downloads {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.blok-downloads__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blok-color-surface-alt);
    padding: 14px 18px;
    border-radius: var(--blok-radius-md);
    text-decoration: none;
    color: var(--blok-color-text);
    transition: background var(--blok-transition), transform var(--blok-transition);
}

.blok-downloads__link:hover {
    background: rgba(0, 79, 113, 0.12);
    transform: translateY(-2px);
}

.blok-downloads__icon {
    font-size: 1.4rem;
}

.blok-video-frame {
    aspect-ratio: 16 / 9;
    border-radius: var(--blok-radius-lg);
    overflow: hidden;
    box-shadow: var(--blok-shadow-soft);
}

.blok-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.blok-listing-map {
    height: 360px;
    overflow: hidden;
    box-shadow: var(--blok-shadow-soft);
    margin-top: 30px;
    margin-bottom: 30px;
}

.blok-listing__sidebar {
    display: grid;
    gap: 24px;
}

.blok-sidebar-card {
    border: 1px solid var(--blok-color-border);
    padding: clamp(24px, 3vw, 32px);
}

.blok-sidebar-card__price {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blok-color-primary);
}

.blok-sidebar-card__meta {
    margin: 0 0 24px;
    color: var(--blok-color-muted);
    font-weight: 600;
}

.blok-enquiry {
    display: grid;
    gap: 18px;
}

.blok-enquiry__title {
    margin: 0;
    font-size: 1.25rem;
}

.blok-enquiry__subtitle {
    margin: 0;
    color: var(--blok-color-muted);
    font-size: 0.95rem;
}

.blok-field {
    display: grid;
    gap: 6px;
}

.blok-field__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blok-color-muted);
}

.blok-field__control {
    border: 1px solid var(--blok-color-border);
    padding: 12px 14px;
    font-size: 1rem;
    transition: border-color var(--blok-transition), box-shadow var(--blok-transition);
    width: 100%;
}

.blok-field__control:focus {
    outline: none;
    border-color: var(--blok-color-primary);
    box-shadow: 0 0 0 4px rgba(0, 79, 113, 0.12);
}

.blok-button {
    border: none;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--blok-transition), box-shadow var(--blok-transition);
}

.blok-button--primary {
    background: var(--blok-color-primary);
    color: #ffffff;
}

.blok-button--primary:hover {
    transform: translateY(-2px);
}

.blok-sidebar-card--agents {
    background: var(--blok-color-surface-alt);
}

.blok-sidebar-card__title {
    margin: 0 0 16px;
    font-size: 1.1rem;
}

.blok-sidebar-card--share {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blok-sidebar-card--share .blok-sidebar-card__title {
    margin: 0;
    flex-shrink: 0;
}

.blok-agent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.blok-agent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
}

.blok-agent__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body.blok-listing-detail #header {
    background-color: #000 !important;
}

.blok-agent__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #dfe5ec;
}

.blok-agent__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #9baf1e;
}

.blok-agent__placeholder-icon {
    display: block;
    width: 32px;
    height: 32px;
}

.blok-agent__name {
    margin: 0 0 4px;
    font-weight: 600;
}

.blok-agent__actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.blok-agent__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--blok-color-border, #dfe5ec);
    border-radius: 50%;
    background: var(--blok-color-surface-alt, #f8f9fa);
    color: var(--blok-color-text, #333);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.blok-agent__icon-btn:hover {
    background: var(--blok-color-primary, #004f71);
    color: white;
    border-color: var(--blok-color-primary, #004f71);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blok-agent__icon-btn svg {
    flex-shrink: 0;
}

/* Show desktop phone button (reveal) on larger screens */
.blok-agent__phone-desktop {
    display: inline-flex;
}

.blok-agent__phone-mobile {
    display: none;
}

/* Show mobile phone button (direct call) on smaller screens */
@media (max-width: 768px) {
    .blok-agent__phone-desktop {
        display: none;
    }
    
    .blok-agent__phone-mobile {
        display: inline-flex;
    }
}

.blok-agent__contact {
    display: block;
    color: var(--blok-color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 8px;
}

.blok-agent__contact:hover {
    text-decoration: underline;
}

.blok-agent__bio-btn {
    display: inline-block;
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fourth-color);
    background-color: var(--brand-color-1);
    border: 1px solid var(--brand-color-1);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    max-width: 160px;
}

.blok-agent__bio-btn:hover {
    background-color: var(--fourth-color);
    color: var(--brand-color-1);
    border-color: var(--brand-color-1);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 79, 113, 0.15);
}

.blok-agent__bio-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 79, 113, 0.1);
}

.blok-share__divider {
    flex: 1;
    height: 1px;
    background-color: var(--blok-color-border);
    margin: 0 8px;
}

.blok-share {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
}

.blok-share__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--blok-color-border);
    text-decoration: none;
    background: var(--blok-color-surface);
    color: var(--blok-color-text);
    cursor: pointer;
    transition: all var(--blok-transition);
    position: relative;
}

.blok-share__button svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.blok-share__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--blok-color-primary);
    background: var(--blok-color-surface);
}

/* Individual button colors on hover */
.blok-share__button:nth-child(1):hover {
    /* Facebook */
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.blok-share__button:nth-child(2):hover {
    /* X (Twitter) */
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.blok-share__button:nth-child(3):hover {
    /* WhatsApp */
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

.blok-share__button:nth-child(4):hover {
    /* LinkedIn */
    background: #0077b5;
    border-color: #0077b5;
    color: #ffffff;
}

.blok-share__button:nth-child(5):hover {
    /* Copy Link */
    background: var(--blok-color-primary);
    border-color: var(--blok-color-primary);
    color: #ffffff;
}

[data-blok-copy-success] {
    position: relative;
}

[data-blok-copy-success]::after {
    content: attr(data-blok-copy-success);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 6px 12px;
    background: var(--blok-color-primary);
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

[data-blok-copy-success]::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--blok-color-primary);
    z-index: 10;
}

@media (max-width: 640px) {
    .blok-sidebar-card--share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .blok-share__divider {
        display: none;
    }
    
    .blok-share {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .blok-share__button {
        width: 44px;
        height: 44px;
    }
    
    .blok-share__button svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 767px) {
    .blok-listing-gallery__thumbs {
        grid-auto-columns: 120px;
    }

    /* Keep agent layout as avatar-left, info-right on mobile */
    .blok-agent {
        gap: 12px;
    }

    .blok-agent__avatar {
        width: 50px;
        height: 50px;
    }

    .blok-agent__name {
        font-size: 0.95rem;
    }

    .blok-agent__icon-btn {
        width: 36px;
        height: 36px;
    }

    .blok-agent__icon-btn svg {
        width: 16px;
        height: 16px;
    }
}

.leaflet-container {
    font-family: inherit;
}

.blok-detail-wrapper{
    display: flex;
    margin-top: 15px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    flex-wrap: wrap;
}

.blok-detail-key-detail-item {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #555555;
    padding: 10px 0;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    flex: none;
    width: 50%;
    display: flex;
    min-width: 0;
}

/* Mobile: full width for each detail item */
@media (max-width: 639px) {
    .blok-detail-key-detail-item {
        width: 100%;
    }
}

.blok-key {
    display: inline-block;
    width: 150px;
    margin-right: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

/* Mobile: reduce key width */
@media (max-width: 639px) {
    .blok-key {
        width: 120px;
        margin-right: 15px;
    }
}

.blok-value {
    display: inline-block;
    max-width: 270px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    padding-right: 15px;
    flex: 1;
    min-width: 0;
}

/* Mobile: allow value to take remaining space */
@media (max-width: 639px) {
    .blok-value {
        max-width: none;
        flex: 1;
    }
}

.blok-card {
    position: relative;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 330px;
    width: 100%;
}

.blok-card__media {
    position: relative;
    background: #0f172a;
    min-height: 200px;
}

.blok-card__image-link {
    display: block;
    height: 100%;
}

.blok-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blok-card:hover .blok-card__media img {
    transform: scale(1.03);
}

#similar-listings .blok-card:hover .blok-card__carousel-btn {
    transform: translateY(-50%) scale(1.03);
}

.blok-card__badge {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 22px;
    padding: 0px 6px;
    border-radius: 2px;
    color: rgb(255, 255, 255);
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    margin: 0px;
    z-index:999;
}

.blok-card__badge--state {
    top: 14px;
    left: 14px;
}

.blok-card__badge--state-new {
    background: var(--brand-color-4); /* Green for new listings */
}

.blok-card__badge--state-for-sale {
    background: var(--brand-color-4);
}

.blok-card__badge--state-price-reduced {
    background: rgb(251 122 31 / 82%);
}

.blok-card__badge--state-offer-accepted {
    background: rgba(59, 130, 246, 0.95);
}

.blok-card__badge--state-sold {
    background: rgba(190, 18, 60, 0.9);
}

.blok-card__badge--photos {
    bottom: 14px;
    left: 14px;
}

.blok-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding-top: 10px;
}

.blok-map .blok-card__body {
    align-items: flex-start;
    text-align: left;
}

.blok-card__price {
    margin: 0;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    color: #111111;
}

.blok-card__stats-line {
    margin: 0;
    font-size: 15px;
    color: #555555;
}

.blok-card__address {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #555555;
}

.blok-card__address-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blok-card__address-link:hover {
    color: #f97316;
}

.blok-card__location {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.blok-card__meta {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.blok-card__primary-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #0f172a;
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.blok-card__primary-link:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.blok-img-counts{
    width: 51px;
    height: 28px;
    background: rgba(17, 17, 17, 0.4);
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 5px 7px;
    color: rgb(255, 255, 255);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index:999;
}

.blok-house-item .blok-house-img .blok-img-counts {
    width: fit-content !important;
    background: rgba(17, 17, 17, 0.5) !important;
    border-bottom-left-radius: 0px !important;
    padding: 5px 10px !important;
}

/* Full-screen Gallery Modal */
.blok-fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blok-fullscreen-gallery.is-active {
    display: flex;
    opacity: 1;
}

.blok-fullscreen-gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.blok-fullscreen-gallery__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blok-fullscreen-gallery__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    backdrop-filter: blur(10px);
}

.blok-fullscreen-gallery__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.blok-fullscreen-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    backdrop-filter: blur(10px);
}

.blok-fullscreen-gallery__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.blok-fullscreen-gallery__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.blok-fullscreen-gallery__nav--prev {
    left: 30px;
}

.blok-fullscreen-gallery__nav--next {
    right: 30px;
}

.blok-fullscreen-gallery__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blok-fullscreen-gallery__image {
    max-width: 100%;
    max-height: calc(100vh - 100px);
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.blok-fullscreen-gallery__counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .blok-fullscreen-gallery__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .blok-fullscreen-gallery__nav {
        width: 50px;
        height: 50px;
    }
    
    .blok-fullscreen-gallery__nav--prev {
        left: 10px;
    }
    
    .blok-fullscreen-gallery__nav--next {
        right: 10px;
    }
    
    .blok-fullscreen-gallery__content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .blok-fullscreen-gallery__image {
        max-height: calc(100vh - 80px);
    }
    
    .blok-fullscreen-gallery__counter {
        bottom: -30px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Custom map marker styling */
.blok-custom-marker {
    background: transparent;
    border: none;
}

.blok-custom-marker svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Leaflet tile fix - only on larger screens (tablets and desktops) */
@media (min-width: 769px) {
    .leaflet-container img.leaflet-tile {
        mix-blend-mode: normal;
        width: 256px !important;
        height: 256px !important;
    }
}

/* Disclaimer Section */
.blok-disclaimer {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px) 0;
}

.blok-disclaimer__content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.blok-disclaimer__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blok-disclaimer__text {
    font-size: 12px;
    line-height: 1.6;
    color: var(--blok-color-muted, #6b7785);
}

/* Desktop: 50% width */
@media (min-width: 768px) {
    .blok-disclaimer__content {
        width: 50%;
    }
}