/*** Featured Floorplan Section
*/

.triple-slider-main .swiper-wrapper{
	margin: 0 !important;
}

.wpcpro-wrapper .wpcp-carousel-section.nav-bottom-center:not(.wpcp_swiper_vertical), .wpcpro-wrapper .wpcp-carousel-section.nav-bottom-left:not(.wpcp_swiper_vertical), .wpcpro-wrapper .wpcp-carousel-section.nav-bottom-right:not(.wpcp_swiper_vertical){
	padding-bottom: 0 !important;
}


.floor-plans-wrapper{
/* 	max-width: 1170px; */
	margin: auto;
}

.swiper-wrapper.justified-centered{
	justify-content: center;
}
.featured-floorplan {
    padding: 35px 75px;
    background: #fff !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.floor-plans-wrapper .featured-image img{
	aspect-ratio: 1;
    object-fit: contain;
}

.featured-floorplan > *{
    flex: 1;
}

.featured-floorplan .featured-image{
    margin: 0 !important;
	min-height: 350px;
    display: flex;
    align-items: center;
}

.featured-floorplan h3.title {
    text-transform: uppercase !important;
    color: #51728A !important;
    font-weight: 900 !important;
    font-size: 24px !important;
    margin-bottom: 10px !important;
}

.featured-floorplan .content {
    max-width: 300px;
    color: #51728A !important;
    font-weight: 600 !important;
}

.floor-plans-wrapper a.download-link {
    display: block;
	text-transform: uppercase;
	color: #a8b980 !important;
	font-size: 20px;
	padding-right: 30px;
	text-decoration: none !important;
	font-weight: bold;
	position: relative;
}

.floor-plans-wrapper a.download-link:after{
	content: '';
	background: url('/wp-content/uploads/2025/12/PORT4820-MasterIcons_download.png');
	background-repeat: no-repeat;
	background-size: contain;
	aspect-ratio: 1;
	width: 30px;
	position: absolute;
	right: -15px;
	top: 0;
}

.floor-plans-wrapper a.download-link:hover {
    text-decoration: underline !important;
    box-shadow: none !important;
    border: none !important
}

.featured-floorplan .content p{
    color: #51728A !important;
    font-size: 16px;
        font-weight: 600 !important;
}

.featured-floorplan .bedrooms, .featured-floorplan .bathrooms, .featured-floorplan .sqft, .featured-floorplan .details {
        font-weight: 400 !important;
    font-size: 18px !important;
    color: #51728A !important;
}


/*** Swiper Custom CSS
*/

.floor-plans-swiper {
    width: 100%;
    padding: 20px 0;
    position: relative;
}

.swiper-wrapper{
	justify-content: flex-start;
	gap: 16px;
}

.floor-plans-swiper .swiper-slide {
    background: #94a5b3;
    display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    width: calc(100% - 30px); 
    padding: 15px !important;
    cursor: pointer;
/*     aspect-ratio: 4/1.5; */
    transition-timing-function: ease-in;
    transition-duration: 300ms;
}

.floor-plans-swiper .swiper-slide:hover, .floor-plans-swiper .swiper-slide-active{
    background: #51728A !important;
}

.floor-plans-swiper .swiper-slide:hover h2{
    text-decoration: underline;
}

.floor-plans-swiper .swiper-slide h2{
    text-transform: uppercase !important;
    color: #fff !important;
    text-align: center;
    font-weight: bold   !important;
    font-size: 18px !important;
    margin: 0 auto !important;
}

.floor-plans-swiper .plan-details{
    color: #fff !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 300 !important;
	line-height: 1.25;
}

.floor-plans-swiper .plan-details h2{
	margin-bottom: 5px !important;
}

.floor-plans-swiper .plan-details span{
    display: block;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-top: 5px;
    transition-timing-function: ease-in-out;
    transition-duration: 300ms;
}

.floor-plans-swiper .swiper-slide:hover span {
/*     font-size: 30px !important; */
/*     transform: rotate(225deg); */
}

.floor-plans-swiper .navigation-wapper{
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 !important;
	min-height: 44px;
    gap: 30px;
}

.floor-plans-swiper .swiper-button-prev, .floor-plans-swiper .swiper-button-next{
    position: relative;
    right: auto !important;
    left: auto !important;
    /* margin: 0 20px !important; */
            /* width: 15px; */
    display: flex !important;
}

.floor-plans-swiper .swiper-pagination{
        bottom: 50px !important;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            width: auto;
}

@media screen and (max-width: 640px) {
    .floor-plans-swiper .swiper-slide {
        aspect-ratio: auto !important;
        background: #FFF !important
    }
	
	.floor-plans-wrapper a.download-link:after{
		width: 22px !important;
		right: 0px !important;
	}

        .floor-plans-wrapper .swiper-wrapper {
            gap: 0;
            justify-content: flex-start;
        }

                .floor-plans-swiper .swiper-slide:hover,
                .floor-plans-swiper .swiper-slide-active {
                    background: transparent !important;
                }

    .floor-plans-swiper .swiper-slide h2, .swiper-slide .mobile .plan-details * {
        color: #51728A !important;
    }
	
	.floor-plans-swiper .swiper-slide h2, .swiper-slide .mobile .plan-details a {
        color: #a8b980 !important;
		font-weight: bold !important;
		font-size: inherit;
        display: inline-block;
    }

    .featured-floorplan.desktop {
        display: none !important;
    }
}

.floor-plans-wrapper .swiper-pagination-bullet-active{
    background: #113052 !important;
}

.floor-plans-wrapper .swiper-pagination-bullet{
    height: 12px !important;
    width: 12px !important;
}

.floor-plans-wrapper .swiper-button-next svg path,
.floor-plans-wrapper .swiper-button-prev svg path {
    fill: #113052 !important;
}





.floor-plans-swiper {
    overflow: hidden;
    position: relative;
}

.floor-plans-wrapper .swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.floor-plans-wrapper .swiper-slide {
    flex: 0 0 calc(100% / 3);
    box-sizing: border-box;
    cursor: pointer;
}

@media (max-width: 767px) {
    .floor-plans-wrapper .swiper-slide {
        flex: 0 0 100%;
    }
}

.floor-plans-wrapper .navigation-wapper {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.floor-plans-wrapper .swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.floor-plans-wrapper .swiper-pagination-dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.floor-plans-wrapper .swiper-pagination-dot.active {
    background: #333;
}

/* --- Mobile adjustments --- */
@media (max-width: 767px) {
    .floor-plans-wrapper .swiper-slide {
        flex: 0 0 100%;
        /* 1 slide per view */
    }
}

/* --- Tabs container --- */
.fp-tabs {
    margin-bottom: 20px;
    text-align: center;
}

.fp-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    /* space between pills */
}

.fp-tabs li.filter-pill {
    display: inline-block !important;
    border-radius: 40px !important;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    user-select: none;
	font-size: 1.5rem !important;
    padding: 0.33rem 2.5rem !important;
    border-radius: 40px;
    /*background-color: #4e473f !important;*/
    color: #4e473f !important;
    border: 1px #4e473f solid !important;
    /* padding: 0px 10px !important; */
    margin: 0px 10px !important;
    line-height: 2 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.fp-tabs li:before{
    display: none !important;
}

/* Active tab */
.fp-tabs li.active {
    background-color: #0d243d !important;
    /* slightly darker for active state */
    color: #fff !important;
	
	background-color: #4e473f !important;
    color: #f4f1ee !important;
}

/* Hover state */
.fp-tabs li:hover:not(.active) {
    background-color: #1a4b7a;
    /* lighter on hover */
	color: #fff !important;
	
	background-color: #4e473f !important;
    color: #f4f1ee !important;
}

/* --- Common button styles --- */
.swiper-button-prev,
.swiper-button-next {
    width: 35px;
    height: 35px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
}

/* --- Arrow icons --- */
.swiper-button-prev::before,
.swiper-button-next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #a8b980;
    border-right: 2px solid #a8b980;
}

/* Rotate to make arrow point left */
.swiper-button-prev::before {
    transform: rotate(-135deg);
}

/* Rotate to make arrow point right */
.swiper-button-next::before {
    transform: rotate(45deg);
}

/* Optional hover effect */
/* .swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #866d58;
} */

/* Ensure wrapper uses flex layout */
.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

/* Hide slides visually but keep in layout for flex calculation */
.swiper-slide {
    display: none;
    /* JS will override for filtered/visible slides */
    box-sizing: border-box;
}

/* Navigation wrapper ensures buttons stay in place */
.navigation-wapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 10px;
}

/* Optional: hide arrows when display:none is applied via JS */
.swiper-button-prev,
.swiper-button-next {
    display: block;
    /* default; JS overrides */
    cursor: pointer;
}

/* Pagination container */
.swiper-pagination {
    display: flex;
    /* default; JS overrides */
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

/* Pagination dots */
.swiper-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
}

.swiper-pagination-dot.active {
    background-color: #113052;
    /* match your filter pill color */
}

/* Optional: responsive tweaks */
@media (max-width: 767px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }
}

.fp-tabs li {
    flex: 1;
    white-space: nowrap;
}


/*Photo Galleries
 * */

.wpcp-carousel-section .swiper-wrapper {
    margin: 0 0 3rem 5%;
}

.swiper-carousel{
	max-width: none !important;
}
.wpcpro-wrapper .wpcp-carousel-section.wpcp-image-carousel:not(.swiper-cube) .wpcp-slide-image{
	height: auto !important;
}

.swiper-slide-fully-visible.swiper-slide-next {
    box-shadow: 0 0 10px;
}

.wpcpro-wrapper .wpcp-carousel-section.nav-bottom-center .wpcp-prev-button{
	margin-left: -100px !important;
	bottom: 13px !important;
}

.wpcpro-wrapper .wpcp-carousel-section.nav-bottom-center .wpcp-next-button{
	margin-left: 64px !important;
	bottom: 13px !important;
}