.lots-section {
    max-width: 1440px;
    margin: auto;
    padding-top: 170px;
    text-align: center;
}

.lots-section h2 {
    font-family: 'Montserrat';
    font-size: 42px;
    font-weight: 700;
    color: #1b3b6b;
    text-align: center;
    margin-bottom: 50px;
}

.lots-section a.btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    background: #1b3c6f;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-top: 50px;
    transition: all 0.3s ease;
    display: none;
}

html .lots-section .content-wrapper a.btn:focus {
    text-decoration: unset;
    background: #1b3c6f;
    color: #FFFFFF;
}

.lots-section a.btn:hover i {
    transform: translateX(5px);
}

.lots-section a.btn i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.lots-section .lot-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 40px;
}

.lots-section .lot-item {
    text-align: center;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.lots-section .lot-item .lot-item-permalink {
    margin-top: auto;
}

.lots-section .lot-item .lot-item-permalink a.btn {
    display: block;
}

.lots-section .lot-item .text-content {
    text-align: left;
    padding: 20px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lots-section .lot-item .text-content h3 {
    font-size: 24px;
    font-family: 'Montserrat';
    font-weight: 700;
    color: #1b3b6b;
    margin-bottom: 10px;
    text-align: left;
}

.lots-section .lot-item .text-content .price {
    color: #169d53;
    font-weight: 700;
    font-size: 20px;
    text-align: left;
    margin-bottom: 10px;
    display: none;
}

.lots-section .lot-item .text-content .property-length,
.lots-section .lot-item .text-content .description {
    text-align: left;
}

.lots-section .lot-item .text-content .property-length {
    font-size: 18px;
    margin-bottom: 10px;
}

.lots-section .lot-item .text-content .property-length i::before {
    font-size: 13px;
}

.lots-section .lot-item .text-content .description ul {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    list-style-type: none;
    padding-left: 1px;
    /* position: relative; */
}

.lots-section .lot-item .text-content .description ul li::before {
    content: '\2713';
    font-size: 10px;
    color: #1b3b6b;
    margin-right: 8px;
}

/* .lots-section .lot-item .text-content .description ul li:after {
    content: '[More]';
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 5px;
    background: white;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
} */

.lots-section .lot-item .text-content .description ul li {
    font-size: 18px;
    font-family: 'Montserrat'
}

.lots-section .lot-item .text-content .property-length i {
    margin-right: 8px;
}

.lots-section .lot-item .text-content a.btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    background: #1b3c6f;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-top: 30px;
    width: 100%;
}

.lots-section .lot-item .text-content a.btn:hover {
    background: transparent;
    color: #1b3b6b;
}

.lots-section .lot-item .text-content a.btn:focus {
    text-decoration: none;
}

.lots-section .lot-item .featured-image {
    padding: 20px 20px 0 20px;
}

.lots-section .lot-item .featured-image img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover;
}

.lots-section .lot-item:last-child .featured-image img {
    width: 100%!important;
}

/* Modal Styles */
.lots-section .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.lots-section .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 10px 30px 60px 30px;
    border: 1px solid #888;
    width: 40%;
    text-align: right;
    margin-bottom: 20px;
}

.lots-section .modal-content form {
    text-align: center;
}

.lots-section .modal-content button {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    background: #1b3b6b !important;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-top: 30px;
    width: 86%;
}

.lots-section .modal-content button:focus {
    color: #FFFFFF;
}

.lots-section .modal-content .at-need,
.lots-section .modal-content .pre-need {
    text-align: left;
    border-radius: 10px;
    padding: 20px;
    border: solid 1px #1b3b6b;
    width: 600px;
    margin: auto;
}

.lots-section .modal-content .at-need {
    margin-bottom: 20px;
}

.lots-section .modal-content .at-need label,
.lots-section .modal-content .pre-need label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.lots-section .modal-content .at-need label input,
.lots-section .modal-content .pre-need label input {
    margin-right: 20px;
}

.lots-section .modal-content .at-need label .info,
.lots-section .modal-content .pre-need label .info {
    font-weight: 400;
}

.lots-section .modal-content .at-need .info .bold,
.lots-section .modal-content .pre-need .info .bold {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.lots-section .modal-content .at-need label input::after,
.lots-section .modal-content .pre-need label input::after {
    background: #169d53;
}

.lots-section .modal-content h4 {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 700;
    color: #1b3b6b;
    text-align: center;
    margin-bottom: 50px;
}

.lots-section .close-reserve-form {
    color: #aaa;
    text-align: right;
    font-size: 28px;
    font-weight: bold;
}

.lots-section .close-reserve-form:hover,
.lots-section .close-reserve-form:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Products and Services Page */
.lots-section.products-and-services-lots {
    padding-top: 100px;
}

.lots-section.products-and-services-lots a.btn {
    display: none;
}

.lots-section.products-and-services-lots .lot-item .text-content a.btn.reserve-now {
    display: block;
}

@media (max-width: 1600px) {
    .lots-section .modal-content .at-need,
    .lots-section .modal-content .pre-need {
        width: 500px;
    }
}

@media (max-width: 1440px) {
    .lots-section {
        max-width: 1300px;
    }

    .lots-section .lot-item .text-content h3 {
        font-size: 20px;
    }

    .lots-section .lot-item .text-content .property-length {
        font-size: 16px;
    }

    .lots-section .lot-item .text-content .property-length i::before {
        font-size: 11px;
    }

    .lots-section .lot-item .text-content .description ul li {
        font-size: 16px;
    }

    .lots-section .modal-content .at-need,
    .lots-section .modal-content .pre-need {
        width: 440px;
    }

    .lots-section .modal-content h4 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .lots-section .modal-content .at-need label .info,
    .lots-section .modal-content .pre-need label .info {
        font-size: 16px;
    }

    .lots-section .modal-content .at-need .info .bold,
    .lots-section .modal-content .pre-need .info .bold {
        font-size: 18px;
    }
}

@media (max-width: 1340px) {
    .lots-section {
        max-width: 1200px;
    }

    .lots-section h2 {
        font-size: 38px;
    }

    .lots-section .lot-item .text-content a.btn {
        font-size: 14px;
    }

    .lots-section a.btn {
        font-size: 14px;
    }

    .lots-section .modal-content button {
        font-size: 14px;
        width: 98%;
    }

    .lots-section .lot-item .featured-image img {
        height: 250px !important;
    }
}

@media (max-width: 1279px) {
    .lots-section {
        max-width: unset;
        padding: 100px 40px 0;
    }

    .lots-section .lot-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .lots-section .lot-item .featured-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .lots-section .modal-content {
        width: 60%;
    }

    .lots-section .modal-content button {
        width: 440px;
    }
}

@media (max-width: 840px) {
    .lots-section .lot-wrapper {
        grid-template-columns: 1fr;
    }

    .lots-section .modal-content {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .lots-section {
        max-width: unset;
        padding: 50px 20px 0;
    }

    .lots-section h2 {
        font-size: 32px;
        line-height: 35px;
    }

    .lots-section .lot-item .featured-image img {
        max-width: 100% !important;
    }

    .lots-section .lot-item .text-content .property-length {
        font-size: 12px;
    }

    .lots-section .lot-item .text-content h3 {
        font-size: 16px;
    }

    .lots-section .lot-item .text-content a.btn {
        font-size: 12px;
    }

    .lots-section .lot-item .text-content .description ul li {
        font-size: 12px;
    }    

    .lots-section .modal-content {
        width: 85%;
        padding: 10px 15px 60px 15px;
    }

    .lots-section .modal-content h4 {
        font-size: 16px;
    }

    .lots-section .modal-content .at-need .info .bold,
    .lots-section .modal-content .pre-need .info .bold {
        font-size: 12px;
    }

    .lots-section .modal-content .at-need label,
    .lots-section .modal-content .pre-need label {
        margin-bottom: 0;
    }

    .lots-section .modal-content .at-need label .info,
    .lots-section .modal-content .pre-need label .info {
        font-size: 12px;
    }

    .lots-section .modal-content .at-need label input,
    .lots-section .modal-content .pre-need label input {
        width: 17px;
        height: 17px;
    }

    .lots-section .modal-content .at-need,
    .lots-section .modal-content .pre-need {
        padding: 10px;
        width: 340px;
    }

    .lots-section .modal-content button {
        font-size: 12px;
        width: 340px;
    }
}

@media (max-width: 430px) {
    .lots-section .modal-content {
        width: 90%;
    }

    .lots-section .modal-content .at-need,
    .lots-section .modal-content .pre-need {
        width: 280px;
    }

    .lots-section .modal-content button {
        width: 280px;
    }
}