/*
Business purpose: Style the rental listing interface so its information, controls, and
responsive layout remain readable.
*/

.rental-listing-redesign{background:#fcfcfc}.rental-listing-redesign .rentals-detail-shell{max-width:1300px;margin:auto;padding:24px}.rental-listing-title{background:color-mix(in srgb,var(--company-accent,#52748b) 5%,white);border:1px solid color-mix(in srgb,var(--company-accent,#52748b) 16%,white);border-radius:14px;padding:24px 28px;margin-bottom:24px}.rental-listing-eyebrow{text-transform:uppercase;font-size:.75rem;letter-spacing:.08em;color:var(--company-accent-action,#435b73);margin-bottom:10px}.rental-listing-title>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.rental-listing-title h1{display:flex;gap:20px;align-items:center;font-size:1.45rem;line-height:1.35;margin:0;color:#273443}.rental-listing-title h1>span{font-size:2rem;color:var(--company-accent-action,#435b73);border-right:1px solid #dce1e7;padding-right:20px;white-space:nowrap}.rental-listing-facts{display:flex;gap:14px;margin:12px 0 7px;font-size:1rem}.rental-listing-facts>span{color:#b1bac4}.rental-listing-address{font-size:.85rem;color:#657080;margin:0}.rental-listing-redesign .rental-detail-hero-media{margin:0 0 32px;min-height:0}.rental-listing-redesign .rental-detail-hero-cover{height:420px;border-radius:14px;overflow:hidden}.rental-listing-redesign .rental-detail-hero-cover img{width:100%;height:100%;object-fit:cover}.rental-listing-columns{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:36px;align-items:start}.rental-listing-main{min-width:0}.rental-listing-main h2{font-size:1.3rem;margin:0 0 16px}.rental-listing-main>section,.rental-listing-main>.rental-detail-block{padding:24px 0;border:0;border-bottom:1px solid #dce1e7;background:transparent;border-radius:0}.rental-listing-main>:first-child{padding-top:0}.rental-description-preview{white-space:pre-line;color:#5b6877;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.rental-detail-description:has(details[open]) .rental-description-preview{display:none}.rental-description-full{white-space:pre-line;line-height:1.8;margin-top:12px}.rental-detail-description summary{color:var(--company-accent-action,#435b73);text-decoration:underline;cursor:pointer}.rental-listing-rent-card{background:white;border:1px solid #dce1e7;border-top:4px solid var(--company-accent-action,#435b73);border-radius:15px;padding:27px;box-shadow:0 9px 24px #27344308;position:sticky;top:24px}.rental-listing-price{color:var(--company-accent-action,#435b73);font-size:2.4rem;font-weight:700;margin:0 0 10px}.rental-listing-terms{margin:20px 0}.rental-listing-terms>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #dce1e7;font-size:.85rem}.rental-listing-terms dt{font-weight:400;color:#657080}.rental-listing-terms dd{margin:0;text-align:right}.rental-listing-actions{display:grid;gap:10px;margin:24px 0}.rental-listing-actions .btn{padding:13px}.rental-listing-fees{padding:16px 0;border-bottom:1px solid #dce1e7}.rental-listing-fees summary{cursor:pointer;font-size:.9rem}.rental-listing-manager{padding-top:20px;overflow-wrap:anywhere}.rental-listing-manager h3{font-size:1rem;margin-bottom:12px}.rental-listing-manager .rental-detail-contact-list{display:grid;gap:8px;font-size:.85rem}.rental-listing-redesign .rental-detail-icon-grid{display:flex;flex-wrap:wrap;gap:16px 24px}.rental-listing-redesign .rental-detail-icon-card{display:flex;align-items:center;gap:9px;border:0;background:none;box-shadow:none;padding:0;font-size:.9rem;min-width:0}.rental-listing-redesign .rental-detail-icon{display:flex;color:var(--company-accent-action,#435b73);width:22px;height:24px;border:0;background:none;padding:0}.rental-listing-redesign .rental-detail-icon svg{width:22px;height:22px}.rental-listing-contact{margin-top:24px;padding:20px;border:1px solid #dce1e7;border-radius:12px;background:white}.rental-listing-contact>summary{font-weight:600;cursor:pointer;color:var(--company-ink,#435b73)}.rental-listing-contact .rental-interest-form{margin-top:20px;padding:0;border:0;box-shadow:none}.rental-listing-redesign .rental-detail-map{margin-top:32px}.rental-listing-redesign .rental-detail-carousel-controls{z-index:2}.rental-listing-redesign .rental-status-badge{white-space:nowrap}@media(max-width:900px){.rental-listing-columns{grid-template-columns:minmax(0,1fr) 310px;gap:22px}.rental-listing-rent-card{padding:20px}}@media(max-width:720px){.rental-listing-columns{display:flex;flex-direction:column}.rental-listing-rent-card{position:static;order:-1;width:100%}.rental-listing-main{width:100%}.rental-listing-title{padding:18px}.rental-listing-title>div{align-items:flex-start}.rental-listing-title h1{flex-direction:column;align-items:flex-start;gap:7px;font-size:1.1rem}.rental-listing-title h1>span{border:0;padding:0;font-size:1.8rem}.rental-listing-redesign .rentals-detail-shell{padding:16px}.rental-listing-redesign .rental-detail-hero-cover{height:280px}.rental-listing-facts{gap:8px;font-size:.9rem;flex-wrap:wrap}}
.rental-listing-redesign .rental-listing-rent-card .rental-listing-price{font-size:2.4rem;font-weight:700;line-height:1.2;color:var(--company-accent-action,#435b73)}
body.rental-listing-redesign .rental-detail-icon-card:nth-child(n) .rental-detail-icon{background:transparent;color:var(--company-accent-action,#435b73);border:0;border-radius:0;box-shadow:none;width:22px;height:24px}
body.rental-listing-redesign .rental-detail-icon-grid,body.rental-listing-redesign .rental-detail-icon-grid.utility-grid{display:flex;justify-content:flex-start;width:100%;max-width:none;margin:0;gap:16px 24px}
body.rental-listing-redesign .rental-detail-icon-card{flex:0 1 auto;width:auto;max-width:100%;text-align:left}
body.rental-listing-redesign .rental-detail-icon-card span{max-width:none;text-align:left;font-weight:500;font-size:.9rem}

/* Keep the return link inside the listing title card, without a separate spacer row. */
body.rental-listing-redesign .rental-listing-title .rentals-detail-nav{margin:0 0 8px;padding:0;min-height:0;display:block;text-align:left}
body.rental-listing-redesign .rental-listing-title .rentals-detail-nav a{display:inline-flex;align-items:center;min-height:30px;padding:3px 0;font-size:.8rem}
.rental-listing-redesign .rental-photo-viewers {
  display: block;
}

/* Keep mobile photo navigation inside the clipped, rounded image frame. */
@media (max-width: 768px) {
  .rental-listing-redesign .rental-detail-carousel-controls {
    inset: auto 0 12px;
    height: 44px;
  }

  .rental-listing-redesign .rental-detail-carousel-btn {
    width: 44px;
    height: 44px;
  }
}
