.hoc-fps-container {
    width: 100%;
    position: relative;
    /* Default background. Can be overridden in Elementor styles */
    background-color: #EAE5E0;
    overflow: hidden;
	z-index: 2;
}

.hoc-fps-layout {
    display: flex;
    flex-wrap: nowrap; /* Prevent columns from wrapping on smaller screens or in the editor */
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
}

/* LEFT COLUMN (60%) */
.hoc-fps-left-col {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    position: relative;
}

.hoc-fps-images-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0%;
    right: 0%; /* Gap before right column */
    overflow: hidden; /* masks the sliding images */
}

.hoc-fps-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform, opacity;
}

/* First slide is visible initially */
.hoc-fps-image-slide.active {
    /* GSAP will control this */
}

.hoc-fps-image-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Gradient overlay for bottom 40% to make text visible */
.hoc-fps-image-bg-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.hoc-fps-image-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.hoc-fps-image-bg-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Keep original class for backwards compatibility fallback */
.hoc-fps-image-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Gradient overlay for bottom 40% to make text visible */
.hoc-fps-image-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
	z-index: 1;
}

.hoc-fps-overlay-top {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 10;
}

.hoc-fps-overlay-bottom {
    position: absolute;
    bottom: 75px;
    left: 40px;
    color: #fff;
	z-index: 10;
}

.hoc-fps-gallery-bullets {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hoc-fps-gallery-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hoc-fps-gallery-bullet:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hoc-fps-gallery-bullet.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* Gallery prev/next arrows — hidden on desktop/tablet, shown on mobile only */
.hoc-fps-gallery-nav {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.hoc-fps-gallery-nav:hover,
.hoc-fps-gallery-nav:focus-visible {
    background: rgba(0, 0, 0, 0.55);
    outline: none;
}

.hoc-fps-gallery-nav svg {
    display: block;
    pointer-events: none;
}

.hoc-fps-gallery-nav--prev {
    left: 12px;
}

.hoc-fps-gallery-nav--next {
    right: 12px;
}

@media (max-width: 767px) {
    .hoc-fps-gallery-nav {
        display: flex;
    }
}

.hoc-fps-location {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.hoc-fps-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 20px 0;
    color: #fff;
}

.hoc-fps-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hoc-fps-btn:hover {
    opacity: 0.7;
}


/* RIGHT COLUMN (40%) */
.hoc-fps-right-col {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.hoc-fps-content-wrapper {
    position: relative;
    width: 100%;
}

.hoc-fps-content-slide {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    will-change: transform, opacity;
    pointer-events: none;
    z-index: 1;
}

.hoc-fps-content-slide.active {
    pointer-events: auto;
    z-index: 2;
}

.hoc-fps-counter {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 60px;
    color: #320614;
    font-weight: 600;
}

.hoc-fps-right-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #320614;
    font-weight: 600;
}

.hoc-fps-wysiwyg {
    font-size: 14px;
    line-height: 1.8;
    color: #320614;
    margin-bottom: 50px;
}
.hoc-fps-wysiwyg p {
    margin-bottom: 15px;
}

.hoc-fps-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid rgba(50, 6, 20, 0.1);
    padding-top: 30px;
}

.hoc-fps-meta-item {
    flex: 1 1 25%;
}

.hoc-fps-meta-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a75d5d;
    margin-bottom: 10px;
}

.hoc-fps-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #320614;
}

/* Elementor Editor Overrides */
body.elementor-editor-active .hoc-fps-image-slide {
    position: relative;
    top: auto; left: auto; transform: none !important; opacity: 1 !important;
    margin-bottom: 20px;
    height: 400px; /* Explicit height for background image */
    width: 100%;
}
body.elementor-editor-active .hoc-fps-content-slide {
    position: relative;
    top: auto; left: auto; transform: none !important; opacity: 1 !important;
    margin-bottom: 50px;
    width: 100%;
}
body.elementor-editor-active .hoc-fps-images-wrapper,
body.elementor-editor-active .hoc-fps-content-wrapper {
    position: relative;
    overflow: visible;
    top: auto; bottom: auto; left: auto; right: auto;
    width: 100%;
}
body.elementor-editor-active .hoc-fps-left-col {
    padding-right: 20px;
}
body.elementor-editor-active .hoc-fps-right-col {
    padding-left: 20px;
}
body.elementor-editor-active .hoc-fps-layout {
    height: auto;
}

/* MAP CONTAINER & HOTSPOT STYLES */
.hoc-fps-map-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 380px;
    margin-top: 25px;
    margin-bottom: 40px;
}

.hoc-fps-map-img {
    width: 100%;
    height: auto;
    display: block;
}

.hoc-fps-hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

/* Warm Orange solid inner dot */
.hoc-fps-hotspot-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #390011; 
    position: absolute;
    top: 5px;
    left: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

/* Pulsating expanding circle */
.hoc-fps-hotspot-pulse {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(57, 0, 17, 0.25);
    position: absolute;
    top: -4px;
    left: -4px;
    animation: hoc-pulse 2s infinite ease-out;
    pointer-events: none;
}

.hoc-fps-hotspot:hover .hoc-fps-hotspot-dot {
    transform: scale(1.2);
}

.hoc-fps-hotspot-inactive {
    opacity: 0.65;
}

.hoc-fps-hotspot-inactive:hover {
    opacity: 1;
}

.hoc-fps-hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: #320614;
    color: #fff;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0s linear 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    z-index: 20;
}

.hoc-fps-hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #320614 transparent transparent transparent;
}

.hoc-fps-hotspot:hover .hoc-fps-hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

@keyframes hoc-pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Responsive Stack for Tablet & Mobile */
@media (max-width: 1024px) {
    .hoc-fps-layout {
        flex-direction: column;
        height: auto !important;
    }
    .hoc-fps-left-col {
        width: 100% !important;
        flex: 0 0 auto !important;
        height: 50vh;
    }
    .hoc-fps-right-col {
        width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        display: block !important;
        position: relative !important;
        overflow: visible !important;
    }
    .hoc-fps-content-wrapper {
        height: auto !important;
        position: relative !important;
    }
    .hoc-fps-content-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }
    .hoc-fps-content-slide.active {
        position: relative !important;
    }
    .hoc-fps-wysiwyg {
        max-height: 120px !important;
        overflow: hidden !important;
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%) !important;
        margin-bottom: 10px !important;
    }
    .hoc-fps-lottie-container,
    .hoc-fps-meta-grid,
    .hoc-fps-map-container {
        display: none !important;
    }
    .hoc-fps-modal-content .hoc-fps-meta-grid {
        display: flex !important;
    }
    .hoc-fps-modal-content .hoc-fps-map-container {
        display: inline-block !important;
    }
    .hoc-fps-read-more-btn {
        display: inline-flex !important;
    }
}

/* Read More button (hidden by default on desktop) */
.hoc-fps-read-more-btn {
    display: none;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    color: #320614;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
    transition: opacity 0.2s;
}
.hoc-fps-read-more-btn:hover {
    opacity: 0.7;
}

/* Modal Popup Styles */
body.hoc-fps-modal-body-lock {
    overflow: hidden !important;
}

.hoc-fps-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hoc-fps-modal.hoc-fps-modal--open {
    opacity: 1;
    pointer-events: auto;
}

.hoc-fps-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(50, 6, 20, 0.4);
    backdrop-filter: blur(8px);
}

.hoc-fps-modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background-color: #EAE5E0;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 2;
    padding: 40px 30px;
    border: 1px solid rgba(50, 6, 20, 0.1);
}

.hoc-fps-modal.hoc-fps-modal--open .hoc-fps-modal-wrapper {
    transform: scale(1);
}

.hoc-fps-modal-close {
    position: absolute;
	background: transparent !important;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #320614;
    opacity: 0.6;
    transition: opacity 0.2s;
    z-index: 3;
}

.hoc-fps-modal-close:hover {
    opacity: 1;
}

.hoc-fps-modal-content {
    overflow-y: auto;
    flex: 1;
    padding-right: 10px;
}

.hoc-fps-modal-content::-webkit-scrollbar {
    width: 6px;
}
.hoc-fps-modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.hoc-fps-modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(50, 6, 20, 0.2);
    border-radius: 3px;
}

/* Reset truncation styles inside the modal */
.hoc-fps-modal-content .hoc-fps-wysiwyg {
    max-height: none !important;
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    margin-bottom: 25px !important;
}

.hoc-fps-modal-content .hoc-fps-content-slide {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
