/* =============================================
   RankMath Table of Contents — Styled
   Primary: #0b6230
   ============================================= */
.wp-block-rank-math-toc-block {
    position: relative;
    background: #ffffff;
    border: 1px solid #c6ddd0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.wp-block-rank-math-toc-block h2 {
    background: #0b6230;
    color: #ffffff;
    padding: 12px 16px 12px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    user-select: none;
    transition: background-color 0.2s ease;
    letter-spacing: 0.02em;
}

.wp-block-rank-math-toc-block h2:focus {
    outline: 2px solid #36aa71;
    outline-offset: -2px;
}

.wp-block-rank-math-toc-block h2:hover {
    background: #0a5429;
}

.wp-block-rank-math-toc-block h2:before {
    display: inline-block;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #ffffff;
    margin-right: 10px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

/* Rotate arrow when expanded */
.wp-block-rank-math-toc-block.is-open h2:before,
.wp-block-rank-math-toc-block input:checked + h2:before {
    transform: rotate(90deg);
}

.wp-block-heading {
    font-size: 20px;
}

.wp-block-rank-math-toc-block nav {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    background: #f7fbf9;
    border-top: 0 solid #c6ddd0;
    transition: max-height 0.3s ease, padding 0.2s ease, border-top-width 0.2s ease;
}

.wp-block-rank-math-toc-block.is-open nav,
.wp-block-rank-math-toc-block input:checked + h2 ~ nav {
    padding: 14px 18px;
    max-height: 100vh;
    overflow: auto;
    visibility: visible;
    pointer-events: auto;
    border-top-width: 1px;
}

/* TOC link styling */
.wp-block-rank-math-toc-block nav a {
    color: #0b6230;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.7;
    transition: color 0.15s ease;
}

.wp-block-rank-math-toc-block nav a:hover {
    color: #36aa71;
    text-decoration: underline;
}

/* List layout */
.wp-block-rank-math-toc-block nav ol,
.wp-block-rank-math-toc-block nav ul {
    padding-left: 18px;
    margin: 0;
}

.wp-block-rank-math-toc-block nav li {
    margin-bottom: 6px;
}

.wp-block-rank-math-toc-block nav li:last-child {
    margin-bottom: 0;
}

.wp-block-rank-math-toc-block nav > :first-child {
    margin-top: 0;
}

.wp-block-rank-math-toc-block nav > :last-child {
    margin-bottom: 0;
}

/* Nested list indent */
.wp-block-rank-math-toc-block nav li ol,
.wp-block-rank-math-toc-block nav li ul {
    margin-top: 5px;
}

.block-wrap {
    background-color: #f7f7f7;
}

.property-description-wrap .description-content .houzez-more-content {
    margin-top: 1rem;
}

.property-description-wrap .description-content [id] {
    scroll-margin-top: 140px;
}

.info-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
		margin-top: 20px;
}

.property-title {
    font-size: 22px;
    font-weight: bold;
		margin-top: 20px;
    margin-bottom: 10px;
}


.listing-tools-wrap {
    margin-top: 10px;
}



.video-placeholder {
    position: relative;
    width: 100%;
    height: 470px;
	display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
	
}

.play-button img {
    width: 100px;
    height: 100px;
}

.img.emoji {
width: 100px;
    height: 100px;
}
.author-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author-thumb {
    flex: 20%; /* 30% width */
    text-align: center;
}

.post-author-thumb img {
    width: 100px; /* Adjust size */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
}

.post-author-bio {
    flex: 80%; /* 70% width */
	text-align: justify
}

.agent-social-media a {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
    color: #007bff;
    transition: all 0.3s ease-in-out;
}

.agent-social-media a:hover {
    color: #0056b3;
}
@media (min-width: 1024px) {
    .agent-image img {
        width: 150px;
        height: 150px;
    }
}

/* Video Section Styles */
.fw-property-video-wrap {
    width: 100%;
}


.video-columns {
    display: flex;
    gap: 15px;
}

.video-description-column {
    flex: 0 0 30%;
    border: 1px solid #e0e0e0; /* Subtle border for block effect */
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9; /* Light background for contrast */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    
}

.video-description-column:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.video-column {
    flex: 0 0 70%;
    border: 1px solid #e0e0e0; /* Subtle border for block effect */
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9; /* Light background for contrast */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}
.video-description{
    text-align: justify;
}
.video-column:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.block-video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
}

.block-video-wrap iframe,
.block-video-wrap object,
.block-video-wrap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-columns {
        flex-direction: column; /* Stack columns vertically on mobile */
        gap: 20px; /* Spacing between stacked columns */
    }

    .video-description-column,
    .video-column {
        flex: 0 0 100%; /* Full width on mobile */
    }
}

body:not(.elementor-editor-active) .maxx-video-container:not(.houzez-has-video) {
    display: none !important;
}
/* Hide the FAQ container when no FAQs are present, only on front end */
body:not(.elementor-editor-active) .maxx-faqs-container:not(:has(.houzez-has-faqs)) {
    display: none !important;
}

/* Hide the floor plans container when no floor plans are present, only on front end */
body:not(.elementor-editor-active) .maxx-floor-plan-container:not(.houzez-has-floor-plans) {
    display: none !important;
}
.property-description-wrap {
	max-width: 1270px;
    margin: 0 auto;
}


.back-to-top-wrap {
    bottom: 80px;
}

/* Hide by default */
.mobile-property-contact {
    display: none;
}

/* Show only on mobile */
@media (max-width: 767px) {
    .mobile-property-contact.visible-on-mobile {
        display: block;
    }
}
.gdpr-text-wrap {
    font-size: 15px;
    color: #000;
}

.gdpr-text-wrap a {
    font-size: 15px;
    color: #0066cc;
}

a.btn.btn-primary.btn-item {
    color: #ffffff;
}

.property-form-wrap .btn {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
		font-size: 20px;
    color: white !important;
    border: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px !important;
}
.property-form-wrap .houzez_agent_property_form,
.property-form-wrap .houzez-ele-button {
    background-color: #0b6230 !important;
}
.property-form-wrap .hz-btn-whatsapp {
    background-color: #0b6230 !important;
}
.property-form-wrap .btn.hz-btn-call {
    background-color: #0b6230 !important;
}
.property-form-wrap .houzez_agent_property_form.btn-secondary-outlined,
.property-form-wrap .msg-login-required {
    background-color: #0b6230 !important;
}
.property-form-wrap .btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.wp-block-heading{
	font-size: 20px;
}
.description-content {
	font-size: 18px;
	line-height: 32px;	
}