
.j1-ap-category{width:min(1200px,calc(100% - 40px));margin:32px auto 64px;color:#15374b}
.j1-ap-category .j1-ap-crumb{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 23px;font-size:13px}
.j1-ap-category h1{margin:0 0 22px;line-height:1.5;font-size:clamp(25px,3vw,34px)}
.j1-ap-category .j1-category-hero-photo{width:100%;border-radius:10px;margin:0;display:block;height:360px;object-fit:cover}
.j1-ap-category .j1-ap-lead{margin:26px 0 19px;line-height:1.8}
.j1-ap-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.j1-ap-category .j1-ap-category-card{display:block;color:#15374b;text-decoration:none;border:1px solid #ded5c3;border-radius:9px;background:#fff;overflow:hidden}
.j1-ap-category .j1-ap-category-card:hover h3{text-decoration:underline}
.j1-ap-category-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.j1-ap-category-card>div{padding:17px 19px 20px}.j1-ap-category-card h3{font-size:18px;margin:0 0 8px;line-height:1.6}.j1-ap-category-card p{margin:0 0 13px;color:#40494d;line-height:1.8}.j1-ap-category-card span{color:#805d22;font-weight:700}
#success-cases.j1-case-feature{width:100vw;max-width:none;margin-inline:calc(50% - 50vw)}
#success-cases.j1-case-feature::before{background-size:cover;background-position:center}
@supports(width:100cqw){#success-cases.j1-case-feature{width:100cqw;margin-inline:calc(50% - 50cqw)}body{container-type:inline-size}}
@media(max-width:760px){.j1-ap-category{width:calc(100% - 28px);margin:22px auto 40px}.j1-ap-category .j1-category-hero-photo{height:auto;aspect-ratio:2.1}.j1-ap-card-grid{grid-template-columns:1fr;gap:15px}}

/* Desktop footer: full-width navy, with the two approved 300px cards. */
@media(min-width:741px){
 [data-j1-apartment-footer-band]{display:flow-root;width:100%;background:#12364b}
 body [data-j1-apartment-footer-band] #j1-contact-entry{box-sizing:border-box;width:min(1200px,calc(100% - 64px));max-width:none;margin:0 auto}
 body [data-j1-apartment-footer-band] #j1-contact-entry .j1-contact-banner:has(.j1-banner-form){padding-inline:0;border-inline:0;border-radius:0;grid-template-columns:minmax(0,1fr) repeat(2,300px)}
 body [data-j1-apartment-footer-band] #j1-contact-entry .j1-banner-phone small{white-space:nowrap;overflow-wrap:normal}
}
@media (741px <= width <= 850px){
 body [data-j1-apartment-footer-band] #j1-contact-entry .j1-contact-banner:has(.j1-banner-form){grid-template-columns:repeat(2,minmax(0,1fr))}
 body [data-j1-apartment-footer-band] #j1-contact-entry .j1-banner-intro{grid-column:1/-1}
}

/* Smartphone categories only: same thumbnail-left rows at both entrance and destination. */
@media(max-width:767px){
 .j1-top-category-surface #property,.j1-ap-category .j1-ap-card-grid{background:#faf9f6}
 .j1-top-category-surface #entries.rel-category-tiles,.j1-ap-category .j1-ap-card-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 .j1-top-category-surface #entries .rel-category-tile{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
 .j1-top-category-surface #entries .rel-category-link,.j1-ap-category .j1-ap-category-card{display:grid!important;grid-template-columns:32% minmax(0,1fr)!important;align-items:start;gap:14px!important;padding:18px 0!important;margin:0!important;min-height:0!important;border:0!important;border-bottom:1px solid #dedbd5!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
 .j1-top-category-surface #entries .rel-category-image,.j1-ap-category .j1-ap-category-card>img{display:block;width:100%!important;height:auto!important;aspect-ratio:1.5!important;align-self:start;object-fit:cover!important;border-radius:4px!important;margin:0!important}
 .j1-top-category-surface #entries .rel-category-copy,.j1-ap-category .j1-ap-category-card>div{min-width:0;padding:0!important;background:transparent!important}
 .j1-top-category-surface #entries .rel-category-copy h3,.j1-ap-category .j1-ap-category-card h3{font-size:16px!important;line-height:1.5!important;margin:0 0 8px!important;overflow-wrap:anywhere}
 .j1-top-category-surface #entries .rel-category-copy p,.j1-ap-category .j1-ap-category-card p{font-size:13px!important;line-height:1.65!important;margin:0 0 6px!important;max-height:none!important;-webkit-line-clamp:unset!important;overflow:visible!important}
}

/* Align the category image, heading and cards to the shared content width. */
body:has(>main.j1-ap-category){margin-inline:0;min-width:0}
body>main.j1-ap-category{box-sizing:border-box;width:min(1200px,calc(100% - 64px));max-width:100%;min-width:0;margin-inline:auto;padding-inline:0}
.j1-ap-category .j1-ap-card-grid{min-width:0;max-width:100%}
.j1-ap-category .j1-ap-category-card{min-width:0}
@media(max-width:767px){body>main.j1-ap-category{width:calc(100% - 28px)}}
@media(min-width:741px){
 [data-j1-apartment-footer-band]+#j1-site-footer{padding-top:32px}
 body [data-j1-apartment-footer-band] #j1-contact-entry .j1-contact-banner{background:transparent}
}

@media (768px <= width < 1000px){.j1-ap-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
