/* Map Container */
.property-map-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    cursor: grab;
}

.property-map-container.dragging {
    cursor: grabbing;
}

/* SVG Map */
.svg-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.svg-map svg {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center center;
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-controls button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: background 0.2s;
    padding: 0;
    background-color: #333;
}

.map-controls button svg {
    width: 9px;
    height: 9px;
}

.map-controls button.reset svg {
    width: 13px;
    height: 13px;
}

/* Lot Styles */
#Active_lots g[id^="Lot_"] {
    cursor: pointer; /* Changed from pointer to default */
    transition: opacity 0.2s;
}

#Active_lots g[id^="Lot_"]:hover {
    opacity: 0.8;
}

/* Modal */
.lot-modal {
    max-width: 445px;
    width: 90%;
    background: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    display: none;
    border-radius: 0;
    overflow: hidden;
}

.lot-modal.active {
    display: block;
}

/* Modal Content */
.modal-content {
    position: relative;
    padding: 20px;
    color: #383838;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
/*    min-width: 300px;*/
}

.modal-content h3 {
    color: #02566F;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
    margin-bottom: 0;
}

.modal-content p {
    color: #383838;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: none;
    font-size: 12px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    color: #6794AF;
    z-index: 2;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-modal svg {
    display: block;
    width: 8px;
    height: 8px;
}

.close-modal:hover {
    opacity: 0.7;
    background: #fff;
}

.close-modal:focus {
    background: #fff;
}

.lot-details {
    margin: 0;
}

.lot-modal-overlay.active {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.modal-content h3 {
    margin: 0;
    color: #02566F;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
}

.lot-details .address ,
.lot-details .mls {
    margin: 0;
}

.lot-details .price {
    margin: 0 0 10px;
}

.specs span {
    display: inline-block;
}

.specs span:after {
    content: '\25CF';
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 6px;
    vertical-align: middle;
}

.specs span:last-child:after {
    display: none;
}

.mls {
    color: #666;
    font-size: 14px;
}

/* Gravity Form Container */
.gravity-form {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Gallery styles */
.lot-gallery {
    position: relative;
    width: 100%;
/*    height: 400px;*/
/*    margin-bottom: 20px;*/
aspect-ratio: 4/3;
min-height: 300px;
}

.lot-gallery .glide {
    width: 100%;
    height: 100%;
}

.glide__slide {
    position: relative;
}

.glide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.confirmation-message {
    padding: 20px;
    text-align: center;
    background: #e8f5e9;
    border-radius: 4px;
    margin: 20px 0;
}

.gform-iframe-container {
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

.gform-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.form-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 50px;
    z-index: 1001;
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: #22546D;
    box-sizing: border-box;
}

.form-modal .close-modal {
    border: 1px solid #fff;
    background-color: #22546D;
    transform: scale(1.5);
    top: 15px;
    right: 15px;
}

.form-modal .close-modal svg {
    display: block;
    width: 9px;
    height: 9px;
}

.form-modal .close-modal:focus {
    background-color: #22546D;
}

.form-modal .modal-buttons {
    padding-bottom: 40px;
    margin-bottom: 40px;
    flex-direction: row;
    gap: 16px;
    border-bottom: 1px solid #fff;
}

.modal-button {
    border: 1px solid #FFF !important;
    min-width: 130px !important;
    padding: 10px 30px !important;
    color: #FFF !important;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    letter-spacing: 2.38px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

.form-modal .close-modal svg path {
    stroke: #fff;
}

.form-modal.active {
    display: block;
}

.form-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.form-modal-overlay.active {
    display: block;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.open-form-modal {
    margin-top: 20px;
}

.modal-button,
.open-form-modal {
    display: block;
    width: 100%;
    padding: 8px 10px;
    background: #02566F;
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 169.231% */
    letter-spacing: -0.26px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.modal-button:hover,
.open-form-modal:hover {
    opacity: 0.7;
    color: #FFF;
    text-decoration: none;
}

/* Base status tag styling */
.status-tag {
    color: #FFF;
    text-align: center;
    font-family: Montserrat, Helvetica, Arial, Lucida, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    text-transform: uppercase;
}

/* Status-specific colors */
.status-tag.available {
    background: #6794b0;
}

.status-tag.coming-soon {
    background: #6794b0;
}

.status-tag.pending {
    background: #e1b724;
}

.status-tag.sold {
    background: #a3a3a3;
}

.status-tag.model-home {
    background: #CC5B2E;
}

/* Sold image overlay for manually sold lots */
.status-tag:has(img) {
    position: static;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.status-tag img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.open-form-modal:hover {
    opacity: 0.7;
}

.lot-gallery .lot-gallery-prev,
.lot-gallery .lot-gallery-next {
    padding: 0;
    background-color: #02566F;
    color: #fff;
    width: 33px;
    height: 33px;
    border: none;
    box-shadow: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.lot-gallery .lot-gallery-prev { left: 6px; }
.lot-gallery .lot-gallery-next { right: 6px; }

.lot-gallery .lot-gallery-prev svg,
.lot-gallery .lot-gallery-next svg {
    width: 13px;
    height: 13px;
}

.lot-gallery .lot-gallery-prev:hover,
.lot-gallery .lot-gallery-next:hover {
    opacity: 0.7;
}

.lot-gallery .glide-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.lot-gallery .glide-navigation button {
    pointer-events: all;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .lot-modal {
        width: 95%;
    /*        padding: 20px;*/
    }

    .specs {
        flex-wrap: wrap;
        gap: 10px;
    }

/*    .specs span {
        flex: 1 1 calc(50% - 5px);
        text-align: center;
    }*/

    .form-modal {
        padding: 20px;
    }

    .form-modal .modal-buttons {
        flex-direction: column;
    }
}

/* Featured Property Styles */
.featured-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.featured-property-container {
    width: calc(50% - 15px); /* Account for gap */
    flex: 0 0 calc(50% - 15px); /* Prevent flex-shrink */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #005573;
    padding: 30px;
    box-sizing: border-box;
}

/* Gallery styles */
.featured-property-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
}

.featured-property-gallery .glide {
    width: 100%;
    height: 100%;
}

.featured-property-gallery .glide__slide {
    position: relative;
}

.featured-property-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.featured-property-gallery .gallery-nav-prev,
.featured-property-gallery .gallery-nav-next {
    padding: 0;
    background-color: #02566F;
    color: #fff;
    width: 33px;
    height: 33px;
    border: none;
    box-shadow: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.featured-property-gallery .gallery-nav-prev { left: 6px; }
.featured-property-gallery .gallery-nav-next { right: 6px; }

.featured-property-gallery .gallery-nav-prev svg,
.featured-property-gallery .gallery-nav-next svg {
    width: 13px;
    height: 13px;
}

.featured-property-gallery .gallery-nav-prev:hover,
.featured-property-gallery .gallery-nav-next:hover {
    opacity: 0.7;
}

.featured-property-gallery .glide-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.featured-property-gallery .glide-navigation button {
    pointer-events: all;
}

/* Content styles */
.featured-property-content {
    padding: 20px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #383838;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.featured-property-content h3 {
    margin: 0;
    color: #02566F;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
}

.featured-property-details {
    margin: 0;
}

.featured-property-details .address,
.featured-property-details .mls {
    margin: 0;
}

.featured-property-details .price {
    margin: 0 0 10px;
    color: #02566F;
}

.featured-property-details .specs {
    display: flex;
    flex-wrap: wrap;
}

.featured-property-details .specs span {
    display: inline-block;
}

.featured-property-details .specs span:after {
    content: '\25CF';
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 6px;
    vertical-align: middle;
}

.featured-property-details .specs span:last-child:after {
    display: none;
}

.featured-property-details .mls {
    color: #666;
    font-size: 14px;
}

/* Actions styles */
.featured-property-actions {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-property-actions .featured-button,
.featured-property-form-button {
    display: block;
    width: 100%;
    padding: 8px 10px;
    background: #02566F;
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 169.231% */
    letter-spacing: -0.26px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.featured-property-actions .featured-button:hover,
.featured-property-form-button:hover {
    opacity: 0.7;
    color: #FFF;
    text-decoration: none;
}

/* Form Modal styles */
.featured-property-form-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #22546D;
    padding: 50px;
    z-index: 1001;
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.featured-property-form-modal.active {
    display: block;
    overflow: hidden;
}

.featured-property-form-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.featured-property-form-modal-overlay.active {
    display: block;
}

.close-featured-form-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(1.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    padding: 0;
    background: #fff;
    border: none;
    font-size: 12px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    color: #6794AF;
    z-index: 2;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #22546D;
    border: 1px solid #fff;
    transition: opacity 0.3s ease;
}

.close-featured-form-modal:hover {
    background-color: #22546D;
    border: 1px solid #fff;
    opacity: 0.7;
}

.close-featured-form-modal svg {
    width: 9px;
    height: 9px;
    display: block;
}

.close-featured-form-modal svg path {
    stroke: #fff;
}

.featured-property-form-modal .modal-content-form {
    position: relative;
}

.featured-property-form-modal .modal-buttons {
    padding-bottom: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    border-bottom: 1px solid #fff;
}

.featured-property-form-modal .modal-button {
    border: 1px solid #FFF !important;
    min-width: 130px !important;
    padding: 10px 30px !important;
    color: #FFF !important;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    letter-spacing: 2.38px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

.gform-iframe-container {
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

.gform-iframe-container iframe {
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

/* No featured property message */
.no-featured-property {
    padding: 30px;
    background-color: #f5f5f5;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* No gallery placeholder */
.featured-property-no-gallery {
    position: relative;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-gallery-placeholder {
    text-align: center;
    color: #6c757d;
}

.no-gallery-placeholder svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-gallery-placeholder p {
    margin: 0;
    font-size: 14px;
    font-style: italic;
}

/* Cropped Map Styles - Our additions for cropped map functionality */
.property-map-container.cropped-map {
    height: 70vh;
}

/* Gallery Areas Clickable Styles */
.cropped #gallery-1,
.cropped #gallery-2,
.cropped #gallery-3 {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cropped #gallery-1:hover,
.cropped #gallery-2:hover,
.cropped #gallery-3:hover {
    opacity: 0.7;
}

@media (max-width: 1680px) {
    .property-map-container.cropped-map {
        height: 55vh;
    }
}

@media (max-width: 1480px) {
    .property-map-container.cropped-map {
        height: 50vh;
    }
}

/* Desktop styles - 4 items per row on large screens */
@media (min-width: 1400px) {
    .featured-property-container {
        width: calc(25% - 22.5px); /* 4 items: (100% - 3*30px gap)/4 */
        flex: 0 0 calc(25% - 22.5px);
    }
}

/* 13" laptop - 3 columns */
@media (min-width: 1024px) and (max-width: 1399px) {
    .featured-property-container {
        width: calc(33.333% - 20px);
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Tablet styles */
@media (max-width: 1023px) and (min-width: 769px) {
    .featured-wrapper {
        gap: 20px;
    }

    .featured-property-container {
        width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }

    .property-map-container.cropped-map {
        height: 43vh;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .featured-property-details .specs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .featured-property-form-modal {
        padding: 20px;
    }

    .featured-property-form-modal .modal-buttons {
        flex-direction: column;
    }

    .featured-wrapper {
        flex-direction: column;
    }

    .featured-property-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .property-map-container.cropped-map {
        height: 27vh;
        min-height: auto;
    }
}

/* Fancybox Custom Caption Styles */
.fancybox__content .custom-caption {
    color: #ffffff;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    padding: 10px 15px;
    background: transparent;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

@media (min-width: 769px) {
    .fancybox__content .custom-caption {
        font-size: 16px;
        padding: 15px 20px;
    }
}


/* Phase 2 map + legend layout */
.phase2-map-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.phase2-map-wrapper .property-map-container {
    flex: 1 1 0%;
    min-width: 0;
}

.phase2-legend {
    flex: 0 0 260px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.phase2-legend-primary,
.phase2-legend-secondary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.phase2-legend-primary {
    margin-top: 40px;
}

.phase2-legend-secondary {
    transform: scale(0.75);
    transform-origin: top left;
}

.phase2-legend-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.legend-dot {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot--half {
    background: linear-gradient(135deg, #fff 50%, var(--half-color) 50%);
    border: 1px solid #ccc;
}

.phase2-legend-note {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .phase2-map-wrapper {
        flex-direction: column;
        gap: 0;
    }

    /* Flatten .phase2-legend so its children join the wrapper's flex layout */
    .phase2-legend {
        display: contents;
    }

    /* 1 — main legend bar: above the map, horizontal scrollable */
    .phase2-legend-primary {
        order: 1;
        width: 100%;       /* constrain to viewport so content overflows and scrolls */
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0 16px;
        padding: 10px 0 8px;
        margin-top: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Right-edge fade scroll hint via mask */
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    .phase2-legend-primary::-webkit-scrollbar { display: none; }
    .phase2-legend-primary .phase2-legend-item { flex-shrink: 0; }

    /* 2 — map: full width, natural proportions */
    .phase2-map-wrapper .property-map-container {
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: 510.9 / 477;
    }

    /* 3 — toggle buttons: full width below map */
    .phase-toggle-buttons {
        order: 3;
        gap: 0;
        width: 100%;
        margin-top: 12px;
    }
    .phase-toggle-btn {
        flex: 1;
        font-size: 13px !important;
        padding: 7px 12px;
        border-radius: 0;
    }
    .phase-toggle-btn:first-child { border-radius: 8px 0 0 8px; }
    .phase-toggle-btn:last-child  { border-radius: 0 8px 8px 0; }

    /* 4 — secondary legend + disclaimer */
    .phase2-legend-secondary {
        order: 4;
        transform: none;
        gap: 12px;
        padding: 16px 0 8px;
    }
}

/* Phase Toggle Buttons */
.phase-toggle-buttons {
    display: flex;
    gap: 10px;
}

.phase-toggle-btn {
    background: #fff;
    border: 1.5px solid #055770;
    color: #055770;
    border-radius: 8px;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.phase-toggle-btn:hover {
    background: #055770;
    color: #fff;
}

.phase-toggle-btn:focus {
    outline: none;
    background: #fff;
    color: #055770;
}

.phase-toggle-btn.active {
    background: #055770;
    color: #fff;
}

/* Phase 2 Floorplans section in lot popup */
.phase2-floorplans {
    margin: 12px 0 8px;
    padding-top: 12px;
}

.phase2-floorplans h4 {
    color: #000;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-variant: all-small-caps;
    margin: 0 0 6px;
}

.phase2-floorplans .fp-links {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 30px;
}

.phase2-floorplans .fp-links a {
    color: #055670;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.phase2-floorplans .fp-links a:hover {
    color: #033d52;
}

.phase2-floorplans .fp-sep {
    color: #000;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

/* Depoe Hills Floorplans Slider Shortcode */
.depoe-floorplans-slider {
    padding: 40px 0;
}

.dfs-swiper-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dfs-prev,
.dfs-next {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
    border-radius: 50% !important;
    background: #005570 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    flex-shrink: 0;
    padding: 0 !important;
    box-shadow: none !important;
}

.dfs-prev:hover,
.dfs-next:hover,
.dfs-prev:focus,
.dfs-next:focus,
.dfs-prev:active,
.dfs-next:active {
    background: #003d52 !important;
    color: #fff !important;
}

.dfs-prev.glide__arrow--disabled,
.dfs-next.glide__arrow--disabled {
    background: #a8c5ca !important;
    cursor: default !important;
}


.dfs-swiper-clip {
    flex: 1;
    overflow: hidden;
    padding: 3px;
    margin: -3px 0;
}

.dfs-swiper,
.dfs-swiper .glide__track {
    overflow: visible !important;
}

.dfs-swiper .glide__slide {
    height: auto;
}

.dfs-swiper .glide__slides {
    align-items: stretch;
}

.dfs-card {
    background: #fff;
    border: 1px solid #005570;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dfs-card-image {
    position: relative;
    background: #eef2f5;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.dfs-card-image > a,
.dfs-card-image .dfs-img-swiper,
.dfs-card-image .dfs-img-swiper .glide__slide,
.dfs-card-image .dfs-img-swiper a {
    display: block;
    height: 100%;
}

.dfs-card-image .dfs-img-swiper .glide__track,
.dfs-card-image .dfs-img-swiper .glide__slides {
    height: 100%;
}

.dfs-card-image > a img,
.dfs-card-image .dfs-img-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Inner image glide nav */
.dfs-img-swiper .dfs-img-prev,
.dfs-img-swiper .dfs-img-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #02566F;
    color: #fff;
    border: none;
    box-shadow: none;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.dfs-img-swiper .dfs-img-prev { left: 6px; }
.dfs-img-swiper .dfs-img-next { right: 6px; }

.dfs-img-swiper .dfs-img-prev svg,
.dfs-img-swiper .dfs-img-next svg {
    width: 13px;
    height: 13px;
}

.dfs-img-swiper .dfs-img-prev:hover,
.dfs-img-swiper .dfs-img-next:hover {
    opacity: 0.7;
}

.dfs-img-swiper .dfs-img-prev.glide__arrow--disabled,
.dfs-img-swiper .dfs-img-next.glide__arrow--disabled {
    opacity: 0.25;
    cursor: default;
}

.dfs-img-swiper .glide-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dfs-img-swiper .glide-navigation button {
    pointer-events: all;
}

.dfs-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dfs-card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    color: #005570 !important;
    text-align: left !important;
    letter-spacing: normal !important;
    margin: 0 0 15px;
}

.dfs-plan-type {
    margin: 0 0 8px;
}

.dfs-plan-type strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-size: 1.1111111111rem;
    line-height: 1.2em;
    font-weight: 400;
}

.dfs-specs,
.dfs-lots {
    font-size: 18px;
    margin: 0 0 8px;
}

.dfs-features {
    list-style: disc !important;
    padding-left: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 25px !important;
    border-top: 1px solid #cccccc;
}

.dfs-features li {
    font-size: 15px;
    margin-bottom: 4px;
}

/* Matterport fullscreen button */
.matterport-fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background 0.2s;
}

.matterport-fullscreen-btn:hover,
.matterport-fullscreen-btn:focus {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
    outline: none !important;
}

/* Floorplan slider nav — responsive */
@media (max-width: 1024px) {
    .dfs-swiper-wrap {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 12px;
    }
    .dfs-swiper-clip {
        order: 0;
        flex: 0 0 100%;
    }
    .dfs-prev { order: 1; }
    .dfs-next { order: 2; }
}

/* Mobile: nav above slider */
@media (max-width: 768px) {
    .dfs-swiper-clip { order: 2; }
    .dfs-prev { order: 0; }
    .dfs-next { order: 1; }
}

/* Floorplan card highlight on hash nav */
@keyframes dfs-card-highlight {
    0%   { opacity: 1; }
    60%  { opacity: 1; }
    100% { opacity: 0; }
}

.dfs-card--highlighted {
    position: relative;
}

.dfs-card--highlighted::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid #CC5B2E;
    pointer-events: none;
    z-index: 10;
    animation: dfs-card-highlight 1.8s ease-out forwards;
}
