/* Custom Fix for Property Images - All Sections - FORCE OVERRIDE */
.vfx-property-img img,
.vfx-latest-property-wrap .vfx-property-img img,
.vfx-leased-property-wrap .vfx-property-img img,
.vfx-sold-property-wrap .vfx-property-img img,
.vfx-single-property-box-area .vfx-property-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 200px !important;
}

/* Force override any existing styles with higher specificity */
.vfx-property-img img[src*="upload"],
.vfx-latest-property-wrap .vfx-property-img img[src*="upload"],
.vfx-leased-property-wrap .vfx-property-img img[src*="upload"],
.vfx-sold-property-wrap .vfx-property-img img[src*="upload"] {
    aspect-ratio: 16 / 9 !important;
    max-height: 200px !important;
}

/* Additional specificity for each section */
.vfx-latest-property-wrap .swiper-slide .vfx-property-img img,
.vfx-leased-property-wrap .swiper-slide .vfx-property-img img,
.vfx-sold-property-wrap .swiper-slide .vfx-property-img img {
    aspect-ratio: 16 / 9 !important;
    max-height: 200px !important;
}

/* Force override with maximum specificity */
body .vfx-property-img img,
body .vfx-latest-property-wrap .vfx-property-img img,
body .vfx-leased-property-wrap .vfx-property-img img,
body .vfx-sold-property-wrap .vfx-property-img img {
    aspect-ratio: 16 / 9 !important;
    max-height: 200px !important;
}

/* ===== Full-width layout overrides (remove WordPress-like side gaps) ===== */
/* Make all common container wrappers span the full viewport width */
.container,
.container-fluid,
.vfx-container,
.site-container {
    max-width: 100% !important;
    width: 100% !important;
}

/* Remove horizontal paddings to eliminate left/right whitespace */
body,
html,
.container,
.container-fluid,
.vfx-container,
.site-container,
.site-navbar .container,
.site-navbar .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure rows and sections touch the edges */
.row,
section,
header.header,
footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Header specific: remove side paddings added by utility classes */
.vfx-site-navbar-area .container-fluid,
.vfx-site-navbar-area .container,
header .container-fluid,
header .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Mobile nav body padding reset to hug edges */
.vfx-mobile-navigation-menu-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hero/feature blocks often center with max-width and margin auto */
.hero,
.hero .container,
.hero .container-fluid,
.page-header,
.page-header .container,
.page-header .container-fluid,
.vfx2 .page-header .container,
.vfx2 .page-header .container-fluid {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Cards/inner blocks that were centered with a fixed max-width */
.card,
.content-box,
.inner-wrap {
    max-width: 100% !important;
}

/* Utility: prevent accidental horizontal scrollbars after removing paddings */
html, body { overflow-x: hidden; }

/* ===== Hero framed title (homepage) - Responsive Design ===== */
.hero-framed-title {
    display: inline-block;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(127,86,217,0.85), rgba(16,196,105,0.85));
    padding: 14px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    line-height: 1.15;
    position: relative;
    font-size: 1.5rem;
    font-weight: 600;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-framed-title::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(94,234,212,0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Desktop and Large Tablets */
@media (min-width: 1200px) {
    .hero-framed-title {
        font-size: 1.8rem;
        padding: 16px 28px;
    }
}

/* Medium Tablets */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-framed-title {
        font-size: 1.6rem;
        padding: 15px 25px;
    }
}

/* Small Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-framed-title {
        font-size: 1.4rem;
        padding: 12px 20px;
        white-space: normal;
        text-align: center;
        max-width: 90%;
    }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
    .hero-framed-title {
        font-size: 1.2rem;
        padding: 10px 16px;
        border-radius: 10px;
        line-height: 1.3;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        white-space: normal;
        text-align: center;
        max-width: 95%;
        word-break: break-word;
        hyphens: auto;
    }
}

/* Small Mobile Devices */
@media (max-width: 575.98px) {
    .hero-framed-title {
        font-size: 1rem;
        padding: 8px 12px;
        line-height: 1.4;
        max-width: 98%;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
    .hero-framed-title {
        font-size: 0.9rem;
        padding: 6px 10px;
        line-height: 1.5;
    }
}

