@charset "utf-8";

/* ******** || PROPERTY TYPES (2x2 photo/illustration cards with white overlay card, solar-energy-landlord-property-group.php) || ******** */
.property-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.property-type-card {
    position: relative;
    display: block;
    border-radius: var(--radius-20);
    overflow: hidden;
    margin: 0;
    aspect-ratio: 710 / 610;
}

.property-type-card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-type-overlay {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 300px;
    max-width: calc(100% - 60px);
    max-height: calc(100% - 60px);
    overflow: hidden;
    background-color: var(--white);
    border-radius: var(--radius-20);
    box-shadow: 6px 6px 15px 2px rgba(0, 0, 0, 0.15);
    padding: 30px;
}

.property-type-mark {
    display: block;
    margin-bottom: 30px;
}

.property-type-title {
    font-size: 24px;
    font-weight: var(--font-semibold);
    color: var(--black);
    margin-bottom: 10px;
}

.property-type-overlay p {
    font-size: 18px;
    line-height: 28px;
    color: var(--sitetext);
    margin-bottom: 0;
}

.property-type-overlay .button {
    margin-top: 20px;
    min-height: auto;
    padding: 10px 20px;
}

/* this page's cards add a "Learn More" button the shared component didn't have before,
   and its product photos keep the top-left corner clear, so let the overlay grow to fit
   instead of clipping - scoped here so solar-energy-landlord-property-group.php (no button,
   full-bleed photos) keeps its max-height clip */
main.solar-technology-pg .property-type-overlay {
    max-height: none;
}

/* ******** || KEY FEATURES (4-column peach icon cards, solar-energy-landlord-property-group.php) || ******** */
main.landlord-property-pg .key-features-section .feature-card {
    background-color: #fff4eb;
}

/* ******** || PARTNER LOGOS (6-up slick slider, no dots/arrows, solar-energy-landlord-property-group.php) || ******** */
.partner-logos-grid li {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 84px;
    padding: 0 10px;
    margin: 0;
}

.partner-logos-grid img {
    display: block;
    max-width: 100%;
    max-height: 84px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

/* ******** || HOW SOLAR ADDS VALUE (full-bleed photo banner, dark overlay, heading + 6-circle stat row,
   solar-energy-landlord-property-group.php) || ******** */
.value-banner .heading-44 {
    color: var(--white);
    margin-bottom: 50px;
}

.value-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
}

.value-stats li {
    width: 180px;
    margin: 0;
}

.value-stat-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #f3f3f3;
    box-shadow: 0 5px 0 0 var(--orange);
    margin: 0 auto 26px;
}

.value-stat-circle img {
    display: block;
    width: 72px;
    height: auto;
    margin: 0;
}

.value-stats p {
    color: var(--white);
    font-size: 20px;
    font-weight: var(--font-semibold);
    line-height: 24px;
    text-transform: capitalize;
    margin-bottom: 0;
}

main.landlord-property-pg .cta-banner {
    margin: 0;
}

/* ******** || HOW ADOPTING SOLAR ENERGY CAN HELP YOUR TENANTS (gradient checklist card + photo,
   solar-energy-landlord-property-group.php) || ******** */
.tenant-benefits-wrap {
    display: flex;
    flex-wrap: wrap;
    border-radius: var(--radius-20);
    overflow: hidden;
}

.tenant-benefits-card {
    flex: 1 1 0%;
    min-width: 320px;
    background: var(--button);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tenant-benefits-card .heading-34 {
    color: var(--white);
    margin-bottom: 30px;
}

.tenant-benefits-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
}

.tenant-benefits-list li:first-child {
    padding-top: 0;
}

.tenant-benefits-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tenant-benefits-list img {
    flex-shrink: 0;
}

.tenant-benefits-list span {
    color: var(--white);
    font-size: 20px;
    font-weight: var(--font-semibold);
    line-height: 24px;
}

.tenant-benefits-photo {
    flex: 1 1 0%;
    min-width: 320px;
}

.tenant-benefits-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ******** || GREEN STAR RATING (dark badge card inside .image-column, solar-energy-landlord-property-group.php) || ******** */
.green-star-badge-card {
    background-color: #3d4450;
    border-radius: var(--radius-20);
    aspect-ratio: 730 / 640;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.green-star-badge-card img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
}
main.landlord-property-pg {
.beige .cont_section__wrap, .litegrey .cont_section__wrap
 {
    padding-bottom: 70px;
}}




/* ===============================  Media Queries  =============================== */
@media (max-width: 992px) {
    .tenant-benefits-card,
    .tenant-benefits-photo {
        flex-basis: 100%;
        min-width: 0;
    }

    .tenant-benefits-photo img {
        height: auto;
        aspect-ratio: 730 / 600;
    }

    .property-type-mark {
    display: none;
}

.property-type-overlay {
    padding: 20px;
        left: 10px;
    top: 10px;
}
.property-type-overlay .button {
    margin-top: 10px;
}
}

/* narrow 2-column zone where the longest card copy ("Portfolio's & Estate's") can outgrow
   its aspect-ratio-constrained card - clamp to 3 lines here only, wider widths have room to spare */
@media (min-width: 768px) and (max-width: 850px) {
    .property-type-overlay p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    .property-types-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    /* .property-type-overlay {
        left: 15px;
        top: 15px;
        width: calc(100% - 30px);
        padding: 20px;
        max-width: 100%;
    } */
        .property-type-overlay {
        left: 15px;
        top: 15px;
        width: calc(100% - 30px);
        padding: 20px;
        max-width: 50%;
        .property-type-title {
    font-size: 20px;
}
& p {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
}
    }

    .property-type-mark {
        margin-bottom: 15px;
    }
}
